27 Commits

Author SHA1 Message Date
mkaply%us.ibm.com
cc35900f57 #179508
r=cls, pedemont, sr=blizzard for platform specific code
Add shared unicode stuff between OS/2 widget and gfx into gkgfx


git-svn-id: svn://10.0.0.236/trunk@190286 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:32:18 +00:00
timeless%mozdev.org
64e10d4ecb 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@190285 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:32:17 +00:00
rods%netscape.com
4b4eea686c 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@190284 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:32:16 +00:00
mkaply%us.ibm.com
275d64c190 #164667
r=rods, sr=blizzard, a=rjesup@wgate.com
OS/2 only - convert native printer names to Unicode


git-svn-id: svn://10.0.0.236/trunk@190283 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:32:15 +00:00
dougt%netscape.com
44b4174634 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@190282 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:32:14 +00:00
mkaply%us.ibm.com
4424f7e428 #149365
r=mkaply, sr=blizzard
OS/2 only from jblanco - only set number of copies in one place


git-svn-id: svn://10.0.0.236/trunk@190280 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:32:12 +00:00
rods%netscape.com
514009ed18 check in for jblanco,, returns is no printers are available
Bug 152936 r=rods sr=jst


git-svn-id: svn://10.0.0.236/trunk@190279 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:32:11 +00:00
mkaply%us.ibm.com
52acc489c6 r=mkaply, sr=blizzard, OS/2 only - fixes a couple names/comments
git-svn-id: svn://10.0.0.236/trunk@190278 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:32:10 +00:00
mkaply%us.ibm.com
fa2d9e6d60 #146252
r=mkaply, sr=blizzard
OS/2 only - Print Preview cleanup


git-svn-id: svn://10.0.0.236/trunk@190277 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:32:09 +00:00
dougt%netscape.com
5805f077dc attempting to fix os2 bustage
git-svn-id: svn://10.0.0.236/trunk@190276 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:32:08 +00:00
mkaply%us.ibm.com
8841e53349 #142695
r=mkaply, sr=blizzard
OS/2 only - code from Jessica Blanco - don't use CRLF in printer names


git-svn-id: svn://10.0.0.236/trunk@190275 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:32:07 +00:00
rods%netscape.com
49ccbb8218 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@190274 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:32:06 +00:00
rods%netscape.com
6d152a1e1d backing out unwanted changes
git-svn-id: svn://10.0.0.236/trunk@190273 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:32:05 +00:00
rods%netscape.com
4dc3d669ae 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@190272 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:32:04 +00:00
mkaply%us.ibm.com
0010b62cac #125076
r=mkaply, sr=blizzard, a=roc+moz
OS/2 only - from Jessica Blanco - different way to allocate printer data to fix crash/hang on some drivers


git-svn-id: svn://10.0.0.236/trunk@190271 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:32:03 +00:00
mkaply%us.ibm.com
65d9560af0 #125076
r=mkaply, sr=blizzard, a=asa
OS/2 only - code from jessica blanco - init printer settings from driver


git-svn-id: svn://10.0.0.236/trunk@190270 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:32:02 +00:00
jaggernaut%netscape.com
e382219faa Attempt to fix OS/2 bustage.
git-svn-id: svn://10.0.0.236/trunk@190269 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:32:01 +00:00
rods%netscape.com
ff0414d104 1) On windows and OS/2 it implements IDL attr of "defaultPrinterName" (like Bug 118152)
2) Stubs this out on al other platforms
3) On Windows implmenets new method "InitPrintSettingsFromPrinter" which sets certain key values from the native devmode into the print settings
4) Stubs this out on all other platforms
5) It also cleans up the nsDeviceContextSpecWin interface a little bit:
   It now has a single GetDevMode method that must be paired with a UnlockDevMode  method.
6) It moved GetDataFromPrinter into the public interface
7) Created a simple helper function for getting the default printer name.
Bug 123554 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@190268 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:32:00 +00:00
rods%netscape.com
46eb530384 This does the following:
1) Removes the EnumeratePrinterExtended from nsIPrintOptions and all impls of it
2) Sets the Windows platform to once again use the native print dialog
3) The nsDeviceContextSpecWin will detect at runtime whether to use the standard PRINTDLG or the new PRINTDLGEX (supported by XP and WIN2k), this new code is only compiled in when the ifdef MOZ_REQUIRE_CURRENT_SDK is defined.
4) It adds an extra Property Sheet to the new dialog for Frameset Printing options
5) Now creates a DEVMODE before the diaog is created, this is used for setting different options in the print dialog before it comes up.
122530 r=dcone sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@190267 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:31:59 +00:00
mkaply%us.ibm.com
cece43bc3b #118932
r=mkaply, sr=blizzard
OS/2 only - use the name of the queue for the printer dialog


git-svn-id: svn://10.0.0.236/trunk@190266 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:31:58 +00:00
mkaply%us.ibm.com
f9d20e9824 #117919
r=rods,mkaply sr=blizzard
OS/2 only - implement AvailablePrinters


git-svn-id: svn://10.0.0.236/trunk@190265 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:31:57 +00:00
rods%netscape.com
cf121d8077 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@190264 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:31:56 +00:00
mkaply%us.ibm.com
e3e1f6e88c No bug
r=mkaply, sr=blizzard
OS/2 only - code from jblanco to get print preview working


git-svn-id: svn://10.0.0.236/trunk@190263 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:31:55 +00:00
kaie%netscape.com
dedd161a21 b=84947 New print dialog for Unix and OS/2
r=cls/rods/mkaply/pchen sr=roc+moz
Checking in for Roland.Mainz@informatik.med.uni-giessen.de


git-svn-id: svn://10.0.0.236/trunk@190262 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:31:54 +00:00
dbaron%fas.harvard.edu
4c0fa5c39c Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag rs=brendan b=45797
git-svn-id: svn://10.0.0.236/trunk@190258 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:31:50 +00:00
pp%ludusdesign.com
d74b1093a8 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com


git-svn-id: svn://10.0.0.236/trunk@190248 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:31:33 +00:00
mcafee%netscape.com
fcfe8cdbcc Changes for OS/2. Patch provided by Eric Olson (eric.olson@sympatico.ca)
git-svn-id: svn://10.0.0.236/trunk@37283 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 23:39:35 +00:00