Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | 25345, 25347: neaten interface from main shell to zle | Peter Stephenson | 2008-07-31 | 1 | -8/+3 |
| | |||||
* | 25272: add zshaddhistory hook | Peter Stephenson | 2008-07-17 | 1 | -29/+39 |
| | |||||
* | Only call close(flock_fd) if flock_fd is >= 0. | Wayne Davison | 2008-05-05 | 1 | -2/+4 |
| | |||||
* | Locking simplification and signed/unsigned fixes. | Wayne Davison | 2008-05-05 | 1 | -94/+55 |
| | |||||
* | 24872: revert to original patch | Peter Stephenson | 2008-04-26 | 1 | -2/+0 |
| | |||||
* | Jun T. 24872 + 24873: capitalization with combining characters | Peter Stephenson | 2008-04-26 | 1 | -0/+4 |
| | |||||
* | 24818: add HIST_FCNTL_LOCK. | Peter Stephenson | 2008-04-17 | 1 | -5/+104 |
| | | | | unposted: update NEWS with new features | ||||
* | 24814: suspicious handling of temporary history buffer | Peter Stephenson | 2008-04-14 | 1 | -3/+6 |
| | |||||
* | unposted: make test for added space in 24699 safer | Peter Stephenson | 2008-03-11 | 1 | -4/+4 |
| | |||||
* | 24699: bug with ${(Q)...} on initial ">" | Peter Stephenson | 2008-03-08 | 1 | -4/+29 |
| | | | | bug with ${(z)...} on string with unterminated "(" | ||||
* | History file-handling improvments. | Wayne Davison | 2008-03-06 | 1 | -8/+22 |
| | |||||
* | 24324: do not set ftim when re-entering the history mechanism for string | Bart Schaefer | 2007-12-31 | 1 | -1/+1 |
| | | | | substitution. | ||||
* | 23736: status for file save wasn't initialised | Peter Stephenson | 2007-08-01 | 1 | -0/+1 |
| | |||||
* | 23585: handle errno properly in history save errors | Peter Stephenson | 2007-06-23 | 1 | -2/+3 |
| | |||||
* | 23581: handle errors writing history file better | Peter Stephenson | 2007-06-22 | 1 | -37/+48 |
| | |||||
* | 22934, modified, see 22937: add HIST_SUBST_PATTERN option | Peter Stephenson | 2006-11-01 | 1 | -28/+81 |
| | | | | make ${.../#%...} anchor at both ends | ||||
* | 22525: lengths and cases of multibyte strings in parameters and history | Peter Stephenson | 2006-06-28 | 1 | -53/+121 |
| | |||||
* | 22474: use variable argument lists to improve error message handling | Peter Stephenson | 2006-05-30 | 1 | -22/+22 |
| | |||||
* | Changed some structures to avoid gcc's type-punned warnings. | Wayne Davison | 2006-03-07 | 1 | -37/+37 |
| | |||||
* | Two changes in the HIST_SAVE_BY_COPY code: (1) preserve the group | Wayne Davison | 2005-12-17 | 1 | -2/+20 |
| | | | | | | and permissions on the history file, and (2) fail if zsh's euid differs from the file's uid (since that would change the history file's owner). | ||||
* | users/9618, modified: :G for global substution modifier | Peter Stephenson | 2005-11-04 | 1 | -6/+34 |
| | |||||
* | c.f. 21590: metafy_line()/unmetafy_line() now support wide characters | Peter Stephenson | 2005-08-10 | 1 | -22/+34 |
| | |||||
* | Honor the setting of the new HISTSAVEBYCOPY option when rewriting | Wayne Davison | 2005-03-18 | 1 | -5/+22 |
| | | | | the history file. | ||||
* | * 2073x: Src/Zle/zle_utils.c, Src/hist.c: modify zlegetline() and zlegetline | Clint Adams | 2005-01-22 | 1 | -1/+2 |
| | | | | | caller so that the octet-based and wide-character versions should return the same string. | ||||
* | c.f. 20675: improve zle as a basis for Unicode. | Peter Stephenson | 2005-01-14 | 1 | -29/+48 |
| | | | | unposted: update version to 4.2.3-dev-1 | ||||
* | Use the new gettempfile() function. | Wayne Davison | 2004-10-21 | 1 | -3/+2 |
| | |||||
* | - Improved lockhistfile() to use the new gettempname() for a unique | Wayne Davison | 2004-10-18 | 1 | -14/+15 |
| | | | | | | filename instead of a .PID suffix. - Use bicat() to build the $HISTFILE.LOCK filename. - Put the $HOST value into $HISTFILE.LOCK in addition to the PID. | ||||
* | - Added an arg to saveandpophiststack() to allow the caller to | Wayne Davison | 2004-10-01 | 1 | -3/+4 |
| | | | | | specify what flags to send to savehistfile(). - Implemented the HFILE_NO_REWRITE support in savehistfile(). | ||||
* | 20331: Use internal zlong variables for consistency | Peter Stephenson | 2004-09-09 | 1 | -23/+25 |
| | | | | 20332: Add WIDGETSTYLE zle parameter | ||||
* | Marked unused parameters with the new UNUSED() macro. | Wayne Davison | 2004-06-02 | 1 | -1/+1 |
| | |||||
* | - pushhiststack() now takes a level value and remembers it. If it was | Wayne Davison | 2004-05-21 | 1 | -9/+21 |
| | | | | | | | the locallevel (instead of -1), the history list is marked to auto-pop on function exit. - The saveandpophiststack() function now interprets a 0 arg as a request to do an auto-pop. | ||||
* | - Added functions to push and pop the current history list, allowing | Wayne Davison | 2004-05-20 | 1 | -16/+135 |
| | | | | | | | functions to more easily switch to their own private history. - Changed the existing history push/pop code in savehistfile() (which uses a separate history buf to allow it to rewrite the on-disk version of the history file without disturbing the in-memory list). | ||||
* | Added a comment to resizehistents() to explain why the function is | Wayne Davison | 2004-05-18 | 1 | -0/+2 |
| | | | | weirder than expected at first glance. | ||||
* | Fix the potential for an infinite loop in lockhistfile() if the | Wayne Davison | 2004-05-11 | 1 | -2/+4 |
| | | | | link() calls fails for some other reason than EEXIST. | ||||
* | a la 19209: zcalloc -> zshcalloc | Peter Stephenson | 2003-10-29 | 1 | -2/+2 |
| | |||||
* | 18941: history wrong after parse error during alias expansion | Peter Stephenson | 2003-08-11 | 1 | -0/+2 |
| | |||||
* | 17318: ${(z)...} added an extra space when the lexical analyser failed. | Peter Stephenson | 2002-06-14 | 1 | -0/+9 |
| | |||||
* | Added "savehistsiz" (for the new SAVEHIST special parameter), and used it | Wayne Davison | 2002-03-24 | 1 | -5/+9 |
| | | | | in place of getiparam("SAVEHIST"). | ||||
* | In putoldhistentryontop(), ensure that we can't return with "next" set to | Wayne Davison | 2002-02-22 | 1 | -2/+3 |
| | | | | the value we just put on top. | ||||
* | Yet another fix for prepnexthistent(). | Wayne Davison | 2002-02-20 | 1 | -1/+2 |
| | |||||
* | Fixed a just-introduced bug in prepnexthistent() when curline is in | Wayne Davison | 2002-02-18 | 1 | -4/+5 |
| | | | | the list. | ||||
* | When savehistfile() rewrites the history file, there was a potential for | Wayne Davison | 2002-02-16 | 1 | -1/+2 |
| | | | | | losing the entire history file if we couldn't lock the file for reading (it timed out) but we could lock the file for write (and wrote nothing). | ||||
* | Optimized putoldhistentryontop() so that when resizehistents() calls it | Wayne Davison | 2002-02-16 | 1 | -14/+24 |
| | | | | | repeatedly while HIST_EXPIRE_DUPS_FIRST is set, it doesn't re-scan the already-checked hist items (avoiding potentially slow operation). | ||||
* | Improved resizehistents() so that it honors HISTEXPIREDUPSFIRST. | Wayne Davison | 2002-02-13 | 1 | -25/+33 |
| | |||||
* | 16577: don't return a single dot as the path head of a slash. | Clint Adams | 2002-02-06 | 1 | -1/+5 |
| | |||||
* | Improved readhistline() to reject binary data better. (16184) | Wayne Davison | 2001-10-26 | 1 | -15/+18 |
| |