1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-29 19:00:57 +02:00
Commit graph

3008 commits

Author SHA1 Message Date
Barton E. Schaefer
848badaa5f 32568: consistency in handling of errflag condition during substitutions
Affects for/select word lists, function definition name position, and
anonymous function argument lists.
2014-04-20 10:27:15 -07:00
Andrew Waldron
8189e12312 32552 (updated by 32560): fix segfault when using process substitution in anonymous function argument list
Also disallow process substitution in function name position.
2014-04-18 07:30:36 -07:00
Barton E. Schaefer
31e2ae380a 32540: in doexpandhist(), discard saved line position data rather than restoring from it (updates 32531). 2014-04-13 01:26:07 -07:00
Barton E. Schaefer
f61037a0b0 32531: fix memory leaks detected by valgrind 2014-04-06 09:55:49 -07:00
m0viefreak
cd2eb07a78 m0viefreak: users/18655,18657,18660: assorted auto-removable suffix fixes
Src/Zle/compresult.c, Src/Zle/zle_misc.c, Src/Zle/zle_refresh.c: fix
auto-removable suffix highlighting

Completion/Unix/Command/_git: fix compadd for auto-removable suffix in
_git_commit_ranges and _git_stash
2014-03-23 13:02:12 -07:00
Barton E. Schaefer
8672d19f0c 32500: handle interrupts during pattern matching 2014-03-20 07:56:30 -07:00
Peter Stephenson
a06cd1766a 32479: POSIXTRAPS and implicit return values.
With POSIXTRAPS never propagate implicit return value.
In any case if not forcing a return value don't use lastval
from within the trap, use the one from the surrounding code.
2014-03-14 12:52:41 +00:00
Jun T
ba44ba6e6f 32480: Fix crash in vi mode with too few previous changes 2014-03-13 16:29:19 +00:00
Barton E. Schaefer
38be9fe84a 32468: save/restore match/mbegin/mend when doing pattern lookups against zstyle contexts 2014-03-09 00:29:02 -08:00
Oliver Kiddle
f62bd9c06c 32450: make get-line widget set the history number that was saved with the line 2014-03-03 12:17:28 +01:00
Oliver Kiddle
97115e0e7f 32448: fix seg fault if $WIDGET is accessed after recursive-edit is interrupted 2014-03-03 12:14:01 +01:00
Oliver Kiddle
b5fcc04f0e 32436: allow = to be used in ZLS_COLORS patterns if it is quoted or inside parentheses 2014-03-03 11:57:56 +01:00
Manuel Presnitz
973e5dc37d 32412 / 32415: New giga- and terabyte units for glob qualifiers 2014-03-01 19:08:17 +00:00
Barton E. Schaefer
7e04c1a53d 32427: avoid busy loop on closed descriptors for "zle -F" handlers
Also assure the handlers are called on error conditions and document the
extra argument that is passed in the error case.
2014-02-23 18:14:12 -08:00
Peter Stephenson
73db206838 32414: improved error message for missing delimiters.
For glob qualifiers "u" and "g".
2014-02-19 15:34:17 +00:00
Barton E. Schaefer
956d35ef12 32388: zparseopts -K preserves individual associative array elements 2014-02-15 13:49:26 -08:00
Oliver Kiddle
90916c4e08 32361: don't reset lastline before completion 2014-02-14 22:51:33 +01:00
Barton E. Schaefer
ba58bfe4bf 32365: another stab at the heuristic for initializing rprompt_indent 2014-02-08 14:49:39 -08:00
Oliver Kiddle
e1bc9d0a44 32342: fix overstrike for vi mode and use varying vi commands at line start 2014-02-05 21:55:18 +01:00
Oliver Kiddle
2cd3b9ab74 32334 (modified so KEEPSUFFIX is unchanged for vi-cmd-mode; based on
Jun T: 32324, 32330), 32347, Jun T: 32344, 32349:
add split-undo zle widget for configurable breaks in undo sequence
2014-02-05 21:45:19 +01:00
Barton E. Schaefer
71b235bfa7 32341: heuristic initialization of ZLE_RPROMPT_INDENT 2014-02-02 14:07:23 -08:00
Barton E. Schaefer
620b915c4e Fix leading whitespace in a comment 2014-02-02 13:37:36 -08:00
Barton E. Schaefer
3882c30f80 32340: improve error messages for "read -c" / "read -l" 2014-02-02 13:28:41 -08:00
Barton E. Schaefer
f3e7cfe47c 32337: change initialization of some special parameters for emulation compatibility 2014-02-02 13:16:16 -08:00
Oliver Kiddle
a8c4ed64ee 32314: merge undo events corresponding to vi change in the vi-cmd-mode widget so undo from insert mode is useful again 2014-01-31 14:03:47 +01:00
Peter Stephenson
584ea88811 32303: simplistic completion after $x: 2014-01-28 19:14:30 +00:00
Peter Stephenson
c56f5aed59 32308: Improve initialising of vi change.
Better handling when entering viins on entry to editor.
Slightly changed since post to use vi command a.
2014-01-28 16:12:41 +00:00
Peter Stephenson
a0c9da72f2 unposted: update 31983 to suppress stdout from cmp, too.
Gets rid of unnecessary messages building patchlevel.h.
2014-01-27 15:42:48 +00:00
Peter Stephenson
22b8fd6da9 32299: add use of underscores on arithmetic output for spacing 2014-01-23 10:32:59 +00:00
Barton E. Schaefer
6c603a4127 unposted: reformulate 32285 to lift the fheap->sp test out of the loop, improve commentary 2014-01-22 21:47:29 -08:00
Barton E. Schaefer
3e06aeabd8 32294: prevent buffer overflow when scanning very long directory paths for symbolic links 2014-01-19 19:39:31 -08:00
Barton E. Schaefer
23f98c3e1d 32285: restart the fheap search in freeheap if the current fheap arena is about to be discarded; fixes crash 2014-01-18 21:22:11 -08:00
Barton E. Schaefer
1584318b97 32283: fix crash in menu selection when number of terminal lines is small 2014-01-18 12:32:21 -08:00
Peter Stephenson
ed44ddad22 32246: option "shift -p" pops arguments from end of array 2014-01-11 19:31:29 +00:00
Peter Stephenson
d26461a3c6 users/18298 (tidied up): add {<char>..<char>} expansion 2014-01-09 10:05:13 +00:00
Carl Drougge
60372fbda6 32196: copy-prev-shell-word needs a lexer flag 2014-01-02 20:49:04 +00:00
Barton E. Schaefer
120145561f 32208: always reset pathchecked when the path array is modified 2013-12-30 23:31:35 -08:00
Barton E. Schaefer
1136b9b296 32182: re-enable command completion after a separator 2013-12-25 16:24:27 -08:00
Barton E. Schaefer
15f4843c67 32178: fix another acquire_pgrp() infinite loop 2013-12-25 16:20:49 -08:00
Peter Stephenson
aede5c52bf 32176: plug additional deadlock-inducing pipe descriptor leaks 2013-12-21 17:41:21 -08:00
Barton E. Schaefer
9887fc3d7b 32171: close pipe descriptor in parent when left side is a shell construct to
prevent deadlock

