2013-03-10 Daniel Colascione <dancol@dancol.org>
authorDaniel Colascione <dancol@dancol.org>
Sun, 10 Mar 2013 22:55:25 +0000 (14:55 -0800)
committerDaniel Colascione <dancol@dancol.org>
Sun, 10 Mar 2013 22:55:25 +0000 (14:55 -0800)
commit819e2da92a18d7af03ccd9cf0a2e5b940eb7b54f
tree99d41020f39fd757e30622c6437e99902785a371
parentd2e24f924a37982172ec0708369570a0af315c7e
2013-03-10  Daniel Colascione  <dancol@dancol.org>

* w32term.h (GUISTR, GUI_ENCODE_FILE, GUI_ENCODE_SYSTEM, GUI_FN)
(GUI_SDATA, guichar_t): Macros to abstract out differences between
NTGUI_UNICODE and !NTGUI_UNICODE builds, some moved out of
w32fns.c.

* w32term.c (construct_drag_n_drop): Use the above macros to make
drag-and-drop work for non-ASCII filenames in cygw32 builds.

* w32fns.c (x_set_name, x_set_title): Use the above macros to
properly display non-ASCII frame titles in cygw32 builds.

* w32fns.c (Fw32_shell_execute): Use the above macros to properly
call ShellExecute in cygw32 builds.

* w32fn.c (Fx_file_dialog): Use the above macros to simplify the
common file dialog code.

* w32fns.c (Ffile_system_info): Remove from cygw32 builds, which
can just use du like other systems.

* coding.c (from_unicode_buffer): Declare.
* coding.c (from_unicode_buffer): Implement.
src/ChangeLog
src/coding.c
src/coding.h
src/w32fns.c
src/w32term.c
src/w32term.h