1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-11 00:51:05 +02:00
Commit graph

122 commits

Author SHA1 Message Date
Peter Stephenson
9c0a19669b Danek: 29254: fix some compiler warnings 2011-05-13 18:12:05 +00:00
Peter Stephenson
d89361739a 29165: use term.h globally if needed at all. 2011-05-09 09:49:08 +00:00
Wayne Davison
c06f5b4556 Fix compiler warning due to state.doff duplication. 2011-04-15 14:56:53 +00:00
Peter Stephenson
278a892888 28102: use lstat() when checking ignore-parents 2010-07-26 14:00:46 +00:00
Peter Stephenson
ec46ff026e users/14732: Test X:/ rather than X: in Cygwin 2010-01-22 20:42:09 +00:00
Bart Schaefer
6c48ef6b45 27415: Src/Zle/computil.c: comparguments "*::..." descriptions could step
on sequentially earlier descriptions when completing for a word other than
the last word on the command line.
2009-11-21 06:51:14 +00:00
Peter Stephenson
c81ba09d8f 27218: don't unquote $line generated in comparguments for _arguments 2009-08-17 21:06:03 +00:00
Peter Stephenson
207acdfe89 27211: handle Cygwin device files & drives specially in compfiles 2009-08-05 10:14:53 +00:00
Peter Stephenson
85c513894d 26047: convert lower levels of completion matching to use
multibyte strings and wide characters
2008-11-15 21:27:45 +00:00
Peter Stephenson
d41c6098b4 25989: fix crash in matching 2008-11-02 17:36:26 +00:00
Clint Adams
031dd01cf2 25940: delay !multi memory allocation until after possibility to error out and return without freeing. 2008-10-29 01:33:23 +00:00
Peter Stephenson
7f470ebcb0 25912: fix another metafication bug in completion
and remove lies about matchers
2008-10-18 19:16:24 +00:00
Clint Adams
4622e326bd 25897: remove small bit of dead code in cfp_opt_pats. 2008-10-14 22:09:11 +00:00
Clint Adams
7ff2b823a9 25737: remove dead code in ca_parse_line. 2008-09-23 20:57:40 +00:00
Clint Adams
430a7535fa 25666: free memory allocated for an xor if the argument number is invalid. 2008-09-14 07:34:46 +00:00
Peter Stephenson
bb68ee8db7 25138(? mailing list stuck): rewrite of completion matching.
Will one day use multibyte/wide characters, doesn't yet.
2008-06-08 17:53:53 +00:00
Peter Stephenson
db717e3025 users/12699: don't complete normal arguments where we're completing the
required argument to an option in the word following the option
2008-03-07 23:06:42 +00:00
Peter Stephenson
1b52f47cf2 23665: autoloading of module features and related tweaks 2007-07-06 21:52:38 +00:00
Peter Stephenson
4d52b7ebe6 23670: rationalise some linked list functions 2007-06-27 13:56:10 +00:00
Peter Stephenson
b0c5f09169 see 23479: add initial features support for modules 2007-05-28 22:57:39 +00:00
Peter Stephenson
19dccc355a 23363: fake-files now allows patterns 2007-05-01 09:29:35 +00:00
Peter Stephenson
c53aa4adee unposted; typo 2007-01-21 22:49:56 +00:00
Peter Stephenson
553e011320 23118: improve sorting to make it work with locales 2007-01-21 22:47:36 +00:00
Andrey Borzenkov
9d8c3eb74d 22831: use CM_SPACE in compdescribe 2006-10-07 08:05:03 +00:00
Peter Stephenson
289b14113b 22819: improved internal use of string quotation,
plus completion bug fix with RCQUOTES
2006-10-05 21:53:26 +00:00
Peter Stephenson
966ff3a185 22780: add _arguments/comparguments -n to set index of first non-option arg 2006-09-27 16:53:58 +00:00
Andrey Borzenkov
71fa876def 22761: fix compdescrie for multibyte characters 2006-09-23 14:43:57 +00:00
Peter Stephenson
4f11c3b8e3 22729: trunction in computil.c did't handle multibyte characters 2006-09-17 19:23:38 +00:00
Peter Stephenson
dd5602f59b 22474: use variable argument lists to improve error message handling 2006-05-30 22:35:03 +00:00
Wayne Davison
4cb83571c4 Changed some structures to avoid gcc's type-punned warnings. 2006-03-07 21:30:36 +00:00
Wayne Davison
5c8bb4944d Replaced a flawed look-behind algorithm for backslash detection
with one that looks forward (avoiding an accidental quoting of a
char after a "\\" sequence).
2006-02-13 11:06:21 +00:00
Wayne Davison
edbe0eda22 In parse_cadef(), the variable name oargs was re-defined in an inner
context, so I changed the name of the outer variable to orig_args.
2005-10-31 19:59:20 +00:00
Wayne Davison
87f010ec1a Use idigit() instead of range-checking '0' - '9'. 2005-10-31 18:22:40 +00:00
Bart Schaefer
5af2ab3b9c 21428: Travis: fix crash on bad compvalues call 2005-07-12 03:07:22 +00:00
Peter Stephenson
69b4b8bdde 20605: Use separate structure with get/set/unset methods fro parameters.
Separate justification width of parameters from base/precision.
2004-12-07 16:54:58 +00:00
Wayne Davison
fb0937a69e Marked unused parameters with the new UNUSED() macro. 2004-06-02 22:14:25 +00:00
Wayne Davison
b5d7902c20 Silenced three signed/unsigned comparison compiler warnings. 2004-05-28 19:23:47 +00:00
Peter Stephenson
815bc92148 a la 19209: zcalloc -> zshcalloc 2003-10-29 19:17:30 +00:00
Peter Stephenson
807e5536a5 18477: Null pointer dereferenced in _arguments "*-+bar" 2003-04-23 18:50:34 +00:00
Peter Stephenson
9634760d5e 17582: Improved option argument handling.
unposted: Updated version to 4.1.0-dev-6 because of interface change.
2002-08-27 21:10:30 +00:00
Sven Wischnowsky
9b5b330799 report option arguments to _arguments in the original form (17196) 2002-05-23 12:22:58 +00:00
Sven Wischnowsky
d786ca4438 allow multiple lines in option completion lists to share the same description, for (hopefully) cleaner displays (17212) 2002-05-23 12:15:03 +00:00
Sven Wischnowsky
12f253e7e6 improve calculation of used columns for match-max-length (17194) 2002-05-21 08:04:34 +00:00
Sven Wischnowsky
d4ec8d06bf avoid printing in the last screen column when preparing a completion listing with compdescribe (17190) 2002-05-21 07:39:40 +00:00
Sven Wischnowsky
b0e4b61a82 allow users to give the maximum number of display-columns the matches should take up via the style currently named max-match-length (17147) 2002-05-14 08:01:12 +00:00
Sven Wischnowsky
f78df94c6a make compvalues unquote the string from the line like comparguments does (16998) 2002-04-17 07:28:17 +00:00
Sven Wischnowsky
becf65dd7f allow an argument containing only a single colon as a separator between options to _arguments and specs (16669) 2002-02-18 14:36:01 +00:00
Sven Wischnowsky
9e0f74f07b fix for displaying matches in groups via _describe; go back to displaying one match per line when lines get too long (16582) 2002-02-07 08:40:01 +00:00
Sven Wischnowsky
2ed74b89ea don't report _arguments-specs more than once (not even shared options with multiple sets) (16417) 2002-01-08 15:29:46 +00:00
Wayne Davison
fe98c239b5 Silence "might be used uninitialized" warnings. 2001-08-08 07:44:00 +00:00