summaryrefslogtreecommitdiff
path: root/Src/hashtable.c
AgeCommit message (Collapse)AuthorFilesLines
2024-04-0152781: HIST IGNORE_DUPS + HIST_REDUCE_BLANKS treats whitespace as significantBart Schaefer1-0/+8
2024-02-2852594: support for POSIX real-time signals with kill and trapOliver Kiddle1-10/+10
Also add new -L option to kill for a more verbose listing of signals
2020-07-2946275: eliminate undefined behavior caused by redefinition of hashtableRoman Perepelitsa1-51/+56
struct hashtable has different set of data members in different translation units. This is undefined behavior.
2019-12-1145004: Fix typos in commentsMartijn Dekker1-1/+1
2017-12-2042146: type -w += global aliasesDaniel Shahaf1-0/+2
Follow-up to 36403, which did the same for suffix aliases.
2017-05-3041164: Don't free a history entry if it's curline.Peter Stephenson1-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.
2017-05-1841113 (tweaked): Save current line linkage to history ring.Peter Stephenson1-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.
2017-03-10unposted: declare file local variables as staticJun-ichi Takimoto1-2/+2
2017-01-2840440: Add $functions_source hash to zsh/parameter.Peter Stephenson1-0/+9
This allows you to find out where a function was loaded from.
2017-01-1640353 with tweaks to whence -v: extend directory cache use.Peter Stephenson1-3/+24
Now used for all autoloaded functions after load, including those where the file was found along fpath, reducing duplication of directory names.
2017-01-12unposted: one missing *name = NULLPeter Stephenson1-0/+1
2017-01-1240342: Add directory name cache for autoload file paths.Peter Stephenson1-1/+138
This renders "autoload /blah/blah/*" as efficient as use of fpath.
2017-01-11Add features associated with autoloading a function using an absolutePeter Stephenson1-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.
2016-11-2840009: alias -L: Emit aliases that begin with a plus sign correctly.Daniel Shahaf1-2/+2
2016-01-3037838: use UNUSED() consistentlyJun-ichi Takimoto1-1/+1
2016-01-1337591: 'alias -L': skip with a warning aliases with '=' in their LHSDaniel Shahaf1-0/+9
2015-09-0336403: type -w += suffix aliasDaniel Shahaf1-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>)
2015-06-24various posts: Implement assignment parsing for typeset.Peter Stephenson1-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.
2015-06-0535386: expand tabs where useful in builtins outputing function.Peter Stephenson1-8/+66
Also add to zed -f. Option is -x <numm>.
2015-04-2534966: "whence -v" for a function reports whether the function is autoloaded ↵Barton E. Schaefer1-3/+11
or its source file when known
2014-09-2933285: apply function definition redirections at executionPeter Stephenson1-2/+13
2012-10-1130726: make shell options passed to emulate stick along with the emulationPeter Stephenson1-0/+9
2012-08-2130633: "functions -T" only traces marked function, not called functionsPeter Stephenson1-3/+4
2012-03-0130184: use a HASH_EXECUTABLES_ONLY test that matches the test used byBart Schaefer1-1/+2
exec.c:iscom() during path search.
2012-01-0830101: add HASH_EXECUTABLES_ONLY optionPeter Stephenson1-2/+3
2011-05-0929195: Separate nameddir hash to avoid clash ofPeter Stephenson1-266/+0
"bool" type on Solaris
2011-05-0929165: use term.h globally if needed at all.Peter Stephenson1-8/+8
2009-09-21users/14411: Src/hashtable.c: only hash stat-able executable regularPeter Stephenson1-6/+37
files as commands
2009-02-1126546, 26556: sticky emulation for functions defined in emulate ... -c ...Peter Stephenson1-1/+1
environments, plus documentation
2008-11-0125985: don't try to disable signal traps if getsignum returns -1.Clint Adams1-2/+4
2008-09-1125651: make getpermtext() output indentation more logicalPeter Stephenson1-1/+1
2008-08-1125247 with further modifications: add $funcsourcetracePeter Stephenson1-0/+1
2007-11-0124048: fix home directory expansion with NIS on SolarisOliver Kiddle1-1/+2
2007-07-0623665: autoloading of module features and related tweaksPeter Stephenson1-7/+7
2007-02-0623152: make ztrcmp() respect MULTIBYTEPeter Stephenson1-40/+41
make sorting of printed hash tables more consistent
2006-03-07Changed some structures to avoid gcc's type-punned warnings.Wayne Davison1-85/+85
2006-02-1922284: add --disable-dynamic-nss configure switch to disable use of ↵Clint Adams1-1/+1
getpw*(), getgr*(), initgroups() functions.
2005-11-15Got rid of some unsigned-char/char pointer casts.Wayne Davison1-1/+1
2005-02-06fix autoloaded trap bug; rejig use of trapfuncsPeter Stephenson1-3/+1
(now traplists); improve trap tests
2004-06-02Marked unused parameters with the new UNUSED() macro.Wayne Davison1-8/+8
2004-05-28Supply all initializers for the final struct reswd element.Wayne Davison1-1/+1
2004-04-2019767, 19785: store flags for -z and -k options to autoload allowing theOliver Kiddle1-20/+23
completion system to be used with ksh_autoload set
2004-03-1119595: rename DO to DOLOOP to avoid conflict with curses.h on Tru64 5.1Oliver Kiddle1-1/+1
2003-10-29a la 19209: zcalloc -> zshcallocPeter Stephenson1-7/+7
2003-09-0319020: fix printaliasnodePeter Stephenson1-2/+2
2003-09-0319014: add alias -s suf=handlerPeter Stephenson1-22/+52
2002-08-2717582: Improved option argument handling.Peter Stephenson1-1/+1
unposted: Updated version to 4.1.0-dev-6 because of interface change.
2002-08-0517503: fix various typos and spelling mistakes in source code commentsOliver Kiddle1-1/+1
2001-07-0515253 : hash foo together with foo.exe on CygwinAndrey Borzenkov1-4/+4
2001-05-19The function addhistnode() is no longer called for a HIST_TMPSTOREWayne Davison1-2/+2
entry, so I removed the checking for that flag. Also, freehistdata() now avoids calling removehashnode() on a HIST_TMPSTORE entry.