1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-11-01 18:30:55 +01:00
Commit graph

3207 commits

Author SHA1 Message Date
Barton E. Schaefer
827d360776 36853: replace pushheap/popheap by NEWHEAPS/OLDHEAPS in doshfunc() to optimize memory management
Includes re-indentation that was not done in the posted patch.
2015-10-14 21:46:26 -07:00
Barton E. Schaefer
643aca932a One crucial assignment accidentally lost from 36834 when merging 36836. 2015-10-11 21:48:10 -07:00
Barton E. Schaefer
d77bf2ba88 36836: zhalloc() avoids re-scanning all heaps when the last known heap with free space does not have enough space
This is the second of two performance optimizations for situations where
all heap arenas in the list are mostly full.
2015-10-11 21:16:58 -07:00
Barton E. Schaefer
9f8e3e82dd 36834: freeheap preserves last allocated heap
This is the first of two optimizations to improve heap performance when
there are a large number of mostly-filled heap arenas.
2015-10-11 21:11:10 -07:00
Peter Stephenson
83a175795a 36780: Fix crash in ksh mode with -n and $HOME.
If home variable is NULL ensure HOME is unset.
2015-10-06 09:28:07 +01:00
Barton E. Schaefer
3f96063335 36773: limit CORRECT / CORRECT_ALL to directory names in cases where it is obvious that a directory is expected 2015-10-04 14:01:08 -07:00
Barton E. Schaefer
cb26e11c70 unposted: back out 36707, add test case for 36766 2015-10-03 22:11:09 -07:00
Barton E. Schaefer
b581c3fece 36766: fix incorrect reset of noerrexit during "if" conditions 2015-10-03 19:40:14 -07:00
Peter Stephenson
faeb9555d3 36760: more care with already unmetafied pattern trial strings 2015-10-03 20:25:57 +01:00
Mikael Magnusson
0626be9e3c unposted: define zle_usable before using it (reported in 36741) 2015-10-02 20:41:53 +02:00
Mikael Magnusson
fa72e54712 unposted: zle_thingy: return a value in bin_zle_flags 2015-10-01 20:24:45 +02:00
Peter Stephenson
807a8338a3 36737: Ensure we don't dreference unterminated zero-length string 2015-10-01 16:21:18 +01:00
Barton E. Schaefer
bc2e73ba4c users/20672: missing "do" in gettext2() for "select" 2015-09-30 20:02:53 -07:00
Barton E. Schaefer
2bf4f667fb 36707: distinguish ERR_RETURN value of retflag so that execif() can ignore it in the test sublist 2015-09-30 20:01:13 -07:00
Mikael Magnusson
a855d7bd24 36709: zle -f from inside widget to set flags and make yank start/end zle params writable 2015-10-01 03:51:44 +02:00
Peter Stephenson
5336587307 36711: Allocate unmetafied pattern trial string on the heap 2015-09-30 10:19:16 +01:00
Barton E. Schaefer
a5a6c58ff8 unposted: fix typo in comment. 2015-09-29 13:36:43 -07:00
Peter Stephenson
d07783628e 36700: unmetafy early for parameter match 2015-09-29 19:47:21 +01:00
Peter Stephenson
f9d7651c25 36682: expand pattern interface to optimise unmetafication 2015-09-28 20:31:51 +01:00
Barton E. Schaefer
4bed2cf256 36669: fix ${(z)...} of an an incomplete math expression by restoring "((" at the front of the token 2015-09-27 23:56:38 -07:00
Daniel Shahaf
2654cb43f6 36651: WARN_CREATE_GLOBAL += math expressions
Without this, '() { (( x=42 )) }' and '() { for (( i=0; … )) }' wouldn't warn
about $x and $i, respectively, being created global.
2015-09-27 23:52:25 +00:00
Barton E. Schaefer
7e4784f901 36663: replace obsolete "autobins" commentary with "autofeatures" 2015-09-27 12:43:25 -07:00
Barton E. Schaefer
c2254cfe2c 36661: replace obsolete "autobins" setting with "autofeatures" 2015-09-27 12:43:03 -07:00
Barton E. Schaefer
50721a1986 36641: fix multibyte handling in incremental search during menu selection 2015-09-26 13:46:20 -07:00
Daniel Shahaf
8165b488cb unposted: zle: Document the C helper function processcmd().
Also, tweak the docstring of zlelineasstring().
2015-09-25 23:38:41 +00:00
Mikael Magnusson
bd5806aa0a 36603: glob: fix dirfd leak during Y shortcut qualifier 2015-09-24 20:52:56 +02:00
Daniel Shahaf
1b5987cdb1 unposted: Followup to 36586: Change C99 comment syntax to the C89 syntax. 2015-09-23 21:41:13 +00:00
Han Pingtian
acf5bd766a 36586: fix completion match right anchor 2015-09-22 10:18:41 +01:00
Peter Stephenson
729f6ddfff 36580: don't copy empty buffer in compmatch.
Also check if length is non-zero when buffer is empty.
2015-09-21 20:33:58 +01:00
Peter Stephenson
8b84419f45 36577: supplement 36559 to using LONG_MAX for 64-bit long 2015-09-21 14:42:22 +01:00
Peter Stephenson
6fa5f0612b unposted: typo in 36559 2015-09-21 13:27:35 +01:00
Barton E. Schaefer
e61717b606 36566: check for regular file before lseek() 2015-09-19 23:05:44 -07:00
Barton E. Schaefer
4375d7b905 36562: sanitize $PWD on import, per POSIX 2015-09-19 23:03:39 -07:00
Peter Stephenson
df0d86b847 36559: test earlier for overflow in pattern range 2015-09-19 23:08:46 +01:00
Barton E. Schaefer
07796811b0 cf. 36554: remove unnecessary pointer dereference 2015-09-19 09:34:05 -07:00
Barton E. Schaefer
18130bed7f 36552 plus test: fix Nularg string in quotestring(QT_DOLLARS) 2015-09-17 21:44:14 -07:00
Barton E. Schaefer
8a818381cf 36525: revert only the selfinsert() bit of 36496
selfinsert() may be called with incomplete wide character processing from
places other than getkeymapcmd()
2015-09-12 20:49:13 -07:00
Barton E. Schaefer
8e77fcb050 36522: unmetafy the argument of "zle -U" 2015-09-12 16:13:01 -07:00
Barton E. Schaefer
6ff0628182 36509: allocate hash table nodes with zshcalloc() to avoid garbage flag values 2015-09-12 09:53:39 -07:00
Jun-ichi Takimoto
8b1676e3b7 36491: Multibyte support for parameter expansion flags B,E,N 2015-09-12 20:35:56 +09:00
Daniel Shahaf
c76f4f96a6 36443: Set zle_highlight=(paste:standout) by default. 2015-09-11 21:49:39 +00:00
Daniel Shahaf
d37b59fe09 36443: Revert "35834: strip a final newline from pasted text: inserting is hard to tell apart from accepting it"
This reverts commit f17eb26a34.

