Jun Kuriyama
e12b515082
33984: bin_dirs() should use zputs() to print metafied directory names
2014-12-16 23:40:32 -08:00
Chirantan Ekbote
0c4cb0cc1b
33982: minimal support for pid namespaces by recognizing that GETPGRP() may return 0
2014-12-16 23:35:57 -08:00
Barton E. Schaefer
36ec763dbd
33976: fix overlapping strcpy()
2014-12-15 16:41:08 -08:00
Mikael Magnusson
409f069a6a
users/19530: Handle commented lines in /etc/filesystems
2014-12-14 19:48:03 +01:00
Peter Stephenson
5b855e40bd
unposted: Add missing -f arg to zsh in D04parameter.ztst
2014-12-14 00:06:47 +00:00
Oliver Kiddle
3b7061e4e4
33958: update sudo completion for newer options
2014-12-13 20:04:02 +01:00
Oliver Kiddle
1e0064e58b
33956: document key binding changes and remove ^X binding
2014-12-13 19:34:24 +01:00
Oliver Kiddle
5b7950e6ef
33846: additional default vi-mode key bindings
2014-12-13 19:32:55 +01:00
Oliver Kiddle
edb9c94025
33950: ignore KEYTIMEOUT for vi operators
2014-12-12 14:14:00 +01:00
Peter Stephenson
d067ebcacd
33876: etc.: Separate errors and keyboards interrupts
...
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-12-11 09:41:17 +00:00
Mikael Magnusson
247f7548dc
Parse "Gentoo" as being GNU libc
2014-12-10 15:20:51 +01:00
Jun-ichi Takimoto
45d0046d8f
33940: handle backslash-meta correctly in lexer
2014-12-10 08:20:40 +09:00
Jun-ichi Takimoto
0a07ffd47c
33932: revise boundary check in unmeta()
2014-12-09 02:41:01 +09:00
Oliver Kiddle
88f4e24d4c
33924: allow vi line/characterwise mode to be forced
2014-12-08 17:24:48 +01:00
Peter Stephenson
53e44daeba
33927: nm completion improvements
...
Complete .elf files.
Allow directory searches.
2014-12-08 09:53:10 +00:00
Peter Stephenson
a4799145da
33843: minor optimisation for recursive-files.
...
Expand the recursive path only the first time we need it.
2014-12-08 09:46:30 +00:00
Barton E. Schaefer
09959eb9d6
33912: fix filename default case
...
version-of-od argument list manipulation clobbered the default spec
2014-12-07 11:20:01 -08:00
Barton E. Schaefer
5e9206061d
33901: fix warning message reference to funcstack (updates 33859)
2014-12-07 11:20:01 -08:00
Barton E. Schaefer
48cd1b6c3b
33894: boundary conditions in unmeta(), unmetafy()
...
Check that we aren't running off the end of the string when converting the
next byte after a Meta byte. This is just defensive programming in case
of bad metafied strings coming through from gettokstr(), some repairs
there are likely still needed.
2014-12-07 11:20:01 -08:00
Barton E. Schaefer
9ddd022ff0
33854: errors end recursion through scanner()
...
Makes **/ more easily interruptible
2014-12-07 11:20:01 -08:00
Daniel Shahaf
908abba891
33883: documentation for (*) glob qualifier
2014-12-07 16:13:39 +00:00
Jun-ichi Takimoto
0da4b11add
33829: unbind ESC~ as a more reliable workaround
2014-12-07 16:31:48 +09:00
Mikael Magnusson
b9a2a3767c
33882: Complete CXXFLAGS as CFLAGS too
2014-12-06 11:42:23 +01:00
Oliver Kiddle
167a15a920
33861: update lsof completion for new options
2014-12-05 20:16:23 +01:00
Oliver Kiddle
7a4a309973
33860: minor fixes to vi mode changes
2014-12-05 20:13:33 +01:00
Oliver Kiddle
b0a659e710
33845: save correct cursor position with push-line from vi command mode
2014-12-05 20:13:32 +01:00
Peter Stephenson
02a8a8c7e4
33866: addendum to completion trap fix
...
We need the multifuncdef option on for the trap function definitions to
work. It is by default by this wasn't enforced for the completion
functions.
2014-12-05 18:08:18 +00:00
Peter Stephenson
b4a198cdda
33859: Fix traps in completion
...
We need to use a function-style trap in order for the effect of the
interrupt to propagate back correctly.
2014-12-05 17:06:28 +00:00
Barton E. Schaefer
231cbbc5b1
33841: explain array append a bit better
2014-12-04 02:18:36 -08:00
Barton E. Schaefer
84a772396e
Unposted: minor change: "scalar or integer" to "scalar" to include floats.
2014-12-04 02:18:35 -08:00
Eric Cook
67c39b09c8
33689: make cp --reflink's argument optional
2014-12-03 16:56:23 +01:00
Peter Stephenson
af6256f8af
33830: META-FAQ updates.
...
Don't mention CVS.
Use correct sourceforge URL.
2014-12-01 14:28:37 +00:00
Oliver Kiddle
d2505f108e
33823: overwrite mode shouldn't replace newlines
2014-11-30 23:37:01 +01:00
Oliver Kiddle
62aa039317
33820: detect support for realpath() with a NULL
...
argument and fixes to the use of it
2014-11-30 23:33:30 +01:00
Oliver Kiddle
40c5e00de0
33800: remove old workaround for ancient systems to
...
consume typeahead before setting up the terminal
2014-11-30 23:29:25 +01:00
Oliver Kiddle
0d4b548d1e
33818: fix types passed to sizeof detected by coverity as being wrong
2014-11-30 23:19:55 +01:00
Barton E. Schaefer
49d6aace41
33816, 33819: GLOB_ASSIGN changes integer and floating type variables to string scalars
2014-11-28 13:30:22 -08:00
Wayne Davison
389954beec
unposted: fix compiler set-but-not-used warning.
2014-11-28 11:55:17 -08:00
Simon Ruderich
a6bf64648b
33139: add doc example to glob broken symbolic links.
2014-11-28 11:55:17 -08:00
Marc Finet
2598010adf
33815: Fix word transposition bug.
...
With a one-character word the wrong two words could be transposed.
2014-11-28 09:40:24 +00:00
Barton E. Schaefer
8080ca3a87
33805: rewrite zshparams intro, tweak formatting
...
I noticed that there was no explanation of the terms "variable" or
"environment" anywhere.
2014-11-27 13:43:15 -08:00
Barton E. Schaefer
baaa57acaf
33804: hide values of large arrays in typeset output
...
Declare arrays used internally by completion with the -H attribute.
2014-11-27 13:41:13 -08:00
Peter Stephenson
62e4db10fe
unposted: test binary input using 0b
2014-11-26 20:58:36 +00:00
Peter Stephenson
a8927bf27b
33793: add 0b binary interpretation to integer constants
2014-11-26 17:26:58 +00:00
Jun T
c4110f7f4e
33769: workaround for KEYTIMEOUT to work from test
...
cases on Darwin and FreeBSD
2014-11-25 22:49:14 +01:00
Oliver Kiddle
feda07c641
33770: avoid calling identical FIONREAD ioctl twice in succession
2014-11-25 22:14:50 +01:00
Oliver Kiddle
ee38545c62
users/19365: completer for current directory of other shell processes
2014-11-25 20:03:53 +01:00
Barton E. Schaefer
05e919dc56
33791: fatal errors in an "always" construct yield nonzero status
...
Fatal errors in the try-block part of an "always" construct cause the
entire construct to have nonzero status, even when TRY_BLOCK_ERROR is
used to suppress the error.
2014-11-25 09:15:20 -08:00
Daniel Hahler
1fec267156
33746: read -q doc refers to -t
2014-11-24 10:05:44 +00:00
Mikael Magnusson
e2fe81ae9a
33785: Fix leaks of desthost in ztcp
...
Found by coverity.
2014-11-24 08:16:48 +01:00