56 Commits

Author SHA1 Message Date
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
bzbarsky%mit.edu
a25c42a48c fix build warning.
git-svn-id: svn://10.0.0.236/trunk@141066 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-12 15:03:08 +00:00
bzbarsky%mit.edu
8afd2397cf Change nsObjectFrame reflow when showing an image or iframe to just reflow the kid and
use its desired size.  Change reflow when doing a plugin to properly look at
the mComputedHeight/Width instead of trying to (incorrectly) walk up the reflow
state chain.  Plus some nsCOMPtr love.  Bug 191246 and bug 196280,
r=peterlubczynski, sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@141056 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-12 04:55:07 +00:00
peterlubczynski%netscape.com
4996977d2f Fixing bug 129306, regression: can't hide plugins with a widget, r=roc+moz sr=bz
git-svn-id: svn://10.0.0.236/trunk@140975 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-10 17:22:24 +00:00
bryner%netscape.com
c44337949a Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@138129 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 00:32:13 +00:00
cbiesinger%web.de
90ae9cf43a 188586 r+sr=bz nsObjectFrame should use mime service
git-svn-id: svn://10.0.0.236/trunk@136322 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-14 21:59:05 +00:00
peterlubczynski%netscape.com
883ef02946 Fixing bug 173069, relative URLS with PLUGINSPAGE PLUGINURL
git-svn-id: svn://10.0.0.236/trunk@136176 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-10 21:48:56 +00:00
jgaunt%netscape.com
775b50b9ce bug 124448 Accessibility Support for Object/Embed tags
r=aaronl
sr=jst


git-svn-id: svn://10.0.0.236/trunk@121300 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 22:34:53 +00:00
peterlubczynski%netscape.com
db0df3ee8d Adding extra event call (WM_WINDOWPOSCHANGED) for windowless plugins on Windows so that they are updated with their position and bounds. Bug 135737, r=av, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@120569 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 20:46:22 +00:00
peterlubczynski%netscape.com
31c9c16dac Fixing HIDDEN attribute on EMBED tag and also removing support for it for APPLET tags. Bug 136456 r=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@118899 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 01:53:23 +00:00
peterlubczynski%netscape.com
96262761f0 Cleaning up dead code left from fix for bug 118721, patch by dbrittain@superscape.com (David Brittain), bug 132262 r=peterl, sr=attinasi, a=scc
git-svn-id: svn://10.0.0.236/trunk@117467 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 06:38:53 +00:00
peterlubczynski%netscape.com
461edc33ef Fixing cursor flicker with plugins, bug 118877 r=kmcclusk@netscape.com sr=beard
git-svn-id: svn://10.0.0.236/trunk@112918 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-26 00:39:43 +00:00
av%netscape.com
28999f2fd7 Bug 116108, correcting calculations for windowless plugin coordinates, r=peterl, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@111017 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-22 00:00:44 +00:00
karnaze%netscape.com
d8577654db bug 113424 - mechanism for percent height frames inside table cells to receive special height reflow. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@110006 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 14:51:12 +00:00
bzbarsky%mit.edu
068756d821 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@107987 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 01:33:42 +00:00
loadrunner%betak.net
24b2d56b7e bug 88155, Trunk & M094 crash [@ MSVCRT.DLL - ns4xPluginStreamListener::OnDataAvailable, nsPluginStreamListenerPeer::OnDataAvailable] - seg faults loading http://www.planetjulie.com/, r=av, peterl, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@104907 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 10:15:06 +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
karnaze%netscape.com
1540a4c12e bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@103193 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 12:35:19 +00:00
peterlubczynski%netscape.com
e88c276837 Implement plugin printing bug 27478 r=av,beard sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@103060 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 02:11:09 +00:00