Commit Graph

299 Commits

Author SHA1 Message Date
Timothy Nikkel
25c0749345 Bug 588337. When looking for a container view try a little harder to find the parent document's presshell. r=roc 2010-08-21 19:55:55 -05:00
Chris Jones
6616076b0a Bug 582057, part i: Use nsIWidget::CreateChild in nsIView::CreateWidget* (where possible). r=roc a=blocking-fennecb1 2010-08-20 14:29:02 -05:00
Chris Jones
26435d9035 Bug 582057, part g: Split nsIView::CreateWidget into CreateWidget, CreateWidgetForParent, and CreateWidgetForPopup in preparation of eliminating IIDs here. sr=roc 2010-08-20 14:29:02 -05:00
Robert O'Callahan
06241c1e45 Bug 585817. Part 2: Change nsIPresShell::CreateRenderingContext to GetReferenceRenderingContext, that uses the shared 1x1 surface, and use it all over the place. r=mats,sr=dbaron 2010-08-20 14:29:01 -05:00
Chris Jones
921ef38edc Backed out changeset 7b3726c3a580 2010-08-19 19:04:08 -05:00
Robert O'Callahan
210184cb84 Bug 585817. Part 2: Change nsIPresShell::CreateRenderingContext to GetReferenceRenderingContext, that uses the shared 1x1 surface, and use it all over the place. r=mats,sr=dbaron 2010-08-19 13:49:35 -05:00
Robert O'Callahan
20c2a19d6a Bug 537890. Part 10: Fix nsPresContext and nsIDeviceContext unit-conversion methods to be explicit about using CSS logical units instead of physical units. r=dbaron 2010-08-13 21:58:04 +12:00
Boris Zbarsky
d9188b16ef Bug 577607 part 1. Make sure resource documents don't have presshells when their display document doesn't. r=roc 2010-08-11 17:05:26 -04:00
Neil Deakin
b698859822 Bug 585841 - Right click, 'copy link location' no longer works
r=Neil
a=blocking2.0
a=sheriff for landing
2010-08-10 13:55:31 -07:00
Neil Deakin
fb66fae998 Bug 383930/552341, allow usage of a property on popups instead of using document.popupNode, should fix leak of popupNode, r=neil,sr=roc 2010-08-09 12:17:19 -04:00
Timothy Nikkel
f7b17b72dc Backed out changeset 86e8ec17e532 (bug 584193). 2010-08-08 16:58:40 -05:00
Robert O'Callahan
e14c5ee113 Bug 584193. Allow print preview to work without its own widget. r=smaug 2010-08-08 13:49:07 -05:00
Jim Mathies
f0c2ed6fd9 Bug 579421 - Title bar(window without body) appears at the upper left corner of monitor screen. r=roc. (CLOSED TREE) 2010-08-03 22:36:19 -07:00
Zack Weinberg
76dbdde0f4 Bug 569719 part 2: Move headers for the former nsCSSLoader and nsCSSDeclaration into mozilla/css/. r=dbaron
--HG--
rename : layout/style/nsCSSDeclaration.cpp => layout/style/Declaration.cpp
rename : layout/style/nsCSSDeclaration.h => layout/style/Declaration.h
rename : layout/style/nsCSSLoader.cpp => layout/style/Loader.cpp
rename : layout/style/nsCSSLoader.h => layout/style/Loader.h
2010-06-28 15:49:35 -07:00
Jim Mathies
40cf61b306 merge 2010-07-15 21:47:52 -05:00
Jim Mathies
f529587759 Backing out 'Call Show if our nsIXULWindow will not' patch from bug 574690 due to various regressions. r=bz 2010-07-15 21:47:14 -05:00
Bas Schouten
998523d4ec Bug 574690: Don't have DocumentViewer call show on its window if the XULWindow will do this once it's done loading chrome. r=roc 2010-06-28 06:24:52 +02:00
Ms2ger@gmail.com
a4005e2fd1 Bug 538362 - rename nsIDocument::GetPrimaryShell to nsIDocument::GetShell. r=smaug 2010-06-25 15:59:57 +02:00
Jim Mathies
f8e5ddc599 Bug 513162 - Document viewer to widget glue. r=bz. 2010-06-24 21:01:06 -05:00
Saint Wesonga
e7a357dcaf Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-05 11:42:18 +02:00
Dão Gottwald
9b15b69a1b Backed out changeset 59ace8d80ce8 2010-07-04 22:01:13 +02:00
Saint Wesonga
8dd5da1024 Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-04 21:39:17 +02:00
Dão Gottwald
b314909c2e Backed out changeset db6f8068e9a5 2010-06-29 17:49:21 +02:00
Saint Wesonga
c3669d7e9c Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedgerg 2010-06-29 17:14:36 +02:00
Timothy Nikkel
c8a479d28b Bug 559996. Lazy frame construction can sometimes cause a subdocument to not scroll to ref in url. r=jst 2010-05-11 19:30:40 -05:00
Timothy Nikkel
b5603935b7 Backed out changeset a6138098775f (bug 559996) for causing orange. 2010-05-11 21:24:02 -05:00
Timothy Nikkel
c3b2bfbc56 Bug 559996. Lazy frame construction can sometimes cause a subdocument to not scroll to ref in url. r=jst 2010-05-11 19:30:40 -05:00
Craig Topper
cb8187eff9 Remove nsICSSStyleSheet and replace all uses with nsCSSStyleSheet. (Bug 239008) r=dbaron 2010-05-11 13:41:47 -07:00
Craig Topper
da6721cdc6 DeCOMtaminate CSSStyleSheet method signatures. (Bug 239008) r=dbaron 2010-05-11 13:41:47 -07:00
Jonas Sicking
26eb9625c3 Bug 562791: Add NS_TIME_FUNCTION and friends to content code. r=jst 2010-04-30 12:40:59 -07:00
Boris Zbarsky
04027a9479 Bug 562688 part 4. Change GetRootContent and the like to return Elements. r=jst, sr=sicking 2010-04-30 09:12:05 -04:00
Vivien Nicolas
04460c2244 Bug 403266 - usechromesheets attribute does not work if there is no userContent.css in the profile. r=dbaron 2010-04-29 10:37:27 +02:00
Olli Pettay
01a9ced651 Bug 553924 - Crash [@ nsDocumentViewer.cpp], r=jlebar 2010-03-29 01:47:54 +03:00
Craig Topper
c3fc5fa456 Bug 554253 - Convert nsCOMPtr<nsPresContext> to nsRefPtr<nsPresContext>. r=roc
--HG--
extra : rebase_source : d828daca07188864d055f3d1a72f5217632eb358
2010-03-25 14:17:11 +01:00
Olli Pettay
37a0a9ddb2 Bug 534478, prevent assertions caused by reftest pagemode, r=dbaron
--HG--
extra : rebase_source : c2bec911560c952009783a83a93ced887447937d
2010-03-22 16:24:18 +02:00
Olli Pettay
5c4b5b4c2a Bug 553927 - DocumentViewerImpl::PageHide shouldn't use NS_ERROR for a valid case, r=roc 2010-03-22 00:06:12 +02:00
Craig Topper
a956b85435 Bug 253889: DeCOMtaminate nsIPresShell r=roc 2010-03-20 17:54:19 -04:00
Neil Deakin
8f3acb3041 Bug 501154, consolidate places where clipboard events are fired from, r=smaug,sr=neil 2010-03-19 14:32:13 -04:00
Jonas Sicking
986107fb30 Bug 549452: Clean up nsGlobalWindow::SetNewDocument. r=mrbkap sr=jst
--HG--
extra : rebase_source : 1e13da2a339089ccf17b8cf9f41d59e188aa8165
2010-03-12 16:59:18 -08:00
timeless@mozdev.org
ac96cb0502 Bug 549251 crash [@ DocumentViewerImpl::SetIsPrintingInDocShellTree]
r=smaug

