summaryrefslogtreecommitdiff
path: root/Src/hist.c
AgeCommit message (Collapse)AuthorFilesLines
2010-09-2528295 plus tweak: use lexer to split words from history filePeter Stephenson1-21/+59
2010-06-2228047: attempt to make locking with fc command more usefulPeter Stephenson1-24/+58
2010-03-2227823: fix memory access in 27822Peter Stephenson1-2/+2
2010-03-22Fix ZLE access to pushed history linePeter Stephenson1-0/+16
2009-12-18Add symlink-based hist-file locking.Wayne Davison1-2/+30
2009-08-1627216: set chwords to NULL when freedPeter Stephenson1-0/+2
2009-03-2326748: c modifier to add command pathPeter Stephenson1-0/+7
2009-03-20Bart: 26761: typo in realpath() checkPeter Stephenson1-1/+1
2009-03-1926754: tweak zgetdir() and test for realpath()Peter Stephenson1-3/+29
2009-03-1826752: fix ../ removal and metafication in :a and :A modifersPeter Stephenson1-3/+7
2009-03-15Michael Hwang: 26731 with cosmetic changes: add "a" and "A" modifiersPeter Stephenson1-0/+141
26736: document the above
2009-03-1526735: Check some function return values for failures. Gets rid ofWayne Davison1-2/+2
some compiler warnings, and improves error handling/notification.
2009-03-10print message if we give up trying to crate a lock file with hard linksPeter Stephenson1-3/+6
2009-02-2526602: history substitution buffer could overflow with no testPeter Stephenson1-3/+15
2008-11-2526091: crash at end of history line if history not in usePeter Stephenson1-6/+8
2008-09-22Rocky Bernstein: 25696: fix crash on empty history.Peter Stephenson1-1/+1
2008-09-1825682: terminate history line before passing to zshaddhistory hookPeter Stephenson1-2/+7
2008-09-1025639: free ptr2 if hsubl is NULL.Clint Adams1-1/+3
2008-09-0425610: remove dead code.Clint Adams1-4/+0
2008-07-3125345, 25347: neaten interface from main shell to zlePeter Stephenson1-8/+3
2008-07-1725272: add zshaddhistory hookPeter Stephenson1-29/+39
2008-05-05Only call close(flock_fd) if flock_fd is >= 0.Wayne Davison1-2/+4
2008-05-05Locking simplification and signed/unsigned fixes.Wayne Davison1-94/+55
2008-04-2624872: revert to original patchPeter Stephenson1-2/+0
2008-04-26Jun T. 24872 + 24873: capitalization with combining charactersPeter Stephenson1-0/+4
2008-04-1724818: add HIST_FCNTL_LOCK.Peter Stephenson1-5/+104
unposted: update NEWS with new features
2008-04-1424814: suspicious handling of temporary history bufferPeter Stephenson1-3/+6
2008-03-11unposted: make test for added space in 24699 saferPeter Stephenson1-4/+4
2008-03-0824699: bug with ${(Q)...} on initial ">"Peter Stephenson1-4/+29
bug with ${(z)...} on string with unterminated "("
2008-03-06History file-handling improvments.Wayne Davison1-8/+22
2007-12-3124324: do not set ftim when re-entering the history mechanism for stringBart Schaefer1-1/+1
substitution.
2007-08-0123736: status for file save wasn't initialisedPeter Stephenson1-0/+1
2007-06-2323585: handle errno properly in history save errorsPeter Stephenson1-2/+3
2007-06-2223581: handle errors writing history file betterPeter Stephenson1-37/+48
2006-11-0122934, modified, see 22937: add HIST_SUBST_PATTERN optionPeter Stephenson1-28/+81
make ${.../#%...} anchor at both ends
2006-06-2822525: lengths and cases of multibyte strings in parameters and historyPeter Stephenson1-53/+121
2006-05-3022474: use variable argument lists to improve error message handlingPeter Stephenson1-22/+22
2006-03-07Changed some structures to avoid gcc's type-punned warnings.Wayne Davison1-37/+37
2005-12-17Two changes in the HIST_SAVE_BY_COPY code: (1) preserve the groupWayne Davison1-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).
2005-11-04users/9618, modified: :G for global substution modifierPeter Stephenson1-6/+34
2005-08-10c.f. 21590: metafy_line()/unmetafy_line() now support wide charactersPeter Stephenson1-22/+34
2005-03-18Honor the setting of the new HISTSAVEBYCOPY option when rewritingWayne Davison1-5/+22
the history file.
2005-01-22 * 2073x: Src/Zle/zle_utils.c, Src/hist.c: modify zlegetline() and zlegetlineClint Adams1-1/+2
caller so that the octet-based and wide-character versions should return the same string.
2005-01-14c.f. 20675: improve zle as a basis for Unicode.Peter Stephenson1-29/+48
unposted: update version to 4.2.3-dev-1
2004-10-21Use the new gettempfile() function.Wayne Davison1-3/+2
2004-10-18- Improved lockhistfile() to use the new gettempname() for a uniqueWayne Davison1-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.
2004-10-01- Added an arg to saveandpophiststack() to allow the caller toWayne Davison1-3/+4
specify what flags to send to savehistfile(). - Implemented the HFILE_NO_REWRITE support in savehistfile().
2004-09-0920331: Use internal zlong variables for consistencyPeter Stephenson1-23/+25
20332: Add WIDGETSTYLE zle parameter
2004-06-02Marked unused parameters with the new UNUSED() macro.Wayne Davison1-1/+1
2004-05-21- pushhiststack() now takes a level value and remembers it. If it wasWayne Davison1-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.