Commit Graph

60 Commits (master)

Author SHA1 Message Date
Jörg Sommer 4929910267 52444: module: Mark name argument of some functions const 4 months ago
Bart Schaefer ec4bd3169d 51460: avoid crash on bad parameter autofeature 1 year ago
Oliver Kiddle a73c705b0c 51212: remove STOUC() macro
This served as a workaround for ancient compilers where casts to
unsigned char were broken.
1 year ago
Oliver Kiddle ba225155e4 49612: avoid startup error with clashing non-local module parameter name 3 years ago
Martijn Dekker c578f0a08b 45004: Fix typos in comments 5 years ago
Kamil Dudka e27175c7c8 43789: possible use after free clearing up math func from module 6 years ago
Phil Pennock b5f40f4156 41527 (tweaked for heap memory): fix [[ -<cond> ]] from modules 7 years ago
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.
7 years ago
Peter Stephenson 4ab3fcc90d 39545: Add some missing unqueue_signals().
All of these are added simply to fit existing logic in other branches.
8 years ago
Peter Stephenson c47c35cacc 39218: Fix module feature enables with math functions.
If they were present parameters were miscounted.
8 years ago
Barton E. Schaefer df7a657b10 34568: use META_HEAPDUP when passing dlerror() string to metafy() 9 years ago
Mikael Magnusson cae0be3af6 34387: Avoid loading the main zsh binary as a module 9 years ago
Mikael Magnusson bac2bbd058 34382: Handle NULL return from dlerror() more gracefully 9 years ago
Bart Schaefer 8fea30a571 34122: module: allow NULL third argument as intended
Found by Coverity.
10 years ago
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).
11 years ago
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.
11 years ago
Peter Stephenson 6cd43e7d70 29879: metafy dlerror message to avoid corruption 13 years ago
Peter Stephenson bbbaed2b53 29663: add $EPOCHREALTIME to zsh/datetime 13 years ago
Peter Stephenson e6f14352d6 28037: improved error messages for module autoloads
of math functions and builtins
14 years ago
Peter Stephenson 9169cd747f Paul Ackersviller: 26962: updated HP-UX dynamic linking 15 years ago
Clint Adams d6c692599f 25898: avoid dereference of p after it is freed in getmathfunc. 16 years ago
Peter Stephenson 6e4adee615 users/13093: HashNode changes for AIX 16 years ago
Peter Stephenson f7246fb559 unposted: bad argument to zmodload -F error message 16 years ago
Peter Stephenson fbfbc7636f 24980: zmodload -mF 16 years ago
Peter Stephenson eedfdb916a 23733: zmodload -LaF didn't include unloaded modules 17 years ago
Peter Stephenson 6ad2655802 23682: module field renaming missed from 23665 17 years ago
Peter Stephenson 1b52f47cf2 23665: autoloading of module features and related tweaks 17 years ago
Peter Stephenson 4d52b7ebe6 23670: rationalise some linked list functions 17 years ago
Peter Stephenson 4be5febd94 23606: make all module feature autoloads pass through one function 17 years ago
Peter Stephenson 0a1de76213 23578: make standard features autoloadable,
use feature notation for .mdd autoloads
17 years ago
Peter Stephenson 84fa9b4af1 23571 + unposted; AIX compilation fixes 17 years ago
Peter Stephenson 5af264a642 unposted: clean up properly on failure to add autoloadable builtin 17 years ago
Peter Stephenson 6ab77f00ff 23488: tidy up module interface and documentation 17 years ago
Peter Stephenson 29b7123647 23485: feature completion and autoloading 17 years ago
Peter Stephenson b0c5f09169 see 23479: add initial features support for modules 17 years ago
Peter Stephenson 11bbce3a66 23232: minor tweaks to zmodload 17 years ago
Peter Stephenson 0108088f52 23152: make ztrcmp() respect MULTIBYTE
make sorting of printed hash tables more consistent
18 years ago
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.
18 years ago
Peter Stephenson dd5602f59b 22474: use variable argument lists to improve error message handling 18 years ago
Peter Stephenson b7474e065b 22416, tweaked: math functions via shell functions
unposted: add styles to pick-web-browser
18 years ago
Wayne Davison 4cb83571c4 Changed some structures to avoid gcc's type-punned warnings. 18 years ago
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.
19 years ago
Peter Stephenson e3c5dd2dd9 21498: Add zsh/newuser module 19 years ago
Peter Stephenson 77166e259e 20695: Fix Cygwin problem with initialising from pointer to imported variable 20 years ago
Peter Stephenson 69b4b8bdde 20605: Use separate structure with get/set/unset methods fro parameters.
Separate justification width of parameters from base/precision.
20 years ago
Wayne Davison fb0937a69e Marked unused parameters with the new UNUSED() macro. 20 years ago
Peter Stephenson 2f8a646d4e 19655, 19656, 19657: Memory leaks spotted by valgrind.
Also bug with multiple math function autoloads.
20 years ago
Oliver Kiddle 479134a135 19596: include dlfcn.h instead of dl.h on HP/UX 11 20 years ago
Peter Stephenson 815bc92148 a la 19209: zcalloc -> zshcalloc 21 years ago
Peter Stephenson 9634760d5e 17582: Improved option argument handling.
unposted: Updated version to 4.1.0-dev-6 because of interface change.
22 years ago