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
benjamin%smedbergs.us
7262cdad6d
Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me
...
git-svn-id: svn://10.0.0.236/trunk@224885 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-23 14:22:04 +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
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
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
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
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
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
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
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
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
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
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
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
caillon%returnzero.com
8a1bf17a45
Re-landing these because I don't believe this are responsible for the Txul spike.
...
Bug 181975 - Convert layout to use nsIPrefService, nsIPrefBranch, and friends.
r/sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@135125 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 14:05:41 +00:00
caillon%returnzero.com
d751688cb9
Backing out these changes since they appear to have caused a Txul regression on some tinderboxes (not all... weird...)
...
git-svn-id: svn://10.0.0.236/trunk@135111 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 05:11:02 +00:00
caillon%returnzero.com
6b60a8affb
Bug 181975 - Convert layout to use nsIPrefService, nsIPrefBranch, and friends.
...
r/sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@135068 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-10 23:41:12 +00:00
rods%netscape.com
f7e07db9b7
This partially backs out the previous patch. We no longer need to set/get anything in the nsIPrintOptions.
...
What this does is:
1) Reflows the first time constrained and remembers mOverflowArea.XMost() of
the HTML frame and then later uses that for the calculation of the ratio.
2) Renames some variables
3) This also changes the the maximum STF ratio from 0.5 to 0.3 to match the
dropdown in PP
Bug 168961 r=dcone sr=kin
git-svn-id: svn://10.0.0.236/trunk@130520 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-26 11:25:04 +00:00
rods%netscape.com
1b7abf58ea
Change STF to use an unconstrainad reflow instead of searching for the widest frame
...
Bug 168961 r=dcone sr=kin
git-svn-id: svn://10.0.0.236/trunk@130082 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-19 21:45:07 +00:00
roc+%cs.cmu.edu
45a8f7c62d
Bug 164625. Native regions on Linux (and probably some other platforms) are limited to 16bit signed coordinates, so we have to use our own region implementation to manipulate regions in twips space. Using our own regions should also improve performance. r=kmcclusk,sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@128522 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-30 03:32:05 +00:00
rods%netscape.com
b9882159d7
Add PR_LOGGING for printing
...
Bug 121622 r=dcone sr=kin
git-svn-id: svn://10.0.0.236/trunk@123612 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 21:51:13 +00:00
rods%netscape.com
fa1b0e717d
The problem here is the "edge" prefs are now preficed with the printer name,
...
and the nsPrintOptions know how to convert the printer name, so we need to add
a helper method to nsIPrintOptions.idl so the nsSimplePageSeq can get the properly named value.
Bug 140669 r=dcone sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@121923 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 10:53:45 +00:00
rods%netscape.com
fe2355ea4d
Turn on pluggable dialogs (second part of checkin, first part Bug 135441)
...
Bug 115136 r=dcone sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@120936 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 12:03:37 +00:00
rods%netscape.com
65023cbef8
1) This adds in a new layout atom for the SequenceFrame
...
2) Now checks all the SeqFrame's children (PageFrames) instead of just the first one
Bug 71609 r=dcone sr=attinasi a=asa
git-svn-id: svn://10.0.0.236/trunk@115714 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 12:55:20 +00:00
rods%netscape.com
1d1f95e7c0
1) Enables the PageSeq frame to specify the "gap" of gray space around
...
it in Print Preview
2) It now positions the page in the window with the gray "gap" showing.
3) factors out code for calc'ing the number of pages
4) Adds the methods to get the number of page while in PP
Bug 125151 r=sgehanisr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114536 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 23:18:09 +00:00
rods%netscape.com
4d135d7b9b
1) It moves the BeginDocument to a earlier place in the call change
...
2) Fixes the negitive page range display problem
3) Improves performance by reducing the delay on pages not in the page range, i.e. before if you printed the 30th page out of 31 you had to wait 15 secs to get to the 30th page to print it.
4) Added AbortDocument, so now when Print jobs are cancelled we call AbortDocument and remove them from the print spooler
5) Fixed a couple of minor issue with Canceling and cancelling mail printings
6) selection was not printing correctly. The problem with selection was that the clip was not being set corrctly.
Bug 115227 & 123181 r=dcone,sspitzer sr=attainasi
git-svn-id: svn://10.0.0.236/trunk@114276 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 13:33:39 +00:00
rods%netscape.com
82a2414831
enable a margin like gap specification for printing on unix
...
make it settable via the joboptions dialog
Bug 102596 r=roland sr=kin
git-svn-id: svn://10.0.0.236/trunk@113423 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 15:31:15 +00:00
dbaron%fas.harvard.edu
b7194a0ea8
Replace the BodyFixupRule with code in nsCSSRendering to fix all the problems with dynamic style changes and backgrounds on the root element and the BODY element. Change the way the HTMLDocumentColorRule (for the table color quirk) is initialized since it used to depend on the BodyFixupRule. b=116161 (also fixes other bugs) r=attinasi sr=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@111511 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 23:46:07 +00:00
rods%netscape.com
ee8a5e4640
Switch public interfaces from nsIPrintOptions to nsIPrintSettings
...
Enabling XP Print Dialog for Windows
Enabling XP Print Progress Dialog
Enabling XP Page Setup Dialog
Fixing nsPrintPreviewContext to use nsIPrintPreviewContext
Bug 113917 r=dcone sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@111213 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-01 12:58:53 +00:00
dcone%netscape.com
be90a7433a
bug=96870 r=rods sr=attinasi. This add abilty to print and print preview background images and color.
...
git-svn-id: svn://10.0.0.236/trunk@109680 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 22:46:41 +00:00
rods%netscape.com
46b3aa6437
Enabling the specifying of the gap around the page for Print Preview
...
and an offset from the edge of the page for headers and footers (used in PP and Printing)
Bug 102596 r=dcone sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@109137 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 15:19:47 +00:00
bzbarsky%mit.edu
068756d821
Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
...
(i.e. where the string is a literal). Bug 104159, r=jag, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@107987 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 01:33:42 +00:00
rods%netscape.com
1100db8190
Initial check in for print preview work it is complied in for Windows and linix only
...
The bulk of print preview can be turned on/off with NS_PRINT_PREVIEW define
Bug 107562 r=kmcclusk sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@107260 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-03 14:59:39 +00:00
gerv%gerv.net
13afb6d0f9
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
...
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
rods%netscape.com
fffbeb35b8
Enables the configuration of headers and footers, via 6 string in the nsIPrintOptions
...
3 for the header and 3 for the footer.
The new codes are &T,&U,&D,&P,&PT (see bug for explanation)
Bug 99415 r=kmcclusk, sr=attinasi a=pdt
git-svn-id: svn://10.0.0.236/trunk@103839 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 14:01:26 +00:00
rods%netscape.com
a74e78a562
Implements Print FrameAsIs and other frame printing options
...
Bug 7201 r=dcone sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@92091 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-12 13:04:29 +00:00
rods%netscape.com
bc01926696
This now enables print listeners, print progress and the cancelling of printing
...
Bug 70946 & Bug 70949 r=dcone,chak sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@90515 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 11:56:03 +00:00
rods%netscape.com
b23e7af50b
This checkin enables mozilla to support the printing of selection, the printing of page ranges, and
...
the printing of headers and footers.
Printing of selection is implemented by the frames figuring out if they are in the selection and painting
if they or not they they don't paint. This also only allows the printing of the first page of
selections, alothough it is well documented where this is implemeted so it can be removed.
Bugs 63426, 31218, 61075 r=dcone,kmcclusk,erik,buster sr=waterson
git-svn-id: svn://10.0.0.236/trunk@85624 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 14:09:34 +00:00
hyatt%netscape.com
7e24c61109
Implementing a generalized recycler and arena for all layout frames. Hoping to improve
...
bug #9489 . Should also definitely fix bug #15916 . r=troy
git-svn-id: svn://10.0.0.236/trunk@55321 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 23:49:50 +00:00
tbogard%aol.net
ae5a81e394
Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
...
git-svn-id: svn://10.0.0.236/trunk@54392 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 06:03:41 +00:00
dmose%mozilla.org
92d791b7b0
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
troy%netscape.com
3513334988
Moved a bunch of stuff out to a nsIFrameDebug interface
...
git-svn-id: svn://10.0.0.236/trunk@52427 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 22:12:45 +00:00
troy%netscape.com
b4fdb0e6c1
General clean up and fixing of compiler warnings
...
git-svn-id: svn://10.0.0.236/trunk@38223 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-03 02:22:10 +00:00
kipp%netscape.com
de60169b67
Reworked frame factory methods; fixed bug 4519
...
git-svn-id: svn://10.0.0.236/trunk@31154 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 22:03:29 +00:00