Peter Stephenson
b5198b10a1
32768 with further modifications: LOCAL_LOOPS option.
2014-06-13 21:39:44 +01:00
Jun T
e6d7d7b013
32767: another spot to tweak bracechardots()
2014-06-11 10:19:24 -07:00
Barton E. Schaefer
d1da134c63
32766: bracechardots() agrees with xpandbraces() about what constitutes a {C1..C2} pattern, thus preventing crash
2014-06-10 23:52:38 -07:00
Jun T
e1fbf76de0
32765: fix build when not MULTIBYTE_SUPPORT
2014-06-10 23:46:15 -07:00
Nikolas Garofil
4f4d2b8247
32737, 32736 (32741), 32735, 32734, 32733, 32732 (32739): Strict compilation
...
fixes
Src/utils.c: properly ifdef declarations
Src/zsh_system.h: memmove() should return its dest argument
Src/signals.c: define ret before use
Src/mem.c: remove unused pointers
Src/prototypes.h: use size_t in bcopy()
Src/compat.c: fix const declaration inconsistency
2014-06-07 13:48:40 -07:00
Peter Stephenson
7f6dc0fe8e
32682 with tweaks: Add INC_APPEND_HISTORY_TIME.
...
Revert INC_APPEND_HISTORY behaviour.
2014-06-06 21:56:47 +01:00
Barton E. Schaefer
32756f78af
32723: add braces around some if/else branches
2014-06-05 21:10:23 -07:00
Barton E. Schaefer
c41287b318
32716: properly test iconv return values for error conditions
2014-06-05 08:57:40 -07:00
Daniel Shahaf
69378db3c5
32708: glob qualifier (Y) implies (oN)
...
plus incidental patch to avoid adding a meaningless bitvalue to sort-order flags
2014-06-04 22:47:20 -07:00
Daniel Shahaf
9381bb6a2d
32694: the number of matches to find is the suffix argument of (Y) qualifier
2014-06-03 23:46:07 -07:00
Peter Stephenson
4664dad925
unposted: restore cond_match() in case used in add-on module
2014-06-03 09:53:02 +01:00
Barton E. Schaefer
b3e5284f13
36526: when __APPLE__ is defined at compile, normalize Unicode filenames in zreaddir()
2014-06-02 07:26:50 -07:00
Daniel Shahaf
06a4913245
users/18870: fix glob scanner insert counting check.
...
Was causing problems with globs in paths with (Y) glob qualifier
2014-06-02 14:32:51 +01:00
Barton E. Schaefer
19f3161e51
32634: add POSIX_ARGZERO option
2014-06-01 15:01:37 -07:00
Daniel Shahaf
10ae77c0cf
users/18857: add (Y) glob qualifier to generate only one match per pattern
2014-06-01 14:18:21 -07:00
Peter Stephenson
501f2003a8
32640: (#q) in [[ ... ]] forces globbing
2014-06-01 20:55:39 +01:00
Peter Stephenson
880020ca2e
32624: use correct scaling factor (clock ticks) for times
2014-05-29 21:40:33 +01:00
Peter Stephenson
1cc3424cbe
unposted: use DIGBUFSIZE for pipestatus numeric buffer
2014-05-29 20:17:30 +01:00
Jun T
d082827c83
32616: bad printf arguments for limits
2014-05-18 18:23:16 +01:00
Barton E. Schaefer
9d47e8398d
32609: [[ $var ]] behaves as [[ -n $var ]] for bash/ksh compatibility
...
Also restore ksh [ -t ] compatibility when POSIX_BUILTINS is not set, and
allow operators defined by modules to be called with no arguments, although
this affects only runtime interpretation, not parsing.
2014-05-13 08:16:50 -07:00
m0viefreak
f5fe52c495
32600: in _arguments, "-" is not an option letter after another "-"
2014-05-08 14:24:31 +01:00
Tomoki Sekiyama
0da28f323d
32592: add CORRECT_IGNORE_FILE variable
2014-04-29 10:44:09 +01:00
Barton E. Schaefer
979f72199f
32580: avoid indefinite wait in lockhistfile() by checking for lock file time stamp in the future
...
Also change behavior of HIST_FCNTL_LOCK to use only fcntl() locking, rather
than applying both kinds of lock.
2014-04-25 08:30:18 -07:00
Barton E. Schaefer
9da59238ff
32569: lastval ($?) should not be reset between word list substitution and loop body execution in for/select
...
Remove one other redundant and therefore confusing assignment to lastval.
2014-04-20 11:09:51 -07:00
Barton E. Schaefer
848badaa5f
32568: consistency in handling of errflag condition during substitutions
...
Affects for/select word lists, function definition name position, and
anonymous function argument lists.
2014-04-20 10:27:15 -07:00
Andrew Waldron
8189e12312
32552 (updated by 32560): fix segfault when using process substitution in anonymous function argument list
...
Also disallow process substitution in function name position.
2014-04-18 07:30:36 -07: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
Barton E. Schaefer
8672d19f0c
32500: handle interrupts during pattern matching
2014-03-20 07:56:30 -07:00
Peter Stephenson
a06cd1766a
32479: POSIXTRAPS and implicit return values.
...
With POSIXTRAPS never propagate implicit return value.
In any case if not forcing a return value don't use lastval
from within the trap, use the one from the surrounding code.
2014-03-14 12:52:41 +00:00
Jun T
ba44ba6e6f
32480: Fix crash in vi mode with too few previous changes
2014-03-13 16:29:19 +00:00
Barton E. Schaefer
38be9fe84a
32468: save/restore match/mbegin/mend when doing pattern lookups against zstyle contexts
2014-03-09 00:29:02 -08: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
Manuel Presnitz
973e5dc37d
32412 / 32415: New giga- and terabyte units for glob qualifiers
2014-03-01 19:08:17 +00: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
Peter Stephenson
73db206838
32414: improved error message for missing delimiters.
...
For glob qualifiers "u" and "g".
2014-02-19 15:34:17 +00:00
Barton E. Schaefer
956d35ef12
32388: zparseopts -K preserves individual associative array elements
2014-02-15 13:49:26 -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
71b235bfa7
32341: heuristic initialization of ZLE_RPROMPT_INDENT
2014-02-02 14:07:23 -08: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
Barton E. Schaefer
f3e7cfe47c
32337: change initialization of some special parameters for emulation compatibility
2014-02-02 13:16:16 -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