71 Commits

Author SHA1 Message Date
enndeakin%sympatico.ca
5a6c918e40 Bug 403217 - cannot drag text containing certain characters, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@247128 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-05 21:18:14 +00:00
neil%parkwaycc.co.uk
60f8cf931f Bug 292607 Dragging preformatted text collapses whitespace r+sr=bz a=pavlov
git-svn-id: svn://10.0.0.236/trunk@236836 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-28 10:28:28 +00:00
jwalden%mit.edu
dda6ff3c99 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
Olli.Pettay%helsinki.fi
7a1f7182a1 Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@226373 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-14 09:13:09 +00:00
Olli.Pettay%helsinki.fi
74bedad7b0 backout Bug 363089
git-svn-id: svn://10.0.0.236/trunk@226300 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 13:34:12 +00:00
Olli.Pettay%helsinki.fi
174896a945 Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@226293 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 11:15:20 +00:00
bzbarsky%mit.edu
d2d337437c Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers of
GetShellAt(0) to using this API.  Bug 378780.  API introduction part by me,
r+sr=jst.  Mass-changes done by taras using squash, r+sr=me


git-svn-id: svn://10.0.0.236/trunk@225416 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 22:24:25 +00:00
enndeakin%sympatico.ca
1c4cf263de Bug 375681, use drag event names from what-wg spec, also implement new drag and dragend events, r=smaug,sr=roc
git-svn-id: svn://10.0.0.236/trunk@224430 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-12 04:37:41 +00:00
enndeakin%sympatico.ca
ae6cfb8b02 Bug 178513, support translucent drag feedback when dragging nodes and selections on Mac and GTK, r=vlad,josh,roc,sr=roc
git-svn-id: svn://10.0.0.236/trunk@222094 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-20 12:14:52 +00:00
Olli.Pettay%helsinki.fi
e9ed4c38ab Bug 369753, remove nsIXMLContent, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@219798 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-09 00:15:14 +00:00
cvshook%sicking.cc
ccd1d6884d Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
git-svn-id: svn://10.0.0.236/trunk@219151 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 00:06:41 +00:00
jwatt%jwatt.org
c08a026ac8 Fixing bug 334587. Unify event handling for links and fix various XLink bugs. r=olli.pettay@gmail.com, r=dbaron@mozilla.com, sr=bugmail@sicking.cc
git-svn-id: svn://10.0.0.236/trunk@217719 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-04 10:53:59 +00:00
bzbarsky%mit.edu
35553cc59b Make nsIDocumentEncoder::init scriptable. Bug 330517, patch by jpl24
<jlurz24@gmail.com>, r=bzbarsky, sr=sicking