Conflicts:
	ChangeLog
	Src/Zle/zle_misc.c
2015-09-11 21:49:16 +00:00
Peter Stephenson
e1c0a947cc Read full multibyte string early for self-insert 2015-09-11 21:40:45 +01:00
Sebastian Gniazdowski
89b55d4a5f 36489: fix curses bug with hash table for colours 2015-09-11 18:45:01 +01:00
Daniel Shahaf
c088906423 36445: Expose yankb, yanke, ZLE_YANK to widgets. 2015-09-10 19:14:34 +00:00
Peter Stephenson
e86b3cce47 36478: Add [[:INCOMPLETE:]] and [[:INVALID:]] pattern tests. 2015-09-10 20:05:48 +01:00
Barton E. Schaefer
3bca11c35c 36470: Auxiliary to 36468, return an empty buffer from zleread() if a widget exits 2015-09-10 09:10:08 -07:00
Peter Stephenson
86229fdf09 36468: Fix infinite loop exiting from Zle widget.
If the exit was while we were waiting to complete a lexical expression
we might not exit from the loop.
2015-09-10 16:02:27 +01:00
Oliver Kiddle
45e67c3552 36422: add missing unmeta() 2015-09-08 11:12:10 +02:00
Daniel Shahaf
8931e47b8d 36437: Document interaction of $region_highlight and $zle_highlight. 2015-09-07 21:17:40 +00:00