1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-04 20:40:57 +02:00
Commit graph

2023 commits

Author SHA1 Message Date
Clint Adams
5cae0e5207 correct overzealousness in 25701 2008-09-21 13:40:57 +00:00
Clint Adams
ef2d2d0f2b 25701: fix memory leak in loadautofn. 2008-09-21 12:54:57 +00:00
Peter Stephenson
23f2b4503c users/13252 and elsewhere: Frank Terbeck plus tweaks:
add VCS_Info function system
2008-09-19 12:58:46 +00:00
Peter Stephenson
1775a6ba81 25690: fix insert-last-word on multibyte characters with Meta 2008-09-18 20:35:37 +00:00
Peter Stephenson
e4d3ee06b3 25682: terminate history line before passing to zshaddhistory hook 2008-09-18 09:42:44 +00:00
Peter Stephenson
2920c227d3 25677: add %x and %I prompt escapes for shell source code debugging
tidy up interface to doshfunc()
2008-09-16 15:02:01 +00:00
Peter Stephenson
14905ddc74 25672: remove unnecessary Nularg when prompt expanding
to avoid problem with glitch space
2008-09-15 16:18:06 +00:00
Peter Stephenson
6951a1e0b2 25671: non existing variable in typeset -p should cause status 1 2008-09-15 08:57:25 +00:00
Clint Adams
06cc84ce84 25667: free mstr before returning from errors. 2008-09-14 09:00:26 +00:00
Clint Adams
430a7535fa 25666: free memory allocated for an xor if the argument number is invalid. 2008-09-14 07:34:46 +00:00
Peter Stephenson
b8a36eea87 25662: declare -p should never create arguments 2008-09-13 19:59:13 +00:00
Clint Adams
6b68cc95c7 25656: free val only after it may be passed to strlen(). 2008-09-13 08:19:17 +00:00
Peter Stephenson
ced3570bd1 25632: xRaich[o]²x: Src/mem.c: munmap() argument was wrong. 2008-09-11 19:14:13 +00:00
Peter Stephenson
d37f9672cb 25651: make getpermtext() output indentation more logical 2008-09-11 17:14:38 +00:00
Peter Stephenson
fb67cd46ea 25643: keep DEBUG and ZERR traps in subshells 2008-09-11 14:47:18 +00:00
Peter Stephenson
8bb15c1392 25641: add emulation option (NO_)MULTI_FUNC_DEF 2008-09-11 12:49:05 +00:00
Clint Adams
b62584cbcd 25639: free ptr2 if hsubl is NULL. 2008-09-10 19:02:11 +00:00
Clint Adams
96fc1bb149 25638: remove unnecessary ternary expression in match_str. 2008-09-10 18:33:32 +00:00
Clint Adams
c543084471 25637: dereference prog after the NULL check. 2008-09-10 15:56:00 +00:00
Clint Adams
b4ee5adc25 25636: free s before returning with an error condition. 2008-09-08 22:17:50 +00:00
Clint Adams
c715630baa 25634: free t before returning if both t and errflag are set. 2008-09-08 06:24:16 +00:00
Peter Stephenson
db31a13ecd 25627: add $ZSH_SUBSHELL 2008-09-05 21:02:08 +00:00
Peter Stephenson
7ce1d57358 25615: $ZSH_DEBUG_CMD for use in DEBUG traps 2008-09-05 09:05:21 +00:00
Clint Adams
13f60efbd7 25611, 25613: protect against two possible NULL dereferences. 2008-09-05 00:24:27 +00:00
Clint Adams
29680850a0 25612: remove dead code. 2008-09-05 00:18:11 +00:00
Clint Adams
bd915064c3 25610: remove dead code. 2008-09-04 22:27:59 +00:00
Clint Adams
f926ebbf23 25609: initialize sz variable. 2008-09-04 22:23:51 +00:00
Peter Stephenson
0cba5ef62a 25595: fix line numbers with EVAL_LINENO,
try to fix oddities with funcstack and sourced files,
simplify use of caller element of funcstack
2008-09-03 09:08:18 +00:00
Peter Stephenson
1f81bdcb47 25587: fix a==(stuff) and associated stuff. 2008-09-01 20:18:46 +00:00
Peter Stephenson
2e3363ef7d 25571: when parsing use line numbers for the start of a token, not the end
add test and move debug trap tests to new file
2008-08-31 19:50:47 +00:00
Peter Stephenson
b41c26d78a 25570: line numbers of complex sublists were wrong, plus test
make lineno zlong in another place
2008-08-31 16:01:10 +00:00
Andrey Borzenkov
d19602a65a users/13169: really restore emulation mode after 'emulate -L' 2008-08-31 15:59:13 +00:00
Peter Stephenson
50e4b43362 25568: Frank Terbeck & pws: invalid continue and break arguments
also tests for control commands
2008-08-31 13:35:28 +00:00
Peter Stephenson
b8ae885ab8 25532: problem skipping assignments etc. with setopt ERREXIT 2008-08-25 17:28:13 +00:00
Peter Stephenson
9fe735e663 25508: set file name if function came from dump file 2008-08-22 15:41:31 +00:00
Clint Adams
0d07bf44e7 25490: make zties dynamic so there can be more than one gdbm handle in use at a time. 2008-08-19 12:01:13 +00:00
Peter Stephenson
a5a1296fa0 25448: add $funcfiletrace to show absolute line number for caller 2008-08-13 21:02:02 +00:00
Peter Stephenson
01f5d0a274 25443 (tweaked): allow $functrace to show sourced files 2008-08-12 20:25:14 +00:00
Peter Stephenson
2853ca830a 25247 with further modifications: add $funcsourcetrace 2008-08-11 19:22:54 +00:00
Peter Stephenson
c79ccea792 25418: set PROMPT_SUBST for all Bourne-style shells 2008-08-07 16:27:15 +00:00
Peter Stephenson
2706eac454 25415: Make DEBUG_BEFORE_CMD the default.
Reuse ERR_EXIT in DEBUG traps.
Clean up trapreturn code.
2008-08-07 16:25:14 +00:00
Peter Stephenson
c4f33330f6 25409: fix eval's use of lastval 2008-08-06 19:51:04 +00:00
Peter Stephenson
d026334a3b 25405: return status from anonymous functions was not handled 2008-08-06 15:45:37 +00:00
Bart Schaefer
16e75d6978 25389: rearrange precedence of ZLS_COLORS alternatives. 2008-08-06 02:21:01 +00:00
Peter Stephenson
541e5e2490 25385: fix another bug with trapreturn trampling on status 2008-08-04 19:47:46 +00:00
Peter Stephenson
4fc027edf0 25384: fix problem with incorrect autoloads of zsh/zle 2008-08-04 17:32:19 +00:00
Peter Stephenson
6e4adee615 users/13093: HashNode changes for AIX 2008-08-04 15:26:25 +00:00
Bart Schaefer
d1845f8b4a 25373: trashzleptr() -> zleentry(ZLE_CMD_TRASH) 2008-08-02 22:17:18 +00:00
Peter Stephenson
506d73299c fix problems with trapreturn, in particular in source inside trap 2008-08-01 13:53:43 +00:00
Peter Stephenson
dc72699b6c 25364: fix k flag in hash subscript 2008-07-31 13:53:28 +00:00