Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 34634: avoid infinite recursion on (/)# extendedglob | Barton E. Schaefer | 2015-02-27 | 1 | -1/+2 | |
| | ||||||
* | 34623: free history more often if "remetafying" | Peter Stephenson | 2015-02-23 | 1 | -2/+6 | |
| | ||||||
* | 34615 + 34619: Remeta one frame earlier | Mikael Magnusson | 2015-02-23 | 1 | -35/+30 | |
| | ||||||
* | 34606: fix up nested arithmetic substitution | Peter Stephenson | 2015-02-22 | 1 | -2/+18 | |
| | | | | | | | | Arithmetic within a parameter substitution is a special case that needs fixing with the introduction of the new Inparmath token. Add test. | |||||
* | 34604: Work around problem with changes in Meta characters. | Peter Stephenson | 2015-02-22 | 1 | -3/+37 | |
| | | | | | | If reading in a file that contains characters that should be metafied but are not, fix up on the fly. Only need when using HIST_LEX_WORDS. | |||||
* | 34590: queue_signals() around more scopes that manipulate global state | Barton E. Schaefer | 2015-02-20 | 2 | -1/+18 | |
| | ||||||
* | 34587: ensure multibyte characters don't overflow. | Peter Stephenson | 2015-02-20 | 1 | -0/+8 | |
| | | | | | | They could start incorporating tokens, with bad karma. Add test. | |||||
* | 34568: use META_HEAPDUP when passing dlerror() string to metafy() | Barton E. Schaefer | 2015-02-19 | 1 | -1/+1 | |
| | ||||||
* | 34573: Safer failure to handle command substitution | Peter Stephenson | 2015-02-19 | 1 | -3/+7 | |
| | ||||||
* | 34570: Another nasty command / math substituion thing. | Peter Stephenson | 2015-02-19 | 3 | -51/+85 | |
| | | | | | | 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. | |||||
* | Fix up memory allocation for previous patch | Peter Stephenson | 2015-02-17 | 1 | -4/+5 | |
| | ||||||
* | 34560: Fix $(( that's actually a multiline cmd subst. | Peter Stephenson | 2015-02-16 | 3 | -2/+36 | |
| | ||||||
* | 34530: PRINT_EXIT_VALUE with anonymous functions. | Peter Stephenson | 2015-02-16 | 1 | -2/+12 | |
| | | | | Simpler fix, avoiding structural changes. | |||||
* | 34551: Avoid adding an extra "/" to the target path in cd_try_chdir() when ↵ | Barton E. Schaefer | 2015-02-15 | 1 | -2/+4 | |
| | | | | the current directory is "/" | |||||
* | 34543: Prevent crash on garbage bytes inside $(...) | Barton E. Schaefer | 2015-02-14 | 2 | -4/+8 | |
| | | | | | | Garbage input (nul bytes, etc.) can cause the $(...) parser to become confused during look-ahead and attempt to back up the input too far. This commit catches the error but does not fix the underlying cause. | |||||
* | 34546: further $_ with anon function fix. | Peter Stephenson | 2015-02-13 | 1 | -4/+13 | |
| | | | | Also add tests. | |||||
* | 34519: $_ for arguments of anonymous function | Peter Stephenson | 2015-02-12 | 1 | -1/+4 | |
| | ||||||
* | 34514: Back out 34485, an alternate solution needs to be worked out. | Barton E. Schaefer | 2015-02-12 | 2 | -27/+30 | |
| | | | | (Tweaked to keep the unrelated hunk of the E01 test.) | |||||
* | users/19850: add pattern support to watch variable | Peter Stephenson | 2015-02-11 | 1 | -3/+24 | |
| | ||||||
* | 34490: Fix leak on print -zf/-sf error | Mikael Magnusson | 2015-02-10 | 1 | -1/+17 | |
| | ||||||
* | 34488: Fix use-after-free for print -zf and print -sf | Mikael Magnusson | 2015-02-10 | 1 | -6/+12 | |
| | ||||||
* | 34485: More rationalisation for anonymous functions. | Peter Stephenson | 2015-02-09 | 2 | -30/+27 | |
| | | | | | | | | Don't attempt to treat as "simple" case as there are too many hidden problems. Pull out some post-execution functions to a common case in execcmd(). | |||||
* | 34466: Fix double unmeta in rm verification | Mikael Magnusson | 2015-02-09 | 1 | -1/+1 | |
| | ||||||
* | 34451: use mmap() also on Mac OS X | Jun-ichi Takimoto | 2015-02-03 | 1 | -0/+4 | |
| | | | | | Let MAP_ANONYMOUS be an alias to MAP_ANON if the former is not defined. | |||||
* | 34455: Further gdbm parameter fixes. | Peter Stephenson | 2015-02-03 | 1 | -12/+16 | |
| | | | | | | | Fix memory leak with name of parameter. Unset old parameter before opening db as it might close an existing db. | |||||
* | 34447: fix assignment of key-value array to ztie'd parameter. | Barton E. Schaefer | 2015-02-02 | 1 | -5/+56 | |
| | | | | | Add gdbmhashsetfn() for this purpose. Erases and reorganizes the database before bulk assign. | |||||
* | 34446: add "ztie -r" and "zuntie -u", update documentation | Barton E. Schaefer | 2015-02-01 | 1 | -12/+32 | |
| | ||||||
* | 34439: unset variable about to be tied | Peter Stephenson | 2015-01-30 | 1 | -2/+15 | |
| | ||||||
* | 34430: parameter fixes for gdbm tied hash. | Peter Stephenson | 2015-01-29 | 2 | -8/+36 | |
| | | | | | | | | Probably fix the issue with correct parameter hiding or not hiding. A little extra safety checking. Possibly fixed a memory leak with untying. | |||||
* | 34403: refine 34399 to avoid settyinfo() when the input descriptor is not a TTY | Barton E. Schaefer | 2015-01-26 | 1 | -2/+2 | |
| | ||||||
* | 34387: Avoid loading the main zsh binary as a module | Mikael Magnusson | 2015-01-27 | 1 | -1/+3 | |
| | ||||||
* | 34382: Handle NULL return from dlerror() more gracefully | Mikael Magnusson | 2015-01-27 | 1 | -1/+2 | |
| | ||||||
* | Unsetting gdbm tied variable basically works. | Peter Stephenson | 2015-01-26 | 1 | -1/+25 | |
| | | | | | | | Allows variables in nested scope. However, explicitly untying a variable doesn't properly expose the scope above. | |||||
* | 34399: fix polltty thinko from 34365 | Barton E. Schaefer | 2015-01-25 | 1 | -1/+1 | |
| | | | | Also add missing ChangeLog entry for 34365. | |||||
* | 34389: fix parsing of ">!" when read from histfile with HIST_LEX_WORDS | Barton E. Schaefer | 2015-01-25 | 1 | -1/+2 | |
| | ||||||
* | 34365: History lockfile backoff: randomised time. | Peter Stephenson | 2015-01-25 | 2 | -14/+123 | |
| | | | | | | | Time doubles on each lock failure. zsleep() provides microsecond resolution for sleep; uses nanosleep() if available, else select via means of existing tty poll function. | |||||
* | 34350, 34353: document zsh/db/gdbm module, clean up a few things in the code | Barton E. Schaefer | 2015-01-25 | 1 | -20/+29 | |
| | | | | Still core dumps at this revision if the tied parameter is forced to be a local and is not untied before end of scope. | |||||
* | 34369: document error and warning codes | Daniel Shahaf | 2015-01-25 | 1 | -1/+15 | |
| | ||||||
* | 34383: ztrdup() should be dupstring() in new cd code | Peter Stephenson | 2015-01-25 | 1 | -1/+1 | |
| | ||||||
* | 34331: better handling of NULL in cd. | Peter Stephenson | 2015-01-22 | 2 | -7/+12 | |
| | | | | | Problem was return from symbolic link expander in weird cases where there file system isn't behaving itself properly. | |||||
* | 34329: add -S option to which and where | Peter Stephenson | 2015-01-20 | 1 | -2/+2 | |
| | ||||||
* | users/19751: remove error on failure to close file descriptor by number. | Peter Stephenson | 2015-01-20 | 1 | -1/+6 | |
| | | | | | Keep it when closing file descriptor stored in a variable, i.e. explicitly opened by the user. | |||||
* | 34322: bug with interface to parsestr() etc. | Peter Stephenson | 2015-01-18 | 9 | -26/+46 | |
| | | | | | | | 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. | |||||
* | 34319: fix alias expansion in history for command substitution | Peter Stephenson | 2015-01-18 | 2 | -7/+21 | |
| | ||||||
* | unposted: another dubious comment in hist.c fixed | Peter Stephenson | 2015-01-16 | 1 | -2/+2 | |
| | ||||||
* | unposted: improve comment on hist_in_word(). | Peter Stephenson | 2015-01-16 | 1 | -2/+6 | |
| | | | | | Commit f2a2f28f7 was a bit less clear about how hist_in_word() was used than it could be. | |||||
* | 32413: turn off history word marking in cmd subst | Peter Stephenson | 2015-01-16 | 2 | -2/+22 | |
| | ||||||
* | 34304: improve use of new cmd subst in completion | Peter Stephenson | 2015-01-16 | 1 | -10/+103 | |
| | ||||||
* | 34280: more widespread use of FORCE_FLOAT. | Peter Stephenson | 2015-01-15 | 1 | -1/+12 | |
| | | | | Add the case of variables read for use in arithmetic expressions. | |||||
* | 34287: preprocessor for signal name generation. | Peter Stephenson | 2015-01-15 | 1 | -1/+10 | |
| | | | | | | Some gcc header files are difficult for the signames2.awk script to process, so if the preprocessor is gcc give the option -P to strip out the unwanted additions. |