summaryrefslogtreecommitdiff
path: root/Src/hist.c
AgeCommit message (Expand)AuthorFilesLines
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
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
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
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
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
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
2005-01-22 * 2073x: Src/Zle/zle_utils.c, Src/hist.c: modify zlegetline() and zlegetlineClint Adams1-1/+2
2005-01-14c.f. 20675: improve zle as a basis for Unicode.Peter Stephenson1-29/+48
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
2004-10-01- Added an arg to saveandpophiststack() to allow the caller toWayne Davison1-3/+4
2004-09-0920331: Use internal zlong variables for consistencyPeter Stephenson1-23/+25
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
2004-05-20- Added functions to push and pop the current history list, allowingWayne Davison1-16/+135
2004-05-18Added a comment to resizehistents() to explain why the function isWayne Davison1-0/+2
2004-05-11Fix the potential for an infinite loop in lockhistfile() if theWayne Davison1-2/+4
2003-10-29a la 19209: zcalloc -> zshcallocPeter Stephenson1-2/+2
2003-08-1118941: history wrong after parse error during alias expansionPeter Stephenson1-0/+2
2002-06-1417318: ${(z)...} added an extra space when the lexical analyser failed.Peter Stephenson1-0/+9
2002-03-24Added "savehistsiz" (for the new SAVEHIST special parameter), and used itWayne Davison1-5/+9
2002-02-22In putoldhistentryontop(), ensure that we can't return with "next" set toWayne Davison1-2/+3
2002-02-20Yet another fix for prepnexthistent().Wayne Davison1-1/+2
2002-02-18Fixed a just-introduced bug in prepnexthistent() when curline is inWayne Davison1-4/+5
2002-02-16When savehistfile() rewrites the history file, there was a potential forWayne Davison1-1/+2
2002-02-16Optimized putoldhistentryontop() so that when resizehistents() calls itWayne Davison1-14/+24
2002-02-13Improved resizehistents() so that it honors HISTEXPIREDUPSFIRST.Wayne Davison1-25/+33
2002-02-0616577: don't return a single dot as the path head of a slash.Clint Adams1-1/+5
2001-10-26Improved readhistline() to reject binary data better. (16184)Wayne Davison1-15/+18