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

2579 commits

Author SHA1 Message Date
Peter Stephenson
93139f39f1 30000 plus some comments: Better POSIXJOBs behaviour.
Don't restore default SIGTTOU etc. behaviour if still doing job control.
Only carry on doing job control in subshell if it's a real
(...) subshell
2011-12-12 19:25:02 +00:00
Peter Stephenson
acb97e6115 29991: allow explicit "d" for days in time qualifiers 2011-12-11 17:22:59 +00:00
Peter Stephenson
e3182c18de 29955++: IGNORE_CLOSE_BRACES option 2011-12-08 19:42:07 +00:00
Oliver Kiddle
fe1dc5102a 29952: fix cut'n'paste error in nanosecond timestamp support 2011-12-07 01:31:20 +00:00
Peter Stephenson
74eed99c31 29940: metafy() added null termination even if buffer was not modifiable 2011-12-03 23:15:37 +00:00
Peter Stephenson
724fd07a67 29934: Stef van Vlierberghe: uninitialised memory after lexer realloc 2011-12-03 17:24:45 +00:00
Peter Stephenson
79dd647496 Ismail Dönmez: 29920: NO_EXEC problem with arithmetic substitution 2011-11-28 09:48:22 +00:00
Peter Stephenson
cf4e27a129 29907: Jun T.: remove declaration of unused variable 2011-11-17 12:27:18 +00:00
Bart Schaefer
7c5173ba0f users/16581: skip correction shortcut based on command table search when
the word is not in command position; on rejected command correction,
reset incremental path hashing.
2011-11-15 15:08:56 +00:00
Peter Stephenson
45faf8f5b2 29891: make zle -lL with arguments work 2011-11-04 14:14:26 +00:00
Peter Stephenson
fdb00982f5 Jun T: 29883: cast resource types to types they should be anyway 2011-10-31 09:48:58 +00:00
Peter Stephenson
6cd43e7d70 29879: metafy dlerror message to avoid corruption 2011-10-28 10:46:23 +00:00
Peter Stephenson
faa02346a8 29844, 29845: remove bogus
error on closing fd's 0 to 9; update test
2011-10-26 18:48:13 +00:00
Peter Stephenson
68d1c094db 29865: don't compile pcre if no pcre-config 2011-10-26 16:46:09 +00:00
Peter Stephenson
31c422299d 29859: compadd handles its own options 2011-10-26 12:45:10 +00:00
Phil Pennock
2f3c16d40f 29838: metafy/unmetafy strings for PCRE matching (UTF-8 fixes) 2011-10-24 11:31:25 +00:00
Peter Stephenson
8dc39360c9 29820: _pick_variant -b to match builtin 2011-10-14 19:01:41 +00:00
Bart Schaefer
188abdd708 29799: swap order of RESET_PROMPT / REFRESH in adjustwinsize(). 2011-10-02 01:10:11 +00:00
Bart Schaefer
748bd73d88 unposted: cross-reference zmodload from the modules intro doc.
29769: follow-up 29677 to handle the case where thisjob == -1.
2011-09-25 18:09:13 +00:00
Peter Stephenson
84f8330e0d users/16375: initialise nrefs on each loop in match tests 2011-09-18 17:44:12 +00:00
Peter Stephenson
3dba9a8614 29776: fix case of double quotes in double-quote-style
parsing where end character is something else
2011-09-15 14:04:51 +00:00
Peter Stephenson
a6de37ec2b 29744: don't mess up non '-A' cases in read -E fix 2011-08-29 17:21:39 +00:00
Peter Stephenson
af071465b1 29731: fix read -AE, test that and read -Ae 2011-08-28 17:06:27 +00:00
Peter Stephenson
ca7269e82d users/16289: don't delete temporary files on disown.
Document.
2011-08-28 16:38:28 +00:00
Bart Schaefer
f7111d3358 29694: avoid overwriting current history word when not expanding an alias
or history event in-place.
2011-08-18 02:24:10 +00:00
Peter Stephenson
85b00bb0f7 29703: crash when failing to parse process substitutions 2011-08-17 20:26:05 +00:00
Peter Stephenson
815e52cdbf users/16253, users/16255: a nulstring should be split like an empty string 2011-08-17 19:00:08 +00:00
Mikael Magnusson
cd3acd762d 29681: use [] to dereference region_highlights 2011-08-17 10:15:49 +00:00
Wayne Davison
2c9b4e769f 29650: Don't lose time info after a suspend+restore. 2011-08-16 15:27:05 +00:00
Peter Stephenson
3ba487ca77 unposted: use pm->node.nam to get names for parameters in errors 2011-08-15 19:32:30 +00:00
Bart Schaefer
516ea294b8 29677: Do not allow external processes in a pipeline to become suspended
when the end of the pipe is controlled by a builtin in the current shell
which cannot itself become suspended.
2011-08-14 18:34:27 +00:00
Mikael Magnusson
8af2cbd1f2 unposted: fix capitalized word in the middle of a sentence 2011-08-14 14:21:27 +00:00
Mikael Magnusson
d0366e1960 unposted: fix a typo in a comment. 2011-08-14 14:16:45 +00:00
Peter Stephenson
515554acbc fix datetime autofeatures 2011-08-11 19:43:46 +00:00
Peter Stephenson
548c4562fe fix tests using zsh/datetime that I broke 2011-08-11 19:32:50 +00:00
Peter Stephenson
8cbd510002 29674: add $epochtime to datetime 2011-08-11 18:45:04 +00:00
Peter Stephenson
bbbaed2b53 29663: add $EPOCHREALTIME to zsh/datetime 2011-08-10 11:31:18 +00:00
Bart Schaefer
92ee9324a9 29654: "wait" should resume stopped jobs identified by process ID as well
as by job number; temporary (?) workaround for pipelines getting lost if
TSTP is delivered when a shell builtin is the tail of the pipe.
2011-08-10 03:21:15 +00:00
Peter Stephenson
a3ae9f5d12 29643: set incompfunc to zero when executing hook or trap function 2011-08-04 08:30:50 +00:00
Peter Stephenson
4a3ce8ab89 29644: work around _describe bug, plus cosmetic tweaks 2011-08-03 20:57:32 +00:00
Peter Stephenson
d48faef8cd 29633: more care with anonymous and other functions 2011-08-03 18:45:17 +00:00
Peter Stephenson
7d1480af54 29626: arguments to anonymous functions shouldn't be parsed as command words 2011-07-28 09:20:02 +00:00
Peter Stephenson
45913f43e5 29561: Allow closing of fd's not recorded by the shell 2011-07-25 10:20:09 +00:00
Peter Stephenson
a8657c4b40 29555: fix problem using open fd beyond max_zsh_fd 2011-07-19 09:26:56 +00:00
Peter Stephenson
5c3c825e5f users/16131: skip reading empty history file 2011-07-18 18:13:03 +00:00
Peter Stephenson
a05a51ce8a 29542: fix crash in hbegin(), remove bad test
29543: fix backslash-newline within words with histlexwords
2011-07-12 08:37:11 +00:00
Peter Stephenson
ad29258c8c 29530: ${...?...} shouldn't cause an error with NO_EXEC option 2011-07-01 15:23:01 +00:00
Peter Stephenson
e1680e6840 29503: Missing popheap() on failed autoload 2011-06-23 19:29:24 +00:00
Peter Stephenson
6062529d3f 29492: add argument handling to anonymous functions 2011-06-19 20:12:00 +00:00
Peter Stephenson
437d5d98f6 unposted: Remove additional for loop noticed by Mikael 2011-06-19 19:42:41 +00:00
Peter Stephenson
962624e8c3 29491: remove some variables set but not used 2011-06-19 16:26:10 +00:00
Peter Stephenson
c31caeb086 29490: add RLIMIT_RTTIME 2011-06-19 00:10:34 +00:00
Bart Schaefer
98b29d02ca 29481: always return a matching job in findproc() but scan the whole list
to prefer running jobs
2011-06-15 15:38:14 +00:00
Bart Schaefer
21c39600ef 29472: findproc() needs at least to also return stopped jobs. 2011-06-12 15:06:37 +00:00
Peter Stephenson
03b0edaa63 29462: fix warning 2011-06-06 09:08:21 +00:00
Peter Stephenson
d7582f006f 29459: Further fixes for parameter flag completion,
plus drive-by fix for double-quoted parameter completion with flags
2011-06-04 21:32:06 +00:00
Peter Stephenson
d292edc4dc 29452: allow completion of parameter flags 2011-06-03 22:06:59 +00:00
Peter Stephenson
22af58bf2b 29451: ${##stuff} removes stuff from the head of $# 2011-06-03 22:03:43 +00:00
Peter Stephenson
12e246495c 29413: "print -S" for saving to history with lexical word split 2011-06-03 19:54:43 +00:00
Peter Stephenson
31456074c8 histlexwords splitting of ";;" in case 2011-05-27 21:56:09 +00:00
Bart Schaefer
8a6222a372 29382: apply 29374 to zccmd_input too. 2011-05-27 13:54:07 +00:00
Mikael Magnusson
bd2d0636d2 29329: fix undefined behaviour in math.c 2011-05-27 01:42:30 +00:00
Peter Stephenson
54acd80359 29374: exit ZLE immediately if exit pending when keypress expected 2011-05-26 09:19:11 +00:00
Bart Schaefer
e39dfaeb95 29367, 29368: avoid redirecting the xtrace of simple commands along with
their standard error.
2011-05-24 15:49:03 +00:00
Peter Stephenson
29d0aa8ef8 29351: casts needed to pass integers through stdarg 2011-05-23 16:08:47 +00:00
Mikael Magnusson
0198b8423d 29224: Support negative LEN in ${VAR:OFFSET:LEN} like bash. 2011-05-19 16:24:38 +00:00
Mikael Magnusson
6a29bc80d0 29261: Add g:: flag. 2011-05-19 16:16:28 +00:00
Mikael Magnusson
72cb7cfc6f 29307, 29308 + replies: Fix some doubled words in docs and comments. 2011-05-19 16:10:46 +00:00
Bart Schaefer
6699851bcb 29313: better sh emulation with SHWORDPLIT and empty $IFS 2011-05-18 01:49:15 +00:00
Bart Schaefer
86b900ad97 29312, users/16032: add "zparseopts -M" 2011-05-18 00:23:00 +00:00
Peter Stephenson
ad30100e09 29282: hide prototypes for ZSH_HEAP_DEBUG with #ifdef's 2011-05-14 17:23:23 +00:00
Bart Schaefer
fdb4a83213 29276: always typedef Heapid for use by auto-generated header files. 2011-05-14 04:10:07 +00:00
Peter Stephenson
f61ae85acf 29268: extra dupstring() for value to be used in completion match group 2011-05-14 00:36:06 +00:00
Peter Stephenson
506615ff94 29267: add -enable-zsh-debug and use for debugging completion matcher groups 2011-05-14 00:07:41 +00:00
Peter Stephenson
9c0a19669b Danek: 29254: fix some compiler warnings 2011-05-13 18:12:05 +00:00
Peter Stephenson
a5ff5b61a4 Jérémie Roquet: 29258: mark a couple more functions for export. 2011-05-13 11:59:05 +00:00
Mikael Magnusson
1ac8412d6f 29208: make vimatchbracket more useful in emacs mode 2011-05-12 15:55:12 +00:00
Peter Stephenson
7fc9a4414d 29217: main shell now depends on zshcurses.h and zshterm.h 2011-05-11 08:59:55 +00:00
Peter Stephenson
d770d2554b rename system.h to zsh_system.h 2011-05-10 16:44:38 +00:00
Peter Stephenson
de06c83334 29214: use -I rather than explicit path to find headers 2011-05-10 16:40:27 +00:00
Peter Stephenson
c59e19cd77 29191 (Danek) and 29203 (with fixes): make TERMINFO variable special. 2011-05-10 15:40:32 +00:00
Peter Stephenson
bafa15955d 29195: Separate nameddir hash to avoid clash of
"bool" type on Solaris
2011-05-09 10:38:02 +00:00
Peter Stephenson
ae4a0ab46c 29193: badly placed variable declaration 2011-05-09 10:27:32 +00:00
Peter Stephenson
d89361739a 29165: use term.h globally if needed at all. 2011-05-09 09:49:08 +00:00
Bart Schaefer
70fd751a82 users/15986: handle EINTR in zccmd_input 2011-05-08 23:19:11 +00:00
Bart Schaefer
6150565494 29175: optimize freeheap 2011-05-07 19:32:57 +00:00
Peter Stephenson
8e0a5b0aa0 29134: change termcap prototypes locally for AIX 2011-05-03 12:03:46 +00:00
Peter Stephenson
17e3f742f1 29129: reading of end of fd array 2011-05-02 12:32:41 +00:00
Bart Schaefer
2938c58c82 29107: replace overlapping strcpy with memmove 2011-04-29 15:23:33 +00:00
Wayne Davison
348d2842f3 Use "const" qualifier in termcap prototypes. 2011-04-26 19:08:26 +00:00
Bart Schaefer
ecb32c6b12 Jun T.: 29031: increment global minfo state when inserting characters
on the line during interactive menu selection.
2011-04-24 19:10:20 +00:00
Frank Terbeck
32974286d4 29008, 29012: Add --enable-additional-fpath' option to add arbitrary directories to the default $fpath'. 2011-04-18 20:36:31 +00:00
Wayne Davison
c06f5b4556 Fix compiler warning due to state.doff duplication. 2011-04-15 14:56:53 +00:00
Peter Stephenson
7657ea65dc 28997: make --enable-libc-musl explicit 2011-04-14 09:11:02 +00:00
Peter Stephenson
d2fd8b86cf Valentin Ochs: 28990: more changes needed for signals. 2011-04-12 14:51:31 +00:00
Peter Stephenson
35ddd9c4ba users/15953: handle EINTR when using read -k or -q with -u or -p 2011-04-11 16:34:21 +00:00
Wayne Davison
9e0b7684e5 28977: fix copying of uninitialized memory when trying to
spell-correct a really long string.
2011-04-06 00:04:06 +00:00
Peter Stephenson
47d1215cb4 Stef van Vlierberghe: 28965 (as posted in 28967):
findproc() should not return processes not marked as SP_RUNNING
2011-04-01 11:02:15 +00:00
Bart Schaefer
67847a96ee 28926: No newline after the last line in listlist() when printing the list
in a single column.
2011-03-28 04:50:20 +00:00
Peter Stephenson
e4059eedc7 Mikael: 28941: fix $CURSOR access when metafied 2011-03-27 17:55:41 +00:00
Peter Stephenson
ee52e3c349 28936: ${#$} and ${#?} also didn't work 2011-03-21 11:09:50 +00:00
Peter Stephenson
4263d2b821 28889: ${##} should return the length of $# 2011-03-11 21:05:59 +00:00
Peter Stephenson
f2dca9e155 users/15864: turn zsh_directory_name into a hook 2011-03-11 16:32:07 +00:00
Peter Stephenson
cc69ecfb9e 28886: Fix region_highlight dynamic updates for $PREDISPLAY 2011-03-11 10:33:33 +00:00
Peter Stephenson
7bc97b920b 28866: with POSIX_BUILTINS "command" prefix resets specialness 2011-03-06 21:37:38 +00:00
Frank Terbeck
2eac105770 28853: Fix typo: preceed -> precede 2011-03-04 13:25:25 +00:00
Bart Schaefer
6e50d3d7db 28823: make it an error to tie the same scalar to two different arrays 2011-03-01 05:18:15 +00:00
Peter Stephenson
5035892725 Frank, 28812 as modified in 28813:
fix allocation of wide array in wcs_ztrdup()
2011-02-28 12:05:31 +00:00
Peter Stephenson
655370ff3c 28799: lexical analyser didn't stop early enough with completion words 2011-02-24 13:48:47 +00:00
Peter Stephenson
4bfb5daa7e 28795 plus typos noticed by Mikael: careful with forked shells 2011-02-23 09:47:05 +00:00
Peter Stephenson
dbbcbf67cb 28791: exit on errors with special builtins with POSIXBUILTINS 2011-02-22 20:09:20 +00:00
Peter Stephenson
73ebca4fe9 28783: allow parentheses to be special in more places with SH_GLOB 2011-02-21 11:32:47 +00:00
Peter Stephenson
0e792b9447 28784: exit on exec redirection error with POISX_BUILTINS 2011-02-21 11:28:49 +00:00
Peter Stephenson
24e97ba046 28773: add zle-history-line-set widget 2011-02-18 22:34:29 +00:00
Peter Stephenson
212ca9edf9 28772: Update regions in region highlight dynamically 2011-02-18 22:08:45 +00:00
Peter Stephenson
3a23e82941 28762: fix coproc file desriptor closing 2011-02-17 19:52:41 +00:00
Peter Stephenson
459953f029 28671: better cursor positioning after undo 2011-02-11 19:32:21 +00:00
Bart Schaefer
90b83e028a users/15770 HASH_DIRS tracks INTERACTIVE 2011-02-11 04:04:05 +00:00
Peter Stephenson
94225e07fc 28638: add $usergroups parameter 2011-01-19 12:42:53 +00:00
Peter Stephenson
aa58d139ff Mikael: 28637: ${foo:0:} caused crash 2011-01-18 10:29:58 +00:00
Peter Stephenson
4f9ee790e0 28630: Ricky Zhou: fix crash with isident()
28634: add test
2011-01-16 20:35:29 +00:00
Peter Stephenson
ef4055d97c unposted: fix return types in 28617 2011-01-11 20:42:40 +00:00
Peter Stephenson
fe59d196a0 28611: remove unused special behaviour for vi mark 26 2011-01-11 20:12:18 +00:00
Peter Stephenson
dfc26195c9 28617: NO_EXEC option was doing too much work in
parameter subscripting, parameter assignment, and globbing
2011-01-10 18:24:17 +00:00
Peter Stephenson
e72999c092 gi1242+zsh@gmail.com: 28594:
Various new and improved completions
2011-01-09 16:57:01 +00:00
Peter Stephenson
a89f0559c2 28590: make read return status non-zero on error 2011-01-07 10:05:35 +00:00
Peter Stephenson
6318e041d1 unposted: fix argument type for write_loop() 2011-01-06 21:31:06 +00:00
Peter Stephenson
020e116c54 28588: fix textual display after =~ test 2011-01-06 20:28:50 +00:00
Bart Schaefer
87d6527628 28578: fix handling of numeric escapes that expand to "%" in printf
format strings, so they are not treated as format introducers.
2011-01-06 16:49:25 +00:00
Peter Stephenson
dd0ad1ac23 28568: buffer overflow examining paths 2011-01-05 18:22:08 +00:00
Bart Schaefer
bc1a12f91e users/15662: array slice assignment with one index positive and one negative. 2010-12-21 16:54:30 +00:00
Peter Stephenson
904e537204 unposted: restore unintentionally removed .PHONY entries 2010-12-20 16:51:25 +00:00
Peter Stephenson
f6cff33fb7 unposted: release 4.3.11 2010-12-20 16:03:28 +00:00
Peter Stephenson
a7bc22ca00 Paul 28538 / me 28540 / couple of unposted casts:
use char * for pointer arithmetic rather than void *
2010-12-20 10:28:43 +00:00
Peter Stephenson
c8d07027c8 28537: fix word splitting on "((" when it was nested subshells rather than
arithmetic
2010-12-19 17:42:09 +00:00
Bart Schaefer
70acf8ed59 "prep" target depends on Makemod 2010-12-18 23:03:20 +00:00
Peter Stephenson
655174ca42 uncommitted: fix properly 2010-12-17 23:05:31 +00:00
Peter Stephenson
a9421446d2 Mikael: users/15653: zle_highlight=(none) turns off suffix highlighting
unposted: note suffix highlighting in NEWS
2010-12-17 14:01:23 +00:00
Peter Stephenson
246bcd10a7 Mikael: 28531: typos 2010-12-16 13:55:35 +00:00
Bart Schaefer
66152e8ada 28530: replace (z+opts+) flag with (Z:opts:), add reserved (_🎏). 2010-12-15 04:05:50 +00:00
Peter Stephenson
ef5cf45780 unposted: another neatening of lexflags use in ZLE 2010-12-14 10:40:42 +00:00
Peter Stephenson
ebcead7543 lexsave/lexrestore lexflags
add new LEXFLAGS_ZLE
2010-12-14 10:35:38 +00:00
Peter Stephenson
eab4f9a83c 28528: Rearrange zleparse to lexflags
Add (z+n+)
2010-12-14 09:59:04 +00:00
Peter Stephenson
5858e79f4d 28526: remove bogus newline with stripped comment zplitting 2010-12-13 11:20:46 +00:00
Peter Stephenson
0a5702457b 28510: add (z+c+) and (z+C+) parameter flags 2010-12-12 22:44:50 +00:00
Peter Stephenson
c66f52bad9 Mikael: 28480: allow PROMPT_EOL_MARK to be an empty string 2010-12-06 19:34:32 +00:00
Peter Stephenson
3e97b749f4 28486: $compstate[parameter] needs untokenizing 2010-12-06 10:49:51 +00:00
Peter Stephenson
25b12c5d11 28474, 28478: extended {START..END..STEP} syntax 2010-12-05 21:07:48 +00:00
Peter Stephenson
9371146ad7 28469: fix memory leak in anonymous function 2010-12-05 16:59:41 +00:00
Bart Schaefer
cf17c39832 28461: flush stderr in PRINT_EXIT_VALUE handling. 2010-11-27 19:46:32 +00:00