Commit Graph

25 Commits

Author SHA1 Message Date
timeless%mozdev.org
8cb5e26208 Bug 303432 - nsPrintSettings::GetPrinterName lacks an OOM check
patch by b.jacques@planet.nl r=dmose sr=dmose


git-svn-id: svn://10.0.0.236/trunk@189268 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:15:23 +00:00
bzbarsky%mit.edu
623b46deaf "Mozilla Xprint 2004/Q3 update". Bug 262287, patch by Julien Lafon
<julien.lafon@gmail.com>, r=roland.mainz, sr=henry.jia


git-svn-id: svn://10.0.0.236/trunk@189254 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:15:09 +00:00
roc+%cs.cmu.edu
a20fd80788 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@189247 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:15:02 +00:00
gerv%gerv.net
708a45030a Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@189235 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:14:50 +00:00
timeless%mozdev.org
d8eb1bb7ad 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@189224 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:14:39 +00:00
jaggernaut%netscape.com
1a2defc828 Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@189223 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:14:38 +00:00
dwitte%stanford.edu
72e87fded7 bug 100649: Length() being used where IsEmpty() is meant
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().

thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.

got the ok from Asa to land into a closed tree.


git-svn-id: svn://10.0.0.236/trunk@189222 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:14:37 +00:00
dbaron%dbaron.org
d69a5bfc26 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@189212 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:14:27 +00:00
rods%netscape.com
5b5b8d3f0a 1) Adds two bools to the PrintSettings and then when the PS gets
initialized from Prefs or from the Printer they get set. They get unset when
the printer name changes.

This is all necessary because the Page Setup Dialog calls
initPrintSettingsFromPrinter each time it is shown. So if you have set values
they will get "written" over the next time the dialog is shown.

2) Removes a lot of platform specific initialization from nsPrintOptionsImpl
and it now uses just the the "generic" XP routines and is now consistent with
the other platforms for initializing the PS.
Bug 167894 r=dcone sr=kin a=roc


git-svn-id: svn://10.0.0.236/trunk@189208 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:14:23 +00:00
ccarlen%netscape.com
5d4ec7bf86 Bug 154883 - Use session printing APIs on Mac OSX. r=pinkerton/sr=sfraser/a=asa
git-svn-id: svn://10.0.0.236/trunk@189197 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:14:12 +00:00
rods%netscape.com
1a36399118 Implement the assign method with an "=" operator
Bug 151628 r=ccarlen sr=jst
BUg CVS: ----------------------------------------------------------------------


git-svn-id: svn://10.0.0.236/trunk@189190 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:14:05 +00:00
rods%netscape.com
09e79a49c1 Turn on pluggable dialogs (second part of checkin, first part Bug 135441)
missed these files/changes
Bug 115136 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@189179 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:13:54 +00:00
rods%netscape.com
1d8fd16487 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@189177 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:13:52 +00:00
rods%netscape.com
8102caf9ca backing out unwanted changes
git-svn-id: svn://10.0.0.236/trunk@189176 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:13:51 +00:00
rods%netscape.com
0b35bdf598 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@189175 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:13:50 +00:00
racham%netscape.com
6b22c98614 Fixing bug 140183. Adding an attribute to the PrintSettings which allows silent printing i.e., without a progress window. Patch by Rod Spears. r=samir,bhuvan sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@189174 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:13:49 +00:00
dcone%netscape.com
6be242b776 b=90751 r=peterl sr=attinasi a=asa Adding printer extensions to OSX
git-svn-id: svn://10.0.0.236/trunk@189167 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:13:42 +00:00
dcone%netscape.com
2299e17f98 118890 r=rods sr=attinasi a=asa. Fixed printing in print preview
git-svn-id: svn://10.0.0.236/trunk@189166 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:13:41 +00:00
rods%netscape.com
c6787d17e6 Make the default for ShrinkToFit be PR_TRUE
Bug 128008 r=kmcclusk sr=kin a=asa


git-svn-id: svn://10.0.0.236/trunk@189165 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:13:40 +00:00
rods%netscape.com
cc3bdb716d 1) Removes most all the unneeded data from nsPrintOptions service. All data should be in the PrintSettings.
2) Removed unneeded methods from PrintOptions
3) PrintOption can now read and write (most) all the data in a PrintSettings object. The items not saved are those used during the printing process and it wouldn't make any sense to save them.
4) Adds a prefs for turning on and off the automatic saving of PrintSettings. If this is turned on it is almost the same as using the global PS.
5) On Linux it turns on the saving of PS prefs and turns on the global PS. Meaning it will always use a single Global PS object.
6) The PrintSettings can be initialized from a generic non-printer specific set of prefs. Then if a printer name is available in the PS then it tries
to initialize itself from the printer specific prefs. This enables to define "back stop" prefs for picking up first. Then the printer specific prefs can override those settings. For example, we may define in prefs that the default paper size 8.5x11, then if if the "save PS prefs" is turned on, for a given printer it might save 8.5x16 as the size.
7) A "flags" arg has been added so you can indicate which prefs you want read or written.
Bug 128142 r=dcone sr=attinasi a=shaver


git-svn-id: svn://10.0.0.236/trunk@189162 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:13:37 +00:00
rods%netscape.com
28d6b30b8e Backing out changes - just as well, I forgot to but the bug # and r/sr/a anyway
git-svn-id: svn://10.0.0.236/trunk@189161 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:13:36 +00:00
rods%netscape.com
14d24a3626 1) Removes most all the unneeded data from nsPrintOptions service. All data
should be in the PrintSettings.
2) Removed unneeded methods from PrintOptions
3) PrintOption can now read and write (most) all the data in a PrintSettings
   object. The items not saved are those used during the printing process and
   it wouldn't make any sense to save them.
4) Adds a prefs for turning on and off the automatic saving of PrintSettings.
   If this is turned on it is almost the same as using the global PS.
5) On Linux it turns on the saving of PS prefs and turns on the global PS.
   Meaning it will always use a single Global PS object.
6) The PrintSettings can be initialized from a generic non-printer specific
   set of prefs. Then if a printer name is available in the PS then it tries
   to initialize itself from the printer specific prefs. This enables to define
   "back stop" prefs for picking up first. Then the printer specific prefs
   can override those settings.
   For example, we may define in prefs that the default paper size 8.5x11,
   then if if the "save PS prefs" is turned on, for a given printer it might
   save 8.5x16 as the size.
7) A "flags" arg has been added so you can indicate which prefs you want read
   or written.


git-svn-id: svn://10.0.0.236/trunk@189160 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:13:35 +00:00
rods%netscape.com
23a70696b0 1) In DocumentViewer: I did rearrange some of the data members for PrintData
and PrintObject and their initialization order
2) In DocumentViewer: Implemented the shrink to fit feature by calc'ing the
ratios in the first reflow and then reflowing a second time to shrink them
3) In nsPageFrame: This is somewhat unrelated to this bug, but I found where
continuing frame content was being parented to the PageFrame instead of the
PageContentFrame.
4) Although at this time I am not using DumpFrames for debugging I may want to
switch back to it while debugging at anytime.
Bug 100967 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@189145 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:13:20 +00:00
rods%netscape.com
2753c41a0c Improves error codes for printing and fixes selection printing by making sure the margins are initialized when no prefs are there
Bugs 86378 & 118637 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@189144 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:13:19 +00:00
rods%netscape.com
206b97d889 Initial check in for BUg 113917 (not in the build yet)
git-svn-id: svn://10.0.0.236/trunk@189074 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:11:55 +00:00