summary refs log tree commit diff
path: root/Src/zsh.h
Commit message (Collapse)AuthorAgeFilesLines
* 35623: All is_array assignments should be treated as having a value.Peter Stephenson2015-06-271-5/+3
|
* various posts: Implement assignment parsing for typeset.Peter Stephenson2015-06-241-24/+63
| | | | | | | | | | | | Typeset assignments now work like raw assignments except for no "+=" and no GLOB_ASSIGN. Documented in typeset builtin doc and mentioned in release notes. Tests to ensure basic sanity. Enabled by default, can be turned off by "disable -r" with typeset family of commands.
* Add non-metafied character length handling.Peter Stephenson2015-06-121-1/+11
| | | | | | | Use this in regex module and add test using $'\ua0'. Rename mb_metacharinit() to mb_charinit() as it does not involve metafied characters.
* 35386: expand tabs where useful in builtins outputing function.Peter Stephenson2015-06-051-3/+6
| | | | | | Also add to zed -f. Option is -x <numm>.
* 35078: Add backslash quoting to parameter (b) flag from 35067.Peter Stephenson2015-05-111-1/+1
|
* 35067: Add (b) parameter flag for pattern char backslashing.Peter Stephenson2015-05-101-0/+10
| | | | | | Doc tweak from Daniel in 35071. Includes test.
* Don't treat NUL as a combining characterMikael Magnusson2015-05-101-2/+2
|
* 34784: fix old bug with history word selectionPeter Stephenson2015-03-261-2/+3
|
* 34776: improve suppression of alias expansions from history.Peter Stephenson2015-03-251-1/+0
| | | | | Now uses the mechanism in use for other forms of suppression of sections of input.
* 34570: Another nasty command / math substituion thing.Peter Stephenson2015-02-191-21/+23
| | | | | | Mark arithmetic substitutions with tokens to make sure the substitution go knows what to do. Before it was guessing by counting the parentheses at the end.
* 34560: Fix $(( that's actually a multiline cmd subst.Peter Stephenson2015-02-161-0/+1
|
* 34234: use structures for normal and raw lexical buffer statePeter Stephenson2015-01-111-6/+23
|
* Rearrange context saving.Peter Stephenson2015-01-091-0/+65
| | | | | | | Variables are now associated with the module that declares them, being initialised and saved/restored there. However, as many variables are used for communication between modules, many of them are set in multiple places, so the assignment is ambiguous.
* Fix command substitutions to parse contents as they are read in.Peter Stephenson2015-01-081-0/+9
| | | | | | | Do this by refactoring misnamed lexsave()/lexrestore() to allow continuity of history and input. Add test.
* 33876: etc.: Separate errors and keyboards interruptsPeter Stephenson2014-12-111-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* 33655: remove overlap of node flagsPeter Stephenson2014-11-081-3/+3
|
* 33285: apply function definition redirections at executionPeter Stephenson2014-09-291-0/+1
|
* 33276: safer import of numerical variables from environmentPeter Stephenson2014-09-291-1/+2
|
* 32768 with further modifications: LOCAL_LOOPS option.Peter Stephenson2014-06-131-0/+1
|
* 32682 with tweaks: Add INC_APPEND_HISTORY_TIME.Peter Stephenson2014-06-061-0/+1
| | | | Revert INC_APPEND_HISTORY behaviour.
* 32634: add POSIX_ARGZERO optionBarton E. Schaefer2014-06-011-0/+1
|
* 32412 / 32415: New giga- and terabyte units for glob qualifiersManuel Presnitz2014-03-011-3/+26
|
* 32136: fix problem with kshglob.Peter Stephenson2013-12-161-1/+5
| | | | | Non-pattern characters that could be followed by "(" to introduce a ksh glob but weren't caused failures.
* 31830: New feature for zshaddhistory hooks.Peter Stephenson2013-10-171-0/+1
| | | | | If the first non-zero return status is 2, save the line on the internal history list, but don't write it out.
* users:18023: Add PIPEFAIL optionPeter Stephenson2013-10-061-0/+1
|
* users/17908: Keep history line in sync between ZLE and shell.Peter Stephenson2013-08-081-1/+2
| | | | Update ZLE version if history is read, pushed or popped with ZLE active
* 31549: Fix third problem with file descriptor management.Peter Stephenson2013-07-211-1/+0
| | | | | Replace ad-hoc subsh_close file descriptor for pipe management with the new job-based addfilelist() mechanism.
* 31528: use job table to record file descriptors associated with process substPeter Stephenson2013-07-171-3/+16
|
* 31444: Basic code for enable/disable -pPeter Stephenson2013-06-131-0/+16
|
* 31441: use array to decide which forms of pattern are enabledPeter Stephenson2013-06-011-1/+39
|
* users/17665: add FORCE_FLOAT optionPeter Stephenson2013-03-051-0/+1
|
* 30789: Add CONTINUE_ON_ERROR for old behaviour.Peter Stephenson2012-11-151-0/+1
| | | | | New behaviour is for scripts to exit on error instead of returning to top level and executing the next command.
* 30726: make shell options passed to emulate stick along with the emulationPeter Stephenson2012-10-111-1/+29
|
* 30715: use enum lextok for variables containing lexical tokensPeter Stephenson2012-10-051-1/+1
|
* Jun T.: 30640: MacOS doesn't define __STDC_ISO_10646__ but we needPeter Stephenson2012-08-231-1/+8
| | | | the replacement wcwidth function anyway
* 30633: "functions -T" only traces marked function, not called functionsPeter Stephenson2012-08-211-0/+1
|
* Hiramatsu Yoshifumi: 30621 patch-ab (from NetBSD pkgsrc):compilation onPeter Stephenson2012-08-161-0/+2
| | | | __INTERIX
* YAMAMOTO Takashi: 30599: don't use replacement wcwidth if not ISO-10646Peter Stephenson2012-08-071-1/+1
|
* 30181, plus rename of PF_* flags to PREFORK_*:Peter Stephenson2012-02-121-3/+12
| | | | | | Pass sh-wordsplitting instructions to paramsubst() using flags, avoiding side effects of explicitly setting and unsetting the SHWORDSPLIT option.
* 30101: add HASH_EXECUTABLES_ONLY optionPeter Stephenson2012-01-081-0/+1
|
* 29955++: IGNORE_CLOSE_BRACES optionPeter Stephenson2011-12-081-0/+1
|
* 29677: Do not allow external processes in a pipeline to become suspendedBart Schaefer2011-08-141-0/+2
| | | | | when the end of the pipe is controlled by a builtin in the current shell which cannot itself become suspended.
* 29276: always typedef Heapid for use by auto-generated header files.Bart Schaefer2011-05-141-1/+2
|
* 29267: add -enable-zsh-debug and use for debugging completion matcher groupsPeter Stephenson2011-05-141-0/+60
|
* 28638: add $usergroups parameterPeter Stephenson2011-01-191-0/+17
|
* 28578: fix handling of numeric escapes that expand to "%" in printfBart Schaefer2011-01-061-3/+8
| | | | format strings, so they are not treated as format introducers.
* lexsave/lexrestore lexflagsPeter Stephenson2010-12-141-3/+9
| | | | add new LEXFLAGS_ZLE
* 28528: Rearrange zleparse to lexflagsPeter Stephenson2010-12-141-0/+28
| | | | Add (z+n+)
* 28424: new POSIX_STRINGS optionPeter Stephenson2010-11-221-0/+1
|
* 28308/28310: HIST_LEX_WORDS, check for quick history readPeter Stephenson2010-10-021-0/+1
|