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

1365 commits

Author SHA1 Message Date
Peter Stephenson
dcc48ad81b minor tidy-ups 2005-10-02 19:13:44 +00:00
Wayne Davison
d84c522b49 Changed the PROMPT_SP output to use prompt-escape %# instead of just #. 2005-10-01 19:19:06 +00:00
Peter Stephenson
046f4cf49e 21784: Improved character widths for formatted multibyte character output 2005-09-29 17:32:34 +00:00
Bart Schaefer
6183db6faa 21770: tweak 21760 to avoid conflicts with global bindings 2005-09-29 14:39:18 +00:00
Peter Stephenson
f3c0df36be 21769: fix some consequences of 21730 in completion lists 2005-09-27 14:30:30 +00:00
Peter Stephenson
d9bb1a52c9 21764: unmetafication mangle zle history lines 2005-09-26 18:39:21 +00:00
Bart Schaefer
5f076d1390 21760: fix test for sequence prefixes in the local keymap in getkeymapcmd() 2005-09-24 18:49:42 +00:00
Peter Stephenson
ad2bd42c85 21758: optimise =(<<<...) to run within the shell. 2005-09-23 17:03:16 +00:00
Clint Adams
fdd0397411 Stephen Rueger: 21744: unconditionally assume that \t or \n are not part of multi-byte characters. 2005-09-22 01:36:35 +00:00
Wayne Davison
0945e20323 The PROMPT_SP code now ensures that PROMPT_PERCENT is enabled when
it uses promptexpand() to expand some percent strings. (21739)
2005-09-20 16:33:01 +00:00
Peter Stephenson
29bb2438c0 unposted: fix wcsiident 2005-09-20 15:41:22 +00:00
Peter Stephenson
33c9432d56 21737: unmetafy wordchars before looking for multibyte characters 2005-09-20 15:19:06 +00:00
Peter Stephenson
409296e22f 21736: improve tests for word and identifier characters with multibyte input 2005-09-20 15:10:26 +00:00
Peter Stephenson
bd678526b3 21731: handle multibyte characters in prompts correctly 2005-09-17 21:39:07 +00:00
Peter Stephenson
dc060607e9 21730: fix metafication of nicechar and pwd 2005-09-17 18:23:49 +00:00
Peter Stephenson
d33c6e502a 21722: fix multibyte word stuff 2005-09-09 20:34:42 +00:00
Peter Stephenson
58b9e731da 21720: fix getrestchar() some more 2005-09-09 16:55:21 +00:00
Peter Stephenson
7746eea52b adapted from 21719: add some mod_exports 2005-09-09 16:06:47 +00:00
Peter Stephenson
5831792752 21717: Src/Zle/zle_misc.c: fix execute-named-command and -where-is
with multibyte support
2005-09-09 13:48:59 +00:00
Peter Stephenson
d39b9fabdb 21709 plus tweaks: use $KEYTIMEOUT for multibyte chars.Reset input state on invalid characters or EOF 2005-09-09 11:48:27 +00:00
Peter Stephenson
f2d873d811 21701: Negative subscripts of scalars before start were broken 2005-09-06 15:28:17 +00:00
Peter Stephenson
635b405c55 21678: Unsetting tied parameters caused various crashes 2005-08-22 11:43:36 +00:00
Andrey Borzenkov
a6ebb7bfc3 21664: unmetafy ztat() argument 2005-08-18 18:19:29 +00:00
Andrey Borzenkov
c26b8accb4 21663: check for string overflow 2005-08-18 18:15:44 +00:00
Peter Stephenson
d551b0f483 21661: fix glob bug introduced in 21655 2005-08-18 10:17:47 +00:00
Peter Stephenson
b0ca393c47 21655: bug in ${..//../${..//../..}} 2005-08-17 23:45:31 +00:00
Wayne Davison
5e803c0fcf Got rid of an empty #ifdef/#else/#endif. 2005-08-17 19:26:03 +00:00
Wayne Davison
610a691e1c Marked some #ifdef ZLE_UNICODE_SUPPORT lines (and their #endif lines)
with /**/ so that they would get copied to the .epro file.
2005-08-17 19:17:40 +00:00
Wayne Davison
4f7e317503 Now that ZLE_UNICODE_SUPPORT is defined by configure, tweaked the
multibyte #ifdef logic a little here to honor its setting.
2005-08-16 23:18:06 +00:00
Wayne Davison
9d6048811c Fixed bug in do_comp_vars() when *compprefix is a metified char. 2005-08-16 21:49:33 +00:00
Andrey Borzenkov
11b0963bdc 21642: remove redundant checks 2005-08-16 17:25:48 +00:00
Wayne Davison
fb047b6ffa Moved declaration of char pointer var to comply with
restrictions of standard C.
2005-08-16 01:59:43 +00:00
Clint Adams
3c92ad4b90 21631: make sure an unmetafied string is passed to ztat to determine file type. 2005-08-16 00:51:57 +00:00
Andrey Borzenkov
17e1a3cd0c 21627: fix recursive ZLE from completion call 2005-08-15 18:16:04 +00:00
Andrey Borzenkov
f570dd59e3 21622: fix recursive completion call in zrefresh() 2005-08-15 17:30:58 +00:00
Clint Adams
987033eaf9 21619: define wide versions of zarrdup, zputs, niceztrlen. 2005-08-15 17:19:16 +00:00
Wayne Davison
ed370a901a 21609: fixed a readlink() call in statfullpath(). 2005-08-15 16:04:32 +00:00
Peter Stephenson
8b3558c5ed 21616: typo 2005-08-15 15:47:53 +00:00
Peter Stephenson
243539fa30 21610: Turn on ZLE_UNICODE_SUPPORT and fix a few related problems. 2005-08-15 10:01:47 +00:00
Bart Schaefer
495f177f3a 21366: LONG_LIST_JOBS applies to more places where job listings are printed 2005-08-15 03:28:39 +00:00
Wayne Davison
6e9f6bc7d1 For gcc, use static inline functions in place of the ZS_str*
macros so that we get type-checking without pointer-signedness
warnings.
2005-08-12 13:12:37 +00:00
Peter Stephenson
7f09a15a83 21603: wchar/multibyte conversion of cursor position when at end of line 2005-08-12 10:24:23 +00:00
Wayne Davison
68f073faa2 Changed several instances of ZWC() used on a string to ZWS(). 2005-08-11 18:40:53 +00:00
Peter Stephenson
817e59cf19 21596: fix run-help, which-command, accept-and-menu-complete 2005-08-10 19:51:30 +00:00
Peter Stephenson
eb09406787 21593: character arrays wrongly declared with ZLE_UNICODE_SUPPORT 2005-08-10 13:21:15 +00:00
Peter Stephenson
0c301a8af6 21592: browsing new directory from menu selection crashed 2005-08-10 11:59:28 +00:00
Peter Stephenson
2a888b3d5a c.f. 21590: metafy_line()/unmetafy_line() now support wide characters 2005-08-10 10:56:40 +00:00
Wayne Davison
b97ff864af Make printf %s handle an embedded null (21579). 2005-08-10 07:45:17 +00:00
Peter Stephenson
c73dd46019 Fixes from Thorsten Dahlheimer.
21578: mkmakemod.sh didn't exit on cleanup.
21582: fix failure status of zmodload -R.
21583: fix circularity test of zmodload -A.
2005-08-09 10:02:08 +00:00
Peter Stephenson
aa638fec26 21577 (adapted): Dan Bullok: improved window resize handling, again 2005-08-09 09:33:37 +00:00
Wayne Davison
9937c30ba3 21581: Thorsten Dahlheimer: Src/builtin.c: fixed error output
for unknown signal names when using "trap -".
2005-08-09 05:41:55 +00:00
Wayne Davison
756bea5ffa Fixed a recently-introduced bug where printf %b with an empty arg
would output a single space instead of nothing.
2005-08-08 23:06:20 +00:00
Peter Stephenson
5587d05958 unposted: unnecessary variable in 21575 2005-08-08 17:01:17 +00:00
Peter Stephenson
d307660dee 21575 plus unposted: Add WARN_CREATE_GLOBAL option 2005-08-08 16:48:52 +00:00
Peter Stephenson
d7902f6bad 21567: Dan Bullok: trashzle on updating window size 2005-08-08 10:36:51 +00:00
Peter Stephenson
15d4118cb9 21557: Thorsten Dahlheimer: BRACE_CCL fix 2005-08-02 09:23:38 +00:00
Wayne Davison
ea0a5b2662 Silenced a compiler warning about a variable that might be used
unassigned.
2005-08-01 22:20:36 +00:00
Peter Stephenson
1f3bd88afb 21552: Thorsten Dahlheimer: various fixes to print builtin 2005-08-01 10:00:38 +00:00
Peter Stephenson
8c095a5169 unposted: Perforce "attribute" command
21551: FEATURES description for file<20->
21546: oddities of subscripts when searching arrays
21544: ioctl() prototyping
2005-08-01 09:54:55 +00:00
Peter Stephenson
8665549030 21541: remove some warnings from ZLE_UNICODE_SUPPORT 2005-07-28 14:45:32 +00:00
Wayne Davison
4714ce0856 The PROMPT_SP output should be prior to the job notifications too. 2005-07-27 18:44:26 +00:00
Wayne Davison
cbdcd62b38 Moved the PROMPT_SP output into preprompt() so that it takes effect
prior to things like precmd(), the mail-check output, etc.
2005-07-26 22:50:49 +00:00
Wayne Davison
d355573c48 Moving the PROMPT_SP code earlier in the scheme of things so that
it can take affect prior to things like the mail-check output.
2005-07-26 22:46:10 +00:00
Clint Adams
e6fdd78a18 21529: move scriptdir to a scripts subdir, and don't include Scripts in fpath. 2005-07-26 15:01:40 +00:00
Wayne Davison
b77b51cda8 Fixed bin_print() to handle \c escapes as per POSIX (truncating the
output at the \c).  (Based on a patch by Thorsten Dahlheimer.)
2005-07-26 00:07:11 +00:00
Wayne Davison
fa8923e1f9 If getkeystring() finds a \c escape (when looking for such escapes),
truncate the returned string at the escape.
2005-07-26 00:07:08 +00:00
Wayne Davison
03531ff379 The parsing of \c in $foo[(pws:\c:)1] should treat \c as an unknown
escape (resulting in a literal "c"), not remove the sequence (from
a patch by Thorsten Dahlheimer).
2005-07-24 05:37:23 +00:00
Wayne Davison
6e80eb1a4c Improved the function comment for getkeystring(). 2005-07-24 05:19:58 +00:00
Wayne Davison
c71813ef45 Added missing "goto" in handling of 'c' escape (fix from
Thorsten Dahlheimer).
2005-07-24 04:54:54 +00:00
Wayne Davison
17b224a549 An install fix for Cygwin from Thorsten Dahlheimer. 2005-07-24 04:47:57 +00:00
Peter Stephenson
625b1dfd74 unposted: bring various .distfiles up to date 2005-07-21 13:45:23 +00:00
Peter Stephenson
3d5bececac 21500: Add script and function as framework for new user stuff. 2005-07-20 18:08:39 +00:00
Peter Stephenson
e3c5dd2dd9 21498: Add zsh/newuser module 2005-07-20 16:08:12 +00:00
Wayne Davison
767e017e1f Implement the new PROMPT_SP option. 2005-07-15 17:41:55 +00:00
Wayne Davison
b1e0d218c5 Reference 4 extra termcap items: save-cursor, restore-cursor, the
backspace character, and the ignore-newline-after-wrap flag.
2005-07-15 17:41:53 +00:00
Wayne Davison
85784fbfee Add "promptsp" to the optname optns[] array. 2005-07-15 17:41:50 +00:00
Wayne Davison
9ba458948a Added the PROMPTSP option plus 3 new termcap defines
(TCSAVECURSOR, TCRESTRCURSOR, and TCBACKSPACE).
2005-07-15 17:41:33 +00:00
Peter Stephenson
b2cfbabced 21466: mkdir -p didn't work with symlinks 2005-07-14 20:20:11 +00:00
Bart Schaefer
5af2ab3b9c 21428: Travis: fix crash on bad compvalues call 2005-07-12 03:07:22 +00:00
Peter Stephenson
75f853f2e3 21402: Fix crash with case-insensitive matching. 2005-07-06 10:01:19 +00:00
Peter Stephenson
a6660cadc6 21391: only pass SIGINT and SIGQUIT from foreground processes to the shell. 2005-06-28 09:37:21 +00:00
Oliver Kiddle
6245d3e32f 21317: fix bug where recursive glob within e qualifier would hang the shell 2005-06-21 08:58:43 +00:00
Oliver Kiddle
14bfaab3ef 21352: Harald van Dijk: handle null after % in printf format specifier 2005-06-17 08:37:46 +00:00
Bart Schaefer
92d5a511be Prevent double precmd during "fc -e -" 2005-06-13 14:59:33 +00:00
Peter Stephenson
b4855d742c unposted: need const for result of getsigname() 2005-06-01 13:59:14 +00:00
Peter Stephenson
772007e76c 21296: Add ERR alias for ZERR where possible.
"trap" reports alias names.
2005-06-01 10:45:32 +00:00
Peter Stephenson
3acf90f67e 21270: don't use poll() on Apple 2005-05-23 14:41:16 +00:00
Peter Stephenson
8a24c5a5ee users/8856, users/8863: which-command stuff 2005-05-23 10:11:18 +00:00
Oliver Kiddle
af31bd1741 Joerg Sonnenberger: 21252: Dragonfly BSD support 2005-05-11 09:27:05 +00:00
Peter Stephenson
4fc0fadfaa Add [[:IFS:]] etc. tests. 2005-05-09 10:46:08 +00:00
Peter Stephenson
2c208c7743 21197: Fix LOCAL_TRAPS inside another trap 2005-04-27 09:58:42 +00:00
Peter Stephenson
ba1a545516 21194: fix handling of zero-length quoted test strings for patterns 2005-04-26 09:51:27 +00:00
Peter Stephenson
b72a946185 Fix handling of metafied characters in trailing whitespace on read 2005-04-25 10:18:25 +00:00
Bart Schaefer
38d2734e0a Remove excess argument of zwcstat() 2005-04-24 18:39:02 +00:00
Bart Schaefer
813cb26e40 21174 adjustments to 21170 2005-04-24 18:38:38 +00:00
Peter Stephenson
5733e942f5 Optimise length calculations for ${...//.../...} 2005-04-24 00:38:07 +00:00
Geoff Wing
e71c9f6c01 20162: in printlist() don't output new line if we haven't printed anything 2005-04-22 02:46:40 +00:00
Peter Stephenson
d6089cc8b1 21143: more care about special file descriptors 2005-04-15 10:40:01 +00:00
Peter Stephenson
c69b149cb5 21141: fix some issues associated with the {myfd}>... syntax 2005-04-14 16:24:42 +00:00
Peter Stephenson
b3f8e32e5c 21133: New {myfd} syntax for allocating file descriptors 2005-04-12 15:11:07 +00:00