1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-09-26 22:10:45 +02:00
Commit Graph

56 Commits

Author SHA1 Message Date
Martijn Dekker
c578f0a08b 45004: Fix typos in comments 2019-12-11 02:37:39 +00:00
Kamil Dudka
e27175c7c8 43789: possible use after free clearing up math func from module 2018-11-09 11:04:06 +00:00
Phil Pennock
b5f40f4156 41527 (tweaked for heap memory): fix [[ -<cond> ]] from modules 2017-08-11 15:02:06 +01:00
Peter Stephenson
d5c22d356b 41244: Add zmodload -s option.
Doesn't complain if module is unavailable, but prints more
obscure errors.

Use existing low-level silent flag by passing through
intermediate module loading hierarchy.
2017-06-12 10:10:23 +01:00
Peter Stephenson
4ab3fcc90d 39545: Add some missing unqueue_signals().
All of these are added simply to fit existing logic in other branches.
2016-10-03 13:43:20 +01:00
Peter Stephenson
c47c35cacc 39218: Fix module feature enables with math functions.
If they were present parameters were miscounted.
2016-09-07 11:50:00 +01:00
Barton E. Schaefer
df7a657b10 34568: use META_HEAPDUP when passing dlerror() string to metafy() 2015-02-19 08:26:03 -08:00
Mikael Magnusson
cae0be3af6 34387: Avoid loading the main zsh binary as a module 2015-01-27 00:18:47 +01:00
Mikael Magnusson
bac2bbd058 34382: Handle NULL return from dlerror() more gracefully 2015-01-27 00:17:23 +01:00
Bart Schaefer
8fea30a571 34122: module: allow NULL third argument as intended
Found by Coverity.
2015-01-06 23:51:19 +01:00
Peter Stephenson
4163ebf4c7 unposted, see 32054: Rationalise character encoding.
Shell functions are strictly ASCII for maximum portability.

Other files within the distribution may contain UTF-8 characters.

