Commit Graph
403 Commits
Author SHA1 Message Date
Doug Turner 8fec9c6ba6 Merging with mozilla-central. Manually merged: content/canvas/src/nsCanvasRenderingContext2D.cpp ipc/ipdl/Makefile.in toolkit/toolkit-tiers.mk toolkit/xre/nsEmbedFunctions.cpp 2010-06-28 16:33:19 -07:00
Doug Turner 2f64431802 Merging with M-C.
Hand merged the following files:

U chrome/src/nsChromeRegistry.cpp
U chrome/src/nsChromeRegistry.h
U content/base/src/nsFrameLoader.cpp
U content/base/src/nsFrameLoader.h
U dom/src/geolocation/nsGeolocation.cpp
U dom/src/geolocation/nsGeolocation.h
U netwerk/build/Makefile.in
U netwerk/cookie/nsCookieService.cpp
U netwerk/cookie/nsCookieService.h
2010-06-07 13:38:02 -07:00
Alexander Surkov 0a6b10381a Bug 573706 - make frame based accessible creation more pellucid, r=davidb, sr=roc 2010-06-28 21:02:03 +09:00
Chris Jones 67b02de57a Merge mozilla-central 2010-04-16 01:34:35 -05:00
Olli Pettay ccc2475dac Bug 557398, Show (i)frames asynchronously, r=jst, sr=roc 2010-04-14 11:33:47 +03:00
Benjamin Smedberg 8fb5f5fe57 Merge mozilla-central into electrolysis 2010-02-09 11:39:28 -05:00
Benjamin Smedberg 63f0ddd424 Merge mozilla-central into electrolysis 2010-01-13 10:51:41 -05:00
Benjamin Smedberg e32d80a52f Merge mozilla-central to Electrolysis. 2010-01-05 13:18:08 -05:00
Benjamin Smedberg 6a7e36c143 Merge mozilla-central into electrolysis 2009-12-04 11:28:50 -05:00
Timothy Nikkel 8f03092c5e Bug 525751. When using a subdocument frame as a fallback for drawing canvas background color override the canvas frame check. r=roc a=roc 2009-12-01 02:49:53 -06:00
Benjamin Smedberg fcdf26ec5e Bug 523224 - nsFrameLoader::TryNewProcess crashes if reflow hasn't happened yet and created a view for our remote tab. Fix this by separating the process of creating the IFrameEmbedding and hooking up the view. IFrameEmbedding creation is analogous to creating a docshell, and we can hook up the view/widget hierarchy later.
* * *
imported patch fennelectrolysis-workihng
2009-10-28 16:41:46 -04:00
Benjamin Smedberg 58f4fa843c Bug 522352 - make nsSubDocumentFrame not assume as much about docshells: move all that into the frameloader, r=bz 2009-10-16 15:42:29 -04:00
Ben Turner 1eb8b4f3c8 Merge mozilla-central 2009-10-05 16:08:52 -07:00
Frederic Plourde ed7163c668 Bug 513990 - Add provisions to nsFrameLoader for reflow and resize events. r=bzbarsky 2009-10-05 07:52:19 -04:00
Robert O'Callahan f3b7e90c94 Bug 526394. Part 15: Convert various random chunks of layout code. r=mats 2009-09-03 16:26:00 +12:00
Timothy Nikkel cf8df651ca Bug 536926. If the subdocument view doesn't have a frame for painting, try looking for the old page's view to draw. r=roc 2010-01-27 22:12:31 -06:00
Mats Palmgren f82eedba5a Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX. b=512106 r=roc 2009-09-16 17:01:36 +02:00
Zack Weinberg b6fe8205dd Bug 497495 part 3: Add methods to every nsFrame subclass that expose the as-allocated identity of every frame object. Also some cleanups to the QueryFrame implementation. r=dbaron sr=roc 2009-09-12 17:49:24 +01:00
Benjamin Smedberg 84806c7777 Bug 522352 - make nsSubDocumentFrame not assume as much about docshells: move all that into the frameloader, r=bz (preparation and merge reduction for Electrolysis, where not all frameloaders have docshells) 2009-10-16 15:42:29 -04:00
Robert O'Callahan c4bc2bc5a8 Bug 511951. Don't hide the inner view of a subdocument frame's hidden view. r=dbaron 2009-08-24 22:18:19 -07:00
Jonathan Watt f5c7d20889 Bug 508179. Implement 'pointer-events:none;' for all elements. r=roc, r=dbaron. 2009-08-26 20:53:35 -07:00
Boris Zbarsky c95cebf89b Backed out changeset 4aa19414e651 (bug 488249) to fix test orange. 2009-08-24 20:51:57 -04:00
David Zbarsky 630c8fc41e Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Boris Zbarsky 49d5048a77 Bug 500882 part 5. Switch layout module to using the new GetPrimaryFrame API. r=roc 2009-12-24 16:20:06 -05:00
Boris Zbarsky 5724a5fa2e Bug 500882 part 2. Switch setting of primary frames to the new API; switch nsFrameManager::GetPrimaryFrameFor to the new API; remove resulting gobs of dead code. r=roc 2009-12-24 16:20:05 -05:00
fantasai f76a01be55 Bug 508473 part III: Pass destruction root to frame destruction methods r=bz sr=roc 2009-12-24 00:21:15 -05:00
Benjamin Smedberg 18e450f391 Electrolysis-plugin-only bookkeeping commit. 2009-12-15 20:33:05 -05:00
Daniel Holbert 559ec23af7 Bug 508692: Fix build warning - rename nsSubDocumentFrame method so it doesn't hide inherited method (s/GetMargin/GetMarginAttributes/) r=dbaron 2009-08-10 12:42:53 -07:00
Robert O'Callahan 3fd47b8d59 Bug 352093. Part 14: Make content IFRAMEs windowless. r=bzbarsky 2009-07-22 12:45:11 +12:00
Robert O'Callahan 8645bf4a36 Bug 352093. Part 12: Teach nsDocShell/nsDocumentViewer to deal with not having a widget 2009-07-22 12:45:10 +12:00
Timothy Nikkel 9ed46b25ee Bug 488242. Make iframes with semi-transparent backgrounds work correctly by painting all canvas background colors using a dedicated fallback background color display item. r+sr=roc 2009-07-04 21:30:59 +12:00
Timothy Nikkel 9316d948e3 Bug 493702. Paint subdocuments across iframe boundaries in print presentations when we don't have docshells. r=roc 2009-05-19 21:57:31 +12:00
Timothy Nikkel a290b322b4 Bug 492014. Wrap the display list for a subdocument in a wrapper which associates it all with the subdocument's owning element, so sorting-by-content doesn't try to reorder it. r=roc 2009-05-15 15:11:59 +12:00
Timothy Nikkel fc646aa4ca Bug 561981. Guard against nsFrameLoader::Show flushing and re-entering or destroying us. r=smaug 2010-05-28 14:34:50 -05:00
Daniel Holbert 9e76962785 Bug 490909: Remove old layout debugging code, patch #2: remove 'VerifyTree' & related code. r+sr=dbaron 2009-05-12 12:03:09 -07:00
tn 20348c4160 Bug 490376 - Crash [@ nsDisplayList::GetBottom]; r=roc 2009-04-30 12:07:18 +02:00
tn 1223893e4b Bug 485275. Display fallback background color for non-root documents as necessary. r+sr=roc 2009-04-25 20:19:23 +12:00
Dão Gottwald e2cf35ea6a Backout bug 485275 (changeset 996c11579453) because of test failures 2009-04-18 10:53:27 +02:00
tn 26562bff79 Bug 485275 - trunk displays svg transformed foreign object html differently then 1.9. r+sr=roc 2009-04-18 09:11:29 +02:00
Jeremy D. Lea 500e189d56 Bug 431634 - Part 1 - clean up header pollution; r+sr=roc 2009-04-01 13:59:02 -08:00
Gordon P. Hemsley e77c01135f Bug 476295. Remove unused prescontext local. r+sr=bzbarsky 2009-02-03 10:40:38 -05:00
Daniel Holbert 4946ba5d24 whitespace-only: fix bad parameter-indentation in nsSubDocumentFrame::Reflow 2009-01-21 22:52:54 -08:00
Jeremy Lea 3e1e90f73a Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint different types from nsRect/nsMargin/nsSize/nsPoint different types for better compile-type unit checking. r+sr=roc 2009-01-15 16:27:09 +13:00
David Zbarsky aadd6cf119 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Benjamin Smedberg 0f95227641 Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted

Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.

