Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-03-26 | core: Implement commands for operating on a single input line | Trygve Aaberge | |
This changes the commands delete_beginning_of_line, delete_end_of_line, delete_line, move_beginning_of_line and move_end_of_line to operate on the current line instead of the whole input. The commands delete_beginning_of_input, delete_end_of_input, delete_input, move_beginning_of_input and move_end_of_input are added with the previous implementations that the line commands had. Additionally, the commands move_previous_line and move_next_line are added which moves the cursor to the previous/next line and keeps the horizontal position in the line. The meta-r key is changed from delete_line to delete_input to keep the behavior, and because you probably want to delete the whole input more often than the line. The meta-R key is added for delete_line. The home, end, ctrl-u and ctrl-k keys are kept to the same commands, which means that they change behaviour. This is because having them operate on the line is consistent with other applications (vim, zsh), and I also think it's more practical. These new bindings are added: shift-home: /input move_beginning_of_input shift-end: /input move_end_of_input shift-up: /input move_previous_line shift-down: /input move_next_line meta-R: /input delete_line meta-ctrl-u: /input delete_beginning_of_input meta-ctrl-k: /input delete_end_of_input Relates to #1498 | |||
2023-01-01 | core: update copyright dates | Sébastien Helleu | |
2022-12-24 | api: rename char comparison functions "utf8_char*" to "string_char*" | Sébastien Helleu | |
2022-12-21 | core: improve case convert and insensitive char comparisons (closes #258) | Sébastien Helleu | |
All lowercase letters are now properly converted to uppercase letters (and vice versa), via functions `towupper` and `towlower`. Functions `string_tolower`, `string_toupper` and `utf8_charcasecmp` have been optimized to be faster when there are ASCII chars (< 128); functions are about 25-40% faster with mixed chars (both ASCII and multi-bytes). Function `utf8_wide_char` has been removed, `utf8_char_int` can be used instead. | |||
2022-12-18 | core: return number of bytes for UTF-8 char in function utf8_int_string | Sébastien Helleu | |
2022-12-10 | api: add function utf8_strncpy | Sébastien Helleu | |
2022-01-17 | core: update copyright dates | Sébastien Helleu | |
2021-01-02 | core: update copyright dates | Sébastien Helleu | |
2020-01-04 | core: update copyright dates | Sébastien Helleu | |
2019-01-01 | core: update copyright dates | Sébastien Helleu | |
2018-11-29 | core: use https for links to GNU GPL license | Sébastien Helleu | |
2018-01-05 | core: update copyright dates | Sébastien Helleu | |
2017-08-10 | core: remove value for first #define in headers, add "PLUGIN" in plugin headers | Sébastien Helleu | |
2017-01-01 | core: update copyright dates | Sébastien Helleu | |
2016-01-01 | core: update copyright dates | Sébastien Helleu | |
2015-08-18 | api: add argument "length" in function utf8_is_valid() | Sébastien Helleu | |
2015-07-04 | api: fix type of value returned by functions utf8_prev_char, utf8_next_char ↵ | Sébastien Helleu | |
and utf8_add_offset | |||
2015-01-01 | core: update copyright dates | Sébastien Helleu | |
2014-03-19 | core: fix use of reserved C identifiers in headers (closes #31) | Sebastien Helleu | |
2014-01-24 | core: add support of escaped unicode chars in commands /print and "/input ↵ | Sebastien Helleu | |
insert" | |||
2014-01-01 | core: update copyright dates | Sebastien Helleu | |
2013-01-01 | core: update copyright dates | Sebastien Helleu | |
2012-01-08 | core: update copyright dates | Sebastien Helleu | |
2011-11-12 | core: fix compilation under OpenBSD 5.0 (lib utf8 not needed any more) (bug ↵ | Simon Kuhnle | |
#34727) | |||
2011-11-12 | api: add new functions strcasecmp_range and strncasecmp_range | Sebastien Helleu | |
2011-08-02 | core: remove "const" for first argument of function utf8_normalize | Sebastien Helleu | |
2011-01-01 | Update copyright dates | Sebastien Helleu | |
2010-06-25 | Update comments after #endif in C headers | Sebastien Helleu | |
2010-06-22 | Update licenses and copyrights, add missing author names in sources | Sebastien Helleu | |
2010-01-03 | Update copyright dates | Sebastien Helleu | |
2009-06-28 | Add french translation of Plugin API Reference | Sebastien Helleu | |
2009-04-15 | Fix compilation problem on FreeBSD: replace call to wcscasecmp() by towlower() | Sebastien Helleu | |
2009-04-11 | Add utf8_charcmp in plugin API, fix bug with utf8_charcasecmp | Sebastien Helleu | |
2009-03-22 | Add option aspell.check.real_time (off by default), fix bugs with aspell and ↵ | Sebastien Helleu | |
utf-8 chars, add function utf8_char_int to API | |||
2009-01-03 | Update copyright dates | Sebastien Helleu | |
2008-11-15 | Add function utf8_strndup to C plugin API | Sebastien Helleu | |
2008-06-03 | Add "const" keyword for some "char *" function arguments (core and plugins API) | Sebastien Helleu | |
2008-01-02 | Update of year in some copyrights | Sebastien Helleu | |
2007-12-17 | New backlog option in logger plugin, added variable names in .h files, ↵ | Sebastien Helleu | |
replaced "void *" pointers by structures | |||
2007-12-10 | Added UTF-8 functions to plugins API | Sebastien Helleu | |
2007-11-11 | Fixed some string functions to make them compatible with UTF-8 charset | Sebastien Helleu | |
2007-10-31 | Renamed many functions, removed all IRC specific stuff | Sebastien Helleu | |
2007-10-31 | Moved files from src/common to core, gui and plugins directories | Sebastien Helleu | |