gtk/gdk/win32
Tor Lillqvist d8b2f46c18 gdk/win32/gdkdrawable-win32.c (gdk_win32_draw_text)
2004-07-07  Tor Lillqvist  <tml@iki.fi>

	* gdk/win32/gdkdrawable-win32.c (gdk_win32_draw_text)
	* gdk/win32/gdkfont-win32.c (gdk_text_extents)
	* gdk/win32/gdkproperty-win32.c (find_common_locale,
	gdk_property_change)
	* gdk/win32/gdkselection-win32.c (gdk_selection_convert): Use
	g_utf8_to_utf16() instead of the removed _gdk_utf8_to_ucs2() (see
	below).

	* gdk/win32/gdkglobals-win32.c
	* gdk/win32/gdkmain-win32.c (_gdk_windowing_init)
	* gdk/win3/gdkprivate-win32.h: Add a variable for the TARGETS
	atom. Initialize it. Declare it. Drop the variable for the
	COMPOUND_TEXT atom.

	* gdk/win32/gdkim-win32.c (gdk_wcstombs): Don't return UTF-8. This
	function is supposed to return the string in the locale's charset
	and encoding. Use g_convert().

	(gdk_mbstowcs): Similarily, don't take an UTF-8 string, but a
	string in the locale's charset. Use g_convert().

	(_gdk_ucs2_to_utf8, _gdk_utf8_to_wcs, _gdk_utf8_to_ucs2):
	Delete. The UCS-2 functions didn't handle surrogates anyway. Use
	GLib's UTF-16 functions instead. Windows uses UTF-16.

	* gdk/win32/gdkprivate-win32.h: Remove declarations of the deleted
	functions mentioned above.

	* gdk/win32/gdkproperty-win32.c (gdk_property_change): Use CF_TEXT
	also if the string is of type STRING, i.e. ISO-8859-1, and the
	current codepage is 1252, and contains no C1 chars. Accept
	also UTF8_STRING.

	* gdk/win32/gdkselection-win32.c (_gdk_selection_property_store):
	Mark as static. When storing STRING data, convert to
	Latin-1. (#140537)
	(gdk_selection_owner_set_for_display): Now that STRING is always
	ISO-8859-1, use UTF8_STRING when sending the selection request
	to ourselves.

	(gdk_selection_convert): Handle also UTF8_STRING. (#140537, John
	Ehresman)

	(gdk_text_property_to_text_list_for_display): Make work more like
	X11 version. Do obey the encoding parameter.

	(gdk_string_to_compound_text_for_display,
	gdk_utf8_to_compound_text_for_display): Don't even pretend
	supporting COMPOUND_TEXT.

	(gdk_utf8_to_string_target): Convert to ISO-8859-1, like on X11.

	(sanitize_utf8): Zero-terminate string.
2004-07-07 00:10:03 +00:00
..
rc Use correct DLL and import library names, with GTK_API_VERSION in name, 2003-01-05 02:24:15 +00:00
.cvsignore Remove conftest* after use along the lines of AC_TRY_COMPILE. 2000-09-05 14:07:55 +00:00
bdfcursor.c Fixes #136082 and #135265, patch by Morten Welinder. 2004-03-06 03:38:59 +00:00
gdkcolor-win32.c Fixes #136082 and #135265, patch by Morten Welinder. 2004-03-06 03:38:59 +00:00
gdkcursor-win32.c Fixes #136082 and #135265, patch by Morten Welinder. 2004-03-06 03:38:59 +00:00
gdkdisplay-win32.c Don't undefine HAVE_MONITOR_INFO when compiling with gcc. Mingw's headers 2004-03-13 22:26:05 +00:00
gdkdnd-win32.c Put back the ref_count field in the GdkDragContextPrivateWin32 struct (but 2004-05-15 04:18:08 +00:00
gdkdrawable-win32.c gdk/win32/gdkdrawable-win32.c (gdk_win32_draw_text) 2004-07-07 00:10:03 +00:00
gdkdrawable-win32.h Massive changes. Too many to list here, but I'll try a summary: 2002-02-17 00:25:05 +00:00
gdkevents-win32.c Don't propagate mouse events to windows that want extended input events. 2004-05-24 22:34:55 +00:00
gdkfont-win32.c gdk/win32/gdkdrawable-win32.c (gdk_win32_draw_text) 2004-07-07 00:10:03 +00:00
gdkgc-win32.c Plug memory leak. (#140775, John Ehresman) 2004-04-29 10:06:12 +00:00
gdkgeometry-win32.c Fixes #136082 and #135265, patch by Morten Welinder. 2004-03-06 03:38:59 +00:00
gdkglobals-win32.c gdk/win32/gdkdrawable-win32.c (gdk_win32_draw_text) 2004-07-07 00:10:03 +00:00
gdkim-win32.c gdk/win32/gdkdrawable-win32.c (gdk_win32_draw_text) 2004-07-07 00:10:03 +00:00
gdkimage-win32.c Fixes #136082 and #135265, patch by Morten Welinder. 2004-03-06 03:38:59 +00:00
gdkinput-win32.c Fix win32 build problem w/o wintab. Fixed #145242 2004-07-01 10:05:15 +00:00
gdkinput-win32.h gdk/win32/gdkinput-win32.h Drop the GdkEvent* parameter, it wasn't used. 2003-08-07 22:17:18 +00:00
gdkinput.c Fixes #136082 and #135265, patch by Morten Welinder. 2004-03-06 03:38:59 +00:00
gdkkeys-win32.c If both Shift and CapsLock pressed, ignore the shift only for letters 2004-04-10 08:43:36 +00:00
gdkmain-win32.c gdk/win32/gdkdrawable-win32.c (gdk_win32_draw_text) 2004-07-07 00:10:03 +00:00
gdkpango-win32.c Fixes #136082 and #135265, patch by Morten Welinder. 2004-03-06 03:38:59 +00:00
gdkpixmap-win32.c Fixes #136082 and #135265, patch by Morten Welinder. 2004-03-06 03:38:59 +00:00
gdkpixmap-win32.h Fix for #111028, thanks to J. Ali Harlow, who writes: I found that the 2003-06-28 01:12:51 +00:00
gdkprivate-win32.h gdk/win32/gdkdrawable-win32.c (gdk_win32_draw_text) 2004-07-07 00:10:03 +00:00
gdkproperty-win32.c gdk/win32/gdkdrawable-win32.c (gdk_win32_draw_text) 2004-07-07 00:10:03 +00:00
gdkscreen-win32.c Fixes #136082 and #135265, patch by Morten Welinder. 2004-03-06 03:38:59 +00:00
gdkselection-win32.c gdk/win32/gdkdrawable-win32.c (gdk_win32_draw_text) 2004-07-07 00:10:03 +00:00
gdkspawn-win32.c workaround for bug #137496, the real fix would involve just another small 2004-04-11 15:25:06 +00:00
gdkvisual-win32.c Fixes #136082 and #135265, patch by Morten Welinder. 2004-03-06 03:38:59 +00:00
gdkwin32.h Use gdk_window_get_toplevel(), as it is the top-level windows that are 2002-03-19 23:16:08 +00:00
gdkwin32id.c Fixes #136082 and #135265, patch by Morten Welinder. 2004-03-06 03:38:59 +00:00
gdkwindow-win32.c finally also create the correct mask for 'pseudo mime' icons 2004-05-08 16:25:15 +00:00
gdkwindow-win32.h Implement gdk_window_set_icon_list() for Win32, with support for big and 2003-12-14 01:06:56 +00:00
libie55uuid.la Add headers. Add section about ActiveIMM. 2001-11-08 20:57:18 +00:00
libwntab32x.la Add headers. Add section about ActiveIMM. 2001-11-08 20:57:18 +00:00
Makefile.am Utility functions for multi-screen applications which need to ensure 2003-12-10 13:49:58 +00:00
makefile.msc some more settings from system, also reflect some name changes done a 2004-03-07 13:40:19 +00:00
xcursors.h Update. Mention the gtk-1-3-win32-production branch. 2001-02-23 03:51:41 +00:00