6685 Commits

Author SHA1 Message Date
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
gerv%gerv.net
abfb4c0b72 License changes, take 2. Bug 98089. mozilla/gfx/.
git-svn-id: svn://10.0.0.236/trunk@190261 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:31:53 +00:00
dcone%netscape.com
08087a4c8f Added class definitions for PrintOptions. r=kmmclusky b=36796
git-svn-id: svn://10.0.0.236/trunk@190260 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:31:52 +00:00
mkaply%us.ibm.com
ce37d1340a #64594
r=mkaply, sr=blizzard, a=asa for drivers
OS/2 only - do the right thing when cancel is pressed in print dialog


git-svn-id: svn://10.0.0.236/trunk@190259 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:31:51 +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
mkaply%us.ibm.com
3b77ddcbfe Printing regression
git-svn-id: svn://10.0.0.236/trunk@190257 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:31:49 +00:00
dcone%netscape.com
ed32d1c672 r=karnaze sr=buster. Updated the API for a nsIDeviceContextSpecFactory to pass in a nsIWidget.
git-svn-id: svn://10.0.0.236/trunk@190256 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:31:48 +00:00
mkaply%us.ibm.com
4c2e72175e r=mkaply, a=blizzard
General code cleanup and fix for printer trap from Dainis Jonitis


git-svn-id: svn://10.0.0.236/trunk@190255 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:31:47 +00:00
mkaply%us.ibm.com
2f75db0bab #45872
r=mkaply, a=brendan
Make nsDeviceContextSpecFactoryO look more like Windows


git-svn-id: svn://10.0.0.236/trunk@190254 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:31:46 +00:00
mkaply%us.ibm.com
51bec3a27c #68343
r=mkaply, a=blizzard
OS/2 ONLY - Change OS/2 to use real XPCOM component registration to fix printing


git-svn-id: svn://10.0.0.236/trunk@190253 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:31:45 +00:00
mkaply%us.ibm.com
1ada48a6be #45872
r=mkaply, a=brendan
Make nsDeviceContextSpecOS2 look more like Windows


git-svn-id: svn://10.0.0.236/trunk@190252 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:31:44 +00:00
mkaply%us.ibm.com
b695ac37ff #45872
r=mkaply, a=brendan
Include the right stuff so this header builds regardless of where it is included


git-svn-id: svn://10.0.0.236/trunk@190251 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:31:43 +00:00
mkaply%us.ibm.com
ed24af64a0 # 33860
r= mkaply@us.ibm.com
OS/2 bringup


git-svn-id: svn://10.0.0.236/trunk@190250 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:31:42 +00:00
mkaply%us.ibm.com
97438d0d24 # 25555
r= jdunn@netscape.com
OS/2 changes for Mozilla


