sharparrow1%yahoo.com
cdeef2aae3
Bug 374050: add printing test mode to reftests. See bug/sample test for how to make printing tests.
...
git-svn-id: svn://10.0.0.236/trunk@222137 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-21 06:07:42 +00:00
sharparrow1%yahoo.com
490e949d35
Try to fix bustage from bug 371528
...
git-svn-id: svn://10.0.0.236/trunk@220902 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-25 23:23:09 +00:00
sharparrow1%yahoo.com
c18e568063
Bug 371528: Stop creating views for pages. r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@220901 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-25 22:26:47 +00:00
sharparrow1%yahoo.com
56d89ecadc
Bug 371460: Remove clipping functions from views. r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@220868 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-24 15:27:20 +00:00
sharparrow1%yahoo.com
ac106dc516
Bug 370379: Create views less frequently. Stops creating views for -moz-hidden-unscrollable, opacity, fixed backgrounds, and scrollbars, plus removes some unneeded methods from views and view managers. r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@220852 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-24 00:23:42 +00:00
sharparrow1%yahoo.com
279cfa170d
Bug 369834: Get rid of SetAltDevice and friends (and fix print preview). r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@220085 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-13 22:36:59 +00:00
sharparrow1%yahoo.com
dd459d0a71
Bug 177805: Fix the use of units in Gecko. r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@219640 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-07 07:46:44 +00:00
cvshook%sicking.cc
ccd1d6884d
Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
...
git-svn-id: svn://10.0.0.236/trunk@219151 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 00:06:41 +00:00
bzbarsky%mit.edu
343ced44ba
Make mComputedWidth private, with a getter/setter, and make the setter update
...
the resize flags. Bug 367442, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@218933 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 00:05:12 +00:00
dbaron%dbaron.org
103e95ab15
Change the bulk of ascent (baseline) computation to happen on a virtual method on nsIFrame, and remove the redundant descent member from nsHTMLReflowMetrics, primarily to support having both first-line and last-line baselines. b=367332 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@218785 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 04:06:56 +00:00
timeless%mozdev.org
c778d21502
Bug 355300 There should be only one nsGkAtoms creature
...
r=dbaron
git-svn-id: svn://10.0.0.236/trunk@217425 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 17:47:52 +00:00
dbaron%dbaron.org
1ca9f3f372
Bug 300030: Move intrinsic width computation out of nsIFrame::Reflow and into its own methods on nsIFrame. Replace reflow reasons, types, and commands with dirty bits/notifications. Thanks to bzbarsky for almost all of the HTML form controls (mozilla/layout/forms) changes, and many others for help testing and patching. For detailed commit logs, see REFLOW_YYYYMMDD_BRANCH, where YYYYMMDD is one of 20061031, 20060830, 20060603, 20060302, 20060119, 20051011, 20050804, 20050429, 20050315, 20050111, and 20041213.
...
git-svn-id: svn://10.0.0.236/trunk@216738 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 05:38:33 +00:00
sharparrow1%yahoo.com
40150360c3
Bug 345707: print selection cuts off top of selection. r+sr=src.
...
git-svn-id: svn://10.0.0.236/trunk@215783 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-24 08:14:37 +00:00
timeless%mozdev.org
4c8b94c084
Bug 352523 Warning: String literal converted to char* in formal argument aAttr in call to nsFrameUtil::Tag::GetAttr(char*).
...
r=roc sr=roc
git-svn-id: svn://10.0.0.236/trunk@211973 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-19 06:41:07 +00:00
mats.palmgren%bredband.net
0e4fca5671
Improve error handling in nsCSSFrameConstructor::CreateContinuingFrame() and its callers. b=337419 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@208083 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-22 01:33:46 +00:00
sharparrow1%yahoo.com
6a8fff97b1
Bug 334588: Choose font consistently for page headers/footers, and remove localized header font name and size. r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@202147 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-14 16:07:28 +00:00
timeless%mozdev.org
7185e837bc
Bug 337917 Make consumers stop using cids from other modules
...
r=smontagu sr=darin
git-svn-id: svn://10.0.0.236/trunk@198973 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-03 23:35:59 +00:00
sharparrow1%yahoo.com
b1c51e04df
Bug 332927: Cleanup iframe/frame printing code (and a couple other misc. cleanups)
...
git-svn-id: svn://10.0.0.236/trunk@194085 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 01:48:48 +00:00
sharparrow1%yahoo.com
6de1b08e94
Bug 244055: Page layout for editor. There is no UI yet, and caret display is buggy at the moment, but otherwise it works. Patch by Alexandre Trémon, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@193366 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-01 01:19:28 +00:00
sharparrow1%yahoo.com
4faf77261e
Bug 331415: some printing code cleanup. r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@193231 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 00:27:42 +00:00
roc+%cs.cmu.edu
140fbb3377
Bug 330934. Set a nsIFrame's stylecontext in its constructor, to ensure that there's always one available for GetPresContext() to use even if Init hasn't been called. Patch by Marc Liddell, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@193022 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-26 21:30:36 +00:00
sharparrow1%yahoo.com
b588088110
Bug 326157: Get rid of unnecessary clipping code. r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@189284 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 02:22:06 +00:00
cbiesinger%web.de
6322c04952
bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
...
r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 14:18:39 +00:00
roc+%cs.cmu.edu
df8627e29b
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
...
git-svn-id: svn://10.0.0.236/trunk@188202 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 02:29:17 +00:00
bzbarsky%mit.edu
5aa62a4475
Remove unsed code. Bug 307111, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@185923 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-11 20:40:07 +00:00
timeless%mozdev.org
a05383ef1b
Bug 106386 Correct misspellings in source code
...
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@185018 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-20 22:05:24 +00:00
roc+%cs.cmu.edu
c4e0410c6e
Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell
...
git-svn-id: svn://10.0.0.236/trunk@184129 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-04 02:38:33 +00:00
dougt%meer.net
3d7bcc8055
Windows CE build changes. This addresses most of the outstanding Windows
...
CE compilation issues.
This patch also fixes/removes CheckStackGrowthDirection assertions in
Javscript. This change is based on bug 242518. See comment 36.
This patch also removes the unused enum in transformiix . See bug
292118.
r/sr = dveditz/shaver
b = 291229
a = asa
git-svn-id: svn://10.0.0.236/trunk@172870 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-29 13:33:49 +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
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
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
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
cbiesinger%web.de
b27e0031f5
Bug 252948 remove *WithConversion in layout
...
r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@159832 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-25 12:18:04 +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
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
2ac510b678
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155068 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:30:37 +00:00
tor%cs.brown.edu
996688b00b
Bug 240274 - remove PopState() argument. r=blizzard, sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@155061 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 13:13:35 +00:00
bzbarsky%mit.edu
9c2f7023ff
Fix bug 231280 (printing not honoring OS date format). Patch by Constantine
...
A. Murenin <cnst.bmo@bugmail.mojo.ru>, r=jshin, sr=roc, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@152811 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-16 05:31:25 +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
bryner%brianryner.com
2dce372072
DeCOMtaminate nsCSSFrameConstructor (bug 231157). This gets rid of the nsIStyleFrameConstruction and nsICSSFrameConstructor interfaces. The frame constructor now has the same lifetime as the pres shell. r+sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@151662 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-21 23:05:10 +00:00
roc+%cs.cmu.edu
35c266025d
Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@151077 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 14:20:53 +00:00
bryner%brianryner.com
468d3e2e8d
Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@150998 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-07 22:30:53 +00:00
bryner%brianryner.com
b5347dd60c
Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky.
...
git-svn-id: svn://10.0.0.236/trunk@150598 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-21 05:36:36 +00:00
uid502
e56ed2443c
Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@148665 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-31 20:19:18 +00:00
jaggernaut%netscape.com
f34216bf2d
Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@144992 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-20 07:47:59 +00:00
roc+%cs.cmu.edu
37f8ccb7f1
Ongoing deCOMtamination. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@144282 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-30 18:52:23 +00:00
dbaron%dbaron.org
519cf3b3d3
DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@143960 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-19 23:44:01 +00:00
timeless%mozdev.org
dfb31d244f
Bug 205363 Remove SendStatusNotification/nsIPrintStatusCallback
...
r=dbaron sr=dmose
git-svn-id: svn://10.0.0.236/trunk@142851 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 22:10:13 +00:00