Commit Graph

822 Commits

Author SHA1 Message Date
sharparrow1@yahoo.com
9df767b1c4 Bug 331415: some printing code cleanup. r+sr=roc. 2006-03-30 00:27:42 +00:00
Olli.Pettay@helsinki.fi
6ba912b316 Bug 234455, Centralize event dispatch r=jst, sr=bz 2006-03-07 17:08:51 +00:00
bzbarsky@mit.edu
7aa8e16b6b Remove the mPresShell member of nsBoxObject, and some other cleanup. Bug
329181, r=neil, sr=jst
2006-03-07 03:20:39 +00:00
roc+@cs.cmu.edu
a1b6a30f14 Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others 2006-01-26 02:29:17 +00:00
timeless@mozdev.org
9784d3cdb3 Bug 319854 Firefox crashes on redirect after Firefox-warning [@ DocumentViewerImpl::PermitUnload
r=jst sr=jst
2006-01-12 06:30:05 +00:00
neil@parkwaycc.co.uk
53dfc2dda7 Bug 318128 Fix abuse of the CSS loader as a service r=bsmedberg sr=bz 2005-12-09 11:10:36 +00:00
dbaron@dbaron.org
0c9c697a74 Make wrapper preservation (the mechanism that makes the GC use reachability information between certain C++ objects rather than rooting at language boundaries) use an interface (nsIDOMGCParticipant) to get reachability information. Preserve the wrappers for event handlers as long as what they are attached to is reachable (from C++ or JS) to avoid entraining event handler closures in cycles. b=241518 r=mrbkap sr=jst 2005-12-03 07:42:40 +00:00
jst@mozilla.jstenback.com
61c08f932c Fixing bug 318461. Move SetNewDocument() and SetOpenerWindow() from nsIScriptGlobalObject to nsPIDOMWindow to clean out non-script related methods form the nsIScriptGlobalObject interface. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu 2005-12-01 19:35:27 +00:00
mrbkap@gmail.com
d4f74f6678 bug 317370: Remove the vestigial aRemoveEventListeners parameter to SetNewDocument. r+sr=jst 2005-11-30 23:41:49 +00:00
jst@mozilla.jstenback.com
3434d072e9 Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org 2005-11-28 23:56:44 +00:00
smontagu@smontagu.org
e982e33f3f Reflow when Bidi options are changed. Bug 80352, r+sr=bzbarsky 2005-11-13 09:55:09 +00:00
bryner@brianryner.com
e1880f42be Unhook subframe containers / link handlers when putting a document into bfcache, and restore them when restoring the document (bug 314549). r+sr=bzbarsky. 2005-11-06 19:23:03 +00:00
bryner@brianryner.com
728bfd52b7 Restore the focus listener in Open() that was removed in Close() (bug 314400). Patch by saito@densan.co.jp, r=me, sr=brendan. 2005-11-01 21:55:34 +00:00
cvshook@sicking.cc
a35090f688 Bugs 292962 and 311269: Make pages in bf cache not behave as if they have a presentation, and evict pages from the bf cache synchronously if they are modified.
r/sr=bryner
2005-10-07 20:20:52 +00:00
peterv@propagandism.org
f0f73b071d Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null), remove some includes. Patch by sicking, updated by peterv, r=bz, sr=peterv. 2005-09-26 14:37:29 +00:00
bryner@brianryner.com
744c4462e5 Add a global limit to the number of cached content viewers that scales with the amount of physical memory. Patch by Marria Nazif <marria@gmail.com>. Bug 292965, r=biesi, sr=me. 2005-09-23 18:16:40 +00:00
mrbkap@gmail.com
40adf6d4b3 bug 308788: DocumentViewerImpl needs to QI to nsISupports for things to work correctly. r+sr=dbaron 2005-09-16 19:57:20 +00:00
dougt@meer.net
031c929b87 This fixes the NS_PRINTING configure option which got broken at some point. b=308629 r/sr=jst@mozilla.org 2005-09-16 02:25:37 +00:00
bryner@brianryner.com
b9d5a8d626 Backing out 292965 until Tp regression is understood. 2005-09-14 07:28:05 +00:00
bryner@brianryner.com
50db1f9456 Add a global limit to the number of cached content viewers that scales with the amount of physical memory. Patch by Marria Nazif <marria@gmail.com>. Bug 292965, r=biesi, sr=me. 2005-09-14 03:38:40 +00:00
bzbarsky@mit.edu
16d0db8fb3 Improve the CSSLoader API: make it clear which methods return results
sync and which return async, move the handling of alternates more completely
into the CSSLoader, make it possible for observers to tell whether the load
actually succeeded.  Bug 293825, r+sr=peterv
2005-09-12 18:41:15 +00:00
smfr@smfr.org
c0eec993a9 Fix bug 208601: DocumentViewerImpl::GetCanGetContents() was incorrectly returning false for text fields, because it was looking at the document's selection, rather than the text field selection. Fix by exposing nsIPresShell::GetSelectionForCopy(), and calling that. This fixes the Services menu in Camino to work in text fields. r/sr=roc. 2005-08-29 15:19:13 +00:00
bzbarsky@mit.edu
93240998ef Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
param.  Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky
2005-08-22 22:24:29 +00:00
bryner@brianryner.com
7d5cea2295 Attempting to fix crashes in RetargetEventToParent (bug 303725). Leave a weak container pointer so that events targetted to cached pres shells can be sent up to the parent, and don't crash if this fails. r=aaronl, sr=dbaron. 2005-08-22 01:55:34 +00:00
bzbarsky@mit.edu
a44fcd622a Document interaction of nsIStyleSheetService with ua.css and user*.css. Bug
305026, r+sr=dbaron
2005-08-20 01:24:00 +00:00
roc+@cs.cmu.edu
6a63a9ba8d Backing out fix for bug 130078 because of performance regressions. 2005-08-18 19:44:55 +00:00
roc+@cs.cmu.edu
1c23354cea Bug 130078. Integrate all view managers in a given top-level window into a single view manager tree. r+sr=dbaron 2005-08-18 17:14:29 +00:00
mrbkap@gmail.com
e9c4956ff4 bug 303267: Store the entire inner window in the window state holder instead of copying properties and restoring them. This fixes going back and forth with the bfcache on when the page gone to has javascript in it. r=jst sr=bryner 2005-08-15 18:16:42 +00:00
cbiesinger@web.de
832526704b bug 292998
- move textZoom storage to the prescontext from the documentviewer
- copy the textZoom between document viewers for fastback
r=bryner sr=dbaron
2005-08-13 11:54:22 +00:00
mrbkap@gmail.com
21ebc95c1f Backing out changes for bug 303267 until the perf hits on the Seamonkey tinderbox can be explained. 2005-08-13 03:54:29 +00:00
mrbkap@gmail.com
8e2412f16e bug 303267: Store the entire inner window object on the history entry instead of copying/restoring JS properties. r=bryner sr=jst. This patch also fixes bugs 304284 and 304078. 2005-08-13 00:53:39 +00:00
dbaron@dbaron.org
69bbf75dda Propagate SetBounds to mPreviousViewer so that resizes work correctly during paint suppression, which is especially important for Firefox infobar. b=290991 r=bzbarsky sr=roc a=bsmedberg 2005-08-02 20:19:19 +00:00
jst@mozilla.jstenback.com
ae436cae87 Landing the split window work, bug 296639. This change doesn't have full reviews yet, bzbarsky@mit.edu and shaver@mozilla.org have done partial reviews, but there's still more to look at. Given the current time constraint this is landed with reviews and followup changes that result to come after the initial checkin. a=drivers 2005-07-30 20:57:07 +00:00
timeless@mozdev.org
d5839f5d80 Bug 302545 crash w/ --enable-timeline [@ DocumentViewerImpl::LoadComplete]
r=bz sr=bz a=asa
2005-07-29 10:09:08 +00:00
mats.palmgren@bredband.net
0744fa0460 (Followup) Fix focus related crashes in Print Preview. b=244128 r+sr=bzbarsky a=benjamin 2005-07-26 00:55:05 +00:00
mats.palmgren@bredband.net
baf3c9caaf Prevent having kbd focus inside the content document in Print Preview. b=244128 r=bryner sr=bzbarsky a=asa 2005-07-21 00:15:27 +00:00
roc+@cs.cmu.edu
198698a2dd Bug 296838. Rework drawWindow a bit so it draws fixed-position elements. r/rs=dbaron,a=asa 2005-07-19 23:24:30 +00:00
timeless@mozdev.org
c9580dfcd3 Bug 299575 nsDocumentViewer.cpp:1329 unused variable `PRBool updateHistory'
patch by b.jacques@planet.nl r=bryner sr=bryner a=bsmedberg
2005-07-13 18:23:27 +00:00
bryner@brianryner.com
9e21801c67 Use PresShell::UnsuppressPainting instead of just an invalidate, to make sure the content area receives focus if needed. Bug 295931, r+sr=dbaron, a=brendan. 2005-07-01 07:12:02 +00:00
roc+@cs.cmu.edu
495aa90152 Backing out fix for bug 296838 to see how it's hurting Tp 2005-06-23 00:17:45 +00:00
roc+@cs.cmu.edu
82b367bc02 Bug 296838. Allow drawWindow to draw fixed-position elements. rubberstamp r+sr=dbaron,a=chofmann 2005-06-21 04:07:04 +00:00
bryner@brianryner.com
1b07a61763 Make sure to null out the pres context's container when putting the page into session history (bug 297173). r+sr=dbaron, a=brendan. 2005-06-21 02:18:57 +00:00
bryner@brianryner.com
673e06d9da null-check mDocument in case firing onload causes it to go away (bug 298022). r=darin, a=asa. 2005-06-17 21:49:01 +00:00
bryner@brianryner.com
d4dcc41647 Protect against handing out a dangling reference to the document viewer while executing the destructor (bug 293403). sr=bzbarsky, a=asa. 2005-06-17 07:01:36 +00:00
bryner@brianryner.com
8fd17efff4 Fix assorted issues with fastback, including adding progress listener notifications and introducing the PageHide and PageShow events. See bug 292971 for all of the details. r=darin, sr=bzbarsky, a=shaver. 2005-06-15 23:52:46 +00:00
bryner@brianryner.com
077a547e07 Fix a crash when tearing down a document viewer if a document never started to load (bug 295085). r+sr=bzbarsky, a=chofmann. 2005-06-02 01:02:16 +00:00
timeless@mozdev.org
e5e8d8495e Bug 289477 crash [@ DocumentViewerImpl::GetPopupImageNode] when popupnode is null
r=biesi sr=bz a=shaver
2005-06-01 16:26:51 +00:00
roc+@cs.cmu.edu
4f4584e329 Bug 293947. Add canvas API to render a DOM window to the canvas, including transparency support. r=vlad,sr=darin,a=asa 2005-05-19 21:28:58 +00:00
bryner@brianryner.com
63a9cb9d7e Fix save/restore of form control contents when reloading (bug 294258). r=sicking, sr=bzbarsky. 2005-05-18 03:52:33 +00:00
bryner@brianryner.com
91b9d38a0b Fix crash with fast-back enabled when a reload wipes out a cached docshell (bug 293534). r+sr=bzbarsky, a=brendan. 2005-05-15 00:30:02 +00:00