1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-23 04:30:24 +02:00
Commit graph

3299 commits

Author SHA1 Message Date
Peter Stephenson
b3aa3b7791 35910: Don't add to raw lex buffer if lex stopped.
This was causing a segmentation violation in completion when parsing
an incomplete math expression, e.g. 'echo $((3*4)<TAB>'.
2015-07-25 21:50:55 +01:00
Peter Stephenson
dd8079e041 35809: fix $((...)) completion by _expand widget.
This changes internal quoting of the form still including tokens
not to add unnecessary internal backslashes.
2015-07-25 21:36:54 +01:00
Peter Stephenson
771381c2ce 35908: fix $((...)) completion in expand-or-complete widget 2015-07-25 20:22:23 +01:00
Barton E. Schaefer
84495e3415 35882: read-command has ZLE_NOTCOMMAND 2015-07-24 17:04:30 -07:00
Oliver Kiddle
0f02b27ab0 35864: add sysopen, sysseek and systell to system module 2015-07-24 12:36:35 +02:00
Peter Stephenson
8f8b82bc6c 35883: Don't attempt to back up over history if expanding alias 2015-07-24 10:19:00 +01:00
Peter Stephenson
bbd4cae6ad 35872: protect against NULL pointers in unmeta 2015-07-23 10:04:09 +01:00
Peter Stephenson
28a962f557 35849: close fd's from process substitution after fork
Leaving these hanging in parent could cause deadlock: test added.
2015-07-23 09:34:11 +01:00
Peter Stephenson
49ff2e00dc 35854: ensure history character unget doesn't recurse infinitely 2015-07-23 09:32:24 +01:00
Peter Stephenson
9a82a86757 35793: avoid undefined behaviour shifting signed number 2015-07-23 09:31:12 +01:00
Oliver Kiddle
b4aff3bc52 35824: allow highlighting of just pasted text and put text from bracketed paste in cut buffers 2015-07-23 05:36:27 +02:00
Oliver Kiddle
aee8aebd67 35814: POSTEDIT needs to be unmetafied 2015-07-23 05:22:46 +02:00
Joshua Krusell
855ceea901 35939: fix select polling in ztcp and zsocket 2015-07-22 13:06:56 -07:00
Barton E. Schaefer
a1f8d4ffc7 35826: add getsparam_u() to return unmetafied string, use it for a number of references to non-special params 2015-07-22 12:52:24 -07:00
Barton E. Schaefer
f3e8f4cf7a 35581, 35582: output array assignments with spaces inside the parens 2015-07-22 12:43:09 -07:00
Barton E. Schaefer
a0862f6381 35799: with NO_EXEC, parse parameter subscript expressions 2015-07-15 17:51:41 -07:00
Oliver Kiddle
5911aca85f 35737: (tweaked c.f. Peter: 35759): use new undo limit for minibuffer and beep when limit is reached 2015-07-14 00:30:45 +02:00
Peter Stephenson
2833299312 35708: add UNDO_LIMIT_NO 2015-07-09 19:29:59 +01:00
Peter Stephenson
3af55c858f 35751: Fix ERR_RETURN and ERR_EXIT in "else" 2015-07-09 14:59:20 +01:00
Mikael Magnusson
e402747dd6 35745: ztrftime: Pass everything unhandled to the system strftime() 2015-07-09 15:32:55 +02:00
Peter Stephenson
04675eca4c unposted: remove compiler error in completion code 2015-07-07 12:48:30 +01:00
Barton E. Schaefer
a9add3de54 35694: fix handling of history modifiers applied across all elements of an array parameter value 2015-07-06 16:35:05 -07:00
Oliver Kiddle
68a5a5f453 35704: compadd -E 0 should imply -J and -2 2015-07-06 22:40:47 +02:00
Peter Stephenson
26d5d2eeac 35692: cfp_matcher_range used wrong raw character 2015-07-05 18:52:00 +01:00
Peter Stephenson
290354ff46 35688: Improved attempt to turn case wordcode into text. 2015-07-05 18:15:43 +01:00
Peter Stephenson
f2b2271fbe Turning case parsed as multiple alternatives back into text.
Also add test.
2015-07-04 11:01:47 +01:00
Oliver Kiddle
a257525afc 35681: fix day of month initialisation 2015-07-03 22:59:27 +02:00
Oliver Kiddle
acb05d1616 35674: make an undo event for initial buffer contents 2015-07-03 22:56:03 +02:00
Han Pingtian
38145b255a 35665: better handling for command line completion match handling 2015-07-02 16:28:14 +01:00
Peter Stephenson
2afdb3985a 35668: Improved fix for command/proc subst starting in alias.
Use input flag to suppress the unwanted backtracking.

