about summary refs log tree commit diff
path: root/Src/Modules/zutil.c
Commit message (Collapse)AuthorAgeFilesLines
* 48432 and enable test: fix quotiing of zstyle -L for zstyle -ePeter Stephenson2021-04-091-1/+2
|
* 47905: Add leading '-' to zparseopts option parsing errorsJoshua Krusell2021-02-131-4/+4
|
* 47899: Improve error message from zparseopts.Joshua Krusell2021-02-031-1/+4
|
* 45737 (+ docs, and update the test from 45722): zstyle: When determining the ↵Daniel Shahaf2020-05-021-2/+11
| | | | weight (specificity) of a pattern, consider the number of components before anything else, as documented.
* 45137: zformat: Allow the specifying minimum width and a dot with an empty ↵Daniel Shahaf2019-12-261-2/+1
| | | | | | | | | | maximum width. Before this commit, format specs such as '%5.s' would be printed literally. Now, they are treated as equivalent to '%5s'. The '.' character is not allowed to be used in specs, so there is no incompatibility.
* 45138: Add zformat unit tests.Daniel Shahaf2019-12-261-3/+3
|
* unposted: zstyle: Add a unit test and some comments.Daniel Shahaf2019-12-011-3/+16
|
* 44100: zparseopts: Add -F option, completion, tests; improve documentationdana2019-03-121-1/+13
| | | | | | | * Enable zparseopts to perform basic usage validation (aborting on an unrecognised option-like parameter) * Officially document the resolution of ambiguous option specs
* 40453: signal handler safety for callers of patcompile(PAT_STATIC), which is ↵Barton E. Schaefer2017-01-291-3/+17
| | | | not re-entrant.
* 38971: Start using the new arrlen_ge() / arrlen_le() helpers.Daniel Shahaf2016-08-011-2/+2
|
* 37838: use UNUSED() consistentlyJun-ichi Takimoto2016-01-301-1/+1
|
* 37810: repair handling of backslashes and of names starting with "+"/":"/"=" ↵Barton E. Schaefer2016-01-271-7/+10
| | | | in zparseopts option specs
* 37802: Clarify zparseopts documention. zparseopts "X::" specifier should ↵Barton E. Schaefer2016-01-271-2/+4
| | | | also look for the optional argument in the word after "-X".
* 35114: zformat -a multibyte char widthsPeter Stephenson2015-05-131-0/+36
|
* 33876: etc.: Separate errors and keyboards interruptsPeter Stephenson2014-12-111-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* 32468: save/restore match/mbegin/mend when doing pattern lookups against ↵Barton E. Schaefer2014-03-091-55/+61
| | | | zstyle contexts
* 32388: zparseopts -K preserves individual associative array elementsBarton E. Schaefer2014-02-151-2/+41
|
* 29312, users/16032: add "zparseopts -M"Bart Schaefer2011-05-181-3/+68
|
* unposted: fix typo in previous commitPeter Stephenson2010-05-121-1/+1
|
* 27951: Add $ZSH_EVAL_CONTEXT and $zsh_eval_contxtPeter Stephenson2010-05-121-6/+7
|
* users/13295, tweaked: dont reset line numbers when parsing strings, sometimesPeter Stephenson2008-09-291-1/+1
|
* 23665: autoloading of module features and related tweaksPeter Stephenson2007-07-061-5/+5
|
* 23537: make style list a hash tablePeter Stephenson2007-06-081-122/+189
|
* see 23479: add initial features support for modulesPeter Stephenson2007-05-281-3/+24
|
* 22650: remove now buggy pointer to last added stylePeter Stephenson2006-08-201-8/+5
|
* 22683: deleting style in context never removed style itselfPeter Stephenson2006-08-201-14/+42
|
* 22610: allow zstyle -L to have argumentsPeter Stephenson2006-08-161-2/+34
|
* 22474: use variable argument lists to improve error message handlingPeter Stephenson2006-05-301-21/+21
|
* Use idigit() instead of range-checking '0' - '9'.Wayne Davison2005-10-311-6/+5
|
* Marked unused parameters with the new UNUSED() macro.Wayne Davison2004-06-021-6/+6
|
* 18616: Add ternary expression handling to zformatPeter Stephenson2003-06-191-75/+146
|
* 17582: Improved option argument handling.Peter Stephenson2002-08-271-5/+5
| | | | unposted: Updated version to 4.1.0-dev-6 because of interface change.
* 17516, 17517: Attempted fixes for memory leaks shown by valgrind.Peter Stephenson2002-08-081-0/+4
| | | | First with zstyle patterns, second with pwd in job structure.
* remove one half of 17029; the part for zstyle wasn't right (17035)Sven Wischnowsky2002-04-251-1/+0
|
* fix two memory leaks (found by Felix): pre-compiled patterns when ↵Sven Wischnowsky2002-04-241-0/+1
| | | | re-defining styles and compredirs-copies in comp_wrapper() (17029)
* 15327: always use local LINENOs in parse_string().Peter Stephenson2001-07-091-1/+1
|
* remove 13108 (trap queues); replace with signal queueing to ensure that user ↵Sven Wischnowsky2001-01-161-2/+11
| | | | signal handlers are only executed when it is safe to run them (13365)
* zstyle -e option; change math-styles to boolean ones; change defaults for ↵Sven Wischnowsky2000-06-161-41/+84
| | | | _expand styles (11937)
* -K option for zparseopts to keep previous array values (11792)Sven Wischnowsky2000-06-071-32/+44
|
* add -E option to zparseopts (11530)Sven Wischnowsky2000-05-231-10/+43
|
* remove -h option from zstyle (11490)Sven Wischnowsky2000-05-221-6/+1
|
* zparseopts should detect if it is called without option descriptions (11360)Sven Wischnowsky2000-05-151-1/+7
|
* 11165: Completion/Base/_regex_arguments, Completion/Debian/_apt,Tanaka Akira2000-05-041-230/+1015
| | | | | Completion/X/_xset, Completion/X/_xwit, Doc/Zsh/compsys.yo, Src/Modules/zutil.c: _regex_arguments support tag stuff.
* Initial revisionTanaka Akira1999-12-101-0/+761