Corinna Vinschen
62755474e5
* fhandler.h (class dev_console): Add members con_mbtowc, con_wctomb,
...
and con_charset.
(dev_console::str_to_con): Take mbtowc function pointer and charset
as additional parameters.
* fhandler_console.cc (fhandler_console::get_tty_stuff): Initialize
aforementioned new members. Explain why.
(dev_console::con_to_str): Remove useless comment. Call new
sys_cp_wcstombs function rather than sys_wcstombs.
(dev_console::str_to_con): Take mbtowc function pointer and charset
as additional parameters. Call sys_cp_mbstowcs accordingly.
(fhandler_console::write_normal): Only initialize f_mbtowc and charset
once. Accommodate changed str_to_con.
* strfuncs.cc (sys_cp_wcstombs): Renamed from sys_wcstombs. Take
wctomb function pointer and charset as parameters. Use throughout.
(sys_cp_mbstowcs): Take wctomb function pointer and charset as
parameters instead of codepage. Remove matching local variables and
their initialization.
* wchar.h (ENCODING_LEN): Define as in newlib.
(__mbtowc): Use mbtowc_p typedef for declaration.
(wctomb_f): New type.
(wctomb_p): New type.
(__wctomb): Declare.
(__utf8_wctomb): Use wctomb_f typedef for declaration.
(sys_cp_wcstombs): Move declaration from winsup.h here.
(sys_wcstombs): Ditto.
(sys_wcstombs_alloc): Ditto.
(sys_cp_mbstowcs): Ditto.
(sys_mbstowcs): Ditto.
(sys_mbstowcs_alloc): Ditto.
* winsup.h: Move declaration of sys_FOO functions to wchar.h. Include
wchar.h instead.
2009-04-07 12:13:37 +00:00
..
2008-08-05 19:20:58 +00:00
2009-04-04 15:49:05 +00:00
2009-01-03 05:12:22 +00:00
2009-04-06 20:44:55 +00:00
2008-07-29 10:40:37 +00:00
2009-01-21 17:14:39 +00:00
2006-05-24 16:59:03 +00:00
2006-03-01 20:20:22 +00:00
2009-01-03 05:12:22 +00:00
2009-02-20 16:10:45 +00:00
2009-04-07 12:13:37 +00:00
2006-01-16 19:52:21 +00:00
2007-01-03 11:14:53 +00:00
2008-01-01 18:51:23 +00:00
2009-01-03 02:27:46 +00:00
2009-04-05 16:49:15 +00:00
2009-01-21 17:14:39 +00:00
2009-01-21 17:14:39 +00:00
2009-01-21 17:14:39 +00:00
2005-09-29 14:28:22 +00:00
2009-03-31 09:42:58 +00:00
2009-01-03 05:12:22 +00:00
2008-12-13 21:05:31 +00:00
2008-07-16 20:20:45 +00:00
2008-07-11 10:00:36 +00:00
2007-02-08 11:35:52 +00:00
2008-11-26 10:18:10 +00:00
2008-11-26 10:18:10 +00:00
2008-11-26 10:18:10 +00:00
2008-11-26 10:18:10 +00:00
2008-11-26 10:18:10 +00:00
2009-01-03 05:12:22 +00:00
2005-10-17 23:27:00 +00:00
2009-01-03 05:12:22 +00:00
2009-01-03 05:12:22 +00:00
2008-02-15 17:53:11 +00:00
2009-03-31 09:42:58 +00:00
2008-06-03 02:22:36 +00:00
2009-03-24 12:18:34 +00:00
2009-01-03 05:12:22 +00:00
2008-09-11 04:34:24 +00:00
2009-01-03 05:12:22 +00:00
2009-01-20 17:22:11 +00:00
2009-01-03 05:12:22 +00:00
2008-11-28 09:04:35 +00:00
2009-03-19 18:16:07 +00:00
2008-09-11 04:34:24 +00:00
2008-08-13 08:25:44 +00:00
2008-02-15 17:53:11 +00:00
2009-02-27 00:34:40 +00:00
2008-04-30 09:51:38 +00:00
2009-04-02 17:44:01 +00:00
2008-04-07 16:15:45 +00:00
2009-03-15 13:46:56 +00:00
2009-01-03 05:12:22 +00:00
2008-04-07 18:45:59 +00:00
2009-01-16 12:17:28 +00:00
2008-11-26 17:21:04 +00:00
2009-01-03 05:12:22 +00:00
2009-04-07 12:13:37 +00:00
2009-03-12 22:03:28 +00:00
2008-09-11 04:34:24 +00:00
2009-03-27 15:04:42 +00:00
2009-02-09 18:28:53 +00:00
2009-01-03 05:12:22 +00:00
2009-01-03 05:12:22 +00:00
2008-11-26 17:21:04 +00:00
2009-01-03 05:12:22 +00:00
2009-02-04 16:40:04 +00:00
2009-02-04 16:40:04 +00:00
2009-01-20 18:04:32 +00:00
2009-01-03 05:12:22 +00:00
2009-01-03 05:12:22 +00:00
2009-01-20 18:04:32 +00:00
2009-01-03 05:12:22 +00:00
2009-03-09 14:40:45 +00:00
2008-09-11 04:34:24 +00:00
2009-01-03 05:12:22 +00:00
2009-01-21 17:14:39 +00:00
2009-01-20 17:22:11 +00:00
2009-01-20 17:22:11 +00:00
2009-01-03 05:12:22 +00:00
2008-04-07 18:45:59 +00:00
2009-01-27 05:21:08 +00:00
2009-04-07 12:13:37 +00:00
2009-03-13 09:33:55 +00:00
2009-03-24 12:18:34 +00:00
2009-03-14 09:14:47 +00:00
2006-03-01 20:20:22 +00:00
2008-12-13 21:05:31 +00:00
2008-12-31 21:33:34 +00:00
2009-01-03 05:12:22 +00:00
2009-03-24 12:18:34 +00:00
2009-01-03 05:12:22 +00:00
2009-01-26 13:20:46 +00:00
2008-04-07 18:45:59 +00:00
2005-12-07 22:28:49 +00:00
2008-09-11 04:34:24 +00:00
2006-05-28 21:39:37 +00:00
2009-01-03 05:12:22 +00:00
2009-01-03 05:12:22 +00:00
2008-04-07 18:45:59 +00:00
2008-11-26 17:21:04 +00:00
2008-09-11 05:43:11 +00:00
2008-04-07 18:45:59 +00:00
2009-04-05 16:49:15 +00:00
2009-02-16 20:22:38 +00:00
2005-12-10 17:09:58 +00:00
2009-01-03 05:12:22 +00:00
2009-03-24 12:18:34 +00:00
2009-03-24 12:18:34 +00:00
2009-01-09 05:18:02 +00:00
2009-01-03 05:12:22 +00:00
2009-03-13 20:49:42 +00:00
2006-08-10 14:15:00 +00:00
2009-01-17 17:20:37 +00:00
2009-02-13 09:05:42 +00:00
2009-01-29 20:32:08 +00:00
2009-01-21 17:14:39 +00:00
2008-07-15 11:42:45 +00:00
2009-04-05 04:23:50 +00:00
2008-04-07 18:45:59 +00:00
2008-01-01 18:51:23 +00:00
2008-11-26 17:21:04 +00:00
2008-05-20 15:11:23 +00:00
2009-01-16 12:17:28 +00:00
2008-09-11 05:43:11 +00:00
2009-01-26 13:20:46 +00:00
2009-03-26 12:12:11 +00:00
2008-12-25 15:55:31 +00:00
2008-03-13 15:18:10 +00:00
2009-01-26 13:42:37 +00:00
2008-12-20 17:32:31 +00:00
2009-01-27 05:21:08 +00:00
2009-01-03 05:12:22 +00:00
2008-09-11 05:43:11 +00:00
2009-03-23 09:46:38 +00:00
2009-01-03 05:12:22 +00:00
2008-10-07 23:28:30 +00:00
2008-12-20 09:35:18 +00:00
2008-09-11 04:34:24 +00:00
2009-01-03 05:12:22 +00:00
2008-04-01 13:22:47 +00:00
2009-01-17 10:16:42 +00:00
2008-09-11 05:43:11 +00:00
2008-10-13 16:01:50 +00:00
2009-03-24 10:53:57 +00:00
2008-11-26 17:21:04 +00:00
2009-02-04 15:26:22 +00:00
2009-03-24 10:53:57 +00:00
2008-03-13 15:18:10 +00:00
2009-02-27 00:34:40 +00:00
2009-01-21 17:14:39 +00:00
2009-01-21 17:14:39 +00:00
2009-04-05 16:49:15 +00:00
2009-01-26 13:42:37 +00:00
2009-03-31 14:58:14 +00:00
2008-06-09 13:45:59 +00:00
2008-04-07 18:45:59 +00:00
2006-07-14 00:50:55 +00:00
2009-03-23 15:48:16 +00:00
2006-07-05 16:06:50 +00:00
2009-04-05 04:23:50 +00:00
2009-03-28 04:55:36 +00:00
2009-01-03 05:12:22 +00:00
2009-04-07 12:13:37 +00:00
2008-05-22 01:25:37 +00:00
2008-09-11 06:22:31 +00:00
2009-01-03 05:12:22 +00:00
2007-02-20 14:31:26 +00:00
2009-03-27 11:29:56 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2008-09-12 22:32:07 +00:00
2009-01-20 12:40:31 +00:00
2009-01-20 12:40:31 +00:00
2008-10-07 23:28:30 +00:00
2009-01-03 05:12:22 +00:00
2008-04-07 18:45:59 +00:00
2008-03-12 12:41:50 +00:00
2008-12-13 21:05:31 +00:00
2009-01-03 05:12:22 +00:00
2006-07-26 15:59:39 +00:00
2009-01-26 13:03:49 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2009-04-07 12:13:37 +00:00
2008-07-12 18:09:17 +00:00
2009-01-29 20:32:08 +00:00
2009-01-29 20:32:08 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2007-12-05 15:10:20 +00:00
2006-07-17 19:30:30 +00:00
2009-04-07 12:13:37 +00:00
2009-02-19 16:12:02 +00:00