1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-02 22:11:54 +02:00
Commit graph

2579 commits

Author SHA1 Message Date
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
Peter Stephenson
2e37fda925 28559: flush shell output in PROMPT_SP handling 2010-11-27 17:13:29 +00:00
Wayne Davison
3f42b0a617 Use newer PROMPT_SP behavior for hasxn terms too. 2010-11-26 18:50:22 +00:00
Wayne Davison
d89e55fe0e Overwrite PROMPT_SP string if it should remain invisible,
even with an upcoming newline.
2010-11-25 17:16:27 +00:00
Peter Stephenson
fc6c76519b 28434: make ${NAME:OFFSET} always use zero-offset 2010-11-25 10:34:32 +00:00
Peter Stephenson
cc9bc2dd0b 28424: new POSIX_STRINGS option 2010-11-22 11:42:47 +00:00
Peter Stephenson
e6946adf57 28425: remove null arguments and untokenize 2010-11-20 23:46:26 +00:00
Peter Stephenson
8f20b2361c 28419: Doc/Zsh/expn.yo, Src/subst.c, Test/D04parameter.ztst:
KSH_ARRAY ${*:0:1} gives $0, etc.
2010-11-18 13:57:18 +00:00
Peter Stephenson
23bdfc7fd2 28418: add ${NAME:OFFSET:LENGTH} substitution 2010-11-18 10:07:55 +00:00
Bart Schaefer
ad56692b16 28384: improve error message on assignment to a field of a read-only hash.
CVS ----------------------------------------------------------------------
2010-11-03 22:40:33 +00:00
Peter Stephenson
73d622e9c4 28363: fix insert bug refreshing zle with wide characteter 2010-10-25 14:59:18 +00:00
Peter Stephenson
3f3d80c394 28360: NO_UNSET option should check parameters with trailing options 2010-10-22 16:32:36 +00:00
Peter Stephenson
467cd12e13 Mikael: 28356: don't increment old display line too far when refreshing 2010-10-17 17:59:27 +00:00
Peter Stephenson
bdb38058e4 28345: make ${(D)...} return a fully usable command line argument 2010-10-15 18:56:16 +00:00
Peter Stephenson
af5a85f363 28339: backslash-newline history without HIST_LEX_WORDS
28340: assignment to range of scalar variable with multibyte characters
2010-10-10 17:51:29 +00:00
Peter Stephenson
6fea7f0d3c 28332: backslash-newline with HIST_LEX_WORDS 2010-10-10 17:26:38 +00:00
pdpennock
d234059b1c 28338: keep =~ from inverting sense of subsequent tests (after &&/||) 2010-10-10 00:05:24 +00:00
Peter Stephenson
1cdaf8c459 28327: fix pseudolexical word splitting with RC_QUOTES 2010-10-07 16:49:50 +00:00
Peter Stephenson
92c826555d not yet posted: fix some more HIST_LEX_WORDS anomalies 2010-10-06 13:07:43 +00:00
Peter Stephenson
8aac69241f 28319: (z) splitting oddities 2010-10-06 08:27:09 +00:00
Peter Stephenson
22899d3788 28285: zle-isearch-update and zle-isearch-exit 2010-10-06 08:25:28 +00:00
Peter Stephenson
66f32a80dc 28308/28310: HIST_LEX_WORDS, check for quick history read 2010-10-02 21:03:03 +00:00
Peter Stephenson
377f2bb812 28309: fix infinite loop padding with extra wide characters 2010-10-02 19:55:30 +00:00
Peter Stephenson
5ca08eccd0 28295 plus tweak: use lexer to split words from history file 2010-09-25 18:49:36 +00:00
Peter Stephenson
8856dc878e 28282: new function zlecallhook()
fix arguments to zle-keymap-select
2010-09-20 09:27:46 +00:00
Bart Schaefer
9530331b4f 28268: I/O to a terminated (or never created) coprocess emits a
"no coprocess" diagnostic, instead of either nothing or "bad file number".
2010-09-19 19:20:33 +00:00
Peter Stephenson
f1495f5099 28259: Finally fix some ancient problems with here-documents 2010-09-14 14:46:26 +00:00
Peter Stephenson
3b6b4982b9 28258: fix undefined variable in traps 2010-09-14 12:52:31 +00:00
Peter Stephenson
ade705cf5b 28253: document -h argument to atribute commands 2010-09-12 18:56:40 +00:00
Peter Stephenson
7e5a7a9135 28237: new parameter ZLE_LINE_ABORTED
28241: don't list .safe with bindkey -lL
2010-09-08 12:32:32 +00:00
Peter Stephenson
ff955f61b4 28229: can list individual keymaps 2010-09-05 20:39:08 +00:00
Peter Stephenson
17dee17e4e 28227: improved documentation on keymaps
28226: improve bindkey -lL for aliased keymaps
2010-09-05 19:24:44 +00:00
Peter Stephenson
8bc64084a4 28220 plus some comments: fix "HELLO=$HELLO shellfunc" 2010-08-31 19:32:56 +00:00
Peter Stephenson
afc3a7c412 28202: unmetafy line for reversemenucomplete 2010-08-31 18:09:15 +00:00
Peter Stephenson
c7ff1b79dd 28179, users/15314, users/15310, users/15200:
various job and process control fixes
2010-08-22 20:08:57 +00:00
Peter Stephenson
ef9b4ad79e 28172: mark processes as not stopped if sent SIGCONT 2010-08-18 21:21:17 +00:00
Peter Stephenson
a15007fe64 28167: reset more variables on invalidating completion list 2010-08-15 18:40:04 +00:00
Peter Stephenson
8e5061d0c6 28160, 28164: fix redisplay problem after display reset 2010-08-13 08:52:06 +00:00
Peter Stephenson
80eee3a4a3 28122 (Frank) / 28139: add ZLE_STATE 2010-08-11 12:48:19 +00:00
Peter Stephenson
edcd71603d Daiki Ueno: 28112: fix character width assignment 2010-08-02 09:02:30 +00:00
Peter Stephenson
fc7ad5cc1c users/15219: PRINTEXITVALUE if terminated by signal 2010-07-31 22:03:41 +00:00
Peter Stephenson
5659426c2a always print job status if non-zero status and PRINTEXITSVALUE 2010-07-31 21:06:10 +00:00
Peter Stephenson
9a17762b0c users/15217: use top-level status when redrawing prompt 2010-07-31 19:36:53 +00:00
Peter Stephenson
a5a27ad5ec <hamer@hamer.org.ua>: 28104: fix completion crash due to NULL pointer.
Actually commit the code.
2010-07-29 11:08:28 +00:00
Peter Stephenson
278a892888 28102: use lstat() when checking ignore-parents 2010-07-26 14:00:46 +00:00
Peter Stephenson
76aef28b31 28073: allow #! scripts to search path if interpreter not found 2010-07-15 18:44:12 +00:00
Peter Stephenson
5da6530d83 28065 plus unposted zsh.mdd:
add cdr and related functions and docs
2010-07-09 14:47:48 +00:00
Peter Stephenson
e3f764d1ef 28047: attempt to make locking with fc command more useful 2010-06-22 11:00:31 +00:00
Peter Stephenson
e6f14352d6 28037: improved error messages for module autoloads
of math functions and builtins
2010-06-14 11:57:08 +00:00
Peter Stephenson
825c1a1141 28010: use getcwd() as fallback 2010-06-14 11:48:06 +00:00
Peter Stephenson
64d431d98b 28025: (D) parameter flag 2010-06-11 20:08:01 +00:00
Peter Stephenson
7850fc5a2c 28006: make zgetcwd() fall back to pwd,
only use "." if setting pwd
2010-06-08 08:51:03 +00:00
Peter Stephenson
4ad0a25af1 27983: colours could be output twice 2010-06-03 19:36:16 +00:00
Peter Stephenson
099dc207fa 27994: better error for failed parameter autoload 2010-06-03 13:38:17 +00:00
Peter Stephenson
fdebbca754 27990: don't use return value from setupterm()
to decide if module booted OK
2010-06-02 13:13:43 +00:00
Peter Stephenson
147cedfb6f 27965, 27966: Improve ${(q)...}: newline appears as $'\n;, 2010-05-27 18:57:34 +00:00
Peter Stephenson
9ecfa0842b unposted: fix typo in previous commit 2010-05-12 10:17:58 +00:00
Peter Stephenson
09960dc5b9 27951: Add $ZSH_EVAL_CONTEXT and $zsh_eval_contxt 2010-05-12 10:06:59 +00:00
Peter Stephenson
a6ea7ab36d 27947: some cases where we should execute EXIT traps 2010-05-05 09:49:39 +00:00
Peter Stephenson
edc01c0455 Mikael: 27929 + doc: global aliases shouldn't trigger HIST_IGNORE_SPACE 2010-04-28 08:55:35 +00:00
Peter Stephenson
443d873258 27926: fix completion suffix when inserting last word 2010-04-27 08:58:34 +00:00
Peter Stephenson
11440d17d1 27889: Force more use of GLOB_SUBST in parameters if ~ is used 2010-04-20 21:16:21 +00:00
Peter Stephenson
e2d855f364 27865: fix problem with glob_subst in parameter subsitution 2010-04-09 15:40:13 +00:00
Peter Stephenson
815cc9fc0d rationalise widths of non-printing characters to zero. 2010-03-27 19:04:35 +00:00
Peter Stephenson
e71df91bd2 27827: fix infinite loop in recursive alias at end of parsed string 2010-03-25 14:03:40 +00:00
Peter Stephenson
c2fdffa316 27823: fix memory access in 27822 2010-03-22 23:20:11 +00:00
Peter Stephenson
b16923b096 27812: display invalid bytes in multibyte characters specially 2010-03-22 19:46:53 +00:00
Peter Stephenson
08dec290d4 Fix ZLE access to pushed history line 2010-03-22 16:22:13 +00:00
Peter Stephenson
be2381eb52 27804: don't hang in isearch if invalid character found 2010-03-18 16:03:09 +00:00
Peter Stephenson
53745d8df0 27793 and follow ups: add PATH_SCRIPT option to find script using $PATH 2010-03-16 09:43:51 +00:00
Peter Stephenson
43df0a21c0 27785: IFS doesn't have a null in it in POSIX
unposted: note & needs quoting in :s in glob qualifier
2010-03-11 22:38:58 +00:00
Peter Stephenson
e050b88b97 Michael Hwang: 27773: document how linked lists are joined together 2010-03-07 21:48:26 +00:00
Peter Stephenson
21193d7f01 users/14905 + 14906: problems with :s in parameter expansion 2010-02-27 00:18:13 +00:00
Peter Stephenson
31123a1184 users/14902: another go at strftime 2010-02-26 17:07:18 +00:00
Peter Stephenson
d5a0f7623c users/14900: ULONG_MAX is a valid return value from strotoul() 2010-02-26 15:30:37 +00:00
Peter Stephenson
e8c1e2ff4c users/14897: extra test in strftime builtin for time conversion 2010-02-26 14:24:57 +00:00
Peter Stephenson
07b6256d8e 27756: add OS file locking to calendar
add errflag test to loop over fcntl()
2010-02-26 12:09:20 +00:00
Peter Stephenson
a3b971a27e 27755: add "zsystem supports" to zsh/system 2010-02-25 11:15:26 +00:00
Peter Stephenson
bec3de98df 27754 plus NEWS change: add "zsystem flock" 2010-02-24 21:37:24 +00:00
Peter Stephenson
48315b019b unposted: add debug code to zclose() 2010-02-22 11:35:13 +00:00
Peter Stephenson
7977ce0747 27721: rationalise initialisation of file descriptors 2010-02-22 10:12:22 +00:00
Peter Stephenson
ed5d053514 27722: bad error reporting and checking in conditions 2010-02-19 12:45:35 +00:00
Peter Stephenson
bbc88550db 27723: eval shouldn't modify non-zero return statuses 2010-02-19 12:26:08 +00:00
Peter Stephenson
dbf51cf3f0 27708: remove distracting initial semicolons in job outpt 2010-02-13 20:28:36 +00:00
Peter Stephenson
a589007d59 unposted: initially clear list for P glob qualifier 2010-02-13 20:25:49 +00:00
Peter Stephenson
f4f0becb63 27694: add P glob qualifier for prepending 2010-02-09 17:47:02 +00:00
Peter Stephenson
192c4f6ac1 27693: Missed this. 2010-02-09 14:24:01 +00:00
Peter Stephenson
9fe0077305 Geoff: 27693: rename underscore to avoid name clash 2010-02-09 13:58:11 +00:00
Peter Stephenson
4a0ddedf0a unposted: a couple of typeset -g's and a comment 2010-02-08 11:49:28 +00:00
Peter Stephenson
7da34421c1 27675: Michael Hwang: fix crash in hash builtin 2010-02-07 18:49:28 +00:00
Peter Stephenson
8ac97f3308 27648, 267650/1, unposted README change:
Turn off repeat and turn on ulimit in emulation modes
2010-02-03 18:34:32 +00:00
Peter Stephenson
0d8a580951 users/14752: add #! line to zed
allow script run with -i to exit on return
2010-01-29 21:44:54 +00:00
Peter Stephenson
06b7029aa8 27638, based on Frank Terbeck, 27633: SOURCETRACE option 2010-01-27 19:24:22 +00:00
Peter Stephenson
ec46ff026e users/14732: Test X:/ rather than X: in Cygwin 2010-01-22 20:42:09 +00:00
Peter Stephenson
f0287c6e17 users/14723: invalid converted characters should never match valid ones 2010-01-21 11:11:05 +00:00
Peter Stephenson
f02778f83c 27611: cache parameter values in math eval so subscripts are eval'd once 2010-01-20 17:17:45 +00:00
Peter Stephenson
af68ff74cd 27608: fix memory for mbegin, mend & regexp test 2010-01-20 11:16:22 +00:00
Peter Stephenson
8890e6e19f 27600: extend =~ syntax to set positional variables for matches 2010-01-17 21:48:25 +00:00
Peter Stephenson
036cb0ce95 Joakim Rosqvist: 27591 as modified in 27594:
KEYBOARD_HACK variable
2010-01-13 12:05:22 +00:00
Peter Stephenson
f80bc2b5f6 27566: add ulimit -c hard and immediate return on argument error 2010-01-05 16:29:35 +00:00
Peter Stephenson
de4dac8874 27565: sanity check numeric arguments to ulimit 2010-01-05 15:58:15 +00:00
Peter Stephenson
b397fbbe7a 27556: sanitize more variables in lexsave()
avoiding crashes in inner loops
2010-01-04 12:21:06 +00:00
Wayne Davison
6e317e4b96 Add symlink-based hist-file locking. 2009-12-18 19:50:45 +00:00
Wayne Davison
693fd5b56e Check the return value of all pipe(), read(), and write() calls.
Gets rid of all the remaining "ignoring return value" compiler
warnings, and makes some read/write operations safer by ensuring
that an EINTR is handled.
2009-12-16 18:39:06 +00:00
Wayne Davison
74d17bc282 Get rid of some "ignoring return value" compiler warnings
and provide read_loop() and write_loop() functions.
2009-12-16 18:38:44 +00:00
Peter Stephenson
512c62fc03 27503: fix crash with hook functions 2009-12-11 22:21:26 +00:00
Peter Stephenson
7293565963 27479: prevent completions split across backslash-newline
from causing too much mayhem
2009-12-07 21:40:04 +00:00
Peter Stephenson
7bc089c6be Mikael: 27453: highlighting for removable completion suffixes
27466: document it
2009-12-05 19:38:07 +00:00
Peter Stephenson
3206b8a2ea 27442 plus tweak: wait returns status for $! even if exited 2009-12-02 09:46:12 +00:00
Peter Stephenson
c969dea22f 27441: add "sa" for suffix alias completion highlighting 2009-11-30 17:26:47 +00:00
Peter Stephenson
1d5a54270b Richard Hartmann: 27440: typos in module warnings 2009-11-30 09:59:40 +00:00
Bart Schaefer
6c48ef6b45 27415: Src/Zle/computil.c: comparguments "*::..." descriptions could step
on sequentially earlier descriptions when completing for a word other than
the last word on the command line.
2009-11-21 06:51:14 +00:00
Bart Schaefer
96feec40a5 users/14548: Src/Modules/termcap.c: prevent libtermcap from exiting on an
unknown terminal type
2009-11-11 16:26:19 +00:00
Peter Stephenson
a3055b2363 Mikael: 27362: some more attr fixes 2009-11-07 23:57:27 +00:00
Peter Stephenson
f30af94885 27357: fix compiler warnings in attr module
27358: fix error if $0 altered in sourced file
2009-11-06 22:38:47 +00:00
Peter Stephenson
39e4cfd4db Jun T.: 27351: zdelattr missed first argument 2009-11-05 09:44:32 +00:00
Peter Stephenson
eeb5b6c941 Mikael: 27347: enhance extended attribute support 2009-11-04 11:33:59 +00:00
Peter Stephenson
a92507d2b8 Mikael: 27337: fix bug searching for / when
scanning symlinks in cd
2009-11-03 10:00:34 +00:00
Peter Stephenson
500431077b Apple opensource patches suggested by Jun T. in 27300 2009-09-30 20:32:18 +00:00
Peter Stephenson
68fabbda6a Jun T.: 27292: fix length in socket call 2009-09-29 14:25:34 +00:00
Wayne Davison
2f8aaaf5e4 27286: Made movefd() return the targetfd on success. Added
a little more error checking in the callers of movefd().
2009-09-22 16:04:13 +00:00
Peter Stephenson
51409732d0 27284: better use of movefd() 2009-09-22 09:17:05 +00:00
Peter Stephenson
997eafdcad 27283: failure to dup fd caused mayhem 2009-09-21 20:49:21 +00:00
Peter Stephenson
e85349fbf7 users/14411: Src/hashtable.c: only hash stat-able executable regular
files as commands
2009-09-21 09:22:20 +00:00
Peter Stephenson
c88fd11377 Holger Weiss: 57248: fix anchoring for vi searches 2009-09-06 21:37:14 +00:00
Peter Stephenson
1acf23db3e 27243: reverse indexing of arrays with beginning index out of range returned
wrong value
2009-09-05 19:49:19 +00:00
Peter Stephenson
6d4d1261a5 27240: fix fix for lexing in test builtin 2009-09-02 15:26:44 +00:00
Peter Stephenson
c81ba09d8f 27218: don't unquote $line generated in comparguments for _arguments 2009-08-17 21:06:03 +00:00
Peter Stephenson
fff4f63b97 27216: set chwords to NULL when freed 2009-08-16 20:37:44 +00:00
Peter Stephenson
2237f7376e users/14307: end of command line in completion with variant zsh syntax 2009-08-15 16:59:21 +00:00
Peter Stephenson
207acdfe89 27211: handle Cygwin device files & drives specially in compfiles 2009-08-05 10:14:53 +00:00
Clint Adams
5bf950d685 27202: unbreak _GNU_SOURCE on Debian GNU/kFreeBSD. 2009-08-01 04:20:35 +00:00
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