Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 37014: Improved internal parameter setting. | Peter Stephenson | 2015-10-29 | 3 | -7/+7 |
| | | | | | | | | 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. | ||||
* | 36974: fix some functions with empty argument lists | Peter Stephenson | 2015-10-27 | 1 | -4/+4 |
| | |||||
* | 36968: use addmodulefd() to tell the shell about the descriptor of the dbm file | Barton E. Schaefer | 2015-10-26 | 1 | -2/+7 |
| | |||||
* | 36944: extend fd management to zsocket | Peter Stephenson | 2015-10-24 | 2 | -4/+17 |
| | |||||
* | 36941: Mark file descripors in ztcp as used. | Peter Stephenson | 2015-10-24 | 1 | -1/+6 |
| | | | | | Allow such file descriptors to be either internal and closed on exec or external and so managed explicitly by module. | ||||
* | 36661: replace obsolete "autobins" setting with "autofeatures" | Barton E. Schaefer | 2015-09-27 | 1 | -1/+1 |
| | |||||
* | 36509: allocate hash table nodes with zshcalloc() to avoid garbage flag values | Barton E. Schaefer | 2015-09-12 | 1 | -2/+2 |
| | |||||
* | 36489: fix curses bug with hash table for colours | Sebastian Gniazdowski | 2015-09-11 | 1 | -1/+1 |
| | |||||
* | 36302: attr: Fix compilation with libcap 2.24 | Mikael Magnusson | 2015-08-28 | 1 | -3/+3 |
| | |||||
* | users/20455: do not use posix_openpt() on OpenBSD | Jun-ichi Takimoto | 2015-08-23 | 1 | -1/+2 |
| | |||||
* | 36227: attempt to fix metafication problem with ztrftime. | Peter Stephenson | 2015-08-18 | 2 | -6/+12 |
| | | | | | fmt is treated as metafied on entry; use returned length to ensure we metafy or output the correct length if there are embedded nulls. | ||||
* | Revert "36222: unmetafy output from strftime" | Peter Stephenson | 2015-08-18 | 1 | -2/+1 |
| | | | | This reverts commit 8141a3d850b1b9777a13d0107c262853734214b4. | ||||
* | 36222: unmetafy output from strftime | Peter Stephenson | 2015-08-18 | 1 | -1/+2 |
| | |||||
* | 36218: use unmetafied file name for mkdir system call | Peter Stephenson | 2015-08-18 | 1 | -1/+1 |
| | |||||
* | 36092: return the zpty master file descriptor in $REPLY for use with "zle ↵ | Barton E. Schaefer | 2015-08-11 | 1 | -0/+2 |
| | | | | -F" etc. | ||||
* | not quite posted: check for error return before EINTR | Peter Stephenson | 2015-08-10 | 2 | -2/+2 |
| | |||||
* | 36039: Restart socket commands on EINTR | Joshua Krusell | 2015-08-10 | 2 | -4/+10 |
| | |||||
* | 36026: zero freed pointers in zftp cleanup_() in case the module is ↵ | Barton E. Schaefer | 2015-08-09 | 1 | -0/+2 |
| | | | | re-loaded after unloading | ||||
* | 35963: simplify condition found by coverity to include tautology | Oliver Kiddle | 2015-07-31 | 1 | -2/+1 |
| | |||||
* | 35864: add sysopen, sysseek and systell to system module | Oliver Kiddle | 2015-07-24 | 2 | -2/+184 |
| | |||||
* | 35939: fix select polling in ztcp and zsocket | Joshua Krusell | 2015-07-22 | 2 | -2/+2 |
| | |||||
* | 35826: add getsparam_u() to return unmetafied string, use it for a number of ↵ | Barton E. Schaefer | 2015-07-22 | 2 | -4/+4 |
| | | | | references to non-special params | ||||
* | 35681: fix day of month initialisation | Oliver Kiddle | 2015-07-03 | 1 | -1/+3 |
| | |||||
* | 33566: regex module fix for unmatched parentheses | Peter Stephenson | 2015-06-22 | 1 | -0/+5 |
| | |||||
* | Add non-metafied character length handling. | Peter Stephenson | 2015-06-12 | 2 | -11/+24 |
| | | | | | | | Use this in regex module and add test using $'\ua0'. Rename mb_metacharinit() to mb_charinit() as it does not involve metafied characters. | ||||
* | 35360 (replacing 35357): fix for configuring zpty on FreeBSD without | Oliver Kiddle | 2015-06-03 | 1 | -1/+1 |
| | | | | pty.ko loaded | ||||
* | 35357: FreeBSD needs HAVE_POSIX_OPENPT for zpty | Baptiste Daroussin | 2015-06-02 | 1 | -1/+1 |
| | |||||
* | 2037: ${functions[foo]} shouldn't be unmetafied. | Peter Stephenson | 2015-05-29 | 1 | -5/+0 |
| | | | | | | | When passed back from the parameter-specific "get" handler it's still in the shell's internals, so remains metafied. This caused mayhem with UTF-8 characters in function bodies. | ||||
* | 35114: zformat -a multibyte char widths | Peter Stephenson | 2015-05-13 | 1 | -0/+36 |
| | |||||
* | 34961: $TZ is implicitly local in builtin strftime (originally workers/34602 ↵ | Barton E. Schaefer | 2015-04-25 | 1 | -1/+20 |
| | | | | from workers/34596) | ||||
* | 34792: langinfo: Fix pointer type | Theo Buehler | 2015-03-29 | 1 | -1/+2 |
| | |||||
* | 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 | 1 | -6/+11 |
| | | | | | | | | Probably fix the issue with correct parameter hiding or not hiding. A little extra safety checking. Possibly fixed a memory leak with untying. | ||||
* | 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. | ||||
* | 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. | ||||
* | 33876: etc.: Separate errors and keyboards interrupts | Peter Stephenson | 2014-12-11 | 2 | -4/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | 33785: Fix leaks of desthost in ztcp | Mikael Magnusson | 2014-11-24 | 1 | -0/+4 |
| | | | | Found by coverity. | ||||
* | 33743: use posix_openpt in zpty if it is available | Oliver Kiddle | 2014-11-24 | 1 | -0/+4 |
| | |||||
* | 33607: Fix some minor problems in zattr module | Mikael Magnusson | 2014-11-07 | 1 | -37/+30 |
| | | | | | | | | | | | | | | | | | | | Remove the listattr call in zgetattr, it only caused no error to be output when trying to retrieve an xattr from a file with no xattrs. When a file had xattrs, it would just add an extra syscall for no good reason. Always set an array parameter in zlistattr, this makes the returned value much easier to use; in fact the _zattr completer didn't account for this and zlistattr foo <tab> on a file with only one attribute did not work. Almost all of the patch is only reindent, the only modification that's not a pure deletions is: - ret = 1 + (attr_len > val_len || attr_len < 0); + ret = 1 + ((val_len > 0 && attr_len > val_len) || attr_len < 0); which makes sure we return the correct error in the new path due to the removed listattr call. (If val_len is -1 due to no attribute existing, it doesn't mean the user should retry the call because the attribute grew in size). | ||||
* | 33582: don't include tcp.mdh in zftp.c. | Peter Stephenson | 2014-10-31 | 1 | -1/+0 |
| | | | | | It's a private module definition header that doesn't need to be exposed. | ||||
* | 33566: quash null pointer constant compiler warning | Jun T | 2014-10-29 | 1 | -1/+1 |
| | |||||
* | 33294: $functions[func_with_redir] plus extra tests | Peter Stephenson | 2014-09-30 | 1 | -11/+44 |
| | |||||
* | users/19097: remove $functypetrace in favour of ref to $zsheval_context | Peter Stephenson | 2014-09-18 | 1 | -39/+0 |
| | |||||
* | Add $functypestack special parameter in zsh/parameter | Peter Stephenson | 2014-09-12 | 1 | -0/+39 |
| | |||||
* | 33122: typo from 32891 caused incorrect matches for pcre_match -n | Barton E. Schaefer | 2014-09-07 | 1 | -1/+1 |
| | |||||
* | 33047: use git to simplify massively source distribution file selection | Peter Stephenson | 2014-08-23 | 1 | -59/+0 |
| | |||||
* | missed updates to calls to ztrftime() | Peter Stephenson | 2014-07-30 | 2 | -2/+2 |
| |