Peter Stephenson
cc6e9db29d
33047: use git to simplify massively source distribution file selection
2014-08-23 21:01:58 +01:00
Miles Ohlrich
22ee3a4fd9
32958: bitwise logic fix
2014-08-04 14:35:10 -07:00
m0viefreak
f5fe52c495
32600: in _arguments, "-" is not an option letter after another "-"
2014-05-08 14:24:31 +01:00
Barton E. Schaefer
31e2ae380a
32540: in doexpandhist(), discard saved line position data rather than restoring from it (updates 32531).
2014-04-13 01:26:07 -07:00
Barton E. Schaefer
f61037a0b0
32531: fix memory leaks detected by valgrind
2014-04-06 09:55:49 -07:00
m0viefreak
cd2eb07a78
m0viefreak: users/18655,18657,18660: assorted auto-removable suffix fixes
...
Src/Zle/compresult.c, Src/Zle/zle_misc.c, Src/Zle/zle_refresh.c: fix
auto-removable suffix highlighting
Completion/Unix/Command/_git: fix compadd for auto-removable suffix in
_git_commit_ranges and _git_stash
2014-03-23 13:02:12 -07:00
Jun T
ba44ba6e6f
32480: Fix crash in vi mode with too few previous changes
2014-03-13 16:29:19 +00:00
Oliver Kiddle
f62bd9c06c
32450: make get-line widget set the history number that was saved with the line
2014-03-03 12:17:28 +01:00
Oliver Kiddle
97115e0e7f
32448: fix seg fault if $WIDGET is accessed after recursive-edit is interrupted
2014-03-03 12:14:01 +01:00
Oliver Kiddle
b5fcc04f0e
32436: allow = to be used in ZLS_COLORS patterns if it is quoted or inside parentheses
2014-03-03 11:57:56 +01:00
Barton E. Schaefer
7e04c1a53d
32427: avoid busy loop on closed descriptors for "zle -F" handlers
...
Also assure the handlers are called on error conditions and document the
extra argument that is passed in the error case.
2014-02-23 18:14:12 -08:00
Oliver Kiddle
90916c4e08
32361: don't reset lastline before completion
2014-02-14 22:51:33 +01:00
Barton E. Schaefer
ba58bfe4bf
32365: another stab at the heuristic for initializing rprompt_indent
2014-02-08 14:49:39 -08:00
Oliver Kiddle
e1bc9d0a44
32342: fix overstrike for vi mode and use varying vi commands at line start
2014-02-05 21:55:18 +01:00
Oliver Kiddle
2cd3b9ab74
32334 (modified so KEEPSUFFIX is unchanged for vi-cmd-mode; based on
...
Jun T: 32324, 32330), 32347, Jun T: 32344, 32349:
add split-undo zle widget for configurable breaks in undo sequence
2014-02-05 21:45:19 +01:00
Barton E. Schaefer
620b915c4e
Fix leading whitespace in a comment
2014-02-02 13:37:36 -08:00
Barton E. Schaefer
3882c30f80
32340: improve error messages for "read -c" / "read -l"
2014-02-02 13:28:41 -08:00
Oliver Kiddle
a8c4ed64ee
32314: merge undo events corresponding to vi change in the vi-cmd-mode widget so undo from insert mode is useful again
2014-01-31 14:03:47 +01:00
Peter Stephenson
584ea88811
32303: simplistic completion after $x:
2014-01-28 19:14:30 +00:00
Peter Stephenson
c56f5aed59
32308: Improve initialising of vi change.
...
Better handling when entering viins on entry to editor.
Slightly changed since post to use vi command a.
2014-01-28 16:12:41 +00:00
Barton E. Schaefer
1584318b97
32283: fix crash in menu selection when number of terminal lines is small
2014-01-18 12:32:21 -08:00
Carl Drougge
60372fbda6
32196: copy-prev-shell-word needs a lexer flag
2014-01-02 20:49:04 +00:00
Barton E. Schaefer
1136b9b296
32182: re-enable command completion after a separator
2013-12-25 16:24:27 -08:00
Barton E. Schaefer
9cacf4411f
32157: fix extra line feed after prompt, and erased character in completion listing, when ZLE_RPROMPT_INDENT=0
2013-12-18 23:45:20 -08:00
Patrick Oscity
977f9ff5c8
32114: ZLE_PROMPT_INDENT allows you to move rprompt flush right
2013-12-16 21:35:21 +00:00
Peter Stephenson
2fc2bb7c17
31961: rationalise fd watching to use structure
2013-11-12 20:41:06 +00:00
Peter Stephenson
f77a7a5b18
31937: zle -Fw uses widget semantics for file descriptor handler
2013-11-07 15:19:07 +00:00
Peter Stephenson
cbe9371023
31922: zlecharasstring missed flip of bit 5 after Meta
2013-10-28 17:51:38 +00:00
Peter Stephenson
7a5b85292a
31882: Insulate completion widget against environment.
...
Prevents change in pipestatus leaking back out.
2013-10-24 17:49:37 +01:00
Barton E. Schaefer
75fdec17b1
31784: better line width calculation for completion listings
...
When deciding whether there is enough horizontal space to show completion
descriptions for each match in a listing, treat the separator as part of
the description rather than as part of the match, and account for lines
that have already wrapped due to very long matches.
2013-10-03 15:59:52 -07:00
Barton E. Schaefer
ea30fdaf25
31781: "compdescribe -i" clears the completion list column padding width
2013-10-03 14:52:54 -07:00
Peter Stephenson
0ed3c5ccd0
31765: If zle starts in viins mark as insertion.
...
This allows undo to work on everything entered.
2013-09-25 18:42:59 +01:00
Barton E. Schaefer
61deff76f2
31737: same loop counter fix in get_cadef as get_cvdef.
2013-09-19 07:55:53 -07:00
Axel Beckert
844e569b63
31735: fix off-by-one in completion utility cache code.
...
Was causing crashes in complex completions, particularly with taskwarrior
2013-09-19 09:45:45 +01:00
Peter Stephenson
8ae8fae400
31644: Fix insertion of multibyte characters into editor line.
...
This was broken for a string that came from outside ZLE in the case
where the editing buffer wasn't metafied, i.e. not in completion.
2013-08-08 20:10:06 +01:00
Peter Stephenson
0b185e3dcd
users/17908: Keep history line in sync between ZLE and shell.
...
Update ZLE version if history is read, pushed or popped with ZLE active
2013-08-08 19:48:11 +01:00
Peter Stephenson
568e0db7a9
31611: attempt to fix crash completing redirection in do loop
2013-08-02 18:58:35 +01:00
Mikael Magnusson
d904e85904
31483: Call zrefresh() before unqueue()ing signals
...
Not doing so causes problems for example with this .zshrc
zle -N zle-line-init foo
zle -N set-local-history bar
foo() { zle set-local-history -n 1 }
bar() { zle reset-prompt }
2013-06-27 13:02:23 +02:00
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
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
Peter Stephenson
b6f704a642
Jun. T: typo in vi-goto-mark
2013-04-02 16:20:28 +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
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
eb562c9f2c
30715: use enum lextok for variables containing lexical tokens
2012-10-05 21:35:05 +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
1c0ed3b498
Aaron Scrab: 30604: make repeating vi skip character useful by ignoring
...
character just matched
2012-08-13 08:47:13 +00:00
Peter Stephenson
3e39278c24
Aaron Schrab: 30603: repeating vi skip characters command caused bad position
2012-08-13 08:44:05 +00:00