summary refs log tree commit diff
path: root/Src/hashtable.c
Commit message (Collapse)AuthorAgeFilesLines
* 40353 with tweaks to whence -v: extend directory cache use.Peter Stephenson2017-01-161-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 = NULLPeter Stephenson2017-01-121-0/+1
|
* 40342: Add directory name cache for autoload file paths.Peter Stephenson2017-01-121-1/+138
| | | | | This renders "autoload /blah/blah/*" as efficient as use of fpath.
* Add features associated with autoloading a function using an absolutePeter Stephenson2017-01-111-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 Shahaf2016-11-281-2/+2
|
* 37838: use UNUSED() consistentlyJun-ichi Takimoto2016-01-301-1/+1
|
* 37591: 'alias -L': skip with a warning aliases with '=' in their LHSDaniel Shahaf2016-01-131-0/+9
|
* 36403: type -w += suffix aliasDaniel Shahaf2015-09-031-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 Stephenson2015-06-241-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 Stephenson2015-06-051-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. Schaefer2015-04-251-3/+11
| | | | or its source file when known
* 33285: apply function definition redirections at executionPeter Stephenson2014-09-291-2/+13
|
* 30726: make shell options passed to emulate stick along with the emulationPeter Stephenson2012-10-111-0/+9
|
* 30633: "functions -T" only traces marked function, not called functionsPeter Stephenson2012-08-211-3/+4
|
* 30184: use a HASH_EXECUTABLES_ONLY test that matches the test used byBart Schaefer2012-03-011-1/+2
| | | | exec.c:iscom() during path search.
* 30101: add HASH_EXECUTABLES_ONLY optionPeter Stephenson2012-01-081-2/+3
|
* 29195: Separate nameddir hash to avoid clash ofPeter Stephenson2011-05-091-266/+0
| | | | "bool" type on Solaris
* 29165: use term.h globally if needed at all.Peter Stephenson2011-05-091-8/+8
|
* users/14411: Src/hashtable.c: only hash stat-able executable regularPeter Stephenson2009-09-211-6/+37
| | | | files as commands
* 26546, 26556: sticky emulation for functions defined in emulate ... -c ...Peter Stephenson2009-02-111-1/+1
| | | | environments, plus documentation
* 25985: don't try to disable signal traps if getsignum returns -1.Clint Adams2008-11-011-2/+4
|
* 25651: make getpermtext() output indentation more logicalPeter Stephenson2008-09-111-1/+1
|
* 25247 with further modifications: add $funcsourcetracePeter Stephenson2008-08-111-0/+1
|
* 24048: fix home directory expansion with NIS on SolarisOliver Kiddle2007-11-011-1/+2
|
* 23665: autoloading of module features and related tweaksPeter Stephenson2007-07-061-7/+7
|
* 23152: make ztrcmp() respect MULTIBYTEPeter Stephenson2007-02-061-40/+41
| | | | make sorting of printed hash tables more consistent
* Changed some structures to avoid gcc's type-punned warnings.Wayne Davison2006-03-071-85/+85
|
* 22284: add --disable-dynamic-nss configure switch to disable use of ↵Clint Adams2006-02-191-1/+1
| | | | getpw*(), getgr*(), initgroups() functions.
* Got rid of some unsigned-char/char pointer casts.Wayne Davison2005-11-151-1/+1
|
* fix autoloaded trap bug; rejig use of trapfuncsPeter Stephenson2005-02-061-3/+1
| | | | (now traplists); improve trap tests
* Marked unused parameters with the new UNUSED() macro.Wayne Davison2004-06-021-8/+8
|
* Supply all initializers for the final struct reswd element.Wayne Davison2004-05-281-1/+1
|
* 19767, 19785: store flags for -z and -k options to autoload allowing theOliver Kiddle2004-04-201-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.1Oliver Kiddle2004-03-111-1/+1
|
* a la 19209: zcalloc -> zshcallocPeter Stephenson2003-10-291-7/+7
|
* 19020: fix printaliasnodePeter Stephenson2003-09-031-2/+2
|
* 19014: add alias -s suf=handlerPeter Stephenson2003-09-031-22/+52
|
* 17582: Improved option argument handling.Peter Stephenson2002-08-271-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 commentsOliver Kiddle2002-08-051-1/+1
|
* 15253 : hash foo together with foo.exe on CygwinAndrey Borzenkov2001-07-051-4/+4
|
* The function addhistnode() is no longer called for a HIST_TMPSTOREWayne Davison2001-05-191-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 withWayne Davison2001-05-151-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 Wischnowsky2001-01-161-0/+3
| | | | signal handlers are only executed when it is safe to run them (13365)
* Add -L option to the hash builtinOliver Kiddle2000-05-151-0/+14
|
* 11029: Some missing bits of merging 11015 with 11026.Bart Schaefer2000-04-301-2/+2
|
* 11026: fix for unfunction of trap with localtraps bugPeter Stephenson2000-04-301-1/+2
|
* 11015: `unfunction TRAPxxx' now works with localtraps in effect. I'm notBart Schaefer2000-04-291-8/+7
| | | | | very happy with having to play with `noerrs' but I don't see any other way to silence the warning from bin_unhash().
* fix field name for HAVE_NIS_PLUS (10726)Sven Wischnowsky2000-04-131-1/+1
|
* Updated from list as far as 10376Peter Stephenson2000-04-011-139/+367
|
* Initial revisionTanaka Akira1999-04-151-0/+1285