1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-23 17:01:05 +02:00
Commit graph

8533 commits

Author SHA1 Message Date
Peter Stephenson
e34ce85151 34319: fix alias expansion in history for command substitution 2015-01-18 16:43:26 +00:00
Axel Beckert
870d880bef Changelog entry to previous commit by Wieland Hoffmann 2015-01-17 13:17:28 +01:00
Wieland Hoffmann
9ca77b2143 _git: Change one --validate to --no-validate
As the description of that argument says, it's used to *not* perform
sanity checks.
2015-01-17 13:00:23 +01:00
Peter Stephenson
aa503b592b unposted: another dubious comment in hist.c fixed 2015-01-16 20:35:41 +00:00
Peter Stephenson
0f60d18249 unposted: improve comment on hist_in_word().
Commit f2a2f28f7 was a bit less clear about how hist_in_word()
was used than it could be.
2015-01-16 20:31:11 +00:00
Peter Stephenson
f2a2f28f7b 32413: turn off history word marking in cmd subst 2015-01-16 20:12:40 +00:00
Peter Stephenson
db05cc51fa 34304: improve use of new cmd subst in completion 2015-01-16 13:20:05 +00:00
Peter Stephenson
2b8b1a49d5 34290: note FORCE_FLOAT option change 2015-01-15 15:07:26 +00:00
Peter Stephenson
3a99ef322d 34280: more widespread use of FORCE_FLOAT.
Add the case of variables read for use in arithmetic expressions.
2015-01-15 13:52:40 +00:00
Peter Stephenson
c7aa644390 34287: preprocessor for signal name generation.
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.
2015-01-15 13:52:40 +00:00
Peter Stephenson
6a04f5b320 unposted: fix error in README 2015-01-14 21:29:29 +00:00
Peter Stephenson
8b7ead271f 34283: test X02 also needs zpty and shouldn't run on Cygwin 2015-01-14 17:34:02 +00:00
Peter Stephenson
455f8519b2 34275: assume zpty can't be used for testing Cygwin 2015-01-14 14:25:18 +00:00
Barton E. Schaefer
9fcc9d6e8d 34273: use "enough" colons in each completion style pattern example 2015-01-13 19:24:58 -08:00
Peter Stephenson
12f98a99a5 unposted: add Src/zsh.exe to .gitignore 2015-01-13 11:55:04 +00:00
Eric Cook
cd8c0a2dc1 34260 relax interface name restrictions in ip completion 2015-01-13 09:27:41 +00:00
Eric Cook
c5b2eaaaa4 34259: variable declarations in ip completion 2015-01-13 09:25:56 +00:00
Peter Stephenson
5f4325a0a4 Propagate float/integer type in arithmetic assignment.
Add test.

Mention this and also floating point mod change in README.
2015-01-12 16:38:00 +00:00
Peter Stephenson
626650f20e 34253: warn in zcalc doc about integer arithmetic.
C.f. warning in arithmetic doc in 34194.
2015-01-12 11:10:07 +00:00
Barton E. Schaefer
2753d49003 34247: regression test for 34230. 2015-01-11 18:50:17 -08:00
Barton E. Schaefer
39a6e8a7f5 34230: call fmod() for modulo with floats 2015-01-11 11:29:17 -08:00
Peter Stephenson
968dd7387c 34234: use structures for normal and raw lexical buffer state 2015-01-11 19:12:58 +00:00
Peter Stephenson
0ea940bb58 34233: function execution trick needed for _qdbus 2015-01-11 17:42:49 +00:00
Barton E. Schaefer
5caf317c3a unposted (cf. 34218): : remove -m from zmodload calls 2015-01-10 18:06:43 -08:00
Peter Stephenson
aaa19267c2 test for alias expansion in command substitution 2015-01-10 20:36:57 +00:00
Peter Stephenson
3b32abafdb 34220: new $(...) handling needs to back up over alias expansion 2015-01-10 20:28:57 +00:00
Peter Stephenson
81ad9ed766 unposted: update copyright for new Src/context.c 2015-01-10 19:55:48 +00:00
Thomas Mitterfellner
9e94cd84c6 34195: new qdbus completion 2015-01-10 19:55:47 +00:00
Mikael Magnusson
67d1c03698 unposted: add missing ml ref 2015-01-10 20:52:53 +01:00
Peter Stephenson
53e3d9e063 34914: explanation of effect of integer promotion 2015-01-10 19:49:16 +00:00
Barton E. Schaefer
3495dc5c27 34213: in previous patch, do not change usepm if it is already set 2015-01-10 10:32:31 -08:00
Barton E. Schaefer
daa788d88b 34212: do not change unset-ness of special parameters when exporting them 2015-01-10 10:32:31 -08:00
Barton E. Schaefer
199581f780 34202: safe tempfile creation part 3 -- use zf_ln instead of mv 2015-01-10 10:32:31 -08:00
Barton E. Schaefer
bd13ffefab users/19721: clarify context vs. style in compsys configuration 2015-01-10 10:32:31 -08:00
Mikael Magnusson
573679c34b select: Fix leak of 256 bytes on every loop when zle is not used
Reproduce by
yes | head -n 1000000 | zsh -c 'select foo in a b c; do done; sleep 30; echo'

