smol/src
Benno Schulenberg 1c010d8ec9 chars: implement mbtowc() ourselves, for more efficiency
This saves a function call, and the passing and checking of the
MAXCHARLEN parameter, and the checking whether wc is maybe NULL
(which for nano is never the case), and who knows what other
overheads mbtowc() has, and our workaround for glibc.

Code was written after looking at gnulib/lib/mbrtowc-impl-utf8.h.
2021-03-29 12:36:10 +02:00
..
Makefile.am build: avoid a warning about duplicate symbol when building from tarball 2021-02-02 11:39:26 +01:00
browser.c copyright: update the years for the FSF 2021-01-11 14:22:51 +01:00
chars.c chars: implement mbtowc() ourselves, for more efficiency 2021-03-29 12:36:10 +02:00
color.c memory: do not allocate space for multidata when it's already allocated 2021-03-05 11:25:14 +01:00
cut.c display: for a large paste or insertion, recalculate the multiline cache 2021-02-03 17:00:28 +01:00
definitions.h startup: do not store an error message in the record of another buffer 2021-03-23 16:19:07 +01:00
files.c build: fix compilation when configured with --disable-multibuffer 2021-03-26 12:21:44 +01:00
global.c copyright: update the years for the FSF 2021-01-11 14:22:51 +01:00
help.c search: just highlight the found occurrence, instead of marking it 2021-02-07 09:18:15 +01:00
history.c copyright: update the years for the FSF 2021-01-11 14:22:51 +01:00
move.c copyright: update the years for the FSF 2021-01-11 14:22:51 +01:00
nano.c tweaks: rename a symbol, to better match the corresponding option 2021-03-03 09:39:49 +01:00
prompt.c build: include a workaround only for versions of ncurses that need it 2021-02-21 12:00:28 +01:00
prototypes.h chars: work around a UTF-8 bug in glibc, to display invalid codes right 2021-03-26 11:07:05 +01:00
rcfile.c tweaks: rename a symbol, to better match the corresponding option 2021-03-03 09:39:49 +01:00
search.c search: make highlighting the standard, non-changeable behavior 2021-02-07 09:18:15 +01:00
text.c memory: fix an off-by-one error to free also the last line in a group 2021-03-05 18:50:34 +01:00
utils.c build: fix compilation when configured with --enable-tiny 2021-03-24 12:21:50 +01:00
winio.c chars: work around a UTF-8 bug in glibc, to display invalid codes right 2021-03-26 11:07:05 +01:00