Commit Graph

288 Commits

Author SHA1 Message Date
Zack Weinberg
d5e47757d8 Bug 651017, part 4: deCOM nsIDeviceContext; include-minimization on nsDeviceContext.h itself; merge GetPrintDC() into Windows/OS/2 specific code; merge Shutdown() with ClearCachedSystemFonts(). Most references outside gfx not fixed up.
--HG--
rename : gfx/src/nsThebesDeviceContext.cpp => gfx/src/nsDeviceContext.cpp
rename : gfx/src/nsThebesDeviceContext.h => gfx/src/nsDeviceContext.h
extra : rebase_source : 9fb366d99d18c9335ba297d21f673178dae62a64
2011-04-16 18:22:42 -07:00
Zack Weinberg
51864c09d8 Bug 651017, part 1: minimize inclusion of ns*DeviceContext.h; move the printing error codes to nsIDeviceContextSpec.h; os2 small widget cleanup.
--HG--
extra : rebase_source : 5b7cebe68f71a760463e3522b159c7cde8a72f5e
2011-04-16 18:22:41 -07:00
Zack Weinberg
f5a0843ac7 Bug 266236 part 9: Move nsBoundingMetrics to its own header and prune inclusions of nsRenderingContext.h.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 92660748436f03475e011184e2828f1db0ad63e0
2011-04-07 18:04:40 -07:00
Jan Küchler
5ef6bf26cf Bug 266236 part 3: Mechanical rename of nsIRenderingContext and nsThebesRenderingContext to nsRenderingContext. Mechanical substitution of nsRefPtr<nsRenderingContext> for nsCOMPtr<nsRenderingContext>.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
extra : rebase_source : 34884bfcafd885feaf73300bc7246cd192062a48
2011-04-07 18:04:40 -07:00
Ms2ger
3aac8958f3 Bug 637864 - Give nsIViewManager::GetRootView a sane signature; r=bz 2011-03-29 22:24:54 -04:00
Benjamin Smedberg
51ecdf79a2 Bug 617539 - Fold nsIContentViewer_MOZILLA_2_0_BRANCH, r=sicking 2011-03-25 11:03:34 -04:00
Olli Pettay
7f2d69813a Allow removing iframe when it is being printed, r=roc 2011-03-24 13:42:54 +02:00
Brad Lassey
715c879877 bug 623820 - Text zoom reflow messes up layout on AMO and other sites r=roc,dbaron a=blocking-fennec 2011-03-10 23:33:43 -05:00
Jonas Sicking
9adba11f73 Bug 635844 part 2: Update pushState to latest agreed behavior. r=jlebar a=beltzner/jst 2011-02-28 23:08:56 -08:00
Jonas Sicking
0a21ea9298 Bug 635844 part 1: Back out bug 615501 since we'll no longer fire the "initial popstate" event, and thus don't need a way to differentiate it. r=jlebar a=beltzner 2011-02-28 23:08:56 -08:00
Justin Lebar ext:(%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E)
dfd1d01778 Bug 615501 - Make push/replaceState suppress the popstate-after-load event; r=sicking a=jst 2011-02-14 13:15:29 -08:00
Andreas Gal
867ed02473 Fix GC/CC scheduling (bug 630932, patch by gal/smaug, r=mrbkap). a=blocker 2011-02-16 15:47:12 -08:00
Justin Dolske
9b24f36cf1 Bug 613800 - A Race Condition when closing inactive tab with alerts in OnBeforeUnload; r=jst a=blocking-final 2011-02-15 19:35:28 -05:00
Chris Jones
be71251a17 Bug 631575: Clear the old window when setting a new document, and re-enable tests disabled in bug 631359. r=roc a=a 2011-02-15 15:45:02 -06:00
bzbarsky@mit.edu
c4b8ded51b Bug 633413, don't bfcache so often, part 1, r=smaug
--HG--
extra : rebase_source : d30d8346c5f2526518386c895146ca6107b924fd
2011-02-12 01:12:20 -05:00
Olli Pettay
1a941e311f Backout Bug 630932, a=backout, we need Bug 614347 2011-02-11 18:33:50 +02:00
gal@uci.edu
7a64b61491 Bug 630932, change CC/GC scheduling, r=smaug, a=blocker 2011-02-11 17:12:47 +02:00
Alon Zakai
5eea332ea1 Bug 610670 - Reuse a single puppet widget. r=bz,cjones a=blocking-fennec 2011-02-09 12:13:18 -08:00
Timothy Nikkel
06871ed079 Bug 631848. Make sure to invalidate when removing the root view of a document when it is moving into the bfcache. r=roc a=blocking 2011-02-07 12:51:54 -06:00
Boris Zbarsky
ee1de88e0f Bug 581536 part 0. Change SetDocumentInternal to share the normal prescontext/presshell initialization codepath. r=dbaron
--HG--
extra : rebase_source : b0a4f5d729e044497def75e9e1ec6baea0a95810
2011-01-21 14:09:11 -05:00
Jonas Sicking
104725b10e Bug 605019: Evict entries in the bfcache if they are holding open a database which is being upgraded. r=bent/smaug a=blocker 2010-11-23 13:24:57 -08:00
Margaret Leibovic
cd33150f53 backout d25bfdc458cf a=bustage 2010-11-23 21:16:23 -08:00
Jonas Sicking
5d0624e29c Bug 605019: Evict entries in the bfcache if they are holding open a database which is being upgraded. r=bent/smaug a=blocker 2010-11-23 13:24:57 -08:00
Mihai Sucan
a8cd49d408 Bug 601352 - Console does not scroll expression result into view, r+a=roc 2010-10-28 13:01:37 -03:00
Chris Jones
2366aa408c Bug 607512: Destroy document-viewer widgetry to avoid keeping native widgets and layers alive longer than necessary. r=roc a=blocking-fennec 2010-10-27 11:57:21 -05:00
L. David Baron
df741b5a69 Backout changeset d9e4dfc7ebdc (debugging code for test failure). a=roc a2.0=roc 2010-10-21 20:37:49 -07:00
Jim Mathies
b7e880d194 Bug 605023 - Prevent nsChromeRegistry::ReloadChrome() from hiding top level widgets on windows. r=bz, a=betaN 2010-10-21 16:59:26 -05:00
Jim Mathies
58dc114a88 Bug 574690 - Doc viewer should not call show on top level widgets, r=roc, a=blockingbeta. 2010-10-15 08:52:29 -05:00
Masatoshi Kimura
2df4090123 Bug 593577 - Get rid of nsContentType. r=roc a=a 2010-09-20 15:40:13 +02:00
Mats Palmgren
a8e03cc0ca Bug 559705 - "ASSERTION: Subdoc frames must have an inner view too". r=roc a2.0=roc 2010-09-18 13:28:50 +02:00
Justin Dolske
b7ce13c0fc Bug 588292 - Remove site-supplied text for beforeunload and onunload dialogs, and improve button text. r=jst, ui-r=limi, a=blocking 2010-09-16 00:51:24 -07:00
Jonas Sicking
aac728d04b Bug 391177: XSLT should reuse the existing inner window in order to help debuggers and the like. r=jst a=blocker CLOSED TREE 2010-09-15 15:54:00 -07:00
Daniel Holbert
0c7ead0f64 Bug 276431 Patch 4c: Add convenience method nsIDocument::IsResourceDocument, for code shared between external resource docs & svg-as-image helper docs. r=roc sr=jst a=blocking 2010-09-08 13:40:39 -07:00
Daniel Holbert
2532488690 Bug 276431 Patch 4b: Don't create a widget for documents that are being used as images. r=roc a=blocking 2010-09-08 13:40:39 -07:00
Daniel Holbert
f385159cba Bug 276431 Patch 4: Add flag on nsIDocument to let us check if it's actually being used as an image. r=roc sr=jst a=blocking 2010-09-08 13:40:39 -07:00
Jim Mathies
4682c37ce5 Bug 593440 - Remove remaining child widgets on windows. r=roc, a=joe. 2010-09-08 10:52:58 -05:00
Robert O'Callahan
495dccb598 Bug 584193. Allow print preview to work without its own widget. r=smaug a=blocking beta5 2010-08-27 18:15:08 -05:00
Jim Mathies
dbd4f65888 Bug 130078. Part 1.1. Update part 1 to deal with changes from bug 513162. r=roc 2010-08-27 18:15:08 -05:00
Robert O'Callahan
0ed33ec62a Bug 130078. Part 1. Hookup view managers unconditionally. r=dbaron 2010-08-27 18:15:08 -05:00
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