Commit Graph

837 Commits

Author SHA1 Message Date
Craig Topper
b08d6c5ef5 Remove nsICSSStyleSheet and replace all uses with nsCSSStyleSheet. (Bug 239008) r=dbaron 2010-05-11 13:41:47 -07:00
Craig Topper
55e9fbfa98 DeCOMtaminate CSSStyleSheet method signatures. (Bug 239008) r=dbaron 2010-05-11 13:41:47 -07:00
Jonas Sicking
b41c433cea Bug 562791: Add NS_TIME_FUNCTION and friends to content code. r=jst 2010-04-30 12:40:59 -07: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
Vivien Nicolas
61a10c1a29 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
c9aaa3e7c4 Bug 553924 - Crash [@ nsDocumentViewer.cpp], r=jlebar 2010-03-29 01:47:54 +03: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
Olli Pettay
21fe6ba718 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
436af94f0e 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
3d7073c4a5 Bug 253889: DeCOMtaminate nsIPresShell r=roc 2010-03-20 17:54:19 -04:00
Neil Deakin
3ea1a5bd7d Bug 501154, consolidate places where clipboard events are fired from, r=smaug,sr=neil 2010-03-19 14:32:13 -04:00
Jonas Sicking
6464e01c74 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
9f0e6d8e45 Bug 549251 crash [@ DocumentViewerImpl::SetIsPrintingInDocShellTree]
r=smaug

