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

130 commits

Author SHA1 Message Date
Peter Stephenson
a3ae9f5d12 29643: set incompfunc to zero when executing hook or trap function 2011-08-04 08:30:50 +00:00
Peter Stephenson
a05a51ce8a 29542: fix crash in hbegin(), remove bad test
29543: fix backslash-newline within words with histlexwords
2011-07-12 08:37:11 +00:00
Peter Stephenson
54acd80359 29374: exit ZLE immediately if exit pending when keypress expected 2011-05-26 09:19:11 +00:00
Peter Stephenson
a7bc22ca00 Paul 28538 / me 28540 / couple of unposted casts:
use char * for pointer arithmetic rather than void *
2010-12-20 10:28:43 +00:00
Peter Stephenson
8856dc878e 28282: new function zlecallhook()
fix arguments to zle-keymap-select
2010-09-20 09:27:46 +00:00
Peter Stephenson
7e5a7a9135 28237: new parameter ZLE_LINE_ABORTED
28241: don't list .safe with bindkey -lL
2010-09-08 12:32:32 +00:00
Peter Stephenson
9a17762b0c users/15217: use top-level status when redrawing prompt 2010-07-31 19:36:53 +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
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
02f05d7462 26110: option to allow vared to open to an alternative terminal 2008-12-09 17:37:01 +00:00
Oliver Kiddle
dcd26714bb 26030: fix memory leak in vared 2008-11-12 12:59:07 +00:00
Peter Stephenson
a1958f3c41 26025: prefer handling user input to zle -F file descriptor 2008-11-11 18:25:44 +00:00
Peter Stephenson
b2d08a2155 25744: dynamic named directories and further doshfunc() simplification 2008-09-26 09:11:27 +00:00
Peter Stephenson
9ae36771fe 25723: align combining character when popped from input stack 2008-09-22 18:37:49 +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
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
0c9830d23c 25345, 25347: neaten interface from main shell to zle 2008-07-31 08:44:16 +00:00
Peter Stephenson
0409391c7d 25272: add zshaddhistory hook 2008-07-17 11:27:55 +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
fadf4a55ff 24899: make colour escape sequences configurable
allow ANSI colour names
2008-05-01 10:58:23 +00:00
Peter Stephenson
b8ec06c870 24853: use metafied strings for inner loops over history 2008-04-20 21:17:29 +00:00
Peter Stephenson
dea42c692f 24852: more combining chars fallout 2008-04-20 16:57:21 +00:00
Peter Stephenson
bd79dd9238 24821: update notes in FAQ on combining characters,
fix up cursor on exit from user-defined widget
2008-04-16 09:59:32 +00:00
Peter Stephenson
035aa2263b typo 2008-04-03 15:30:44 +00:00
Peter Stephenson
bc32da6a67 24786: handle read -t properly in zle via getbyte() 2008-04-03 15:20:18 +00:00
Peter Stephenson
2c5ea79f17 24782: initial go at highlighting of characters in zle command lines 2008-04-03 11:38:55 +00:00
Bart Schaefer
b78caa8ec4 24703: Src/Zle/zle_main.c: clear trashedzle when first starting
the editor in zleread(), so that reexpandprompt() from the first
zrefresh() won't expand the prompt an extra time.
2008-03-11 14:31:09 +00:00
Peter Stephenson
5a52e1ee80 24551: Free heap memory after every ZLE command 2008-02-14 15:21:35 +00:00
Peter Stephenson
1ee6295909 24279: allow terminal changes after zle -I to be acquired by main shell 2007-12-18 10:42:36 +00:00
Peter Stephenson
724f55afda 24240: make vared check for trailing garbage earlier 2007-12-13 21:56:18 +00:00
Geoff Wing
29a869d5a8 23924: Improve synchronising of character attributes with other
output routines
2007-10-19 01:33:09 +00:00
Peter Stephenson
1b52f47cf2 23665: autoloading of module features and related tweaks 2007-07-06 21:52:38 +00:00
Peter Stephenson
6ab77f00ff 23488: tidy up module interface and documentation 2007-05-29 17:01:07 +00:00
Peter Stephenson
b0c5f09169 see 23479: add initial features support for modules 2007-05-28 22:57:39 +00:00
Peter Stephenson
b5d4d3d9c1 23433: fix shift for ZMAXTIMEOUT 2007-05-13 19:11:24 +00:00
Peter Stephenson
62b671f0d1 23159 plus minor doc tweaks: leave BAUD parameter unset by default 2007-02-08 10:43:28 +00:00
Peter Stephenson
aba936b17c 22981: Zvi Har'el: bad call from 22952
22980: add hook array for special functions
2006-11-08 10:38:05 +00:00
Peter Stephenson
006229c32e 22924: a couple more metafy_line()/unmetafy_line() problems 2006-10-30 14:13:36 +00:00
Peter Stephenson
8f98285662 22765: rename some MB_ macros to WC_ for consistency. 2006-09-23 20:25:05 +00:00
Peter Stephenson
b477e24aa2 22727: "use 'exit' to exit" was suboptimal 2006-09-17 17:42:56 +00:00
Peter Stephenson
b726ead94e 22676, 22678: extend sched and make it able to run events when waiting for
input
2006-09-10 15:24:26 +00:00
Peter Stephenson
50e9ab122b 22556: Multibyte separators and delimiters 2006-07-24 22:00:19 +00:00
Peter Stephenson
dd5602f59b 22474: use variable argument lists to improve error message handling 2006-05-30 22:35:03 +00:00
Wayne Davison
fd240e09b0 Made implied "int" on new static variable explicit (which silences
gcc).
2006-05-30 21:21:07 +00:00
Peter Stephenson
09aaf50cda 22464: bad recursion if error in prompt substitution 2006-05-26 22:43:51 +00:00
Peter Stephenson
949f5b6dee 22431: set WIDGET etc. more consistently when executing zle functions 2006-04-25 15:00:25 +00:00
Wayne Davison
4cb83571c4 Changed some structures to avoid gcc's type-punned warnings. 2006-03-07 21:30:36 +00:00
Wayne Davison
542797377a - When mbrtowc() returns -2 when given all the remaining chars in a
string, set an end-of-line flag and avoid calling mbrtowc() again
  for any of the incomplete characters that remain in the string.
- Use "mbs" for the multi-byte state variable name (for consistency).
- Use the new MB_INVALID and MB_INCOMPLETE defines for the size_t
  -1 and -2 values (respectively).
2006-01-12 00:51:50 +00:00
Wayne Davison
4ffa433443 The return value of mbrtowc() is a size_t (unsigned), so don't
assign it to an int and then check if it's < 0, as that won't
work on a system where an int is larger than a size_t.
2006-01-11 19:42:40 +00:00
Peter Stephenson
e66af50a98 22014: argument-base, insert-unicode-char 2005-11-24 10:25:33 +00:00