Граф коммитов

906 Коммитов

Автор SHA1 Сообщение Дата
Alon Zakai 9fb6e453f0 Bug 610670 - Reuse a single puppet widget. r=bz,cjones a=blocking-fennec 2011-02-09 12:13:18 -08:00
Timothy Nikkel f3acbd8012 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 a6715ebfac 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 890b7de9fb 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 2945eb7283 backout d25bfdc458cf a=bustage 2010-11-23 21:16:23 -08:00
Jonas Sicking 1bdd1428f4 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 ff976caf45 Bug 601352 - Console does not scroll expression result into view, r+a=roc 2010-10-28 13:01:37 -03:00
Chris Jones c4f254556d 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 f178a9209e Backout changeset d9e4dfc7ebdc (debugging code for test failure). a=roc a2.0=roc 2010-10-21 20:37:49 -07:00
Jim Mathies 836e885b05 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 f0cddc5a5e 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 648a291bbe Bug 593577 - Get rid of nsContentType. r=roc a=a 2010-09-20 15:40:13 +02:00
Mats Palmgren a4afb0cd33 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 430523aa6d 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 4299b92339 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 d55c2e2241 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 c5af8b192c 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 42d97e3b20 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 e2ac622f00 Bug 593440 - Remove remaining child widgets on windows. r=roc, a=joe. 2010-09-08 10:52:58 -05:00
Robert O'Callahan 9b6c97dbeb 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 2421fcc21d 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 b931082c43 Bug 130078. Part 1. Hookup view managers unconditionally. r=dbaron 2010-08-27 18:15:08 -05:00
Timothy Nikkel 19f7b374c5 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 6cf2acef29 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 019b4a5782 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 43035b3d2b 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 f9ea5788e5 Backed out changeset 7b3726c3a580 2010-08-19 19:04:08 -05:00
Robert O'Callahan 36c7172c20 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 517eca47f9 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 6e430aeb35 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 7d9da2db70 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 538fa5f59f 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 5f2085472a Backed out changeset 86e8ec17e532 (bug 584193). 2010-08-08 16:58:40 -05:00
Robert O'Callahan 7c45b7cd4f Bug 584193. Allow print preview to work without its own widget. r=smaug 2010-08-08 13:49:07 -05:00
Jim Mathies f8fe41e5af 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 ccdce3a45d 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 df1b3ae966 merge 2010-07-15 21:47:52 -05:00
Jim Mathies d35b6a1aad 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 6942525ccc 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 dad7dafec7 Bug 538362 - rename nsIDocument::GetPrimaryShell to nsIDocument::GetShell. r=smaug 2010-06-25 15:59:57 +02:00
Jim Mathies 05ce63c536 Bug 513162 - Document viewer to widget glue. r=bz. 2010-06-24 21:01:06 -05:00
Saint Wesonga dca1fdaf5b Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-05 11:42:18 +02:00
Dão Gottwald af6bdfaeea Backed out changeset 59ace8d80ce8 2010-07-04 22:01:13 +02:00
Saint Wesonga b11412ff34 Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-04 21:39:17 +02:00
Dão Gottwald 01ec17a1f9 Backed out changeset db6f8068e9a5 2010-06-29 17:49:21 +02:00
Saint Wesonga 5d01c7f8a9 Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedgerg 2010-06-29 17:14:36 +02:00
Timothy Nikkel f5f644b60b 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 05038d5131 Backed out changeset a6138098775f (bug 559996) for causing orange. 2010-05-11 21:24:02 -05:00
Timothy Nikkel 0f51d83377 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 705e44723e Remove nsICSSStyleSheet and replace all uses with nsCSSStyleSheet. (Bug 239008) r=dbaron 2010-05-11 13:41:47 -07:00
Craig Topper 056fccc892 DeCOMtaminate CSSStyleSheet method signatures. (Bug 239008) r=dbaron 2010-05-11 13:41:47 -07:00
Jonas Sicking 664f689a98 Bug 562791: Add NS_TIME_FUNCTION and friends to content code. r=jst 2010-04-30 12:40:59 -07:00
Boris Zbarsky e762b16f93 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 ebd8e17d5e 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 041d0d8587 Bug 553924 - Crash [@ nsDocumentViewer.cpp], r=jlebar 2010-03-29 01:47:54 +03:00
Craig Topper 23e1716275 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 5285140c59 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 ac977783b2 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 67b9c9dbf6 Bug 253889: DeCOMtaminate nsIPresShell r=roc 2010-03-20 17:54:19 -04:00
Neil Deakin 7f5366ce89 Bug 501154, consolidate places where clipboard events are fired from, r=smaug,sr=neil 2010-03-19 14:32:13 -04:00
Jonas Sicking 42543f3b4b 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 d7aede6062 Bug 549251 crash [@ DocumentViewerImpl::SetIsPrintingInDocShellTree]
r=smaug