--HG--
extra : rebase_source : 3e2cb7701aade9ac5ee668626ca3a89b10b02979
2010-03-12 07:50:10 +01:00
Robert O'Callahan
85b786641d 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
4d09544717 Bug 549566, clean-up beforeunload message, r=sicking
--HG--
extra : rebase_source : 5abe27de295f9285b926f105d7ec317ebe1503ff
2010-03-03 14:41:57 +02:00
Zack Weinberg
6ce13b76a5 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
5310e41295 Bug 545059: Remove unneeded/non-working bidi.controlstextmode pref. r=smontagu 2010-02-24 21:58:17 -08:00
Robert O'Callahan
7f57711ea0 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
3cb7c0acf7 Bug 528491, combine nsFocusController and nsWindowRoot, r=jst,sr=smaug 2010-02-20 11:07:03 -05:00
Timothy Nikkel
895e60343d Bug 545593. Remove nsViewManager::Enable/DisableRefresh. r=roc 2010-02-18 13:23:23 -06:00
Timothy Nikkel
0483c805d9 Backed out changeset 93c7b23284b8 (Bug 545593) for causing Md oth failures on linux. 2010-02-12 16:46:04 -06:00
Timothy Nikkel
4f8c3bd548 Bug 545593. Remove nsViewManager::Enable/DisableRefresh. r=roc
--HG--
extra : rebase_source : 963053b0f3d5712308b53c665dddcedae08a2b21
2010-02-11 18:14:59 -06:00
Olli Pettay
f2877b7b35 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
2fc408988c Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Daniel Holbert
585d440f02 Backed out changeset dc7a04be6904 on suspicion of causing bug 543034. 2010-01-29 18:50:46 -08:00
Justin Lebar
731c252671 Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Olli Pettay
8f9e916c89 Bug 540462 - Move GetDocument from nsIDocumentViewer to nsIContentViewer, r=bz 2010-01-23 13:41:41 +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
Olli Pettay
c0f0d7e3a5 Bug 534226 - Remove support for multiple presshells, r=bz, sr=roc 2010-01-07 12:36:11 +02:00
Daniel Holbert
3cc25d9e5a 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
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
Robert O'Callahan
9feef10059 Bug 528493. Prevent script execution while initializing nsDocumentViewer. r=bzbarsky 2009-11-19 12:40:31 +13:00
Robert O'Callahan
5b498daffc Backed out changeset 93a0acf68dd6 2009-11-19 15:15:44 +13:00
Robert O'Callahan
0c196ee106 Bug 528493. Prevent script execution while initializing nsDocumentViewer. r=bzbarsky 2009-11-19 12:40:31 +13:00
Daniel Holbert
05d1532e81 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
1648688a57 Bug 523333. nsContentUtils::HidePopupsInDocument() does not check for null nsIDocument argument properly. r=enndeakin 2009-10-23 16:24:47 -04:00
Nochum Sossonko
ea120921fe 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
6036c0c62b Add logging code to help diagnose random failure 2009-10-16 12:10:27 +13: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
Robert O'Callahan
46904b4862 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
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
Mats Palmgren
407d615659 Backout bug 506349 since it caused a test failure. 2009-08-19 04:24:29 +02:00
Mats Palmgren
2d89c6c693 Flush the sink before zooming (restyle processing). b=506349 r=bzbarsky 2009-08-19 03:10:07 +02:00
Timothy Nikkel
84ffcd3b7a 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
a756d86e22 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
16f8bf9ac4 Bug 339548. Part 2: Introduce nsRootPresContext. 2009-07-22 12:44:54 +12:00
Robert O'Callahan
cd388d6051 Bug 339548. Part 1: Factor out FindContainerView. 2009-07-22 12:44:53 +12:00
Olli Pettay
0e64223e6d Bug 496000 - Remove nsBeforePageUnloadEvent, r+sr=jst
--HG--
extra : rebase_source : 0288c06ade3ef23641bb2fe9a33143e865d90217
2009-06-24 11:42:00 +03:00
Markus Stange
f64a903399 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
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
Boris Zbarsky
ce1a541b65 Bug 490957. Eliminate nsWebShell. r+sr=bsmedberg 2009-05-07 15:21:53 -04:00
Masayuki Nakano
4184a11813 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
b6cf78a6a8 Bug 478245 - Crash [@ nsEventStateManager::PreHandleEvent], r+sr=dbaron 2009-03-11 17:43:08 +02:00
Olli Pettay
c10a9dfb86 Bug 425265, r=roc, sr=bz 2009-03-08 21:01:02 +02:00
Olli Pettay
739ee979a1 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
4da5c3f43a backout 333198 2009-03-02 22:21:46 +02:00
Asaf Romano
8900bd48d4 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
fe25d33f34 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
95331fc201 Bug 298889 - iframe invisible when window is transparent; r+sr=roc 2009-02-24 17:53:32 +01:00
Zack Weinberg
4b0289ba0b 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
1dd09e631a 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
122dcedc98 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
39f78cbc86 Fix for bug 473773 (DocumentViewerImpl::InitPresentationStuff can reenter). r=roc, sr=bz. 2009-01-18 16:21:26 +01:00
Daniel Holbert
90887065a9 Fix typo & linewrapping in a comment within nsDocumentViewer.cpp (to trigger unittest builds) 2009-01-16 17:35:19 -08: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
Peter Van der Beken
c31332c26a 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
2353ea8945 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
14d93a7fb1 b=347174, implement document.readystate == 'complete'; r=sicking 2009-01-09 09:12:09 -08: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
Olli Pettay
dbf8cc51bc Bug 461994 - Crash [@ DocumentViewerImpl::Close] with reloading, r+sr=bz 2008-12-20 01:45:56 +02:00
Neil Deakin
6c57a644eb 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
38c89ebd70 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
943fd4dbb7 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
1b2252f6c6 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
32ecc4dce9 Fixing merge; no idea where that came from 2008-11-02 21:34:00 -05:00
Boris Zbarsky
52bc26bf93 Adding test file too 2008-11-02 21:33:04 -05:00
Boris Zbarsky
b031d1bb8c 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
8b05c605f7 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
c72ef7d248 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
ead0309499 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
171a2b46ae 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
4f0fd7d2cb 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
7dddc3825a Backing our changeset 60fc5f224a5b to try to fix Mac Tp 2008-09-29 14:28:15 -04:00
Boris Zbarsky
562d828fdd 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
9599df476b 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
72a7d1cba0 Bug 433616 part 2. Implement loading of external resource documents. r=jst, sr=roc 2008-09-28 15:15:22 -04:00
Boris Zbarsky
a6aec54eaf 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
0de987137c Bug 396519. Encapsulate content viewer eviction in session history. r+sr=bzbarsky 2008-09-28 14:53:34 -04: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
Robert Strong
b1636cc5a5 Backed out changeset ff043f7356f7 2008-09-11 14:54:40 -07:00
Andrew Schultz
09f93d94f8 Bug 396519. Encapsulate content viewer eviction in session history. r+sr=bzbarsky 2008-09-09 21:39:38 -04:00
Boris Zbarsky
176a0e0d6f 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
f0b8914349 Remove unimplemented DumpContentToPPM() member (bug 379015 leftover). r+sr=roc 2008-07-12 12:21:38 +02:00
roc+@cs.cmu.edu
2347a6f10e 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
979dbc9b21 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
8ce149d016 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
478cee734c 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
e440a7575b 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
c078e73997 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
b8cb8c4df1 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
f7a428516e 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
0c80ff16bc Back out due to failed mochitest 2008-03-10 19:18:15 -07:00
jonas@sicking.cc
4216df2295 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
d244cc0126 Bug 421294, Crash [@ DocumentViewerImpl::GetCopyable], r+sr=jst, a=beltzner 2008-03-06 15:05:35 -08:00
roc+@cs.cmu.edu
9a0948b2a6 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
69dbbd79be 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
68bdd59ba6 Reland 406686, tests went green apparently before picking up the backout. 2008-02-08 12:23:05 -08:00
dolske@mozilla.com
094a37ac2f Backout bug 406686 to determine cause of mochitest failures. 2008-02-08 11:07:21 -08:00
enndeakin@sympatico.ca
217d643ed4 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
199765bcc6 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
8aedbc4f64 Backing out 406686 again 2008-02-06 18:19:12 -08:00
mozilla.mano@sent.com
623f3f1f0b Relanding bug 406686 2008-02-06 16:55:55 -08:00
mozilla.mano@sent.com
7341621336 Attempt to fix orange by backing out 406686 2008-02-06 15:45:59 -08:00
enndeakin@sympatico.ca
597b67b80a Bug 406686, close popups on blur, r=roc,sr=dveditz 2008-02-06 13:12:00 -08:00
dholbert@cs.stanford.edu
122cc4ab89 Bug 389359: In print-preview jump-to-page, scale page-position so we arrive at correct spot. r+sr=roc, a=blocking1.9+ 2008-01-29 12:14:51 -08:00
roc+@cs.cmu.edu
a93abc37c9 Bug 413292. Make Begin/EndUpdateViewBatch be sure to remove the batch-count from the same viewmanager we added one to. r+sr=bzbarsky 2008-01-26 15:59:50 -08:00
reed@reedloden.com
551ffa3b01 Re-land part of the patch from bug 193001 because the printing reftest failures on Windows are most likely just symptoms of bug 388169. 2008-01-20 23:54:47 -08:00
reed@reedloden.com
c44704e328 Back out part of the patch from bug 193001 to help track down the cause of some failing printing reftests on Windows. 2008-01-20 22:35:31 -08:00
reed@reedloden.com
23bbd145b3 Bug 193001 - "Use gnome's native print dialog" [p=ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r+sr+a1.9=roc] 2008-01-20 19:47:25 -08:00
roc+@cs.cmu.edu
0e9e236c9e Bug 403565. Give each contentviewer it's own device context. r+sr=bzbarsky 2008-01-20 18:05:38 -08:00
bzbarsky@mit.edu
622011c589 When showing a document viewer, don't start layout on the documnt unless it's already had layout started once. Otherwise, just wait for the sink, or whoever is responsible for it, to start layout once they're ready. Bug 404470, r+sr=jst 2008-01-20 10:02:02 -08:00
roc+@cs.cmu.edu
7c45a78bdf Bug 406784. Do more presentation setup in the SetDOMDocument path to fix regressions mainly in Camino. r+sr=bzbarsky 2008-01-09 14:41:43 -08:00
roc+@cs.cmu.edu
74fb91b464 Bug 405732. Fix crash in XSLT document that does an initial reflow before SetDOMDocument in the document viewer, by recreating the viewmanager, root view and root widget that were mangled when we tore down the old presshell. r+sr=bzbarsky 2007-12-01 02:42:12 -08:00
martijn.martijn@gmail.com
5a19d738f8 Bug 396024 - Crash [@ nsPrintEngine::DocumentReadyForPrinting] with testcase that set print preview, then reloads the page, part 2, r=sharparrow1, sr=roc, blocking1.9+ 2007-11-28 14:17:12 -08:00
reed@reedloden.com
66a7aaf1b0 Bug 404519 - "some margin and edges twips/app units confusion" [p=reg@freebsd.org (Jeremy Lea) / chpe@gnome.org (Christian Persch) r+sr=roc a1.9=schrep] 2007-11-20 21:09:58 -08:00
Olli.Pettay@helsinki.fi
6f0f37e625 Bug 363265, fix comment about mTextZoom/mPageZoom members 2007-11-09 14:29:43 -08:00
Olli.Pettay@helsinki.fi
34a6718afd Bug 363265, Scroll arrows, page up/page down, home, end, and space don't work in print preview, r=roc+myk,sr=roc,a=1.9+ 2007-11-09 02:19:12 -08:00
reed@reedloden.com
034e2504a2 Bug 130078 - Make chrome subdocuments of chrome parents share the view hierarchy [p=roc r+sr=bzbarsky a=blocking1.9+] 2007-11-07 20:50:49 -08:00
Olli.Pettay@helsinki.fi
4474bdc204 backout Bug 373462, bug 385322. Still regress tp/talos 2007-10-21 09:46:54 -07:00
Olli.Pettay@helsinki.fi
530a7e0fd0 Test-landing (again) Bug 373462, bug 385322, Better scheduling of cycle collection/gc, r+sr=sicking,jst 2007-10-21 07:09:29 -07:00
bzbarsky@mit.edu
48541412c1 Fix a few issues in bfcache and XBL when javascript is being toggled on and off. Bug 398668, r+sr+a=jst 2007-10-05 17:35:00 -07:00
Olli.Pettay@helsinki.fi
d8000edd01 back out Bug 373462 / bug 385322 (again :( ) 2007-09-29 10:33:22 -07:00
Olli.Pettay@helsinki.fi
67f0237669 Bug 373462 / bug 385322, Better scheduling of cycle collection/gc, r+sr=jst 2007-09-29 08:02:57 -07:00
Olli.Pettay@helsinki.fi
5a7c50d7ec backout the test patch for Bug 373462 and 385322 2007-09-23 09:10:12 -07:00
Olli.Pettay@helsinki.fi
ea28e0a59b Testland a patch for Bug 373462 and 385322, 'Better scheduling of cycle collection/gc' 2007-09-23 07:05:27 -07:00
martijn.martijn@gmail.com
fb91d61afa Bug 362734 - Crash [@ nsPrintEngine::DocumentReadyForPrinting] with testcase that sets print preview, then reloads the page, patch by Andrew Smith, r=sharparrow1, sr=roc (blocking1.9 bug) 2007-09-04 14:44:42 -07:00
martijn.martijn@gmail.com
717af5f8c8 Bug 393696 - Crash [@ PresShell::ResizeReflow] with onbeforecut removing element, iframe and position: fixed, patch by Mathieu Fenniak, r=Olli.Pettay, sr+a=jst 2007-09-01 01:53:07 -07:00
sharparrow1@yahoo.com
0b1b6c64d9 Bug 390180: Full page zoom interacts badly with bfcache. r+sr+a=roc 2007-08-27 18:20:17 -07:00
dbaron@dbaron.org
d858513c12 Fix leak of widgets on gmail. b=390088 r+sr=jst a=roc 2007-08-10 14:23:53 -07:00
sharparrow1@yahoo.com
29bb7c7d5d Bug 389720: zooming frameset is poor. r+sr=roc, a=dbaron 2007-08-07 13:38:35 -07:00
jst@mozilla.org
83c8471b91 Adding support for cut, copy, paste events. Patch by mfenniak-moz@mathieu.fenniak.net, r=Olli.Pettay@gmail.com, sr=jst@mozilla.org,jonas@sicking.cc 2007-07-25 21:14:33 -07:00
sharparrow1@yahoo.com
0881e734d3 Bug 4821: Implement page zoom (backend). r+sr=roc. 2007-07-25 20:34:16 -07:00
asqueella@gmail.com
04264029fb Bug 388761 - fix MOZ_XUL-disabled builds
p=romaxa <romaxa@gmail.com>
r+sr=roc
2007-07-23 17:04:36 -07:00
sharparrow1@yahoo.com
f9d6bc573f Bug 381631: Cannot print pages in Landscape mode. patch by Kenneth Herron, r=pavlov, sr=roc 2007-07-16 16:16:48 -07:00
jwalden@mit.edu
6d7584839a Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
enndeakin@sympatico.ca
59c3596049 Bug 279703, rework XUL popups to use asynchronous opening, plus many other fixes, attempt 2 with creating widgets later, r=bz,neil,roc,sr=bz 2007-07-04 08:49:38 -07:00
kherron@fmailbox.com
f7acb351db Backing out patch for bug 381631 again, due to reftest failures. 2007-06-30 08:01:02 -07:00
kherron@fmailbox.com
f151892264 Bug 381631 - Cannot print pages in Landscape mode. r=pavlov, sr=roc. 2007-06-30 05:02:35 -07:00
enndeakin@sympatico.ca
8a87437d5f Bug 279703, backing out the popup changes due to performance regressions. sigh. 2007-06-29 15:15:59 -07:00
enndeakin@sympatico.ca
534c14e326 Bug 279703, rework XUL popups to use asynchronous opening, plus many other fixes, r=bz,neil,sr=bz 2007-06-29 12:04:45 -07:00
kherron@fmailbox.com
7da20483cd Back out patch for bug 381361 due to ref test failures on Windows. 2007-06-24 08:13:23 -07:00
kherron@fmailbox.com
88496fd2b4 Bug 381631 - Cannot print pages in Landscape mode. r=pavlov, sr=roc. 2007-06-24 04:20:34 -07:00
sharparrow1@yahoo.com
c6ad0c8d5f Bug 379015: Fix nsPresShell::RenderOffscreen. r+sr=roc 2007-05-22 17:11:05 -07:00
Olli.Pettay@helsinki.fi
7817abfbca Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst 2007-05-14 02:11:38 -07:00
bzbarsky@mit.edu
2704d6350d Process XBL constructors right after the frame construction inInitialReflow(). Bug 377119, r+sr=sicking 2007-05-13 20:52:48 -07:00
Olli.Pettay@helsinki.fi
40178e46a3 backout Bug 363089 2007-05-11 06:34:05 -07:00
Olli.Pettay@helsinki.fi
e1fb8b073b Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst 2007-05-11 04:15:11 -07:00
bzbarsky@mit.edu
31e3fee701 Switch order around a bit to be safer. Followup to bug 379093, r+sr=roc 2007-05-01 12:11:28 -07:00
bzbarsky@mit.edu
33d9c4b401 Make sure to flush out reflows before firing onload instead of (imperfectly)blocking onload on reflow events. This makes sure that we are in fact fullyreflowed before onload fires. Bug 379093, r+sr=roc 2007-04-29 20:09:55 -07:00
mats.palmgren@bredband.net
2300b4eb12 Crash [@ nsPresContext::GetContainerInternal]. b=378682 r+sr=bzbarsky 2007-04-27 04:06:22 -07:00
bzbarsky@mit.edu
9469f3bca1 Make sure to return at the end of a method that returns nsresult, in casecallers are actually checking the return value. Bug 378827, patch by RyanVanderMeulen <ryanvm@gmail.com>, r+sr=bzbarsky 2007-04-25 19:37:27 -07:00
enndeakin@sympatico.ca
8d2c6abe92 Bug 374570, constrain popups to frame, r+sr=roc 2007-04-20 11:20:03 -07:00
sharparrow1%yahoo.com
9b61bf8ea8 Bug 374050: add printing test mode to reftests. See bug/sample test for how to make printing tests. 2007-03-21 06:07:42 +00:00
Olli.Pettay%helsinki.fi
4e0ebc823d Bug 372665 ��� Crash [@ PresShell::ScrollFrameIntoView] when focusing br during pageload. (Adding ScrollContentIntoView), r+sr=roc 2007-03-06 09:53:56 +00:00
sharparrow1%yahoo.com
ff35b63e67 Bug 371332: Remove nsIDocumentViewer::CreateDocumentViewer. r+sr=roc 2007-02-23 04:50:06 +00:00
Olli.Pettay%helsinki.fi
805e0ff0f8 Bug 363067, Add nsPIDOMEventTarget and kill nsIChromeEventHandler, r=jst, sr=sicking 2007-02-15 23:04:33 +00:00
sharparrow1%yahoo.com
d986ad1f22 Bug 370034: Replace nsIDeviceContext::GetDeviceContextFor with nsIDeviceContext::Init. r+sr=roc 2007-02-15 11:08:47 +00:00
sharparrow1%yahoo.com
a8f437abc4 Bug 369834: Get rid of SetAltDevice and friends (and fix print preview). r+sr=roc. 2007-02-13 22:36:59 +00:00
sharparrow1%yahoo.com
76a64e5c22 Bug 177805: Fix the use of units in Gecko. r+sr=roc 2007-02-07 07:46:44 +00:00
cvshook%sicking.cc
a39ff30284 Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128 2007-01-30 00:06:41 +00:00
enndeakin%sympatico.ca
42cfbd51a9 Bug 326877, close popups when navigating pages, r+sr=bz 2007-01-25 17:59:20 +00:00
jst%mozilla.org
1074e59e98 Fixing bug 366393. Attempt to schedule GC between pageloads when possible rather than slowing down page load with GC calls while loading. r+sr=bugmail@sicking.cc 2007-01-11 00:02:58 +00:00
mats.palmgren%bredband.net
22f3bc9e9c Print Preview crash when accessing print engine data before it's fully created. b=365003 r=sharparrow1 sr=roc 2007-01-01 10:53:11 +00:00
mats.palmgren%bredband.net
09e0871a51 Crash [@ nsPrintEngine::PrintPreview] when trying to print preview a display:none iframe. b=365004 r=sharparrow1 sr=roc 2006-12-31 08:13:56 +00:00
sayrer%gmail.com
ac8b462aaf Bug 363506. Can not build nsDocumentViewer.cpp with --disable-printing. Patch by Andreas Lange <mozilla@lange.cx>. r+sr=roc 2006-12-12 23:00:52 +00:00
sharparrow1%yahoo.com
01ccd95a11 Bug 361844: Printing cleanup; r+sr=roc. Changes the way the presentation is managed for print preview, plus many smaller cleanups. 2006-12-10 08:05:05 +00:00
kjh-5727%comcast.net
5f49ed61b9 Bug 360485 - Factor out nsIDeviceContextSpecFactory. Part 1: changed files. r=pavlov, sr=roc. 2006-12-09 17:18:56 +00:00
dbaron%dbaron.org
31f1898810 Bug 300030: Move intrinsic width computation out of nsIFrame::Reflow and into its own methods on nsIFrame. Replace reflow reasons, types, and commands with dirty bits/notifications. Thanks to bzbarsky for almost all of the HTML form controls (mozilla/layout/forms) changes, and many others for help testing and patching. For detailed commit logs, see REFLOW_YYYYMMDD_BRANCH, where YYYYMMDD is one of 20061031, 20060830, 20060603, 20060302, 20060119, 20051011, 20050804, 20050429, 20050315, 20050111, and 20041213. 2006-12-08 05:38:33 +00:00
roc+%cs.cmu.edu
2f8f7e5581 Bug 130078. Reverting fix because of regressions. We'll have to come back to this again :-(. 2006-11-23 01:12:52 +00:00
martijn.martijn%gmail.com
ac5c56b9f4 Fix small issue with patch for bug 361334 (Onbeforeunload dialog has too many line breaks), r+sr=jst 2006-11-22 18:41:11 +00:00
martijn.martijn%gmail.com
d09e64e987 Bug 361334 - Onbeforeunload dialog has too many line breaks, r+sr=jst 2006-11-21 23:57:21 +00:00
roc+%cs.cmu.edu
1839efdd55 Bug 130078. Integrate view hierarchies, watching for perf results. r+sr=dbaron 2006-11-13 22:59:14 +00:00
bzbarsky%mit.edu
5a8b3013c7 Fix leaks in thebes and canvas code due to nsIWidget and nsIRenderingContext
being badly documented and not using already_AddRefed when they should.  Bug
359341, r=pavlov, sr=roc
2006-11-13 21:31:53 +00:00
jst%mozilla.org
509a1c7771 Landing fix for bug 324036. Fix bogus assertion. Patch by ajvincent@gmail.com, r+sr=jst@mozilla.org 2006-10-19 22:43:59 +00:00
bmlk%gmx.de
787acea91d remove debug cruft (MOZ_LAYOUTDEBUG) and say that printing is finished once the regression dump is done bug 339500 r=sharparrow1 sr=dbaron 2006-09-09 05:06:04 +00:00
Olli.Pettay%helsinki.fi
a42613e4f6 Bug 350846, Combine NS_***_LOAD events, r+sr=jst 2006-08-31 19:33:01 +00:00
bryner%brianryner.com
6199631cfd fixing bustage from bug 319551 (bad trunk merge) 2006-06-26 19:06:20 +00:00
bryner%brianryner.com
1230d880ae Clear the old child docshells when SetDOMDocument is called, so that they don't get persisted in session history before they're GC'd. Also, update SHEntry to hold strong references to the child docshells. Bug 319551, r=sicking sr=bzbarsky 2006-06-26 18:48:52 +00:00
mark%moxienet.com
a66ed53902 209989 After Find Again (Ctrl-G/F3), text highlighting color becomes green. Patch by Peter Kasting <pkasting@google.com>. r=mconnor sr=dbaron 2006-06-17 01:05:26 +00:00
martijn.martijn%gmail.com
bc8ea1ce1c Bug 337356 - Page zoom breaks if content policy accesses frame's document, r+sr=bzbarsky 2006-06-12 13:49:46 +00:00
bzbarsky%mit.edu
7d1587d182 Make stylesheet service sheets apply dynamically. Bug 335689, r+sr=dbaron 2006-06-08 14:32:20 +00:00