Also clean up ChangeLog entry that attributed 32119 to 32114
2013-12-20 23:03:46 -08:00
Barton E. Schaefer
9cacf4411f 32157: fix extra line feed after prompt, and erased character in completion listing, when ZLE_RPROMPT_INDENT=0 2013-12-18 23:45:20 -08:00
Jun T
feae6af6d2 32131: avoid infinite loop reading pty on platforms that do not buffer output after child exit 2013-12-16 22:15:08 -08:00
Peter Stephenson
db23c63005 32136: fix problem with kshglob.
Non-pattern characters that could be followed by "(" to introduce
a ksh glob but weren't caused failures.
2013-12-16 22:20:06 +00:00
Patrick Oscity
977f9ff5c8 32114: ZLE_PROMPT_INDENT allows you to move rprompt flush right 2013-12-16 21:35:21 +00:00
Barton E. Schaefer
bcda34a0b3 32099: change pointer declaration to avoid arithmetic on (void *). 2013-12-10 14:22:10 -08:00
Daniel Shahaf
b28a6365f6 32091: WARN_CREATE_GLOBAL false positive.
In cases like () { foo=bar =true; }
2013-12-06 09:28:42 +00:00
Barton E. Schaefer
5618116020 32061: Fix "use of uninitialized memory" in metafy 2013-11-27 22:09:48 -08:00
Peter Stephenson
4163ebf4c7 unposted, see 32054: Rationalise character encoding.
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-11-27 15:56:44 +00:00
Peter Stephenson
8e2d4c2cf7 32030: need to revert empty glob qualifier change.
It failed on an empty expansion that (N) was supposed to remove.
Add test for this case.
2013-11-20 17:35:57 +00:00
Barton E. Schaefer
b514fbe110 32023: better interrupt handling at RM_STAR_WAIT 2013-11-19 08:30:10 -08:00
Barton E. Schaefer
12fb09c336 31995: Han Pingtian: glob qualifiers cannot follow an empty pattern, so a leading paren means grouping 2013-11-18 08:24:54 -08:00
Peter Stephenson
bd919f30ae 32001: fix crash on ${:*} and ${:|} 2013-11-17 20:33:57 +00:00
Peter Stephenson
11d8781a3f 31983: suppress warning from cmp when genering patchlevel.h.
The warning doesn't indicate a problem, so isn't useful.
2013-11-14 11:59:35 +00:00
Peter Stephenson
4c611f9323 31982: detection of floating point constants was problematic.
Remove the cause and fix the original problem with floating point
numbers with leading zeros (users/17445) a different way.
2013-11-14 11:49:22 +00:00
Peter Stephenson
7a94960957 31977: It's OK to autoload a feature that's loaded.
Simply check that the feature is from the same module that's requested.
2013-11-13 22:14:27 +00:00
Peter Stephenson
2fc2bb7c17 31961: rationalise fd watching to use structure 2013-11-12 20:41:06 +00:00
Peter Stephenson
f77a7a5b18 31937: zle -Fw uses widget semantics for file descriptor handler 2013-11-07 15:19:07 +00:00
Peter Stephenson
375115c7df unposted: updates for 4.0.2-test-1.
Update references to 4.0.2 to 4.0.3.
Additional mod_export declarations.
Additions to .distfiles.
2013-11-06 19:25:07 +00:00
Stefan Neudorf
73746daf7f 31936: Rationalise limits for threads 2013-11-03 19:51:34 +00:00
Stefan Neudorf
93dec3a96a 31935: further updates to limits for BSD 2013-11-03 19:47:00 +00:00
Stefan Neudorf
790a4fee2b 31930 / 31934: New limits from BSD.
Avoid clash of uses for ulimit -k.
2013-10-31 20:25:13 +00:00
Barton E. Schaefer
ed01d6e1e8 31929: Src/jobs.c: fix DPUTS3() test condition from 31906. 2013-10-29 09:28:20 -07:00
Peter Stephenson
cbe9371023 31922: zlecharasstring missed flip of bit 5 after Meta 2013-10-28 17:51:38 +00:00
Barton E. Schaefer
c98cbe25d2 31919: fix deadlock when a shell builtin with a multio redirection is used on the left side of a pipeline
Make sure stdin/out/err file descriptors are closed for the multio copy
process, which means not re-using those descriptors after they are closed
and marked FDT_UNUSED in fdtable[].  For completeness, initialize their
fdtable[] state to FDT_EXTERNAL.
2013-10-27 15:42:00 -07:00
Barton E. Schaefer
c39d2f8e49 31912: in closemn(), distinguish closing for >&- from closing for a real redirect
Fixes knock-on multios bug introduced by workers/20666 way back in 2005.
2013-10-27 11:27:41 -07:00
Barton E. Schaefer
eec5140dde Merge overlapping ChangeLog entries 2013-10-26 16:19:12 -07:00
Barton E. Schaefer
c3114a7735 31906: fix race-condition interaction of $pipestatus with job control
printjob() should not reference oldjobtab for job numbers unless it is being called from bin_fg().  printjob() also must not attempt to update pipestats when called from bin_fg().  acquire_pgrp() should not loop infintely if the shell is not interactive.  Update the $pipestatus stress test so that it also exercises the oldjobtab repair.
2013-10-26 16:11:40 -07:00
Jun T
ef4d20ad6f 31902: rationalise use of gamma function.
Make zsh/mathfunc consistent across systems and use tgamma() where
available
2013-10-27 00:00:56 +01:00
Barton E. Schaefer
5b30149638 31885: fix PIPEFAIL when the last command executes in the current shell 2013-10-24 17:31:13 -07:00
Peter Stephenson
1c172cb080 31877: fix behaviour of disable -p with parentheses 2013-10-24 18:45:50 +01:00
Peter Stephenson
7a5b85292a 31882: Insulate completion widget against environment.
Prevents change in pipestatus leaking back out.
2013-10-24 17:49:37 +01:00
Barton E. Schaefer
65e131c838 31879 plus misc.: improve $pipestatus handling and add a test for it 2013-10-23 22:45:02 -07:00
Barton E. Schaefer
21bbd96d0d 31869: reduce WINCH-twaddling in shingetline() 2013-10-21 08:36:52 -07:00
Peter Stephenson
9a044f1a6a Use VERBOSE option in execstring() 2013-10-19 23:08:24 +01:00
Peter Stephenson
8879c46a48 31846: fix NOEXEC option in execsimple() optimisation 2013-10-18 23:42:07 +01:00
Bart Schaefer
978b5bcc8d 31832: make execrestore() more signal-safe. 2013-10-17 07:35:05 -07:00
Barton E. Schaefer
ff520d1b79 31823: add HISTORY_IGNORE parameter
HISTORY_IGNORE defines a pattern to exclude matching lines in the internal
history from the HISTFILE at write time.
2013-10-17 07:28:52 -07:00
Peter Stephenson
73ececfd01 31830: New feature for zshaddhistory hooks.
If the first non-zero return status is 2, save the line on the
internal history list, but don't write it out.
2013-10-17 10:14:25 +01:00
Mikael Magnusson
fa03332635 31805: Add $patchars and $dis_patchars to zsh/parameter module 2013-10-11 14:57:57 +02:00
Peter Stephenson
d0fe73c5fb 31815: another fix for INCAPPENDHISTORY change.
We need to save immediately if something is pushed on the history stack
to ensure we use the right file before popping.
2013-10-11 11:13:03 +01:00
Peter Stephenson
68a9bab11d 31809: Make whitespace clear in trace output for patterns. 2013-10-10 17:12:50 +01:00
Barton E. Schaefer
8ffdf161c7 31797: to match documentation, avoid expanding history when there is neither a
word nor an event designator

