172 Commits

Author SHA1 Message Date
dholbert%cs.stanford.edu
699a0dfc30 bug 433284 - Needed to reposition child views after sliding container frame during print-selection. r+sr=roc a=beltzner
git-svn-id: svn://10.0.0.236/trunk@252539 18797224-902f-48f8-a5cc-f745e15eee43
2008-06-24 16:37:17 +00:00
dholbert%cs.stanford.edu
096b1a2789 Bug 430878: Call PositionChildViews after sliding selection to top of page, to fix mispositioned scrollframes in print selection. r+sr=roc a=dsicore
git-svn-id: svn://10.0.0.236/trunk@250896 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-28 22:55:04 +00:00
dholbert%cs.stanford.edu
9d23139b1f Bug 429337: re-landing patch, with bustage fix. (bustage fix initializes nsPrintSettingsGTK::mPrintSelectionOnly to false in default constructor. Wasn't getting initialized before.)
git-svn-id: svn://10.0.0.236/trunk@250591 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-22 01:18:27 +00:00
dholbert%cs.stanford.edu
549a6515e1 Backing out bug 429337 to fix broken printing reftests on linux test box.
git-svn-id: svn://10.0.0.236/trunk@250589 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-22 00:48:12 +00:00
dholbert%cs.stanford.edu
db9df4ab53 Bug 429337: During print-selection, don't use an unconstrained page height everywhere -- just on the reflowSize (where we need it, to catch selections on pages beyond the first). r+sr=roc a=beltzner
git-svn-id: svn://10.0.0.236/trunk@250582 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-21 22:36:26 +00:00
dholbert%cs.stanford.edu
878713b32d Bug 389949, second patch: rotate landscape-mode printed output in Linux. (so we don't end up printing landscape-oriented content on top of portrait-oriented paper.) r+sr=vlad a=blocking1.9
git-svn-id: svn://10.0.0.236/trunk@249759 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-08 00:32:49 +00:00
dholbert%cs.stanford.edu
a4fe313ff2 Bug 417356: Define & use "UnwriteableMargin" PrintSettings pref, to make Linux printing work more like Mac printing (keeping us from printing right up against the edge of the page) Orig Patch: [r=ventron sr=roc] Updates: [r=ventron r+sr=vlad] a=blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@248195 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-19 20:51:44 +00:00
dholbert%cs.stanford.edu
4f78efb0fa Backing out Bug 417356, due to pagination reftest failures.
git-svn-id: svn://10.0.0.236/trunk@247807 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-14 08:50:15 +00:00
dholbert%cs.stanford.edu
d1e031e4f4 Bug 417356: Define & use "UnwriteableMargin" PrintSettings pref, to make Linux printing work more like Mac printing (keeping us from printing right up against the edge of the page) r=ventron sr=roc a=blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@247802 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-14 07:48:07 +00:00
fantasai.cvs%inkedblade.net
a37d7d6527 give page content frames a computed size so height: 100% works, b=411382 r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@245289 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-09 02:54:55 +00:00
dholbert%cs.stanford.edu
ba5b60e98a Bug 414075: Set the correct dead space gap value in Print Preview.
Patch by Jeremy Lea <reg@openpave.org>  r+sr=roc a1.9b3=schrep


git-svn-id: svn://10.0.0.236/trunk@244577 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-31 06:12:52 +00:00
reed%reedloden.com
2ce7dee897 Bug 328718 - "GetEdgePaperMarginCoord should extend one inch" [p=hb@calen.de (Hb) r+sr+a1.9=roc]
git-svn-id: svn://10.0.0.236/trunk@244316 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-29 07:38:20 +00:00
reed%reedloden.com
121f7293a7 Bug 404519 - "some margin and edges twips/app units confusion" [p=reg@freebsd.org (Jeremy Lea) / chpe@gnome.org (Christian Persch) r+sr=roc a1.9=schrep]
git-svn-id: svn://10.0.0.236/trunk@239766 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-21 05:09:59 +00:00
reed%reedloden.com
3f447aec1a Bug 396278 - "should take edge values from print settings instead of prefs" [p=chpe r+sr=roc r=gavin a1.9=schrep]
git-svn-id: svn://10.0.0.236/trunk@239345 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-13 19:14:08 +00:00
rflint%ryanflint.com
e6b475c523 Backout bug 396278 due to failing reftests
git-svn-id: svn://10.0.0.236/trunk@239320 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-13 14:18:37 +00:00
reed%reedloden.com
cbc9ce1972 Bug 396278 - "should take edge values from print settings instead of prefs" [p=chpe r+sr=roc r=gavin a1.9=schrep]
git-svn-id: svn://10.0.0.236/trunk@239303 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-13 10:30:40 +00:00
fantasai.cvs%inkedblade.net
3a00ff8d0e paginate absolutely-positioned elements, b=154892 r+sr=roc a=roc
git-svn-id: svn://10.0.0.236/trunk@237057 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-02 05:57:46 +00:00
bzbarsky%mit.edu
3524c6eee1 Introduce a setter for nsHTMLReflowState::mComputedHeight so that we're sure to
update the resize flags properly.  Bug 388084, r+sr+a=dbaron


git-svn-id: svn://10.0.0.236/trunk@231323 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 18:08:07 +00:00
jwalden%mit.edu
dda6ff3c99 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
mats.palmgren%bredband.net
fd18364353 Cleanup implementations of QueryInterface. b=385750 r+sr=dbaron r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@229301 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-04 02:15:35 +00:00
bzbarsky%mit.edu
7c3bc64daf Don't do incremental reflow for now, because tables can't deal. Followup for
bug 378480, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@225073 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-26 05:33:34 +00:00
bzbarsky%mit.edu
116d69628c Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch by
Taras Glek <tglek@mozilla.com>, rs=roc.


git-svn-id: svn://10.0.0.236/trunk@222659 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-30 21:11:47 +00:00
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