--HG--
extra : rebase_source : 3e2cb7701aade9ac5ee668626ca3a89b10b02979
2010-03-12 07:50:10 +01:00
Robert O'Callahan
de8fd32344 Bug 532569. Support 'transparent' attribute on XUL IFRAMEs to integrate content documents into the chrome rendering hierarchy, with their background defaulting to transparent. r=mats,sr=bz 2010-03-05 11:52:59 +13:00
Olli Pettay
83b813bb98 Bug 549566, clean-up beforeunload message, r=sicking
--HG--
extra : rebase_source : 5abe27de295f9285b926f105d7ec317ebe1503ff
2010-03-03 14:41:57 +02:00
Zack Weinberg
2c3e543d1d Bug 544112 part 2: DeCOMtaminate and devirtualize nsCSSLoader. r=bzbarsky sr=dbaron
--HG--
rename : layout/style/nsICSSLoader.h => layout/style/nsCSSLoader.h
2010-03-02 13:00:53 -08:00
Jonas Sicking
28396b7d9c Bug 545059: Remove unneeded/non-working bidi.controlstextmode pref. r=smontagu 2010-02-24 21:58:17 -08:00
Robert O'Callahan
2725baa79a Bug 529263. Allow content IFRAMEs in chrome IFRAMEs to not be hooked into the view manager hierarchy. r=bz
--HG--
extra : rebase_source : a7e053e408bb176fc9df068f52157e886b0554b1
2010-02-24 11:16:18 -08:00
Neil Deakin
65465d8068 Bug 528491, combine nsFocusController and nsWindowRoot, r=jst,sr=smaug 2010-02-20 11:07:03 -05:00
Timothy Nikkel
92355591c8 Bug 545593. Remove nsViewManager::Enable/DisableRefresh. r=roc 2010-02-18 13:23:23 -06:00
Timothy Nikkel
53fe3ff52d Backed out changeset 93c7b23284b8 (Bug 545593) for causing Md oth failures on linux. 2010-02-12 16:46:04 -06:00
Timothy Nikkel
73241cb6bc Bug 545593. Remove nsViewManager::Enable/DisableRefresh. r=roc
--HG--
extra : rebase_source : 963053b0f3d5712308b53c665dddcedae08a2b21
2010-02-11 18:14:59 -06:00
Olli Pettay
f4ddb15f05 Bug 545330 - Crash [@ PresShell::Destroy] on exit after failed Print Preview of XUL document, r=mats 2010-02-11 13:02:38 +02:00
Justin Lebar
e730a1afc6 Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Daniel Holbert
46ba50b0cb Backed out changeset dc7a04be6904 on suspicion of causing bug 543034. 2010-01-29 18:50:46 -08:00
Justin Lebar
a827ba17fc Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Olli Pettay
bd950481d6 Bug 540462 - Move GetDocument from nsIDocumentViewer to nsIContentViewer, r=bz 2010-01-23 13:41:41 +02:00
Robert O'Callahan
4adad50c20 Bug 526394. Part 15: Convert various random chunks of layout code. r=mats 2009-09-03 16:26:00 +12:00
Olli Pettay
63fd91b1fa Bug 534226 - Remove support for multiple presshells, r=bz, sr=roc 2010-01-07 12:36:11 +02:00
Daniel Holbert
178307b6c0 Bug 535004: Check if we've fired an unload event before calling OnPageShow, in DocumentViewerImpl::LoadComplete. (Now without NS_ABORT_IF_FALSE, since other things can trigger it.) r=smaug 2009-12-26 15:11:04 -08:00
Olli Pettay
2f4c5ea761 Bug 487667 - Clone documents for printing, r=roc+jst+joe+dbaron
--HG--
extra : rebase_source : dbab242066ba97c0d7f34a2fb701a1c465f26ec4
2009-12-10 20:02:13 -08:00
Robert O'Callahan
a3f1f75383 Bug 528493. Prevent script execution while initializing nsDocumentViewer. r=bzbarsky 2009-11-19 12:40:31 +13:00
Robert O'Callahan
a3558ce3da Backed out changeset 93a0acf68dd6 2009-11-19 15:15:44 +13:00
Robert O'Callahan
5fa533b23e Bug 528493. Prevent script execution while initializing nsDocumentViewer. r=bzbarsky 2009-11-19 12:40:31 +13:00
Daniel Holbert
e4ce6855cc Bug 525153: In DocumentViewerImpl::LoadComplete, don't call OnPageShow if docshell is being destroyed. r=smaug sr=bz 2009-10-31 17:06:47 -07:00
Jaakko Kiviluoto
53ba8a7707 Bug 523333. nsContentUtils::HidePopupsInDocument() does not check for null nsIDocument argument properly. r=enndeakin 2009-10-23 16:24:47 -04:00
Nochum Sossonko
14e32bd632 Bug 498648 - Start private browsing while editing a message, cancel, doesn't cancel private browsing; r=bz,jst,ehsan 2009-10-20 10:19:43 -04:00
Robert O'Callahan
754070307a Add logging code to help diagnose random failure 2009-10-16 12:10:27 +13:00
Mats Palmgren
948203eb7d Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX. b=512106 r=roc 2009-09-16 17:01:36 +02:00
Olli Pettay
8ba7e855e6 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
Robert O'Callahan
02bbe8dd79 Bug 507926. Make sure CreateWindowEx doesn't fail when we're creating an invisible window. r=jmathies 2009-08-25 12:00:46 -07:00
Olli Pettay
a58a91a479 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
2cd31f70f9 Bug 510651: Fold nsIFrameDebug into nsFrame. r=dbaron sr=mrbkap 2009-08-20 14:52:48 -07:00
Mats Palmgren
ad55d4621d Backout bug 506349 since it caused a test failure. 2009-08-19 04:24:29 +02:00
Mats Palmgren
5619fdf1b7 Flush the sink before zooming (restyle processing). b=506349 r=bzbarsky 2009-08-19 03:10:07 +02:00
Timothy Nikkel
68367486ce Bug 503791. Make sure that the device context has a widget so that it can determine what screen it is on. r=dbaron 2009-08-17 20:21:07 -07:00
Robert O'Callahan
d520aa9f3f Bug 352093. Part 12: Teach nsDocShell/nsDocumentViewer to deal with not having a widget 2009-07-22 12:45:10 +12:00
Robert O'Callahan
0d1716c268 Bug 339548. Part 2: Introduce nsRootPresContext. 2009-07-22 12:44:54 +12:00
Robert O'Callahan
6da4194f20 Bug 339548. Part 1: Factor out FindContainerView. 2009-07-22 12:44:53 +12:00
Olli Pettay
f1f141152f Bug 496000 - Remove nsBeforePageUnloadEvent, r+sr=jst
--HG--
extra : rebase_source : 0288c06ade3ef23641bb2fe9a33143e865d90217
2009-06-24 11:42:00 +03:00
Markus Stange
f9eb685a64 Bug 495920 - nsThebesDeviceContext shouldn't have a reference to a native widget. r=masayuki, sr=roc 2009-06-11 11:24:41 +02:00
Neil Deakin
79321ef1f8 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
13f0179fd9 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
Boris Zbarsky
64b2d5e1bf Bug 490957. Eliminate nsWebShell. r+sr=bsmedberg 2009-05-07 15:21:53 -04:00
Masayuki Nakano
d9f91d6288 Bug 482928 All menus, context menus, panels, etc, appear on primary display/screen/monitor when Firefox is on secondary r=smichaud+roc+jmathies, sr=vlad 2009-04-10 19:43:19 +09:00
Olli Pettay
68a0322fcd Bug 478245 - Crash [@ nsEventStateManager::PreHandleEvent], r+sr=dbaron 2009-03-11 17:43:08 +02:00
Olli Pettay
468b832900 Bug 425265, r=roc, sr=bz 2009-03-08 21:01:02 +02:00
Olli Pettay
2219417624 Bug 333198 - Suppress Input events for web content during synchronous XMLHttpRequest loads, r=bz, sr=jst 2009-03-03 22:11:14 +02:00
Olli Pettay
cb57be346c backout 333198 2009-03-02 22:21:46 +02:00
Asaf Romano
fe4d91cd12 Bug 480149 - DOMLinkAdded and DOMLinkRemoved events for link elements should be dispatched when swapping docshells. r+sr=bz. 2009-02-26 14:05:42 -08:00
Olli Pettay
e6f01244a1 Bug 333198 - 'Suppress Input events for web content during synchronous XMLHttpRequest loads'. r=bz, sr=jst, a=blocking1.9.1+ 2009-02-26 14:00:30 -08:00
XiaoXiaoHU
692da049fc Bug 298889 - iframe invisible when window is transparent; r+sr=roc 2009-02-24 17:53:32 +01:00
Zack Weinberg
558a5863e2 Bug 478079 - Kill nsViewManager::DefaultRefresh, and move the cached canvas background to the pres shell; r+sr=roc 2009-02-23 02:10:23 +01:00
Neil Rashbrook
2b7a424a9b Bug 475344 Need a cancellation code to indicate successful load from cache r+sr=bz 2009-02-16 11:27:22 +00:00
Peter Van der Beken
78527f8037 Fix for bug 471126 (leak content nodes (and sometimes dom windows) after clicking on nytimes.com articles). r=bent, sr=bz. 2009-01-14 13:24:10 +01:00
Peter Van der Beken
0d3a840f21 Fix for bug 473773 (DocumentViewerImpl::InitPresentationStuff can reenter). r=roc, sr=bz. 2009-01-18 16:21:26 +01:00
Daniel Holbert
7b43e76e0a Fix typo & linewrapping in a comment within nsDocumentViewer.cpp (to trigger unittest builds) 2009-01-16 17:35:19 -08:00
Jeremy Lea
1800930122 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
Peter Van der Beken
84d3eabc50 Back out changeset 9fd8740decb8 (Fix for bug 471126 (leak content nodes (and sometimes dom windows) after clicking on nytimes.com articles).) to try to fix orange. 2009-01-14 15:12:37 +01:00
Peter Van der Beken
4189af9d67 Fix for bug 471126 (leak content nodes (and sometimes dom windows) after clicking on nytimes.com articles). r=bent, sr=bz. 2009-01-14 13:24:10 +01:00
Dan Fabulich
b3132f8800 b=347174, implement document.readystate == 'complete'; r=sicking 2009-01-09 09:12:09 -08:00
Benjamin Smedberg
24e7cb1f78 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
50621e4f9f 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
d0b948876f 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
Olli Pettay
28242cb1ae Bug 461994 - Crash [@ DocumentViewerImpl::Close] with reloading, r+sr=bz 2008-12-20 01:45:56 +02:00
Neil Deakin
368d82a815 Bug 393575, change nsIMenuParent to nsMenuParent, r+sr=bz
--HG--
rename : layout/xul/base/src/nsIMenuParent.h => layout/xul/base/src/nsMenuParent.h
2008-12-05 11:37:31 -05:00
Graeme McCutcheon
db7058c5de Bug 215405. Restore scroll position, but not form state, on no-store and SSL no-cache sites. r+sr=bzbarsky 2008-12-03 12:55:14 -05:00
Boris Zbarsky
127c0998fe Bug 445004. Make the base and document URI of document.written documents be the base and document URI of the document on whose current context our code is running. r+sr=jst, r=dcamp 2008-11-18 17:54:36 -05:00
Markus Stange
7a9f82ce7e Bug 462793 - Changing listbox selection with keyboard no longer scrolls to make the newly selected item visible, r+sr=roc 2008-11-04 15:38:16 +01:00
Boris Zbarsky
17950b40a6 Fixing merge; no idea where that came from 2008-11-02 21:34:00 -05:00
Boris Zbarsky
644555dba0 Adding test file too 2008-11-02 21:33:04 -05:00
Boris Zbarsky
70c50466ec Bug 454578. Load the quirk stylesheet separately from the general UA stylesheet, so it can be sensibly enabled/disabled in style sets. r+sr=dbaron 2008-11-02 21:29:51 -05:00
Arpad Borsos
3585c944f1 Bug 456388 - "Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree" (followup for mozilla-central) [r+sr=brendan] 2008-10-21 01:50:05 -05:00
Arpad Borsos
8b11d938d2 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Boris Zbarsky
f819f89b7d 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
ba09bf22bc 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
Robert O'Callahan
016f579354 Relanding bug 433616 part 2 to see if it's the cause of a Tp regression 2008-09-30 14:45:02 +13:00
Boris Zbarsky
9773c6fcb3 Backing our changeset 60fc5f224a5b to try to fix Mac Tp 2008-09-29 14:28:15 -04:00
Boris Zbarsky
d674c8ca02 Bug 433616 part 1. Make it possible to create a document viewer with no parent widget or container, and make various code saner about handling null document/prescontext/documentviewer containers. r=roc, sr=jst 2008-09-28 15:14:28 -04:00
Boris Zbarsky
012ae72fd1 Backing out changesets 2ea77fa990af, 7d2d8869e73c, 93441e4f521e, 43d2ee100f3b, a2d84821ea71 to see whether they're causing the Windows Txul or Mac Tp regressions 2008-09-29 08:51:29 -04:00
Boris Zbarsky
f15bf80fc3 Bug 433616 part 2. Implement loading of external resource documents. r=jst, sr=roc 2008-09-28 15:15:22 -04:00
Boris Zbarsky
10026a0921 Bug 433616 part 1. Make it possible to create a document viewer with no parent widget or container, and make various code saner about handling null document/prescontext/documentviewer containers. r=roc, sr=jst 2008-09-28 15:14:28 -04:00
Andrew Schultz
b44d8f8830 Bug 396519. Encapsulate content viewer eviction in session history. r+sr=bzbarsky 2008-09-28 14:53:34 -04:00
Robert O'Callahan
279af36fc7 Backing out bug 448830 2008-09-28 23:13:58 +13:00
Jeremy Lea
92e7030a42 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
af09f2f1f1 Bug 433132, Running mochitest for bug 396024 still leaks r+sr=roc 2008-09-26 12:51:42 +03:00
Robert O'Callahan
6a45b282aa Backing out bug 448830 2008-09-26 13:10:26 +12:00
Jeremy Lea
67f3afd13b 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
Robert Strong
70ff5e1e4b Backed out changeset ff043f7356f7 2008-09-11 14:54:40 -07:00
Andrew Schultz
c510ff9d02 Bug 396519. Encapsulate content viewer eviction in session history. r+sr=bzbarsky 2008-09-09 21:39:38 -04:00
Boris Zbarsky
19cbde2211 Bug 449781. Toggling display on a subframe shouldn't give the subframe's document the same device context as the parent document. r=roc, sr=jst 2008-08-18 15:22:19 -04:00
Andrzej Zaborowski
557bc969d3 Remove unimplemented DumpContentToPPM() member (bug 379015 leftover). r+sr=roc 2008-07-12 12:21:38 +02:00
roc+@cs.cmu.edu
271ffda39a Bug 433727. Make DocumentViewerImpl::GetFullZoom work when there's no presentation. r+sr=bzbarsky,a=beltzner 2008-05-26 15:03:11 -07:00
roc+@cs.cmu.edu
ab9c3d7c92 Bug 429172. Return the docshell's script global object as soon as the document's content viewer has been Closed(). r+sr=sicking,a=beltzner 2008-04-18 03:02:03 -07:00
roc+@cs.cmu.edu
f5291de857 Bug 426987. Split SaveState from nsIDocument::Destroy so that we don't do Destroy() while we're still displaying the document. r+sr=sicking,a=beltzner 2008-04-10 15:47:01 -07:00
roc+@cs.cmu.edu
299a099511 Bug 421432. Don't crash when we ScrollToAnchor after UnsuppressPainting tore down the document. r+sr=dbaron,a=beltzner 2008-04-10 15:42:03 -07:00
ajschult@verizon.net
5404181bc3 Bug 408355: Better fix for bug 396024 that doesn't leak (as much). r+sr=roc, a=beltzner 2008-04-08 22:24:13 -07:00
jonas@sicking.cc
da4cab3b75 Bug 401155: Make it safe to create a wrapper for an object at any time by making sure wrapping doesn't write script. Also set up a service that tries to keep track of when it's safe to execute script. r=bz sr=jst 2008-03-14 16:08:57 -07:00
reed@reedloden.com
965cbb1d62 Bug 192631 - "Animated images stop animating after Print / Print Preview" [p=martijn.martijn@gmail.com (Martijn Wargers) r+sr=roc a1.9=damons] 2008-03-12 19:58:34 -07:00
dbaron@dbaron.org
4f711db346 Don't let the pres context's visible area get permanently set to an unconstrained height when we call ResizeReflow with an unconstrained height during SizeToContent. b=371508 r+sr=roc a=blocking1.9+ 2008-03-12 15:04:45 -07:00
jonas@sicking.cc
47a2cff0da Back out due to failed mochitest 2008-03-10 19:18:15 -07:00
jonas@sicking.cc
4b8f2cdf7a Bug 401155: Make sure plugins and XBL constructors not execute when creating a script wrapper if it's not safe to execute scripts. r=bz sr=jst. 2008-03-10 17:49:19 -07:00
Olli.Pettay@helsinki.fi
5bdf2e94cf Bug 421294, Crash [@ DocumentViewerImpl::GetCopyable], r+sr=jst, a=beltzner 2008-03-06 15:05:35 -08:00
roc+@cs.cmu.edu
a3b0d9b560 Bug 317189. Do the second-scroll-to-anchor on onload (i.e. subresources have loaded), not just when the document has finished loading. Also, don't do it at all if the user has scrolled manually between the first anchor scroll and the second. r+sr=dbaron 2008-02-27 02:01:17 -08:00
Olli.Pettay@helsinki.fi
5ad351df5f Bug 418457, Remove support for onbeforecopy/cut/paste until we have a better implementation, r+sr=sicking 2008-02-24 02:55:37 -08:00
dolske@mozilla.com
3061c98928 Reland 406686, tests went green apparently before picking up the backout. 2008-02-08 12:23:05 -08:00
dolske@mozilla.com
96d90967a4 Backout bug 406686 to determine cause of mochitest failures. 2008-02-08 11:07:21 -08:00
enndeakin@sympatico.ca
75d35b42fd Bug 406686, close popups on blur, this time with nullcheck, r=roc,sr=dveditz 2008-02-08 05:53:33 -08:00
dholbert@cs.stanford.edu
428ba6862a Bug 415012: Fix deadSpaceGap computation and restore deadSpaceGap subtraction in PrintPreviewNavigate. r+sr=roc, a1.9=beltzner 2008-02-07 15:08:00 -08:00
mozilla.mano@sent.com
8e142677f0 Backing out 406686 again 2008-02-06 18:19:12 -08:00
mozilla.mano@sent.com
260b79c683 Relanding bug 406686 2008-02-06 16:55:55 -08:00
mozilla.mano@sent.com
9343a644bf Attempt to fix orange by backing out 406686 2008-02-06 15:45:59 -08:00
enndeakin@sympatico.ca
0a624e2179 Bug 406686, close popups on blur, r=roc,sr=dveditz 2008-02-06 13:12:00 -08:00