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

2579 commits

Author SHA1 Message Date
Bart Schaefer
d19e18c68d 31350: block SIGWINCH nearly all the time, except
when about to calculate prompts or do synchronous read, so
syscalls are not interrupted by window size changes.
2013-04-30 00:08:49 -07:00
Bart Schaefer
fa7c51971d 31272: Avoid double free, get_compctl should not free its arguments. 2013-04-20 08:40:18 -07:00
Peter Stephenson
424ff5644b users/17754: failing to retie an array
and colon-separated scalar shouldn't be a fatal error
2013-04-10 18:14:41 +01:00
Peter Stephenson
369dc3a107 31246: make a separate patch level header for releases 2013-04-09 20:21:57 +01:00
Frank Terbeck
daf4f19c3f 31172: Let vared define custom init and finish hooks
Using this, you can do things like this in a more straight-forward
manner:

foo-init() { CURSOR=0; }
zle -N foo-init
foo=$'Some longer\nbuffer with\nmultiple lines.'

vared -i foo-init foo
2013-04-05 17:23:45 +02:00
Frank Terbeck
6654b87b45 31174: zle: Make sure state changes are refreshed after init hook
If `zrefresh' is not called _after_ the zle-line-init hook, any changes
made to the editor's state (be it changes to $CURSOR or $BUFFER or
called widgets like `clear-screen') will only be picked up after the
first character is typed into the editor.
2013-04-05 17:23:45 +02:00
Aaron Schrab
07478c6bc3 Generate patch level using git describe
Generate the patch level using `git describe` rather than relying on the
CVS $Revision$.  Need to use the `--tags` option, since currently there
are no annotated tags.  The `--long` option should be used so that the
output will always be in the 'tag-commits-hash' format rather than just
naming a tag when that would fully describe the current commit.