git-svn-id: svn://10.0.0.236/trunk@190249 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:31:34 +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
vladimir%pobox.com
882fa2e266 b=326738, move thebes doublebuffering/transparent window handling into widget, sr=roc
git-svn-id: svn://10.0.0.236/trunk@190158 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-15 23:35:53 +00:00
axel%pike.org
2168d947c5 bug 326149, bustage-fix for static PR_LOGGING builds, r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@190113 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-15 15:45:43 +00:00
sergei_d%fi.tartu.ee
f18aba1e5f [BeOS]Bug 327046. Moving printing to widget. Fixing identation in WidgetFactory
git-svn-id: svn://10.0.0.236/trunk@189956 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-14 15:33:50 +00:00
sergei_d%fi.tartu.ee
442f2802bb [BeOS]Bug 327046. Moving printing to widget. Adding nsPrintdBeOS.h
git-svn-id: svn://10.0.0.236/trunk@189953 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-14 15:25:09 +00:00
sergei_d%fi.tartu.ee
fa3ce8cdb0 [BeOS]Bug 327046. Moving printing to widget
git-svn-id: svn://10.0.0.236/trunk@189948 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-14 14:01:48 +00:00
pavlov%pavlov.net
06574f6a46 cleaning up thebes PDF and PS surfaces
git-svn-id: svn://10.0.0.236/trunk@189883 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-13 22:37:13 +00:00
pavlov%pavlov.net
29ad8db7d0 fixing link problem in cairo builds
git-svn-id: svn://10.0.0.236/trunk@189882 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-13 22:36:16 +00:00
mkaply%us.ibm.com
15810fe536 OS/2 build bustage as a result of 32649 - once files are moved, this should build
git-svn-id: svn://10.0.0.236/trunk@189880 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-13 22:32:23 +00:00
joshmoz%gmail.com
e08c4b3b50 Don't look up key node for menu items that don't have a key attribute. Check for empty string return from GetAttribute. Cocoa widgets only. No bug.
git-svn-id: svn://10.0.0.236/trunk@189851 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-13 20:12:36 +00:00
vladimir%pobox.com
da3e7c389f Really disable native theme on linux with cairo, had the wrong define before
git-svn-id: svn://10.0.0.236/trunk@189841 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-13 19:24:16 +00:00
masayuki%d-toybox.com
4960fb7793 Bug 296687 TSM (IME) candidate window is displayed at wrong position (too below). patch by Katsuhiro MIHARA <katsuhiromihara@goo.jp> r=josh, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@189774 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-11 16:04:25 +00:00
pavlov%pavlov.net
9f2a60b4d7 fixing non-cairo windows printing bustage
git-svn-id: svn://10.0.0.236/trunk@189732 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-11 00:03:51 +00:00
pavlov%pavlov.net
5fc83a9b94 fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@189728 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 23:33:56 +00:00
pavlov%pavlov.net
e227b3ddf5 fixing mac bustage
git-svn-id: svn://10.0.0.236/trunk@189725 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 23:26:33 +00:00
pavlov%pavlov.net
e5fd3f4bc0 moving printing from gfx to widget part 3. bug 326149. r=vlad
git-svn-id: svn://10.0.0.236/trunk@189721 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 23:00:23 +00:00
pavlov%pavlov.net
579748a6eb fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@189719 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:50:22 +00:00
joshmoz%gmail.com
7a4d10d9c0 SetPMPrintSettings releases page format instead of print settings <- fix that. b=290214 r=pinkerton sr=smfr a=brendan
git-svn-id: svn://10.0.0.236/trunk@189718 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:50:21 +00:00
kjh-5727%comcast.net
949e163d67 Fixing build bustage.
git-svn-id: svn://10.0.0.236/trunk@189717 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:50:20 +00:00
mark%moxienet.com
9944042014 Bug 316839, build fails in nsDeviceContextMac.cpp with gcc >= 4.0 following bug 213702. Correct for C++ signedness paranoia and fix warnings. r=josh sr=pink/irc
git-svn-id: svn://10.0.0.236/trunk@189716 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:50:19 +00:00
rbs%maths.uq.edu.au
832c768cfb Use ATS instead of FM to enumerate fonts so that Mozilla won't miss the Symbol font. Also cleanup obsolete codes. Patch by YAMASHITA Makoto <makotoy@ms.u-tokyo.ac.jp>, b=213702, r=jshin, sr=rbs
git-svn-id: svn://10.0.0.236/trunk@189715 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:50:18 +00:00
kjh-5727%comcast.net
0dad53d37e Bug 324072 - Printer properties dialog shows properties for the wrong printer. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@189714 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:50:17 +00:00
mark%moxienet.com
94f648a0c9 Bug 306370, Print orientation and other Mac page setup things aren't remembered. Update prototypes and initialize print settings from prefs. r=mano sr=smfr
git-svn-id: svn://10.0.0.236/trunk@189713 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:50:16 +00:00
smfr%smfr.org
8d01c0e4aa Fix bug 302958: specify a name for the print job on Mac, getting it from the title passed to the BeginDocument() call. r=jhpedemonte, sr=bryner, a=asa
git-svn-id: svn://10.0.0.236/trunk@189712 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:50:15 +00:00
bryner%brianryner.com
26db216dd8 Reduce do_GetService code bloat further by adding specialized assignment to nsCOMPtr and providing a version with no error pointer. Also make CallGetService work the same way as CallGetComponent does, as far as using frozen/non-frozen interface to service manager. Bug 264456, r=darin.
git-svn-id: svn://10.0.0.236/trunk@189711 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:50:14 +00:00
timeless%mozdev.org
382c0b9427 Bug 235643 all _CreatePrintSettings leak on failure
patch by baafie@planet.nl r=timeless sr=bz a=asa


git-svn-id: svn://10.0.0.236/trunk@189710 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:50:13 +00:00
joshmoz%gmail.com
92f54a623c gcc 4 fixes for Mac OS X. part 1 of the landing. Patch by Mark Mentovai. b=294244 r=josh sr=darin a=dbaron
git-svn-id: svn://10.0.0.236/trunk@189709 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:50:12 +00:00
smfr%smfr.org
a8090cebdc Fix bug 279510: remove all the pre-Carbon code and TARGET_CARBON #idfefs from gfx. Patch by Ludovic Hirlimann <qa-mozilla@hirlimann.net>, r=pink, sr=me
git-svn-id: svn://10.0.0.236/trunk@189708 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:50:11 +00:00