Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 41284: Fix NULL dereference in cd. | Peter Stephenson | 2017-06-13 | 3 | -1/+19 |
| | | | | | This happened in sh compatiblity mode if HOME was not set and cd was used with no argument. | ||||
* | 41244: Add zmodload -s option. | Peter Stephenson | 2017-06-12 | 6 | -14/+23 |
| | | | | | | | | 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. | ||||
* | unposted: Add to Etc/BUGS 41184,41203,41254 about STTY and about modules. | Daniel Shahaf | 2017-06-09 | 2 | -0/+11 |
| | |||||
* | 41239: Save and restore default history event on context stack. | Peter Stephenson | 2017-06-07 | 3 | -0/+7 |
| | | | | | This ensures that the default event set by an expansion in ZLE doesn't propagate to the command line expansion. | ||||
* | 41232: Use page up/down keys in zed keymap. | Sebastian Gniazdowski | 2017-06-07 | 2 | -0/+28 |
| | | | | Find with terminfo where available. | ||||
* | 41225: sethparam() should not attempt to change special parameters into hashes | Barton E. Schaefer | 2017-06-05 | 2 | -6/+16 |
| | |||||
* | 41191: Check for immortal thingies when checking for specific thingies | Peter Stephenson | 2017-06-01 | 4 | -5/+19 |
| | |||||
* | 41177: _nm: add support for macOS and OpenBSD | Jun-ichi Takimoto | 2017-06-01 | 2 | -30/+85 |
| | |||||
* | 41164: Don't free a history entry if it's curline. | Peter Stephenson | 2017-05-30 | 4 | -29/+23 |
| | | | | | | This replaces 41113 / 94014ff65b with a simple local change for the immediate problem. It's not entirely clear if this reflects wider changes in the structure of the history code. | ||||
* | 41151: propagate flags when creating new parameter | Sebastian Gniazdowski | 2017-05-28 | 2 | -1/+4 |
| | |||||
* | 41153: finish module setup only after all error conditions have been checked | Sebastian Gniazdowski | 2017-05-28 | 2 | -4/+7 |
| | |||||
* | unposted: clarify ZLS_COLORS pattern matching contexts | Barton E. Schaefer | 2017-05-28 | 2 | -1/+7 |
| | |||||
* | 41159: handle "Include" and "HostName" lines in ~/.ssh/config | Barton E. Schaefer | 2017-05-28 | 2 | -11/+22 |
| | | | | Added 2>/dev/null to conceal file access errors. | ||||
* | 41146: careul in GDBM freeing strings with embedded nulls | Sebastian Gniazdowski | 2017-05-24 | 2 | -10/+32 |
| | |||||
* | 40898: fix GDBM error handling | Sebastian Gniazdowski | 2017-05-24 | 2 | -1/+6 |
| | |||||
* | 41142: Ensure close-on-exec is passed to moved file descriptor | Stephane Chazelas | 2017-05-23 | 2 | -10/+25 |
| | |||||
* | 41087: Update kvno completion to MIT krb 1.14 | Marko Myllynen | 2017-05-22 | 2 | -4/+9 |
| | |||||
* | 41086: Update librt completions | Marko Myllynen | 2017-05-22 | 2 | -2/+6 |
| | |||||
* | 41085: Update OpenStack completions | Marko Myllynen | 2017-05-22 | 2 | -3/+6 |
| | |||||
* | 41128: typo in compsys documentation | Jörg Sommer | 2017-05-22 | 2 | -1/+5 |
| | |||||
* | users/22707: Document extra use of accept-exact-dirs | Peter Stephenson | 2017-05-19 | 2 | -3/+16 |
| | | | | | | | It allows completion after magically appearing directories that dont't show up in the parent directory by supressing searching of the parent directory if the subdirectory is directly found to exist. | ||||
* | 41113 (tweaked): Save current line linkage to history ring. | Peter Stephenson | 2017-05-18 | 4 | -15/+35 |
| | | | | | | | | | | When saving history state save whether the current history line is linked into the ring and remove it, and restore as appropriate later. This avoids surprises where the history ring is freed and incorrectly frees the current state in curline, which has a different allocation strategy. Original patch tweaked to make restoring more logical. | ||||
* | 41090: Replace iswprint() if unicode9 is enabled. | Jun-ichi Takimoto | 2017-05-12 | 9 | -351/+56 |
| | | | | If wcwidth() or iswprint() is broken, force enable unicode9. | ||||
* | 41096: Don't assume null termination copying string. | Peter Stephenson | 2017-05-11 | 2 | -1/+7 |
| | | | | | | | At this point the string may contain embedded nulls or not have a null termination at all. Also, as we always have the length memcpy() is more efficient. | ||||
* | unposted: Adding comments to test changed line number in output | Peter Stephenson | 2017-05-09 | 2 | -1/+6 |
| | |||||
* | 40181: Fix buffer overrun in xsymlinks. | Peter Stephenson | 2017-05-09 | 3 | -3/+22 |
| | | | | | There was no check for copying to the internal xbuf2 for a preliminary test. | ||||
* | 41078: Empty psvar could cause bad dereference in prompt expansion | Peter Stephenson | 2017-05-09 | 3 | -1/+10 |
| | |||||
* | 41095: Use 2>&- in completion to avoide restricted shell problem. | Jan Kryl | 2017-05-08 | 2 | -1/+4 |
| | |||||
* | 40173: Off-by-one error checking for {varid}. | Peter Stephenson | 2017-05-08 | 3 | -1/+13 |
| | | | | | This caused a single unprintable character in braces before a redirection to be treated as an indentifier. | ||||
* | users/22688: Allow mixing redirs and arguments after anon functions. | Peter Stephenson | 2017-05-08 | 3 | -4/+30 |
| | | | | | These are parsed differently from the case of normal functions which can't take normal arguments at that point. | ||||
* | Fix combination of HERE document and |&. | Peter Stephenson | 2017-05-08 | 3 | -1/+22 |
| | | | | | | | | A missing flag setting up the HERE document mean that the size of the wordcode needed to append the 2>&1 was counted incorrectly, so the resulting wordcode was garbled. Add test. | ||||
* | 41038: Document recent, backwards-compatible precommand modifiers changes. | Daniel Shahaf | 2017-05-04 | 2 | -0/+16 |
| | |||||
* | 41043: Close pipes in shell when disowning background job. | Peter Stephenson | 2017-05-03 | 2 | -0/+6 |
| | | | | This was missing in the case of &,, causing a file descriptor leak. | ||||
* | unposted: Use typeset -g in insert-unicode-char | Peter Stephenson | 2017-05-02 | 2 | -2/+7 |
| | | | | Avoid warning from WARN_NESTED_VAR if set. | ||||
* | 41020: Fix "command -p"; "-p" was incorrectly left in command arguments | Peter Stephenson | 2017-04-28 | 3 | -2/+24 |
| | | | | Also add tests for known precommand modifier issues. | ||||
* | 41012: Fix premature exit from nested function in EXIT trap. | Peter Stephenson | 2017-04-27 | 5 | -8/+60 |
| | | | | | | Also add check so we don't delay an exit if we were already in an EXIT trap for the main shell, as we should in that case leave immediately. | ||||
* | 41016: Test that quoted precommand modifiers now work | Peter Stephenson | 2017-04-27 | 2 | -0/+11 |
| | |||||
* | unposted: fix syntax on line end | Oliver Kiddle | 2017-04-26 | 2 | -1/+3 |
| | |||||
* | 40965: fix for missing local declarations of expl | Oliver Kiddle | 2017-04-26 | 32 | -58/+109 |
| | |||||
* | 41008: Handle expansions for precommand modifiers | Peter Stephenson | 2017-04-26 | 5 | -35/+177 |
| | |||||
* | 41006: _ls: new optiosns and a few fixes | Jun-ichi Takimoto | 2017-04-26 | 2 | -24/+81 |
| | |||||
* | 40943: __git_recent_commits: prefer recent commit objects | Daniel Hahler | 2017-04-23 | 2 | -2/+7 |
| | | | | | | Without this "commit to be amended" shows up before "recent commit object name" with `git commit --fixup`, but the recent commit objects are the most useful here. | ||||
* | 40995: Don't disable alias expansion when finding command substitution limits | Peter Stephenson | 2017-04-23 | 3 | -3/+16 |
| | | | | | This is needed in some unusual cases in order to identify the exit condition without encountering a parse error. | ||||
* | 40994: unmeta_one() need not count Meta | Jun-ichi Takimoto | 2017-04-23 | 2 | -8/+5 |
| | |||||
* | 40990: Fix crash with bogus path in sh emaulation. | Peter Stephenson | 2017-04-21 | 2 | -14/+43 |
| | | | | | | When startying in sh emulation don't link PATH-style parameters to array equivalents. To allow this to function, don't check for the linkage when exporting the colon-separated parameter. | ||||
* | 40973: _remote_files: Fix completion of remote files that start with a ↵ | Daniel Shahaf | 2017-04-18 | 2 | -2/+9 |
| | | | | hyphen/minus. | ||||
* | 40977: "emulate" disallows "--help" and "--version" | Barton E. Schaefer | 2017-04-15 | 2 | -2/+6 |
| | |||||
* | 40935: User names need metafying. | Orlov Sergey | 2017-04-10 | 2 | -3/+8 |
| | | | | | On some systems they can contain 8-bit characters and on all systems this is logically correct anyway. | ||||
* | 40940: untokenize names of condition features before attempting to look up ↵ | Bart Schaefer | 2017-04-07 | 2 | -2/+8 |
| | | | | | | the definition from a module. Necessary because of 40760 (tokenization of '-' as Dash). | ||||
* | users/22653: options.yo: Clarify REMATCH_PCRE semantics. | Daniel Shahaf | 2017-04-05 | 2 | -1/+7 |
| | | | | | Presently, if the option is set but the module is unavailable, using '=~' sets errflag. |