Commit Graph

523 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
7c589f32e7 Bug 357736. Return the document widget as the plugin widget for windowless plugins, even when there's another enclosing widget, if the enclosing widget's origin is (0,0) with respect to the document, because it won't mess up coordinate systems in that case and avoids a Flash focus issue. Patch by Graham Sanderson, r+sr=roc, a=jay
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@217622 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-02 19:47:39 +00:00
sayrer%gmail.com
c77701af65 bug 348669. swap out nsCRT::free where necessary. r=timeless, sr=dbaron, a=schrep
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@209878 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-12 18:26:49 +00:00
dbaron%dbaron.org
ea740a9519 Use SetMEWToActualWidth when we set the MEW to the actual width. b=331684 r+sr=bzbarsky a=beltzner
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@207601 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-16 17:49:03 +00:00
roc+%cs.cmu.edu
71833bdb29 Bug 271442. Make windowless plugins relative to the inner widget, fixing event targeting problems. r+sr=roc, patch by Graham Sanderson
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@206782 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-07 23:20:29 +00:00
mrbkap%gmail.com
c559deaf12 Checking in the required patches for bug 321299 (again). This is the combined work of sicking, jst, and myself, a=dbaron
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@205017 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-28 01:00:57 +00:00
mrbkap%gmail.com
d86e2e964f Backing this patch out to fix smoketest blockers.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@203390 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-21 20:19:25 +00:00
mrbkap%gmail.com
783282fd69 Checking in the required patches for bug 321299. This is the combined work of sicking, jst, and myself, a=dbaron
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@203266 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-20 17:14:11 +00:00
bzbarsky%mit.edu
d768f9f333 Return null from GetPluginInstance without throwing if there's just no plugin.
Bug 344830, r=biesi, sr=jst, a=dbaron


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@203222 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-20 03:23:00 +00:00
vladimir%pobox.com
00d9c664e8 b=333613, update canvas on branch, r+sr=roc,a=shaver
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@196029 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-05 16:17:09 +00:00
bzbarsky%mit.edu
0c7705eec5 Fire the event after we've done everything else. Bug 311172, r+sr+branch181=jst
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@194944 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:45:05 +00:00
Olli.Pettay%helsinki.fi
64f19b2340 Bug 330710, Replace obsolete preventBubble/preventCapture with stopPropagation, a=mconnor
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@193803 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-07 08:12:30 +00:00
smfr%smfr.org
959db4a5df Fix Camino bug 183313: work around a Flash crasher in ActivateTSMDocument. Flash caches the active TSMDocument across focus/blur calls in order to restore the old TSMDocument (because we asked them to). The problem is that it can cache a TSMDocument that is about to be deleted, especially in Cocoa where the TSMDocument management is somewhat asynchronous. We work around this by always clearing the active TSMDocument before focussing a plugin, for Cocoa. r=mento, sr=pinkerton, a=mscott.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@182201 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-13 22:58:29 +00:00
joshmoz%gmail.com
4c81ccd613 make sure Mac plugins get SetWindow() called when the clip rect changes. This causes SetWindow() to get called for plugins in a tab which is hidden. Patch by Simon Fraser. b=298961 r=josh sr=jst a=mscott
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@181369 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-01 00:03:19 +00:00
brendan%mozilla.org
b0f7de3258 Branch version of patch for bug 305565 (r/sr=jst/bz, a=drivers).
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@179770 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-07 02:37:27 +00:00
bzbarsky%mit.edu
69792de2ae Make frames know whether they're leaves or not from the frame construction
point of view; use this in the frame constructor. Bug 265367, r+sr=dbaron, a=roc


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@179571 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-02 20:25:54 +00:00
jst%mozilla.jstenback.com
a9f668bc25 Followup changes to bzabarsky's review for bug 296639. Reviews pending, a=drivers@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@177635 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-12 04:11:00 +00:00
roc+%cs.cmu.edu
0034c8415c Bug 295527. nsObjectFrame child-size-setting-hack should use the content size, not the border-box size. r+sr=dbaron,a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@176398 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-21 17:40:03 +00:00
jst%mozilla.jstenback.com
863088201a Fixing bug 298725. Create the right type of elements even when the document is not a HTML document. r+sr=peterv@propagandism.org, a=benjamin@smedbergs.us
git-svn-id: svn://10.0.0.236/trunk@175373 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-30 01:30:34 +00:00
jst%mozilla.jstenback.com
01278a055f Fixing bug 277434. Make setting element.type on a plugin element (object or embed) set the 'type' attribute as well. r=bugmail@sicking.cc, sr=peterv@propagandism.org, a=benjamin@smedbergs.us
git-svn-id: svn://10.0.0.236/trunk@175372 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-30 01:23:12 +00:00
timeless%mozdev.org
b048e1083d Bug 292348 NewEmbededPluginStream misspelled
patch by pythonesque+bugzilla@gmail.com r=jst sr=jst a=asa


