summary refs log tree commit diff
path: root/Src/params.c
Commit message (Collapse)AuthorAgeFilesLines
* 37080: use paramtab abstraction more consistently, add explanatory commentsBarton E. Schaefer2015-11-081-2/+4
|
* unposted (after 37018): Fix typo in error message.Daniel Shahaf2015-10-301-1/+1
|
* 37018: Make WARNCREATEGLOBAL more consistent.Peter Stephenson2015-10-291-13/+39
| | | | | Wd don't need separate math handling any more, and can make it output the function name in all cases.
* 37014: Improved internal parameter setting.Peter Stephenson2015-10-291-2/+51
| | | | | | | | Enhance WARNCREATEGLOBAL to work in many more cases. Don't create REPLY as an integer if it didn't previously exist as one, even if the value to be set is integral, as this is likely to mess up later uses of REPLY.
* 36780: Fix crash in ksh mode with -n and $HOME.Peter Stephenson2015-10-061-6/+7
| | | | If home variable is NULL ensure HOME is unset.
* 36347: Fix appending empty array to associationsMikael Magnusson2015-09-011-3/+6
|
* 35826: add getsparam_u() to return unmetafied string, use it for a number of ↵Barton E. Schaefer2015-07-221-7/+16
| | | | references to non-special params
* 35581, 35582: output array assignments with spaces inside the parensBarton E. Schaefer2015-07-221-3/+9
|
* 35799: with NO_EXEC, parse parameter subscript expressionsBarton E. Schaefer2015-07-151-7/+15
|
* 35476: Allow setting $0 when POSIX_ARGZERO is not setMikael Magnusson2015-06-171-1/+16
|
* 35231: make mkevnstr() safe for NULL valueBarton E. Schaefer2015-05-201-5/+9
|
* 35059: fix, document, test readonly -p.Peter Stephenson2015-05-081-70/+108
| | | | | | Don't output specials as can't be reconstructed. Output arrays in a useful order.
* 35054: readonly -p + POSIXBUILTINS fix.Peter Stephenson2015-05-071-2/+13
| | | | Now displays unset variables marekd readonly
* 34992: POSIX fix for readonly variables.Peter Stephenson2015-04-291-1/+5
| | | | | With POSIXBUILTINS, variables can be marked readonly if unset. Also, variables can't have the readonly flag removed.
* 34430: parameter fixes for gdbm tied hash.Peter Stephenson2015-01-291-2/+25
| | | | | | | | Probably fix the issue with correct parameter hiding or not hiding. A little extra safety checking. Possibly fixed a memory leak with untying.
* 34322: bug with interface to parsestr() etc.Peter Stephenson2015-01-181-1/+2
| | | | | | | Was showing up in places like ${(e)...} where command substitution could reallocate the token string, but actually there was never any guarantee that the lexer wouldn't do that, so this was always a bit iffy.
* 34015: disallow strange environment variable names.Peter Stephenson2014-12-191-16/+23
| | | | | These are ones with the top bit set in any character. Don't import them, and don't export them.
* 34008: metafy the environment on arrival in the shellPeter Stephenson2014-12-181-1/+1
|
* 34006: unmetafy anything put into the environmentPeter Stephenson2014-12-181-1/+11
|
* 33876: etc.: Separate errors and keyboards interruptsPeter Stephenson2014-12-111-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* 33276: safer import of numerical variables from environmentPeter Stephenson2014-09-291-8/+31
|
* 32634: add POSIX_ARGZERO optionBarton E. Schaefer2014-06-011-1/+15
|
* unposted: use DIGBUFSIZE for pipestatus numeric bufferPeter Stephenson2014-05-291-1/+1
|
* 32337: change initialization of some special parameters for emulation ↵Barton E. Schaefer2014-02-021-8/+9
| | | | compatibility
* 32299: add use of underscores on arithmetic output for spacingPeter Stephenson2014-01-231-4/+147
|
* 32208: always reset pathchecked when the path array is modifiedBarton E. Schaefer2013-12-301-2/+6
|
* 32157: fix extra line feed after prompt, and erased character in completion ↵Barton E. Schaefer2013-12-181-0/+3
| | | | listing, when ZLE_RPROMPT_INDENT=0
* 31772: queue_signals() to prevent re-entry into endparamscope().Barton E. Schaefer2013-09-261-0/+2
|
* 30530,30533: fix problems with COLUMNS or LINES < 1, and related issuesBart Schaefer2012-06-271-1/+1
|
* 30455: remove max array length testPeter Stephenson2012-04-251-0/+13
|
* 30431 with typo in _typeset fix:Peter Stephenson2012-04-221-1/+1
| | | | add ${...:|...} and ${...:*...} operators, as documented
* 30391: tweak to ignore DISABLED flag in new hash-based arrayuniq()Peter Stephenson2012-04-131-1/+1
|
* 30383, users/16991 (Vaclav), users/17000: Improve speed of arrayuniq() byBart Schaefer2012-04-101-3/+89
| | | | implementing a hash seive algorithm; add test to exercise it.
* 30351 + 30352: metafy strings on import into zsh variablesPeter Stephenson2012-03-131-16/+18
|
* 30098: Jun T.: alternative to 30079: don't setlocale() in setlang() if ↵Peter Stephenson2012-01-071-3/+4
| | | | LC_ALL set
* 30079: Src/params.c: Restore `LC_ALL' when setting `LANG'.Frank Terbeck2012-01-041-0/+3
|
* fix tests using zsh/datetime that I brokePeter Stephenson2011-08-111-3/+15
|
* 29626: arguments to anonymous functions shouldn't be parsed as command wordsPeter Stephenson2011-07-281-0/+1
|
* 29491: remove some variables set but not usedPeter Stephenson2011-06-191-4/+9
|
* 29307, 29308 + replies: Fix some doubled words in docs and comments.Mikael Magnusson2011-05-191-1/+1
|
* 29191 (Danek) and 29203 (with fixes): make TERMINFO variable special.Peter Stephenson2011-05-101-5/+44
|
* 29165: use term.h globally if needed at all.Peter Stephenson2011-05-091-6/+6
|
* 28630: Ricky Zhou: fix crash with isident()Peter Stephenson2011-01-161-0/+2
| | | | 28634: add test
* unposted: fix return types in 28617Peter Stephenson2011-01-111-2/+2
|
* 28617: NO_EXEC option was doing too much work inPeter Stephenson2011-01-101-0/+18
| | | | parameter subscripting, parameter assignment, and globbing
* users/15662: array slice assignment with one index positive and one negative.Bart Schaefer2010-12-211-2/+2
|
* 28418: add ${NAME:OFFSET:LENGTH} substitutionPeter Stephenson2010-11-181-2/+2
|
* 28384: improve error message on assignment to a field of a read-only hash.Bart Schaefer2010-11-031-1/+8
| | | | CVS ----------------------------------------------------------------------
* 28339: backslash-newline history without HIST_LEX_WORDSPeter Stephenson2010-10-101-2/+15
| | | | 28340: assignment to range of scalar variable with multibyte characters
* 28220 plus some comments: fix "HELLO=$HELLO shellfunc"Peter Stephenson2010-08-311-9/+18
|