about summary refs log tree commit diff
path: root/Src/hist.c
Commit message (Collapse)AuthorAgeFilesLines
* isalpha() -> ialpha(); avoid a compiler warning (12439)Sven Wischnowsky2000-07-311-1/+1
|
* Renamed shouldIgnoreLine() to should_ignore_line().Wayne Davison2000-07-201-2/+2
|
* Support "builtin" in the HIST_NO_STORE check.Wayne Davison2000-07-201-3/+6
|
* Removed remhist() and HA_JUNKED, added an Eprog arg to hend(), andWayne Davison2000-07-191-25/+47
| | | | | added the shouldIgnoreLine() function that hend() now calls to figure out if it needs to save the line or not.
* + Got rid of the spaceflag variable.Wayne Davison2000-07-181-11/+8
| | | | | | | | | | + Make sure that the curline.histnum variable is accurate at the end of our history processing, even if we read in some foreign history and/or if we replaced the prior line because it was a duplicate of the current one. This enables the history (fc -l) command to work properly, even if the current command was HIST_NO_SPACE-ed away. + Don't allow remhist() to remove the last line in the history if we didn't store the current command.
* Fix the gethistent() function and enhanced the reliability of theWayne Davison2000-07-171-9/+14
| | | | SHARE_HISTORY option.
* + Needed to call unmeta() in a few spots that used the HISTFILE name.Wayne Davison2000-07-161-20/+36
| | | | | | + The non-HAVE_LINK code in lockhistfile() was broken in a number of ways. + Added an extra unlink() call to the HAVE_LINK code in lockhistfile() since (Linix at least says that) O_EXCL over NFS is broken.
* condition parsing with (z) flagSven Wischnowsky2000-07-131-0/+4
|
* slightly improved (z) flag for parsing conditions; recognising glob flags in ↵Sven Wischnowsky2000-07-131-6/+9
| | | | conditions still doesn't work (12237)
* fix for (z) flag, don't take # as comment (12228)Sven Wischnowsky2000-07-121-3/+4
|
* AIX depenency fix (11661)Oliver Kiddle2000-05-301-1/+1
|
* Wayne: Fix two history bugs that were causing theBart Schaefer2000-05-301-20/+19
| | | | failure of `print -s'.
* save and restore more variables in bufferwords(); move gotword() into core ↵Sven Wischnowsky2000-05-231-1/+6
| | | | (11523)
* Wayne: fix for print -s when called from widget; added lines are not ↵Sven Wischnowsky2000-05-051-25/+44
| | | | immediately available, though (11171)
* fix for the (z) flag: report partial word (like `"foo', without a closing ↵Sven Wischnowsky2000-05-031-0/+5
| | | | quote); mention in manual that (z) is handled lately (11117)
* new (z) parameter flag to do shell-word splitting on the value (11113)Sven Wischnowsky2000-05-031-3/+25
|
* new widget copy-prev-shell-word, like copy-prev-word but uses shell parsing ↵Sven Wischnowsky2000-04-121-292/+719
| | | | to find word (10685)
* Initial revisionTanaka Akira1999-04-151-0/+1670