git-svn-id: svn://10.0.0.236/trunk@174323 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-08 23:42:15 +00:00
bzbarsky%mit.edu
828adec252 Don't hold a pointer to a destroyed frame if we fail to load the placeholder
image.  Bug 292257, r=jst, sr=dbaron, a=chofmann


git-svn-id: svn://10.0.0.236/trunk@173102 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-06 03:14:31 +00:00
cbiesinger%web.de
e64ebdba57 Bug 292114 InstantiateFullPagePlugin should take nsIURI*, not nsString&
r=jst sr=bz a=asa


git-svn-id: svn://10.0.0.236/trunk@172865 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-29 12:11:45 +00:00
jst%mozilla.jstenback.com
ebed1ee784 Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@172848 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 23:48:28 +00:00
roc+%cs.cmu.edu
b301051b39 Bug 282708. Position <object>'s view before creating its widget, to avoid flicker from creating it in the wrong position and then instantly moving it. r+sr=bzbarsky,a=asa
git-svn-id: svn://10.0.0.236/trunk@172840 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 22:17:40 +00:00
roc+%cs.cmu.edu
131435cb9a Bug 240276. Make nsHTMLScrollFrame be a regular HTML frame, not a box frame, so we don't have to go through box layout. It gets its own reflow implementation that handles min-max and lots of other good stuff. rs+sr=dbaron,a=asa
git-svn-id: svn://10.0.0.236/trunk@172836 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 21:57:22 +00:00
bzbarsky%mit.edu
e2e0f7bfab Remove unused aDeep args from AppendChildTo and InsertChildAt. Bug 289316,
r=sicking, sr=peterv, a=brendan


git-svn-id: svn://10.0.0.236/trunk@172410 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-18 22:58:35 +00:00
dbaron%dbaron.org
9ad89863ab Add assertion that warns when we're about to crash due to bug 136927. b=136927 r+sr=jst a=asa
git-svn-id: svn://10.0.0.236/trunk@172240 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-14 21:50:46 +00:00
roc+%cs.cmu.edu
c10d27a704 Bug 285996C. Ensure that object frames create the widget for their view correctly the first time, and don't let them try to create a widget again when there already is one. r+sr=dbaron,a=asa.
git-svn-id: svn://10.0.0.236/trunk@171843 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-07 03:59:02 +00:00
cbiesinger%web.de
5e93b18b6a fixing bustage
git-svn-id: svn://10.0.0.236/trunk@171756 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-06 00:42:41 +00:00
bzbarsky%mit.edu
2ed6c9fac8 Eliminate nsIContent::SetDocument/SetParent/SetBindingParent in favor of
BindToTree and UnbindFromTree methods.  Bug 286000, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@171749 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 23:54:35 +00:00
cbiesinger%web.de
489ecccbe5 279167 create elements in the correct namespace (None for HTML documents, XHTML
for XML documents)
patch by Frank Wein <bugzilla@mcsmurf.de> r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@171511 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-02 15:47:13 +00:00
timeless%mozdev.org
887df123a8 Bug 288587 crash while viewing Real videos
r=tor sr=tor


