4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-21 05:49:19 +08:00
Corinna Vinschen 4b65f19045 * fhandler.h (fhandler_console::trunc_buf): Add to use as cache for
truncated multibyte characters on input.
	(fhandler_console::write_replacement_char): Declare new method.
	* fhandler_console.cc (CONVERT_LIMIT): Raise to 64K.
	(fhandler_console::fhandler_console): Initialize trunc_buf.
	(ERR): Define as independent value again.
	(fhandler_console::write_replacement_char): New method to print
	replacement chars.
	(fhandler_console::write_normal): Add handling for truncated multibyte
	sequences.  Call next_char instead of pathetic CharNextExA function.
	Don't change src, rather just work with found later on.
	* miscfuncs.cc (is_cp_multibyte): Move here from strfuncs.cc.
	Don't call Windows function, restrict to well-known ANSI/OEM codepages
	and UTF-8.
	(next_char): Call CharNextExA only for doublebyte codepages.
	Implement for UTF-8 here.
	* strfuncs.cc (is_cp_multibyte): Move to miscfuncs.cc.
	* winsup.h (next_char): Declare.
	* include/limits.h (MB_LEN_MAX): Set to maximum value of MB_CUR_MAX
	as defined by newlib for now.
2008-02-06 18:24:50 +00:00
..
2006-05-24 16:59:03 +00:00
2006-03-01 20:20:22 +00:00
2006-01-16 19:52:21 +00:00
2007-01-03 11:14:53 +00:00
2006-05-24 16:59:03 +00:00
2005-09-29 14:28:22 +00:00
2005-03-23 17:11:24 +00:00
2006-11-27 12:59:59 +00:00
2007-12-12 12:12:24 +00:00
2007-12-12 12:12:24 +00:00
2008-02-05 17:37:10 +00:00
2006-02-15 22:11:13 +00:00
2007-07-07 16:43:03 +00:00
2006-03-01 20:20:22 +00:00
2007-03-06 16:29:40 +00:00
2007-07-14 15:58:32 +00:00
2007-02-20 00:16:18 +00:00
2008-01-01 19:07:36 +00:00
2007-06-29 15:13:01 +00:00
2007-02-20 15:48:04 +00:00
2007-07-07 17:29:20 +00:00
2007-11-06 13:29:53 +00:00
2007-06-11 17:38:27 +00:00
2006-02-20 02:06:37 +00:00
2008-01-01 19:07:36 +00:00
2007-12-12 12:12:24 +00:00
2007-12-12 12:12:24 +00:00
2006-07-17 19:30:30 +00:00