Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 32580: avoid indefinite wait in lockhistfile() by checking for lock file ↵ | Barton E. Schaefer | 2014-04-25 | 1 | -15/+32 |
| | | | | | | | time stamp in the future Also change behavior of HIST_FCNTL_LOCK to use only fcntl() locking, rather than applying both kinds of lock. | ||||
* | 32531: fix memory leaks detected by valgrind | Barton E. Schaefer | 2014-04-06 | 1 | -1/+2 |
| | |||||
* | 31823: add HISTORY_IGNORE parameter | Barton E. Schaefer | 2013-10-17 | 1 | -0/+17 |
| | | | | | HISTORY_IGNORE defines a pattern to exclude matching lines in the internal history from the HISTFILE at write time. | ||||
* | 31830: New feature for zshaddhistory hooks. | Peter Stephenson | 2013-10-17 | 1 | -4/+21 |
| | | | | | If the first non-zero return status is 2, save the line on the internal history list, but don't write it out. | ||||
* | 31815: another fix for INCAPPENDHISTORY change. | Peter Stephenson | 2013-10-11 | 1 | -2/+15 |
| | | | | | We need to save immediately if something is pushed on the history stack to ensure we use the right file before popping. | ||||
* | 31797: to match documentation, avoid expanding history when there is neither a | Barton E. Schaefer | 2013-10-08 | 1 | -0/+6 |
| | | | | | | | | | word nor an event designator There are still a few cases where expansion is attempted even though the documentation indicates it will not be, but in most of those cases the expansion will fail. The now-fixed case would fall back to default expansion of the previous command. | ||||
* | 31794: further refinement to INCAPPENDHISTORY change. | Peter Stephenson | 2013-10-07 | 1 | -1/+9 |
| | | | | | | With SHAREHISTORY we should make sure the code behaves as it always did, because it takes care about locking a file once for reading and writing. | ||||
* | 31793: Fix problem with non-interactive history. | Peter Stephenson | 2013-10-07 | 1 | -1/+1 |
| | | | | | Modify 31789 so it doesn't try to save history from hbegin() in that case. | ||||
* | 31789: Save history for INCAPPENDHISTORY later. | Han Pingtian | 2013-10-05 | 1 | -1/+7 |
| | | | | This improves the timing recorded in the history. | ||||
* | 31770: memmove() instead of memcpy() for overlapping regions. | Barton E. Schaefer | 2013-09-26 | 1 | -1/+1 |
| | |||||
* | users/17908: Keep history line in sync between ZLE and shell. | Peter Stephenson | 2013-08-08 | 1 | -0/+10 |
| | | | | Update ZLE version if history is read, pushed or popped with ZLE active | ||||
* | 31750: fix for HISTREDUCEBLANKS option. | Peter Stephenson | 2013-07-24 | 1 | -2/+27 |
| | | | | | Don't truncate line after marked words if there's more non-white-space text, which is probably comments. | ||||
* | 30789: Add CONTINUE_ON_ERROR for old behaviour. | Peter Stephenson | 2012-11-15 | 1 | -1/+1 |
| | | | | | New behaviour is for scripts to exit on error instead of returning to top level and executing the next command. | ||||
* | 30433: double backslash is not line continuation. | Bart Schaefer | 2012-04-21 | 1 | -1/+2 |
| | |||||
* | Timothy Redaelli: file name manipulations | Peter Stephenson | 2012-02-08 | 1 | -0/+5 |
| | | | | in history can return NULL if HAVE_CANONICALIZE_FILE_NAME | ||||
* | 29694: avoid overwriting current history word when not expanding an alias | Bart Schaefer | 2011-08-18 | 1 | -1/+2 |
| | | | | or history event in-place. | ||||
* | unposted: fix a typo in a comment. | Mikael Magnusson | 2011-08-14 | 1 | -1/+1 |
| | |||||
* | users/16131: skip reading empty history file | Peter Stephenson | 2011-07-18 | 1 | -3/+5 |
| | |||||
* | 29542: fix crash in hbegin(), remove bad test | Peter Stephenson | 2011-07-12 | 1 | -37/+113 |
| | | | | 29543: fix backslash-newline within words with histlexwords | ||||
* | 29413: "print -S" for saving to history with lexical word split | Peter Stephenson | 2011-06-03 | 1 | -101/+138 |
| | |||||
* | histlexwords splitting of ";;" in case | Peter Stephenson | 2011-05-27 | 1 | -0/+7 |
| | |||||
* | 29307, 29308 + replies: Fix some doubled words in docs and comments. | Mikael Magnusson | 2011-05-19 | 1 | -1/+1 |
| | |||||
* | lexsave/lexrestore lexflags | Peter Stephenson | 2010-12-14 | 1 | -7/+4 |
| | | | | add new LEXFLAGS_ZLE | ||||
* | 28528: Rearrange zleparse to lexflags | Peter Stephenson | 2010-12-14 | 1 | -13/+12 |
| | | | | Add (z+n+) | ||||
* | 28510: add (z+c+) and (z+C+) parameter flags | Peter Stephenson | 2010-12-12 | 1 | -4/+26 |
| | |||||
* | 28339: backslash-newline history without HIST_LEX_WORDS | Peter Stephenson | 2010-10-10 | 1 | -3/+9 |
| | | | | 28340: assignment to range of scalar variable with multibyte characters | ||||
* | 28332: backslash-newline with HIST_LEX_WORDS | Peter Stephenson | 2010-10-10 | 1 | -2/+12 |
| | |||||
* | 28327: fix pseudolexical word splitting with RC_QUOTES | Peter Stephenson | 2010-10-07 | 1 | -10/+8 |
| | |||||
* | not yet posted: fix some more HIST_LEX_WORDS anomalies | Peter Stephenson | 2010-10-06 | 1 | -17/+35 |
| | |||||
* | 28319: (z) splitting oddities | Peter Stephenson | 2010-10-06 | 1 | -18/+88 |
| | |||||
* | 28308/28310: HIST_LEX_WORDS, check for quick history read | Peter Stephenson | 2010-10-02 | 1 | -44/+64 |
| | |||||
* | 28295 plus tweak: use lexer to split words from history file | Peter Stephenson | 2010-09-25 | 1 | -21/+59 |
| | |||||
* | 28047: attempt to make locking with fc command more useful | Peter Stephenson | 2010-06-22 | 1 | -24/+58 |
| | |||||
* | 27823: fix memory access in 27822 | Peter Stephenson | 2010-03-22 | 1 | -2/+2 |
| | |||||
* | Fix ZLE access to pushed history line | Peter Stephenson | 2010-03-22 | 1 | -0/+16 |
| | |||||
* | Add symlink-based hist-file locking. | Wayne Davison | 2009-12-18 | 1 | -2/+30 |
| | |||||
* | 27216: set chwords to NULL when freed | Peter Stephenson | 2009-08-16 | 1 | -0/+2 |
| | |||||
* | 26748: c modifier to add command path | Peter Stephenson | 2009-03-23 | 1 | -0/+7 |
| | |||||
* | Bart: 26761: typo in realpath() check | Peter Stephenson | 2009-03-20 | 1 | -1/+1 |
| | |||||
* | 26754: tweak zgetdir() and test for realpath() | Peter Stephenson | 2009-03-19 | 1 | -3/+29 |
| | |||||
* | 26752: fix ../ removal and metafication in :a and :A modifers | Peter Stephenson | 2009-03-18 | 1 | -3/+7 |
| | |||||
* | Michael Hwang: 26731 with cosmetic changes: add "a" and "A" modifiers | Peter Stephenson | 2009-03-15 | 1 | -0/+141 |
| | | | | 26736: document the above | ||||
* | 26735: Check some function return values for failures. Gets rid of | Wayne Davison | 2009-03-15 | 1 | -2/+2 |
| | | | | some compiler warnings, and improves error handling/notification. | ||||
* | print message if we give up trying to crate a lock file with hard links | Peter Stephenson | 2009-03-10 | 1 | -3/+6 |
| | |||||
* | 26602: history substitution buffer could overflow with no test | Peter Stephenson | 2009-02-25 | 1 | -3/+15 |
| | |||||
* | 26091: crash at end of history line if history not in use | Peter Stephenson | 2008-11-25 | 1 | -6/+8 |
| | |||||
* | Rocky Bernstein: 25696: fix crash on empty history. | Peter Stephenson | 2008-09-22 | 1 | -1/+1 |
| | |||||
* | 25682: terminate history line before passing to zshaddhistory hook | Peter Stephenson | 2008-09-18 | 1 | -2/+7 |
| | |||||
* | 25639: free ptr2 if hsubl is NULL. | Clint Adams | 2008-09-10 | 1 | -1/+3 |
| | |||||
* | 25610: remove dead code. | Clint Adams | 2008-09-04 | 1 | -4/+0 |
| |