gtk2/gdk
Tor Lillqvist bc1ec5c14a Massive changes. Too many to list here, but I'll try a summary:
2002-02-17  Tor Lillqvist  <tml@iki.fi>

	* gdk/win32/*.c: Massive changes. Too many to list here, but I'll
	try a summary:

	1) Unify GdkPixmap and GdkImage implementation: For each
	GdkPixmap, allocate a GdkImage, and vice versa.
	GdkPixmapImplWin32Data has a pointer to the GdkImage.
	GdkImage::windowing_data is a pointer to the GdkPixmap.

	This simplifies many pixmap and image related functions a lot, and
	reduces duplicated code snippets. For instance, there is only one
	place in gdk/win32 where CreateDIBSection() is called, in the
	function _gdk_win32_new_pixmap(). Converting a bitmap (GdkPixmap)
	to a Windows region is almost trivial, with the bitmap bits being
	readily accessible in the associated GdkImage.

	All blitting between GdkPixmaps, GdkWindows and GdkImages goes
	through handled the _gdk_win32_blit() function, which calls
	different functions to handle the cases of blitting from pixmaps,
	inside windows (scrolling), or from windows, which all require
	somewhat different handling.

	2) Support 256-color mode. This has long been very broken, now it
	works more or less OK. Keep the logical palette for each colormap
	as small as possible while allocating and freeing colors. Select
	and realize the logical palette associated with a GdkColormap into
	a DC before drawing or blitting.

	When the display is in 256-color mode, make it possible for the
	user to override the size of the palette(s) used with either the
	GDK_WIN32_MAX_COLORS environment variable, or a -max-colors
	command line option. It is possible to reduce the palette size all
	the way down to using just the 16 static colors (which causes the
	system visual to be of type GDK_VISUAL_STATIC_COLOR. This could
	possibly be useful if one desperately wants to avoid color
	flashing. (Note that in order for this to work properly, an as of
	yet not commited fix to gdkrgb.c is needed.)

	Handle the palette messages. On WM_PALETTECHANGED, call
	UpdateColors() for the given window hierarchy. Do this only if a
	window in some other top-level window hierarchy caused the palette
	change (realized a palette). Do this max five times in a row (an
	arbitrarily chosen limit), though, otherwise redraw by generating
	expose events. On WM_QUERYNEWPALETTE, cause a redraw of the whole
	window hierarchy by generating GDK_EXPOSE events.

	3) Code cleanup in general. For instance, remove the "emulated"
	X11 structs ColormapStruct, Visual and XStandardColormap. Use the
	new GDK_DEBUG_* flags for debugging output in the relevant source
	files. Remove the unused colormap hash table in gdkcolor-win32.c

	4) Plug some resource leaks.

2002-02-14  Tor Lillqvist  <tml@iki.fi>

	* gdk/win32/gdkdnd-win32.c (gdk_dropfiles_filter): Use
	g_filename_to_uri() to actually create legal URIs in the
	text/uri-list data.
2002-02-17 00:25:05 +00:00
..
linux-fb use fabs() on a double instead of abs() 2002-02-17 00:06:00 +00:00
nanox Make gdkx.h the only installed header from gdk/x11. All structures in 2001-09-07 21:50:20 +00:00
win32 Massive changes. Too many to list here, but I'll try a summary: 2002-02-17 00:25:05 +00:00
x11 g_warning() if setting the local fails, like gdk_set_locale() did. 2002-02-13 17:48:01 +00:00
.cvsignore shut up CVS 2001-04-03 23:11:15 +00:00
COPYING [ Merges from gtk-1-2 ] 1999-09-28 20:19:13 +00:00
gdk.c Add some more GdkDebugFlags, for more fine-grained debugging output 2002-02-13 21:59:47 +00:00
gdk.def Massive changes. Too many to list here, but I'll try a summary: 2002-02-17 00:25:05 +00:00
gdk.h Add a function, gdk_threads_init() that must be explicitely called to 2001-10-22 12:59:21 +00:00
gdkcolor.c 1.3.12, interface, binary age 0. 2001-12-23 22:59:30 +00:00
gdkcolor.h Deprecate. (#65851) 2001-12-05 00:06:40 +00:00
gdkconfig.h.win32 Massive changes. Too many to list here, but I'll try a summary: 2002-02-17 00:25:05 +00:00
gdkcursor.c Update to use the new g_boxed_type_register_static API. 2001-09-10 16:54:07 +00:00
gdkcursor.h Directly include the contents of gdkcursors.h in the GdkCursorType enum. 2001-11-28 18:38:43 +00:00
gdkdnd.h Deprecate. 2001-11-30 22:55:28 +00:00
gdkdraw.c Call _gdk_draw_pixbuf(), thus enabling using this function for pixbufs 2002-01-29 22:46:21 +00:00
gdkdrawable.h Private function to tell if we have RENDER extension. 2002-01-04 05:58:01 +00:00
gdkevents.c Ref and sink priv->tooltips in init() and unref priv->tooltips in destroy 2001-12-04 17:12:35 +00:00
gdkevents.h !GTK_OBJECT_DESTROYED() -> GTK_WIDGET_REALIZE() for resize queueing. 2001-06-28 22:49:20 +00:00
gdkfont.c Forget gdkfont 2001-09-10 16:57:38 +00:00
gdkfont.h get rid of extraneous prototype 2002-01-11 03:47:49 +00:00
gdkgc.c 1.3.12, interface, binary age 0. 2001-12-23 22:59:30 +00:00
gdkgc.h Explicitely deprecate gdk_gc_set_font() (reported by Jeff Franks.) 2001-12-18 21:17:49 +00:00
gdkglobals.c File Edit Options Buffers Tools Help Thu Feb 14 21:08:49 2002 Owen Taylor <otaylor@redhat.com> 2002-02-15 02:45:09 +00:00
gdki18n.h Deprecate GtkPreviewType, GtkSignalRunType, GtkSideType, 2002-01-30 02:01:10 +00:00
gdkimage.c make static. 2002-01-31 15:48:58 +00:00
gdkimage.h Fix docs. (#66383) 2001-12-06 21:38:12 +00:00
gdkinput.h Make gdkx.h the only installed header from gdk/x11. All structures in 2001-09-07 21:50:20 +00:00
gdkinternals.h Add some more GdkDebugFlags, for more fine-grained debugging output 2002-02-13 21:59:47 +00:00
gdkkeys.c Throughout: assorted docs 2001-10-03 18:19:48 +00:00
gdkkeys.h Fix prototype for direction_changed. (Reported by Jeff Franks.) 2001-12-18 21:10:04 +00:00
gdkkeysyms.h Directly include the contents of gdkcursors.h in the GdkCursorType enum. 2001-11-28 18:38:43 +00:00
gdkkeyuni.c Handle numeric keypad keysyms; bug #50201 2001-04-18 20:33:26 +00:00
gdkpango.c Patch from Hidetoshi Tajima to fix bad match error when target drawable is 2001-11-30 21:14:07 +00:00
gdkpango.h Doc fixes 2001-03-04 00:12:55 +00:00
gdkpixbuf-drawable.c Merge from gdk-pixbuf stable. 2002-01-25 21:34:18 +00:00
gdkpixbuf-render.c Call _gdk_draw_pixbuf(), thus enabling using this function for pixbufs 2002-01-29 22:46:21 +00:00
gdkpixbuf.h Deprecate gdk_set/get_use_xshm, make gdk_set_use_xshm a noop. Remove 2001-09-07 22:33:09 +00:00
gdkpixmap.c Private function to tell if we have RENDER extension. 2002-01-04 05:58:01 +00:00
gdkpixmap.h Add gdk_window_lookup, gdk_window_foreign_new, gdk_pixmap_lookup and 2001-10-18 20:23:17 +00:00
gdkpoly-generic.h Merge no-flicker branch into HEAD 2000-03-28 01:24:44 +00:00
gdkpolyreg-generic.c Merge no-flicker branch into HEAD 2000-03-28 01:24:44 +00:00
gdkprivate.h Make gdkx.h the only installed header from gdk/x11. All structures in 2001-09-07 21:50:20 +00:00
gdkproperty.h Use $PKG_CONFIG, not pkg-config. (#51032) 2001-05-29 21:42:20 +00:00
gdkrectangle.c Update to use the new g_boxed_type_register_static API. 2001-09-10 16:54:07 +00:00
gdkregion-generic.c use _gdk_region_get_xrectangles() 2001-03-02 20:02:17 +00:00
gdkregion-generic.h (Part 2) Remove gdk_*_lookup() defines, since they are defined by the 2000-07-24 16:19:00 +00:00
gdkregion.h use _gdk_region_get_xrectangles() 2001-03-02 20:02:17 +00:00
gdkrgb.c Private function to tell if we have RENDER extension. 2002-01-04 05:58:01 +00:00
gdkrgb.h [ Patch from Sebastian Wilhelmi, 52790 ] 2001-08-23 15:26:49 +00:00
gdkselection.h these should be 31, not 3. Hooray for Xatoms (and not using the XA_* 2001-10-31 21:52:29 +00:00
gdktypes.h Deprecate. (#65851) 2001-12-05 00:06:40 +00:00
gdkvisual.h Deprecate. 2001-11-30 22:55:28 +00:00
gdkwindow.c mention that window arg can be NULL 2002-01-21 05:58:33 +00:00
gdkwindow.h fix signature to match implementation 2002-02-11 16:34:27 +00:00
makeenums.pl Add GdkEventSetting event for notification of changes to system settings, 2001-04-02 23:33:47 +00:00
Makefile.am Simplify Makefiles. <URL: http://bugzilla.gnome.org/show_bug.cgi?id=68969> 2002-01-18 04:21:24 +00:00
makefile.mingw.in Updates. 2001-10-29 07:06:37 +00:00
makefile.msc need to cast image->mem away from void* to avoid 'error C2036: 'void *' : 2002-01-05 19:07:13 +00:00
testgdk.c Update. 2000-10-09 19:49:42 +00:00
TODO Make gdkx.h the only installed header from gdk/x11. All structures in 2001-09-07 21:50:20 +00:00