summaryrefslogtreecommitdiff
path: root/Src/Modules
AgeCommit message (Collapse)AuthorFilesLines
2023-10-2652244: Fix a batch of minor defects reported by Coverity.Bart Schaefer1-3/+3
Coverity defects 1547831, 1547826 (remove unused function), 1521551, 1500752, 1500747, 1401549, 1372423, 1270645, 1255799, 1255792, 1255789, 1255787, 1255782, 1255750
2023-10-1152216: metafy usernames to allow for them to be UTF-8 encodedOliver Kiddle1-8/+18
2023-09-1652153: mapfile without HAVE_MMAP should not trim newlinesBart Schaefer1-6/+4
2023-09-0552115: permit repeated "private" declarations as long as types aren't changedBart Schaefer1-3/+46
2023-09-03users/29220: fix bug with assignment to private following explicit unsetBart Schaefer1-11/+18
2023-06-2651889: fix module loading problem with full RELROJun-ichi Takimoto1-1/+1
If full RELRO (relocation read-only, one of the security enhancement methods for ELF-based systems) is used when building zsh (as in binary packages of most Linuxes), loading a module (e.g. zsh/zftp) fails unless all the modules it depends on are already loaded. With this patch the necessary modules are automatically loaded.
2023-06-2051877: do not build pcre module if pcre2-config is not foundJun-ichi Takimoto1-1/+1
2023-05-1351722: Safety for extracting elements of $historywordsPeter Stephenson1-2/+9
2023-05-1351738: support pcre's alternative DFA matching algorithmOliver Kiddle1-17/+36
2023-05-1351728: assign pcre named capture groups to a hashOliver Kiddle1-10/+33
2023-05-1351723: migrate pcre module to pcre2Oliver Kiddle1-136/+87
2023-03-1151557: Clarify availability of ksh-mode parameters, improve vi-mode detection.Bart Schaefer1-2/+3
2023-03-0651524: dependency on zsh/zle for linkageBart Schaefer1-0/+2
2023-03-0551485: module for several ksh93 features, mostly enabled only in ksh emulation.Bart Schaefer2-0/+273
2023-03-05unposted: fix memory leak flagged by coverityBart Schaefer1-0/+1
2023-02-1351430: Misc. problems with typeset and $parametersBart Schaefer1-1/+1
* Fix and test for regression of assignment when using typeset command * Fix output of typeset +m and $parameters[ref] * Prevent segfault in typeset
2023-02-1251374: Expose named references in $parameters, fix substitution error.Bart Schaefer1-3/+8
2023-02-1251360: Initial implementation of named references.Bart Schaefer2-3/+18
2023-01-1051258, 51272: refactor handling of terminal attributes, removing OFF flags ↵Oliver Kiddle1-31/+33
in zattr
2022-12-1651212: remove STOUC() macroOliver Kiddle5-22/+22
This served as a workaround for ancient compilers where casts to unsigned char were broken.
2022-09-2650658 + test: Enable to switch between C/UTF-8 locales in PCREJun-ichi Takimoto1-8/+2
2022-06-2150368: adjust ztie'd bitflags so local variables cannot mess with databaseBart Schaefer1-3/+3
2022-06-1150355: documentation and return status consistency in zsh/system moduleBart Schaefer1-2/+17
2022-06-0950363: avoid use of heap memory that depends on parameter scopingBart Schaefer1-1/+11
2022-04-3050150: Filenames need unmetafy for printingBart Schaefer1-5/+7
2022-04-2850101: sysread -o with param adjusted to match documentationBart Schaefer1-4/+0
2022-03-3149933: Add nonblock to sysopenMatthew Martin1-1/+4
2022-03-0149783: Consistently use old job table in parameter modulePeter Stephenson1-39/+57
2022-02-22unposted: Fix some typos and markup.Daniel Shahaf1-1/+1
2021-12-1349646: allow colors in WATCHFMT with %F/%KOliver Kiddle1-0/+35
2021-11-1549563: fix build problem of watch module on CygwinJun-ichi Takimoto1-2/+6
2021-11-1249561: add zformat -F option, similar to -f but ternary expressions check ↵Oliver Kiddle1-16/+32
for existence instead of doing math evaluation
2021-11-0749544: only tie watch/WATCH if both come from the moduleOliver Kiddle1-7/+11
2021-11-0249534, 49539: separate watch/log functionality out into a moduleOliver Kiddle2-0/+723
2021-10-0449456: clean up detection of private params in nested scopes, update docBart Schaefer1-5/+7
2021-09-2249422: improve support of --disable-dynamic-nssJun-ichi Takimoto1-0/+12
see also 49392 (Vincent) and 49412 (Axel)
2021-09-08unposted: add/remove UNUSED() for some function parametersJun-ichi Takimoto3-3/+3
2021-09-0649196: gdbm keys not present in the database appear unset in tied hashesBart Schaefer1-0/+2
2021-08-2449297 (quoting amended): error message in files module.Peter Stephenson1-1/+7
If ENONENT it could be the other argument that doesn't exist, so check.
2021-04-0948432 and enable test: fix quotiing of zstyle -L for zstyle -ePeter Stephenson1-1/+2
2021-04-0947785: remove deprecated autoconf functionsFelipe Contreras1-6/+0
STDC_HEADERS and TIME_WITH_SYS_TIME are deprecated.
2021-02-1347905: Add leading '-' to zparseopts option parsing errorsJoshua Krusell1-4/+4
2021-02-0347899: Improve error message from zparseopts.Joshua Krusell1-1/+4
2021-01-2047840: make zpty module work on CygwinPeiyuan Song1-0/+11
2020-12-0247704: fix scope for "private -p"Bart Schaefer1-0/+4
2020-10-2547494, 47495: Add -n option to strftimeMikael Magnusson1-2/+3
2020-10-23Fix a race condition in zf_mkdir -pRoman Perepelitsa1-9/+19
If ~/foo does not exist and `zf_mkdir -p zf_mkdir -p` is executed concurrently in multiple shells, it was possible prior to this patch for the command to fail with EEXIST.
2020-08-28github #64: Fix a build-time error when building against ncurses that hadn't ↵Daniel Shahaf1-1/+6
been built with --enable-wgetch-events. The --enable-wgetch-events codepath is experimental (according to ncurses-6.2/INSTALL) and off by default (according to ncurses-6.2/configure.in). With that codepath disabled, the macro KEY_EVENT is not provided, which (before this commit) manifested as a build-time error: [ 245s] gcc -c -I. -I../../Src -I../../Src -I../../Src/Zle -I. -DHAVE_CONFIG_H -DMODULE -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -fPIE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/ncursesw -fPIC -o curses..o curses.c [ 246s] In file included from curses.c:210: [ 246s] curses_keys.h:93:15: error: 'KEY_EVENT' undeclared here (not in a function); did you mean 'KEY_RESET'? [ 246s] 93 | {"EVENT", KEY_EVENT}, [ 246s] | ^~~~~~~~~ [ 246s] | KEY_RESET curses_keys.h is only used for setting the "kevent" output parameter of 'zcurses input' (and the associated $zcurses_keycodes special variable), so there's no harm in just leaving KEY_EVENT out of it. (That codepath deals gracefully with numeric values that don't correspond to any of the known compile-time values, as that can happen whenever the build- and run-time versions of ncurses don't provide the same set of KEY_* macros, with or without relation to that configure flag.) Reported by Martin Liska.
2020-07-1146152: zsh/system: Re-allow '0' timeout in zsystem flockCedric Ware1-3/+3
2020-05-2845923 (with memory leak fixed, cf. 45924): zprof: Don't tally all anonymous ↵Daniel Shahaf1-3/+28
functions as though they were a single function named "(anon)". Before: % zmodload zsh/zprof % () : % () : % zprof num calls time self name ----------------------------------------------------------------------------------- 1) 2 0.08 0.04 100.00% 0.08 0.04 100.00% (anon) After: % zmodload zsh/zprof % () : % () : % zprof num calls time self name ----------------------------------------------------------------------------------- 1) 1 0.04 0.04 50.45% 0.04 0.04 50.45% (anon) [:3] 2) 1 0.04 0.04 49.55% 0.04 0.04 49.55% (anon) [:2]