about summary refs log tree commit diff
path: root/Src/Zle/complist.c
Commit message (Collapse)AuthorAgeFilesLines
* Got rid of some superfluous STOUC() calls (such as the ones I addedWayne Davison2006-01-131-1/+1
| | | | for the arg of calls to nicechar(), which doesn't need this).
* - When mbrtowc() returns -2 when given all the remaining chars in aWayne Davison2006-01-121-9/+11
| | | | | | | | string, set an end-of-line flag and avoid calling mbrtowc() again for any of the incomplete characters that remain in the string. - Use "mbs" for the multi-byte state variable name (for consistency). - Use the new MB_INVALID and MB_INCOMPLETE defines for the size_t -1 and -2 values (respectively).
* Tweaked the code to handle mbrtowc() converting '\0' the same way asWayne Davison2006-01-111-11/+20
| | | | the other callers do. Also, changed the variable name to 'cnt'.
* The return value of mbrtowc() is a size_t (unsigned), so don'tWayne Davison2006-01-091-15/+10
| | | | | | | | assign it to an int and then check if it's > 0, as that won't work on a system where an int is larger than a size_t. Also, we needed to use STOUC() on a char value passed to nicechar(), and we need to clear the mbstate_t object if mbrtowc() returns an error.
* 22069: completion listings didn't get unmetafiedPeter Stephenson2005-12-101-7/+9
|
* Got rid of some unsigned-char/char pointer casts.Wayne Davison2005-11-151-19/+17
|
* 21943, 21945: ZLE_UNICODE_SUPPORT -> MULTIBYTE_SUPPORT;Peter Stephenson2005-10-281-3/+3
| | | | use multibyte versions of nicechar wherever possible.
* 21870: bad INULL() definitionPeter Stephenson2005-10-131-1/+1
| | | | | 21869: multibyte characters in %-substitutions, invalid multibyte characters in completion listings
* 21821, 21822: fix two infinite loopsBart Schaefer2005-10-041-2/+8
|
* minor tidy-upsPeter Stephenson2005-10-021-1/+2
|
* 21784: Improved character widths for formatted multibyte character outputPeter Stephenson2005-09-291-54/+128
|
* 21769: fix some consequences of 21730 in completion listsPeter Stephenson2005-09-271-2/+4
|
* 21593: character arrays wrongly declared with ZLE_UNICODE_SUPPORTPeter Stephenson2005-08-101-1/+1
|
* 21592: browsing new directory from menu selection crashedPeter Stephenson2005-08-101-0/+3
|
* c.f. 21590: metafy_line()/unmetafy_line() now support wide charactersPeter Stephenson2005-08-101-58/+76
|
* Optimise length calculations for ${...//.../...}Peter Stephenson2005-04-241-2/+2
|
* 20861: Fix statusline in Unicode, apart from isearchPeter Stephenson2005-02-241-16/+33
|
* 20856: use VARARR for multibyte string.Peter Stephenson2005-02-231-1/+2
|
* 20854: more Unicode stuff.Peter Stephenson2005-02-231-6/+17
|
* 20822: Initial code for Unicode/multibyte inputPeter Stephenson2005-02-181-3/+5
| | | | 20823: Debugging test in stat wrong for 64-bit systems
* c.f. 20675: improve zle as a basis for Unicode.Peter Stephenson2005-01-141-45/+45
| | | | unposted: update version to 4.2.3-dev-1
* 20500: Unmetafy patterns where possible and other minor pattern fixesPeter Stephenson2004-10-181-2/+2
|
* 20482: but with completion inside interactive completionPeter Stephenson2004-10-141-1/+49
|
* Marked unused parameters with the new UNUSED() macro.Wayne Davison2004-06-021-4/+4
|
* 19553: rename c in zle to lastcharPeter Stephenson2004-03-081-4/+4
|
* Silenced some compiler warnings about uninitialized variables.Wayne Davison2004-02-191-4/+4
|
* 18926: problem accepting filename require metafication with menu selectionPeter Stephenson2003-08-051-0/+4
|
* 18513: Work around crash on resize in menu selectionPeter Stephenson2003-05-141-1/+15
|
* 18476: Fix menu selection on Linux consoleAndrey Borzenkov2003-05-051-3/+3
|
* improve interactive mode when there are no matches left (alow to go back ↵Sven Wischnowsky2002-07-051-10/+30
| | | | with undo) (17429)
* in menu selection, use copies of comp{pre,suf}fix to make sure they exist; ↵Sven Wischnowsky2002-07-041-19/+32
| | | | fix display problem with non-empty iprefix (17403)
* fix for interactive mode when menu selection is called via the menu-select ↵Sven Wischnowsky2002-07-031-5/+5
| | | | widget (17394)
* two new modes for menu selection: incremental search and interactive (17366)Sven Wischnowsky2002-06-261-39/+444
|
* don't use optimised completion list display code after the list has been ↵Sven Wischnowsky2002-06-051-1/+1
| | | | erased or we're not in menu selection anymore anyway (17286)
* follow-up to 17222, make the optimisation work for some more keys again (17237)Sven Wischnowsky2002-05-271-5/+7
|
* we have to disable 17219 for some keys because their code doesn't set up the ↵Sven Wischnowsky2002-05-241-0/+7
| | | | variables we need (17222)
* make re-display in menu selection faster; redraw only the previously and ↵Sven Wischnowsky2002-05-241-13/+96
| | | | newly selected matches (17219)
* fix for file-type-tests in nested quotes and don't count space ↵Sven Wischnowsky2002-05-211-26/+10
| | | | file-type-character (17195)
* add new generic fake style and changes to the C-code for that (different ↵Sven Wischnowsky2002-01-221-4/+5
| | | | implementation of compadd -x) (16483)
* make display for groups in _describe nicer; improve packing with ↵Sven Wischnowsky2001-07-251-3/+4
| | | | list_packed; leave space for type character (list_types) only in groups with at least one file name (15477)
* add list-grouped option to make options and such be grouped together if they ↵Sven Wischnowsky2001-07-181-4/+8
| | | | 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)
* fixes for display bugs for completion lists (cursor left one line to far up ↵Sven Wischnowsky2001-06-131-4/+7
| | | | or down) (14903)
* print space/backspace when reacing the last column while printing ↵Sven Wischnowsky2001-05-081-1/+4
| | | | descriptions and the like to avoid a cursor positioning bug depending on the kind of terminal (autowrap) (14251)
* fix default colour for directories (3674)Sven Wischnowsky2001-03-151-1/+1
|
* *** empty log message ***Sven Wischnowsky2001-01-181-2/+6
|
* remove 13108 (trap queues); replace with signal queueing to ensure that user ↵Sven Wischnowsky2001-01-161-1/+10
| | | | signal handlers are only executed when it is safe to run them (13365)
* re-display list for cleanup only if we were in menu selection (13084)Sven Wischnowsky2000-10-251-1/+6
|
* add a counter for invalidatelist() to allow finding out if there is a new ↵Sven Wischnowsky2000-10-251-2/+3
| | | | list (13082)
* avoid printing file type characters in completion lists for matches ending ↵Sven Wischnowsky2000-10-241-2/+3
| | | | in a slash (13071)
* add _all_matcher completer and supporting C-code for adding a special match ↵Sven Wischnowsky2000-10-111-0/+4
| | | | representing all other matches; remove completions style from _expand(|_word) (12960)