Commit Graph

897 Commits

Author SHA1 Message Date
Boris Zbarsky
c61b8b8341 Bug 433616 part 2. Implement loading of external resource documents. r=jst, sr=roc 2008-09-28 15:15:22 -04:00
Boris Zbarsky
13c6f99737 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
e0a7773ad7 Bug 396519. Encapsulate content viewer eviction in session history. r+sr=bzbarsky 2008-09-28 14:53:34 -04:00
Robert O'Callahan
247c01e3bb Backing out bug 448830 2008-09-28 23:13:58 +13:00
Jeremy Lea
32d2314112 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
5c06da3485 Bug 433132, Running mochitest for bug 396024 still leaks r+sr=roc 2008-09-26 12:51:42 +03:00
Robert O'Callahan
ab507b7a60 Backing out bug 448830 2008-09-26 13:10:26 +12:00
Jeremy Lea
e2ebf884de 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
68675eadd0 Backed out changeset ff043f7356f7 2008-09-11 14:54:40 -07:00
Andrew Schultz
41bc46d380 Bug 396519. Encapsulate content viewer eviction in session history. r+sr=bzbarsky 2008-09-09 21:39:38 -04:00
Boris Zbarsky
4bed3dd5b9 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
ac80bfe144 Remove unimplemented DumpContentToPPM() member (bug 379015 leftover). r+sr=roc 2008-07-12 12:21:38 +02:00
f5365d54c6 Bug 433727. Make DocumentViewerImpl::GetFullZoom work when there's no presentation. r+sr=bzbarsky,a=beltzner 2008-05-26 15:03:11 -07:00
cc7c0eafaf 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
8d46b01844 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
c0ac07b842 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
1274f522c3 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
c8dfc9d204 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
7436853017 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
e5c66ef839 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
8485587f30 Back out due to failed mochitest 2008-03-10 19:18:15 -07:00
a01d32528b 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
75167b3812 Bug 421294, Crash [@ DocumentViewerImpl::GetCopyable], r+sr=jst, a=beltzner 2008-03-06 15:05:35 -08:00
c4e1a96650 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
2bcb8d27db 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
aae98cd7c3 Reland 406686, tests went green apparently before picking up the backout. 2008-02-08 12:23:05 -08:00
e718afb64c Backout bug 406686 to determine cause of mochitest failures. 2008-02-08 11:07:21 -08:00
0bb5e5da79 Bug 406686, close popups on blur, this time with nullcheck, r=roc,sr=dveditz 2008-02-08 05:53:33 -08:00
826d1c8130 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
9faadb69ab Backing out 406686 again 2008-02-06 18:19:12 -08:00
44af536888 Relanding bug 406686 2008-02-06 16:55:55 -08:00
052568c584 Attempt to fix orange by backing out 406686 2008-02-06 15:45:59 -08:00
1db03add6f Bug 406686, close popups on blur, r=roc,sr=dveditz 2008-02-06 13:12:00 -08:00
724ba364d5 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
912b209176 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
8678dfcec6 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
88593551af 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
6b8c86b0e6 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
ea3fbbec06 Bug 403565. Give each contentviewer it's own device context. r+sr=bzbarsky 2008-01-20 18:05:38 -08:00
ccbe75bd97 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
e006bceb6e 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
d54eb567c6 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
a88c4e81b6 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
7260a7259c 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
b45973a344 Bug 363265, fix comment about mTextZoom/mPageZoom members 2007-11-09 14:29:43 -08:00
5baf064a6d 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
5a585a1704 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
79b9a53282 backout Bug 373462, bug 385322. Still regress tp/talos 2007-10-21 09:46:54 -07:00
3ade860bd7 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
2a71a49259 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