1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-06 23:44:43 -04:00
elinks/src/terminal
Kalle Olavi Niemitalo 0748ee8c92 UTF-8: Split UCS_REPLACEMENT_CHARACTER off UCS_NO_CHAR.
In the previous version, invalid UTF-8 from a terminal caused
UCS_NO_CHAR (0xFFFFFFFD) to be stored in a term_event_key_T, resulting
in -3 which was then incidentally treated as an unassigned special key.

Now, invalid UTF-8 is instead mapped to UCS_REPLACEMENT_CHARACTER
and treated as a character.  The fact that handle_interlink_event
calls term_send_ucs when it receives invalid UTF-8 makes it pretty
clear that this is how it was intended.

src/viewer/text/link.c (not changed in this commit) already referred
to UCS_REPLACEMENT_CHARACTER in a comment even though it was not
previously defined.
2006-08-19 13:35:21 +03:00
..
color.c plain_renderer: cg-log -c | elinks works. The code needs cleanup 2006-05-07 15:49:08 +02:00
color.h plain_renderer: cg-log -c | elinks works. The code needs cleanup 2006-05-07 15:49:08 +02:00
draw.c Trim trailing whitespaces. 2006-07-27 09:51:10 +02:00
draw.h Trim trailing whitespaces. 2006-07-27 09:51:10 +02:00
event.c UTF-8: Split UCS_REPLACEMENT_CHARACTER off UCS_NO_CHAR. 2006-08-19 13:35:21 +03:00
event.h terminal UTF-8: check_kbd_label_key() allows non-ASCII characters again. 2006-08-13 23:48:18 +03:00
hardio.c Remove now useless $Id: lines. 2005-10-21 09:14:07 +02:00
hardio.h Remove empty lines in start of header files 2005-11-15 11:33:27 +01:00
itrm.h terminal: Define separate structs for events passed via the interlink socket. 2006-08-06 20:02:39 +00:00
kbd.c Few whitespaces fixes. 2006-08-13 20:57:35 +02:00
kbd.h Merge with http://www.iki.fi/kon/2006/elinks.git#ucs_kbdbind 2006-08-14 02:14:04 +02:00
key.inc Remove now useless $Id: lines. 2005-10-21 09:14:07 +02:00
Makefile path_to_top -> top_builddir 2005-10-20 04:00:35 +02:00
mouse.c terminal: Define separate structs for events passed via the interlink socket. 2006-08-06 20:02:39 +00:00
mouse.h terminal: Define separate structs for events passed via the interlink socket. 2006-08-06 20:02:39 +00:00
palette.inc Remove now useless $Id: lines. 2005-10-21 09:14:07 +02:00
screen.c Trim trailing whitespaces. 2006-07-27 09:51:10 +02:00
screen.h Modularise src/terminal 2006-05-20 15:01:24 +00:00
tab.c Fix assertion failure related to closing all tabs but the current 2006-08-14 16:12:54 +02:00
tab.h Move delayed_open to src/terminal/tab.c 2006-01-16 19:28:03 +00:00
terminal.c Modularise src/terminal 2006-05-20 15:01:24 +00:00
terminal.h Merge with utf8. src/document/plain/renderer.c replaced by utf8 version 2006-07-21 13:12:06 +02:00
TODO Initial commit of the HEAD branch of the ELinks CVS repository, as of 2005-09-15 15:58:31 +02:00
window.c Don't let move_current_tab move the tab beyond the main menu. 2006-05-14 22:17:26 +03:00
window.h New tabs always open below dialogs, never above. 2006-05-14 14:03:17 +03:00