1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-06-01 04:46:08 +02:00
Commit Graph

10912 Commits

Author SHA1 Message Date
Peter Stephenson ede3e4e61e 44523: Add ZTST_handler capability.
Defaults to runtests.zsh but can be something else for alternative
test management.
2019-07-16 10:57:35 +01:00
Peter Stephenson 8cbbc04d97 44509: Prevent crash with modified path / PATH combination.
Crash came from "fn() { typeset -U path=($path); unset PATH; }".

Note PATH unset is global as only path was made local.
2019-07-15 09:44:47 +01:00
Peter Stephenson 09385d38ad 44305: Fix zsh_directory_name_generic
Longest	prefix matching was broken if there were suffixes indicating
further handling.
2019-07-10 15:41:24 +01:00
Peter Stephenson bbcfdffbc3 unposted: FAQ updates.
Typo from previous change; also update old notes on
multibyte support.
2019-07-09 09:22:01 +01:00
Bart Schaefer cf66eb7adb 43755: Fix state management for repeat uses to avoid clobbering command line when NOT a repeat 2019-07-08 18:01:38 -07:00
Bart Schaefer 5415e1d4df 44502: Quote function name for "autoload -X" 2019-07-08 17:56:57 -07:00
Bart Schaefer adef791c82 44495: Mention coproc under $! 2019-07-08 17:55:06 -07:00
Peter Stephenson 61a697f977 users/24030 (minor tweak): note on *.{bla,hbl,ahb}.
This is an expansion, not a form of pattern match.  Describe
the problem and what to do instead.
2019-07-08 14:27:08 +01:00
Peter Stephenson 3bdf4d6641 44480: Don't automatically close externally visible file descroptors.
These are descriptors marked FDT_EXTERNAL.

Make all sysopen'ed file descriptors FDT_EXTERNAL.

Make =(...) call closem() consistent with other substitutions.

Document file descriptors are left open.
2019-07-02 13:42:53 +01:00
Martijn Dekker 700ec49581 44469: correct error on missing option argument 2019-07-01 09:42:22 +01:00
Peter Stephenson 4384fdc7f0 44446: Fix here document with file descriptor declarator.
Add unit test.
2019-06-24 20:19:19 +01:00
Martijn Dekker 1b1cb44161 44443: POSIX allows exporting readonly variables 2019-06-23 18:36:50 +01:00
Peter Stephenson b8dc5a7f6d 44435: Handling digita arguments for :h and :t.
Pick number of leading or trailing path components to substitute.
Active in history, brace parameters, glob qualifiers.

Add tests for all three environments.
2019-06-20 11:13:05 +01:00
romkatv 80aa807a61 fix multiple bugs in countprompt
1. Height off by one in the presence of meta characters at the end of the line.

The following prompt has height 2 but countprompt used to return 3.

    PROMPT="${(pl.$COLUMNS..-.)}%f"$'\n'

You can observe the effects of the bug with esc-x followed by reset-prompt.

2. Width off by one when a line is broken in the middle of a wide character.

Assuming COLUMNS=79, the following prompt has width 2 but countprompt used to return 0.

    PROMPT="${(pl.40..\u3050.)}" zsh -df

Press ctrl-r or type ls<tab> to observe the effects of the bug.

3. Width off by 1-7 when a line is broken in the middle of a tab.

Assuming COLUMNS=79, the following prompt has width 1 but countprompt used to return 0.

    PROMPT="${(pl.10..\t.)}" zsh -df

