425 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
d3ebd1725b Bug 293947. Add canvas API to render a DOM window to the canvas, including transparency support. r=vlad,sr=darin,a=asa
git-svn-id: svn://10.0.0.236/trunk@173605 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-19 21:28:58 +00:00
bryner%brianryner.com
7d8cc2fcc3 Fix save/restore of form control contents when reloading (bug 294258). r=sicking, sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@173534 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-18 03:52:33 +00:00
bryner%brianryner.com
b3fad70a54 Fix crash with fast-back enabled when a reload wipes out a cached docshell (bug 293534). r+sr=bzbarsky, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@173450 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-15 00:30:02 +00:00
bzbarsky%mit.edu
6bb181f495 Protect against sizeToContent being called on windows with no content a bit.
Bug 293781, r+sr=roc, a=asa


git-svn-id: svn://10.0.0.236/trunk@173384 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-13 19:47:38 +00:00
bryner%brianryner.com
189a661d09 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.
git-svn-id: svn://10.0.0.236/trunk@173044 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-04 20:22:32 +00:00
jst%mozilla.jstenback.com
ebed1ee784 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
git-svn-id: svn://10.0.0.236/trunk@172848 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 23:48:28 +00:00
roc+%cs.cmu.edu
88019f7491 Bug 288873. Don't let nsSubDocumentFrame tear down a presentation it didn't build. r+sr=bzbarsky,a=asa.
git-svn-id: svn://10.0.0.236/trunk@171844 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-07 04:04:06 +00:00
jst%mozilla.jstenback.com
0c35201318 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
git-svn-id: svn://10.0.0.236/trunk@170897 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-18 15:33:51 +00:00
neil%parkwaycc.co.uk
fd6bd2688a 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
git-svn-id: svn://10.0.0.236/trunk@170561 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-11 11:12:15 +00:00
roc+%cs.cmu.edu
80ebc8eca4 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
git-svn-id: svn://10.0.0.236/trunk@170255 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-07 01:24:22 +00:00
bzbarsky%mit.edu
967cea925d Remove unused and unimplemented attribute on nsIMarkupDocumentViewer. Bug
282973, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@169561 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-21 16:39:01 +00:00
cvshook%sicking.cc
989d0480fb Give XSLT transformed documents a container so that events and focus work properly. Bug 236596.
r/sr=peterv


git-svn-id: svn://10.0.0.236/trunk@168844 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-05 13:41:00 +00:00
bryner%brianryner.com
8ed5dd41fb Remove nsIAutoCopy and fold the functionality into nsSelection.cpp (bug 231343). r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@168595 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-31 23:47:26 +00:00
neil%parkwaycc.co.uk
e717d9b1f9 Bug 276002 Change nsContenUtils::Get/FormatLocalizedString to use nsXPIDLString to save on nsAutoString copies r=dbaron sr=bryner
git-svn-id: svn://10.0.0.236/trunk@167959 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-18 23:46:59 +00:00
neil%parkwaycc.co.uk
29a910e811 Bug 274703 sizeToContent doesn't compute the correct size in certain cases e.g. after setting description text r=jst sr=bz
git-svn-id: svn://10.0.0.236/trunk@167790 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-15 18:01:22 +00:00
bryner%brianryner.com
82d9392c4f Add a mechansim to extend the list of agent or user stylesheets. Bug 179006, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@167752 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-15 00:10:19 +00:00
bzbarsky%mit.edu
18540085b3 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