There are still a few cases where expansion is attempted even though the
documentation indicates it will not be, but in most of those cases the
expansion will fail.  The now-fixed case would fall back to default
expansion of the previous command.
2013-10-08 07:21:29 -07:00
Peter Stephenson
6f195241f3 31794: further refinement to INCAPPENDHISTORY change.
With SHAREHISTORY we should make sure the code behaves as it always
did, because it takes care about locking a file once for reading
and writing.
2013-10-07 13:01:26 +01:00
Peter Stephenson
9345e57859 31793: Fix problem with non-interactive history.
Modify 31789 so it doesn't try to save history from hbegin()
in that case.
2013-10-07 11:43:55 +01:00
Peter Stephenson
5236425865 users:18023: Add PIPEFAIL option 2013-10-06 21:35:27 +01:00
Han Pingtian
16ff79a885 31789: Save history for INCAPPENDHISTORY later.
This improves the timing recorded in the history.
2013-10-05 22:03:43 +01:00
Barton E. Schaefer
75fdec17b1 31784: better line width calculation for completion listings
When deciding whether there is enough horizontal space to show completion
descriptions for each match in a listing, treat the separator as part of
the description rather than as part of the match, and account for lines
that have already wrapped due to very long matches.
2013-10-03 15:59:52 -07:00
Barton E. Schaefer
ea30fdaf25 31781: "compdescribe -i" clears the completion list column padding width 2013-10-03 14:52:54 -07:00
Barton E. Schaefer
ae92cadc75 31772: queue_signals() to prevent re-entry into endparamscope(). 2013-09-26 21:27:27 -07:00
Barton E. Schaefer
98b0828c63 31770: memmove() instead of memcpy() for overlapping regions. 2013-09-26 21:24:58 -07:00
Peter Stephenson
0ed3c5ccd0 31765: If zle starts in viins mark as insertion.
This allows undo to work on everything entered.
2013-09-25 18:42:59 +01:00
Peter Stephenson
60debf388f 31764: Dewreakify havoc caused by pattern disables on glob qualifiers.
Don't use the zpc_specials array before it's defined, it's rude.
2013-09-23 21:02:31 +01:00
Barton E. Schaefer
27f9c515ff unposted: improve an error message. 2013-09-21 16:39:25 -07:00
Barton E. Schaefer
61deff76f2 31737: same loop counter fix in get_cadef as get_cvdef. 2013-09-19 07:55:53 -07:00
Axel Beckert
844e569b63 31735: fix off-by-one in completion utility cache code.
Was causing crashes in complex completions, particularly with taskwarrior
2013-09-19 09:45:45 +01:00
Peter Stephenson
c866657a3c 31706: standardize handling of "test ! <x> <y> <z>" 2013-09-06 20:37:40 +01:00
Peter Stephenson
2afa556d8f 31696: In "test" No One Can Hear If You Shriek.
Treat ! as a string in "test ! -a ..." and "test ! -o ...".
2013-09-04 20:16:58 +01:00
Peter Stephenson
b0a0441902 31672: Add test that was failing and fix zpty set-up race 2013-08-26 21:01:17 +01:00
Peter Stephenson
f75904a380 31665: zpty should attach terminal on slave.
Also add test.
2013-08-25 20:48:52 +01:00
Barton E. Schaefer
935758ab7f 31637: be more selective about retry of lchdir() in cd_do_chdir()
Change of directory should not be retried relative to the current directory
when it has already failed along some path that does not refer to the
current directory.
2013-08-18 20:24:45 -07:00
Peter Stephenson
40a881569f 31650: use zlong for mailcheck parameters to ensure range 2013-08-11 20:19:53 +01:00
joe M
b9e16ac818 31648: fix timing errors in mailcheck 2013-08-10 19:48:13 +01:00
Peter Stephenson
8ae8fae400 31644: Fix insertion of multibyte characters into editor line.
This was broken for a string that came from outside ZLE in the case
where the editing buffer wasn't metafied, i.e. not in completion.
2013-08-08 20:10:06 +01:00
Peter Stephenson
0b185e3dcd users/17908: Keep history line in sync between ZLE and shell.
Update ZLE version if history is read, pushed or popped with ZLE active
2013-08-08 19:48:11 +01:00
Peter Stephenson
9ebf22b34b 31631: Use cygwin_conv_path if available.
Prefer it to cygwin_conv_to_posix_path.
2013-08-05 19:55:15 +01:00
Peter Stephenson
568e0db7a9 31611: attempt to fix crash completing redirection in do loop 2013-08-02 18:58:35 +01:00
Peter Stephenson
9d32c82da3 17591: fix error message for invalid fd in print -u 2013-07-29 10:44:07 +01:00
Peter Stephenson
4095e175b6 31574: alternative fix for bad fd if no FD_CLOEXEC.
Remove dump records more consistently in that case.
2013-07-25 09:45:33 +01:00
Peter Stephenson
e282fd8ecb 31750: fix for HISTREDUCEBLANKS option.
Don't truncate line after marked words if there's more
non-white-space text, which is probably comments.
2013-07-24 15:54:55 +01:00
Peter Stephenson
31c5c7bb11 unposted: fix previous commit: ihwend -> hwend 2013-07-22 21:00:50 +01:00
Peter Stephenson
6533ae0719 31559: Fix history line problem with aliases and comments 2013-07-22 20:58:57 +01:00
Peter Stephenson
709dbbbda8 31549: Fix third problem with file descriptor management.
Replace ad-hoc subsh_close file descriptor for pipe management with the new
job-based addfilelist() mechanism.
2013-07-21 18:23:04 +01:00
Peter Stephenson
39ab9952e8 31545: Use of FD_CLOEXEC to remove possibility of fd reuse.
File descriptors of mmap'd dump files are closed if and only if
an exec is performed.
2013-07-20 23:23:18 +01:00
Peter Stephenson
cda21a28e6 31536 with additions: Fix hang in previous process substitution fix.
Close applicable file descriptors when waiting for a job.
2013-07-19 12:09:32 +01:00
Peter Stephenson
3c5732223f 31528: use job table to record file descriptors associated with process subst 2013-07-17 21:33:16 +01:00
Mikael Magnusson
d904e85904 31483: Call zrefresh() before unqueue()ing signals
Not doing so causes problems for example with this .zshrc

