CVSROOT:        /cvs/src
Module name:    src
Changes by:     [EMAIL PROTECTED]       2008-01-31 20:26:01

Modified files:
        winsup/cygwin  : ChangeLog dcrt0.cc environ.cc 
                         fhandler_clipboard.cc fhandler_console.cc 
                         smallprint.cc strfuncs.cc winsup.h 

Log message:
        * dcrt0.cc (dll_crt0_1): Use GetCommandLineW and convert to current
        codepage.
        * environ.cc (set_file_api_mode): Always set file api to ANSI if not
        using the OEM codepage.
        (codepage_init): Allow "utf8" codepage.
        * fhandler_clipboard.cc (set_clipboard): Convert clipbuf to void and
        cast as needed.  Always convert input to wide char and write
        CF_UNICODETEXT to clipboard.
        (fhandler_dev_clipboard::read): Read CF_UNICODETEXT from clipboard and
        convert to current codepage if CYGWIN_NATIVE format is not available.
        * fhandler_console.cc: Drop redundant undef.
        * smallprint.cc (__small_vsprintf): Convert PWCHAR and UNICODE_STRING
        to current codepage for printing.
        * strfuncs.cc: Use PWCHAR throughout.
        (get_cp): Return CP_UTF8 for utf8_cp codepage setting.
        (sys_wcstombs): Allow NULL target buffer.
        (sys_wcstombs_alloc): New function.
        (sys_mbstowcs_alloc): Ditto.
        * winsup.h (codepage_type): Add utf8_cp.
        (HEAP_NOTHEAP): Define.
        (sys_wcstombs_alloc): Declare.
        (sys_mbstowcs_alloc): Declare.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.3994&r2=1.3995
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dcrt0.cc.diff?cvsroot=src&r1=1.325&r2=1.326
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/environ.cc.diff?cvsroot=src&r1=1.155&r2=1.156
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_clipboard.cc.diff?cvsroot=src&r1=1.35&r2=1.36
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_console.cc.diff?cvsroot=src&r1=1.170&r2=1.171
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/smallprint.cc.diff?cvsroot=src&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/strfuncs.cc.diff?cvsroot=src&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/winsup.h.diff?cvsroot=src&r1=1.205&r2=1.206

Reply via email to