1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-13 11:21:13 +02:00
Commit graph

621 commits

Author SHA1 Message Date
Oliver Kiddle
bad8af1808 52271: use correct form for unused parameter 2023-11-08 02:32:23 +01:00
Oliver Kiddle
de635b4ee5 52253: support pcre callouts with shell evaluation of the callout string 2023-11-02 14:54:59 +01:00
Oliver Kiddle
9f57ca4ac8 52252: Coverity defect 1547827 2023-11-01 00:34:29 +01:00
Bart Schaefer
98a6892cb1 52244: Fix a batch of minor defects reported by Coverity.
Coverity defects 1547831, 1547826 (remove unused function), 1521551,
1500752, 1500747, 1401549, 1372423, 1270645, 1255799, 1255792, 1255789,
1255787, 1255782, 1255750
2023-10-26 08:27:18 -07:00
Oliver Kiddle
4878c2b130 52216: metafy usernames to allow for them to be UTF-8 encoded 2023-10-11 00:50:18 +02:00
Bart Schaefer
355cfc1b95 52153: mapfile without HAVE_MMAP should not trim newlines 2023-09-16 13:08:59 -07:00
Bart Schaefer
e3c2af216b 52115: permit repeated "private" declarations as long as types aren't changed 2023-09-05 18:04:09 -07:00
Bart Schaefer
9ff1b2810e users/29220: fix bug with assignment to private following explicit unset 2023-09-03 11:42:00 -07:00
Jun-ichi Takimoto
a84fdd7c8f 51889: fix module loading problem with full RELRO
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-26 17:13:04 +09:00
Jun-ichi Takimoto
10bdbd8b5b 51877: do not build pcre module if pcre2-config is not found 2023-06-20 18:14:27 +09:00
Peter Stephenson
a95198e268 51722: Safety for extracting elements of $historywords 2023-05-13 21:49:07 +01:00
Oliver Kiddle
b4d1c756f5 51738: support pcre's alternative DFA matching algorithm 2023-05-13 00:59:00 +02:00
Oliver Kiddle
f3f371deb3 51728: assign pcre named capture groups to a hash 2023-05-13 00:56:48 +02:00
Oliver Kiddle
b62e911341 51723: migrate pcre module to pcre2 2023-05-13 00:53:32 +02:00
Bart Schaefer
25dceb1dea 51557: Clarify availability of ksh-mode parameters, improve vi-mode detection. 2023-03-11 13:20:21 -08:00
Bart Schaefer
ac1bf482ba 51524: dependency on zsh/zle for linkage 2023-03-06 14:54:28 -08:00
Bart Schaefer
ea0bd72dd8 51485: module for several ksh93 features, mostly enabled only in ksh emulation. 2023-03-05 14:16:31 -08:00
Bart Schaefer
806d096b0e unposted: fix memory leak flagged by coverity 2023-03-05 13:26:57 -08:00
Bart Schaefer
03887bb03f 51430: Misc. problems with typeset and $parameters
* 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-13 18:20:11 -08:00
Bart Schaefer
3e55a135c1 51374: Expose named references in $parameters, fix substitution error. 2023-02-12 11:29:10 -08:00
Bart Schaefer
511e020c68 51360: Initial implementation of named references. 2023-02-12 11:21:23 -08:00
Oliver Kiddle
667ead3a64 51258, 51272: refactor handling of terminal attributes, removing OFF flags in zattr 2023-01-10 20:53:17 +01:00
Oliver Kiddle
a73c705b0c 51212: remove STOUC() macro
This served as a workaround for ancient compilers where casts to
unsigned char were broken.
2022-12-16 23:28:10 +01:00
Jun-ichi Takimoto
1b421e4978 50658 + test: Enable to switch between C/UTF-8 locales in PCRE 2022-09-26 10:52:50 +09:00
Bart Schaefer
f7441b4645 50368: adjust ztie'd bitflags so local variables cannot mess with database 2022-06-21 17:58:57 -07:00
Bart Schaefer
61f35bb626 50355: documentation and return status consistency in zsh/system module 2022-06-11 15:02:46 -07:00
Bart Schaefer
285b6c2538 50363: avoid use of heap memory that depends on parameter scoping 2022-06-09 15:10:43 -07:00
Bart Schaefer
276020522e 50150: Filenames need unmetafy for printing 2022-04-30 11:24:21 -07:00
Bart Schaefer
007c7df74a 50101: sysread -o with param adjusted to match documentation 2022-04-28 17:08:10 -07:00
Matthew Martin
95749e9e65 49933: Add nonblock to sysopen 2022-03-31 17:40:41 -05:00
Peter Stephenson
6a8aa2aa5a 49783: Consistently use old job table in parameter module 2022-03-01 17:27:42 +00:00
Daniel Shahaf
45182eb4d4 unposted: Fix some typos and markup. 2022-02-22 13:11:02 +00:00
Oliver Kiddle
91b7baf259 49646: allow colors in WATCHFMT with %F/%K 2021-12-13 21:06:57 +01:00
Jun-ichi Takimoto
a361b88717 49563: fix build problem of watch module on Cygwin 2021-11-15 10:00:12 +09:00
Oliver Kiddle
dfb7ac94bb 49561: add zformat -F option, similar to -f but ternary expressions check for existence instead of doing math evaluation 2021-11-12 20:33:52 +01:00
Oliver Kiddle
631576de0f 49544: only tie watch/WATCH if both come from the module 2021-11-07 12:55:27 +01:00
Oliver Kiddle
271cfc685b 49534, 49539: separate watch/log functionality out into a module 2021-11-02 21:41:53 +01:00
Bart Schaefer
fa4c88ca25 49456: clean up detection of private params in nested scopes, update doc 2021-10-04 09:02:27 -07:00
Jun-ichi Takimoto
dd51ffa5b4 49422: improve support of --disable-dynamic-nss
see also 49392 (Vincent) and 49412 (Axel)
2021-09-22 13:36:57 +09:00
Jun-ichi Takimoto
2b81d4be32 unposted: add/remove UNUSED() for some function parameters 2021-09-08 11:58:29 +09:00
Bart Schaefer
7000b04e76 49196: gdbm keys not present in the database appear unset in tied hashes 2021-09-06 13:27:01 -07:00
Peter Stephenson
4a9437317f 49297 (quoting amended): error message in files module.
If ENONENT it could be the other argument that doesn't exist, so check.
2021-08-24 19:21:53 +01:00
Peter Stephenson
283d2f3c27 48432 and enable test: fix quotiing of zstyle -L for zstyle -e 2021-04-09 21:01:37 +01:00
Felipe Contreras
df48cc8404 47785: remove deprecated autoconf functions
STDC_HEADERS and TIME_WITH_SYS_TIME are deprecated.
2021-04-09 21:45:11 +02:00
Joshua Krusell
3d6e5b6231 47905: Add leading '-' to zparseopts option parsing errors 2021-02-13 00:54:59 +01:00
Joshua Krusell
9120d1e841 47899: Improve error message from zparseopts. 2021-02-03 11:33:47 +00:00
Peiyuan Song
bf8ca5f019 47840: make zpty module work on Cygwin 2021-01-20 13:33:52 +09:00
Bart Schaefer
3499a676fa 47704: fix scope for "private -p" 2020-12-02 20:14:45 -08:00
Mikael Magnusson
8773f01f2b 47494, 47495: Add -n option to strftime 2020-10-25 23:06:02 +01:00
Roman Perepelitsa
ead29c2a36 Fix a race condition in zf_mkdir -p
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-10-23 11:42:30 +02:00