Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 50149: Remove all remaining =(...) files at shell exit | Bart Schaefer | 2022-04-30 | 1 | -0/+1 |
| | |||||
* | 50068: 'exit' in trap causes calling function to return | Bart Schaefer | 2022-04-14 | 1 | -0/+2 |
| | |||||
* | 49534, 49539: separate watch/log functionality out into a module | Oliver Kiddle | 2021-11-02 | 1 | -1/+0 |
| | |||||
* | unposted: add/remove UNUSED() for some function parameters | Jun-ichi Takimoto | 2021-09-08 | 1 | -1/+1 |
| | |||||
* | 49069: literal interpretation of subscripts for unset of array/hash elements | Bart Schaefer | 2021-06-13 | 1 | -4/+2 |
| | |||||
* | 48857: declare "volatile" all globals that may be modified by signal handlers | Bart Schaefer | 2021-05-16 | 1 | -9/+7 |
| | |||||
* | users/26742: break out of surrounding shell loops when exit is called from ↵ | Peter Stephenson | 2021-05-15 | 1 | -1/+4 |
| | | | | an exit hook | ||||
* | 48614: getopts: Calculate OPTIND according to POSIX_BUILTINS | dana | 2021-05-03 | 1 | -0/+10 |
| | |||||
* | 47704: POSIX export and readonly ignore "-p" when parameter names also appear | Bart Schaefer | 2021-04-18 | 1 | -2/+6 |
| | |||||
* | 48560: add TYPESET_TO_UNSET option to remove initialization of parameters | Bart Schaefer | 2021-04-18 | 1 | -3/+11 |
| | | | | | | | | | | Changes typeset such that ${newparam-notset} yields "notset" and "typeset -p newparam" does not show an assignment to the parameter. This is similar to the default behavior of bash and ksh, with minor differences in typeset output. Also add tests for some POSIX incompatibilities plus minor changes for test harness robustness. | ||||
* | users/26509: fix for r -L | Peter Stephenson | 2021-02-18 | 1 | -2/+3 |
| | | | | | fc with the -L option should ignore remote entires, rather than reading them and treating them as an error. | ||||
* | 48073: Add fc -s as POSIX way of rerunning command without starting editor | Martijn Dekker | 2021-02-17 | 1 | -2/+2 |
| | |||||
* | 47895: Remove trailing spaces from "print -ac" output lines. | Bart Schaefer | 2021-02-04 | 1 | -1/+1 |
| | |||||
* | 47301: Fix print -v metafication | Jun-ichi Takimoto | 2020-10-25 | 1 | -1/+1 |
| | |||||
* | 46168: Update $PWD and call chpwd hook after normalizing path | Matthew Martin | 2020-07-03 | 1 | -18/+17 |
| | |||||
* | typeset: Fix leaving corrupted entries in paramtab | Mikael Magnusson | 2020-06-05 | 1 | -3/+9 |
| | |||||
* | 45729: internal: Add a second parameter to zlinklist2array(), analogously to ↵ | Daniel Shahaf | 2020-05-03 | 1 | -5/+5 |
| | | | | | | hlinklist2array(). Will be used in the next commit. | ||||
* | 45660: Fix crash setting vi or emacs mode on command line. | Peter Stephenson | 2020-04-09 | 1 | -1/+1 |
| | | | | Delay setting the option until the module system is set up. | ||||
* | 45487: Missing mod_export declarations for AIX | Peter Stephenson | 2020-02-24 | 1 | -1/+1 |
| | |||||
* | 45302: bin_umask(): Queue signals around umask(). | Daniel Shahaf | 2020-01-15 | 1 | -1/+4 |
| | | | | | Otherwise, a signal handler might create files while the temporary umask is in effect. | ||||
* | 45066: internal: Document forklevel, locallevel, and exit_pending. | Daniel Shahaf | 2019-12-18 | 1 | -1/+5 |
| | |||||
* | 45058: internal: Add symbolic names to possible values of zexit()'s ↵ | Daniel Shahaf | 2019-12-17 | 1 | -11/+13 |
| | | | | "from_where" parameter. No functional change. | ||||
* | unposted: Update comment to reflect variable rename in 41012 (= ↵ | Daniel Shahaf | 2019-12-17 | 1 | -1/+1 |
| | | | | zsh-5.3.1-182-gd7110d8f0). | ||||
* | 45009: POSIX_CD needs to suppress some forms of option. | Peter Stephenson | 2019-12-12 | 1 | -1/+1 |
| | | | | | Otherwise forms of argument allowed by POSIX are interpreted as options instead. | ||||
* | 45004: Fix typos in comments | Martijn Dekker | 2019-12-11 | 1 | -2/+2 |
| | |||||
* | unposted: functions -c: Fix typo | Daniel Shahaf | 2019-10-10 | 1 | -1/+1 |
| | |||||
* | Copy functions using functions -c old new. | Peter Stephenson | 2019-08-03 | 1 | -2/+41 |
| | | | | Documentation and test. | ||||
* | 44502: Quote function name for "autoload -X" | Bart Schaefer | 2019-07-08 | 1 | -1/+1 |
| | |||||
* | 44469: correct error on missing option argument | Martijn Dekker | 2019-07-01 | 1 | -5/+12 |
| | |||||
* | 44443: POSIX allows exporting readonly variables | Martijn Dekker | 2019-06-23 | 1 | -1/+1 |
| | |||||
* | 44284: combination of -T and -p to typeset crashed the shell. | Oliver Kiddle | 2019-05-14 | 1 | -4/+2 |
| | |||||
* | 44291: printf with argument specifier out of range for an int crashed the shell | Oliver Kiddle | 2019-05-14 | 1 | -2/+1 |
| | |||||
* | 44198: Add cd_silent option to suppress all cd output | dana | 2019-04-12 | 1 | -2/+2 |
| | |||||
* | 43669: ensure explicit exit status is used over implicit | Peter Stephenson | 2018-10-10 | 1 | -2/+2 |
| | |||||
* | 43660: extend 43653 when final exit is implicit. | Peter Stephenson | 2018-10-09 | 1 | -2/+38 |
| | | | | | | | Combine logic for case after committed to exit (shell_exiting) with case where exit occurred in a function we nee to unwind (exit_pending). Add sarky note for future generations to be confused at. | ||||
* | 43656: special tied arrays don't have tieddata | Peter Stephenson | 2018-10-09 | 1 | -1/+1 |
| | |||||
* | 43653: explicit exit from EXIT trap overrides exit status | Peter Stephenson | 2018-10-09 | 1 | -4/+10 |
| | |||||
* | 43616: Various parameter setting and display fixes. | Peter Stephenson | 2018-10-08 | 1 | -43/+112 |
| | | | | | | Mostly to do with typeset -p and tied variables and their interaction. Some general tied variable fixes. | ||||
* | GitHub #28: Add missing math.h include for builtins | Jörg Thalheim | 2018-09-10 | 1 | -0/+2 |
| | | | | math.h is required for isnan/isinf | ||||
* | 43077: Fix shift builtin status. | Peter Stephenson | 2018-06-20 | 1 | -1/+6 |
| | | | | | If the math evaulation to get the shift count failed the status wasn't passed back from the builtin. | ||||
* | 42785: Allow redefining math function to work silently. | Peter Stephenson | 2018-05-17 | 1 | -9/+4 |
| | | | | | | Previously it failed with an error message that the function was already defined. This is inconsistent with most other aspects of shell usage. | ||||
* | 42488: test cases for 42369 and address some issues in the code | Oliver Kiddle | 2018-05-13 | 1 | -2/+8 |
| | |||||
* | 42601: tidy up code for set -A/+A to not increment a NULL pointer and to be ↵ | Oliver Kiddle | 2018-04-07 | 1 | -6/+4 |
| | | | | more efficient | ||||
* | 42332: Special case unsigned printf formats. | Peter Stephenson | 2018-01-31 | 1 | -1/+4 |
| | | | | | For constants we can avoid a conversion to signed by examining the expression before passing to math eval. | ||||
* | 42156: new CHECK_RUNNING_JOBS option demanded by bash groupies | Peter Stephenson | 2017-12-22 | 1 | -1/+2 |
| | | | | | | | Also new job options. Also suppress debug error if rows or columns are reported as zero as this is normal without a physical terminal. | ||||
* | 42063: getopts errors now report "+" in front of option where appropriate | dana | 2017-12-01 | 1 | -2/+3 |
| | |||||
* | 41866: No error unsetting nonexistent function for POSIXBUILTINS | Martijn Dekker | 2017-11-02 | 1 | -1/+5 |
| | |||||
* | Add typeset -p1, like typeset -p with newlines | Peter Stephenson | 2017-10-01 | 1 | -7/+20 |
| | |||||
* | First go at var=([key]=value) syntax. | Peter Stephenson | 2017-09-13 | 1 | -22/+48 |
| | | | | | | | 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. | ||||
* | 41668: New --emulate option on invocation. | Peter Stephenson | 2017-09-11 | 1 | -1/+1 |
| | | | | | | | | This sets the shell emulation mode similarly to ARGV0=... which doesn't work from other shells. Note that this gives more comprehensive emulation than running emulate within the shell. |