Exception for test files: where they need single character input
with the top bit set, ISO-8859-X is used (X doesn't matter as
we don't need the Euro).
2013-11-27 15:56:44 +00:00
Peter Stephenson
7a94960957 31977: It's OK to autoload a feature that's loaded.
Simply check that the feature is from the same module that's requested.
2013-11-13 22:14:27 +00:00
Peter Stephenson
6cd43e7d70 29879: metafy dlerror message to avoid corruption 2011-10-28 10:46:23 +00:00
Peter Stephenson
bbbaed2b53 29663: add $EPOCHREALTIME to zsh/datetime 2011-08-10 11:31:18 +00:00
Peter Stephenson
e6f14352d6 28037: improved error messages for module autoloads
of math functions and builtins
2010-06-14 11:57:08 +00:00
Peter Stephenson
9169cd747f Paul Ackersviller: 26962: updated HP-UX dynamic linking 2009-05-16 12:13:00 +00:00
Clint Adams
d6c692599f 25898: avoid dereference of p after it is freed in getmathfunc. 2008-10-14 23:41:13 +00:00
Peter Stephenson
6e4adee615 users/13093: HashNode changes for AIX 2008-08-04 15:26:25 +00:00
Peter Stephenson
f7246fb559 unposted: bad argument to zmodload -F error message 2008-05-08 14:04:51 +00:00
Peter Stephenson
fbfbc7636f 24980: zmodload -mF 2008-05-08 12:07:04 +00:00
Peter Stephenson
eedfdb916a 23733: zmodload -LaF didn't include unloaded modules 2007-07-31 14:35:52 +00:00
Peter Stephenson
6ad2655802 23682: module field renaming missed from 23665 2007-07-17 07:01:55 +00:00
Peter Stephenson
1b52f47cf2 23665: autoloading of module features and related tweaks 2007-07-06 21:52:38 +00:00
Peter Stephenson
4d52b7ebe6 23670: rationalise some linked list functions 2007-06-27 13:56:10 +00:00
Peter Stephenson
4be5febd94 23606: make all module feature autoloads pass through one function 2007-06-26 19:38:34 +00:00
Peter Stephenson
0a1de76213 23578: make standard features autoloadable,
use feature notation for .mdd autoloads
2007-06-20 20:59:15 +00:00
Peter Stephenson
84fa9b4af1 23571 + unposted; AIX compilation fixes 2007-06-19 20:21:52 +00:00
Peter Stephenson
5af264a642 unposted: clean up properly on failure to add autoloadable builtin 2007-05-29 21:39:31 +00:00
Peter Stephenson
6ab77f00ff 23488: tidy up module interface and documentation 2007-05-29 17:01:07 +00:00
Peter Stephenson
29b7123647 23485: feature completion and autoloading 2007-05-29 14:16:02 +00:00
Peter Stephenson
b0c5f09169 see 23479: add initial features support for modules 2007-05-28 22:57:39 +00:00
Peter Stephenson
11bbce3a66 23232: minor tweaks to zmodload 2007-03-23 14:24:33 +00:00
Peter Stephenson
0108088f52 23152: make ztrcmp() respect MULTIBYTE
make sorting of printed hash tables more consistent
2007-02-06 21:47:54 +00:00
Peter Stephenson
4a67f24798 22544: Improve use of ztype tests for multibyte characters. Add
POSIX_IDENTIFIERS option to control allowability of multibyte
alphanumeric characters in parameter and module names.
2006-07-10 13:08:22 +00:00
Peter Stephenson
dd5602f59b 22474: use variable argument lists to improve error message handling 2006-05-30 22:35:03 +00:00
Peter Stephenson
b7474e065b 22416, tweaked: math functions via shell functions
unposted: add styles to pick-web-browser
2006-04-19 16:09:06 +00:00
Wayne Davison
4cb83571c4 Changed some structures to avoid gcc's type-punned warnings. 2006-03-07 21:30:36 +00:00
Peter Stephenson
c73dd46019 Fixes from Thorsten Dahlheimer.
21578: mkmakemod.sh didn't exit on cleanup.
21582: fix failure status of zmodload -R.
21583: fix circularity test of zmodload -A.
2005-08-09 10:02:08 +00:00
Peter Stephenson
e3c5dd2dd9 21498: Add zsh/newuser module 2005-07-20 16:08:12 +00:00
Peter Stephenson
77166e259e 20695: Fix Cygwin problem with initialising from pointer to imported variable 2005-01-12 12:18:58 +00:00
Peter Stephenson
69b4b8bdde 20605: Use separate structure with get/set/unset methods fro parameters.
Separate justification width of parameters from base/precision.
2004-12-07 16:54:58 +00:00
Wayne Davison
fb0937a69e Marked unused parameters with the new UNUSED() macro. 2004-06-02 22:14:25 +00:00
Peter Stephenson
2f8a646d4e 19655, 19656, 19657: Memory leaks spotted by valgrind.
Also bug with multiple math function autoloads.
2004-03-18 12:23:31 +00:00
Oliver Kiddle
479134a135 19596: include dlfcn.h instead of dl.h on HP/UX 11 2004-03-11 14:27:10 +00:00
Peter Stephenson
815bc92148 a la 19209: zcalloc -> zshcalloc 2003-10-29 19:17:30 +00:00
Peter Stephenson
9634760d5e 17582: Improved option argument handling.
unposted: Updated version to 4.1.0-dev-6 because of interface change.
2002-08-27 21:10:30 +00:00
Oliver Kiddle
af0697b705 17503: fix various typos and spelling mistakes in source code comments 2002-08-05 12:35:59 +00:00
Peter Stephenson
4544933427 fix zmodload -uf for not-yet-loaded function 2001-05-18 15:23:08 +00:00
Sven Wischnowsky
757168e2c8 remove 13108 (trap queues); replace with signal queueing to ensure that user signal handlers are only executed when it is safe to run them (13365) 2001-01-16 13:44:18 +00:00
Bart Schaefer
934dd1c694 12652: Variable scoping problem. 2000-08-15 16:53:08 +00:00