• Tor Lillqvist's avatar
    New debugging function, to log a clipboard format name symbolically. · 0b2ac32c
    Tor Lillqvist authored
    2005-04-04  Tor Lillqvist  <tml@novell.com>
    
    	* gdk/win32/gdkmain.c (_gdk_win32_cf_to_string): New debugging
    	function, to log a clipboard format name symbolically.
    	(_gdk_win32_data_to_string): Also new, to log random data bytes.
    
    	Implement delayed rendering on Win32, specifically for transfering
    	images through the clipboard from GTK+ apps to other
    	apps (#168173, implementation by Ivan Wong):
    
    	* gdk/win32/gdkevents-win32.c (gdk_event_translate):
    	Handle WM_RENDERFORMAT.
    
    	* gdk/win32/gdkprivate-win32.h
    	* gdk/win32/gdkglobals-win32.c: Add _format_atom_table,
    	_delayed_rendering_data and _image_bmp.
    
    	* gdk/win32/gdkmain-win32.c: Initialize _image_bmp.
    
    	* gdk/win32/gdkproperty-win32.c (gdk_property_change):
    	Accept formats other than GDK_TARGET_STRING or _utf8_string, and
    	assume they are handled through delayed rendering.
    
    	* gdk/win32/gdkselection-win32.c (gdk_selection_convert):
    	Return all available formats (including those registered by GTK+
    	apps) on request_targets.
    	(gdk_selection_property_get): We should append a zero byte like
    	X11 does.
    	(gdk_win32_selection_add_targets): New function, for
    	gtkselection's use. Win32 requires that the clipboard owner
    	registers all valid formats even if the owner wants delayed
    	rendering.
    	(_gdk_win32_selection_convert_to_dib): New function. Convert
    	images to DIB using gdk-pixbuf.
    
    	* gdk/win32/gdkwin32.h: Declare gdk_win32_selection_add_targets().
    
    	* gtk/gtkselection.c (gtk_selection_add_target,
    	gtk_selection_add_targets): Call gdk_win32_selection_add_targets()
    	to register target formats.
    
    	* gdk/gdk.symbols: Add gdk_win32_selection_add_targets().
    0b2ac32c
Name
Last commit
Last update
..
linux-fb Loading commit data...
win32 Loading commit data...
x11 Loading commit data...
.cvsignore Loading commit data...
COPYING Loading commit data...
Makefile.am Loading commit data...
abicheck.sh Loading commit data...
gdk.c Loading commit data...
gdk.h Loading commit data...
gdk.symbols Loading commit data...
gdkcolor.c Loading commit data...
gdkcolor.h Loading commit data...
gdkconfig.h.win32 Loading commit data...
gdkcursor.c Loading commit data...
gdkcursor.h Loading commit data...
gdkdisplay.c Loading commit data...
gdkdisplay.h Loading commit data...
gdkdisplaymanager.c Loading commit data...
gdkdisplaymanager.h Loading commit data...
gdkdnd.c Loading commit data...
gdkdnd.h Loading commit data...
gdkdraw.c Loading commit data...
gdkdrawable.h Loading commit data...
gdkevents.c Loading commit data...
gdkevents.h Loading commit data...
gdkfont.c Loading commit data...
gdkfont.h Loading commit data...
gdkgc.c Loading commit data...
gdkgc.h Loading commit data...
gdkglobals.c Loading commit data...
gdki18n.h Loading commit data...
gdkimage.c Loading commit data...
gdkimage.h Loading commit data...
gdkinput.h Loading commit data...
gdkinternals.h Loading commit data...
gdkintl.h Loading commit data...
gdkkeynames.c Loading commit data...
gdkkeys.c Loading commit data...
gdkkeys.h Loading commit data...
gdkkeysyms.h Loading commit data...
gdkkeyuni.c Loading commit data...
gdkmarshalers.list Loading commit data...
gdkpango.c Loading commit data...
gdkpango.h Loading commit data...
gdkpixbuf-drawable.c Loading commit data...
gdkpixbuf-render.c Loading commit data...
gdkpixbuf.h Loading commit data...
gdkpixmap.c Loading commit data...
gdkpixmap.h Loading commit data...
gdkpoly-generic.h Loading commit data...
gdkpolyreg-generic.c Loading commit data...
gdkprivate.h Loading commit data...
gdkproperty.h Loading commit data...
gdkrectangle.c Loading commit data...
gdkregion-generic.c Loading commit data...
gdkregion-generic.h Loading commit data...
gdkregion.h Loading commit data...
gdkrgb.c Loading commit data...
gdkrgb.h Loading commit data...
gdkscreen.c Loading commit data...
gdkscreen.h Loading commit data...
gdkselection.c Loading commit data...
gdkselection.h Loading commit data...
gdkspawn.h Loading commit data...
gdktypes.h Loading commit data...
gdkvisual.c Loading commit data...
gdkvisual.h Loading commit data...
gdkwindow.c Loading commit data...
gdkwindow.h Loading commit data...
gen-keyname-table.pl Loading commit data...
keyname-table.h Loading commit data...
keynames.txt Loading commit data...
makeenums.pl Loading commit data...
makefile.msc Loading commit data...
makegdkalias.pl Loading commit data...
testgdk.c Loading commit data...