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
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
Clint Adams
4de54f5d00
25859: avoid possible NULL dereferencing if RC_QUOTES is set.
2008-10-12 18:26:57 +00:00
Peter Stephenson
b4d336aaca
25845: fix pattern but with backslashed and metafied charaters
2008-10-11 21:57:03 +00:00
Wayne Davison
b98b8e2c26
Fixed a signed/unsigned compiler warning.
2008-10-11 20:12:18 +00:00
Bart Schaefer
f1628c3278
25140: improve error handling/reporting for here-document temp files.
2008-10-10 09:55:34 +00:00
Peter Stephenson
ad3e2aa215
25831: fix empty return values from subscript matches with RC_EXPAND_PARAM
2008-10-09 13:46:45 +00:00
Peter Stephenson
98b604282e
25817: make "fc -l" more careful to list all recent history
2008-10-06 18:15:36 +00:00
Peter Stephenson
57418f3c7d
25791: force return from eval-style DEBUG trap lost status
2008-10-01 11:34:48 +00:00
Peter Stephenson
7e9f42526d
25777: argument to gdbmsetfn()
...
unposted: recognise ~[ in completion after : and =
2008-09-30 08:59:11 +00:00
Peter Stephenson
e3fd25b181
25775: fix logical problem with function line numbering inside eval-style traps
2008-09-29 21:46:58 +00:00
Peter Stephenson
29db898a6d
25774: fix in 25772 was applied too widely
2008-09-29 20:56:23 +00:00
Peter Stephenson
7be4f882fe
25772: crash with bad associative array pattern search
2008-09-29 17:39:38 +00:00
Peter Stephenson
28cf4041b4
25771: shell function context for substitution functions
2008-09-29 15:18:49 +00:00
Peter Stephenson
59dd1491c6
users/13295, tweaked: dont reset line numbers when parsing strings, sometimes
2008-09-29 08:46:21 +00:00
Peter Stephenson
e6dec182d0
25761: Mikael Magnusson: newline in getquery()
2008-09-27 23:14:58 +00:00
Peter Stephenson
043959b0be
25760: add (~) flag
2008-09-27 20:58:24 +00:00
Peter Stephenson
4a34c96289
25755/25756: Jörg Sommer: improved handling of module arguments
...
25759: fix dynamic named directory crash, static named directory consistency
2008-09-27 19:57:25 +00:00
Peter Stephenson
b2d08a2155
25744: dynamic named directories and further doshfunc() simplification
2008-09-26 09:11:27 +00:00
Peter Stephenson
84584ea58b
25684: make %x and %I consistent with eval line numbering
2008-09-25 11:26:00 +00:00
Peter Stephenson
d17398b442
users/13288: Src/parse.c: don't report parse errors on aborted lines
2008-09-24 19:19:56 +00:00
Clint Adams
7ff2b823a9
25737: remove dead code in ca_parse_line.
2008-09-23 20:57:40 +00:00
Clint Adams
4158a8aa38
25736: one more zsfree missing from 25667.
2008-09-23 19:33:13 +00:00
Peter Stephenson
d3c4108f30
Rocky Bernstein: 25727: allow fc non-interactively
...
Add sanity test for empty history
2008-09-23 08:41:54 +00:00
Peter Stephenson
9ae36771fe
25723: align combining character when popped from input stack
2008-09-22 18:37:49 +00:00
Clint Adams
86873c3efc
25721: revert another mistake of 25701.
2008-09-22 17:32:43 +00:00
Peter Stephenson
f559052cc2
Rocky Bernstein: 25696: fix crash on empty history.
2008-09-22 08:46:53 +00:00
Clint Adams
5cae0e5207
correct overzealousness in 25701
2008-09-21 13:40:57 +00:00
Clint Adams
ef2d2d0f2b
25701: fix memory leak in loadautofn.
2008-09-21 12:54:57 +00:00
Peter Stephenson
23f2b4503c
users/13252 and elsewhere: Frank Terbeck plus tweaks:
...
add VCS_Info function system
2008-09-19 12:58:46 +00:00
Peter Stephenson
1775a6ba81
25690: fix insert-last-word on multibyte characters with Meta
2008-09-18 20:35:37 +00:00
Peter Stephenson
e4d3ee06b3
25682: terminate history line before passing to zshaddhistory hook
2008-09-18 09:42:44 +00:00
Peter Stephenson
2920c227d3
25677: add %x and %I prompt escapes for shell source code debugging
...
tidy up interface to doshfunc()
2008-09-16 15:02:01 +00:00
Peter Stephenson
14905ddc74
25672: remove unnecessary Nularg when prompt expanding
...
to avoid problem with glitch space
2008-09-15 16:18:06 +00:00
Peter Stephenson
6951a1e0b2
25671: non existing variable in typeset -p should cause status 1
2008-09-15 08:57:25 +00:00
Clint Adams
06cc84ce84
25667: free mstr before returning from errors.
2008-09-14 09:00:26 +00:00
Clint Adams
430a7535fa
25666: free memory allocated for an xor if the argument number is invalid.
2008-09-14 07:34:46 +00:00
Peter Stephenson
b8a36eea87
25662: declare -p should never create arguments
2008-09-13 19:59:13 +00:00
Clint Adams
6b68cc95c7
25656: free val only after it may be passed to strlen().
2008-09-13 08:19:17 +00:00
Peter Stephenson
ced3570bd1
25632: xRaich[o]²x: Src/mem.c: munmap() argument was wrong.
2008-09-11 19:14:13 +00:00
Peter Stephenson
d37f9672cb
25651: make getpermtext() output indentation more logical
2008-09-11 17:14:38 +00:00
Peter Stephenson
fb67cd46ea
25643: keep DEBUG and ZERR traps in subshells
2008-09-11 14:47:18 +00:00
Peter Stephenson
8bb15c1392
25641: add emulation option (NO_)MULTI_FUNC_DEF
2008-09-11 12:49:05 +00:00
Clint Adams
b62584cbcd
25639: free ptr2 if hsubl is NULL.
2008-09-10 19:02:11 +00:00
Clint Adams
96fc1bb149
25638: remove unnecessary ternary expression in match_str.
2008-09-10 18:33:32 +00:00
Clint Adams
c543084471
25637: dereference prog after the NULL check.
2008-09-10 15:56:00 +00:00
Clint Adams
b4ee5adc25
25636: free s before returning with an error condition.
2008-09-08 22:17:50 +00:00
Clint Adams
c715630baa
25634: free t before returning if both t and errflag are set.
2008-09-08 06:24:16 +00:00
Peter Stephenson
db31a13ecd
25627: add $ZSH_SUBSHELL
2008-09-05 21:02:08 +00:00
Peter Stephenson
7ce1d57358
25615: $ZSH_DEBUG_CMD for use in DEBUG traps
2008-09-05 09:05:21 +00:00
Clint Adams
13f60efbd7
25611, 25613: protect against two possible NULL dereferences.
2008-09-05 00:24:27 +00:00
Clint Adams
29680850a0
25612: remove dead code.
2008-09-05 00:18:11 +00:00
Clint Adams
bd915064c3
25610: remove dead code.
2008-09-04 22:27:59 +00:00
Clint Adams
f926ebbf23
25609: initialize sz variable.
2008-09-04 22:23:51 +00:00
Peter Stephenson
0cba5ef62a
25595: fix line numbers with EVAL_LINENO,
...
try to fix oddities with funcstack and sourced files,
simplify use of caller element of funcstack
2008-09-03 09:08:18 +00:00
Peter Stephenson
1f81bdcb47
25587: fix a==(stuff) and associated stuff.
2008-09-01 20:18:46 +00:00
Peter Stephenson
2e3363ef7d
25571: when parsing use line numbers for the start of a token, not the end
...
add test and move debug trap tests to new file
2008-08-31 19:50:47 +00:00
Peter Stephenson
b41c26d78a
25570: line numbers of complex sublists were wrong, plus test
...
make lineno zlong in another place
2008-08-31 16:01:10 +00:00
Andrey Borzenkov
d19602a65a
users/13169: really restore emulation mode after 'emulate -L'
2008-08-31 15:59:13 +00:00
Peter Stephenson
50e4b43362
25568: Frank Terbeck & pws: invalid continue and break arguments
...
also tests for control commands
2008-08-31 13:35:28 +00:00
Peter Stephenson
b8ae885ab8
25532: problem skipping assignments etc. with setopt ERREXIT
2008-08-25 17:28:13 +00:00
Peter Stephenson
9fe735e663
25508: set file name if function came from dump file
2008-08-22 15:41:31 +00:00
Clint Adams
0d07bf44e7
25490: make zties dynamic so there can be more than one gdbm handle in use at a time.
2008-08-19 12:01:13 +00:00
Peter Stephenson
a5a1296fa0
25448: add $funcfiletrace to show absolute line number for caller
2008-08-13 21:02:02 +00:00
Peter Stephenson
01f5d0a274
25443 (tweaked): allow $functrace to show sourced files
2008-08-12 20:25:14 +00:00
Peter Stephenson
2853ca830a
25247 with further modifications: add $funcsourcetrace
2008-08-11 19:22:54 +00:00
Peter Stephenson
c79ccea792
25418: set PROMPT_SUBST for all Bourne-style shells
2008-08-07 16:27:15 +00:00
Peter Stephenson
2706eac454
25415: Make DEBUG_BEFORE_CMD the default.
...
Reuse ERR_EXIT in DEBUG traps.
Clean up trapreturn code.
2008-08-07 16:25:14 +00:00
Peter Stephenson
c4f33330f6
25409: fix eval's use of lastval
2008-08-06 19:51:04 +00:00
Peter Stephenson
d026334a3b
25405: return status from anonymous functions was not handled
2008-08-06 15:45:37 +00:00
Bart Schaefer
16e75d6978
25389: rearrange precedence of ZLS_COLORS alternatives.
2008-08-06 02:21:01 +00:00
Peter Stephenson
541e5e2490
25385: fix another bug with trapreturn trampling on status
2008-08-04 19:47:46 +00:00
Peter Stephenson
4fc027edf0
25384: fix problem with incorrect autoloads of zsh/zle
2008-08-04 17:32:19 +00:00
Peter Stephenson
6e4adee615
users/13093: HashNode changes for AIX
2008-08-04 15:26:25 +00:00
Bart Schaefer
d1845f8b4a
25373: trashzleptr() -> zleentry(ZLE_CMD_TRASH)
2008-08-02 22:17:18 +00:00
Peter Stephenson
506d73299c
fix problems with trapreturn, in particular in source inside trap
2008-08-01 13:53:43 +00:00
Peter Stephenson
dc72699b6c
25364: fix k flag in hash subscript
2008-07-31 13:53:28 +00:00
Peter Stephenson
0c9830d23c
25345, 25347: neaten interface from main shell to zle
2008-07-31 08:44:16 +00:00
Peter Stephenson
bb21e2531f
following discussion, change fc error message
2008-07-27 18:28:44 +00:00
Peter Stephenson
897e8085ba
25338: disallow usage of current history line in fc
2008-07-25 08:55:26 +00:00
Clint Adams
b34c5d8a54
25329: build the curses module if we've got any usable curses header, not just curses.h.
2008-07-23 02:57:45 +00:00
Peter Stephenson
38e0badcc3
25236: don't recalculate prompt if not redisplaying
2008-07-22 19:54:29 +00:00
Peter Stephenson
5b29fedad8
25324: Danek Duvall: some Solaris and more general completions
2008-07-21 19:15:22 +00:00
Clint Adams
2d2d341161
25322: fix printing of keys.
2008-07-21 02:34:06 +00:00
Clint Adams
8954f31c7c
25321: delete gdbm node when corresponding hash entry is unset.
2008-07-21 02:24:03 +00:00
Clint Adams
fdf4449338
25320: fix read and write of elements by key.
2008-07-21 01:47:59 +00:00
Clint Adams
9f42d3211e
25319: fix zuntie, add -f option to ztie.
2008-07-21 00:55:15 +00:00
Peter Stephenson
0409391c7d
25272: add zshaddhistory hook
2008-07-17 11:27:55 +00:00
Peter Stephenson
4f7cf022b6
users/13036: "." is a valid character in a user name
2008-07-15 15:23:10 +00:00
Peter Stephenson
11715a9cd8
25267: ambiguous pattern matching fix: missing log
...
25269: Frank Terbeck: typo
2008-07-07 08:33:27 +00:00
Peter Stephenson
cd56448c8e
25267: fix problem with menu on ambiguous completion without matching
2008-07-06 20:04:27 +00:00
Peter Stephenson
5527851061
25266: always use EXTENDED_GLOB for patterns in ZLS_COLORS
2008-07-05 19:55:29 +00:00
Peter Stephenson
1a9386290b
25262: suspicious error checking in braceless function definition
2008-07-01 18:38:39 +00:00
Peter Stephenson
7453337589
25259: improve getquery() handling of unhandled characters
2008-07-01 08:36:01 +00:00
Peter Stephenson
950756d579
25255: add anonymous function capability
2008-06-30 10:37:11 +00:00
Peter Stephenson
a440669201
25242: Mikael V prompt test for contents of psvar
2008-06-24 08:44:14 +00:00
Clint Adams
6c9cc0e4fc
25167: patch from Petr Salinger to define _GNU_SOURCE (for /dev/ptmx) when glibc is being used on non-linux platforms.
2008-06-16 22:50:44 +00:00
Peter Stephenson
8a4af211c3
25149: add C_PRECEDENCES option to make arithmetic have C/Perl precedence
2008-06-12 13:45:04 +00:00
Peter Stephenson
c17b4c8d77
25145: make sure XTRACE output is redirected with stderr
2008-06-11 09:27:55 +00:00
Peter Stephenson
26ca3a4ec6
Mikael: 25146: export pattern_match_equivalence()
2008-06-10 19:12:57 +00:00
Peter Stephenson
1c29f641c6
Mikael: 25143: spelling corrections
...
25144: report supported bases
25139: fix number
2008-06-10 08:50:35 +00:00
Peter Stephenson
deab7d6642
unposted: silence compiler in pattern_match_restrict()
2008-06-09 08:41:26 +00:00
Peter Stephenson
bb68ee8db7
25138(? mailing list stuck): rewrite of completion matching.
...
Will one day use multibyte/wide characters, doesn't yet.
2008-06-08 17:53:53 +00:00
Clint Adams
d3774db0b4
25126: reformatting for 25124
2008-06-01 17:58:42 +00:00
Clint Adams
5d288004c4
25124: work with --(disable|enable)-largefile instead of --(disable|enable)-lfs, since the latter is no longer functional.
2008-06-01 16:39:06 +00:00
Peter Stephenson
c894f695cc
25095: thorough modernization of prompt theme system
2008-05-17 22:42:16 +00:00
Peter Stephenson
8ab895baf0
25057: better debug error on memory failure
2008-05-17 17:55:37 +00:00
Peter Stephenson
63b0ca8f37
25055: remove unnecessary debug test
2008-05-17 12:15:19 +00:00
Peter Stephenson
9533b19dad
25051: add colour sequences to formatting strings in completion
2008-05-16 09:37:56 +00:00
Peter Stephenson
02e0a4755f
25040: zpty should display context information more like eval
2008-05-15 15:50:57 +00:00
Peter Stephenson
b86c191af5
25025: check radix for integer constants is between 2 and 36 inclusive
2008-05-14 10:48:26 +00:00
Peter Stephenson
ea09bb1cef
25006, 25009: fix "or" orphaned symlink highlighting
...
fix ordering of statd versus extension and pattern highlight tests
2008-05-12 16:49:59 +00:00
Peter Stephenson
bd70d684fc
25002: only ZLE should update attributes resulting from prompt expansion
2008-05-12 13:50:42 +00:00
Peter Stephenson
58580d31f5
24996: improve xtrace output for patterns
2008-05-11 19:55:21 +00:00
Peter Stephenson
bab70abe6b
users/12848: return, break, continue in always block override try block
2008-05-11 19:03:58 +00:00
Peter Stephenson
4bed4f9d0f
24994: fix problem with up/down-line-or-search, perhaps
2008-05-11 18:37:34 +00:00
Peter Stephenson
d2b0a6daa5
unposted: fix uninitialised variable
2008-05-09 17:41:57 +00:00
Peter Stephenson
c811a18d44
24986: prompt escapes for colours
2008-05-09 17:33:49 +00:00
Peter Stephenson
f7246fb559
unposted: bad argument to zmodload -F error message
2008-05-08 14:04:51 +00:00
Peter Stephenson
fbfbc7636f
24980: zmodload -mF
2008-05-08 12:07:04 +00:00
Peter Stephenson
16c03b4cbf
24972: Phil Pennock: zf_* variants of zsh/files builtins plus extra options
2008-05-08 09:03:49 +00:00