--HG--
extra : rebase_source : 3e2cb7701aade9ac5ee668626ca3a89b10b02979
2010-03-12 07:50:10 +01:00
Robert O'Callahan 3c80bf049d 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 5583fff1cf Bug 549566, clean-up beforeunload message, r=sicking
--HG--
extra : rebase_source : 5abe27de295f9285b926f105d7ec317ebe1503ff
2010-03-03 14:41:57 +02:00
Zack Weinberg 74261d239a 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 717fa581d1 Bug 545059: Remove unneeded/non-working bidi.controlstextmode pref. r=smontagu 2010-02-24 21:58:17 -08:00
Robert O'Callahan 812bc3a58b 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 53da314925 Bug 528491, combine nsFocusController and nsWindowRoot, r=jst,sr=smaug 2010-02-20 11:07:03 -05:00
Timothy Nikkel df310f6358 Bug 545593. Remove nsViewManager::Enable/DisableRefresh. r=roc 2010-02-18 13:23:23 -06:00
Timothy Nikkel a932ead8df Backed out changeset 93c7b23284b8 (Bug 545593) for causing Md oth failures on linux. 2010-02-12 16:46:04 -06:00
Timothy Nikkel 08385f4a5d Bug 545593. Remove nsViewManager::Enable/DisableRefresh. r=roc
--HG--
extra : rebase_source : 963053b0f3d5712308b53c665dddcedae08a2b21
2010-02-11 18:14:59 -06:00
Olli Pettay a8884efa48 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 451d425c4b Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Daniel Holbert d70af0ebb8 Backed out changeset dc7a04be6904 on suspicion of causing bug 543034. 2010-01-29 18:50:46 -08:00
Justin Lebar 56149d38c0 Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Olli Pettay d1f21ee014 Bug 540462 - Move GetDocument from nsIDocumentViewer to nsIContentViewer, r=bz 2010-01-23 13:41:41 +02:00
Robert O'Callahan f82492d133 Bug 526394. Part 15: Convert various random chunks of layout code. r=mats 2009-09-03 16:26:00 +12:00
Olli Pettay 63f7b66332 Bug 534226 - Remove support for multiple presshells, r=bz, sr=roc 2010-01-07 12:36:11 +02:00
Daniel Holbert 02752e9f5b 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 43f56a0e7d 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 550d6bd62e Bug 528493. Prevent script execution while initializing nsDocumentViewer. r=bzbarsky 2009-11-19 12:40:31 +13:00
Robert O'Callahan c3af205604 Backed out changeset 93a0acf68dd6 2009-11-19 15:15:44 +13:00
Robert O'Callahan 804657bfb0 Bug 528493. Prevent script execution while initializing nsDocumentViewer. r=bzbarsky 2009-11-19 12:40:31 +13:00
Daniel Holbert f7da57116a 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 67408a2848 Bug 523333. nsContentUtils::HidePopupsInDocument() does not check for null nsIDocument argument properly. r=enndeakin 2009-10-23 16:24:47 -04:00
Nochum Sossonko 4fe3f3870d 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 dd737d7779 Add logging code to help diagnose random failure 2009-10-16 12:10:27 +13:00
Mats Palmgren 0741d79bb3 Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX. b=512106 r=roc 2009-09-16 17:01:36 +02:00
Olli Pettay d55d54c957 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 363046cba5 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 04b8beccaa 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 af8d8584e5 Bug 510651: Fold nsIFrameDebug into nsFrame. r=dbaron sr=mrbkap 2009-08-20 14:52:48 -07:00
Mats Palmgren 6341ecfdb9 Backout bug 506349 since it caused a test failure. 2009-08-19 04:24:29 +02:00
Mats Palmgren 93ef8dc546 Flush the sink before zooming (restyle processing). b=506349 r=bzbarsky 2009-08-19 03:10:07 +02:00
Timothy Nikkel fca84c8f45 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 c4938e93f0 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 ae3ec428cc Bug 339548. Part 2: Introduce nsRootPresContext. 2009-07-22 12:44:54 +12:00
Robert O'Callahan 3f03d88ad7 Bug 339548. Part 1: Factor out FindContainerView. 2009-07-22 12:44:53 +12:00
Olli Pettay e6bdf094b7 Bug 496000 - Remove nsBeforePageUnloadEvent, r+sr=jst
--HG--
extra : rebase_source : 0288c06ade3ef23641bb2fe9a33143e865d90217
2009-06-24 11:42:00 +03:00
Markus Stange 026c946bd4 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 c78cc06ad6 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 96d0ce1fd5 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 c4e1b94fda Bug 490957. Eliminate nsWebShell. r+sr=bsmedberg 2009-05-07 15:21:53 -04:00
Masayuki Nakano aeafdbe10a 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 75904cb6f2 Bug 478245 - Crash [@ nsEventStateManager::PreHandleEvent], r+sr=dbaron 2009-03-11 17:43:08 +02:00
Olli Pettay 1202034b8e Bug 425265, r=roc, sr=bz 2009-03-08 21:01:02 +02:00
Olli Pettay c16782cef9 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 f93364982b backout 333198 2009-03-02 22:21:46 +02:00
Asaf Romano 5bfc770602 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 1923917f1f 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 2c45b1d925 Bug 298889 - iframe invisible when window is transparent; r+sr=roc 2009-02-24 17:53:32 +01:00
Zack Weinberg 914daa4cd1 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 fdc70ffbdd 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 4185a8ef73 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 ab23e6ae15 Fix for bug 473773 (DocumentViewerImpl::InitPresentationStuff can reenter). r=roc, sr=bz. 2009-01-18 16:21:26 +01:00
Daniel Holbert ade8ccb362 Fix typo & linewrapping in a comment within nsDocumentViewer.cpp (to trigger unittest builds) 2009-01-16 17:35:19 -08:00
Jeremy Lea 1b7e1f21f0 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 5ab775e684 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 2232ef61e6 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 72a5607e76 b=347174, implement document.readystate == 'complete'; r=sicking 2009-01-09 09:12:09 -08:00
Benjamin Smedberg c0b8dd79be 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 507daffc50 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 b0f322f21c 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 aea481fadc Bug 461994 - Crash [@ DocumentViewerImpl::Close] with reloading, r+sr=bz 2008-12-20 01:45:56 +02:00
Neil Deakin 82fa0d4920 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 a893e00536 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 b53aa2a19e 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 bbeaacb82b 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 c14acdf692 Fixing merge; no idea where that came from 2008-11-02 21:34:00 -05:00
Boris Zbarsky ae7d6023b3 Adding test file too 2008-11-02 21:33:04 -05:00
Boris Zbarsky 9cd26aa818 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 ce79e8249d 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 4460c617be 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 d0e070a589 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 c5f7e9f3d2 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 fa9fe861d2 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 6768b2a2a4 Backing our changeset 60fc5f224a5b to try to fix Mac Tp 2008-09-29 14:28:15 -04:00
Boris Zbarsky 872ba2e8a1 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 fea473d9f8 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 296279e033 Bug 433616 part 2. Implement loading of external resource documents. r=jst, sr=roc 2008-09-28 15:15:22 -04:00
Boris Zbarsky 3eac01f00c 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 3cf97412e6 Bug 396519. Encapsulate content viewer eviction in session history. r+sr=bzbarsky 2008-09-28 14:53:34 -04:00
Robert O'Callahan 9617ccbc59 Backing out bug 448830 2008-09-28 23:13:58 +13:00
Jeremy Lea b971d67ca6 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 0b43e267f4 Bug 433132, Running mochitest for bug 396024 still leaks r+sr=roc 2008-09-26 12:51:42 +03:00
Robert O'Callahan 933a4085b6 Backing out bug 448830 2008-09-26 13:10:26 +12:00
Jeremy Lea 9848d4cb07 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 bb966d9825 Backed out changeset ff043f7356f7 2008-09-11 14:54:40 -07:00
Andrew Schultz f8b3bcfc58 Bug 396519. Encapsulate content viewer eviction in session history. r+sr=bzbarsky 2008-09-09 21:39:38 -04:00
Boris Zbarsky 732a746e2e 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