r+sr=roc

nsITextControlFrame didn't have an IID the first time around, but this wasn't a compile error because nsITextControlFrame::kFrameIID inherited from nsIFormControlFrame::kFrameIID. I've added a static analysis pass to verify the correct behavior, since I can't figure out a way to make the compiler do it.
2009-01-12 14:20:59 -05:00
Benjamin Smedberg 7a084ac404 Backed out changeset 4c4df6ed1b41 - Bug 396185 - Make nsIFrame not inherit from nsISupports due to mochitest failures... these appear to be crashes in nsGenericHTMLElement::GetEditorInternal. 2009-01-09 11:35:24 -05:00
Benjamin Smedberg 991a16d8bc Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted

Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.

r+sr=roc

This patch locally causes two REFTEST-UNEXPECTED-PASS for Bidi stuff. It's possible that I accidentally fixed a bug, but I'm not sure, so I'm going to wait for the tinderboxes to confirm my local results.
2008-11-05 14:25:30 -05:00
Boris Zbarsky 1a3fb7c430 Bug 284320. Remove the contentParentFrame hack in subdocument frames, along with the no-longer-used arg it used to be used for. r+sr=roc 2009-01-06 17:29:50 -05:00
Boris Zbarsky 370a4d698b Backed out changeset 4e7a2d27d636: relanding Bug 433616 part 2. Implement loading of external resource documents. r=jst, sr=roc 2008-10-04 13:00:09 -07:00
L. David Baron f1f9e98ea0 Backed out changeset c1f6a55626be (bug 433616, part 2) because it probably caused a Windows XP performance regression. 2008-09-30 09:51:26 -07:00