Commit Graph

266 Commits

Author SHA1 Message Date
Timothy Nikkel
20d255fcc2 Bug 563878. Part 15. Fix GetOffsetTo callsites. r=mats 2010-07-18 21:23:48 -05:00
Ms2ger@gmail.com
91560b026e Bug 538362 - rename nsIDocument::GetPrimaryShell to nsIDocument::GetShell. r=smaug 2010-06-25 15:59:57 +02:00
Mitchell Field
0fd15d94da Bug 564950 - Make more use of mozilla::services, r=surkov, jst, neil, smontagu, roc, joshmoz, gavin, shaver 2010-05-14 18:24:41 +09:00
Boris Zbarsky
fb534f9674 Bug 562971. Include Element.h as mozilla/dom/Element.h and don't use 'using namespace' quite as much. r=jst 2010-05-05 14:18:05 -04:00
Boris Zbarsky
9c2ad4b2aa Bug 562688 part 4. Change GetRootContent and the like to return Elements. r=jst, sr=sicking 2010-04-30 09:12:05 -04:00
Neil Deakin
7be66d68d2 Bug 550878, cannot print child frames if window is not focused, r=neil, patch by arno renevier 2010-04-29 10:14:09 -04:00
Olli Pettay
5885f3d1d4 Bug 424000 - Crash [@ nsPrintEngine::ReflowPrintObject], r=roc 2010-04-19 01:17:41 +03:00
Craig Topper
8b8747d605 Bug 557416: Remove unnecessary includes and forward declarations of nsPresContext. r=roc 2010-04-10 16:10:12 -04:00
Craig Topper
25d5518e18 Bug 557416: Remove unnecessary includes and forward declarations of nsIPresShell. r=roc 2010-04-10 16:09:38 -04:00
Daniel Holbert
d509dc0e16 Bug 551298, patch B: Replace uses of THEBES_INLINE_DECL_REFCOUNTING with NS_INLINE_DECL_REFCOUNTING. r=roc 2010-04-01 11:05:40 -07:00
Daniel Holbert
605900c19f Backed out changeset 29bc09de2f77 (Bug 551298) due to Linux debug mochitest-5 orange 2010-04-01 09:38:53 -07:00
Daniel Holbert
f670acaa95 Bug 551298, patch B: Replace uses of THEBES_INLINE_DECL_REFCOUNTING with NS_INLINE_DECL_REFCOUNTING. r=roc 2010-04-01 08:08:51 -07:00
Craig Topper
fd9001c409 Bug 554253 - Convert nsCOMPtr<nsPresContext> to nsRefPtr<nsPresContext>. r=roc
--HG--
extra : rebase_source : d828daca07188864d055f3d1a72f5217632eb358
2010-03-25 14:17:11 +01:00
Craig Topper
3d7073c4a5 Bug 253889: DeCOMtaminate nsIPresShell r=roc 2010-03-20 17:54:19 -04:00
Olli Pettay
7c78ce23a9 Bug 539060 - Crash [@ do_QueryFrame::operator<nsIPageSequenceFrame> nsIPageSequenceFrame*() ] in print preview , r=roc
--HG--
extra : rebase_source : 246c540277da95dbc670bcfc899dc9f9796f603e
2010-01-25 13:15:25 +02:00
Olli Pettay
5d51f6e3ae Bug 539645 - Print preview does not match what prints on animated images, r=roc 2010-01-18 14:39:34 +02:00
Robert O'Callahan
cff7965f83 Bug 526394. Part 15: Convert various random chunks of layout code. r=mats 2009-09-03 16:26:00 +12:00
Simon Montagu
7d6e3f5400 Unescape URIs in page headers. Bug 537216, r=roc 2010-01-05 23:09:18 -08:00
Boris Zbarsky
8b56c4f81d Bug 500882 part 5. Switch layout module to using the new GetPrimaryFrame API. r=roc 2009-12-24 16:20:06 -05:00
Olli Pettay
96f3c9cd42 Bug 535794 - Shorter printPageDelay, r=roc 2009-12-19 12:32:53 +02:00
Olli Pettay
3ed6a2c84c Bug 534407 - Crash [@ nsPrintEngine::DoPrint(nsPrintObject*)] while printing, r=roc
--HG--
extra : rebase_source : 2dfe04469e14c8dc6903f5284daf2a36fa9d723d
2009-12-16 00:17:57 +02:00
Olli Pettay
423522c88b Bug 487667 - Clone documents for printing, r=roc+jst+joe+dbaron
--HG--
extra : rebase_source : dbab242066ba97c0d7f34a2fb701a1c465f26ec4
2009-12-10 20:02:13 -08:00
David Zbarsky
3d96b7b4a7 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Mats Palmgren
dea07412a1 Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX. b=512106 r=roc 2009-09-16 17:01:36 +02:00
Olli Pettay
54ee98bc91 Bug 511883 - window.print() doesn't work from inside a frame, r=roc
--HG--
extra : rebase_source : 1e82eedf7b3c49f249800aa919b06c43270091f0
2009-09-09 16:53:06 +03:00
Neil Deakin
0beee44e9d Bug 508477, add a flag to distinguish key focus navigation from other types of focus navigation, allows initial focused textboxes in a dialog to be selected by default, r=smaug 2009-08-26 09:19:41 -07:00
Benjamin Smedberg
ba372f3a4c Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Boris Zbarsky
8f435d226b Backed out changeset 4aa19414e651 (bug 488249) to fix test orange.
--HG--
extra : rebase_source : ae1c0155ec32b0887eff27ded77c6ba2b37dda64
2009-08-24 20:51:57 -04:00
David Zbarsky
0aa6350041 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Olli Pettay
68c7971972 Bug 510465 - Initial zoom level of print preview depends on the zoom level of galley presentation, r=roc 2009-08-24 12:55:28 +03:00
Zack Weinberg
430c5ceb95 Bug 510651: Fold nsIFrameDebug into nsFrame. r=dbaron sr=mrbkap 2009-08-20 14:52:48 -07:00
Robert O'Callahan
16f8bf9ac4 Bug 339548. Part 2: Introduce nsRootPresContext. 2009-07-22 12:44:54 +12:00
Neil Deakin
15df29db77 Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE) 2009-06-10 14:00:39 -04:00
Timothy Nikkel
6724ca0012 Bug 491848. Ensure scripts are blocked during frame destruction. Also, don't dispatch paint events during a synchronous plugin message. r=roc 2009-05-15 15:08:41 +12:00
Mats Palmgren
e847fb240e Don't require a view for non-SubDocumentFrame frames. b=415327 r+sr=roc 2009-03-30 18:15:52 +02:00
Olli Pettay
04166a178f Bug 424377, r+sr=roc 2009-03-10 21:30:50 +02:00
L. David Baron
cb6012ec82 Remove nsStyleContext::DumpRegressionData, code that uses it, and code that exists only for it. (Bug 477522) r+sr=bzbarsky 2009-02-09 20:36:54 -08:00
Arpad Borsos
c0f2dadc80 Bug 474369 - get rid of nsVoidArray; layout part; r+sr=roc 2009-02-03 15:42:18 +01:00
Martijn Wargers
c2af1ac3b7 Bug 428013 - crash [@ nsPrintEngine::DocumentReadyForPrinting() ] when page is drag&drop to Print Preview window after printing, r=sharparrow1, sr=roc 2009-01-22 16:36:25 +01:00
Olli Pettay
b2d23e878d Bug 422294 - Crash [@ nsHTMLContainerFrame::CreateViewForFrame] on print preview, r+sr=roc 2009-01-15 16:24:40 +02:00
Jeremy Lea
ce80f69254 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
--HG--
extra : rebase_source : a331a9e49fbc5931f546919281fcca7f008ab615
2009-01-15 16:27:09 +13:00
Benjamin Smedberg
3498a5f86e 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.

--HG--
extra : rebase_source : 4894a2ca0278e2ab92f27459db77165f8348cf41
2009-01-12 14:20:59 -05:00
Benjamin Smedberg
73a6fab34b 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
802d1a10c7 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
Robert O'Callahan
a39e457b50 Backing out bug 448830 2008-09-28 23:13:58 +13:00
Jeremy Lea
4527d5d1a8 Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint their own types so that we can catch errors by distinguishing pixels from appunits. r+sr=roc 2008-09-28 20:38:34 +13:00
Olli Pettay
925283111e Bug 433132, Running mochitest for bug 396024 still leaks r+sr=roc 2008-09-26 12:51:42 +03:00
Robert O'Callahan
5dbf5690ac Backing out bug 448830 2008-09-26 13:10:26 +12:00
Jeremy Lea
7261376c29 Bug 448830. Make nsIntRect/nsIntSize/nsIntPoint/nsIntMargin separate types so we get appunit vs pixel typechecking. r+sr=roc 2008-09-26 10:42:19 +12:00
Arpad Borsos
ed2268548d Bug 454475 - Fix "unhandled enumeration value" warnings in layout/; r+sr=roc 2008-09-16 13:25:35 +02:00