Commit Graph

48 Commits

Author SHA1 Message Date
Jeremy Lea
ce80f69254 Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint different types from nsRect/nsMargin/nsSize/nsPoint different types for better compile-type unit checking. r+sr=roc
--HG--
extra : rebase_source : a331a9e49fbc5931f546919281fcca7f008ab615
2009-01-15 16:27:09 +13:00
dholbert@cs.stanford.edu
15bc2e8781 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+ 2008-03-19 13:51:42 -07:00
dholbert@cs.stanford.edu
9a1e61b815 Backing out Bug 417356, due to pagination reftest failures. 2008-03-14 01:50:13 -07:00
dholbert@cs.stanford.edu
2f86ee574d 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+ 2008-03-14 00:48:04 -07:00
reed@reedloden.com
23bbd145b3 Bug 193001 - "Use gnome's native print dialog" [p=ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r+sr+a1.9=roc] 2008-01-20 19:47:25 -08:00
reed@reedloden.com
661226c56a Bug 396278 - "should take edge values from print settings instead of prefs" [p=chpe r+sr=roc r=gavin a1.9=schrep] 2007-11-13 11:14:07 -08:00
rflint@ryanflint.com
78a505edca Backout bug 396278 due to failing reftests 2007-11-13 06:18:36 -08:00
reed@reedloden.com
6bd4528854 Bug 396278 - "should take edge values from print settings instead of prefs" [p=chpe r+sr=roc r=gavin a1.9=schrep] 2007-11-13 02:30:39 -08:00
kherron@fmailbox.com
97296ebe2f Bug 315687 - Sanity check paper size prefs created before bug 309988 was fixed. r=vladimir, sr=pavlov, a=pavlov. 2007-08-26 17:19:15 -07:00
sharparrow1@yahoo.com
f9d6bc573f Bug 381631: Cannot print pages in Landscape mode. patch by Kenneth Herron, r=pavlov, sr=roc 2007-07-16 16:16:48 -07:00
kherron@fmailbox.com
6f2b92eed8 Backing out patch for bug 315687 due to reftest failures on qm-win2k3-01. 2007-07-15 08:03:07 -07:00
kherron@fmailbox.com
7cbecc54cd Bug 315687 - Sanity check paper size prefs created before bug 309988 was fixed. r=vladimir, sr=pavlov. 2007-07-15 05:27:57 -07:00
kherron@fmailbox.com
6ce19ad50c Back out patch for bug 315687, due to reftest failures on win32. 2007-07-14 10:07:33 -07:00
kherron@fmailbox.com
0c6bd69b22 Bug 315687 - Sanity check paper size prefs created before bug 309988 was fixed. r=vladimir, sr=pavlov. 2007-07-14 07:42:55 -07:00
sharparrow1@yahoo.com
f6656624a1 Backing out UUID change for now 2007-06-30 14:26:13 -07:00
sharparrow1@yahoo.com
2e30bcfdea Updating UUID to test what's breaking windows reftests 2007-06-30 10:59:57 -07:00
kherron@fmailbox.com
f7acb351db Backing out patch for bug 381631 again, due to reftest failures. 2007-06-30 08:01:02 -07:00
kherron@fmailbox.com
f151892264 Bug 381631 - Cannot print pages in Landscape mode. r=pavlov, sr=roc. 2007-06-30 05:02:35 -07:00
kherron@fmailbox.com
7da20483cd Back out patch for bug 381361 due to ref test failures on Windows. 2007-06-24 08:13:23 -07:00
kherron@fmailbox.com
88496fd2b4 Bug 381631 - Cannot print pages in Landscape mode. r=pavlov, sr=roc. 2007-06-24 04:20:34 -07:00
pavlov%pavlov.net
5033ec7891 enabling PDF surface on windows. bug 369930. r/sr=vlad 2007-03-01 00:02:27 +00:00
bzbarsky%mit.edu
05475f0105 "Mozilla Xprint 2004/Q3 update". Bug 262287, patch by Julien Lafon
<julien.lafon@gmail.com>, r=roland.mainz, sr=henry.jia
2006-02-07 01:15:09 +00:00
caillon%redhat.com
b35c78bb93 Kill off nsComObsolete.h
Patch by marco@gnome.org to bug 241145
r=caillon sr=dbaron
2006-02-07 01:15:04 +00:00
gerv%gerv.net
74aa59de53 Bug 236613: change to MPL/LGPL/GPL tri-license. 2006-02-07 01:14:50 +00:00
jst%mozilla.jstenback.com
f0b208edf2 Fixing bug 223111. Making the page-setup settings shrink-to-fit and scaling persist across Mozilla instances. Patch by jblanco@us.ibm.com, and modiefied by me. r=ben, sr=bienvenu, a=asa. 2006-02-07 01:14:46 +00:00
timeless%mozdev.org
af1c561c50 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
2006-02-07 01:14:39 +00:00
rods%netscape.com
20cf6f658e 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
2006-02-07 01:14:23 +00:00
ccarlen%netscape.com
781a7e0d63 Bug 154883 - Use session printing APIs on Mac OSX. r=pinkerton/sr=sfraser/a=asa 2006-02-07 01:14:12 +00:00
rods%netscape.com
e5d68d6df9 Implement the assign method with an "=" operator
Bug 151628 r=ccarlen sr=jst
BUg CVS: ----------------------------------------------------------------------
2006-02-07 01:14:05 +00:00
rods%netscape.com
da22444c40 Turn on pluggable dialogs (second part of checkin, first part Bug 135441)
missed these files/changes
Bug 115136 r=dcone sr=attinasi
2006-02-07 01:13:54 +00:00
rods%netscape.com
a347a8e030 Add the new pluggable dialog work, in build, not used
BUg 135441 r=dcone,pink sr=attinasi
2006-02-07 01:13:52 +00:00
rods%netscape.com
473f2bde0d backing out unwanted changes 2006-02-07 01:13:51 +00:00
rods%netscape.com
6322913ff7 Add the new pluggable dialog work, in build, not used
BUg 135441 r=dcone,pink sr=attinasi
2006-02-07 01:13:50 +00:00
racham%netscape.com
c89d4b728f 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 2006-02-07 01:13:49 +00:00
dcone%netscape.com
38e9014d03 118890 r=rods sr=attinasi a=asa. Fixed printing in print preview 2006-02-07 01:13:41 +00:00
rods%netscape.com
09a54b8bce 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
2006-02-07 01:13:37 +00:00
rods%netscape.com
8a151e04be Backing out changes - just as well, I forgot to but the bug # and r/sr/a anyway 2006-02-07 01:13:36 +00:00
rods%netscape.com
7a4ed6fff2 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.
2006-02-07 01:13:35 +00:00
rods%netscape.com
09fdf7145c 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
2006-02-07 01:13:20 +00:00
rods%netscape.com
a9f129becd 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
2006-02-07 01:13:12 +00:00
rods%netscape.com
49beaa8831 Add PrintBGColors, PRINBGImages and Scaling
Bug 108345 r=dcone sr=attinasi
2006-02-07 01:13:10 +00:00
rods%netscape.com
5d2e655a58 Fixed up nsIPrintSettings interface and add a Get/Set method to nsIPrintOptions (only
the setter is implemented at this time) Bug 107399 r=kmcclusk sr=alexf/attinasi
2006-02-07 01:13:05 +00:00
rods%netscape.com
ca6695f416 Backing out checkin, I can't believe you have to edit a mcp to checkin
an IDL file
2006-02-07 01:13:04 +00:00
rods%netscape.com
bf3e23ae8d Fixed up nsIPrintSettings interface and add a Get/Set method to nsIPrintOptions
(only the setter is implemented at this time)
Bug 107399 r=kmcclusk sr=alexf/attinasi
2006-02-07 01:13:03 +00:00
gerv%gerv.net
7b2f58512e License changes, take 2. Bug 98089. mozilla/gfx/. 2006-02-07 01:12:56 +00:00
bbaetz%cs.mcgill.ca
52688b6fde bug 76059, fixes A4 printing regression. Patch by atontti@cc.hut.fi.
r=kmcclusk@netscape.com sr=attinasi a=asa
2006-02-07 01:12:50 +00:00
valeski%netscape.com
bc05aa8938 r=rpotts. comment changes only. 48726. adding status to idl files of api rev. ifaces. 2006-02-07 01:12:28 +00:00
dcone%netscape.com
de0ed328d1 Created new nsIPrintSettings object for embedding 2006-02-07 01:11:45 +00:00