Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 46275: eliminate undefined behavior caused by redefinition of hashtable | Roman Perepelitsa | 2020-07-29 | 1 | -51/+56 |
| | | | | | struct hashtable has different set of data members in different translation units. This is undefined behavior. | ||||
* | 45004: Fix typos in comments | Martijn Dekker | 2019-12-11 | 1 | -1/+1 |
| | |||||
* | 42146: type -w += global aliases | Daniel Shahaf | 2017-12-20 | 1 | -0/+2 |
| | | | | Follow-up to 36403, which did the same for suffix aliases. | ||||
* | 41164: Don't free a history entry if it's curline. | Peter Stephenson | 2017-05-30 | 1 | -1/+3 |
| | | | | | | This replaces 41113 / 94014ff65b with a simple local change for the immediate problem. It's not entirely clear if this reflects wider changes in the structure of the history code. | ||||
* | 41113 (tweaked): Save current line linkage to history ring. | Peter Stephenson | 2017-05-18 | 1 | -0/+1 |
| | | | | | | | | | | When saving history state save whether the current history line is linked into the ring and remove it, and restore as appropriate later. This avoids surprises where the history ring is freed and incorrectly frees the current state in curline, which has a different allocation strategy. Original patch tweaked to make restoring more logical. | ||||
* | unposted: declare file local variables as static | Jun-ichi Takimoto | 2017-03-10 | 1 | -2/+2 |
| | |||||
* | 40440: Add $functions_source hash to zsh/parameter. | Peter Stephenson | 2017-01-28 | 1 | -0/+9 |
| | | | | This allows you to find out where a function was loaded from. | ||||
* | 40353 with tweaks to whence -v: extend directory cache use. | Peter Stephenson | 2017-01-16 | 1 | -3/+24 |
| | | | | | | Now used for all autoloaded functions after load, including those where the file was found along fpath, reducing duplication of directory names. | ||||
* | unposted: one missing *name = NULL | Peter Stephenson | 2017-01-12 | 1 | -0/+1 |
| | |||||
* | 40342: Add directory name cache for autoload file paths. | Peter Stephenson | 2017-01-12 | 1 | -1/+138 |
| | | | | | This renders "autoload /blah/blah/*" as efficient as use of fpath. | ||||
* | Add features associated with autoloading a function using an absolute | Peter Stephenson | 2017-01-11 | 1 | -2/+6 |
| | | | | | | | | | | | | | path. -d defaults to normal fpath -r remembers the path without actually loading. May be combined with -d. -R does the same but it's an error if not found -X can now take a directory path: this is used to output not yet loaded functions that have an associated path. | ||||
* | 40009: alias -L: Emit aliases that begin with a plus sign correctly. | Daniel Shahaf | 2016-11-28 | 1 | -2/+2 |
| | |||||
* | 37838: use UNUSED() consistently | Jun-ichi Takimoto | 2016-01-30 | 1 | -1/+1 |
| | |||||
* | 37591: 'alias -L': skip with a warning aliases with '=' in their LHS | Daniel Shahaf | 2016-01-13 | 1 | -0/+9 |
| | |||||
* | 36403: type -w += suffix alias | Daniel Shahaf | 2015-09-03 | 1 | -1/+4 |
| | | | | | | | | This makes 'type -w' distinguish suffix aliases from regular aliases, like bare 'type' already does. Use-case: detecting programmatically whether the command word is indeed a valid command word (see <https://github.com/zsh-users/zsh-syntax-highlighting/issues/126>) | ||||
* | various posts: Implement assignment parsing for typeset. | Peter Stephenson | 2015-06-24 | 1 | -0/+7 |
| | | | | | | | | | | | | Typeset assignments now work like raw assignments except for no "+=" and no GLOB_ASSIGN. Documented in typeset builtin doc and mentioned in release notes. Tests to ensure basic sanity. Enabled by default, can be turned off by "disable -r" with typeset family of commands. | ||||
* | 35386: expand tabs where useful in builtins outputing function. | Peter Stephenson | 2015-06-05 | 1 | -8/+66 |
| | | | | | | Also add to zed -f. Option is -x <numm>. | ||||
* | 34966: "whence -v" for a function reports whether the function is autoloaded ↵ | Barton E. Schaefer | 2015-04-25 | 1 | -3/+11 |
| | | | | or its source file when known | ||||
* | 33285: apply function definition redirections at execution | Peter Stephenson | 2014-09-29 | 1 | -2/+13 |
| | |||||
* | 30726: make shell options passed to emulate stick along with the emulation | Peter Stephenson | 2012-10-11 | 1 | -0/+9 |
| | |||||
* | 30633: "functions -T" only traces marked function, not called functions | Peter Stephenson | 2012-08-21 | 1 | -3/+4 |
| | |||||
* | 30184: use a HASH_EXECUTABLES_ONLY test that matches the test used by | Bart Schaefer | 2012-03-01 | 1 | -1/+2 |
| | | | | exec.c:iscom() during path search. | ||||
* | 30101: add HASH_EXECUTABLES_ONLY option | Peter Stephenson | 2012-01-08 | 1 | -2/+3 |
| | |||||
* | 29195: Separate nameddir hash to avoid clash of | Peter Stephenson | 2011-05-09 | 1 | -266/+0 |
| | | | | "bool" type on Solaris | ||||
* | 29165: use term.h globally if needed at all. | Peter Stephenson | 2011-05-09 | 1 | -8/+8 |
| | |||||
* | users/14411: Src/hashtable.c: only hash stat-able executable regular | Peter Stephenson | 2009-09-21 | 1 | -6/+37 |
| | | | | files as commands | ||||
* | 26546, 26556: sticky emulation for functions defined in emulate ... -c ... | Peter Stephenson | 2009-02-11 | 1 | -1/+1 |
| | | | | environments, plus documentation | ||||
* | 25985: don't try to disable signal traps if getsignum returns -1. | Clint Adams | 2008-11-01 | 1 | -2/+4 |
| | |||||
* | 25651: make getpermtext() output indentation more logical | Peter Stephenson | 2008-09-11 | 1 | -1/+1 |
| | |||||
* | 25247 with further modifications: add $funcsourcetrace | Peter Stephenson | 2008-08-11 | 1 | -0/+1 |
| | |||||
* | 24048: fix home directory expansion with NIS on Solaris | Oliver Kiddle | 2007-11-01 | 1 | -1/+2 |
| | |||||
* | 23665: autoloading of module features and related tweaks | Peter Stephenson | 2007-07-06 | 1 | -7/+7 |
| | |||||
* | 23152: make ztrcmp() respect MULTIBYTE | Peter Stephenson | 2007-02-06 | 1 | -40/+41 |
| | | | | make sorting of printed hash tables more consistent | ||||
* | Changed some structures to avoid gcc's type-punned warnings. | Wayne Davison | 2006-03-07 | 1 | -85/+85 |
| | |||||
* | 22284: add --disable-dynamic-nss configure switch to disable use of ↵ | Clint Adams | 2006-02-19 | 1 | -1/+1 |
| | | | | getpw*(), getgr*(), initgroups() functions. | ||||
* | Got rid of some unsigned-char/char pointer casts. | Wayne Davison | 2005-11-15 | 1 | -1/+1 |
| | |||||
* | fix autoloaded trap bug; rejig use of trapfuncs | Peter Stephenson | 2005-02-06 | 1 | -3/+1 |
| | | | | (now traplists); improve trap tests | ||||
* | Marked unused parameters with the new UNUSED() macro. | Wayne Davison | 2004-06-02 | 1 | -8/+8 |
| | |||||
* | Supply all initializers for the final struct reswd element. | Wayne Davison | 2004-05-28 | 1 | -1/+1 |
| | |||||
* | 19767, 19785: store flags for -z and -k options to autoload allowing the | Oliver Kiddle | 2004-04-20 | 1 | -20/+23 |
| | | | | completion system to be used with ksh_autoload set | ||||
* | 19595: rename DO to DOLOOP to avoid conflict with curses.h on Tru64 5.1 | Oliver Kiddle | 2004-03-11 | 1 | -1/+1 |
| | |||||
* | a la 19209: zcalloc -> zshcalloc | Peter Stephenson | 2003-10-29 | 1 | -7/+7 |
| | |||||
* | 19020: fix printaliasnode | Peter Stephenson | 2003-09-03 | 1 | -2/+2 |
| | |||||
* | 19014: add alias -s suf=handler | Peter Stephenson | 2003-09-03 | 1 | -22/+52 |
| | |||||
* | 17582: Improved option argument handling. | Peter Stephenson | 2002-08-27 | 1 | -1/+1 |
| | | | | unposted: Updated version to 4.1.0-dev-6 because of interface change. | ||||
* | 17503: fix various typos and spelling mistakes in source code comments | Oliver Kiddle | 2002-08-05 | 1 | -1/+1 |
| | |||||
* | 15253 : hash foo together with foo.exe on Cygwin | Andrey Borzenkov | 2001-07-05 | 1 | -4/+4 |
| | |||||
* | The function addhistnode() is no longer called for a HIST_TMPSTORE | Wayne Davison | 2001-05-19 | 1 | -2/+2 |
| | | | | | entry, so I removed the checking for that flag. Also, freehistdata() now avoids calling removehashnode() on a HIST_TMPSTORE entry. | ||||
* | Changed addhistnode() to not displace an already-hashed command with | Wayne Davison | 2001-05-15 | 1 | -2/+3 |
| | | | | | | one that is marked HIST_TMPSTORE. Also changed the function to not ever destroy the entry we're currently adding (the caller now destroys the newly-added entry, if it so desires). | ||||
* | remove 13108 (trap queues); replace with signal queueing to ensure that user ↵ | Sven Wischnowsky | 2001-01-16 | 1 | -0/+3 |
| | | | | signal handlers are only executed when it is safe to run them (13365) |