52 Commits

Author SHA1 Message Date
mozilla%weilbacher.org
be31316a39 [OS/2] Bug 396767: fix OS/2 build break in widget following bug 394691, p=wuno, r=me/chris@pearce
git-svn-id: svn://10.0.0.236/trunk@236338 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-20 00:54:03 +00:00
asqueella%gmail.com
a20caf14d4 Bug 393695 - Kill old gfx code in nsDeviceContextSpec with OS
p=Jonathan Steele <xfsunoles@gmail.com>
r+sr+a=roc


git-svn-id: svn://10.0.0.236/trunk@233770 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-02 22:52:38 +00:00
mats.palmgren%bredband.net
cdc70a6fec Use NS_IMPL_ISUPPPORTS macros where possible. b=387211 r=neil sr=dbaron a19=pavlov
git-svn-id: svn://10.0.0.236/trunk@231584 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-07 15:18:40 +00:00
mats.palmgren%bredband.net
fd18364353 Cleanup implementations of QueryInterface. b=385750 r+sr=dbaron r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@229301 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-04 02:15:35 +00:00
mats.palmgren%bredband.net
99fe84e396 Bye bye Xprint. b=326716 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@227989 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-13 18:03:03 +00:00
mozilla%weilbacher.org
c601a0b3b2 Bug 380196: Kill QT graphics code, p=sciguyryan, r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@227762 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-10 22:13:12 +00:00
kjh-5727%comcast.net
7b754b8fab Bug 377096 - Factor out nsIPrintOptions::AvailablePrinters. r=pavlov, sr=biesi.
git-svn-id: svn://10.0.0.236/trunk@226003 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-06 11:29:42 +00:00
mozilla%weilbacher.org
ee145af99b [OS/2] Bug 333235: Get Thebes to work on OS/2. r=mkaply
Changes to widget, including heavy whitespace cleanup in nsWindow::Destroy and nsWindow::OnPaint.
Temporary compilation workaround for nsObjectFrame.


git-svn-id: svn://10.0.0.236/trunk@219792 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-08 23:38:51 +00:00
mozilla%weilbacher.org
0b13d1e0a5 [OS/2] Bug 333235: Get Thebes to work on OS/2. Required build additions and easy widget changes. r=mkaply
git-svn-id: svn://10.0.0.236/trunk@219085 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-28 22:20:21 +00:00
kjh-5727%comcast.net
2674b6e768 Bug 360485 - Factor out nsIDeviceContextSpecFactory. Part 1: changed files. r=pavlov, sr=roc.
git-svn-id: svn://10.0.0.236/trunk@216801 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-09 17:18:56 +00:00
cbiesinger%web.de
ce7c8b219e Bug 357616 Remove remaining traces of nsIPref from widget/
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@213999 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-23 15:29:09 +00:00
mkaply%us.ibm.com
764985b00e OS/2 build bustage as a result of 326149 - once files are moved, this should build
git-svn-id: svn://10.0.0.236/trunk@190301 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:34:07 +00:00
cbiesinger%web.de
1c79d95ee5 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@190300 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:32:32 +00:00
mkaply%us.ibm.com
d963c294ea #290213
r=Peter Weilbacher, sr=mkaply (OS/2 only), a=mkaply (OS/2 only)
Patch from Rich Walsh - printer select dialog mismatches descriptions


git-svn-id: svn://10.0.0.236/trunk@190299 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:32:31 +00:00
mkaply%us.ibm.com
158ea8fe1c #199763
r=mkaply, sr=blizzard (platform specific), a=mkaply (OS/2 only)
Patch from Peter Weilbacher - Add printer description to print dialog


git-svn-id: svn://10.0.0.236/trunk@190298 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:32:30 +00:00
mkaply%us.ibm.com
c8e68b1190 #268321
r=mkaply, sr=blizzard (platform specific), a=mkaply (OS/2 only)
Patch from Peter Weilbacher - OS/2 gfx cleanup


git-svn-id: svn://10.0.0.236/trunk@190297 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:32:29 +00:00
mkaply%us.ibm.com
a9f5706ede #257627
r=mkaply, sr=blizzard (platform specific), a=mkaply (OS/2 only)
Patch from dainis jonitis - passing a stack variable as a return from a function - oops!


git-svn-id: svn://10.0.0.236/trunk@190296 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:32:28 +00:00
mkaply%us.ibm.com
f686ec0185 #238039
r=mkaply, sr=blizzard (platform specific)
OS/2 only - integration with the FT2LIB font engine from Innotek


git-svn-id: svn://10.0.0.236/trunk@190295 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:32:27 +00:00
mkaply%us.ibm.com
a25b503583 #189480
r=mkaply, sr=blizzard (platform specific), a=mkaply
OS/2 only - switch to using Mozilla Unicode encoders/decoders instead of platform decoders


git-svn-id: svn://10.0.0.236/trunk@190294 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:32:26 +00:00
gerv%gerv.net
5411fef391 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@190293 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:32:25 +00:00
neil%parkwaycc.co.uk
c60fa07d6a Bug 231368 Remove unused nsIPref includes p=arne.anka@stupido.com r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@190291 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:32:23 +00:00
jst%mozilla.jstenback.com
92e189252a 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.
git-svn-id: svn://10.0.0.236/trunk@190290 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:32:22 +00:00
mkaply%us.ibm.com
4f69234953 #211984
r=mkaply, sr=blizzard (platform specific), a=mkaply
OS/2 only - refresh printer list before dialog comes up


git-svn-id: svn://10.0.0.236/trunk@190289 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:32:21 +00:00
mkaply%us.ibm.com
ca6c226e83 #188249
r=me, sr=blizzard (platform specific)
Start landing GCC support for OS/2 - mainly cleanup to start


git-svn-id: svn://10.0.0.236/trunk@190288 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:32:20 +00:00
dbaron%dbaron.org
83d40c7e9a 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@190287 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:32:19 +00:00
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