gtk/gdk/win32
Tor Lillqvist af9b53fc58 Merge from stable:
2002-12-09  Tor Lillqvist  <tml@iki.fi>

	Merge from stable:

	* gdk/win32/gdkdrawable-win32.c (generic_draw): Don't leak
	stipple_gc. More checks for errors. Use correct ternary ROP when
	blitting the foreground into the tile pixmap onto those pixels
	where the stipple is set. (I didn't notice that I had used the
	wrong one, as it didn't matter on Win2k, where DIB sections
	apparently are zeroed upon creation. But on Win98 they have random
	initial contents. Thanks to Hans Breuer for reporting this.)
	(gdk_win32_draw_rectangle, gdk_win32_draw_arc,
	gdk_win32_draw_polygon): Don't pass the LINE_ATTRIBUTES bits to
	generic_draw() if drawing a filled figure.

	* gdk/win32/gdkmain-win32.c (_gdk_win32_print_dc): Minor cosmetics.
	(_gdk_win32_gcvalues_mask_to_string): Initialize buffer as empty.
	(_gdk_win32_window_state_to_string): New debugging output helper
	function.

	* gdk/win32/gdkevents-win32.c: Minor debugging output changes.
	(gdk_event_translate): Ignore the WM_SHOWWINDOW/SW_OTHERUNZOOM or
	SW_OTHERZOOM messages. Do not generate a GDK_UNMAP event for
	WM_SIZE/SIZE_MINIMIZED messages, they do not really corrspond to
	unmapping on X11. Set window state correctly for all three of
	SIZE_{MINIMIZED,MAXIMIZED,RESTORED}. A maximized and then iconified
	("minimized" in Windows terminology) window still has the
	"maximized" property, i.e. when deiconified, it will reappear as
	maximized. (#10557)

	* gdk/win32/gdkprivate-win32.h: Declare new function.
	(WIN32_API_FAILED, WIN32_GDI_FAILED, OTHER_API_FAILED): Don't use
	__PRETTY_FUNCTION__ if __GNUC__ >= 3, to avoid warning message.

	* gdk/win32/gdkwindow-win32.c (show_window_internal): Handle more
	situations. Add parameter to tell whether deiconifying. Code
	reorg: Return early when appropriate instead of using nested if
	statements. If just deiconifying without raising, restore active
	window. (#10557)

	(gdk_window_hide, gdk_window_withdraw, gdk_window_iconify,
	gdk_window_deiconify, gdk_window_maximize, gdk_window_unmaximize,
	gdk_window_focus): Use _gdk_win32_window_state_to_string() in
	debugging output.

	(gdk_window_iconify): Restore active window after calling
	ShowWindow(). Otherwise the "next" window gets activated.

	(gdk_window_stick, gdk_window_unstick): Don't output any warnings.

	(gdk_window_set_transient_for): Rewrite. Just call SetWindowLong()
	with GWL_HWNDPARENT, which despite its name sets the *owner*
	window, which should be exactly what we want. The PSDK
	documentation is said to be misleading. testgtk's modal window
	test now works much better. (#50586)
2002-12-09 00:43:42 +00:00
..
rc gdk/win32/gdkprivate-win32.h Rename all global variables and functions to 2002-11-12 22:17:48 +00:00
.cvsignore Remove conftest* after use along the lines of AC_TRY_COMPILE. 2000-09-05 14:07:55 +00:00
bdfcursor.c Update. Mention the gtk-1-3-win32-production branch. 2001-02-23 03:51:41 +00:00
gdkcolor-win32.c Fixes from #98358, Havoc Pennington. 2002-11-25 22:52:36 +00:00
gdkcursor-win32.c gdk/win32/gdkprivate-win32.h Rename all global variables and functions to 2002-11-12 22:17:48 +00:00
gdkdisplay-win32.c Add missing entries, needed by gtk. 2002-11-16 21:51:47 +00:00
gdkdnd-win32.c gdk/win32/gdkprivate-win32.h Rename all global variables and functions to 2002-11-12 22:17:48 +00:00
gdkdrawable-win32.c Merge from stable: 2002-12-09 00:43:42 +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 Merge from stable: 2002-12-09 00:43:42 +00:00
gdkfont-win32.c gdk/win32/gdkprivate-win32.h Rename all global variables and functions to 2002-11-12 22:17:48 +00:00
gdkgc-win32.c Merge from stable: 2002-11-24 23:54:01 +00:00
gdkgeometry-win32.c gdk/win32/gdkprivate-win32.h Rename all global variables and functions to 2002-11-12 22:17:48 +00:00
gdkglobals-win32.c Add missing entries, needed by gtk. 2002-11-16 21:51:47 +00:00
gdkim-win32.c Massive changes. Too many to list here, but I'll try a summary: 2002-02-17 00:25:05 +00:00
gdkimage-win32.c gdk_image_get_pixel, gdk_image_put_pixel: Fixed sense of bounds checks. 2002-10-07 15:16:06 +00:00
gdkinput-win32.c gdk/win32/gdkprivate-win32.h Rename all global variables and functions to 2002-11-12 22:17:48 +00:00
gdkinput-win32.h Delete leftover declarations of the obsolete Win32-only functions 2002-09-19 23:27:10 +00:00
gdkinput.c Add missing entries, needed by gtk. 2002-11-16 21:51:47 +00:00
gdkkeys-win32.c Remove redundant doc comments. 2002-10-23 21:03:35 +00:00
gdkmain-win32.c Merge from stable: 2002-12-09 00:43:42 +00:00
gdkpango-win32.c Renames: 2002-06-20 23:59:27 +00:00
gdkpixmap-win32.c Reflect recent renamings and removals of functions. 2002-11-16 01:12:10 +00:00
gdkpixmap-win32.h Massive changes. Too many to list here, but I'll try a summary: 2002-02-17 00:25:05 +00:00
gdkprivate-win32.h Merge from stable: 2002-12-09 00:43:42 +00:00
gdkproperty-win32.c gdk/win32/gdkprivate-win32.h Rename all global variables and functions to 2002-11-12 22:17:48 +00:00
gdkscreen-win32.c Fixes from #98358, Havoc Pennington. 2002-11-25 22:52:36 +00:00
gdkselection-win32.c gdk/win32/gdkprivate-win32.h Rename all global variables and functions to 2002-11-12 22:17:48 +00:00
gdkvisual-win32.c Add missing entries, needed by gtk. 2002-11-16 21:51:47 +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 GCompareFunc -> GEqualFunc where applicable. 2000-11-13 13:15:41 +00:00
gdkwindow-win32.c Merge from stable: 2002-12-09 00:43:42 +00:00
gdkwindow-win32.h Remove the event_mask, it is now in GdkWindowObject. 2002-02-28 23:38:55 +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 Fix gdkenumtypes.h hack 2002-12-06 00:12:53 +00:00
makefile.mingw.in New function, copied from X11 version. 2001-02-11 11:00:14 +00:00
makefile.msc Changes multihead reorganizing code for win32 support, mostly from a patch 2002-06-06 00:26:42 +00:00
xcursors.h Update. Mention the gtk-1-3-win32-production branch. 2001-02-23 03:51:41 +00:00