Commit Graph

42 Commits

Author SHA1 Message Date
jst%mozilla.jstenback.com
5f552d2f96 Fixing bug 285438. Make our drag n' drop code remember what we're dragging even if the user drags outside the initial window and then back, and make the browser code check that the source of a dragged link has the right to load the target of the link (Win32 and Gtk 1 & 2 only so far, Mac on its way). r=bzbarsky@mit.edu, sr=bryner@brianryner.com
git-svn-id: svn://10.0.0.236/trunk@170754 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-16 00:40:21 +00:00
jst%mozilla.jstenback.com
44051b78a8 Whitespace cleanup and sanitizing code a bit.
git-svn-id: svn://10.0.0.236/trunk@170666 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-15 00:26:15 +00:00
dbaron%dbaron.org
addf0d23ab Convert CR-LF and CR linebreaks to LF.
git-svn-id: svn://10.0.0.236/trunk@168462 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-28 20:01:46 +00:00
neil%parkwaycc.co.uk
fd295b47cc Bug 244685 Implement SourceURL for CF_HTML clipboard copy/drag'n'drop p=david.gardiner@unisa.edu.au r=dean_tessman sr=me
git-svn-id: svn://10.0.0.236/trunk@166393 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-07 14:13:54 +00:00
ere%atp.fi
ba69b395e4 Fix for bug 250392 - Support "UniformResourceLocatorW" and "FileGroupDescriptorW" clipboard formats for Internet Shortcut
Patch by Masayuki Nakano
r=brofield
sr=blizzard


git-svn-id: svn://10.0.0.236/trunk@159322 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 07:28:10 +00:00
gerv%gerv.net
586f796c2a Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155091 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 22:01:16 +00:00
cls%seawood.org
ae91d9764c Case matters.
Fixing mingw cross-compiling bustage.


git-svn-id: svn://10.0.0.236/trunk@147702 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-07 20:39:25 +00:00
kin%netscape.com
f0e0fe3c72 Fix for bug 209593 (Moving mails via Drag'n'Drop crashes Mozilla [TB21092337G])
Modified InvokeDragSession() so that it addrefs and releases the data objects it creates. This fixes the crashing that occurs when dragging multiple items, and prevents the leak that occurs when dragging a single item.

r=nisheeth@netscape.com  sr=dbaron@dbaron.org


git-svn-id: svn://10.0.0.236/trunk@143876 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-18 19:12:54 +00:00
nisheeth%netscape.com
4ac8ab8a5e Fix for bug 203847. r=smontagu@netscape.com, sr=kin@netscape.com. Make sure that dragged file is deleted from temporary location.
git-svn-id: svn://10.0.0.236/trunk@143684 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-13 20:38:43 +00:00
dbaron%dbaron.org
6ed727cbe8 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@136028 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 23:19:20 +00:00
seawood%netscape.com
f9eb727003 Define WIN32_LEAN_AND_MEAN globally for win32 builds.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa


git-svn-id: svn://10.0.0.236/trunk@132136 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 06:47:01 +00:00
dougt%netscape.com
e289284076 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
rods%netscape.com
99a9d007bd Add an interface to nsDataObjectCollection so we can QI to check to make sure
it is one of our objects before doing the static cast.
Bug 106211 r=pink sr=jst


git-svn-id: svn://10.0.0.236/trunk@123311 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 11:28:13 +00:00
dean_tessman%hotmail.com
0457bd79fe bug 130206 - crash using jsd
added a null check to nsDragService::GetNumDropItems on windows
r=rginda, pink  sr=jag  a=asa


git-svn-id: svn://10.0.0.236/trunk@117031 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-21 02:50:59 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
pinkerton%netscape.com
5166ce7e84 Submitting patch from MarkH@ActiveState.com to allow multi-file drops
from external applications. r=saari/sr=hyatt. bug# 60924


git-svn-id: svn://10.0.0.236/trunk@84446 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 23:47:09 +00:00
pinkerton%netscape.com
d113bff73b Fixing COM refcounting problems by removing |mDataObject| from the drag target. Also removing the
cached drag session. r=pchen/a=hyatt. bug# 54803


git-svn-id: svn://10.0.0.236/trunk@80624 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 00:11:28 +00:00
pinkerton%netscape.com
87a6f925d2 Most of fix for 37412. Expand d&d so that when we're asking for a url and
don't have one, we check if a file is being dropped. If so, either give
the file:// url or read in the InternetShortcut.


