1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-11-06 20:10:58 +01:00
Commit graph

10009 commits

Author SHA1 Message Date
Jun-ichi Takimoto
0697c45ab3 40681: strftime builtin should return 1 if ztrftime() returns -1 2017-03-02 11:09:12 +09:00
Peter Stephenson
47c05f6b66 40622 with typos fixed: functions -Ms.
This adds the capability for mathematical functions based on shell
functions to have a string argument.  Module functions have had
this for a long time.
2017-03-01 10:01:01 +00:00
Sebastian Gniazdowski
24497ad196 40562: gdbm tests omitted from previous commit 2017-03-01 09:52:46 +00:00
Daniel Shahaf
bf292bde14 40641: docs: patterns: Add '|' to the overview. Clarify that it short-circuits. 2017-02-28 07:39:15 +00:00
Barton E. Schaefer
d00931de5c 40650: redo 40508 and 40626 with comments explaining what is actually going on 2017-02-26 12:03:56 -08:00
Daniel Shahaf
c7048cd88f Revert 40626 which broke tests. 2017-02-26 06:11:19 +00:00
Barton E. Schaefer
4b8db48c6b 40640: the (A) parameter flag forces array result even if assignment syntax is not used 2017-02-25 15:56:50 -08:00
Daniel Shahaf
5a32ced1be unposted: Port 40617 to the completion. 2017-02-25 09:09:31 +00:00
Daniel Shahaf
6c476c2211 40626: Make $options re-settable.
Follow-up to 40508.

Reported-by: James McGlashan
2017-02-25 08:05:11 +00:00
Barton E. Schaefer
db44b17150 unposted (cf. 40617): clarify description of ${(A)name=value} and ${(AA)name=value} 2017-02-23 21:53:19 -08:00
Barton E. Schaefer
12d950ba0c 40624: conditionally handle WIFCONTINUED to properly set SP_RUNNING process status 2017-02-23 16:19:07 -08:00
Jun-ichi Takimoto
8328b79286 40604: revert to the old method if getutent() is not available 2017-02-23 00:34:45 +09:00
Barton E. Schaefer
1b0541c52f Julien Nicoulaud: 40586: discard stderr 2017-02-21 20:45:18 -08:00
Barton E. Schaefer
79005f1b79 use "diff -a" in case special characters were written to the test output 2017-02-20 13:26:50 -08:00
Barton E. Schaefer
74fe4d0950 40598: paramsubst() should always return scalar when PREFORK_SINGLE was passed 2017-02-20 13:26:49 -08:00
Barton E. Schaefer
574933e5a0 40565 (tweaked): test cases for assigning array to scalar with various combinations of SHWORDSPLIT and IFS 2017-02-20 13:26:49 -08:00
Barton E. Schaefer
b3c186028e 40593: SHWORDSPLIT + unset IFS should cause default splitting of $@ 2017-02-20 13:26:49 -08:00
Barton E. Schaefer
9f447578f0 40576 (tweaked): entersubsh(): unblock any signals that were blocked for trap handling
Also small improvement to loop that resets trap handlers
2017-02-20 13:26:49 -08:00
Oliver Kiddle
4443e021f1 update gphoto2 completion for new options up to gphoto2 2.5.11 2017-02-19 02:22:43 +01:00
Øystein Walle
e329a8d62d 40568: REMATCH_PCRE is not enabled by default, fix doc. 2017-02-17 15:34:03 +00:00
Sebastian Gniazdowski
e9ce001749 40558, 40562: General improvements to zsh/db/gdbm module 2017-02-17 09:22:02 +00:00
Barton E. Schaefer
63f086d167 40524: do not free a null array 2017-02-13 18:09:34 -08:00
Fabian Klotzl
e720f45975 40539: typo in MIPS branch of argument selection 2017-02-13 18:09:10 -08:00
Peter Stephenson
d8c66e65a2 40537: Document previous change to autoload 2017-02-13 16:34:27 +00:00
Peter Stephenson
f5272bccd8 40536: Prepend directory to $fpath.
Used if parent function is autoloaded by absolute path so
as to find functions in the same suite without shell code
modification.
2017-02-13 16:32:50 +00:00
Oliver Kiddle
64c67581d2 40512: new entr completion 2017-02-10 13:56:26 +01:00
Oliver Kiddle
0829c14cbd unposted: using a colon in the tag name for lsusb completion was not such a good idea 2017-02-10 13:53:37 +01:00
Daniel Shahaf
e007cd9f88 40510: vcs_info: Update the $psvar episode with '%'-unescaping. (Follow-up to 40492.) 2017-02-09 15:24:05 +00:00
Daniel Shahaf
ecd88284f3 40492: vcs_info: Escape '%' signs in payloads.
Test case: a patch whose subject is '%Sfoo%sbar'.  ('S' and 's' are
expandos both in prompts and in the 'formats' style.)
2017-02-09 15:24:04 +00:00
Daniel Shahaf
e3bc63f00e unposted: _svn: Fix '--show-revs' completion. 2017-02-08 11:55:03 +00:00
Daniel Shahaf
e9267adb49 40508: Make $functions re-settable. 2017-02-08 05:06:49 +00:00
Sebastian Gniazdowski
3be8e1bbdd 40507: Remove extraneous null creating GDBM records 2017-02-07 09:48:59 +00:00
Daniel Shahaf
ec1bdab023 40494: _git: Use slashes matchspec for references (as already used for branch names). 2017-02-07 08:43:31 +00:00
Daniel Shahaf
3afd12ae97 40493/0002: _git-checkout: Reorder default completions.
The unprefixed name of a remote branch is used to create a new local
remote-tracking branch; that is presumed to be a rarer operation than
either switching among local branches or reverting to the index version
of a modified file.

