summaryrefslogtreecommitdiff
path: root/Src/hist.c
AgeCommit message (Expand)AuthorFilesLines
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
2001-10-15Fix HIST_NO_SPACE when INTERACTIVE_COMMENTS is set and we get aWayne Davison1-3/+3
2001-09-24Fix out-of-memory on corrupt history files.Bart Schaefer1-25/+35
2001-09-15With HIST_NO_STORE, don't ignore what looks like a history command ifWayne Davison1-5/+11
2001-09-13+ Changed addhistnum() to return firsthist()-1 or curhist+1 on error.Wayne Davison1-1/+3
2001-08-07When rewriting the history file, set histactive to 0 and restore itWayne Davison1-0/+5
2001-06-28Have prepnexthistent() remove any HIST_TEMPSTORE entry that is present.Wayne Davison1-0/+4
2001-06-08Don't mark a HIST_TMPSTORE entry with HIST_OLD so that the HFILE_FASTWayne Davison1-1/+1
2001-05-19Don't merge a HIST_TMPSTORE entry with a previous "duplicate" line.Wayne Davison1-3/+4
2001-05-15+ Changed histreduceblanks() to preserve spaces at the start of theWayne Davison1-14/+30
2001-05-10Fixed an obscure local-history bug that could make the "history"Wayne Davison1-4/+3
2001-04-20Parameter repairs, mostly for subscripting.Bart Schaefer1-1/+1
2001-04-10Slightly optimized should_ignore_line() by using getjobtext() ratherWayne Davison1-9/+3
2001-02-26properly restore noaliases in bufferwords() (13530)Sven Wischnowsky1-1/+2
2001-02-1913280: NewImproved handling of colon modifiers w.r.t. pathsPeter Stephenson1-24/+51
2001-01-16remove 13108 (trap queues); replace with signal queueing to ensure that user ...Sven Wischnowsky1-6/+22
2000-10-21Fix "vared -h" in shell scripts.Bart Schaefer1-2/+7