1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-07-04 14:31:24 +02:00
Commit graph

8236 commits

Author SHA1 Message Date
Peter Stephenson
42120c197b 33942: always block 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-09 21:13:51 +00:00
Mikael Magnusson
9987b3034d Fix typo in initial commit 2014-12-08 17:00:41 +01:00
Mikael Magnusson
b2d45e46fa Fix typos for TRY_BLOCK_INTERRUPT 2014-12-08 17:00:35 +01:00
Peter Stephenson
0f05b5f05a 33931: reset errflag before precmd() 2014-12-08 13:19:42 +00:00
Peter Stephenson
2908fcea0a Ensure propagation of SIGINT.
If received by foreground job, shell uses ERRFLAG_INT, not
ERRFLAG_ERROR, to set the new state.
2014-12-08 11:34:59 +00:00
Peter Stephenson
b89ee4ed4a fix typo 2014-12-07 21:23:22 +00:00
Peter Stephenson
151b95cfd2 33918: add TRY_BLOCK_INTERRUPT
This works the same as TRY_BLOCK_ERROR, but for a SIGINT, too.

Evena added documentation, like the professionals!  Amended along the
lines suggested by Bart in 33918.
2014-12-07 21:10:07 +00:00
Peter Stephenson
20f694d101 33911: 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.
2014-12-07 19:18:23 +00:00
Peter Stephenson
d90554e469 Remove interrupt status on return to main keymap. 2014-12-07 17:40:13 +00:00
Peter Stephenson
e385312e09 Put back commenting out of obscure error clearing.
It's done us no harm for a long time now, let sleeping dogs lie.
2014-12-07 17:23:27 +00:00
Peter Stephenson
470255c851 Remove unnecessary ternary setting lastval. 2014-12-07 17:09:33 +00:00
Peter Stephenson
ab09c24a49 First go at separating errors and keyboard interrupts
This is the first posting exactly as was, with known errors and
omissions.

Basic strategy is to introduce bits to errflag and to set and
reset them separately.
2014-12-07 16:24:19 +00: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
Barton E. Schaefer
2b615bedaf 33775: error opening file in $(<...) is not fatal 2014-11-23 16:02:48 -08:00
Oliver Kiddle
a526a2203b 33743: use posix_openpt in zpty if it is available 2014-11-24 00:05:59 +01:00
Peter Stephenson
9161a16b2e 33729: "git remote add" should complete local repositories 2014-11-23 21:03:37 +00:00
Stephane Chazelas
fe65defba2 33740: doc for output of hideval parameter flag 2014-11-23 18:31:02 +00:00
Stephane Chazelas
ff292af95f 33740: FAQ: another way of avoiding MULTIOs effects on pipes 2014-11-23 18:29:09 +00:00
Barton E. Schaefer
02bca2ea0f 33763 (cf. Baptiste Daroussin 33747): fix nested item list in generated zshmodules.1 2014-11-22 14:52:31 -08:00
Barton E. Schaefer
22b4ededcf 33750: handle function autoloads for DEBUG_BEFORE_CMD
gettext2() lacked a case for the WC_AUTOFN word code, tripping a dputs()
on TRAPDEBUG the first time each autoloaded function was run.
2014-11-21 21:56:56 -08:00
Barton E. Schaefer
626398f37d add menu reference to Text Objects 2014-11-21 21:54:37 -08:00