1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-29 05:21:00 +01:00
Commit graph

1476 commits

Author SHA1 Message Date
Peter Stephenson
09aaf50cda 22464: bad recursion if error in prompt substitution 2006-05-26 22:43:51 +00:00
Peter Stephenson
00446ee29c 22448: typo retrieving $RBUFFER in completion 2006-05-19 10:16:01 +00:00
Peter Stephenson
87b0f1c859 22432: bug with backtracking over repeated single parameterhs 2006-04-25 17:40:26 +00:00
Peter Stephenson
efe92714c6 this one got missed 2006-04-25 17:33:34 +00:00
Peter Stephenson
949f5b6dee 22431: set WIDGET etc. more consistently when executing zle functions 2006-04-25 15:00:25 +00:00
Peter Stephenson
20198effd4 22429: fix bug with pure string matching 2006-04-25 13:01:52 +00:00
Peter Stephenson
a2d5ebe3c0 22427: zle <widget> -w sets the environment for <widget> 2006-04-25 10:10:49 +00:00
Peter Stephenson
85f25bb845 users/10172: new zle command read-command 2006-04-23 23:13:47 +00:00
Peter Stephenson
b7474e065b 22416, tweaked: math functions via shell functions
unposted: add styles to pick-web-browser
2006-04-19 16:09:06 +00:00
Peter Stephenson
3f7d4db1e5 22409: fix --disable-multibyte patterns 2006-04-09 21:55:10 +00:00
Peter Stephenson
ef330a5dfd 22408: support for multibyte characters in patterns 2006-04-09 21:47:21 +00:00
Wayne Davison
41fb468fca Fixed a compilation problem when HAVE_GETRUSAGE is defined
but HAVE_WAIT3.  See the sourceforge bug report:
https://sourceforge.net/tracker/?func=detail&atid=104068&aid=1262954&group_id=4068
2006-03-27 11:41:17 +00:00
Peter Stephenson
8569055841 users/10087: no aliases for case of "in" in "case" 2006-03-26 19:03:15 +00:00
Wayne Davison
eafa96805b Fixed call to undefined function zwarnname() instead of zwarnnam(). 2006-03-25 18:50:44 +00:00
Peter Stephenson
16f7f6961f 22375, 22376: ${(0)...} splits on NULL byte 2006-03-22 18:32:46 +00:00
Peter Stephenson
7b7905fedb 22638: MACHINES: IRIX
users/10047: zle widget -K keymap
2006-03-21 19:19:05 +00:00
Clint Adams
7b92878c24 thinko fix 2006-03-20 15:22:55 +00:00
Clint Adams
8294310202 22371: use only alphanumerics and underscores as word characters with vi bindings. 2006-03-20 14:40:36 +00:00
Clint Adams
b37a0f0000 22366: better handling for multibyte-character-containing words in vi widgets. 2006-03-17 23:45:43 +00:00
Clint Adams
717c7c5532 22364: add 'nice' and 'rt_priority' rlimits (NICE and RTPRIO). 2006-03-17 23:35:01 +00:00
Wayne Davison
f3ef6af5b4 - Got rid of one compiler warning about a clobbered variable.
- Split a line that had two statements on it (looked like an
  accidental joining).
