Commit graph

8675 commits

Author SHA1 Message Date
Oliver Kiddle 44c56f3af5 35627: make reverse-menu-complete start with the last match in
menu selection
2015-06-29 01:54:44 +02:00
Oliver Kiddle fbc97e72e8 35623: fix menu-selection where initial selection
would not be displayed without scrolling
2015-06-29 01:46:39 +02:00
Peter Stephenson 93e5234532 35643: Redirections after typeset assignments were broken. 2015-06-28 17:47:02 +01:00
Barton E. Schaefer 811027a22a 35642: signal queueing in zcontext_save_partial() 2015-06-27 15:53:21 -07:00
Peter Stephenson eb08892dcf 35635: a bit more consistency about making elements local 2015-06-27 21:19:26 +01:00
Barton E. Schaefer ef08028346 35634: handle failure of gettempname() in namedpipe() 2015-06-27 12:50:40 -07:00
Peter Stephenson b7aecf6c8e Don't require MULTI_FUNCDEF in _main_complete.
Although it gets set there, _main_complete is parsed to the end first.
2015-06-27 17:50:57 +01:00
Peter Stephenson 420bfcfc66 35623: All is_array assignments should be treated as having a value. 2015-06-27 17:46:03 +01:00
Barton E. Schaefer 2f0213d733 35626: update POSIX_CD to note that it is on in ksh and sh emulations 2015-06-26 20:45:54 -07:00
Peter Stephenson 77a0278bcc 35615: fix completion after tyepset 2015-06-26 17:56:44 +01:00
Peter Stephenson 42b9037ae5 35613: Handle array slices in typeset 2015-06-26 14:55:35 +01:00
Peter Stephenson 9265e49ccb typeset silent on repeated typeset x=() 2015-06-25 17:45:15 +01:00
Peter Stephenson b16d754d9c 35604: create empty arrays in typeset with array=() 2015-06-25 17:01:48 +01:00
Jun-ichi Takimoto 0d7be4af0d 35550: fix backspace in interactive menu-select 2015-06-25 00:23:25 +09:00
Han Pingtian 77130df674 35514: [[:foo:]] tests in completion should be more specific 2015-06-24 14:56:32 +01:00
Peter Stephenson 7b46509e92 35590: tweak and test text output from typeset 2015-06-24 14:32:15 +01:00
Peter Stephenson 39b28980f3 various posts: Implement assignment parsing for typeset.
Typeset assignments now work like raw assignments except
for no "+=" and no GLOB_ASSIGN.

Documented in typeset builtin doc and mentioned in release notes.

Tests to ensure basic sanity.

