405 Commits

Author SHA1 Message Date
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
roc+%cs.cmu.edu
bdc7e5f59b Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
git-svn-id: svn://10.0.0.236/trunk@156785 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 22:15:22 +00:00
aaronleventhal%moonset.net
c7ce2f4da0 Bug 242799. Fix touchpad scrolling but keep support for screen reader behavior based on class names. r=ere, sr=roc
git-svn-id: svn://10.0.0.236/trunk@156625 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-20 03:14:41 +00:00
roc+%cs.cmu.edu
92e59ef827 Backing out 233441.
git-svn-id: svn://10.0.0.236/trunk@156464 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-17 16:29:13 +00:00
aaronleventhal%moonset.net
abce918e1b Bug 242790. Tabbing, accessibility and other things broken because GetSubDocumentFor regressed. r=bryner, sr=jst
git-svn-id: svn://10.0.0.236/trunk@156084 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-07 11:57:10 +00:00
roc+%cs.cmu.edu
1eea5c536c Bug 233441. Make nsViewManager always have a root view, you can't change it. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@156019 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-06 03:17:14 +00:00
bryner%brianryner.com
7247372aa3 deCOMtaminate nsPIDOMWindow (bug 242111). r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@155867 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-03 21:48:36 +00:00
jst%mozilla.jstenback.com
74089032ff Fixing bug 240543. Hiding some nsIPref* API bloatyness in nsContentUtils. r=caillon@aillon.org, sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@155712 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-29 23:34:19 +00:00
gerv%gerv.net
98831918fc Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155044 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 21:52:36 +00:00
dveditz%cruzio.com
b96bee8c86 bug 240449 infinite loop tickled by some skins, r=bsmedberg, sr=dbaron, a=brendan
git-svn-id: svn://10.0.0.236/trunk@154864 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-14 08:19:27 +00:00
roc+%cs.cmu.edu
adc0d11131 Bug 237091. Remove unnecessary WindowOffset and RootWidget functionality from the view manager. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@154762 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 03:03:18 +00:00
bsmedberg%covad.net
965bf776a9 Bug 233160 - separate style overlays out of nsIXULChomeRegistry r+sr=hyatt with additional lookovers from dbaron+bz
git-svn-id: svn://10.0.0.236/trunk@153758 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 19:59:09 +00:00
bryner%brianryner.com
d956db112f Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@153111 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-23 21:29:06 +00:00
roc+%cs.cmu.edu
b21c7fbd1c Bug 230697. Extend MOZ_FORCE_PAINT_AFTER_ONLOAD so that CSS background image loads delay firing of the onload event. r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@153010 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 06:00:35 +00:00
tor%cs.brown.edu
f06b3be285 Bug 234752 - Print code returns NS_OK in cases where it should return
an error.  Patch by roland.mainz@nrubsig.org, r+sr=roc.


git-svn-id: svn://10.0.0.236/trunk@152971 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 21:58:40 +00:00
timeless%mozdev.org
68e59d72a2 1.148 <jst@mozilla.jstenback.com> 09 Jan 2004 15:54
General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission.
Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org
Fix MOZ_TIMELINE r+sr=bz
Not part of the build


git-svn-id: svn://10.0.0.236/trunk@152768 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-13 22:19:50 +00:00
bzbarsky%mit.edu
886fd90b55 Fix bug 232798 -- make sure to set the link handler on the prescontext to null
when destroying the document viewer.  r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@152656 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 06:48:37 +00:00
jst%mozilla.jstenback.com
d28978604e Fixing bug 68215. Adding support for the onbeforeunload event. r=peterv@propagandism.org, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@152654 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 06:09:51 +00:00
bryner%brianryner.com
7ace3321e6 Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@152647 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 04:57:07 +00:00
bryner%brianryner.com
5b5cd321a4 Guarantee that the pres context's device context will be non-null by returning failure from Init() if it's null. Rename inline getter GetDeviceContext() to DeviceContext(), convert all callers to use the inline getter, and remove the virtual/refcounting getter. Bug 229371, r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@152182 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-02 22:17:21 +00:00
hpradhan%hotpop.com
d2ecf20783 bug 232731 : misc cleanup in printing code
git-svn-id: svn://10.0.0.236/trunk@152139 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-01 12:10:57 +00:00