git-svn-id: svn://10.0.0.236/trunk@171457 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-01 16:41:55 +00:00
aaronleventhal%moonset.net
db0b88cf7a Bug 245349. Puzzle piece placeholder that says click here to download plugin is not focusable or accessible. r=bz, sr=jst
git-svn-id: svn://10.0.0.236/trunk@171414 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-31 01:38:04 +00:00
bzbarsky%mit.edu
9ad95bdc3a Add an IsFloatContainingBlock() method on nsIFrame, use this in the frame
constructor.  Make sure the div inside an <object> when we do our "we need a
plugin" thing has the space manager bit set.  Bug 283385, bug 285165, bug
286111.  r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@170874 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-18 04:13:05 +00:00
cbiesinger%web.de
9580eefb7c Bug 285171 Merge MIME type getting code in nsObjectFrame
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@170513 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-10 14:57:32 +00:00
jst%mozilla.jstenback.com
07f72886c9 Fixing bug 283531. Fix confusingly named argument to nsIEventStateManager::DispatchNewEvent() that has caused confusing event handling code (also fixed) to creap into the tree. r=bzbarsky@mit.edu, sr=bryner@brianryner.com
git-svn-id: svn://10.0.0.236/trunk@170153 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-04 02:01:54 +00:00
bzbarsky%mit.edu
1c1365dc03 Create a service that can be asked whether a given webnavigation (or a
"typical" webnavigation) supports loading of a certain MIME type.  Bug 283125,
r=biesi, sr=darin


git-svn-id: svn://10.0.0.236/trunk@169951 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-27 18:33:27 +00:00
bzbarsky%mit.edu
2bea98552c Remove prescontext args for some nsIFrame methods
(Append/Insert/Remove/ReplaceFrames) and for some methods in table land.  Patch
by Vidar Braut Haarr <bugmail@q1n.org>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@168894 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-07 01:58:25 +00:00
smfr%smfr.org
13d07288ac Fix bug 269832: crash when scrolling some plugins. Add null-check on mWidget in XP_MACOSX code. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@168741 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-03 05:31:42 +00:00
bzbarsky%mit.edu
193ff9051d Make non-<object>s not look at classid. Bug 276797, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@168498 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-29 04:39:54 +00:00
roc+%cs.cmu.edu
19c46ac733 Bug 261238. Make widget z-ordering a closer approximation to what CSS2 wants. Also make GTK2 actually implement widget z-ordering. r=bzbarsky,blizzard sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@168415 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-27 20:49:47 +00:00
bzbarsky%mit.edu
8489f8d24b Flush out reflows before processing invalidates and paint events. Fixes a
variety of flicker issues of various sorts, especially when we're not quite
keeping up with the rate of updates in DHTML or in editor.  Bug 244366 and
various dependencies, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@168044 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-20 03:39:09 +00:00
tor%cs.brown.edu
67e1e80fda Bug 277433 - plugin finder landing broke svg embed. r+sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@167471 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-10 05:56:13 +00:00
jst%mozilla.jstenback.com
4134face66 Landing the low-level code for using the plugin finder service from the aviary branch. Bug 244125 etc.
git-svn-id: svn://10.0.0.236/trunk@167276 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-05 00:21:06 +00:00
bzbarsky%mit.edu
e272c87dda Remove the long-deprecated nsIWebShell interface. Bug 273319, r=biesi, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@167223 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-03 22:51:17 +00:00
bmlk%gmx.de
e547c59f49 remove unused prescontext argument from GetOffsetFromView bug 276015 r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@167037 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-26 19:48:54 +00:00
neil%parkwaycc.co.uk
df2668e776 Don't use QueryInterface to get a scrollable view from a view b=258521 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@165693 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-24 00:19:21 +00:00
timeless%mozdev.org
4ea97b3413 Bug 269922 /Users/timeless/mozilla/layout/html/base/src/nsObjectFrame.cpp:3931: warning: `void ConvertTwipsToPixels(nsPresContext&, nsRect&, nsRect&)' defined but not used
r=bz sr=bz


git-svn-id: svn://10.0.0.236/trunk@165367 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-15 18:12:35 +00:00
tor%cs.brown.edu
d0993e942b Bug 240408 - allow SVG builds to handle SVG content in <html:embed> natively.
r=dbaron, sr=jst


git-svn-id: svn://10.0.0.236/trunk@165214 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-10 19:02:52 +00:00
neil%parkwaycc.co.uk
18c53f2f32 Bug 267302 Views should be created by the view manager r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@164914 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-04 15:06:50 +00:00