Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-05-05 | 45772: Restore locale on parameter scope end. | Peter Stephenson | 1 | -0/+34 | |
Check if relevant parameters changes and if so restore system settings. | |||||
2020-01-23 | 45340: internal: Document the difference between paramtab and realparamtab. | Daniel Shahaf | 1 | -1/+7 | |
2019-12-18 | 45066: internal: Document forklevel, locallevel, and exit_pending. | Daniel Shahaf | 1 | -1/+5 | |
2019-12-11 | 45004: Fix typos in comments | Martijn Dekker | 1 | -1/+1 | |
2019-08-14 | 44664: Fix problem with temporary assignment. | Peter Stephenson | 1 | -1/+3 | |
"foo=bar builtin" inside a function lost any variable from enclosing scope. | |||||
2019-07-15 | 44509: Prevent crash with modified path / PATH combination. | Peter Stephenson | 1 | -4/+12 | |
Crash came from "fn() { typeset -U path=($path); unset PATH; }". Note PATH unset is global as only path was made local. | |||||
2019-05-20 | 44307: allow for atoi() returning a negative number | Oliver Kiddle | 1 | -3/+3 | |
2019-03-25 | 44164: Avoid stringop-truncation warning | Wesley Schwengle | 1 | -1/+1 | |
2018-10-08 | 43616: Various parameter setting and display fixes. | Peter Stephenson | 1 | -63/+109 | |
Mostly to do with typeset -p and tied variables and their interaction. Some general tied variable fixes. | |||||
2018-09-25 | 43546: "typeset -p" should show -U flag | Stephane Chazelas | 1 | -0/+7 | |
2018-08-09 | 43264: fix ${+assoc[nonexistent]} with KSH_ARRAYS | Peter Stephenson | 1 | -1/+1 | |
2018-05-14 | 42297: (e) subscript flag needs extra work with scalars | dana | 1 | -3/+17 | |
2018-05-13 | Nelson H. F. Beebe: 19597 (rebased 42369): return Inf, NaN etc from floating ↵ | Oliver Kiddle | 1 | -4/+12 | |
point operations instead of errors to allow non-stop IEEE 754 arithmetic | |||||
2018-04-07 | 42597: plug memory leak found by coverity | Oliver Kiddle | 1 | -1/+3 | |
2018-01-04 | Avoid crash copying empty hash table. | Stephane Chazelas | 1 | -4/+7 | |
Visible with typeset -p. | |||||
2017-10-02 | 41787 (plus minor tweaks): use $FUNCSTACK for function nesting depth. | Peter Stephenson | 1 | -0/+14 | |
Initialised from existing configuration value. | |||||
2017-10-01 | Add typeset -p1, like typeset -p with newlines | Peter Stephenson | 1 | -15/+38 | |
2017-09-27 | 41764 (test tweaked): allow [key]+=value when modifying arrays | Peter Stephenson | 1 | -7/+32 | |
2017-09-25 | 41747: Don't create hash entry if just checking existence. | Peter Stephenson | 1 | -3/+6 | |
Pass a flag in indicating this case. | |||||
2017-09-24 | Updates for ksh array element syntax. | Peter Stephenson | 1 | -65/+127 | |
Move detection of key/value pairs down into prefork(). Detect normal array assignment and [key]=val array assignemnt separately. Mark key / value pairs with Marker and pass up flag. Deal with marked triads specially later on. | |||||
2017-09-14 | More [key]=value tweaks | Peter Stephenson | 1 | -3/+5 | |
Some rephrasings. Update typeset -p for associative arrays to use new syntax. | |||||
2017-09-13 | First go at var=([key]=value) syntax. | Peter Stephenson | 1 | -0/+66 | |
Works for both normal and typeset case, also var+=... Still to do: allow to be mixed with straight array assignment, improve typeset -p, implement [key]+=value. | |||||
2017-06-05 | 41225: sethparam() should not attempt to change special parameters into hashes | Barton E. Schaefer | 1 | -6/+11 | |
2017-04-21 | 40990: Fix crash with bogus path in sh emaulation. | Peter Stephenson | 1 | -14/+37 | |
When startying in sh emulation don't link PATH-style parameters to array equivalents. To allow this to function, don't check for the linkage when exporting the colon-separated parameter. | |||||
2017-04-03 | 40932: Parameter subscripts need to count parentheses. | Peter Stephenson | 1 | -3/+8 | |
Otherwise they can terminate in the middle of an expression. | |||||
2017-03-08 | 40799: fix $- expansion partly broken by 40760 | Barton E. Schaefer | 1 | -1/+3 | |
2017-03-08 | 40745 + 40753: Fix 'unset ZLE_RPROMPT_INDENT' not restoring the default ↵ | Daniel Shahaf | 1 | -1/+19 | |
behaviour. To reproduce: RPS1=foo ZLE_RPROMPT_INDENT=42 unset ZLE_RPROMPT_INDENT | |||||
2017-03-04 | 40781: optimize array assignment, similar to 39995 for string assignment | Sebastian Gniazdowski | 1 | -15/+48 | |
2017-02-02 | 40486: Don't warn on creation of MATCH etc. in regex. | Peter Stephenson | 1 | -5/+32 | |
This because they are created implicitly rather than by explicit user request, so the warning may not be useful. | |||||
2017-02-01 | 40460: WARN_NESTED_VAR: Don't warn when assigning to a slice of an existing ↵ | Daniel Shahaf | 1 | -6/+13 | |
array | |||||
2017-01-26 | 40423: WARN_NESTED_VARS, conversion the other way | Peter Stephenson | 1 | -8/+8 | |
2017-01-26 | 40422: More WARN_NESTED_VAR cases. | Peter Stephenson | 1 | -8/+9 | |
Converting type when using a calling scope was broken in the original patch. | |||||
2017-01-25 | 40413: WARN_NESTED_VAR subscripted variable fix. | Peter Stephenson | 1 | -1/+5 | |
No warning needed on paramter that's created temporarily to help assignment. | |||||
2017-01-23 | 40391: Add WARN_NESTED_VAR option and functions -W. | Peter Stephenson | 1 | -23/+43 | |
These are companions to WARN_CREATED_GLOBAL, warning when a variable from an enclosing scope is altered. | |||||
2017-01-05 | 40270 (after 39995): Add cross-reference for robustness. | Daniel Shahaf | 1 | -0/+2 | |
2016-12-28 | 40231: Optimise setarrvalue(). | Sebastian Gniazdowski | 1 | -16/+34 | |
2016-12-03 | 40068: Abort execution when setuid/setgid fail. | Daniel Shahaf | 1 | -4/+4 | |
The incumbent code would print an error message and continue execution with the previous uid/gid values, not even setting lastval: % UID=42 id -u; echo $? zsh: failed to change user ID: operation not permitted 1000 0 % | |||||
2016-12-03 | 40067: internal: Document 'cmatcher', parse_cmatcher(), 'comptoend', ↵ | Daniel Shahaf | 1 | -1/+17 | |
unsetparam_pm(), and getindex(). | |||||
2016-11-29 | 40032: consistency in handling of subscript slices outside the bounds of an ↵ | Barton E. Schaefer | 1 | -2/+9 | |
array parameter unposted: README: example describing 40032 | |||||
2016-11-20 | 39900: Add TERMINFO_DIRS special like TERMINFO. | Guillaume Maudoux | 1 | -0/+31 | |
Although this is a colon-separated array there is no tied array. | |||||
2016-11-20 | 39995 (from 39977): Optimise string parameter assignment. | Peter Stephenson | 1 | -8/+31 | |
If setter is the standard one and string length is unchnaged we can copy into place. | |||||
2016-11-20 | 39992: setarrvalue: Allocate a correctly-sized array. | Daniel Shahaf | 1 | -2/+10 | |
No memory was lost; the array was allocated with room for one (char *) element more than was required. | |||||
2016-11-15 | 39937: fix a problem introduced by 39886. | Jun-ichi Takimoto | 1 | -3/+4 | |
$a[i,j] should become an empty array if i>j. | |||||
2016-11-10 | 39893: use arrdup_max() to show explicitly the difference in two code branches | Barton E. Schaefer | 1 | -3/+2 | |
no functional change | |||||
2016-11-11 | 39874/0001: setarrvalue: Remove needless initialization. | Daniel Shahaf | 1 | -2/+2 | |
2016-11-09 | 39887: no need to conditionalise assignment of strlen() | Peter Stephenson | 1 | -6/+2 | |
2016-11-09 | 39886 based on 39877: Optimise arrdup to arrdup_max. | Peter Stephenson | 1 | -7/+17 | |
Only duplicate as much of the array as is needed. | |||||
2016-11-09 | 39875: add dupstring_glen to avoid redundant strlen calls | Sebastian Gniazdowski | 1 | -2/+2 | |
2016-11-08 | 39871: cut down number of strlen()s in getstrvalue() | Sebastian Gniazdowski | 1 | -4/+13 | |
2016-11-08 | 39869: can transfer ownership of core of array when assigning | Sebastian Gniazdowski | 1 | -3/+8 | |