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
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