Found by Coverity (Issue 439082).
2015-01-10 08:48:18 +01:00
Mikael Magnusson
7dcaa2ff60 hist: remove wrong NULL terminator
This actually writes a NULL to some arbitrary location in the caller function's stack. Found by Coverity (Issue 1255746).
2015-01-10 08:48:18 +01:00
Peter Stephenson
cfd91eac07 Rearrange context saving.
Variables are now associated with the module that declares them, being
initialised and saved/restored there.  However, as many variables are
used for communication between modules, many of them are set in multiple
places, so the assignment is ambiguous.
2015-01-09 21:33:39 +00:00
Peter Stephenson
6291d38848 34182: doc: to add zf_\* builtins use zmodload -m -F 2015-01-09 17:24:16 +00:00
Mikael Magnusson
62b0e611ce 30568: Add tetriscurses contrib function, port of tetris to zcurses 2015-01-09 12:49:56 +01:00
Mikael Magnusson
bc55ddf364 Fix a typo in bin_print error message 2015-01-09 12:37:25 +01:00
Peter Stephenson
c0d01a6fe0 Fix command substitutions to parse contents as they are read in.
Do this by refactoring misnamed lexsave()/lexrestore() to allow
continuity of history and input.

Add test.
2015-01-08 12:24:00 +00:00
Barton E. Schaefer
93846edb0d 34154/34155: reorder bin_print() to avoid leaking the output descriptor when incorrect/incompatible options were passed 2015-01-07 22:45:46 -08:00
Jun-ichi Takimoto
152b797596 34144: allocate origline by ztrdup(), not by dupstring()
If origline is allocated in heap, it will have been freed
when menuselect() is called directly as a widget.
2015-01-07 21:48:28 +09:00
Mikael Magnusson
b11f7a7e30 unposted: Convert spaces to tabs in ChangeLog 2015-01-06 23:51:19 +01:00
Bart Schaefer
8fea30a571 34122: module: allow NULL third argument as intended
Found by Coverity.
2015-01-06 23:51:19 +01:00
Mikael Magnusson
4701b05cf7 34138: wcs_nicechar: only deref widthp if it was given 2015-01-06 23:51:18 +01:00
Mikael Magnusson
38dc59907b 34120: compctl, jobs: Check contents instead of array
text is an array in the struct, and can never be null.

Found by Coverity (Issue 1255780).
2015-01-06 23:51:01 +01:00
Mikael Magnusson
c425cc9632 34108: Don't leak ifs stuff
Found by Coverity (Issue 1255785).
2015-01-06 23:51:00 +01:00
Mikael Magnusson
6a5339fdd5 34107: getsubsargs: free ptr1 before returning
Found by Coverity (Issue 439073).
2015-01-06 23:51:00 +01:00
Mikael Magnusson
bd2175fe7d 34134: anon funcs: don't leak shf and related data
Found by Coverity (Issue 439076).
2015-01-06 23:50:37 +01:00