zle -N zle-line-init foo
zle -N set-local-history bar
foo() { zle set-local-history -n 1 }
bar() { zle reset-prompt }
2013-06-27 13:02:23 +02:00
Peter Stephenson
347a63da0c 31465: fix basic completion and globbing uses of disabled patterns 2013-06-13 18:40:36 +01:00
Peter Stephenson
fdf2867e5f 31444: Basic code for enable/disable -p 2013-06-13 18:38:33 +01:00
Barton E. Schaefer
e36e7d9ade 31474: create patchlevel.h correctly when using a separate build tree 2013-06-13 09:46:43 -07:00
Peter Stephenson
68d0d76db5 31441: use array to decide which forms of pattern are enabled 2013-06-01 20:39:09 +01:00
Peter Stephenson
a4d3b8f676 31419: Add time zone and year to string formatted time output from zstat 2013-05-21 17:42:57 +01:00
Barton Schaefer
1182a75e1b upon "read" of a short line, assign all variables passed as arguments.
It was noted that (print 1 2 | read one two three four) assigned values
only to $one and $two except in the case where EOF was reached.
2013-05-20 23:38:58 -07:00
Mihai Moldovan
d88bd1409e Unused function attribute fix for clang compilation 2013-05-10 10:00:52 +01:00
Frank Terbeck
2405b0ac0c 31376: Make sure every execve() is prefixed by winch_unblock()
This was suggested by Bart Schaefer in 31375.
2013-05-05 20:33:36 +02:00
Frank Terbeck
9604bc9a9f Revert "31372: Do not block SIGWINCH for child processes"
This reverts commit f8ab02ad5f.

As Bart suggested in 31375.
2013-05-05 20:33:07 +02:00
Bart Schaefer
f8ab02ad5f 31372: Do not block SIGWINCH for child processes
Something similar may also be needed in the zpty and clone modules.
2013-05-05 11:27:39 +02:00
Bart Schaefer
4e43360261 31361: handle negative optno ("no" prefix used)
when storing options with parseopts_insert() for sticky contexts
2013-04-30 00:22:03 -07:00
Bart Schaefer
f4b0833270 31353: fix handling of floating point in ternary 2013-04-30 00:18:13 -07:00
Bart Schaefer
d19e18c68d 31350: block SIGWINCH nearly all the time, except
when about to calculate prompts or do synchronous read, so
syscalls are not interrupted by window size changes.
2013-04-30 00:08:49 -07:00
Bart Schaefer
fa7c51971d 31272: Avoid double free, get_compctl should not free its arguments. 2013-04-20 08:40:18 -07:00
Peter Stephenson
424ff5644b users/17754: failing to retie an array
and colon-separated scalar shouldn't be a fatal error
2013-04-10 18:14:41 +01:00
Peter Stephenson
369dc3a107 31246: make a separate patch level header for releases 2013-04-09 20:21:57 +01:00
Frank Terbeck
daf4f19c3f 31172: Let vared define custom init and finish hooks
Using this, you can do things like this in a more straight-forward
manner:

foo-init() { CURSOR=0; }
zle -N foo-init
foo=$'Some longer\nbuffer with\nmultiple lines.'

vared -i foo-init foo
2013-04-05 17:23:45 +02:00
Frank Terbeck
6654b87b45 31174: zle: Make sure state changes are refreshed after init hook
If `zrefresh' is not called _after_ the zle-line-init hook, any changes
made to the editor's state (be it changes to $CURSOR or $BUFFER or
called widgets like `clear-screen') will only be picked up after the
first character is typed into the editor.
2013-04-05 17:23:45 +02:00
Aaron Schrab
07478c6bc3 Generate patch level using git describe
Generate the patch level using `git describe` rather than relying on the
CVS $Revision$.  Need to use the `--tags` option, since currently there
are no annotated tags.  The `--long` option should be used so that the
output will always be in the 'tag-commits-hash' format rather than just
naming a tag when that would fully describe the current commit.

