summaryrefslogtreecommitdiff
path: root/Src/zsh.h
AgeCommit message (Collapse)AuthorFilesLines
2015-06-24various posts: Implement assignment parsing for typeset.Peter Stephenson1-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.
2015-06-12Add non-metafied character length handling.Peter Stephenson1-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.
2015-06-0535386: expand tabs where useful in builtins outputing function.Peter Stephenson1-3/+6
Also add to zed -f. Option is -x <numm>.
2015-05-1135078: Add backslash quoting to parameter (b) flag from 35067.Peter Stephenson1-1/+1
2015-05-1035067: Add (b) parameter flag for pattern char backslashing.Peter Stephenson1-0/+10
Doc tweak from Daniel in 35071. Includes test.
2015-05-10Don't treat NUL as a combining characterMikael Magnusson1-2/+2
2015-03-2634784: fix old bug with history word selectionPeter Stephenson1-2/+3
2015-03-2534776: improve suppression of alias expansions from history.Peter Stephenson1-1/+0
Now uses the mechanism in use for other forms of suppression of sections of input.
2015-02-1934570: Another nasty command / math substituion thing.Peter Stephenson1-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.
2015-02-1634560: Fix $(( that's actually a multiline cmd subst.Peter Stephenson1-0/+1
2015-01-1134234: use structures for normal and raw lexical buffer statePeter Stephenson1-6/+23
2015-01-09Rearrange context saving.Peter Stephenson1-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.
2015-01-08Fix command substitutions to parse contents as they are read in.Peter Stephenson1-0/+9
Do this by refactoring misnamed lexsave()/lexrestore() to allow continuity of history and input. Add test.
2014-12-1133876: etc.: Separate errors and keyboards interruptsPeter Stephenson1-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.
2014-11-0833655: remove overlap of node flagsPeter Stephenson1-3/+3
2014-09-2933285: apply function definition redirections at executionPeter Stephenson1-0/+1
2014-09-2933276: safer import of numerical variables from environmentPeter Stephenson1-1/+2
2014-06-1332768 with further modifications: LOCAL_LOOPS option.Peter Stephenson1-0/+1
2014-06-0632682 with tweaks: Add INC_APPEND_HISTORY_TIME.Peter Stephenson1-0/+1
Revert INC_APPEND_HISTORY behaviour.
2014-06-0132634: add POSIX_ARGZERO optionBarton E. Schaefer1-0/+1
2014-03-0132412 / 32415: New giga- and terabyte units for glob qualifiersManuel Presnitz1-3/+26
2013-12-1632136: fix problem with kshglob.Peter Stephenson1-1/+5
Non-pattern characters that could be followed by "(" to introduce a ksh glob but weren't caused failures.
2013-10-1731830: New feature for zshaddhistory hooks.Peter Stephenson1-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.
2013-10-06users:18023: Add PIPEFAIL optionPeter Stephenson1-0/+1
2013-08-08users/17908: Keep history line in sync between ZLE and shell.Peter Stephenson1-1/+2
Update ZLE version if history is read, pushed or popped with ZLE active
2013-07-2131549: Fix third problem with file descriptor management.Peter Stephenson1-1/+0
Replace ad-hoc subsh_close file descriptor for pipe management with the new job-based addfilelist() mechanism.
2013-07-1731528: use job table to record file descriptors associated with process substPeter Stephenson1-3/+16
2013-06-1331444: Basic code for enable/disable -pPeter Stephenson1-0/+16
2013-06-0131441: use array to decide which forms of pattern are enabledPeter Stephenson1-1/+39
2013-03-05users/17665: add FORCE_FLOAT optionPeter Stephenson1-0/+1
2012-11-1530789: Add CONTINUE_ON_ERROR for old behaviour.Peter Stephenson1-0/+1
New behaviour is for scripts to exit on error instead of returning to top level and executing the next command.
2012-10-1130726: make shell options passed to emulate stick along with the emulationPeter Stephenson1-1/+29
2012-10-0530715: use enum lextok for variables containing lexical tokensPeter Stephenson1-1/+1
2012-08-23Jun T.: 30640: MacOS doesn't define __STDC_ISO_10646__ but we needPeter Stephenson1-1/+8
the replacement wcwidth function anyway
2012-08-2130633: "functions -T" only traces marked function, not called functionsPeter Stephenson1-0/+1
2012-08-16Hiramatsu Yoshifumi: 30621 patch-ab (from NetBSD pkgsrc):compilation onPeter Stephenson1-0/+2
__INTERIX
2012-08-07YAMAMOTO Takashi: 30599: don't use replacement wcwidth if not ISO-10646Peter Stephenson1-1/+1
2012-02-1230181, plus rename of PF_* flags to PREFORK_*:Peter Stephenson1-3/+12
Pass sh-wordsplitting instructions to paramsubst() using flags, avoiding side effects of explicitly setting and unsetting the SHWORDSPLIT option.
2012-01-0830101: add HASH_EXECUTABLES_ONLY optionPeter Stephenson1-0/+1
2011-12-0829955++: IGNORE_CLOSE_BRACES optionPeter Stephenson1-0/+1
2011-08-1429677: Do not allow external processes in a pipeline to become suspendedBart Schaefer1-0/+2
when the end of the pipe is controlled by a builtin in the current shell which cannot itself become suspended.
2011-05-1429276: always typedef Heapid for use by auto-generated header files.Bart Schaefer1-1/+2
2011-05-1429267: add -enable-zsh-debug and use for debugging completion matcher groupsPeter Stephenson1-0/+60
2011-01-1928638: add $usergroups parameterPeter Stephenson1-0/+17
2011-01-0628578: fix handling of numeric escapes that expand to "%" in printfBart Schaefer1-3/+8
format strings, so they are not treated as format introducers.
2010-12-14lexsave/lexrestore lexflagsPeter Stephenson1-3/+9
add new LEXFLAGS_ZLE
2010-12-1428528: Rearrange zleparse to lexflagsPeter Stephenson1-0/+28
Add (z+n+)
2010-11-2228424: new POSIX_STRINGS optionPeter Stephenson1-0/+1
2010-10-0228308/28310: HIST_LEX_WORDS, check for quick history readPeter Stephenson1-0/+1
2010-09-1428259: Finally fix some ancient problems with here-documentsPeter Stephenson1-1/+5