Commit Graph

734 Commits

Author SHA1 Message Date
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
bzbarsky@mit.edu
9b422dab64 Protect against sizeToContent being called on windows with no content a bit.
Bug 293781, r+sr=roc, a=asa
2005-05-13 19:47:38 +00:00
bryner@brianryner.com
9d9b2e7a47 Add support for caching content viewers in session history to speed up back/forward (bug 274784). This initial landing has the feature disabled by default; set browser.sessionhistory.max_viewers to the maximum number of pages to cache to enable the feature. r=bzbarsky, sr/a=brendan. 2005-05-04 20:22:32 +00:00
jst@mozilla.jstenback.com
f54c1fc9b1 Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org 2005-04-28 23:48:28 +00:00
roc+@cs.cmu.edu
a1a1cb809a Bug 288873. Don't let nsSubDocumentFrame tear down a presentation it didn't build. r+sr=bzbarsky,a=asa. 2005-04-07 04:04:06 +00:00
jst@mozilla.jstenback.com
6049cbccb0 Fixing bug 245809. Implement event.returnValue (IE:ism) for beforeunload events as the mechansim for passing data back to the browser from a beforeunload handler that was registerd with addEventListener(). r=bzbarsky@mit.edu, sr=peterv@propagandism.org 2005-03-18 15:33:51 +00:00
neil@parkwaycc.co.uk
bd2100c9d9 Add HTML to the list of support flavours for Copy Image and provide an embedding interface to choose the flavours to copy b=135300 r=bz sr=smfr 2005-03-11 11:12:15 +00:00
roc+@cs.cmu.edu
512c5abaf9 Bug 285038. Support offscreen rendering API in nsIViewManager and provide MOZ_FORCE_PAINT_AFTER_ONLOAD environment variable hack to dump loaded documents to image files. r+sr=bzbarsky 2005-03-07 01:24:22 +00:00
bzbarsky@mit.edu
12cecc94e2 Remove unused and unimplemented attribute on nsIMarkupDocumentViewer. Bug
282973, r+sr=jst
2005-02-21 16:39:01 +00:00
cvshook@sicking.cc
653eb752fd Give XSLT transformed documents a container so that events and focus work properly. Bug 236596.
r/sr=peterv
2005-02-05 13:41:00 +00:00
bryner@brianryner.com
ca100921ee Remove nsIAutoCopy and fold the functionality into nsSelection.cpp (bug 231343). r+sr=roc. 2005-01-31 23:47:26 +00:00
neil@parkwaycc.co.uk
0ce0d4a0d3 Bug 276002 Change nsContenUtils::Get/FormatLocalizedString to use nsXPIDLString to save on nsAutoString copies r=dbaron sr=bryner 2005-01-18 23:46:59 +00:00
neil@parkwaycc.co.uk
72c0db0572 Bug 274703 sizeToContent doesn't compute the correct size in certain cases e.g. after setting description text r=jst sr=bz 2005-01-15 18:01:22 +00:00
bryner@brianryner.com
d1ed3c59cb Add a mechansim to extend the list of agent or user stylesheets. Bug 179006, r+sr=bzbarsky. 2005-01-15 00:10:19 +00:00
bzbarsky@mit.edu
a4bc44bec9 Make DocumentViewerImpl::CopyImageContents also put the image URI on the
clipboard in the text flavor; a big step toward having a single "copy image"
command that puts it on the clipboard in all relevant flavors in a meaningful
way.  Bug 135300, patch by O. Atsushi (Torisugari) <torisugari@gmail.com>,
r=bzbarsky, sr=jst
2005-01-12 04:11:26 +00:00
bzbarsky@mit.edu
676f03a288 Remove the long-deprecated nsIWebShell interface. Bug 273319, r=biesi, sr=jst. 2005-01-03 22:51:17 +00:00
bmlk@gmx.de
7d4129e77a remove unused prescontext argument from GetOffsetFromView bug 276015 r/sr=dbaron 2004-12-26 19:48:54 +00:00
dbaron@dbaron.org
e5bf8541c0 Restore old code that prevents printing or previewing XUL documents, since it still doesn't work. b=240490 r+sr=roc 2004-12-24 22:27:57 +00:00
dbaron@dbaron.org
1496ebd8f5 Remove nsFormControlHelper::GetLocalizedString, improve string bundle methods in nsContentUtils, and convert callers. b=273829 r+sr=bryner 2004-12-17 20:40:48 +00:00
dbaron@dbaron.org
8609b339f0 Remove unneeded include. b=272151 2004-12-07 02:28:38 +00:00
bzbarsky@mit.edu
df4b8eed57 Put an update view batch around zoom-setting so we don't get drawing
artifacts.  Bug 270032, r+sr=roc
2004-12-01 03:28:44 +00:00
neil@parkwaycc.co.uk
524edd3289 Bug 267302 Views should be created by the view manager r+sr=roc 2004-11-04 15:06:50 +00:00
dbaron@dbaron.org
2c206f1d9c Store the visible area so other callers of InitialReflow use the right size rather than 0x0. b=227361 r+sr=roc 2004-10-13 21:59:26 +00:00
roc+@cs.cmu.edu
6fe6fe7e87 Bug 262760. Do Begin/EndUpdateViewBatch around all reflows and restyling. Also, make the refresh flags in EndUpdateViewBatch mean the same thing as they do in UpdateView. In particular we introduce NS_VMREFRESH_DEFERRED. r+sr=bzbarsky 2004-10-09 01:39:21 +00:00
jst@mozilla.jstenback.com
ee41c34265 Fixing bug 260385. Prevent popups from opening from beforeunload events. r=danm.moz@gmail.com, sr=bzbarsky@mit.edu, a=asa@mozilla.org 2004-09-23 23:39:16 +00:00
cbiesinger@web.de
e80b04112f Bug 258411 - fixing regression from bug 250342: wrong z-order for frames
r+sr=roc
2004-09-16 13:02:54 +00:00
roc+@cs.cmu.edu
f6d4272f10 Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine 2004-09-14 02:28:03 +00:00
dbaron@dbaron.org
d24b2e213e Land bug 72747 in pieces: Simplify the mechanism used to prevent framesets from having scrollbars. b=72747 r+sr=roc 2004-09-04 19:51:21 +00:00
dbaron@dbaron.org
fd73f4f5e2 Back out previous round of bug 72747 changes due to Tp regression. 2004-09-04 08:34:55 +00:00
dbaron@dbaron.org
eae89236f3 Land bug 72747 in pieces: Simplify the mechanisms used to prevent framesets from having scrollbars and used to implement the scrolling attribute on frames and iframes. Implement scrolling='yes'. b=72747 r+sr=roc 2004-09-04 06:53:36 +00:00
dbaron@dbaron.org
bd84afd01e Land bug 72747 in pieces: make users of nsIScrollable use nsIScrollable::Scrollbar_* instead of NS_STYLE_OVERFLOW_*. b=72747 r+sr=roc 2004-09-03 21:58:39 +00:00
bryner@brianryner.com
5ad343526a More nsIPresShell deCOMtamination:
- Made Get/SetAuthorStyleDisabled and ReconstructStyleData non-virtual when called internally.
- Inlined GetFrameSelection and renamed it to FrameSelection.
- Removed non-inline version of GetViewManager.
- Removed unused EnablePrefStyleRules and ArePrefStyleRulesEnabled.

