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

111 commits

Author SHA1 Message Date
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
Sven Wischnowsky
7e23143359 follow-up to 15588; add -w option to _values (look at all words); change _dd back (15597) 2001-08-08 07:20:56 +00:00
Sven Wischnowsky
75d5e9bb8b (15526) 2001-07-30 08:42:55 +00:00
Sven Wischnowsky
4da5c1b2e0 (15509) 2001-07-27 12:56:57 +00:00
Sven Wischnowsky
c83d16f8ee another fix for 15477 (separator strings); add list-separator style (15484) 2001-07-25 12:18:23 +00:00
Sven Wischnowsky
e1708022d2 fixlet for 15477, don't let it remove consecutive dummy matches (15482) 2001-07-25 10:45:59 +00:00
Sven Wischnowsky
eba59194d7 make display for groups in _describe nicer; improve packing with list_packed; leave space for type character (list_types) only in groups with at least one file name (15477) 2001-07-25 08:52:34 +00:00
Sven Wischnowsky
79dbcc8382 don't use compsuffix when it might be freed; use the right variable in that loop there, dammit (15433) 2001-07-20 10:54:38 +00:00
Sven Wischnowsky
facff10b11 yet another followup to 15497; make _describe filter out non-matching strings before calling compdescribe, otherwise some matches will be hiddens (15415) 2001-07-19 08:40:36 +00:00
Sven Wischnowsky
6a3e89d539 fix for 15407; there may be sets without matches (15409) 2001-07-18 13:52:53 +00:00
Sven Wischnowsky
8c1b953b5a add list-grouped option to make options and such be grouped together if they have the same description; matches with line-display strings can be hidden; hi and du capabalities in complist are only used if set by the user (15407) 2001-07-18 13:10:07 +00:00
Sven Wischnowsky
e067118efc fix for finding the first ambiguous path component in compfiles (3946) 2001-06-26 09:05:10 +00:00