Skip to content

Releases: chrisant996/clink

v1.1.4

23 Nov 13:04
Compare
Choose a tag to compare
v1.1.4 Pre-release
Pre-release

Highlights:

  • v1.1.4 has broad backward compatibility for v0.4.x scripts.
  • Automatically detects when running inside ConEmu and disables Clink's Virtual Terminal emulation so that ConEmu gets to handle ANSI escape codes.
  • Suppresses adding a space after completing a flag match that ends with : or = (e.g. msbuild -maxCpuCount:).
  • Reports any errors while loading Lua scripts (previously it reported errors while running scripts, but not while loading them).
  • Fixed slow printing of possible matches.
  • Various other fixes; see CHANGES for more info.

This is a Beta build, and seems to be working very well for me, even when copied into an existing Cmder\vendor\clink directory. Be sure to make a backup copy of your Cmder installation before copying v1.1.4 into an existing Cmder installation!

v1.1.3 Alpha

14 Nov 13:45
Compare
Choose a tag to compare
v1.1.3 Alpha Pre-release
Pre-release
  • Fixed argmatcher lookup to be more strict, like in Clink 0.4.9 (match exact names, or name plus an extension from %PATHEXT%).
  • Backward compatibility:
    • Most things should work now.
    • Dropping the new Clink on top of the vendor\clink directory in Cmder seems to work -- but make a backup before you try this at home!
  • API changes:
    • Added log.info() function.
    • Added Clink version numbers in clink.version_major, etc.
    • Added _argmatcher:getwordbreakinfo() callback; removed _argmatcher:setprefixincluded() (it was a mess, and it was new to v1.x, so there's no compatibility concern with removing it).
    • Deprecated _argmatcher:setflagprefix(); now it happens automagically when using _argmatcher:addflags().
    • Introduced several deprecated functions to support backward compatibility.
  • Improvements to Lua debugger:
    • Added lua.traceback_on_error, lua.break_on_error, and lua.break_on_traceback settings to make debugging script errors easier.
    • Made pause() consistent about pausing in the caller (rather than sometimes inside the pause command itself).
    • The debugger automatically shows the stack trace when entering debug mode, and on every pause.
    • Show 3 lines of source context by default.
    • The help list is sorted now.
    • Fixed the set command in the debugger to behave as documented.

v1.1.2 Alpha

07 Nov 03:14
Compare
Choose a tag to compare
v1.1.2 Alpha Pre-release
Pre-release

This is the second alpha test version of clink from the chrisant996 fork.

I use it full time now. It should work well, with some caveats:

  • Don't use it to replace cmder's vendor clink. Lua script changes aren't fully compatible between v0.4.9 included with cmder versus this v1.1.2 version.
  • Lua scripts from v0.4.8 may or may not fully work with v1.1.2.
    • Prompt filtering and some simple argmatchers should work.
    • More sophisticated match generators won't be compatible; you'll need to edit them by hand.
    • Fortunately it's pretty easy to do! Unfortunately the related documentation is still not done.
  • This is an alpha version and likely has bugs.
  • See the issues page to view or report issues.

See the CHANGES file for more information about what's in this release.
The documentation is here, and is mostly updated.

v1.1.1 Alpha

27 Oct 11:20
Compare
Choose a tag to compare
v1.1.1 Alpha Pre-release
Pre-release

This is the first alpha test version of clink from the chrisant996 fork.

I use it full time now. It should work well, with some caveats:

  • Don't use it to replace cmder's vendor clink. Lua script changes aren't fully compatible between v0.4.9 included with cmder versus this v1.1.1 version.
  • The v1.0.0a1 alpha release from the mridgers original repo changed the match generator lua API and isn't compatible with v0.4.9 lua scripts. Unfortunately there is no documentation about the breaking changes to the lua API, and I'm still working on reverse engineering them to be able to document them accurately.
  • This is an alpha version and likely has bugs.
  • See the issues page to view or report issues.

See the CHANGES file for more information about what's in this release.
The documentation is here, but it's still very much a work in progress.