Bug 253889, r+sr=roc.
2004-08-29 03:08:44 +00:00
dbaron@dbaron.org
2cdc552cce Back out the rest of bug 72747 due to Tp regression. 2004-08-27 01:26:55 +00:00
dbaron@dbaron.org
f2ad5967af Implement 'overflow-x' and 'overflow-y' CSS properties, long implemented by IE for Windows and proposed for CSS3. Implement scrolling='yes' and equivalents on frame and iframe. Various pieces of related cleanup (see comment 22 in bug). b=72747 r+sr=roc 2004-08-26 17:11:20 +00:00
peterv@propagandism.org
b08eeebc11 Fix for bug 256514 (Links don't work in documents created via XSLT). r/sr=jst. 2004-08-25 14:17:40 +00:00
neil@parkwaycc.co.uk
1e77310f88 Bug 32372 should be possible to completely disable CSS p=fantasai@inkedblade.net r=me (xpfe) r/sr=dbaron 2004-08-05 11:38:42 +00:00
bryner@brianryner.com
6cde4639f0 Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
bryner@brianryner.com
15745b0b06 Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc. 2004-07-29 19:41:39 +00:00
dbaron@dbaron.org
08d6baff75 Move things that aren't author stylesheets out of nsDocument's mStyleSheets array to simplify stylesheet management code. Add a level of the cascade for style attributes and ensure that there's only one rule processor per level of the cascade, and simplify the logic of nsCSSRuleProcessor creation. b=252578 r+sr=bzbarsky 2004-07-28 07:08:41 +00:00