Commit graph

3083 commits

Author SHA1 Message Date
Oliver Kiddle 5911aca85f 35737: (tweaked c.f. Peter: 35759): use new undo limit for minibuffer and beep when limit is reached 2015-07-14 00:30:45 +02:00
Peter Stephenson 2833299312 35708: add UNDO_LIMIT_NO 2015-07-09 19:29:59 +01:00
Peter Stephenson 3af55c858f 35751: Fix ERR_RETURN and ERR_EXIT in "else" 2015-07-09 14:59:20 +01:00
Mikael Magnusson e402747dd6 35745: ztrftime: Pass everything unhandled to the system strftime() 2015-07-09 15:32:55 +02:00
Peter Stephenson 04675eca4c unposted: remove compiler error in completion code 2015-07-07 12:48:30 +01:00
Barton E. Schaefer a9add3de54 35694: fix handling of history modifiers applied across all elements of an array parameter value 2015-07-06 16:35:05 -07:00
Oliver Kiddle 68a5a5f453 35704: compadd -E 0 should imply -J and -2 2015-07-06 22:40:47 +02:00
Peter Stephenson 26d5d2eeac 35692: cfp_matcher_range used wrong raw character 2015-07-05 18:52:00 +01:00
Peter Stephenson 290354ff46 35688: Improved attempt to turn case wordcode into text. 2015-07-05 18:15:43 +01:00
Peter Stephenson f2b2271fbe Turning case parsed as multiple alternatives back into text.
Also add test.
2015-07-04 11:01:47 +01:00
Oliver Kiddle a257525afc 35681: fix day of month initialisation 2015-07-03 22:59:27 +02:00
Oliver Kiddle acb05d1616 35674: make an undo event for initial buffer contents 2015-07-03 22:56:03 +02:00
Han Pingtian 38145b255a 35665: better handling for command line completion match handling 2015-07-02 16:28:14 +01:00
Peter Stephenson 2afdb3985a 35668: Improved fix for command/proc subst starting in alias.
Use input flag to suppress the unwanted backtracking.

Add test for the extra case covered.
2015-07-02 10:01:42 +01:00
Peter Stephenson dce1f33c02 35667: fix command substitution that starts but doesn't finish in alias 2015-07-01 21:44:50 +01:00
Peter Stephenson 7708849b21 35655: APPEND_CREATE option for POSIX copmatible NO_CLOBBER 2015-06-29 19:01:31 +01:00
Oliver Kiddle 6e57de8ee2 35637: remove the now unused module hook for reverse-menu-complete 2015-06-29 01:59:43 +02:00
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 420bfcfc66 35623: All is_array assignments should be treated as having a value. 2015-06-27 17:46:03 +01: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 2118390dc1 unposted: add missing (void) argument list to bracketedestring() 2015-06-23 11:28:47 +01:00
Peter Stephenson 7d588bc158 33566: regex module fix for unmatched parentheses 2015-06-22 17:35:38 +01: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
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
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 40446a9827 35416: Turn on MULTIBYTE in all emulations.
This now includes sh.
2015-06-08 09:50:26 +01:00
Oliver Kiddle ac26fafa03 35412: fix for - flag when formating strings with printf 2015-06-07 23:07:26 +02: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
Mikael Magnusson 4dc4e23376 GLOB_ASSIGN should only affect scalar assignments 2015-06-02 16:09:35 +02:00
Peter Stephenson 099e717c15 35359: Improved math parsing and errors.
Check for bogus trailing ")" at end of top-level parse.

Extend some math error messages to indicate they are math errors.
2015-06-02 10:21:55 +01:00
Baptiste Daroussin aab6bdc366 35357: FreeBSD needs HAVE_POSIX_OPENPT for zpty 2015-06-02 09:21:24 +01:00
Peter Stephenson 93e72ed1e9 35353: print -x and print -X expand tabs 2015-06-02 09:17:04 +01:00
Peter Stephenson 75cafccc0a 35343: Avoid $#name length handling for POSIX_IDENTIFIERS 2015-05-31 16:40:14 +01:00