summaryrefslogtreecommitdiff
path: root/Src/Modules
AgeCommit message (Collapse)AuthorFilesLines
2015-04-2534961: $TZ is implicitly local in builtin strftime (originally workers/34602 ↵Barton E. Schaefer1-1/+20
from workers/34596)
2015-03-2934792: langinfo: Fix pointer typeTheo Buehler1-1/+2
2015-02-0334455: Further gdbm parameter fixes.Peter Stephenson1-12/+16
Fix memory leak with name of parameter. Unset old parameter before opening db as it might close an existing db.
2015-02-0234447: fix assignment of key-value array to ztie'd parameter.Barton E. Schaefer1-5/+56
Add gdbmhashsetfn() for this purpose. Erases and reorganizes the database before bulk assign.
2015-02-0134446: add "ztie -r" and "zuntie -u", update documentationBarton E. Schaefer1-12/+32
2015-01-3034439: unset variable about to be tiedPeter Stephenson1-2/+15
2015-01-2934430: parameter fixes for gdbm tied hash.Peter Stephenson1-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.
2015-01-26Unsetting gdbm tied variable basically works.Peter Stephenson1-1/+25
Allows variables in nested scope. However, explicitly untying a variable doesn't properly expose the scope above.
2015-01-2534350, 34353: document zsh/db/gdbm module, clean up a few things in the codeBarton E. Schaefer1-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.
2014-12-1133876: etc.: Separate errors and keyboards interruptsPeter Stephenson2-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.
2014-11-2433785: Fix leaks of desthost in ztcpMikael Magnusson1-0/+4
Found by coverity.
2014-11-2433743: use posix_openpt in zpty if it is availableOliver Kiddle1-0/+4
2014-11-0733607: Fix some minor problems in zattr moduleMikael Magnusson1-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).
2014-10-3133582: don't include tcp.mdh in zftp.c.Peter Stephenson1-1/+0
It's a private module definition header that doesn't need to be exposed.
2014-10-2933566: quash null pointer constant compiler warningJun T1-1/+1
2014-09-3033294: $functions[func_with_redir] plus extra testsPeter Stephenson1-11/+44
2014-09-18users/19097: remove $functypetrace in favour of ref to $zsheval_contextPeter Stephenson1-39/+0
2014-09-12Add $functypestack special parameter in zsh/parameterPeter Stephenson1-0/+39
2014-09-0733122: typo from 32891 caused incorrect matches for pcre_match -nBarton E. Schaefer1-1/+1
2014-08-2333047: use git to simplify massively source distribution file selectionPeter Stephenson1-59/+0
2014-07-30missed updates to calls to ztrftime()Peter Stephenson2-2/+2
2014-07-2432903: new empty (unset) elements in the special parameter hash tables are ↵Barton E. Schaefer1-15/+15
special themselves
2014-07-2332898 (credit Jun T.): fix offset_start initialization bug in 32891Barton E. Schaefer1-1/+1
2014-07-2032891: CASE_MATCH for =~ when using pcre; fix pcre_match with empty stringBarton E. Schaefer1-7/+6
2014-03-0932468: save/restore match/mbegin/mend when doing pattern lookups against ↵Barton E. Schaefer1-55/+61
zstyle contexts
2014-02-1532388: zparseopts -K preserves individual associative array elementsBarton E. Schaefer1-2/+41
2013-12-1632131: avoid infinite loop reading pty on platforms that do not buffer ↵Jun T1-2/+2
output after child exit
2013-11-27unposted, see 32054: Rationalise character encoding.Peter Stephenson2-10/+10
Shell functions are strictly ASCII for maximum portability. Other files within the distribution may contain UTF-8 characters. Exception for test files: where they need single character input with the top bit set, ISO-8859-X is used (X doesn't matter as we don't need the Euro).
2013-10-2731902: rationalise use of gamma function.Jun T1-0/+9
Make zsh/mathfunc consistent across systems and use tgamma() where available
2013-10-1131805: Add $patchars and $dis_patchars to zsh/parameter moduleMikael Magnusson2-1/+41
2013-08-2631672: Add test that was failing and fix zpty set-up racePeter Stephenson1-2/+28
2013-08-2531665: zpty should attach terminal on slave.Peter Stephenson1-0/+3
Also add test.
2013-05-2131419: Add time zone and year to string formatted time output from zstatPeter Stephenson1-2/+2
2012-10-1130726: make shell options passed to emulate stick along with the emulationPeter Stephenson1-1/+1
2012-10-0730722: fix some cases where emulations or options were not propagated properlyPeter Stephenson1-3/+3
from the emulate command
2012-06-1630513: zsh/regex metafy fixes for widecharPhil Pennock1-7/+16
2012-03-0530307 plus tweak suggsted by Wayne: use %lld for zlong when long longPeter Stephenson1-2/+18
2012-01-06unposted: fix uninitialised variable warning in pcrePeter Stephenson1-0/+1
2011-11-1729907: Jun T.: remove declaration of unused variablePeter Stephenson1-1/+0
2011-10-31Jun T: 29883: cast resource types to types they should be anywayPeter Stephenson1-1/+1
2011-10-2629865: don't compile pcre if no pcre-configPeter Stephenson1-1/+1
2011-10-2429838: metafy/unmetafy strings for PCRE matching (UTF-8 fixes)Phil Pennock1-16/+45
2011-08-15unposted: use pm->node.nam to get names for parameters in errorsPeter Stephenson1-4/+6
2011-08-11fix datetime autofeaturesPeter Stephenson1-1/+1
2011-08-1129674: add $epochtime to datetimePeter Stephenson1-1/+45
2011-08-1029663: add $EPOCHREALTIME to zsh/datetimePeter Stephenson1-0/+27
2011-06-1929491: remove some variables set but not usedPeter Stephenson1-6/+4
2011-05-2729382: apply 29374 to zccmd_input too.Bart Schaefer1-2/+2
2011-05-1829312, users/16032: add "zparseopts -M"Bart Schaefer1-3/+68
2011-05-13Danek: 29254: fix some compiler warningsPeter Stephenson2-1/+2