Between the remaining two, put modified files before tree-ishes because
there are generally few of the former and many of the latter.
2017-02-07 08:43:31 +00:00
Daniel Shahaf
4da5c23dce 40493/0001: _git-checkout: No functional change.
This makes the next diff smaller.
2017-02-07 08:43:31 +00:00
Peter Stephenson
e641d8e9c1 40434: Jan Matejek: patchutils completion update 2017-02-06 13:47:40 +00:00
Daniel Shahaf
bb6c08b51a unposted: vcs_info git: Fix typo in manual. 2017-02-04 05:55:46 +00:00
Daniel Shahaf
33c0a10448 40480: vcs_info set-patch-format: Eliminate the remaining code duplication. 2017-02-03 18:14:01 +00:00
Daniel Shahaf
9211d7f277 40479: vcs_info set-patch-format: Prepare for more code sharing between the callers.
This changes hook invocation order in the hg backend.
2017-02-03 18:14:00 +00:00
Daniel Shahaf
fca4f90bba 40481: vcs_info hg: Pass arguments to the set-patch-format hook. 2017-02-03 18:13:59 +00:00
Daniel Shahaf
3a1756b728 40478: vcs_info set-patch-format: Guard against empty variable elision. 2017-02-03 18:13:58 +00:00
Daniel Shahaf
49bc46946e 40476: vcs_info $backend_misc: Document at the right point, provide in quilt 'standalone' mode. 2017-02-03 18:13:57 +00:00
Peter Stephenson
a32fb005d6 40486: Don't warn on creation of MATCH etc. in regex.
This because they are created implicitly rather than by explicit
user request, so the warning may not be useful.
2017-02-02 10:03:57 +00:00
Barton E. Schaefer
caddeca1ac 40483 (cf. Eric Freese: 40482): Remove zpty exit hook from forked processes 2017-02-01 17:11:48 -08:00
Daniel Shahaf
ad1b46578e 40460: WARN_NESTED_VAR: Don't warn when assigning to a slice of an existing array 2017-02-01 01:49:45 +00:00
Jun-ichi Takimoto
0e25f1cb4d 40470: make the test work also with ASCII collation
a few OSs (macOS and some versions of BSDs) use ASCII collation even if
UTF-8 locale is in use
2017-02-01 10:42:45 +09:00
Peter Stephenson
e641e40940 40466: Update dependencies for config.h.in / autoheader.
Needs to happen after autoconf.
2017-01-31 09:35:24 +00:00
Barton E. Schaefer
6557aa4710 40469: change strategy from 40453 to use patcompile(PAT_HEAPDUP) instead of signal queueing. 2017-01-30 08:03:47 -08:00
Peter Stephenson
ed855baf48 40465: update methods to output $PWD in tests.
Use method from B01cd.tst which resolves symbolic links and
matches against parameter in output.
2017-01-30 10:31:11 +00:00
Zhiming Wang
b0073410eb 40450, 40451: Swifth language completion.
Also resolve whether this is the openstack "swift" command.
2017-01-29 16:36:24 +00:00