1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-09-28 15:01:21 +02:00
Commit Graph

8358 Commits

Author SHA1 Message Date
Mikael Magnusson
bac2bbd058 34382: Handle NULL return from dlerror() more gracefully 2015-01-27 00:17:23 +01:00
Peter Stephenson
5136628599 Unsetting gdbm tied variable basically works.
Allows variables in nested scope.

However, explicitly untying a variable doesn't properly expose
the scope above.
2015-01-26 18:10:39 +00:00
Barton E. Schaefer
494c251cb0 34399: fix polltty thinko from 34365
Also add missing ChangeLog entry for 34365.
2015-01-25 16:07:49 -08:00
Barton E. Schaefer
2546c86244 34389: fix parsing of ">!" when read from histfile with HIST_LEX_WORDS 2015-01-25 13:15:34 -08:00
Peter Stephenson
4688de1677 34365: History lockfile backoff: randomised time.
Time doubles on each lock failure.

zsleep() provides microsecond resolution for sleep; uses nanosleep() if
available, else select via means of existing tty poll function.
2015-01-25 20:29:18 +00:00
Barton E. Schaefer
2fa11b7c54 34350, 34353: document zsh/db/gdbm module, clean up a few things in the code
Still core dumps at this revision if the tied parameter is forced to be a local and is not untied before end of scope.
2015-01-25 11:34:26 -08:00
Daniel Shahaf
f7a2fba534 34369: document error and warning codes 2015-01-25 18:08:29 +00:00
Peter Stephenson
ccd3663d4e 34383: ztrdup() should be dupstring() in new cd code 2015-01-25 18:03:20 +00:00
Oliver Kiddle
f972b023a2 34373, 34374: update completion of builtin commands, modifiers,
parameter and globbing flags
2015-01-25 18:23:03 +01:00
Daniel Shahaf
5a1fdc0f1c 34381: vcs_info: Documentation update
This adds documentation for more hooks and styles available in
vcs_info:

  - patch-format
  - nopatch-format
  - get-unapplied
  - pre-addon-quilt
  - set-patch-format
2015-01-25 15:44:05 +01:00
Frank Terbeck
04aafe61c4 unposted: Forgot X-Seq: numbers with Daniel's last few patches 2015-01-25 01:56:30 +01:00
Daniel Shahaf
20953f53f0 _zstyle vcs_info completion: Add missing styles 2015-01-25 01:42:06 +01:00
Daniel Shahaf
54bfcf5af1 _zstyle vcs_info: Unbreak branchformat completion
The failure mode was:

    % zstyle ':vcs_info:*' branchformat "foobar%<TAB>
    _values:compvalues:10: no multi-letter values with empty separator allowed
2015-01-25 01:42:06 +01:00
Daniel Shahaf
9d25fd7255 vcs_info hg: Support inactive bookmarks
(Similar to git detached heads)
2015-01-25 01:42:05 +01:00
Jun-ichi Takimoto
0833518980 34335: fix bugs in _yum_all_pkgs 2015-01-23 23:10:33 +09:00
Peter Stephenson
12b813b589 34331: better handling of NULL in cd.
Problem was return from symbolic link expander in weird cases
where there file system isn't behaving itself properly.
2015-01-22 20:20:15 +00:00
Barton E. Schaefer
99f42d8ce0 34344: fix 34338, pcre builtins need loading too 2015-01-22 10:12:57 -08:00
Barton E. Schaefer
cc52a51eae 34338: check pcre-match feature availability
It is possible for the module to be linked/loadable but have no features.
2015-01-22 09:33:29 -08:00
Marc Finet
9ea817acda PATCH: 34333: vcs_info quilt: fix unapplied detection in subdir
When patches are applied, let quilt use .pc without forcing the
patch directory, this will fix the unapplied detection when being in
subdir.
When no patches are applied, use zstyle quilt-patch-dir then
QUILT_PATCHES then "patches" for path to search for patches.

