summary refs log tree commit diff
path: root/Src/Modules
Commit message (Collapse)AuthorAgeFilesLines
* 37838: use UNUSED() consistentlyJun-ichi Takimoto2016-01-3020-26/+26
|
* 37810: repair handling of backslashes and of names starting with "+"/":"/"=" ↵Barton E. Schaefer2016-01-271-7/+10
| | | | in zparseopts option specs
* 37802: Clarify zparseopts documention. zparseopts "X::" specifier should ↵Barton E. Schaefer2016-01-271-2/+4
| | | | also look for the optional argument in the word after "-X".
* Jun T.: 37759: save more function pointers from realparamtab when hacking in ↵Jun T2016-01-251-3/+7
| | | | | | their replacements Restoring from the original external symbols fails for some dynamic link schemes (e.g. 64bit Cygwin).
* Jun T.: 37515: multibyte handling as per 35448.Barton E. Schaefer2016-01-081-10/+23
|
* 37378: New bindkey tests.Peter Stephenson2015-12-101-6/+18
| | | | Also fix Meta bug on pattern match in zpty -r.
* unposted: fix init_io() calls in previous changePeter Stephenson2015-12-042-2/+2
|
* 37229: non-local assignment to a parameter name whose outermost declaration ↵Barton E. Schaefer2015-11-261-11/+48
| | | | | | is private, is an error rather than a silent no-op. Also fix %prep sed expression for Solaris.
* 37208: assignment in a nested scope should not change private parameters in ↵Barton E. Schaefer2015-11-231-14/+30
| | | | | | the outer scope from unset to set Bug remains that the attempt does not generate a warning
* 37081: new module zsh/param/private for private-scoped parameters in functionsBarton E. Schaefer2015-11-082-0/+594
|
* 37014: Improved internal parameter setting.Peter Stephenson2015-10-293-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 listsPeter Stephenson2015-10-271-4/+4
|
* 36968: use addmodulefd() to tell the shell about the descriptor of the dbm fileBarton E. Schaefer2015-10-261-2/+7
|
* 36944: extend fd management to zsocketPeter Stephenson2015-10-242-4/+17
|
* 36941: Mark file descripors in ztcp as used.Peter Stephenson2015-10-241-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. Schaefer2015-09-271-1/+1
|
* 36509: allocate hash table nodes with zshcalloc() to avoid garbage flag valuesBarton E. Schaefer2015-09-121-2/+2
|
* 36489: fix curses bug with hash table for coloursSebastian Gniazdowski2015-09-111-1/+1
|
* 36302: attr: Fix compilation with libcap 2.24Mikael Magnusson2015-08-281-3/+3
|
* users/20455: do not use posix_openpt() on OpenBSDJun-ichi Takimoto2015-08-231-1/+2
|
* 36227: attempt to fix metafication problem with ztrftime.Peter Stephenson2015-08-182-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 Stephenson2015-08-181-2/+1
| | | | This reverts commit 8141a3d850b1b9777a13d0107c262853734214b4.
* 36222: unmetafy output from strftimePeter Stephenson2015-08-181-1/+2
|
* 36218: use unmetafied file name for mkdir system callPeter Stephenson2015-08-181-1/+1
|
* 36092: return the zpty master file descriptor in $REPLY for use with "zle ↵Barton E. Schaefer2015-08-111-0/+2
| | | | -F" etc.
* not quite posted: check for error return before EINTRPeter Stephenson2015-08-102-2/+2
|
* 36039: Restart socket commands on EINTRJoshua Krusell2015-08-102-4/+10
|
* 36026: zero freed pointers in zftp cleanup_() in case the module is ↵Barton E. Schaefer2015-08-091-0/+2
| | | | re-loaded after unloading
* 35963: simplify condition found by coverity to include tautologyOliver Kiddle2015-07-311-2/+1
|
* 35864: add sysopen, sysseek and systell to system moduleOliver Kiddle2015-07-242-2/+184
|
* 35939: fix select polling in ztcp and zsocketJoshua Krusell2015-07-222-2/+2
|
* 35826: add getsparam_u() to return unmetafied string, use it for a number of ↵Barton E. Schaefer2015-07-222-4/+4
| | | | references to non-special params
* 35681: fix day of month initialisationOliver Kiddle2015-07-031-1/+3
|
* 33566: regex module fix for unmatched parenthesesPeter Stephenson2015-06-221-0/+5
|
* Add non-metafied character length handling.Peter Stephenson2015-06-122-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 withoutOliver Kiddle2015-06-031-1/+1
| | | | pty.ko loaded
* 35357: FreeBSD needs HAVE_POSIX_OPENPT for zptyBaptiste Daroussin2015-06-021-1/+1
|
* 2037: ${functions[foo]} shouldn't be unmetafied.Peter Stephenson2015-05-291-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 widthsPeter Stephenson2015-05-131-0/+36
|
* 34961: $TZ is implicitly local in builtin strftime (originally workers/34602 ↵Barton E. Schaefer2015-04-251-1/+20
| | | | from workers/34596)
* 34792: langinfo: Fix pointer typeTheo Buehler2015-03-291-1/+2
|
* 34455: Further gdbm parameter fixes.Peter Stephenson2015-02-031-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. Schaefer2015-02-021-5/+56
| | | | | Add gdbmhashsetfn() for this purpose. Erases and reorganizes the database before bulk assign.
* 34446: add "ztie -r" and "zuntie -u", update documentationBarton E. Schaefer2015-02-011-12/+32
|
* 34439: unset variable about to be tiedPeter Stephenson2015-01-301-2/+15
|
* 34430: parameter fixes for gdbm tied hash.Peter Stephenson2015-01-291-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 Stephenson2015-01-261-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 codeBarton E. Schaefer2015-01-251-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 interruptsPeter Stephenson2014-12-112-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 ztcpMikael Magnusson2014-11-241-0/+4
| | | | Found by coverity.