Releases: adaszko/complgen
Releases · adaszko/complgen
v0.8.0
Changed
-
External command definitions (
{{{ ... }}}) were simplified. They now work on both supra- and sub-word context out of the box. Implementing conditional behavior based on$1and$2special parameters is no longer needed -
External commands (
{{{ ... }}}) in a matching context now work by re-executing the command and checking if the user input on the command line matches any of the lines produced by the external command
Removed
- Breaking: Nontail commands proved to be a design dead-end and thus were removed
Fixed
-
Breaking: Conflicting description check should now detect all cases thanks to moving it from working on regexes, into working on DFAs. This change comes at the expense of worse error messages but more comprehensive error detection
-
Breaking: Ambiguity detection is now also performed at the DFA phase instead of the regex phase
v0.7.4
Fixed
- PowerShell
--pretty=fullebug - Substantially improved compilation performance by eliminating redundant work
- A bug where some specialization regexes weren't being taken into account
v0.7.3
Fixed
- Fixed bug in completing
<PATH>... - Bash completion latency optimizations
- Fixed bug in completing duplicated literals under fish
- Fixed a bug with completing literals where one is a prefix of another
v0.7.2
Fixed
- Performance regression in DFA validation
- Substantial reductions in bash completion latency
Changed
- Removed external command calls from bash completion scripts for lower completion latency
- Only populate subword regexes array with ones that are actually used (smaller scripts)
v0.7.1
v0.7.0
v0.6.1
Removed
- Unnecesary clashing subwords leaders detection
v0.6.0
Fixed
- Fixed multiple completion bugs in common cases such as
--option=<PATH>or--option=<DIRECTORY>
Changed
- Breaking: ZSH specialized commands should now use
compaddinstead of writing on stdout (problematic interaction with fallbacks has been resolved)
Added
- Precise source location in warnings/errors
- Specialization command now also support regexes
- Added
--regexoption for writing generated regular expression into a.dotfile for debugging - More precise ambiguity detector: Detect clashing subword leaders
- Relax grammar: Final semicolon (
;) isn't required anymore
Removed
- Breaking: Removed
--railroadoption for diagrams generation due to limited utility - Breaking: Removed
<PID>,<USER>,<GROUP>,<HOST>,<INTERFACE>,<PACKAGE>predefined nonterminals as they can be defined in the.usagefile
v0.5.0
Fixed
- Ambiguity detection now works on an earlier compilation phase for better error messages
v0.4.0
Changed
- Breaking: Simplified CLI interface (there's no subcommands anymore; aot is now implicit)
Removed
- Breaking: JIT mode has been removed (its functioning changed over time, rendering it largely redundant)
Added
- Nontail-position commands
- Descriptions under fish and zsh are now deduplicated
Fixed
- Breaking: Tail commands detection is more precise now, resulting in more rejected grammars (that would have previously been silently ambiguous)
- Breaking: Two adjacent literals used in subword context are now rejected as an error as this may lead to surprising behavior (#63)
- Bash: Bug in
prefix{{{ shell command }}}case