Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Updates for ksh array element syntax. | Peter Stephenson | 2017-09-24 | 1 | -1/+1 |
| | | | | | | | | Move detection of key/value pairs down into prefork(). Detect normal array assignment and [key]=val array assignemnt separately. Mark key / value pairs with Marker and pass up flag. Deal with marked triads specially later on. | ||||
* | Avoid invalid access with isearch in completion list | Maxime de Roucy | 2017-07-04 | 1 | -5/+7 |
| | |||||
* | 41368: Add missing unqueue_signals() to compctl. | Peter Stephenson | 2017-06-27 | 1 | -0/+2 |
| | |||||
* | 41242: zstrbcmp(...) removed in favor of zstrcmp(..., ↵ | Barton E. Schaefer | 2017-06-17 | 2 | -48/+3 |
| | | | | | | SORTIT_IGNORING_BACKSLASHES) This should make sorting consistent in completion listings vs. elsewhere. | ||||
* | 41275: Leave stdin open when executing widgets | Stephane Chazelas | 2017-06-13 | 1 | -0/+7 |
| | |||||
* | 41244: Add zmodload -s option. | Peter Stephenson | 2017-06-12 | 1 | -1/+1 |
| | | | | | | | | Doesn't complain if module is unavailable, but prints more obscure errors. Use existing low-level silent flag by passing through intermediate module loading hierarchy. | ||||
* | 41191: Check for immortal thingies when checking for specific thingies | Peter Stephenson | 2017-06-01 | 3 | -5/+13 |
| | |||||
* | 41090: Replace iswprint() if unicode9 is enabled. | Jun-ichi Takimoto | 2017-05-12 | 1 | -4/+4 |
| | | | | If wcwidth() or iswprint() is broken, force enable unicode9. | ||||
* | 40763: count wide characters and Cmatcher pointers more sanely in ↵ | Barton E. Schaefer | 2017-03-08 | 2 | -58/+18 |
| | | | | | | | cfp_matcher_pats(), and count characters in pattern_match() the same way to stay in sync Might not fix wide-char matching in completion matcher-lists but should avoid wild pointer crash | ||||
* | 40702: new KEYS_QUEUED_COUNT ZLE variable | Peter Stephenson | 2017-03-03 | 1 | -0/+11 |
| | |||||
* | 40469: change strategy from 40453 to use patcompile(PAT_HEAPDUP) instead of ↵ | Barton E. Schaefer | 2017-01-30 | 1 | -12/+2 |
| | | | | signal queueing. | ||||
* | 40453: signal handler safety for callers of patcompile(PAT_STATIC), which is ↵ | Barton E. Schaefer | 2017-01-29 | 4 | -11/+49 |
| | | | | not re-entrant. | ||||
* | 40362: Fix setting of parameter values in compvalues | Peter Stephenson | 2017-01-15 | 1 | -2/+2 |
| | |||||
* | 40321: _arguments option groups | Oliver Kiddle | 2017-01-11 | 1 | -71/+120 |
| | |||||
* | 40305: fix some problems redisplaying command line after interrupt. | Peter Stephenson | 2017-01-10 | 4 | -6/+27 |
| | | | | | | | | | | | | Back off previous fix as this only covered some subset of problems. Remaining problems happend after reset-prompt in TRAPINT. One was in complist and is fixed by not attempting to list after an error or interrupt. The other was owing to not resetting clearflag when ZLE was re-entered. | ||||
* | 40285: Be more careful with pattern allocation in history isearch. | Peter Stephenson | 2017-01-06 | 1 | -4/+7 |
| | | | | | | If there are ZLE hooks to be called, they may use patterns, in which case it's not safe to allocate the isearch pattern in the static buffer. | ||||
* | 40269: handle option exclusion within current word for clumped options | Oliver Kiddle | 2017-01-05 | 1 | -13/+13 |
| | | | | This replaces the change made in 13999 with an alternative approach. | ||||
* | 40227: handle _arguments sets and rest arguments starting with a dash | Oliver Kiddle | 2017-01-04 | 1 | -11/+26 |
| | | | | | This is a new approach to the problem first covered by 39611: checking to see if an option-like argument belongs to one of the other sets. | ||||
* | 40226: tidy up some of the _arguments set code | Oliver Kiddle | 2017-01-04 | 1 | -70/+29 |
| | | | | | | Remove old code for applying explicit exclusions between sets which fixes some odd behaviour. Some struct members were unused. Also added some comments and test cases. | ||||
* | 40162: _arguments support for a match spec in combination with sets | Oliver Kiddle | 2016-12-22 | 1 | -1/+1 |
| | |||||
* | 40134: silence spurious compiler warnings. | Barton E. Schaefer | 2016-12-10 | 1 | -1/+1 |
| | |||||
* | 40129: revert 39611, add code comments and test cases for _arguments | Oliver Kiddle | 2016-12-09 | 1 | -33/+58 |
| | |||||
* | 40067: internal: Document 'cmatcher', parse_cmatcher(), 'comptoend', ↵ | Daniel Shahaf | 2016-12-03 | 2 | -3/+13 |
| | | | | unsetparam_pm(), and getindex(). | ||||
* | 40043: fix computil.c indentation (cosmetic) | Peter Stephenson | 2016-11-30 | 1 | -4/+4 |
| | |||||
* | 40035: Cosmetic fixes for comments and documentation. | Eitan Adler | 2016-11-29 | 1 | -1/+1 |
| | | | | Mostly fixes to doubled words. | ||||
* | 40026: Fix for completion after redirection. | Peter Stephenson | 2016-11-29 | 1 | -5/+19 |
| | | | | | | | This could get confused about where we were in the command line word array e.g. after the > of "!> .". Also take more care if does confused, with debug output. Also neaten up one obscure test. | ||||
* | unposted: fix to compile on Solaris where curses.h has a #define for reg to ↵ | Oliver Kiddle | 2016-11-24 | 1 | -9/+9 |
| | | | | register | ||||
* | 40003: include "0-"9 vi buffers in the registers associative array | Oliver Kiddle | 2016-11-24 | 1 | -9/+26 |
| | |||||
* | unposted: clear ERRFLAG_ERROR before invoking immortal widget (cf. 39934) | Bart Schaefer | 2016-11-23 | 1 | -1/+5 |
| | | | | Updates commit cbb9ca3d | ||||
* | 39981: Make compstate[to_end] skip suffix and hidden suffix, but not ignored ↵ | Daniel Shahaf | 2016-11-21 | 1 | -0/+4 |
| | | | | | | suffix. Motivated by 39930. | ||||
* | 39986, 39989: improve handling of vi-repeat-change | Oliver Kiddle | 2016-11-20 | 7 | -84/+123 |
| | | | | | | Save previous vi change and throw away a new change that fails. Add zle -f vichange to allow shell widget to be a single change. Fix repeat of command where numeric arguments were multiplied. | ||||
* | unposted (after 39952): Restore C89 compatibility. | Daniel Shahaf | 2016-11-20 | 1 | -1/+2 |
| | |||||
* | 39958: Add extra byte to PATH_MAX allocations. | Peter Stephenson | 2016-11-17 | 1 | -1/+1 |
| | | | | | This ensures we've got enough space for a null, although this isn't always needed. | ||||
* | 39962: bind vi case conversion widgets | Oliver Kiddle | 2016-11-17 | 1 | -0/+3 |
| | | | | u/U in visual mode and g~ from normal mode | ||||
* | 39959: when repeating vi changes advance through the numbered killring registers | Oliver Kiddle | 2016-11-17 | 1 | -9/+26 |
| | | | | | Also fix numeric arguments with vi-repeat-change: and argument passed to the repeat replaces that previously saved with the change. | ||||
* | 39952: add registers special parameter to provide access to the vi register ↵ | Oliver Kiddle | 2016-11-17 | 1 | -0/+99 |
| | | | | buffers from a zle widget function | ||||
* | 39945: allow further tab presses to move on to menu completion even when ↵ | Oliver Kiddle | 2016-11-16 | 1 | -0/+1 |
| | | | | compstate[insert] is emptied | ||||
* | unposted: comment in zlecallhook() points to redrawhook() just in case | Barton E. Schaefer | 2016-11-13 | 1 | -0/+2 |
| | |||||
* | 39934: if a widget execution fails, try to execute a corresponding immortal ↵ | Barton E. Schaefer | 2016-11-13 | 1 | -3/+15 |
| | | | | widget instead. | ||||
* | 39933: more of zlecallhook() in redrawhook() | Barton E. Schaefer | 2016-11-13 | 1 | -2/+17 |
| | | | | add commentary on some of the differences | ||||
* | 39829: when compstate[insert] is emptied by the completion function and ↵ | Oliver Kiddle | 2016-11-05 | 1 | -2/+8 |
| | | | | AUTO_MENU is set, start menu completion on the second tab press rather than the third | ||||
* | unposted: comment explaining key buffer handling. | Peter Stephenson | 2016-11-03 | 1 | -0/+7 |
| | | | | | Describe putting back the tail end of the key buffer into the input. | ||||
* | 39806: internal: Document zle's vichgbuf. | Daniel Shahaf | 2016-11-03 | 1 | -0/+9 |
| | |||||
* | 39805: internal: Document some compadd internals. | Daniel Shahaf | 2016-11-03 | 2 | -12/+19 |
| | |||||
* | 39804: internal: Document matchspec flags. | Daniel Shahaf | 2016-11-03 | 2 | -4/+10 |
| | |||||
* | 39803: internal: Document bin_compadd(). | Daniel Shahaf | 2016-11-03 | 1 | -10/+10 |
| | |||||
* | 39802: internal: Document and simplify multiquote(). | Daniel Shahaf | 2016-11-03 | 2 | -6/+18 |
| | | | | | | | The code simplifications take advantage of the fact that all callers pass either 0 or 1 for 'ign'. The tildequote() text is from workers/39271. | ||||
* | 39820: vi-repeat handles multi-key bindings | Barton E. Schaefer | 2016-11-03 | 1 | -4/+6 |
| | |||||
* | 39813: fix keybuflen after ungetting extra keys from the end of keybuf in ↵ | Barton E. Schaefer | 2016-11-03 | 1 | -2/+5 |
| | | | | getkeymapcmd(). | ||||
* | 39811: vi-repeat-change must not be the "motion" of vi-change, lest it ↵ | Barton E. Schaefer | 2016-11-02 | 1 | -1/+1 |
| | | | | infinitely repeat itself |