git-svn-id: svn://10.0.0.236/trunk@167578 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-12 04:11:26 +00:00
bzbarsky%mit.edu
e272c87dda Remove the long-deprecated nsIWebShell interface. Bug 273319, r=biesi, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@167223 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-03 22:51:17 +00:00
bmlk%gmx.de
e547c59f49 remove unused prescontext argument from GetOffsetFromView bug 276015 r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@167037 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-26 19:48:54 +00:00
dbaron%dbaron.org
bdd42a3253 Restore old code that prevents printing or previewing XUL documents, since it still doesn't work. b=240490 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@167026 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-24 22:27:57 +00:00
dbaron%dbaron.org
13decbac15 Remove nsFormControlHelper::GetLocalizedString, improve string bundle methods in nsContentUtils, and convert callers. b=273829 r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@166823 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-17 20:40:48 +00:00
dbaron%dbaron.org
bd7b973b00 Remove unneeded include. b=272151
git-svn-id: svn://10.0.0.236/trunk@166370 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-07 02:28:38 +00:00
bzbarsky%mit.edu
148fa42371 Put an update view batch around zoom-setting so we don't get drawing
artifacts.  Bug 270032, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@166004 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-01 03:28:44 +00:00
neil%parkwaycc.co.uk
18c53f2f32 Bug 267302 Views should be created by the view manager r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@164914 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-04 15:06:50 +00:00
dbaron%dbaron.org
82b0955d8d Store the visible area so other callers of InitialReflow use the right size rather than 0x0. b=227361 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@163676 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-13 21:59:26 +00:00
roc+%cs.cmu.edu
1df6a398e4 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
git-svn-id: svn://10.0.0.236/trunk@163455 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-09 01:39:21 +00:00
jst%mozilla.jstenback.com
8daad17357 Fixing bug 260385. Prevent popups from opening from beforeunload events. r=danm.moz@gmail.com, sr=bzbarsky@mit.edu, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@162730 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-23 23:39:16 +00:00
cbiesinger%web.de
49a0c9fc4b Bug 258411 - fixing regression from bug 250342: wrong z-order for frames
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@162450 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-16 13:02:54 +00:00
roc+%cs.cmu.edu
ab88d1e1ac Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine
git-svn-id: svn://10.0.0.236/trunk@162269 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-14 02:28:03 +00:00
dbaron%dbaron.org
371342cda8 Land bug 72747 in pieces: Simplify the mechanism used to prevent framesets from having scrollbars. b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161766 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 19:51:21 +00:00
dbaron%dbaron.org
e53ac83c0a Back out previous round of bug 72747 changes due to Tp regression.
git-svn-id: svn://10.0.0.236/trunk@161749 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 08:34:55 +00:00
dbaron%dbaron.org
b8499fbfc0 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
git-svn-id: svn://10.0.0.236/trunk@161744 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 06:53:36 +00:00
dbaron%dbaron.org
f8361bf5d6 Land bug 72747 in pieces: make users of nsIScrollable use nsIScrollable::Scrollbar_* instead of NS_STYLE_OVERFLOW_*. b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161727 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-03 21:58:39 +00:00
bryner%brianryner.com
43628f9edf 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.


git-svn-id: svn://10.0.0.236/trunk@161442 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-29 03:08:44 +00:00
dbaron%dbaron.org
dcf4bae71a Back out the rest of bug 72747 due to Tp regression.
git-svn-id: svn://10.0.0.236/trunk@161373 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-27 01:26:55 +00:00
dbaron%dbaron.org
ed6372cf2f 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
git-svn-id: svn://10.0.0.236/trunk@161333 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 17:11:20 +00:00
peterv%propagandism.org
5ef4cd4c2d Fix for bug 256514 (Links don't work in documents created via XSLT). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@161230 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-25 14:17:40 +00:00
neil%parkwaycc.co.uk
0bbab9b402 Bug 32372 should be possible to completely disable CSS p=fantasai@inkedblade.net r=me (xpfe) r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@160395 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-05 11:38:42 +00:00
bryner%brianryner.com
865734bf2f Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
bryner%brianryner.com
b17b3249f7 Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@160067 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-29 19:41:39 +00:00
dbaron%dbaron.org
59572fab24 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
git-svn-id: svn://10.0.0.236/trunk@159965 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-28 07:08:41 +00:00
cbiesinger%web.de
fcb6339a9e removing unused variable, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@159445 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-18 20:57:52 +00:00
jst%mozilla.jstenback.com
c70cf3ddf4 Landing fix for bug 239202, patch by trev@gtchat.de. Making nsIScriptGlobalObjectOwner not scriptable. r+sr=jst@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@159342 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 17:03:10 +00:00
bzbarsky%mit.edu
1b04542f5d Fix preshints in anonymous content some more (by moving all document sheet
styleset munging out of the document viewer and into the document and splitting
out the preshint levels completely from the other CSS levels).  Bug 234861,
r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@159283 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-15 20:30:30 +00:00
roc+%cs.cmu.edu
0b0fa89131 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
cbiesinger%web.de
ff1bd6473d bug 196380
o) move nsCopySupport into content (from layout), it belongs there better
o) add an |currentURI| attribute to nsIImageLoadingContent which allows access to the URI that is currently being displayed
o) use that from the image uri copy code
xpfe part: r=neil.parkwaycc.co.uk sr=bz rest: r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@157435 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-05 17:57:00 +00:00
neil%parkwaycc.co.uk
bc6971b8a2 Bug 245024 Fix crash in print preview by blocking click events r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@157414 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-04 22:06:05 +00:00
bzbarsky%mit.edu
3972cb4509 Make sure to flush out content and style updates when calling sizeToContent.
Bug 244235, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@157056 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-28 16:03:09 +00:00
bzbarsky%mit.edu
73690f9d73 Change FlushPendingNotifications to have more granularity and update callers to
only flush the things they really need flushed.  Bug 144072, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@157037 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-27 22:08:42 +00:00
smontagu%smontagu.org
280b8ea34e Fix flipping of Arabic text when pasted to clipboard. Bug 197375, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@156797 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-23 09:15:23 +00:00