git-svn-id: svn://10.0.0.236/trunk@75462 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 00:47:36 +00:00
pinkerton%netscape.com
c1421e9b63 Make the document where the drag originated available from the drag session. bug 39326
git-svn-id: svn://10.0.0.236/trunk@75249 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 20:51:42 +00:00
waterson%netscape.com
9f0f77a822 Bug 42518. Remove bogus re-implementation of GetCurrentSession(). r=pink
git-svn-id: svn://10.0.0.236/trunk@72330 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 00:32:17 +00:00
pinkerton%netscape.com
8c304d98a5 Dragging links to desktop creates internet shortcut files. bug#37410, r=pavlov
git-svn-id: svn://10.0.0.236/trunk@71493 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 00:34:11 +00:00
rjc%netscape.com
83ae6897f3 Part of fix for bug # 36037: drag&drop change.
git-svn-id: svn://10.0.0.236/trunk@68747 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 23:43:01 +00:00
pinkerton%netscape.com
f25f457f91 fix one case, the opposite breaks. helps to check all the function results correctly, not just some.
git-svn-id: svn://10.0.0.236/trunk@67941 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 22:50:28 +00:00
pinkerton%netscape.com
83970d31cc Fix for non-file drags. Incorrectly checking result code when looking for a file drop.
git-svn-id: svn://10.0.0.236/trunk@67929 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 22:36:21 +00:00
pinkerton%netscape.com
4470c606aa implement accepting drops of files onto mozilla.
git-svn-id: svn://10.0.0.236/trunk@67157 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 01:04:13 +00:00
pinkerton%netscape.com
c3f43e5f26 native clipboard/d&d impls now handle text/plain internally, always providing text/unicode to a client. fixes bugs 8427 and 24010. r=scc.
git-svn-id: svn://10.0.0.236/trunk@59409 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 22:26:21 +00:00
dmose%mozilla.org
92d791b7b0 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
pinkerton%netscape.com
46d21a0e5f using new nsIScriptableRegion interface.
git-svn-id: svn://10.0.0.236/trunk@45162 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 21:54:33 +00:00
pinkerton%netscape.com
22973a932d fix QI lameness and use macros.
git-svn-id: svn://10.0.0.236/trunk@44539 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 22:04:02 +00:00
pinkerton%netscape.com
6eb3a21da9 IDL-ifying nsITransferable, nsIDragService, nsIDragSession, nsIFormatConverter.
git-svn-id: svn://10.0.0.236/trunk@44476 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 08:35:06 +00:00
pinkerton%netscape.com
aac003c882 remove InvokeDragSessionSingle.
git-svn-id: svn://10.0.0.236/trunk@43634 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 19:48:18 +00:00
rods%netscape.com
dcc4eb02da Changed special MULTI_MIME to be used by both classes
git-svn-id: svn://10.0.0.236/trunk@35444 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 14:26:23 +00:00
rods%netscape.com
fa7049446f Removed ddcomm.h, and put the macro SET_FORMATETC into nsClipboard.h, and then removed ddcomm.h from the src
git-svn-id: svn://10.0.0.236/trunk@34031 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 19:26:45 +00:00
pinkerton%netscape.com
ef9d28c245 updated to new multiple item d&d api's.
git-svn-id: svn://10.0.0.236/trunk@32706 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:08:21 +00:00
rods%netscape.com
089a8e7024 removed reference to nsIDataFlavor and merged nsITransferable and nsIGenericTransferable
git-svn-id: svn://10.0.0.236/trunk@31462 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 21:53:57 +00:00
warren%netscape.com
fe7d7e2e69 Fixed nsICollection (and Count in particular) to be xpidl friendly.
git-svn-id: svn://10.0.0.236/trunk@31413 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 04:56:04 +00:00
rods%netscape.com
d309aaf2fa Changed DragService and added nsDragSession
git-svn-id: svn://10.0.0.236/trunk@30719 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 19:55:00 +00:00
rods%netscape.com
f6e418a5ed Reworked for nsCOMPtr
git-svn-id: svn://10.0.0.236/trunk@28838 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 14:35:26 +00:00
rods%netscape.com
50c1d70717 Changed over to nsIGenericTransferable for setting transferables
Added Drag & Drag Support ifdef'ed out with NEW_DRAG_AND_DROP


git-svn-id: svn://10.0.0.236/trunk@27983 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 13:49:39 +00:00
rods%netscape.com
6f417b8deb addeditional support for Drag & Drop
git-svn-id: svn://10.0.0.236/trunk@26518 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 20:25:09 +00:00
rods%netscape.com
23ecb28bcb removed include of Transferable
git-svn-id: svn://10.0.0.236/trunk@25854 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 14:40:36 +00:00
rods%netscape.com
e9f3c1bd47 initial add
git-svn-id: svn://10.0.0.236/trunk@24841 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 15:37:34 +00:00