bryner%brianryner.com
eeddf02bde
deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@148257 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-22 06:09:48 +00:00
jst%mozilla.jstenback.com
ef67a47aab
Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org.
...
git-svn-id: svn://10.0.0.236/trunk@147354 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-27 04:18:26 +00:00
mkaply%us.ibm.com
e1ba2569bf
Bug #212821
...
r=mkaply, sr=roc, a=mkaply
Allows show all pages in print preview
git-svn-id: svn://10.0.0.236/trunk@146579 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-05 20:12:32 +00:00
roc+%cs.cmu.edu
c0bc42c584
Bug 190735. nsIFrame deCOMtamination, r+rs=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@145645 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-06 03:07:12 +00:00
timeless%mozdev.org
74f314a010
Bug 213461 Want a way to specify single-sided or double-sided printing
...
patch by Roland.Mainz@informatik.med.uni-giessen.de r=jblanco sr=bryner
git-svn-id: svn://10.0.0.236/trunk@145444 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-01 01:56:15 +00:00
bzbarsky%mit.edu
0147d8d4a6
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@145284 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 21:09:56 +00:00
jaggernaut%netscape.com
40f122a577
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@144991 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-20 07:40:43 +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
caillon%returnzero.com
0a6d1ae509
Bug 209087
...
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@143683 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-13 20:10:01 +00:00
jaggernaut%netscape.com
fd04e5bb85
Bug 203960: Make bookmark groups replace existing tabs instead of appending. r=jkeiser, varga, adamlock, sr=jst, hewitt
...
git-svn-id: svn://10.0.0.236/trunk@143070 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-30 00:21:01 +00:00
bzbarsky%mit.edu
636fa48493
Make some static data const in content. Bug 204532, patch by ataylor@its.to
...
(Andrew Taylor), r=bzbarsky, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@142936 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-27 03:49:22 +00:00
dbaron%dbaron.org
69da9d4a19
Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@142488 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-15 03:42:21 +00:00
cbiesinger%web.de
b20f4e6f04
191346 patch by Roland.Mainz@informatik.med.uni-giessen.de r=jkeiser sr=roc+moz RFE: "No printers found" when Xprint not installed should be "Xprint not installed" / there should be only one print error dialog for "no printers found" instead of two
...
git-svn-id: svn://10.0.0.236/trunk@141332 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-17 20:17:01 +00:00
bryner%netscape.com
0c66a2052e
Make --disable-xul work (bug 69995). We build enough XUL to support
...
scrollbars unconditionally, but can now leave out heavyweight widgets like
grid, listbox, and tree. r=bzbarsky, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@141016 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-11 00:56:27 +00:00
heikki%netscape.com
40aa3e1b20
Bug 200382, reduce content's dependencies on webshell, r=adamlock, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@140645 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-03 18:57:33 +00:00
seawood%netscape.com
5921049139
Purge XP_PC.
...
Bug #56767 r=mkaply sr=alecf
git-svn-id: svn://10.0.0.236/trunk@140602 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 22:45:08 +00:00
jst%netscape.com
08e9d026e0
Fixing bug 124412. Making nsXULDocument inherit nsXMLDocument to avoid the need to duplicate a large amount of code in nsXULDocument. Also removing nsMarkupDocument and nsIDOMEventCapturer that are no longer needed. Changing the inheritance of nsIDOMXULDocument to avoid ~60 or so forwarding methods, and doing a *lot* of code cleanup. r=bugmail@sicking.cc, sr=peterv@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@140344 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-26 07:41:30 +00:00
aaronl%netscape.com
60b1c05bf1
Bug 194968. Use content id properly to expose whether window is content vs. UI. r/sr=roc+moz
...
git-svn-id: svn://10.0.0.236/trunk@139051 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-06 23:07:00 +00:00
roc+%cs.cmu.edu
ad79d0e7da
Bug 191938. 'Dont print backgrounds' by setting background to white. also clean up unused params and make background-attachment:fixed work in printing/printpreview. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@138258 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-23 02:49:22 +00:00
bryner%netscape.com
c44337949a
Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@138129 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 00:32:13 +00:00
bzbarsky%mit.edu
8ac3dce0c0
Re-enable print preview gui stuff (which was mostly off) on GTK and Xlib
...
ports. Bug 187125, patch by Roland.Mainz@informatik.med.uni-giessen.de (Roland
Mainz), r=smontagu, sr=rbs
git-svn-id: svn://10.0.0.236/trunk@136110 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-10 00:53:28 +00:00
smontagu%netscape.com
3b982b6a24
Make XUL documents print. Bug 137526, Author=Roland.Mainz@informatik.med.uni-giessen.de, r=smontagu, sr=sfraser.
...
git-svn-id: svn://10.0.0.236/trunk@136036 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 00:22:16 +00:00
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
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
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