summaryrefslogtreecommitdiff
path: root/Src/hist.c
AgeCommit message (Expand)AuthorFilesLines
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
2000-10-19Don't call histreduceblanks() if the line didn't parse right.Wayne Davison1-4/+5
2000-07-31isalpha() -> ialpha(); avoid a compiler warning (12439)Sven Wischnowsky1-1/+1
2000-07-20Renamed shouldIgnoreLine() to should_ignore_line().Wayne Davison1-2/+2
2000-07-20Support "builtin" in the HIST_NO_STORE check.Wayne Davison1-3/+6
2000-07-19Removed remhist() and HA_JUNKED, added an Eprog arg to hend(), andWayne Davison1-25/+47
2000-07-18+ Got rid of the spaceflag variable.Wayne Davison1-11/+8
2000-07-17Fix the gethistent() function and enhanced the reliability of theWayne Davison1-9/+14
2000-07-16+ Needed to call unmeta() in a few spots that used the HISTFILE name.Wayne Davison1-20/+36
2000-07-13condition parsing with (z) flagSven Wischnowsky1-0/+4