34 Commits

Author SHA1 Message Date
dbaron%dbaron.org
30879d2c9e Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it's no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@135991 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 19:24:38 +00:00
peterv%netscape.com
3a3c75b9f7 Fix for bug 183999 (Modernize content). r=caillon, sr=bz.
git-svn-id: svn://10.0.0.236/trunk@135128 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 14:24:49 +00:00
caillon%returnzero.com
f85ae2c8ba 182702: Convert printing code to use nsIPrefBranch and nsIPrefService
r=rods sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@134753 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-04 02:03:17 +00:00
peterv%netscape.com
d103a96ada Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@134587 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-29 23:44:07 +00:00
rods%netscape.com
337ea6f743 Instead of at the end of of the PO it needs to be in the middel of reflow
where we bail out earlier, basically same fix different location
Bug 149710 r=dcone sr=jst


git-svn-id: svn://10.0.0.236/trunk@134329 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-22 13:06:58 +00:00
rods%netscape.com
52fac3b22e The search for the selected frames was not looking in all the child lisst for each frame
Bug 181228 r=dcone sr=jst


git-svn-id: svn://10.0.0.236/trunk@134328 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-22 13:02:05 +00:00
timeless%mozdev.org
99731b5e88 Bug 58221 don't use strlen to check if a string is of length 0
patch by aaronl@vitelus.com r=timeless sr=bz


git-svn-id: svn://10.0.0.236/trunk@133999 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-17 05:16:49 +00:00
rods%netscape.com
db61201a30 change STF threshold to 60%
Bug 175316 r=dcone sr=alecf a=dbaron


git-svn-id: svn://10.0.0.236/trunk@132457 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-24 09:31:52 +00:00
rods%netscape.com
f94983c561 This patch is a bit different, instead of having the DocShell figure out whether it or one of its children are printing or PP, it gets told whether it is, and it caches that value.
This was done so navigation is as fast as possible, meaning it doesn't have to figure it out each time.
The patch:
1) Adds a method to the nsIContentViewerContainer to tell it whether we are printing or in PP.
2) Fix up the DV and PrintEngine, the DV SetIsXXXX didn't need to set any
values in the PrintEngine, but now instead makes calls and sets the values in DocShells
3) Cleaned up and add a macro to nsIDocumentViewerPrint
Bug 171161 r=dcone sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@131423 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 13:17:56 +00:00
seawood%netscape.com
5b245a4162 Fixing static build bustage caused by checkin for bug 158110.
git-svn-id: svn://10.0.0.236/trunk@131114 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-04 00:27:14 +00:00
rods%netscape.com
1628efa2f4 Removing unwanted part of patch
git-svn-id: svn://10.0.0.236/trunk@131072 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-03 11:28:48 +00:00
rods%netscape.com
31504c0dab Impl print preview for mail and addrbook
Bug 158110 r=bienvenu sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@131068 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-03 10:48:59 +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
rods%netscape.com
47c1f5ed09 IFrames need their own calculation for placement, different from Frameset frames
Bug 167775 r=dcone sr=kin


git-svn-id: svn://10.0.0.236/trunk@129340 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 13:20:38 +00:00
rods%netscape.com
4aff6cd832 Make sure the Print Data is cleaned up when exiting PP
Bug 164384 r=pete sr=kin a=asa


git-svn-id: svn://10.0.0.236/trunk@129137 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-10 01:57:09 +00:00
dougt%netscape.com
e289284076 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
dougt%netscape.com
db8cc9c7ec Fixes up the timer interface. b157136, r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129037 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 05:38:16 +00:00
dougt%netscape.com
1ebc6538fb Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426
git-svn-id: svn://10.0.0.236/trunk@128770 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 23:36:13 +00:00
rods%netscape.com
00da111269 Checked in from wrong tree.
git-svn-id: svn://10.0.0.236/trunk@128763 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 23:25:17 +00:00
rods%netscape.com
d986a615c9 Bug 164250 Instrument the PrintEngine for print testing
r=dcone sr=kin


git-svn-id: svn://10.0.0.236/trunk@128761 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 23:21:15 +00:00
rods%netscape.com
72c0a041f5 Bug 165122 rearrange initializer r=rods sr=bz
git-svn-id: svn://10.0.0.236/trunk@128702 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 14:40:53 +00:00
rods%netscape.com
a3c9b676cf checks visibility on IFrames so it knows whether it needs to print/dislpay them
Bug 158195 sr=jst r=dcone


git-svn-id: svn://10.0.0.236/trunk@128088 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 14:37:59 +00:00
rods%netscape.com
c19d8288b7 Move printing code out of the DocumentViewer
add in #defines to turn on and off printing and print preview
Bug 139905 r=dcone sr=jst


git-svn-id: svn://10.0.0.236/trunk@127763 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-21 12:01:05 +00:00
rods%netscape.com
7add5ab6a7 The allows TAB events to be processed. This seems to work fine, because the
forms controls can never get focus. I did a lot of testing and the focus goes
to the toolbar and doesn't go to any forms controls.
Bug 145388 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@122068 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 10:48:37 +00:00
rods%netscape.com
e97a493be3 making a few adjustments to the APIs before the freeze
Bug 143248 r=conrad sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@121197 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 22:02:44 +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
b78c834b7f Add the new pluggable dialog work, in build, not used
BUg 135441 r=dcone,pink sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@120542 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 13:47:53 +00:00
rods%netscape.com
2eb86ae788 backing out unwanted changes
git-svn-id: svn://10.0.0.236/trunk@120541 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 13:24:08 +00:00
rods%netscape.com
86b99f77e1 Add the new pluggable dialog work, in build, not used
BUg 135441 r=dcone,pink sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@120540 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 12:38:43 +00:00
jst%netscape.com
67ee650f45 Checking in the fix for bug 52334 for the third time. This time it should stick! Making iframe's load their document even if they're not displayed. r=jkeiser@netscape.com, sr=rpotts@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@119206 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 04:17:16 +00:00
rods%netscape.com
b274a573de Add a new attr to PrintObject for identifying POs that are to be hidden, not
reflowed. So if a frameset frame's root frame is zero height then we mark it
hidden and not to be printed.
Bug 134769 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@118686 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 00:33:24 +00:00
rods%netscape.com
f03ac4f0df Add event listeners to "prevent" ContextMenu, Key, Mouse and MouseMotion events from being processed.
Bug 128449 r=dcone sr=attinasi a=asa


git-svn-id: svn://10.0.0.236/trunk@117330 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 18:07:51 +00:00
rods%netscape.com
60d1622764 Initial check in for BUg 113917 (not in the build yet)
git-svn-id: svn://10.0.0.236/trunk@110487 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-14 22:40:12 +00:00