git-svn-id: svn://10.0.0.236/trunk@195756 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-01 05:25:52 +00:00
bzbarsky%mit.edu
bf19ef708d Rename GetNodePrincipal to NodePrincipal. Bug 327246, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@195579 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 18:21:11 +00:00
bzbarsky%mit.edu
fed75ccda3 nsIDocumentEncoder should be IDL-ized. Bug 305710, patch by jpl24
<jlurz24@gmail.com>, r=sicking, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@192316 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-14 17:12:41 +00:00
martijn.martijn%gmail.com
5cce7ad339 Bug 324340 - ASSERTION: no extension: '!aExtension.IsEmpty()' when dragging image at news.google.com. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@191149 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-24 13:14:11 +00:00
cbiesinger%web.de
6322c04952 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 14:18:39 +00:00
bzbarsky%mit.edu
1510aacc39 Push up GetPrincipal to nsINode (as GetNodePrincipal). This way all nsINodes
(content, documents, attr nodes) can return their principal as needed.
Eliminate lazy allocation of principals in nsDocument.  Bug 324600, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@188770 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-02 20:02:34 +00:00
jst%mozilla.jstenback.com
895df6e6ca Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@185351 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-28 23:56:44 +00:00
peterv%propagandism.org
8c33ea74e1 Fix for bug 308328 (crash in [@ nsDocument::GetPrincipal] when closing browser). r/sr=bz.
git-svn-id: svn://10.0.0.236/trunk@182242 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-14 09:07:29 +00:00
peterv%propagandism.org
b64b04886f Fix for bug 306363 (Clean up nsContentUtils service getters). r/sr=bz.
git-svn-id: svn://10.0.0.236/trunk@179982 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-11 10:08:43 +00:00
jst%mozilla.jstenback.com
51c4c6b9c8 Fixing mistake in my earlier cleanup patch.
git-svn-id: svn://10.0.0.236/trunk@170847 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-17 19:43:34 +00:00
jst%mozilla.jstenback.com
17be0e9454 Whitespace and formatting cleanup to get some sort of consistency into this code.
git-svn-id: svn://10.0.0.236/trunk@170842 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-17 18:00:33 +00:00
jst%mozilla.jstenback.com
cfed5fdaed Fixing the remaining part of bug 285438 for Firefox. Do the appropriate security checks when drag n' dropping into Firefox. r=ben@bengoodger.com, sr=dveditz@cruzio.com
git-svn-id: svn://10.0.0.236/trunk@170841 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-17 17:40:55 +00:00
jst%mozilla.jstenback.com
eabf6cccbb Additional changes needed to fix bug 280947 (dragging of images whose extension doesn't map to the right mimetype on the client is broken). r=bzbarsky@mit.edu, sr=dveditz@cruzio.com
git-svn-id: svn://10.0.0.236/trunk@169413 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 19:18:20 +00:00
jst%mozilla.jstenback.com
422681bb2a Fixing bug 280947. Fix regression from bug 279945 that broke dragging images onto the client file system if the image URL didn't have a valid extension. r=bzbarsky@mit.edu, sr=dveditz@cruzio.com
git-svn-id: svn://10.0.0.236/trunk@168936 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-07 22:20:14 +00:00
jst%mozilla.jstenback.com
eddb05cf73 Fixing bug 279945. Prevent drag n' drop of images whose extensions don't map to image mimetypes. r=caillon@gmail.com, sr=dveditz@cruzio.com
git-svn-id: svn://10.0.0.236/trunk@168753 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-03 17:23:35 +00:00
bryner%brianryner.com
e1daca3ce3 Reduce do_GetService code bloat further by adding specialized assignment to nsCOMPtr and providing a version with no error pointer. Also make CallGetService work the same way as CallGetComponent does, as far as using frozen/non-frozen interface to service manager. Bug 264456, r=darin.
git-svn-id: svn://10.0.0.236/trunk@165757 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-24 22:48:45 +00:00
bryner%brianryner.com
865734bf2f Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
bzbarsky%mit.edu
03ab25ac1b Make sure to return something from this method so callers don't see garbage
return values.  Followup to bug 251775.


git-svn-id: svn://10.0.0.236/trunk@160140 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-30 16:07:07 +00:00
bzbarsky%mit.edu
8ea9ce4fb8 Remove some knowledge about drag-drop innards from nsFrame.cpp by refactoring
shared code into utility methods in nsContentUtils.  Use the new methods to fix up
nsContentAreaDragAndDrop to make it possible to drag image <objects> and image
inputs.  Bug 251775 and bug 244859, r=biesi, sr=jst


git-svn-id: svn://10.0.0.236/trunk@160120 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-30 06:04:57 +00:00
roc+%cs.cmu.edu
0b0fa89131 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
roc+%cs.cmu.edu
bdc7e5f59b Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
git-svn-id: svn://10.0.0.236/trunk@156785 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 22:15:22 +00:00
mkaply%us.ibm.com
f53a5ac1c5 #211438
r=bryner, sr=bzbarsky
Patch from Rich Walsh - fix misidentification of anchor containing text blocks as anchors during drag/drop


git-svn-id: svn://10.0.0.236/trunk@155385 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-23 13:52:50 +00:00
bzbarsky%mit.edu
8d20e2eacb Drag from one frame to another should not load anything, like most drags within
a single page.  Bug 53376, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@155317 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-22 03:16:18 +00:00
jst%mozilla.jstenback.com
803e4eb910 General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@151115 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 23:54:21 +00:00
bryner%brianryner.com
eeddf02bde deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@148257 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-22 06:09:48 +00:00
jst%mozilla.jstenback.com
ef67a47aab Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org.
git-svn-id: svn://10.0.0.236/trunk@147354 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-27 04:18:26 +00:00
bzbarsky%mit.edu
50802bdf22 Add nsIContent::GetBaseURL; get rid of similar functions on nsIXMLContent and
nsIHTMLContent.  Bug 209573, r=caillon, sr=jst.


git-svn-id: svn://10.0.0.236/trunk@144415 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-03 02:45:34 +00:00
jst%netscape.com
45f72e0474 Fixing one more part of bug 209699. Replace NS_Convert* with Copy/Append*. r=dwitte@stanford.edu, sr=alecf@flett.org.
git-svn-id: svn://10.0.0.236/trunk@144012 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-21 00:26:28 +00:00
kaie%netscape.com
fe47815320 Follow up patch to bug 183582.
This was requested in order to get sr= for the previous checkin.
I'm checking this in as a separate step, to make the real
logic change easier recognizable.

This checkin does not change any logic.
It only moves methods around in the file.

sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@143820 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 22:35:01 +00:00
kaie%netscape.com
11aebf1483 b=183582 HTML Drop does not provide contextual info
r=jfrancis sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@143818 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 22:26:07 +00:00
caillon%returnzero.com
0a6d1ae509 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@143683 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-13 20:10:01 +00:00
brade%netscape.com
23e0416edd api change to include event (similar to paste/drop hook); r=cmanske, sr=sfraser, a=asa
git-svn-id: svn://10.0.0.236/trunk@142273 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-09 18:26:47 +00:00
sfraser%netscape.com
ba0fb4a0dc Bug 193053: drag and drop-related changes to allow for the dragging and copying of image bits, and to allow dragging into the file system. r=pinkerton/brade, sr=bryner/bz.
git-svn-id: svn://10.0.0.236/trunk@141409 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-18 20:20:04 +00:00
brade%netscape.com
a74566cb5d removing printf from previous checkin
git-svn-id: svn://10.0.0.236/trunk@141314 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-17 14:24:55 +00:00
brade%netscape.com
d96a69dbe3 browser changes for drag/drop/copy/paste hooks (bug 197121) r=pinkerton sr=smfr
git-svn-id: svn://10.0.0.236/trunk@141308 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-17 13:23:34 +00:00
sfraser%netscape.com
561332ed47 Clean up nsContentAreaDragDrop::BuildDragData to fix dragging of unselected elements, dragging of <area> elements, and to prepare for putting native image data into drags. Part of changes in 193053, r=pinkerton, sr=kin.
git-svn-id: svn://10.0.0.236/trunk@141004 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-10 21:21:15 +00:00
bzbarsky%mit.edu
edee641761 rv is no longer used... (bug 83774)
git-svn-id: svn://10.0.0.236/trunk@139749 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 06:11:59 +00:00
bzbarsky%mit.edu
2fbc7d38bb Landing bug 83774 -- move image loading for <img>, <object>, <embed>, <input
type="image"> into the content nodes and out of nsImageFrame.  r=pavlov, sr=jst


git-svn-id: svn://10.0.0.236/trunk@139743 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 03:47:09 +00:00