Since changes to the patchlevel could now be caused by changes to any
file, force the rule to be called every time that `make` is run.  Only
update the file when there are actually changes to prevent unnecessary
rebuilding of other build products (currently just `params.o` and
`zsh`).
2013-04-03 22:10:17 +02:00
Peter Stephenson
b6f704a642 Jun. T: typo in vi-goto-mark 2013-04-02 16:20:28 +00:00
Bart Schaefer
0c226a6282 31158: following a wildcard with a repetition produces a bad pattern error 2013-03-19 15:05:35 +00:00
Mikael Magnusson
1d3d92a0c9 31140: avoid crash when hitting recursion limit 2013-03-13 19:54:20 +00:00
Peter Stephenson
fb3ad98f71 31141: Tighten NO_CLOBBER restrictions on {fd} syntax
to apply only if $fd is exactly an fd and nothing else.
2013-03-10 21:45:04 +00:00
Mikael Magnusson
8a9b141652 30496: Parse argument to %F and %K as prompt sequences 2013-03-10 12:33:04 +00:00
Peter Stephenson
3def943d04 users/17665: add FORCE_FLOAT option 2013-03-05 20:04:53 +00:00
Peter Stephenson
555b95c5f3 31060:"+" before a flag for "functions" or
"autoload" should suppress display of function body.
2013-02-22 20:26:32 +00:00
Oliver Kiddle
d88a46b1a9 31037: return to previous position with vi-goto-mark using `` or '' 2013-02-09 21:27:47 +00:00
Peter Stephenson
44757a653c 30993: fix parameter modifier crash with :wq on empty string 2013-01-22 16:28:58 +00:00
Bart Schaefer
3ed9e4d1b9 unposted: tweak 30949 to fix buffer pointer 2013-01-08 07:18:50 +00:00
Bart Schaefer
dda51b9dbb 30949: restore "read -q" behavior lost by 27188 2013-01-06 18:55:00 +00:00
Peter Stephenson
841e60c340 this prevent process-based features from working in their arguments 2012-12-21 11:28:33 +00:00
Peter Stephenson
f73d92f5dc add missing mod_export 2012-12-16 18:43:24 +00:00
Peter Stephenson
1869eeb393 30876: fix obscure failures to propagate non-zero status
from optimised simple commands within lists
2012-12-13 10:36:59 +00:00
Bart Schaefer
431c22024d users/17445: fix handling of leading zeroes in floating point 2012-12-08 19:50:20 +00:00
Bart Schaefer
daa9e1fd54 users/17042: don't stomp the environment in "jobs -Z" unless we've first
copied it to new memory.
2012-11-18 18:27:18 +00:00
Peter Stephenson
7c56d77184 30789: Add CONTINUE_ON_ERROR for old behaviour.
New behaviour is for scripts to exit on error instead of returning
to top level and executing the next command.
2012-11-15 21:08:15 +00:00
Bart Schaefer
cba5449c3d 30786: do not enter interactive history editing or command execution if
"fc" is called from a ZLE widget.
2012-11-08 16:50:38 +00:00
Peter Stephenson
64e925bd65 30783: We don't want leading "="s to be active when
tokenising strings that aren't going to be treated as command line
arguments
2012-11-08 12:28:11 +00:00
Peter Stephenson
cd0c6153e0 30735: array substitutions aren't simple:
prevent crash on process substitution therein
2012-10-25 08:54:31 +00:00
Peter Stephenson
4b86cc48f7 30726: make shell options passed to emulate stick along with the emulation 2012-10-11 20:14:01 +00:00
Peter Stephenson
ad92cb3203 30724: shell code optimisd to use execsimple() doesn't have a valid thisjob 2012-10-11 16:36:14 +00:00
Peter Stephenson
34ed3eaecd users/17318: only increment the undo variable return value for the
first request in a row
2012-10-09 16:27:11 +00:00
Peter Stephenson
0fda80344b users/17314: ensure an undo change number
uniquely specifies a point in editing history by incrementing
the value returned by the variable.
2012-10-09 14:57:13 +00:00
Peter Stephenson
8d9cb7f42e fix trivial typo with "functions +T" 2012-10-09 09:24:22 +00:00
Peter Stephenson
4e2cdd7956 30722: fix some cases where emulations or options were not propagated properly
from the emulate command
2012-10-07 19:46:46 +00:00
Peter Stephenson
321471891e 30718: emulate command evaluations should apply sticky emulation
to autoloads, too
2012-10-07 17:50:18 +00:00
Peter Stephenson
76ac7bf742 30716: make IGNORECLOSEBRACES an emulation option 2012-10-05 21:42:59 +00:00
Peter Stephenson
eb562c9f2c 30715: use enum lextok for variables containing lexical tokens 2012-10-05 21:35:05 +00:00
Peter Stephenson
61b9529ff8 users/17310: we can't treat < after [ as a normal character.
Document problem and test for case that needs to work.
2012-10-03 18:11:12 +00:00
Peter Stephenson
76590bd93c users/17304: angle brackets aren't associated with special parsing
inside square brackets
2012-10-02 12:46:45 +00:00
Peter Stephenson
dbec4fa6cc 30692: allow autoload +X -m to work
change to _path_files to make it load in that fashion
2012-09-21 19:08:35 +00:00
Peter Stephenson
8e43f7f3c8 30687 with typo corrected: don't REPORTTIME if zleactive 2012-09-21 12:45:12 +00:00
Peter Stephenson
e550c98d69 30647, 30649: allow underscores in numeric constants 2012-09-11 16:02:41 +00:00
Peter Stephenson
dd3a8ead16 users/17236: r and other fc output didn't metafy when listing to a file
other than stdout
2012-09-08 19:19:06 +00:00
Peter Stephenson
361e171672 30656: prevent SIGFPE in division by -1 by multiplying instead 2012-09-06 18:22:30 +00:00
Peter Stephenson
9c49c8dd27 John Stahara: 30641: bindkey -N error report is misleading
when copying keymap.
2012-08-25 18:02:32 +00:00
Peter Stephenson
13b8a25456 Jun T.: 30640: MacOS doesn't define __STDC_ISO_10646__ but we need
the replacement wcwidth function anyway
2012-08-23 19:19:26 +00:00
Peter Stephenson
6f3ff6b653 30633: "functions -T" only traces marked function, not called functions 2012-08-21 18:03:01 +00:00
Peter Stephenson
e92a823a4b 30629 plus unposted formatting changes:
support socket buffer size limit properly in ulimit;
improve consistency of output and documentation and tweak formatting appropriately
2012-08-17 13:26:22 +00:00
Peter Stephenson
9fdcd824d8 30627: support RLIMIT_NTHR as on NetBSD 2012-08-17 11:12:34 +00:00
Peter Stephenson
97cf64a7ee Hiramatsu Yoshifumi: 30621 patch-ab (from NetBSD pkgsrc):compilation on
__INTERIX
2012-08-16 19:12:26 +00:00
Peter Stephenson
268e56a144 30169: repeat "typeset -T" with same two first arguments is not an error 2012-08-16 14:00:11 +00:00
Peter Stephenson
1849668c81 30617: rationalise replacement tgoto() prototype 2012-08-16 13:42:21 +00:00
Peter Stephenson
1c0ed3b498 Aaron Scrab: 30604: make repeating vi skip character useful by ignoring
character just matched
2012-08-13 08:47:13 +00:00
Peter Stephenson
3e39278c24 Aaron Schrab: 30603: repeating vi skip characters command caused bad position 2012-08-13 08:44:05 +00:00
Peter Stephenson
85a698b8ec YAMAMOTO Takashi: 30599: don't use replacement wcwidth if not ISO-10646 2012-08-07 18:29:02 +00:00
Peter Stephenson
129ebac4b0 Bart: 30560: unset ordinary array element by setting to null 2012-07-15 18:06:40 +00:00
Bart Schaefer
e1491b2542 30540: typeset flag handling with SECONDS 2012-06-30 17:40:18 +00:00
Bart Schaefer
9af1cd4722 30530,30533: fix problems with COLUMNS or LINES < 1, and related issues 2012-06-27 07:10:29 +00:00
Peter Stephenson
cbb8a3c762 30518: attempt to supply tgoto() prototype when missing only.
For Solaris 10 and earlier.
2012-06-21 08:45:02 +00:00
Peter Stephenson
c3fb9dbfa3 Dima Kogan: 30515: fix globbing problem with large files:
failure owing to bad cast with large integers
2012-06-18 09:05:01 +00:00
Phil Pennock
52ef609f69 30513: zsh/regex metafy fixes for widechar 2012-06-16 01:21:02 +00:00
Peter Stephenson
d64e62ef11 Danek: 30485: trailing garbage after signal number not recognised in kill 2012-05-22 08:57:22 +00:00
Peter Stephenson
d60de3001b 30469: Src/builtin.c: allow reverse listing of history using
fc -r, but don't allow reverse execution of commands at all.
2012-05-08 11:29:32 +00:00
Mikael Magnusson
8ac002dab1 unposted: fix trailing spaces from previous commit 2012-05-02 13:59:28 +00:00
Mikael Magnusson
f7ce5878b8 30425 (fixed): Add localhistory/globalhistory to $ZLE_STATE as set by the set-local-history zle widget 2012-05-02 13:30:33 +00:00
Peter Stephenson
cd1b5d86e0 users/17046: don't count too many elements when splitting quoted parameter
substitution on null parameter
2012-05-01 19:43:44 +00:00
Peter Stephenson
c335b7f0a1 30455: remove max array length test 2012-04-25 09:31:57 +00:00
Peter Stephenson
e49e41725a unposted: add test for valid identifier to 30431 2012-04-22 20:49:39 +00:00
Peter Stephenson
cb4ff5e970 30439: ${...:*...} with nonexistent or non-array after *
should return no results
2012-04-22 18:39:53 +00:00
Peter Stephenson
5eb53bf88d 30431 with typo in _typeset fix:
add ${...:|...} and ${...:*...} operators, as documented
2012-04-22 18:10:42 +00:00
Bart Schaefer
19fe2dcc03 30433: double backslash is not line continuation. 2012-04-21 18:42:56 +00:00
Peter Stephenson
4f142f2794 30413: (q-) parameter flag should quote null string
(q-q) etc. should be treated as errors
2012-04-16 11:26:09 +00:00
Peter Stephenson
b8d7e068fc 30410 plus one other case: avoid divide-by-zero errors
in TIMEFMT interpretation
2012-04-15 13:46:35 +00:00
Peter Stephenson
653abd34a9 30391: tweak to ignore DISABLED flag in new hash-based arrayuniq() 2012-04-13 16:01:20 +00:00
Bart Schaefer
4a4d9f3cbe 30383, users/16991 (Vaclav), users/17000: Improve speed of arrayuniq() by
implementing a hash seive algorithm; add test to exercise it.
2012-04-10 01:17:02 +00:00
Peter Stephenson
791ada572b add some braces to avoid compiler warnings 2012-03-30 11:01:11 +00:00
Peter Stephenson
13a45d74eb users/16932: implement $UNDO_CHANGE_NO and argument to undo widget 2012-03-29 20:31:33 +00:00
Peter Stephenson
a76c8de44c 30351 + 30352: metafy strings on import into zsh variables 2012-03-13 09:47:01 +00:00
Bart Schaefer
fa8a0e241c 30320: "emulate" accepts invocation-time flags; other small doc tweaks. 2012-03-07 06:10:42 +00:00
Peter Stephenson
86f8e8de69 30307 plus tweak suggsted by Wayne: use %lld for zlong when long long 2012-03-05 10:06:28 +00:00
Peter Stephenson
7614be7fe1 30303: emulate inside function marked for execution tracing enables xtrace 2012-03-01 13:00:52 +00:00
Bart Schaefer
30361b650c 30184: use a HASH_EXECUTABLES_ONLY test that matches the test used by
exec.c:iscom() during path search.
2012-03-01 03:35:04 +00:00
Bart Schaefer
8c37e6f077 30272 (tweaked): most failures of fork() cause non-interactive shells to
exit nonzero; bad options to "exec" cause exit under POSIX_BUILTINS.
2012-03-01 03:33:18 +00:00
Mikael Magnusson
47a48ced0e 30276: Src/glob.c: Use zlong rather than int when calculating brace expansions of the form {1..9}. 2012-02-29 17:06:07 +00:00
Peter Stephenson
6f93994a5a 30299: "$*" was split with SHWORDSPLIT if IFS was empty or unset 2012-02-29 09:57:40 +00:00
Bart Schaefer
15138d4fb7 30242: use PREFORK_SINGLE for ${...=...} in POSIX emulation 2012-02-20 17:50:39 +00:00
Peter Stephenson
53f893d062 30181, plus rename of PF_* flags to PREFORK_*:
Pass sh-wordsplitting instructions to paramsubst() using flags,
avoiding side effects of explicitly setting and unsetting the
SHWORDSPLIT option.
2012-02-12 20:27:48 +00:00
Bart Schaefer
3489c15799 30193: remnulargs() after poking into string in case length changes 2012-02-09 20:12:33 +00:00
Peter Stephenson
fe7337447c Timothy Redaelli: file name manipulations
in history can return NULL if HAVE_CANONICALIZE_FILE_NAME
2012-02-08 09:35:17 +00:00
Peter Stephenson
a84560cbf2 Holger Macht via Ismail: 30185: openSUSE directory missed from
module definition
2012-02-07 15:41:01 +00:00
Peter Stephenson
4735ee67af 30127: forbid fc from executing history lines in reverse 2012-02-05 19:28:16 +00:00
Frank Terbeck
c8381cda78 30111: Src/exec.c: Fix segfaults with exec options. 2012-01-16 22:14:11 +00:00
Peter Stephenson
c214b86e94 30101: add HASH_EXECUTABLES_ONLY option 2012-01-08 16:02:54 +00:00
Peter Stephenson
9934781a97 30098: Jun T.: alternative to 30079: don't setlocale() in setlang() if LC_ALL set 2012-01-07 23:21:00 +00:00
Peter Stephenson
2d47270112 unposted: fix uninitialised variable warning in pcre 2012-01-06 10:08:53 +00:00
Peter Stephenson
9b923cccea 30084: `zle -T tc func' for zle testing of termcap output 2012-01-05 20:01:24 +00:00
Frank Terbeck
1a330ad751 30079: Src/params.c: Restore LC_ALL' when setting LANG'. 2012-01-04 22:35:55 +00:00
Peter Stephenson
731877dd78 30084: missing zsfree(argzero) 2012-01-04 17:50:11 +00:00
Bart Schaefer
bcd0fd1128 queue_signals() to prevent adjustwinsize() loop on FreeBSD 2012-01-02 19:31:16 +00:00
Peter Stephenson
ae146b0fe2 30041: fix bash-style offsets for positional parameters when scalars 2011-12-21 22:39:28 +00:00
Bart Schaefer
81cb361d73 30033: silence valgrind warnings 2011-12-20 17:15:50 +00:00
Peter Stephenson
93139f39f1 30000 plus some comments: Better POSIXJOBs behaviour.
Don't restore default SIGTTOU etc. behaviour if still doing job control.
Only carry on doing job control in subshell if it's a real
(...) subshell
2011-12-12 19:25:02 +00:00
Peter Stephenson
acb97e6115 29991: allow explicit "d" for days in time qualifiers 2011-12-11 17:22:59 +00:00
Peter Stephenson
e3182c18de 29955++: IGNORE_CLOSE_BRACES option 2011-12-08 19:42:07 +00:00
Oliver Kiddle
fe1dc5102a 29952: fix cut'n'paste error in nanosecond timestamp support 2011-12-07 01:31:20 +00:00
Peter Stephenson
74eed99c31 29940: metafy() added null termination even if buffer was not modifiable 2011-12-03 23:15:37 +00:00
Peter Stephenson
724fd07a67 29934: Stef van Vlierberghe: uninitialised memory after lexer realloc 2011-12-03 17:24:45 +00:00
Peter Stephenson
79dd647496 Ismail Dönmez: 29920: NO_EXEC problem with arithmetic substitution 2011-11-28 09:48:22 +00:00
Peter Stephenson
cf4e27a129 29907: Jun T.: remove declaration of unused variable 2011-11-17 12:27:18 +00:00
Bart Schaefer
7c5173ba0f users/16581: skip correction shortcut based on command table search when
the word is not in command position; on rejected command correction,
reset incremental path hashing.
2011-11-15 15:08:56 +00:00
Peter Stephenson
45faf8f5b2 29891: make zle -lL with arguments work 2011-11-04 14:14:26 +00:00
Peter Stephenson
fdb00982f5 Jun T: 29883: cast resource types to types they should be anyway 2011-10-31 09:48:58 +00:00
Peter Stephenson
6cd43e7d70 29879: metafy dlerror message to avoid corruption 2011-10-28 10:46:23 +00:00
Peter Stephenson
faa02346a8 29844, 29845: remove bogus
error on closing fd's 0 to 9; update test
2011-10-26 18:48:13 +00:00
Peter Stephenson
68d1c094db 29865: don't compile pcre if no pcre-config 2011-10-26 16:46:09 +00:00
Peter Stephenson
31c422299d 29859: compadd handles its own options 2011-10-26 12:45:10 +00:00
Phil Pennock
2f3c16d40f 29838: metafy/unmetafy strings for PCRE matching (UTF-8 fixes) 2011-10-24 11:31:25 +00:00
Peter Stephenson
8dc39360c9 29820: _pick_variant -b to match builtin 2011-10-14 19:01:41 +00:00
Bart Schaefer
188abdd708 29799: swap order of RESET_PROMPT / REFRESH in adjustwinsize(). 2011-10-02 01:10:11 +00:00
Bart Schaefer
748bd73d88 unposted: cross-reference zmodload from the modules intro doc.
29769: follow-up 29677 to handle the case where thisjob == -1.
2011-09-25 18:09:13 +00:00
Peter Stephenson
84f8330e0d users/16375: initialise nrefs on each loop in match tests 2011-09-18 17:44:12 +00:00
Peter Stephenson
3dba9a8614 29776: fix case of double quotes in double-quote-style
parsing where end character is something else
2011-09-15 14:04:51 +00:00
Peter Stephenson
a6de37ec2b 29744: don't mess up non '-A' cases in read -E fix 2011-08-29 17:21:39 +00:00
Peter Stephenson
af071465b1 29731: fix read -AE, test that and read -Ae 2011-08-28 17:06:27 +00:00
Peter Stephenson
ca7269e82d users/16289: don't delete temporary files on disown.
Document.
2011-08-28 16:38:28 +00:00
Bart Schaefer
f7111d3358 29694: avoid overwriting current history word when not expanding an alias
or history event in-place.
2011-08-18 02:24:10 +00:00
Peter Stephenson
85b00bb0f7 29703: crash when failing to parse process substitutions 2011-08-17 20:26:05 +00:00
Peter Stephenson
815e52cdbf users/16253, users/16255: a nulstring should be split like an empty string 2011-08-17 19:00:08 +00:00
Mikael Magnusson
cd3acd762d 29681: use [] to dereference region_highlights 2011-08-17 10:15:49 +00:00
Wayne Davison
2c9b4e769f 29650: Don't lose time info after a suspend+restore. 2011-08-16 15:27:05 +00:00
Peter Stephenson
3ba487ca77 unposted: use pm->node.nam to get names for parameters in errors 2011-08-15 19:32:30 +00:00
Bart Schaefer
516ea294b8 29677: Do not allow external processes in a pipeline to become suspended
when the end of the pipe is controlled by a builtin in the current shell
which cannot itself become suspended.
2011-08-14 18:34:27 +00:00
Mikael Magnusson
8af2cbd1f2 unposted: fix capitalized word in the middle of a sentence 2011-08-14 14:21:27 +00:00
Mikael Magnusson
d0366e1960 unposted: fix a typo in a comment. 2011-08-14 14:16:45 +00:00
Peter Stephenson
515554acbc fix datetime autofeatures 2011-08-11 19:43:46 +00:00
Peter Stephenson
548c4562fe fix tests using zsh/datetime that I broke 2011-08-11 19:32:50 +00:00
Peter Stephenson
8cbd510002 29674: add $epochtime to datetime 2011-08-11 18:45:04 +00:00
Peter Stephenson
bbbaed2b53 29663: add $EPOCHREALTIME to zsh/datetime 2011-08-10 11:31:18 +00:00
Bart Schaefer
92ee9324a9 29654: "wait" should resume stopped jobs identified by process ID as well
as by job number; temporary (?) workaround for pipelines getting lost if
TSTP is delivered when a shell builtin is the tail of the pipe.
2011-08-10 03:21:15 +00:00
Peter Stephenson
a3ae9f5d12 29643: set incompfunc to zero when executing hook or trap function 2011-08-04 08:30:50 +00:00
Peter Stephenson
4a3ce8ab89 29644: work around _describe bug, plus cosmetic tweaks 2011-08-03 20:57:32 +00:00
Peter Stephenson
d48faef8cd 29633: more care with anonymous and other functions 2011-08-03 18:45:17 +00:00
Peter Stephenson
7d1480af54 29626: arguments to anonymous functions shouldn't be parsed as command words 2011-07-28 09:20:02 +00:00
Peter Stephenson
45913f43e5 29561: Allow closing of fd's not recorded by the shell 2011-07-25 10:20:09 +00:00
Peter Stephenson
a8657c4b40 29555: fix problem using open fd beyond max_zsh_fd 2011-07-19 09:26:56 +00:00
Peter Stephenson
5c3c825e5f users/16131: skip reading empty history file 2011-07-18 18:13:03 +00:00
Peter Stephenson
a05a51ce8a 29542: fix crash in hbegin(), remove bad test
29543: fix backslash-newline within words with histlexwords
2011-07-12 08:37:11 +00:00
Peter Stephenson
ad29258c8c 29530: ${...?...} shouldn't cause an error with NO_EXEC option 2011-07-01 15:23:01 +00:00
Peter Stephenson
e1680e6840 29503: Missing popheap() on failed autoload 2011-06-23 19:29:24 +00:00
Peter Stephenson
6062529d3f 29492: add argument handling to anonymous functions 2011-06-19 20:12:00 +00:00
Peter Stephenson
437d5d98f6 unposted: Remove additional for loop noticed by Mikael 2011-06-19 19:42:41 +00:00
Peter Stephenson
962624e8c3 29491: remove some variables set but not used 2011-06-19 16:26:10 +00:00
Peter Stephenson
c31caeb086 29490: add RLIMIT_RTTIME 2011-06-19 00:10:34 +00:00
Bart Schaefer
98b29d02ca 29481: always return a matching job in findproc() but scan the whole list
to prefer running jobs
2011-06-15 15:38:14 +00:00
Bart Schaefer
21c39600ef 29472: findproc() needs at least to also return stopped jobs. 2011-06-12 15:06:37 +00:00
Peter Stephenson
03b0edaa63 29462: fix warning 2011-06-06 09:08:21 +00:00
Peter Stephenson
d7582f006f 29459: Further fixes for parameter flag completion,
plus drive-by fix for double-quoted parameter completion with flags
2011-06-04 21:32:06 +00:00
Peter Stephenson
d292edc4dc 29452: allow completion of parameter flags 2011-06-03 22:06:59 +00:00
Peter Stephenson
22af58bf2b 29451: ${##stuff} removes stuff from the head of $# 2011-06-03 22:03:43 +00:00
Peter Stephenson
12e246495c 29413: "print -S" for saving to history with lexical word split 2011-06-03 19:54:43 +00:00
Peter Stephenson
31456074c8 histlexwords splitting of ";;" in case 2011-05-27 21:56:09 +00:00
Bart Schaefer
8a6222a372 29382: apply 29374 to zccmd_input too. 2011-05-27 13:54:07 +00:00
Mikael Magnusson
bd2d0636d2 29329: fix undefined behaviour in math.c 2011-05-27 01:42:30 +00:00
Peter Stephenson
54acd80359 29374: exit ZLE immediately if exit pending when keypress expected 2011-05-26 09:19:11 +00:00
Bart Schaefer
e39dfaeb95 29367, 29368: avoid redirecting the xtrace of simple commands along with
their standard error.
2011-05-24 15:49:03 +00:00
Peter Stephenson
29d0aa8ef8 29351: casts needed to pass integers through stdarg 2011-05-23 16:08:47 +00:00
Mikael Magnusson
0198b8423d 29224: Support negative LEN in ${VAR:OFFSET:LEN} like bash. 2011-05-19 16:24:38 +00:00
Mikael Magnusson
6a29bc80d0 29261: Add g:: flag. 2011-05-19 16:16:28 +00:00
Mikael Magnusson
72cb7cfc6f 29307, 29308 + replies: Fix some doubled words in docs and comments. 2011-05-19 16:10:46 +00:00
Bart Schaefer
6699851bcb 29313: better sh emulation with SHWORDPLIT and empty $IFS 2011-05-18 01:49:15 +00:00
Bart Schaefer
86b900ad97 29312, users/16032: add "zparseopts -M" 2011-05-18 00:23:00 +00:00
Peter Stephenson
ad30100e09 29282: hide prototypes for ZSH_HEAP_DEBUG with #ifdef's 2011-05-14 17:23:23 +00:00
Bart Schaefer
fdb4a83213 29276: always typedef Heapid for use by auto-generated header files. 2011-05-14 04:10:07 +00:00
Peter Stephenson
f61ae85acf 29268: extra dupstring() for value to be used in completion match group 2011-05-14 00:36:06 +00:00
Peter Stephenson
506615ff94 29267: add -enable-zsh-debug and use for debugging completion matcher groups 2011-05-14 00:07:41 +00:00
Peter Stephenson
9c0a19669b Danek: 29254: fix some compiler warnings 2011-05-13 18:12:05 +00:00
Peter Stephenson
a5ff5b61a4 Jérémie Roquet: 29258: mark a couple more functions for export. 2011-05-13 11:59:05 +00:00
Mikael Magnusson
1ac8412d6f 29208: make vimatchbracket more useful in emacs mode 2011-05-12 15:55:12 +00:00
Peter Stephenson
7fc9a4414d 29217: main shell now depends on zshcurses.h and zshterm.h 2011-05-11 08:59:55 +00:00
Peter Stephenson
d770d2554b rename system.h to zsh_system.h 2011-05-10 16:44:38 +00:00
Peter Stephenson
de06c83334 29214: use -I rather than explicit path to find headers 2011-05-10 16:40:27 +00:00
Peter Stephenson
c59e19cd77 29191 (Danek) and 29203 (with fixes): make TERMINFO variable special. 2011-05-10 15:40:32 +00:00
Peter Stephenson
bafa15955d 29195: Separate nameddir hash to avoid clash of
"bool" type on Solaris
2011-05-09 10:38:02 +00:00
Peter Stephenson
ae4a0ab46c 29193: badly placed variable declaration 2011-05-09 10:27:32 +00:00
Peter Stephenson
d89361739a 29165: use term.h globally if needed at all. 2011-05-09 09:49:08 +00:00
Bart Schaefer
70fd751a82 users/15986: handle EINTR in zccmd_input 2011-05-08 23:19:11 +00:00
Bart Schaefer
6150565494 29175: optimize freeheap 2011-05-07 19:32:57 +00:00
Peter Stephenson
8e0a5b0aa0 29134: change termcap prototypes locally for AIX 2011-05-03 12:03:46 +00:00
Peter Stephenson
17e3f742f1 29129: reading of end of fd array 2011-05-02 12:32:41 +00:00
Bart Schaefer
2938c58c82 29107: replace overlapping strcpy with memmove 2011-04-29 15:23:33 +00:00
Wayne Davison
348d2842f3 Use "const" qualifier in termcap prototypes. 2011-04-26 19:08:26 +00:00
Bart Schaefer
ecb32c6b12 Jun T.: 29031: increment global minfo state when inserting characters
on the line during interactive menu selection.
2011-04-24 19:10:20 +00:00
Frank Terbeck
32974286d4 29008, 29012: Add --enable-additional-fpath' option to add arbitrary directories to the default $fpath'. 2011-04-18 20:36:31 +00:00
Wayne Davison
c06f5b4556 Fix compiler warning due to state.doff duplication. 2011-04-15 14:56:53 +00:00
Peter Stephenson
7657ea65dc 28997: make --enable-libc-musl explicit 2011-04-14 09:11:02 +00:00
Peter Stephenson
d2fd8b86cf Valentin Ochs: 28990: more changes needed for signals. 2011-04-12 14:51:31 +00:00
Peter Stephenson
35ddd9c4ba users/15953: handle EINTR when using read -k or -q with -u or -p 2011-04-11 16:34:21 +00:00
Wayne Davison
9e0b7684e5 28977: fix copying of uninitialized memory when trying to
spell-correct a really long string.
2011-04-06 00:04:06 +00:00
Peter Stephenson
47d1215cb4 Stef van Vlierberghe: 28965 (as posted in 28967):
findproc() should not return processes not marked as SP_RUNNING
2011-04-01 11:02:15 +00:00
Bart Schaefer
67847a96ee 28926: No newline after the last line in listlist() when printing the list
in a single column.
2011-03-28 04:50:20 +00:00
Peter Stephenson
e4059eedc7 Mikael: 28941: fix $CURSOR access when metafied 2011-03-27 17:55:41 +00:00
Peter Stephenson
ee52e3c349 28936: ${#$} and ${#?} also didn't work 2011-03-21 11:09:50 +00:00
Peter Stephenson
4263d2b821 28889: ${##} should return the length of $# 2011-03-11 21:05:59 +00:00
Peter Stephenson
f2dca9e155 users/15864: turn zsh_directory_name into a hook 2011-03-11 16:32:07 +00:00
Peter Stephenson
cc69ecfb9e 28886: Fix region_highlight dynamic updates for $PREDISPLAY 2011-03-11 10:33:33 +00:00
Peter Stephenson
7bc97b920b 28866: with POSIX_BUILTINS "command" prefix resets specialness 2011-03-06 21:37:38 +00:00
Frank Terbeck
2eac105770 28853: Fix typo: preceed -> precede 2011-03-04 13:25:25 +00:00
Bart Schaefer
6e50d3d7db 28823: make it an error to tie the same scalar to two different arrays 2011-03-01 05:18:15 +00:00
Peter Stephenson
5035892725 Frank, 28812 as modified in 28813:
fix allocation of wide array in wcs_ztrdup()
2011-02-28 12:05:31 +00:00
Peter Stephenson
655370ff3c 28799: lexical analyser didn't stop early enough with completion words 2011-02-24 13:48:47 +00:00
Peter Stephenson
4bfb5daa7e 28795 plus typos noticed by Mikael: careful with forked shells 2011-02-23 09:47:05 +00:00
Peter Stephenson
dbbcbf67cb 28791: exit on errors with special builtins with POSIXBUILTINS 2011-02-22 20:09:20 +00:00
Peter Stephenson
73ebca4fe9 28783: allow parentheses to be special in more places with SH_GLOB 2011-02-21 11:32:47 +00:00
Peter Stephenson
0e792b9447 28784: exit on exec redirection error with POISX_BUILTINS 2011-02-21 11:28:49 +00:00
Peter Stephenson
24e97ba046 28773: add zle-history-line-set widget 2011-02-18 22:34:29 +00:00
Peter Stephenson
212ca9edf9 28772: Update regions in region highlight dynamically 2011-02-18 22:08:45 +00:00
Peter Stephenson
3a23e82941 28762: fix coproc file desriptor closing 2011-02-17 19:52:41 +00:00
Peter Stephenson
459953f029 28671: better cursor positioning after undo 2011-02-11 19:32:21 +00:00
Bart Schaefer
90b83e028a users/15770 HASH_DIRS tracks INTERACTIVE 2011-02-11 04:04:05 +00:00
Peter Stephenson
94225e07fc 28638: add $usergroups parameter 2011-01-19 12:42:53 +00:00
Peter Stephenson
aa58d139ff Mikael: 28637: ${foo:0:} caused crash 2011-01-18 10:29:58 +00:00
Peter Stephenson
4f9ee790e0 28630: Ricky Zhou: fix crash with isident()
28634: add test
2011-01-16 20:35:29 +00:00