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
dholbert@cs.stanford.edu
749e9c78ec
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
04ea5b16d9
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
1f47652e12
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
8a7cf6cd33
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
67747c0779
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
f8263cd94c
Bug 403565. Give each contentviewer it's own device context. r+sr=bzbarsky
2008-01-20 18:05:38 -08:00
bzbarsky@mit.edu
3e5918cd2d
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
12b3f12b73
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
01bed8d304
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
b44a3bba34
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
56411c05f1
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
a8f2f2ea3a
Bug 363265, fix comment about mTextZoom/mPageZoom members
2007-11-09 14:29:43 -08:00
Olli.Pettay@helsinki.fi
af069f667b
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
c868cd2ffb
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
69d3a1fc7a
backout Bug 373462, bug 385322. Still regress tp/talos
2007-10-21 09:46:54 -07:00
Olli.Pettay@helsinki.fi
cad8f0b8c4
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
6be2e13a6b
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
2fb8ea7b56
back out Bug 373462 / bug 385322 (again :( )
2007-09-29 10:33:22 -07:00
Olli.Pettay@helsinki.fi
a6aedd78ae
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
f9c785fb8b
backout the test patch for Bug 373462 and 385322
2007-09-23 09:10:12 -07:00
Olli.Pettay@helsinki.fi
1d42d7ad32
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
a3a38445dd
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
ddf07681e6
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
a0c6a21aa4
Bug 390180: Full page zoom interacts badly with bfcache. r+sr+a=roc
2007-08-27 18:20:17 -07:00
dbaron@dbaron.org
07cc548152
Fix leak of widgets on gmail. b=390088 r+sr=jst a=roc
2007-08-10 14:23:53 -07:00
sharparrow1@yahoo.com
8419d2c58e
Bug 389720: zooming frameset is poor. r+sr=roc, a=dbaron
2007-08-07 13:38:35 -07:00
jst@mozilla.org
dadc7c619b
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
5a87530c15
Bug 4821: Implement page zoom (backend). r+sr=roc.
2007-07-25 20:34:16 -07:00
asqueella@gmail.com
b562b1a8cf
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
3d40c5f60c
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
e3c4baccae
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
6c8197be5f
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
a23c89d8bd
Backing out patch for bug 381631 again, due to reftest failures.
2007-06-30 08:01:02 -07:00
kherron@fmailbox.com
c25df02c11
Bug 381631 - Cannot print pages in Landscape mode. r=pavlov, sr=roc.
2007-06-30 05:02:35 -07:00
enndeakin@sympatico.ca
95deb19d78
Bug 279703, backing out the popup changes due to performance regressions. sigh.
2007-06-29 15:15:59 -07:00
enndeakin@sympatico.ca
6c59f4a6d3
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
0571ac85f4
Back out patch for bug 381361 due to ref test failures on Windows.
2007-06-24 08:13:23 -07:00
kherron@fmailbox.com
0a5c57beee
Bug 381631 - Cannot print pages in Landscape mode. r=pavlov, sr=roc.
2007-06-24 04:20:34 -07:00
sharparrow1@yahoo.com
2c7439459f
Bug 379015: Fix nsPresShell::RenderOffscreen. r+sr=roc
2007-05-22 17:11:05 -07:00
Olli.Pettay@helsinki.fi
7ec10e025c
Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst
2007-05-14 02:11:38 -07:00
bzbarsky@mit.edu
5b2ec7d443
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
f29b4e2b1b
backout Bug 363089
2007-05-11 06:34:05 -07:00
Olli.Pettay@helsinki.fi
91a5c67cd1
Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst
2007-05-11 04:15:11 -07:00
bzbarsky@mit.edu
db73e399d0
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
2172c60660
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
3168e0cbeb
Crash [@ nsPresContext::GetContainerInternal]. b=378682 r+sr=bzbarsky
2007-04-27 04:06:22 -07:00
bzbarsky@mit.edu
52ba74f675
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
9e554b3e8b
Bug 374570, constrain popups to frame, r+sr=roc
2007-04-20 11:20:03 -07:00
hg@mozilla.com
465265d0d4
Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT,
2007-03-22 10:30:00 -07:00