2006-03-13 22:25:16 +00:00
Wayne Davison
04ea7bae96 Fix some compiler warnings and ensure that zmod gets restored
properly in bin_zle_call().
2006-03-09 09:44:28 +00:00
Peter Stephenson
80ec63bfa7 22337: debugging code omitted from 22331 2006-03-08 15:50:50 +00:00
Wayne Davison
f8c7d72f30 Use the new "flags" integer to get rid of the mult_isarr global. 2006-03-07 22:05:51 +00:00
Wayne Davison
5fd72f0f1a Initialize the new "flags" integer when creating a list. 2006-03-07 22:05:44 +00:00
Wayne Davison
d9d04545a5 Changed struct listnode to use "prev" for the previous pointer,
not "last".
2006-03-07 21:43:34 +00:00
Wayne Davison
4cb83571c4 Changed some structures to avoid gcc's type-punned warnings. 2006-03-07 21:30:36 +00:00
Peter Stephenson
e17fc50793 22328, modified: add -o option to compadd
add _list_files helper to handle new file-list style for _path_files
2006-03-07 12:50:56 +00:00
Wayne Davison
19305c6eaf Tweaked a couple comments. 2006-03-07 01:15:47 +00:00
Bart Schaefer
20aae107b8 22321: optimize 22318. 2006-03-06 15:38:59 +00:00
Peter Stephenson
4065dd5258 22318: uniquifying special arrays was broken 2006-03-03 22:27:02 +00:00
Peter Stephenson
31f6b3fb07 22317: exit status from code backgrounded in function
22277, 22281, tweaks: standardize behaviour of wait builtin
with trapped signals
2006-03-02 22:05:21 +00:00
Wayne Davison
c1f0a1200a Added "mod_export" to the declaration of makecommaspecial(). 2006-03-01 14:50:52 +00:00
Wayne Davison
4b9d1c4f5c Optimized away a recently-added call to strlen(). 2006-02-20 05:51:49 +00:00
Wayne Davison
6c31a7dc68 Made the realocation of the line buffer in add_match_data() use a
little more optimal size.  Also tweaked the code just a little.
2006-02-19 22:57:56 +00:00
Clint Adams
a915138852 22284: add --disable-dynamic-nss configure switch to disable use of getpw*(), getgr*(), initgroups() functions. 2006-02-19 19:36:31 +00:00
Wayne Davison
1e2f61f116 The code in add_match_data() that looks for invalid characters
now properly parses the string as metafied.
2006-02-18 18:39:38 +00:00
Wayne Davison
803fa9872f Made ${(A)=name:=word} (which is an array assignment) not split on
quoted whitespace, just like the new ${1+"$@"} handling.
2006-02-16 19:51:48 +00:00
Wayne Davison
1811ec9b78 Fixed another ${name+word} problem when word consisted of an
array followed by a scalar.  Also updated several comments.
2006-02-15 18:35:35 +00:00
Wayne Davison
d0ea78e557 - Fixed: setopt shwordsplit; set 1 '2 3' 4; print -l ${1+"$@"}
- Fixed: setopt shwordsplit; foo='1 2'; print -l ${==foo+$foo}
- Fixed: emulate sh; touch '1 2'; print -l ${1:-*\ *}
- Improved multsub() and its comments.
2006-02-15 10:13:41 +00:00
Wayne Davison
5c8bb4944d Replaced a flawed look-behind algorithm for backslash detection
with one that looks forward (avoiding an accidental quoting of a
char after a "\\" sequence).
2006-02-13 11:06:21 +00:00
Wayne Davison
a6658fb9f6 Made add_match_data() look for invalid multibyte chars in the
names and substitute $'\123' sequences for them.
2006-02-13 11:03:59 +00:00
Wayne Davison
f8e97151de Call makecommaspecial() when we notice we're completing inside
an open brace list.
2006-02-13 11:01:04 +00:00
Wayne Davison
a4d4cf5cf8 Added the makecommaspecial() routine that completion uses when
it is completing filenames into an open brace list.
2006-02-13 10:59:22 +00:00
Wayne Davison
587db0585c Call ZS_memchr() instead of plain memchr() so that suffix-removal
works again.
2006-02-09 22:14:49 +00:00
Wayne Davison
6698e6f676 Define ZS_memchr() as either wmemchr() or memchr(). 2006-02-09 22:12:54 +00:00
Peter Stephenson
ba8349e6ed 22200: process text wasn't unmetafied for output. 2006-02-07 16:55:09 +00:00
Peter Stephenson
30176eaf63 22198: do always set HOME in native emulation 2006-02-07 11:29:30 +00:00
Wayne Davison
b9281e3aa8 Added the missing return value to a newly-added "return". 2006-02-07 05:19:21 +00:00
Peter Stephenson
8b0cc87817 22195: don't set HOME in the shell 2006-02-06 11:57:03 +00:00