Note: prefer setting quilt-patch-dir rather than QUILT_PATCHES for
absolute path because when patches are applied, quilt unapplied will
not return the correct list (i.e. the whole list rather that the one
specified by .pc/.quilt_series).
2015-01-22 00:15:20 +01:00
Jun-ichi Takimoto
102f2aec1e 34327: fix cache identifier used in _cache_invalid 2015-01-22 01:23:18 +09:00
Peter Stephenson
0e3548994e 34329: add -S option to which and where 2015-01-20 17:31:28 +00:00
Peter Stephenson
638bfa93a0 users/19756: test for case of closing fd with no error message 2015-01-20 11:53:42 +00:00
Peter Stephenson
e6d9642467 users/19751: remove error on failure to close file descriptor by number.
Keep it when closing file descriptor stored in a variable, i.e.
explicitly opened by the user.
2015-01-20 09:29:22 +00:00
Peter Stephenson
c6c9f5daf2 34322: bug with interface to parsestr() etc.
Was showing up in places like ${(e)...} where command substitution
could reallocate the token string, but actually there was never any
guarantee that the lexer wouldn't do that, so this was always
a bit iffy.
2015-01-18 22:38:57 +00:00
Peter Stephenson
6856ab39e3 Fix X-Seq 2015-01-18 16:51:12 +00:00
Peter Stephenson
e34ce85151 34319: fix alias expansion in history for command substitution 2015-01-18 16:43:26 +00:00
Axel Beckert
870d880bef Changelog entry to previous commit by Wieland Hoffmann 2015-01-17 13:17:28 +01:00
Wieland Hoffmann
9ca77b2143 _git: Change one --validate to --no-validate
As the description of that argument says, it's used to *not* perform
sanity checks.
2015-01-17 13:00:23 +01:00
Peter Stephenson
aa503b592b unposted: another dubious comment in hist.c fixed 2015-01-16 20:35:41 +00:00
Peter Stephenson
0f60d18249 unposted: improve comment on hist_in_word().
Commit f2a2f28f7 was a bit less clear about how hist_in_word()
was used than it could be.
2015-01-16 20:31:11 +00:00
Peter Stephenson
f2a2f28f7b 32413: turn off history word marking in cmd subst 2015-01-16 20:12:40 +00:00
Peter Stephenson
db05cc51fa 34304: improve use of new cmd subst in completion 2015-01-16 13:20:05 +00:00
Peter Stephenson
2b8b1a49d5 34290: note FORCE_FLOAT option change 2015-01-15 15:07:26 +00:00
Peter Stephenson
3a99ef322d 34280: more widespread use of FORCE_FLOAT.
Add the case of variables read for use in arithmetic expressions.
2015-01-15 13:52:40 +00:00
Peter Stephenson
c7aa644390 34287: preprocessor for signal name generation.
Some gcc header files are difficult for the signames2.awk
script to process, so if the preprocessor is gcc give the
option -P to strip out the unwanted additions.
2015-01-15 13:52:40 +00:00
Peter Stephenson
6a04f5b320 unposted: fix error in README 2015-01-14 21:29:29 +00:00
Peter Stephenson
8b7ead271f 34283: test X02 also needs zpty and shouldn't run on Cygwin 2015-01-14 17:34:02 +00:00
Peter Stephenson
455f8519b2 34275: assume zpty can't be used for testing Cygwin 2015-01-14 14:25:18 +00:00
Barton E. Schaefer
9fcc9d6e8d 34273: use "enough" colons in each completion style pattern example 2015-01-13 19:24:58 -08:00
Peter Stephenson
12f98a99a5 unposted: add Src/zsh.exe to .gitignore 2015-01-13 11:55:04 +00:00
Eric Cook
cd8c0a2dc1 34260 relax interface name restrictions in ip completion 2015-01-13 09:27:41 +00:00
Eric Cook
c5b2eaaaa4 34259: variable declarations in ip completion 2015-01-13 09:25:56 +00:00
Peter Stephenson
5f4325a0a4 Propagate float/integer type in arithmetic assignment.
Add test.

Mention this and also floating point mod change in README.
2015-01-12 16:38:00 +00:00
Peter Stephenson
626650f20e 34253: warn in zcalc doc about integer arithmetic.
C.f. warning in arithmetic doc in 34194.
2015-01-12 11:10:07 +00:00
Barton E. Schaefer
2753d49003 34247: regression test for 34230. 2015-01-11 18:50:17 -08:00
Barton E. Schaefer
39a6e8a7f5 34230: call fmod() for modulo with floats 2015-01-11 11:29:17 -08:00
Peter Stephenson
968dd7387c 34234: use structures for normal and raw lexical buffer state 2015-01-11 19:12:58 +00:00
Peter Stephenson
0ea940bb58 34233: function execution trick needed for _qdbus 2015-01-11 17:42:49 +00:00
Barton E. Schaefer
5caf317c3a unposted (cf. 34218): : remove -m from zmodload calls 2015-01-10 18:06:43 -08:00
Peter Stephenson
aaa19267c2 test for alias expansion in command substitution 2015-01-10 20:36:57 +00:00