Press Ctrl-R or type ls<TAB> to observe the effects of the bug.
2019-06-19 15:56:05 +01:00
Peter Stephenson eaba3ab2da Missed previous ChangeLog entry 2019-06-19 10:10:20 +01:00
Peter Stephenson 61a42e8eae 44409: update config.guess and config.sub to 2019-05-28 2019-06-10 09:29:48 +01:00
Stephane Chazelas 0b1725dcfc 44387, edited: describe some problems with restricted mode 2019-06-06 21:09:42 +01:00
Jun-ichi Takimoto 1d37624ad6 44389: update _iostat and _vmstat for BSD
common parts are separated into _bsd_disks and _fbsd_device_types
2019-06-03 22:33:10 +09:00
Peter Stephenson 4b85edface 44361: Initialise variables in pattern matching.
These are used recursively and it's a bit obscure if there
are case where the value can leak.
2019-05-28 20:53:53 +01:00
romkatv 3eea35d085 fix cursor position with ZLE_RPROMPT_INDENT=0 2019-05-28 09:39:22 +01:00
Jim 06f5964284 44364: refer to zsh base manual page in zsh all 2019-05-28 09:35:12 +01:00
Oliver Kiddle f702e17b14 unposted: remove spurious reference to nonexistent completion function 2019-05-23 01:22:50 +02:00
Oliver Kiddle 6a0874cad6 44349: completion option updates 2019-05-23 01:19:02 +02:00
Oliver Kiddle a531a1ec2d 44345: fix wordcode traversal where ! without a following command could result in a crash 2019-05-23 01:05:01 +02:00
Oliver Kiddle 3de2333b08 44307: allow for atoi() returning a negative number 2019-05-20 00:14:01 +02:00
Oliver Kiddle 09917e558b 44308: update Linux modutils completion 2019-05-20 00:10:55 +02:00
Oliver Kiddle fae7c85331 44284: combination of -T and -p to typeset crashed the shell. 2019-05-14 23:36:59 +02:00
Oliver Kiddle b5519b372b 44290: job number exceeding int range and wrapping to a negative number crashed the shell 2019-05-14 23:22:24 +02:00
Oliver Kiddle d66fd7fcf5 44291: printf with argument specifier out of range for an int crashed the shell 2019-05-14 23:18:32 +02:00
Peter Stephenson 30e356eb1a 44296: "typeset Q= {X}" crashed the shell. 2019-05-14 12:10:10 +01:00
Peter Stephenson 95211f87ed 44259: Ensure we can set signals to default even if ignored.
Previously the shell didn't take account of signals marked as

ignored on entry, which was inconsistent with other behaviour.
2019-05-13 09:55:01 +01:00
dana cebec8926a unposted: Fix bad encoding in previous Y01 test patch 2019-05-08 18:23:33 -05:00
Oliver Kiddle 09c6acf7b2 44279: completion updates for Dragonfly 5.4, FreeBSD 12 and OpenBSD 6.5 2019-05-09 00:17:04 +02:00
Oliver Kiddle ffacb17886 unposted: Add compset tests related to workers/44275
(Provided off-list by Oliver)
2019-05-08 16:38:12 -05:00
dana c1a33575b4 44275: Fix compset -p/-s multibyte inconsistency and documentation 2019-05-08 16:35:08 -05:00
Oliver Kiddle cd6fd2b0a3 44274: allow finer control of completion match soring with compadd's -o option 2019-05-07 23:24:49 +02:00
Gautam Iyer 5200637bda gitlab !6: Rudimentary rclone completion 2019-05-07 22:03:14 +02:00
Gautam Iyer f7850406c9 gitlab !7: Minor fixes to _lp and _gv completion 2019-05-07 00:06:39 +02:00
Doron Behar 6bf8c4720d gitlab !8: Support completion of installed lua rocks' versions 2019-05-06 23:48:00 +02:00
Doron Behar cecaad96cb gitlab !4: Add pandoc completion 2019-05-06 23:39:10 +02:00
Doron Behar 2f420b8de3 gitlab !3: Transmission remote completion 2019-05-06 23:31:18 +02:00
Aurélien Olivier 3908987b4a github #33: Add completion file for myrepos (mr) 2019-05-06 17:03:59 +02:00
Laurent Arnoud 191e05b108 github #35: fix _arguments spec for gem push completion 2019-05-06 16:46:13 +02:00
dana 6f202377c7 44267: sort: Restore option to ignore backslashes
Fix regression introduced by workers/41242
2019-05-03 20:13:48 -05:00
Peter Stephenson 588bb77cb6 44271: Fix breaks propagated from until or return.
If the until or return test caused continuation but there was
a pending return, breaks didn't get cancelled causing enclosing
scope to skip commands.
2019-05-03 20:34:53 +01:00
dana 8ce9e20c49 44251: Completion: Fix various wording issues 2019-04-26 17:50:00 -05:00
dana 860bcdd561 44250: Completion: Fix use of -A and -S options to _arguments 2019-04-26 17:48:30 -05:00
dana d56a43f802 44249: Completion: Handle zsh/files built-ins in _mv and _rmdir 2019-04-26 17:45:35 -05:00
dana 9208e321da 44234: _ssh: Update for OpenSSH 8.0 2019-04-26 17:43:19 -05:00
Peter Stephenson ca456fbba3 44284: Mark SIGQUIT as ignore if ignored on entry to shell.
This prevents us from re-enabling it after a fork if it is being
ignored.
2019-04-25 20:29:54 +01:00