Add test for the extra case covered.
2015-07-02 10:01:42 +01:00
Peter Stephenson
dce1f33c02 35667: fix command substitution that starts but doesn't finish in alias 2015-07-01 21:44:50 +01:00
Peter Stephenson
7708849b21 35655: APPEND_CREATE option for POSIX copmatible NO_CLOBBER 2015-06-29 19:01:31 +01:00
Oliver Kiddle
6e57de8ee2 35637: remove the now unused module hook for reverse-menu-complete 2015-06-29 01:59:43 +02:00
Oliver Kiddle
44c56f3af5 35627: make reverse-menu-complete start with the last match in
menu selection
2015-06-29 01:54:44 +02:00
Oliver Kiddle
fbc97e72e8 35623: fix menu-selection where initial selection
would not be displayed without scrolling
2015-06-29 01:46:39 +02:00
Peter Stephenson
93e5234532 35643: Redirections after typeset assignments were broken. 2015-06-28 17:47:02 +01:00
Barton E. Schaefer
811027a22a 35642: signal queueing in zcontext_save_partial() 2015-06-27 15:53:21 -07:00
Peter Stephenson
eb08892dcf 35635: a bit more consistency about making elements local 2015-06-27 21:19:26 +01:00
Barton E. Schaefer
ef08028346 35634: handle failure of gettempname() in namedpipe() 2015-06-27 12:50:40 -07:00
Peter Stephenson
420bfcfc66 35623: All is_array assignments should be treated as having a value. 2015-06-27 17:46:03 +01:00
Peter Stephenson
77a0278bcc 35615: fix completion after tyepset 2015-06-26 17:56:44 +01:00
Peter Stephenson
42b9037ae5 35613: Handle array slices in typeset 2015-06-26 14:55:35 +01:00
Peter Stephenson
9265e49ccb typeset silent on repeated typeset x=() 2015-06-25 17:45:15 +01:00
Peter Stephenson
b16d754d9c 35604: create empty arrays in typeset with array=() 2015-06-25 17:01:48 +01:00
Jun-ichi Takimoto
0d7be4af0d 35550: fix backspace in interactive menu-select 2015-06-25 00:23:25 +09:00
Han Pingtian
77130df674 35514: [[:foo:]] tests in completion should be more specific 2015-06-24 14:56:32 +01:00
Peter Stephenson
7b46509e92 35590: tweak and test text output from typeset 2015-06-24 14:32:15 +01:00
Peter Stephenson
39b28980f3 various posts: Implement assignment parsing for typeset.
Typeset assignments now work like raw assignments except
for no "+=" and no GLOB_ASSIGN.

Documented in typeset builtin doc and mentioned in release notes.

Tests to ensure basic sanity.

Enabled by default, can be turned off by "disable -r" with typeset
family of commands.
2015-06-24 10:21:12 +01:00
Peter Stephenson
2118390dc1 unposted: add missing (void) argument list to bracketedestring() 2015-06-23 11:28:47 +01:00
Peter Stephenson
7d588bc158 33566: regex module fix for unmatched parentheses 2015-06-22 17:35:38 +01:00