4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-21 05:49:19 +08:00
Corinna Vinschen a7197550f3 * autoload.cc (CharToOemA): Remove.
(CharNextExA): Define.
	* environ.cc (codepage_init): Un-static.  Set active_codepage to
	active codepage.  Default to ansi regardless of buf pointer.
	* fhandler.h (dev_console::get_console_cp): New method.
	(dev_console::con_to_str): Change declaration according to new
	implementation.
	(dev_console::str_to_con): Ditto.
	* fhandler_console.cc (cp_convert): Remove.
	(dev_console::con_to_str): Redefine to take WCHAR as incoming console
	char.
	(dev_console::get_console_cp): Return correct codepage according to
	alternate_charset_active setting.
	(dev_console::str_to_con): Redefine to create WCHAR buffer for console
	output.
	(fhandler_console::read): Read console input as WCHARs.
	(base_chars): Fix typo in comment.
	(fhandler_console::char_command): Save and restore console output
	buffer using UNICODE functions.
	(fhandler_console::write_normal): Convert to write output in UNICODE.
	Use CharNextExA to recognize multibyte characters in input.  Workaround
	problem with UTF-8 and MultiByteToWideChar.  Simplify the loop for
	printing "normal" characters.
	* strfuncs.cc (active_codepage): New variable to store active codepage.
	(get_cp): Call codepage_init() if active_codepage is uninitialized.
	Just return active_codepage.
	(is_cp_multibyte): New function.
	* winsup.h (active_codepage): Declare.
	(codepage_init): Declare.
	(is_cp_multibyte): Declare.
2008-02-05 17:37:10 +00:00
..
2008-01-07 16:51:54 +00:00
2006-05-24 16:59:03 +00:00
2006-03-01 20:20:22 +00:00
2008-02-05 17:37:10 +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
2008-02-05 17:37:10 +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
2008-02-05 17:37:10 +00:00