74 Commits

Author SHA1 Message Date
karlt+%karlt.net
c9519a7e12 Bug 430450 – vertical stripes in windowless plugins.
Snap to pixels and round dirty rect out. r+sr=roc a=ss


git-svn-id: svn://10.0.0.236/trunk@253609 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-15 04:57:17 +00:00
jst%mozilla.org
6a7d9644ab Fixing bug 430802 (and bug 405357). Prevent plugin instantiation code re-entrancy. r=jwatt@jwatt.org, sr=bzbarsky@mit.edu, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@251278 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-06 20:49:30 +00:00
jst%mozilla.org
ed52909cca Fixing bug 410946. Prevent plugins from being destroyed while there's code from those plugins on the stack. r+sr=bzbarsky@mit.edu, a=beltzner@mozilla.com
git-svn-id: svn://10.0.0.236/trunk@246771 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-29 02:06:00 +00:00
bzbarsky%mit.edu
286f59f40e Fix bug 402937 -- don't allow recursion into Instantiate(). r=biesi, sr=jst,
a=dsicore.


git-svn-id: svn://10.0.0.236/trunk@240354 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-03 22:09:00 +00:00
bzbarsky%mit.edu
469ba4e408 Don't show the plug-in view when it should actually be hidden. Bug 398213, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@237877 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-19 03:41:07 +00:00
cbiesinger%gmx.at
a3bf373def 391261 call SetWindow a second time after instantiating the plugin, like we used to do (fixes WMP 10)
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@232391 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-20 17:40:08 +00:00
sharparrow1%yahoo.com
d07774b6c6 Bug 3477743: plugin crash. patch by myself and Johnny Stenback, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@231980 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-13 20:49:35 +00:00
cbiesinger%gmx.at
71f3df1901 382378 call NotifyContentObjectWrapper after the plugin has been instantiated so that scriptable plugins work correctly
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@231354 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 21:15:05 +00:00
mconnor%steelgryphon.com
17ae1540da backing out bug 347743 due to major crasher in 386332
git-svn-id: svn://10.0.0.236/trunk@229010 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-29 17:25:41 +00:00
jst%mozilla.org
9a556ef409 Fixing bug 347743. Delay plugin destruction on windows to get it out of layout frame destruction. r+sr=roc@ocallahan.org
git-svn-id: svn://10.0.0.236/trunk@228910 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-28 00:15:12 +00:00
benjamin%smedbergs.us
7262cdad6d Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me
git-svn-id: svn://10.0.0.236/trunk@224885 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-23 14:22:04 +00:00
dbaron%dbaron.org
32d54152c9 Clean up IsFrameOfType methods to call their base class IsFrameOfType methods reliably. b=341326 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@220874 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-24 18:33:33 +00:00
dbaron%dbaron.org
1ca9f3f372 Bug 300030: Move intrinsic width computation out of nsIFrame::Reflow and into its own methods on nsIFrame. Replace reflow reasons, types, and commands with dirty bits/notifications. Thanks to bzbarsky for almost all of the HTML form controls (mozilla/layout/forms) changes, and many others for help testing and patching. For detailed commit logs, see REFLOW_YYYYMMDD_BRANCH, where YYYYMMDD is one of 20061031, 20060830, 20060603, 20060302, 20060119, 20051011, 20050804, 20050429, 20050315, 20050111, and 20041213.
git-svn-id: svn://10.0.0.236/trunk@216738 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 05:38:33 +00:00
darin%meer.net
42edf059cf landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
roc+%cs.cmu.edu
b6ebd9961d Bug 328926. Remove aPresContext parameter from nsIFrame::Destroy, nsIFrame::SetInitialChildList and nsIFrame::RemovedAsPrimaryFrame. patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@193976 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 00:16:29 +00:00
dbaron%dbaron.org
b258ce85ca Single line comments to describe files (helpful in LXR)
git-svn-id: svn://10.0.0.236/trunk@193203 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-29 18:29:03 +00:00
roc+%cs.cmu.edu
140fbb3377 Bug 330934. Set a nsIFrame's stylecontext in its constructor, to ensure that there's always one available for GetPresContext() to use even if Init hasn't been called. Patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@193022 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-26 21:30:36 +00:00
pavlov%pavlov.net
b5c7a440ef backing out roc's patch for bug 328926 due to crash running tests on vc8 machines.
git-svn-id: svn://10.0.0.236/trunk@192407 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 06:43:36 +00:00
roc+%cs.cmu.edu
6e36f2c733 Bug 328926. Remove aPresContext parameter from Destroy and SetInitialChildList. patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@192399 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 03:14:02 +00:00
roc+%cs.cmu.edu
38a9722e9f Bug 328926. Remove aPresContext from nsIFrame::Init and nsIFrame::DidSetStyleContext. r+sr=roc, patch by Marc Liddell
git-svn-id: svn://10.0.0.236/trunk@192085 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-09 18:55:21 +00:00
cbiesinger%web.de
0f9f9136d7 bug 322414
- clean up nsObjectFrame and remove unnecessary includes
- make the instanceowner hold an owning reference to the content node
- use GetOwnerDoc rather than GetCurrentDoc
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@188765 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-02 19:29:10 +00:00
roc+%cs.cmu.edu
df8627e29b Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others
git-svn-id: svn://10.0.0.236/trunk@188202 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 02:29:17 +00:00
cbiesinger%web.de
044af0619d bug 322052 remove now-unused mFullURL r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@186818 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-02 18:57:14 +00:00
dbaron%dbaron.org
aa2e44782f Make nsObjectFrame not be a container anymore. b=309532 r=biesi sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@186764 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-31 00:25:36 +00:00
cbiesinger%web.de
32c8a8358d Bug 309521
- add pseudo-classes for :-moz-type-unsupported and :-moz-has-handlerref (and a
  content state for the former)
  - make nsObjectLoadingContent return the right content state
