gtk2/gdk
Tor Lillqvist 6861b9247f Bug 524151 - Dragging of 0-byte files results in an empty filename on
2008-03-24  Tor Lillqvist  <tml@novell.com>

	Bug 524151 - Dragging of 0-byte files results in an empty filename
	on Windows XP and above

	* gdk/win32/gdkdnd-win32.c (resolve_link): Check for the file
	being empty first. For some reason ISHellLink and IPersistFile
	succeeds in interpreting empty files as shortcuts, claiming the
	target of the shortcut is an empty path.

	Change the function to take the wide character file name that the
	caller already has anyway, to avoid a superfluous conversion from
	UTF-8 to UTF-16.


svn path=/trunk/; revision=19931
2008-03-24 17:35:02 +00:00
..
directfb applied patch from Denis Oliver Kropp <dok@directfb.org>. 2008-01-31 17:27:54 +00:00
quartz Patch from Paul Davis, only flush the toplevel once per update. 2008-03-14 10:20:55 +00:00
win32 Bug 524151 - Dragging of 0-byte files results in an empty filename on 2008-03-24 17:35:02 +00:00
x11 Fix a small doc issues. 2008-02-15 19:02:44 +00:00
abicheck.sh Commit a patch by Behdad to fix typos, omissions and other errors in the 2006-09-10 06:39:16 +00:00
COPYING [ Merges from gtk-1-2 ] 1999-09-28 20:19:13 +00:00
gdk.c Require gtk-doc 1.8 2007-11-25 06:51:19 +00:00
gdk.h gdk/gdk.h gdk/gdkcairo.h gdk/gdkcolor.h gdk/gdkgc.h gdk/gdkinternals.h 2008-01-14 14:02:12 +00:00
gdk.symbols Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki 2008-01-22 19:29:18 +00:00
gdkapplaunchcontext.c Go back to 2.13.0 as version for now, as there was no consensus to do the 2008-02-15 23:42:42 +00:00
gdkapplaunchcontext.h gdk/gdkinternals.h #include <gio/gio.h> instead of individual files. 2007-12-14 11:20:10 +00:00
gdkcairo.c gdk/gdk.h gdk/gdkcairo.h gdk/gdkcolor.h gdk/gdkgc.h gdk/gdkinternals.h 2008-01-14 14:02:12 +00:00
gdkcairo.h gdk/gdk.h gdk/gdkcairo.h gdk/gdkcolor.h gdk/gdkgc.h gdk/gdkinternals.h 2008-01-14 14:02:12 +00:00
gdkcolor.c Fix a typo 2006-12-29 18:43:40 +00:00
gdkcolor.h gdk/gdk.h gdk/gdkcairo.h gdk/gdkcolor.h gdk/gdkgc.h gdk/gdkinternals.h 2008-01-14 14:02:12 +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 Intern type names before registering the type to avoid unnecessary copies. 2005-08-31 15:14:26 +00:00
gdkcursor.h Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkdisplay.c gdk/gdkdisplay.h gdk/gdkdrawable.h gdk/gdkevents.h gdk/gdkpango.h 2008-01-15 15:32:37 +00:00
gdkdisplay.h gdk/gdkdisplay.h gdk/gdkdrawable.h gdk/gdkevents.h gdk/gdkpango.h 2008-01-15 15:32:37 +00:00
gdkdisplaymanager.c Require gtk-doc 1.8 2007-11-25 06:51:19 +00:00
gdkdisplaymanager.h Renames: 2002-06-20 23:59:27 +00:00
gdkdnd.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkdnd.h Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkdraw.c gdk/gdkdisplay.h gdk/gdkdrawable.h gdk/gdkevents.h gdk/gdkpango.h 2008-01-15 15:32:37 +00:00
gdkdrawable.h gdk/gdkdisplay.h gdk/gdkdrawable.h gdk/gdkevents.h gdk/gdkpango.h 2008-01-15 15:32:37 +00:00
gdkenumtypes.c.template Use templates for glib-mkenums calls instead of complicated commandlines 2007-11-26 17:32:19 +00:00
gdkenumtypes.h.template Use templates for glib-mkenums calls instead of complicated commandlines 2007-11-26 17:32:19 +00:00
gdkevents.c gdk/gdkdisplay.h gdk/gdkdrawable.h gdk/gdkevents.h gdk/gdkpango.h 2008-01-15 15:32:37 +00:00
gdkevents.h gdk/gdkdisplay.h gdk/gdkdrawable.h gdk/gdkevents.h gdk/gdkpango.h 2008-01-15 15:32:37 +00:00
gdkfont.c Intern type names before registering the type to avoid unnecessary copies. 2005-08-31 15:14:26 +00:00
gdkfont.h Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkgc.c gdk/gdk.h gdk/gdkcairo.h gdk/gdkcolor.h gdk/gdkgc.h gdk/gdkinternals.h 2008-01-14 14:02:12 +00:00
gdkgc.h gdk/gdk.h gdk/gdkcairo.h gdk/gdkcolor.h gdk/gdkgc.h gdk/gdkinternals.h 2008-01-14 14:02:12 +00:00
gdkglobals.c Commit a patch by Behdad to fix typos, omissions and other errors in the 2006-09-10 06:39:16 +00:00
gdki18n.h Deprecate GtkPreviewType, GtkSignalRunType, GtkSideType, 2002-01-30 02:01:10 +00:00
gdkimage.c connect to the display's "closed" signal and free the cached scratch 2006-01-12 13:50:51 +00:00
gdkimage.h Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkinput.h Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkinternals.h Don't install private headers. (#463510) 2008-02-16 04:33:48 +00:00
gdkintl.h Make the GdkScreen font options api public, and add properties 2005-08-26 18:49:52 +00:00
gdkkeynames.c gdk_key is a typedef, not a struct tag. 2005-03-17 12:05:16 +00:00
gdkkeys.c Remove extraneous ; 2006-05-14 03:58:06 +00:00
gdkkeys.h New function to determine if keyboard layouts for both LTR and LTR 2007-06-30 01:43:04 +00:00
gdkkeysyms-update.pl Closed #442183 – Updated gdk/gdkkeysyms-update.pl 2007-05-30 13:23:40 +00:00
gdkkeysyms.h Fix #321896 - Synch gtkimcontextsimple.c with Xorg 2008-03-04 11:21:48 +00:00
gdkkeyuni.c Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkmarshalers.list New demo for window migration between different displays and screens. 2002-08-01 23:43:13 +00:00
gdkmedialib.c 2.11.0 2007-05-24 05:51:56 +00:00
gdkmedialib.h 2.11.0 2007-05-24 05:51:56 +00:00
gdkpango.c gdk/gdkdisplay.h gdk/gdkdrawable.h gdk/gdkevents.h gdk/gdkpango.h 2008-01-15 15:32:37 +00:00
gdkpango.h gdk/gdkdisplay.h gdk/gdkdrawable.h gdk/gdkevents.h gdk/gdkpango.h 2008-01-15 15:32:37 +00:00
gdkpixbuf-drawable.c New function to avoid pointless strdups when creating atoms from static 2005-09-11 05:39:45 +00:00
gdkpixbuf-render.c If the pixbuf has an alpha channel, use gdk_draw_rgb_32_image to draw it 2008-02-06 23:08:07 +00:00
gdkpixbuf.h Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkpixmap.c Don't use G_DEFINE_TYPE, since the instance struct name does not match the 2006-05-31 03:34:04 +00:00
gdkpixmap.h New function to allow wrapping a native pixmap without a server roundtrip. 2006-03-30 04:08:51 +00:00
gdkpoly-generic.h Merge no-flicker branch into HEAD 2000-03-28 01:24:44 +00:00
gdkpolyreg-generic.c Fix a small doc issues. 2008-02-15 19:02:44 +00:00
gdkprivate.h Don't install private headers. (#463510) 2008-02-16 04:33:48 +00:00
gdkproperty.h New function to avoid pointless strdups when creating atoms from static 2005-09-11 05:39:45 +00:00
gdkrectangle.c gdk/gdk.h gdk/gdkcairo.h gdk/gdkcolor.h gdk/gdkgc.h gdk/gdkinternals.h 2008-01-14 14:02:12 +00:00
gdkregion-generic.c gdk/gdkdisplay.h gdk/gdkdrawable.h gdk/gdkevents.h gdk/gdkpango.h 2008-01-15 15:32:37 +00:00
gdkregion-generic.h Handle a borderline case correctly 2007-04-18 15:19:58 +00:00
gdkregion.h gdk/gdkdisplay.h gdk/gdkdrawable.h gdk/gdkevents.h gdk/gdkpango.h 2008-01-15 15:32:37 +00:00
gdkrgb.c gdk/gdkdisplay.h gdk/gdkdrawable.h gdk/gdkevents.h gdk/gdkpango.h 2008-01-15 15:32:37 +00:00
gdkrgb.h gdk/gdkdisplay.h gdk/gdkdrawable.h gdk/gdkevents.h gdk/gdkpango.h 2008-01-15 15:32:37 +00:00
gdkscreen.c cast the return value of gdk_screen_get_font_options() to gpointer to get 2008-01-14 15:00:57 +00:00
gdkscreen.h Add RandR 1.2 support 2007-12-13 18:27:05 +00:00
gdkselection.c Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkselection.h Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkspawn.h gdk/gdkspawn.h gtk/gtkbuilderprivate.h gtk/gtkfilechoosersettings.c 2008-03-14 20:38:58 +00:00
gdktestutils.h gdk/gdktestutils.h Remove ; trailing G_BEGIN/END_DECLS 2008-02-14 15:48:35 +00:00
gdktypes.h Don't use GDK_ALT_MASK. 2005-09-06 19:25:47 +00:00
gdkvisual.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkvisual.h Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkwindow.c gdk/gdk.h gdk/gdkcairo.h gdk/gdkcolor.h gdk/gdkgc.h gdk/gdkinternals.h 2008-01-14 14:02:12 +00:00
gdkwindow.h gdk/gdkdisplay.h gdk/gdkdrawable.h gdk/gdkevents.h gdk/gdkpango.h 2008-01-15 15:32:37 +00:00
gen-keyname-table.pl Generate N_() calls for translatable key names. 2005-06-10 06:41:04 +00:00
keyname-table.h Mark arrow keys as translatable 2006-12-21 05:11:00 +00:00
keynames.txt Mark arrow keys as translatable 2006-12-21 05:11:00 +00:00
makeenums.pl Add GdkEventSetting event for notification of changes to system settings, 2001-04-02 23:33:47 +00:00
Makefile.am Don't install private headers. (#463510) 2008-02-16 04:33:48 +00:00
makefile.msc also recurse into win32 for ::clean create gtkbuiltincache.h (most code to 2006-01-05 23:55:08 +00:00
makegdkalias.pl Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
pltcheck.sh Commit a patch by Behdad to fix typos, omissions and other errors in the 2006-09-10 06:39:16 +00:00
testgdk.c Fixes #136082 and #135265, patch by Morten Welinder. 2004-03-06 03:38:59 +00:00