summary refs log tree commit diff
path: root/Src/hist.c
Commit message (Collapse)AuthorAgeFilesLines
* 27216: set chwords to NULL when freedPeter Stephenson2009-08-161-0/+2
|
* 26748: c modifier to add command pathPeter Stephenson2009-03-231-0/+7
|
* Bart: 26761: typo in realpath() checkPeter Stephenson2009-03-201-1/+1
|
* 26754: tweak zgetdir() and test for realpath()Peter Stephenson2009-03-191-3/+29
|
* 26752: fix ../ removal and metafication in :a and :A modifersPeter Stephenson2009-03-181-3/+7
|
* Michael Hwang: 26731 with cosmetic changes: add "a" and "A" modifiersPeter Stephenson2009-03-151-0/+141
| | | | 26736: document the above
* 26735: Check some function return values for failures. Gets rid ofWayne Davison2009-03-151-2/+2
| | | | some compiler warnings, and improves error handling/notification.
* print message if we give up trying to crate a lock file with hard linksPeter Stephenson2009-03-101-3/+6
|
* 26602: history substitution buffer could overflow with no testPeter Stephenson2009-02-251-3/+15
|
* 26091: crash at end of history line if history not in usePeter Stephenson2008-11-251-6/+8
|
* Rocky Bernstein: 25696: fix crash on empty history.Peter Stephenson2008-09-221-1/+1
|
* 25682: terminate history line before passing to zshaddhistory hookPeter Stephenson2008-09-181-2/+7
|
* 25639: free ptr2 if hsubl is NULL.Clint Adams2008-09-101-1/+3
|
* 25610: remove dead code.Clint Adams2008-09-041-4/+0
|
* 25345, 25347: neaten interface from main shell to zlePeter Stephenson2008-07-311-8/+3
|
* 25272: add zshaddhistory hookPeter Stephenson2008-07-171-29/+39
|
* Only call close(flock_fd) if flock_fd is >= 0.Wayne Davison2008-05-051-2/+4
|
* Locking simplification and signed/unsigned fixes.Wayne Davison2008-05-051-94/+55
|
* 24872: revert to original patchPeter Stephenson2008-04-261-2/+0
|
* Jun T. 24872 + 24873: capitalization with combining charactersPeter Stephenson2008-04-261-0/+4
|
* 24818: add HIST_FCNTL_LOCK.Peter Stephenson2008-04-171-5/+104
| | | | unposted: update NEWS with new features
* 24814: suspicious handling of temporary history bufferPeter Stephenson2008-04-141-3/+6
|
* unposted: make test for added space in 24699 saferPeter Stephenson2008-03-111-4/+4
|
* 24699: bug with ${(Q)...} on initial ">"Peter Stephenson2008-03-081-4/+29
| | | | bug with ${(z)...} on string with unterminated "("
* History file-handling improvments.Wayne Davison2008-03-061-8/+22
|
* 24324: do not set ftim when re-entering the history mechanism for stringBart Schaefer2007-12-311-1/+1
| | | | substitution.
* 23736: status for file save wasn't initialisedPeter Stephenson2007-08-011-0/+1
|
* 23585: handle errno properly in history save errorsPeter Stephenson2007-06-231-2/+3
|
* 23581: handle errors writing history file betterPeter Stephenson2007-06-221-37/+48
|
* 22934, modified, see 22937: add HIST_SUBST_PATTERN optionPeter Stephenson2006-11-011-28/+81
| | | | make ${.../#%...} anchor at both ends
* 22525: lengths and cases of multibyte strings in parameters and historyPeter Stephenson2006-06-281-53/+121
|
* 22474: use variable argument lists to improve error message handlingPeter Stephenson2006-05-301-22/+22
|
* Changed some structures to avoid gcc's type-punned warnings.Wayne Davison2006-03-071-37/+37
|
* Two changes in the HIST_SAVE_BY_COPY code: (1) preserve the groupWayne Davison2005-12-171-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).
* users/9618, modified: :G for global substution modifierPeter Stephenson2005-11-041-6/+34
|
* c.f. 21590: metafy_line()/unmetafy_line() now support wide charactersPeter Stephenson2005-08-101-22/+34
|
* Honor the setting of the new HISTSAVEBYCOPY option when rewritingWayne Davison2005-03-181-5/+22
| | | | the history file.
* * 2073x: Src/Zle/zle_utils.c, Src/hist.c: modify zlegetline() and zlegetlineClint Adams2005-01-221-1/+2
| | | | | caller so that the octet-based and wide-character versions should return the same string.
* c.f. 20675: improve zle as a basis for Unicode.Peter Stephenson2005-01-141-29/+48
| | | | unposted: update version to 4.2.3-dev-1
* Use the new gettempfile() function.Wayne Davison2004-10-211-3/+2
|
* - Improved lockhistfile() to use the new gettempname() for a uniqueWayne Davison2004-10-181-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.
* - Added an arg to saveandpophiststack() to allow the caller toWayne Davison2004-10-011-3/+4
| | | | | specify what flags to send to savehistfile(). - Implemented the HFILE_NO_REWRITE support in savehistfile().
* 20331: Use internal zlong variables for consistencyPeter Stephenson2004-09-091-23/+25
| | | | 20332: Add WIDGETSTYLE zle parameter
* Marked unused parameters with the new UNUSED() macro.Wayne Davison2004-06-021-1/+1
|
* - pushhiststack() now takes a level value and remembers it. If it wasWayne Davison2004-05-211-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.
* - Added functions to push and pop the current history list, allowingWayne Davison2004-05-201-16/+135
| | | | | | | functions to more easily switch to their own private history. - Changed the existing history push/pop code in savehistfile() (which uses a separate history buf to allow it to rewrite the on-disk version of the history file without disturbing the in-memory list).
* Added a comment to resizehistents() to explain why the function isWayne Davison2004-05-181-0/+2
| | | | weirder than expected at first glance.
* Fix the potential for an infinite loop in lockhistfile() if theWayne Davison2004-05-111-2/+4
| | | | link() calls fails for some other reason than EEXIST.
* a la 19209: zcalloc -> zshcallocPeter Stephenson2003-10-291-2/+2
|
* 18941: history wrong after parse error during alias expansionPeter Stephenson2003-08-111-0/+2
|