Since changes to the patchlevel could now be caused by changes to any
file, force the rule to be called every time that `make` is run.  Only
update the file when there are actually changes to prevent unnecessary
rebuilding of other build products (currently just `params.o` and
`zsh`).
2013-04-03 22:10:17 +02:00
Peter Stephenson
b6f704a642 Jun. T: typo in vi-goto-mark 2013-04-02 16:20:28 +00:00
Bart Schaefer
0c226a6282 31158: following a wildcard with a repetition produces a bad pattern error 2013-03-19 15:05:35 +00:00
Mikael Magnusson
1d3d92a0c9 31140: avoid crash when hitting recursion limit 2013-03-13 19:54:20 +00:00
Peter Stephenson
fb3ad98f71 31141: Tighten NO_CLOBBER restrictions on {fd} syntax
to apply only if $fd is exactly an fd and nothing else.
2013-03-10 21:45:04 +00:00
Mikael Magnusson
8a9b141652 30496: Parse argument to %F and %K as prompt sequences 2013-03-10 12:33:04 +00:00
Peter Stephenson
3def943d04 users/17665: add FORCE_FLOAT option 2013-03-05 20:04:53 +00:00
Peter Stephenson
555b95c5f3 31060:"+" before a flag for "functions" or
"autoload" should suppress display of function body.
2013-02-22 20:26:32 +00:00
Oliver Kiddle
d88a46b1a9 31037: return to previous position with vi-goto-mark using `` or '' 2013-02-09 21:27:47 +00:00
Peter Stephenson
44757a653c 30993: fix parameter modifier crash with :wq on empty string 2013-01-22 16:28:58 +00:00
Bart Schaefer
3ed9e4d1b9 unposted: tweak 30949 to fix buffer pointer 2013-01-08 07:18:50 +00:00
Bart Schaefer
dda51b9dbb 30949: restore "read -q" behavior lost by 27188 2013-01-06 18:55:00 +00:00
Peter Stephenson
841e60c340 this prevent process-based features from working in their arguments 2012-12-21 11:28:33 +00:00
Peter Stephenson
f73d92f5dc add missing mod_export 2012-12-16 18:43:24 +00:00
Peter Stephenson
1869eeb393 30876: fix obscure failures to propagate non-zero status
from optimised simple commands within lists
2012-12-13 10:36:59 +00:00
Bart Schaefer
431c22024d users/17445: fix handling of leading zeroes in floating point 2012-12-08 19:50:20 +00:00
Bart Schaefer
daa9e1fd54 users/17042: don't stomp the environment in "jobs -Z" unless we've first
copied it to new memory.
2012-11-18 18:27:18 +00:00
Peter Stephenson
7c56d77184 30789: Add CONTINUE_ON_ERROR for old behaviour.
New behaviour is for scripts to exit on error instead of returning
to top level and executing the next command.
2012-11-15 21:08:15 +00:00
Bart Schaefer
cba5449c3d 30786: do not enter interactive history editing or command execution if
"fc" is called from a ZLE widget.
2012-11-08 16:50:38 +00:00
Peter Stephenson
64e925bd65 30783: We don't want leading "="s to be active when
tokenising strings that aren't going to be treated as command line
arguments
2012-11-08 12:28:11 +00:00
Peter Stephenson
cd0c6153e0 30735: array substitutions aren't simple:
prevent crash on process substitution therein
2012-10-25 08:54:31 +00:00
Peter Stephenson
4b86cc48f7 30726: make shell options passed to emulate stick along with the emulation 2012-10-11 20:14:01 +00:00
Peter Stephenson
ad92cb3203 30724: shell code optimisd to use execsimple() doesn't have a valid thisjob 2012-10-11 16:36:14 +00:00
Peter Stephenson
34ed3eaecd users/17318: only increment the undo variable return value for the
first request in a row
2012-10-09 16:27:11 +00:00
Peter Stephenson
0fda80344b users/17314: ensure an undo change number
uniquely specifies a point in editing history by incrementing
the value returned by the variable.
2012-10-09 14:57:13 +00:00
Peter Stephenson
8d9cb7f42e fix trivial typo with "functions +T" 2012-10-09 09:24:22 +00:00
Peter Stephenson
4e2cdd7956 30722: fix some cases where emulations or options were not propagated properly
from the emulate command
2012-10-07 19:46:46 +00:00
Peter Stephenson
321471891e 30718: emulate command evaluations should apply sticky emulation
to autoloads, too
2012-10-07 17:50:18 +00:00
Peter Stephenson
76ac7bf742 30716: make IGNORECLOSEBRACES an emulation option 2012-10-05 21:42:59 +00:00
Peter Stephenson
eb562c9f2c 30715: use enum lextok for variables containing lexical tokens 2012-10-05 21:35:05 +00:00
Peter Stephenson
61b9529ff8 users/17310: we can't treat < after [ as a normal character.
Document problem and test for case that needs to work.
2012-10-03 18:11:12 +00:00
Peter Stephenson
76590bd93c users/17304: angle brackets aren't associated with special parsing
inside square brackets
2012-10-02 12:46:45 +00:00
Peter Stephenson
dbec4fa6cc 30692: allow autoload +X -m to work
change to _path_files to make it load in that fashion
2012-09-21 19:08:35 +00:00
Peter Stephenson
8e43f7f3c8 30687 with typo corrected: don't REPORTTIME if zleactive 2012-09-21 12:45:12 +00:00
Peter Stephenson
e550c98d69 30647, 30649: allow underscores in numeric constants 2012-09-11 16:02:41 +00:00
Peter Stephenson
dd3a8ead16 users/17236: r and other fc output didn't metafy when listing to a file
other than stdout
2012-09-08 19:19:06 +00:00
Peter Stephenson
361e171672 30656: prevent SIGFPE in division by -1 by multiplying instead 2012-09-06 18:22:30 +00:00
Peter Stephenson
9c49c8dd27 John Stahara: 30641: bindkey -N error report is misleading
when copying keymap.
2012-08-25 18:02:32 +00:00
Peter Stephenson
13b8a25456 Jun T.: 30640: MacOS doesn't define __STDC_ISO_10646__ but we need
the replacement wcwidth function anyway
2012-08-23 19:19:26 +00:00
Peter Stephenson
6f3ff6b653 30633: "functions -T" only traces marked function, not called functions 2012-08-21 18:03:01 +00:00
Peter Stephenson
e92a823a4b 30629 plus unposted formatting changes:
support socket buffer size limit properly in ulimit;
improve consistency of output and documentation and tweak formatting appropriately
2012-08-17 13:26:22 +00:00
Peter Stephenson
9fdcd824d8 30627: support RLIMIT_NTHR as on NetBSD 2012-08-17 11:12:34 +00:00
Peter Stephenson
97cf64a7ee Hiramatsu Yoshifumi: 30621 patch-ab (from NetBSD pkgsrc):compilation on
__INTERIX
2012-08-16 19:12:26 +00:00
Peter Stephenson
268e56a144 30169: repeat "typeset -T" with same two first arguments is not an error 2012-08-16 14:00:11 +00:00