1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-04 20:40:57 +02:00
Commit graph

2298 commits

Author SHA1 Message Date
Peter Stephenson
72f0b14a04 27188: improve read -q by using read -k code 2009-07-24 18:35:49 +00:00
Peter Stephenson
2c81423516 27181: extend POSIX_CD to handle target directory printing behaviour 2009-07-21 09:34:08 +00:00
Bart Schaefer
bda90c969f 27159: restore pre-23067 behavior of SIGINT outside a "wait", so that
foreground jobs that handle or ignore interrupts are not orphaned.
2009-07-20 04:38:56 +00:00
Peter Stephenson
606cfb5a5e 27167: add POSIX_CD option to test "." after CDPATH 2009-07-19 19:07:14 +00:00
Peter Stephenson
f43022eec0 users/14240: assignment before a function definition is an error 2009-07-17 20:32:33 +00:00
Peter Stephenson
351f6541e9 Eric Blake: 27151: cd handling with initial // for Cygwin 2009-07-15 08:43:25 +00:00
Peter Stephenson
3257f6b8d5 27134: Close SHTTY on exec.
27135: POSIX_JOBS leaves MONITOR on in subshell and doesn't save
parent job table.
2009-07-12 15:09:56 +00:00
Peter Stephenson
653d6a0dd9 27131: allow MONITOR in subshell by not closing SHTTY 2009-07-11 19:06:51 +00:00
Peter Stephenson
bdfebe3e32 27129: fix status at start of function, command subst, etc. 2009-07-11 16:42:53 +00:00
Peter Stephenson
4db28c55b6 27126: a few more contexts where executing empty lists gives status zero 2009-07-10 22:10:25 +00:00
Peter Stephenson
b4c2ea2cec 27125: handle nested use of colour code buffer allocation 2009-07-10 21:32:44 +00:00
Peter Stephenson
73be7ee553 27106: reset status on command that expands to empty
27122: add POSIX_JOBS option
2009-07-10 11:08:39 +00:00
Peter Stephenson
bd2ee44b78 27119: job output to stdout if non-interactive
no automated jobs notifications
2009-07-10 09:10:59 +00:00
Peter Stephenson
5df700fb5b 27112: allow jobbing output if not interactive 2009-07-09 20:33:56 +00:00
Peter Stephenson
ce4137c858 Eric Blake: 27109: don't attachtty() if not interactive 2009-07-09 20:20:53 +00:00
Peter Stephenson
2d628b0bce Eric Blake: 27109: don't attachtty() if not interactive 2009-07-09 20:20:30 +00:00
Peter Stephenson
aabd747d4f Eric Blake: 27109: don't attachtty() if not interactive 2009-07-09 19:50:58 +00:00
Peter Stephenson
aa563b1a3f 27110: Only turn on MONITOR if set explicitly or INTERACTIVE 2009-07-09 19:42:20 +00:00
Peter Stephenson
b31ca21b46 27100: Allow MONITOR option in non-interactive shells for testing. 2009-07-08 17:06:02 +00:00
Peter Stephenson
c6a3ccc8d7 27092: missing then-clause for if wasn't an error 2009-07-06 20:44:28 +00:00
Peter Stephenson
5c5a388ed7 27087: change return codes from failed "." 2009-07-02 13:46:36 +00:00
Peter Stephenson
55e4beb8d8 27085: add accept-search handling to scrollist keymap 2009-07-01 17:09:37 +00:00
Peter Stephenson
041057687f 27083: non-zero status on failures to find or execute file in "." 2009-07-01 15:07:25 +00:00
Peter Stephenson
88d07936a2 27080: it wasnt possible to exit menu selection cleanly 2009-07-01 13:41:18 +00:00
Peter Stephenson
10787467bc 27079: save lexical context in test builtin 2009-07-01 09:07:07 +00:00
Peter Stephenson
506c845b25 Greg Klanderman: 27057: %e and %f time formats were swapped 2009-06-26 21:10:04 +00:00
Peter Stephenson
72529e4fa6 27304: add ${(q-)..} flag 2009-06-05 11:15:48 +00:00
Clint Adams
bd35231e70 27025: define _GNU_SOURCE on the Hurd. 2009-05-30 17:55:50 +00:00
Peter Stephenson
71865fd36d 27021: fix length of saved glob flags in pattern matching 2009-05-29 21:06:40 +00:00
Peter Stephenson
0f4c321380 26975: compilation issues in bin_print() 2009-05-20 09:53:13 +00:00
Peter Stephenson
feb29659f1 users/14143 plus tweak in padding code:
use default IFS if IFS is unset
2009-05-20 09:04:39 +00:00
Peter Stephenson
1134e72a7a Greg Klanderman: 26972: fix problem ni 26964. 2009-05-19 08:41:16 +00:00
Peter Stephenson
a4106e0523 Greg Klanderman: 26964 (modified): PROMPT_EOL_MARK 2009-05-17 18:23:09 +00:00
Peter Stephenson
9169cd747f Paul Ackersviller: 26962: updated HP-UX dynamic linking 2009-05-16 12:13:00 +00:00
Peter Stephenson
feb2df4b63 26958: Fix reallocation problem in prompts 2009-05-12 19:58:04 +00:00
Peter Stephenson
d1abd3e7cf 26957: Fix some memory problems with read builtin
unposted: fix a WARN_CREATE_GLOBAL warning
2009-05-12 11:11:14 +00:00
Peter Stephenson
c18b6c2c99 26956: tidy up some zle variables for module unloading
note issue found on HP-UX
2009-05-11 09:03:25 +00:00
Peter Stephenson
ff0b4ebdd5 26950: warn on failed attempt to change user or group ID
26593: print warning but dont fail test if simple Unicode conversion fails
2009-05-08 14:30:31 +00:00
Peter Stephenson
6195160598 26984: ensure zle window sizes are reset with video data 2009-05-08 08:37:31 +00:00
Peter Stephenson
a6ff95d0c1 26954: read should pass through invalid multibyte characters 2009-05-07 16:04:21 +00:00
Peter Stephenson
e61af474c1 26876 with updated documentation: add ZLE_{REMOVE,SPACE}_SUFFIX_CHARS 2009-04-24 09:00:29 +00:00
Peter Stephenson
8f0af2115e 26852: make terminfo.mdd test agree with one in terminfo.c 2009-04-20 17:05:32 +00:00
Peter Stephenson
9b7d3a6e46 users/14041: bind : by default to execute-named-cmd in vicmd mode 2009-04-17 15:23:08 +00:00
Peter Stephenson
b148a56869 26806 (doc tweaked): Add CORRECT_IGNORE variable 2009-04-06 09:06:35 +00:00
Peter Stephenson
418671fdb0 Jon Strait: 26778, 26781: extra options for PCRE matching 2009-03-25 11:29:11 +00:00
Peter Stephenson
aa3942d2d1 Michael Hwang: 26776: improved column alignment with print -c -P 2009-03-25 09:51:43 +00:00
Peter Stephenson
89d979e1bc 26774: cd to $HOME on failure in preference to / 2009-03-24 16:13:12 +00:00
Peter Stephenson
9defc9850d 26772: better error handling and fix runaway chdir on failed cd 2009-03-24 12:52:07 +00:00
Peter Stephenson
ee71aa006e 26769: fix finger trouble in 26767 2009-03-24 12:14:19 +00:00
Peter Stephenson
3e1e46e9d2 26748: c modifier to add command path 2009-03-23 12:17:32 +00:00
Peter Stephenson
4b2ad07d39 26767: fix file descriptor leak in 26763 2009-03-23 10:58:56 +00:00
Peter Stephenson
28a809886d 26763: fix problem on failed cd -s to relative path 2009-03-20 22:52:56 +00:00
Peter Stephenson
249148d765 tidy up from 26625 2009-03-20 20:52:13 +00:00
Peter Stephenson
06e22c9370 Bart: 26761: typo in realpath() check 2009-03-20 10:36:06 +00:00
Peter Stephenson
9cc93fe728 Mikael: 26759: missing here-document terminator 2009-03-19 16:56:05 +00:00
Peter Stephenson
cb6856d115 26754: tweak zgetdir() and test for realpath() 2009-03-19 15:00:18 +00:00
Peter Stephenson
9e1a3e6d06 26752: fix ../ removal and metafication in :a and :A modifers 2009-03-18 19:38:38 +00:00
Bart Schaefer
14e7096982 users/13937, users/13939: configure.ac, Src/jobs.c: check for
and if available use setproctitle() for "jobs -Z".
2009-03-16 05:20:36 +00:00
Peter Stephenson
7733ade831 Michael Hwang: 26731 with cosmetic changes: add "a" and "A" modifiers
26736: document the above
2009-03-15 01:17:05 +00:00
Wayne Davison
bf25c3a43f 26735: Check some function return values for failures. Gets rid of
some compiler warnings, and improves error handling/notification.
2009-03-15 01:04:50 +00:00
Peter Stephenson
f0bcd0ecd0 users/13910: spawnjob() should output to tty 2009-03-14 20:30:09 +00:00
Peter Stephenson
ea29159571 users/13902: make isearch return status useful
add LASTABORTEDSEARCH variable
2009-03-13 10:04:21 +00:00
Peter Stephenson
b7f4c91597 users/13903 fix vi search prompt and repeat 2009-03-13 09:58:14 +00:00
Peter Stephenson
7c302e129f print message if we give up trying to crate a lock file with hard links 2009-03-10 14:23:15 +00:00
Peter Stephenson
e391f09457 26705: multibyte characters with Meta in ${(%)foo} etc. 2009-03-10 11:12:02 +00:00
Peter Stephenson
6f3f3c6a01 26072: lexsave()/lexrestore() to fix bug with sourcing from "funny" places 2009-03-09 15:57:57 +00:00
Peter Stephenson
6594c0375b 26697: test for Linux- and Mac-style xattr functions 2009-03-08 20:20:47 +00:00
Peter Stephenson
d60f73f708 26686: problem storing long $_ using VARARR() 2009-03-03 22:11:37 +00:00
Peter Stephenson
8fce24dc4f fix the cap.c patch 2009-03-03 20:44:34 +00:00
Peter Stephenson
93dd3e0540 26680: still more metafy() stuff in cap 2009-03-03 18:12:44 +00:00
Peter Stephenson
731646656c 26677: cap module needs some unmetafy() calls 2009-03-03 17:46:50 +00:00
Peter Stephenson
8e25f4449f 26675: add POSIX_ALIASES option 2009-03-03 17:26:03 +00:00
Peter Stephenson
919f7b12ad 26671: various minor attribute tidy ups 2009-03-03 16:40:34 +00:00
Peter Stephenson
d58e5061ad Mikael Magnusson: 26670: add zsh/attr module 2009-03-03 15:04:15 +00:00
Bart Schaefer
daa22bc46b 26665: Src/utils.c: fix one incorrect test in 26614. 2009-03-03 05:22:57 +00:00
Peter Stephenson
4dbe63360d Lionel Flandrin: 26625: inopportune interrupt wrecked terminal set up 2009-03-02 10:21:37 +00:00
Peter Stephenson
535afe3b2a 26614 + 26615: history -t <fmt> plus ztrftime "-" format modifier 2009-03-02 10:11:45 +00:00
Peter Stephenson
a85db68271 26622: improve comments within $(...) and add test 2009-02-27 10:23:58 +00:00
Peter Stephenson
3d63a33407 26617 c.f. Tomáš Smetana, 26610: comments weren't handled in $(...) 2009-02-26 23:01:48 +00:00
Peter Stephenson
3b88638729 26602: history substitution buffer could overflow with no test 2009-02-25 10:30:14 +00:00
Peter Stephenson
10182c766b c.f. 26586: rename yylex to zshlex and yytext to zshlextext 2009-02-25 10:23:58 +00:00
Peter Stephenson
84864d5780 26588: don't expand aliases in run-help 2009-02-20 21:49:56 +00:00
Peter Stephenson
1270a9d8ee 26584: use bind/netdb.h where appropriate 2009-02-20 10:17:43 +00:00
Peter Stephenson
64d011185a 26583: use HOOK_FUNCTIONS more widely 2009-02-19 10:12:37 +00:00
Peter Stephenson
58fa37fd1b unposted: .cvsignore patchlevel.h 2009-02-18 17:11:16 +00:00
Peter Stephenson
4ae72f2255 Danek Duvall: 26571: Additions for Solaris 2009-02-14 18:11:44 +00:00
Peter Stephenson
c7d8b0dfb8 26546, 26556: sticky emulation for functions defined in emulate ... -c ...
environments, plus documentation
2009-02-11 20:42:15 +00:00
Peter Stephenson
e92801a2c0 26466: suffix in certain matcher modes mishandled pattern 2009-01-29 11:08:04 +00:00
Peter Stephenson
af39a5ab1a 26463: Greg Klanderman: add zle-line-finish widget
26464: Greg Klanderman: fix insert-ids=single for menu completion
26465: Greg Klanderman: command keymap for execution
2009-01-28 09:31:53 +00:00
Peter Stephenson
7c43fb69bf 26448: add glob sort operators oe and o+ 2009-01-27 09:55:22 +00:00
Andrey Borzenkov
665b7d1f93 26425: allow "emulate sh -c command" to eval command under sh emulation 2009-01-25 18:19:28 +00:00
Peter Stephenson
52bb631ccb 26373: initialise variable in menu completion in attempt to prevent crash 2009-01-20 10:42:08 +00:00
Peter Stephenson
46cdeb71b7 26366: add "isearch" keymap and "accept-search" functino 2009-01-19 17:57:43 +00:00
Wayne Davison
e2b9d8d181 26362: avoid calling regfree() on uninitialized regex_t. 2009-01-19 08:26:21 +00:00
Wayne Davison
36375b5911 Fixed a few compiler warnings. 2009-01-19 08:00:15 +00:00
Peter Stephenson
fe3fb64472 26315: define ZSH_PATCHLEVEL to "unknown" if not found 2009-01-15 19:47:20 +00:00
Peter Stephenson
45bee14fec 26313: --enable-custom-patchlevel
unposted: WARN_CREATE_GLOBAL in tcp_log
2009-01-15 14:49:50 +00:00
Peter Stephenson
7e5d340abe 26393: turn off text attributes in refresh when deleting text 2009-01-13 16:05:46 +00:00
Peter Stephenson
0cf040f4bf Back off 26270 (accept-and-menu-complete).
Was causing memory corruption
2009-01-13 12:19:53 +00:00
Peter Stephenson
e7c9e03c58 26301: make zpty -r exit more cleanly on bad reads
add option -m to make zpty -r return status 1 if pattern failed to match
use this option in comptest
2009-01-13 12:09:26 +00:00
Peter Stephenson
e763f79b3f 26300: dont use "echo -n" for $ZSH_PATCHLEVEL 2009-01-13 10:13:02 +00:00
Andrey Borzenkov
1a43616975 26270: allow accept-and-menu-complete work with _vallues as well 2009-01-09 20:54:35 +00:00
Peter Stephenson
369a03d09f unposted: fix error using dollar Revision dollar 2009-01-09 20:31:23 +00:00
Peter Stephenson
18143c3226 262727: add $ZSH_PATCHLEVEL from ChangeLog revision 2009-01-09 20:28:30 +00:00
Peter Stephenson
d69bd194b9 26260: fix crash failing to assigns scalar to special hash 2009-01-08 13:12:06 +00:00
Peter Stephenson
d388995eed 26249: remove arbitrary string length limit in unmeta() 2009-01-05 21:56:53 +00:00
Andrey Borzenkov
ead23b1898 26247: fix compilation with -Werror=format-security 2009-01-05 11:14:53 +00:00
Peter Stephenson
851663282a Greg Klanderman: 26159: fix appending of kills 2009-01-03 18:12:15 +00:00
Peter Stephenson
02f05d7462 26110: option to allow vared to open to an alternative terminal 2008-12-09 17:37:01 +00:00
Peter Stephenson
9503eaee5a 26116: didn't get updated properly for combining characters 2008-12-07 18:45:30 +00:00
Peter Stephenson
94b39fe195 26095: compilation error if TIOCGWINSZ not defined 2008-11-27 17:05:42 +00:00
Peter Stephenson
fed941ce24 26091: crash at end of history line if history not in use 2008-11-25 18:39:04 +00:00
Peter Stephenson
1e9b85e586 François Revol: some BeOS fixes 2008-11-18 10:14:35 +00:00
Peter Stephenson
14231691e1 26061: fix clash between process subst and numeric glob
26062: additional compmatch change, missed from 26047
2008-11-18 10:07:31 +00:00
Peter Stephenson
0d0e497c69 26056 "< <(...)more_stuff" etc. are errors 2008-11-17 16:56:41 +00:00
Peter Stephenson
2fbc131ca8 26055: ensure process substitution is handled before parameter and command 2008-11-17 16:11:29 +00:00
Peter Stephenson
85c513894d 26047: convert lower levels of completion matching to use
multibyte strings and wide characters
2008-11-15 21:27:45 +00:00
Peter Stephenson
35a8612f21 26042 with some fixes from 26043 (Mikael):
allow <(...) and >(...) to occur in the middle of strings
and =(...) to have extra text following
2008-11-13 21:18:14 +00:00
Oliver Kiddle
dcd26714bb 26030: fix memory leak in vared 2008-11-12 12:59:07 +00:00
Oliver Kiddle
61e9152b11 26028: close temporary file when aborting fc 2008-11-12 12:57:25 +00:00
Oliver Kiddle
085419f95d 26024: don't leave ref count incremented when aborting bindkey with an error 2008-11-11 22:40:16 +00:00
Clint Adams
4b39a04c14 26027: free pprogc before it goes out of scope in makecomplistflags. 2008-11-11 19:36:34 +00:00
Peter Stephenson
a1958f3c41 26025: prefer handling user input to zle -F file descriptor 2008-11-11 18:25:44 +00:00
Clint Adams
29852fe214 unposted: revert 26014. 2008-11-08 06:31:01 +00:00
Clint Adams
3fc22d6eab 26014: don't allocate and leak a patprog if it's not going to be used. 2008-11-06 02:59:42 +00:00
Clint Adams
cbc24017fe 26013: don't ztrdup the other buffer returned by inet_ntoa. cf. 25987. 2008-11-06 01:35:12 +00:00
Peter Stephenson
60b410fd7c "typeset -g <var>" should be silent even without TYPESET_SILENT 2008-11-05 13:01:56 +00:00
Peter Stephenson
d41c6098b4 25989: fix crash in matching 2008-11-02 17:36:26 +00:00
Clint Adams
1b78e1a912 25987: don't ztrdup the buffer returned by inet_ntoa. 2008-11-01 18:20:14 +00:00
Clint Adams
484644676a 25985: don't try to disable signal traps if getsignum returns -1. 2008-11-01 01:19:35 +00:00
Oliver Kiddle
a9a516d219 25983: Fix bug in hash builtin with empty hash entry name 2008-10-31 23:43:36 +00:00
Peter Stephenson
7ce5beb5be 25975: bad tests for pattern match when building up a completion line string 2008-10-30 22:04:03 +00:00
Peter Stephenson
b9500900b1 25972: leaked and uninitialised memory found by valgrind 2008-10-30 20:29:55 +00:00
Peter Stephenson
135211b00b 25971: fix options handling for builtins that handle their own 2008-10-30 19:52:44 +00:00
Peter Stephenson
25833cc89e 25969: two bugs with metafication plus a test for one 2008-10-30 15:34:18 +00:00
Peter Stephenson
176e0dc821 25963: Interrupt at spell check prompt output garbage 2008-10-30 14:04:30 +00:00
Peter Stephenson
db68b7270f users/13418: protect against have_strcodes lying 2008-10-30 09:52:15 +00:00
Clint Adams
787c86f68d 25949: remove dead code in getvisrchstr. 2008-10-30 01:47:32 +00:00
Clint Adams
031dd01cf2 25940: delay !multi memory allocation until after possibility to error out and return without freeing. 2008-10-29 01:33:23 +00:00
Peter Stephenson
36d228b129 25937: builtins with no options should still ignore -- 2008-10-28 20:55:22 +00:00
Peter Stephenson
337530b4d6 25930: dynamic directory expansion memory handling was screwy 2008-10-24 10:27:25 +00:00
Peter Stephenson
b0e0d901b2 users/13375: trivial rewrite to ternary expression 2008-10-23 08:52:02 +00:00
Clint Adams
365e04460d 25926: free val only after it may be passed to strlen (as in 25656). 2008-10-23 00:48:59 +00:00
Peter Stephenson
7f470ebcb0 25912: fix another metafication bug in completion
and remove lies about matchers
2008-10-18 19:16:24 +00:00
Clint Adams
802cdd4f5e 25910: avoid dangling file handle in bin_print. 2008-10-18 14:13:15 +00:00
Peter Stephenson
3c248a0de4 25905: fix and test doubled-hash radix output 2008-10-16 09:34:51 +00:00
Clint Adams
d6c692599f 25898: avoid dereference of p after it is freed in getmathfunc. 2008-10-14 23:41:13 +00:00
Clint Adams
4622e326bd 25897: remove small bit of dead code in cfp_opt_pats. 2008-10-14 22:09:11 +00:00
Clint Adams
b26cb5f98a 25896: remove small bit of dead code in execbuiltin. 2008-10-14 21:47:52 +00:00
Clint Adams
430e54ddc4 25860: avoid possible NULL dereferencing in bld_parts. 2008-10-12 19:28:10 +00:00