Jun-ichi Takimoto
ca3bc0d95d
37838: use UNUSED() consistently
2016-01-30 00:26:23 +09:00
Barton E. Schaefer
572f8c85ab
37810: repair handling of backslashes and of names starting with "+"/":"/"=" in zparseopts option specs
2016-01-27 22:10:38 -08:00
Barton E. Schaefer
8ddcdad0c1
37802: Clarify zparseopts documention. zparseopts "X::" specifier should also look for the optional argument in the word after "-X".
2016-01-27 22:10:38 -08:00
Peter Stephenson
f454ee26a8
35114: zformat -a multibyte char widths
2015-05-13 21:02:48 +01:00
Peter Stephenson
d067ebcacd
33876: etc.: Separate errors and keyboards interrupts
...
Combination of 12 commits from interrupt_abort branch.
Basic strategy is to introduce bits to errflag and to set and
reset them separately.
Remove interrupt status on return to main keymap.
Turn off ERRFLAG_INT for always block.
Restore bit thereafter: we probably need a new variable in order
to allow user interrupts to be reset in the always block.
Add TRY_BLOCK_INTERRUPT
This works the same as TRY_BLOCK_ERROR, but for a SIGINT, too.
Ensure propagation of SIGINT from exited job.
If received by foreground job, shell uses ERRFLAG_INT, not
ERRFLAG_ERROR, to set the new state.
Reset errflag before precmd()
Add always block in _main_completion to fix ZLS_COLORS
Ensures we get the right state of $ZLS_COLORS at the end of _main_complete
even if there's an interrupt. However, the "right state" is a bit messy
as it depends on styles.
2014-12-11 09:41:17 +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
Barton E. Schaefer
956d35ef12
32388: zparseopts -K preserves individual associative array elements
2014-02-15 13:49:26 -08:00
Bart Schaefer
86b900ad97
29312, users/16032: add "zparseopts -M"
2011-05-18 00:23:00 +00:00
Peter Stephenson
9ecfa0842b
unposted: fix typo in previous commit
2010-05-12 10:17:58 +00:00
Peter Stephenson
09960dc5b9
27951: Add $ZSH_EVAL_CONTEXT and $zsh_eval_contxt
2010-05-12 10:06:59 +00:00
Peter Stephenson
59dd1491c6
users/13295, tweaked: dont reset line numbers when parsing strings, sometimes
2008-09-29 08:46:21 +00:00
Peter Stephenson
1b52f47cf2
23665: autoloading of module features and related tweaks
2007-07-06 21:52:38 +00:00
Peter Stephenson
f1d2fddeca
23537: make style list a hash table
2007-06-08 13:58:40 +00:00
Peter Stephenson
b0c5f09169
see 23479: add initial features support for modules
2007-05-28 22:57:39 +00:00
Peter Stephenson
1217d5a66d
22650: remove now buggy pointer to last added style
2006-08-20 22:07:06 +00:00
Peter Stephenson
48fb5eabfb
22683: deleting style in context never removed style itself
2006-08-20 17:04:58 +00:00
Peter Stephenson
72f362cf2c
22610: allow zstyle -L to have arguments
2006-08-16 09:06:39 +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
87f010ec1a
Use idigit() instead of range-checking '0' - '9'.
2005-10-31 18:22:40 +00:00
Wayne Davison
fb0937a69e
Marked unused parameters with the new UNUSED() macro.
2004-06-02 22:14:25 +00:00
Peter Stephenson
7b60aae9f3
18616: Add ternary expression handling to zformat
2003-06-19 19:43:00 +00:00
Peter Stephenson
9634760d5e
17582: Improved option argument handling.
...
unposted: Updated version to 4.1.0-dev-6 because of interface change.
2002-08-27 21:10:30 +00:00
Peter Stephenson
f60279ae24
17516, 17517: Attempted fixes for memory leaks shown by valgrind.
...
First with zstyle patterns, second with pwd in job structure.
2002-08-08 10:43:50 +00:00
Sven Wischnowsky
f630c8abf4
remove one half of 17029; the part for zstyle wasn't right (17035)
2002-04-25 07:33:34 +00:00
Sven Wischnowsky
ed98c0bed8
fix two memory leaks (found by Felix): pre-compiled patterns when re-defining styles and compredirs-copies in comp_wrapper() (17029)
2002-04-24 07:59:17 +00:00
Peter Stephenson
003ec8c7e8
15327: always use local LINENOs in parse_string().
2001-07-09 16:05:13 +00:00
Sven Wischnowsky
757168e2c8
remove 13108 (trap queues); replace with signal queueing to ensure that user signal handlers are only executed when it is safe to run them (13365)
2001-01-16 13:44:18 +00:00
Sven Wischnowsky
0b892d4492
zstyle -e option; change math-styles to boolean ones; change defaults for _expand styles (11937)
2000-06-16 07:31:09 +00:00
Sven Wischnowsky
9bb23440d2
-K option for zparseopts to keep previous array values (11792)
2000-06-07 07:38:02 +00:00
Sven Wischnowsky
00772b72a7
add -E option to zparseopts (11530)
2000-05-23 13:18:36 +00:00
Sven Wischnowsky
c955b76cc5
remove -h option from zstyle (11490)
2000-05-22 09:32:32 +00:00
Sven Wischnowsky
8ef89cd54d
zparseopts should detect if it is called without option descriptions (11360)
2000-05-15 08:04:09 +00:00
Tanaka Akira
3e7a2a41bc
11165: Completion/Base/_regex_arguments, Completion/Debian/_apt,
...
Completion/X/_xset, Completion/X/_xwit, Doc/Zsh/compsys.yo,
Src/Modules/zutil.c: _regex_arguments support tag stuff.
2000-05-04 20:16:09 +00:00
Tanaka Akira
9141828e71
Initial revision
1999-12-10 14:48:04 +00:00