- Add an XBL binding that gets instantiated for broken plugins
  - Make it themable
- Remove a lot of now-unused code in nsObjectFrame
- Fixes pluginfinder.
r+sr=bz, r=mconnor


git-svn-id: svn://10.0.0.236/trunk@186703 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-29 14:15:33 +00:00
cbiesinger%web.de
277c11ec77 bug 314679 remove some unused code from nsObjectFrame
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@183988 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 16:34:32 +00:00
cbiesinger%web.de
4510cfee8d bug 309706
- Add some logging to nsObjectLoadingContent
- Add a StopPlugin() method to nsIObjectFrame
  - Make use of that in PrepareInstanceOwner, so that loading a new plugin in
    the same frame works as expected
- Initialize <applet> and <embed> elements to eType_Loading, so that the type is
  only eType_Plugin if mURI and mContentType are valid

r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@183271 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-31 18:28:56 +00:00
cbiesinger%web.de
8eb2b61bb7 Bug 309529
Move logic from nsObjectFrame::Instantiate(const char*, nsIURI*) into
nsObjectLoadingContent.

Also, fixes ext-to-type mapping if the URI does not implement nsIURL.

r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@183238 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-29 12:56:44 +00:00
bzbarsky%mit.edu
84306ebd26 Remove no longer used code. Bug 312685, r=biesi, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@182426 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-17 23:06:16 +00:00
cbiesinger%web.de
054912c09e bug 1156
- Make object frames have no children
  - Make the frame constructor construct a subdocumentframe, object frame or
    image frame as appropriate
- start the load of <applet>, <embed> and <object> in content code
- fallback to alternate rendering correctly

NOTE: This checkin will break the plugin finder. This will be fixed soon.

r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@180762 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-21 19:14:30 +00:00
bzbarsky%mit.edu
9104cb9303 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


git-svn-id: svn://10.0.0.236/trunk@177914 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 22:52:48 +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
c6e67bf07f Bug 285996. Checking in update to nsObjectFrame.h. r+sr=dbaron,a=asa.
git-svn-id: svn://10.0.0.236/trunk@171846 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-07 04:34:46 +00:00
roc+%cs.cmu.edu
7021bee02b Bug 288117. Reland nsScrollBoxFrame removal. This will regress Tp a bit. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@171539 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-03 21:00:41 +00:00
dbaron%dbaron.org
f7e591cd27 Back out roc's checkin for bug 288117 to isolate performance regressions during tinderbox downtime.
git-svn-id: svn://10.0.0.236/trunk@171429 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-31 18:04:50 +00:00
roc+%cs.cmu.edu
a8e2e85779 Bug 288117. Fix up function name as dbaron requested.
git-svn-id: svn://10.0.0.236/trunk@171420 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-31 03:44:38 +00:00
roc+%cs.cmu.edu
edd9381478 Bug 288117. Eliminate nsScrollBoxFrame. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@171419 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-31 03:40:12 +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
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
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
cbiesinger%web.de
a8dbace73d 38447 layout,content,dom and xpwidget part: Implement Handling of URI Values on
CSS "cursor" Properties
for dom,layout,content: r+sr=bz
for widget: r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@167117 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-30 21:56:11 +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
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
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
gerv%gerv.net
2ac510b678 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155068 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:30:37 +00:00
dbaron%dbaron.org
e5ad15e520 Rename {nsIDocument,nsIDocumentObserver,nsIFrame}::ContentChanged to CharacterDataChanged, since that's the only thing it's used for. Replace its nsISupports* parameter with a PRBool, since we don't need to allocate an object to pass a boolean parameter. Remove some (but probably not all) unneeded implementations on frames whose content is never a text node. b=234960 r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@153040 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 21:38:31 +00:00
cbiesinger%web.de
1c0102020c Bug 233457 nsObjectFrame cleanup
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@152558 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-09 17:33:45 +00:00
uid502
e56ed2443c Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@148665 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-31 20:19:18 +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
bryner%netscape.com
112e4e9f44 Remove unused nsIFrame::Scrolled() and nsIViewObserver::Scrolled(). Bug 209088, r=dbaron, sr=roc.
git-svn-id: svn://10.0.0.236/trunk@143893 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-18 22:58:51 +00:00