Enabled by default, can be turned off by "disable -r" with typeset
family of commands.
2015-06-24 10:21:12 +01:00
Peter Stephenson a68d22eb00 35573: turn off POSIX_BUILTINS in completion.
This is now needed to get suitable OPTIND behaviour.
2015-06-23 12:02:06 +01:00
Peter Stephenson 2118390dc1 unposted: add missing (void) argument list to bracketedestring() 2015-06-23 11:28:47 +01:00
Oliver Kiddle fbc64894cc 35568: use symlinks in /proc/$$/path on Solaris and procstat on FreeBSD 2015-06-23 03:30:06 +02:00
Oliver Kiddle bf098bc29e 35529: fix filename completion after java -jar 2015-06-23 03:24:49 +02:00
Peter Stephenson 7d588bc158 33566: regex module fix for unmatched parentheses 2015-06-22 17:35:38 +01:00
Mikael Magnusson ea0f612c3a 35558: narrow-to-region: Use unique parameter names for new feature 2015-06-22 03:37:29 +02:00
Mikael Magnusson f91644c9ca 35554: Document narrow-to-region -l and -r. 2015-06-22 02:19:37 +02:00
Peter Stephenson 09e1b2434d 35545: enhance narrow-to-region to return LBUFFER and RBUFFER 2015-06-21 18:16:40 +01:00
Oliver Kiddle dd78520897 35531: fallback on file completion 2015-06-19 20:00:51 +02:00
Oliver Kiddle b2de9b518e 35527: use list-separator style in cases where separator was hardcoded 2015-06-19 19:54:44 +02:00
Oliver Kiddle aea461e542 35528: allow for IPREFIX 2015-06-19 19:46:01 +02:00
Oliver Kiddle 98687fa1de 35474, 35492: support the bracketed paste mode of newer terminal emulators 2015-06-19 00:15:38 +02:00
Oliver Kiddle 0a0ba5e664 35487, 35496: don't reinstate previous incremental search string
when search direction changes
2015-06-19 00:01:42 +02:00
Oliver Kiddle deb2ec7f17 35510: use consistent formatting for git subcommands 2015-06-18 23:50:59 +02:00
Oliver Kiddle 8ebb4e65a9 35504: complete % placeholders for git log --format 2015-06-18 23:47:40 +02:00
Oliver Kiddle 2c301822ca 35521: sort matches numerically and use pfiles on Solaris 2015-06-18 23:42:51 +02:00
Eric Cook 2e1bb72c07 35490: silence errors and avoid blank match due to missing local 2015-06-18 22:41:47 +02:00
Mikael Magnusson e55c167083 35476: Allow setting $0 when POSIX_ARGZERO is not set 2015-06-17 02:26:17 +02:00
Barton E. Schaefer 2cfe892414 35493: erase $_ when the command line is an assignment 2015-06-16 17:03:39 -07:00
Barton E. Schaefer 19b37ef565 35482: be consistent about how argzero is allocated 2015-06-16 17:02:53 -07:00
Mikael Magnusson 54c2c442ee _gdb: Allow 'core' to occur anywhere in a coredump filename 2015-06-17 01:45:18 +02:00
Barton E. Schaefer 9f3dc6605a 35469: test UNDO_CHANGE_NO to determine whether to start over or use the next history event 2015-06-14 20:12:42 -07:00
Barton E. Schaefer 806f73a0b3 35467: complete files for non-GNU du 2015-06-14 20:10:50 -07:00
Peter Stephenson f1923bdfa6 Add non-metafied character length handling.
Use this in regex module and add test using $'\ua0'.

Rename mb_metacharinit() to mb_charinit() as it does not involve
metafied characters.
2015-06-12 09:30:39 +01:00
Peter Stephenson 370e7f73f6 35442: document MULTIBYTE is always on by default when available 2015-06-11 12:41:05 +01:00
Oliver Kiddle 5ff536f613 35418: fix usage synopsis for _describe to be clear that a single
description is used
2015-06-09 23:35:15 +02:00
Peter Stephenson 40446a9827 35416: Turn on MULTIBYTE in all emulations.
This now includes sh.
2015-06-08 09:50:26 +01:00
Daniel Hahler e8cf611879 35216: _git-checkout: do not call __git_commits twice
This makes `branch_arg` empty by default, to be used only for
__git_remote_branch_names.

`branches::__git_revisions` was used here, but that's the same as
tree_ish_arg='tree-ishs::__git_tree_ishs' - both call __git_commits.

Only tree_ish_arg will call __git-commits now.
2015-06-08 00:35:01 +02:00
Oliver Kiddle ac26fafa03 35412: fix for - flag when formating strings with printf 2015-06-07 23:07:26 +02:00
Barton E. Schaefer a253ada08b 35163: move "show-ambiguity" style to _setup so that more precise context can be applied 2015-06-06 12:35:52 -07:00
Barton E. Schaefer 229bc3cc74 35350: extend "fc -I" to cover listing of "internal" history events only 2015-06-06 12:31:47 -07:00
Peter Stephenson 2abba7243a 35386: expand tabs where useful in builtins outputing function.
Also add to zed -f.

Option is -x <numm>.
2015-06-05 11:21:22 +01:00
Oliver Kiddle 4804a7c5ff 35360 (replacing 35357): fix for configuring zpty on FreeBSD without
pty.ko loaded
2015-06-03 23:54:09 +02:00