Граф коммитов

47 Коммитов

Автор SHA1 Сообщение Дата
dbaron%dbaron.org 5aadb9d382 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 20:32:55 +00:00
dbaron%dbaron.org cb9bcc2e25 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 19:51:43 +00:00
rods%netscape.com c1f4cb20c0 enable pagesetup to use mertic mm when using page sizes with mm/cm
Bug 118954 r=dcone sr=alecf
2002-11-13 12:35:15 +00:00
rods%netscape.com 4769035b93 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
2002-10-30 14:35:22 +00:00
rods%netscape.com b38b250086 Put in a lot of safety checks and changed where SetPrintSettingsFromDevMode was
called and set into the psWin, now we only Lock the global devmode once.
Bug 169689 r=dcone sr=alecf a=roc
2002-10-30 13:31:58 +00:00
rods%netscape.com 6501579eec null checks added
Bug 173519 r=dcone sr=alecf a=rjesup
2002-10-16 09:17:37 +00:00
rods%netscape.com 99ba429de0 safety checks for null pointers
Bug 172783 r=dcone sr=kin
2002-10-08 10:46:27 +00:00
rods%netscape.com 3ddcbf65a2 Convert printer name WideCharToMultiByte
Bug 167128 r=roy sr=blizzard
2002-09-26 11:38:03 +00:00
rods%netscape.com f0dc2880e3 This does two things:
1) When the it returns from the Print Dialog it checks to see if the
PD_PRINTTOFILE flags is set then then set the the info into the PrintSettings
2) IF we are printing to a file, but not a file driver, then check to see if
the file name is the special "FILE:" (as per the MS documentation)
Bug 170332 r=dcone sr=alecf
2002-09-25 14:12:14 +00:00
rods%netscape.com f355d57c2d we were not setting the values we modified in the DevMode back into the printer driver
Bug 169739 r=dcone sr=alecf
2002-09-20 13:22:51 +00:00
dougt%netscape.com 68faeb5241 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
dougt%netscape.com f2a00efc93 Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426 2002-09-03 23:36:13 +00:00
rods%netscape.com 71e63e37f6 remove bit to hide "print to file"
Bug 155552 r=dcone sr=alecf
2002-08-28 11:51:15 +00:00
antonio.xu%sun.com d9f555d2f5 replace the hardcode of "@mozilla.org/embedcomp/dialogparam;1" with NS_DIALOGPARAMBLOCK_CONTRACTID
Bug 158608 r=Henry sr=alecf
2002-08-14 12:39:03 +00:00
seawood%netscape.com 322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
henry.jia%sun.com 566036896f 5th patch for bug 158080
Description: replace the hardcode of @mozilla.org/embedcomp/window-watcher;1 with NS_WINDOWWATCHER_CONTRACTID
Patch by Henry.Jia@sun.com
r=anto, sr=alecf
2002-08-06 06:20:45 +00:00
henry.jia%sun.com 8954de8e78 4th patch for bug 158080
Description: replace the hardcode of "@mozilla.org/embedcomp/window-watcher;1" with NS_WINDOWWATCHER_CONTRACTID
Patch by Henry.Jia@sun.com
r=anto, sr=alecf
2002-08-06 05:56:22 +00:00
rods%netscape.com 2c95359558 Forgot to initialize the arg to false, and th js code needs to finsih PP in the catch if an error is passed back.
Bug 157129 r=carlen sr=waterson a=asa
2002-07-15 11:44:42 +00:00
ccarlen%netscape.com a7e9c3a544 Fixing bustage on planetoid. 2002-07-13 01:07:57 +00:00
ccarlen%netscape.com 04b6fab64b Bug 154883 - Use session printing APIs on Mac OSX. r=pinkerton/sr=sfraser/a=asa 2002-07-13 00:18:46 +00:00
rods%netscape.com e4f359543e changed all the DEVMODE allocating and freeing to native Windows calls HeapAlloc and HeapFree
nsPrintSettingsWin.cpp was creating and copying only the non-platform specific data by using the
"sizeof" of the DEVMODE struct, instead of checking the struct size with dmSize
and the size of the private (device-specific) data with dmDriverExtra. Now it
creates the correct size of memory and copies all the non-private data and private data.
Bug 156318 r=dcone sr=kin,waterson,rpotts a=asa
2002-07-12 11:48:38 +00:00
rods%netscape.com 33e0320aa3 Somehow we all missed initializing this to false
Implement progress dialog for printing and PP that show before reflow
Bug 154136 r=dcone/sgehani sr=alecf
2002-07-09 12:48:39 +00:00
rods%netscape.com 042870ed98 Missed this minor change
Implement progress dialog for printing and PP that show before reflow
Bug 154136 r=dcone/sgehani sr=alecf
2002-07-09 12:44:47 +00:00
rods%netscape.com 1ba1fcde85 Implement progress dialog for printing and PP that show before reflow
Bug 154136 r=dcone/sgehani sr=alecf
2002-07-09 12:39:02 +00:00
alecf%netscape.com bcf192e308 fix for bug 101761 - REQUIRES update - remove all REQUIRES that are no longer necessary.. r=cls, a=asa (build-only changes) 2002-06-06 20:28:14 +00:00
rods%netscape.com 8082f46b4c Add nsIObserver to the ShowPageSetup method for platforms that impl an Apply btn
Bug 149317 r=dcone sr=kin
2002-06-06 10:40:42 +00:00
bryner%netscape.com c64a97e26a Ignore generated Makefiles. 2002-05-27 02:12:25 +00:00
bryner%netscape.com e123863a98 Ignore generated makefiles. 2002-05-27 02:07:35 +00:00
rods%netscape.com 159dff5ab9 Removing debug line for setting dialog title.
Bug 145037 r=dcone sr=kin
2002-05-17 19:25:51 +00:00
rpotts%netscape.com 10620e5d2c bug #46856. r=valeski, sr=darin) nsIWebProgress/nsIWebProgressListener API changes. 2002-05-16 23:41:59 +00:00
rpotts%netscape.com 4efa469250 bug #46856 (r=valeski, sr=darin). API Changes to nsIWebProgress/nsIWebProgressListener) 2002-05-16 21:46:18 +00:00
rpotts%netscape.com 73de225b01 bug #46856 (r=valeski, sr=darin). API Changes to nsIWebProgress/nsIWebProgressListener) 2002-05-16 20:57:37 +00:00
rods%netscape.com 68b0319c10 Changing CID to ContractID and const char* to const char xxx[]
As part of Bug 144128
2002-05-14 14:32:42 +00:00
rods%netscape.com 517bc877a1 Static build bustage fix 2002-05-14 14:15:19 +00:00
rods%netscape.com 0c5c90b638 This patch does the following:
1) Introduces a new public interface nsIPrintSettingService which emables consumers to create PS objects whithout a nsIWebBrowserPrint interface
2) The implementation is nsPrintOptionsImpl which now impls the private interface nsIPrintOptions and the public iface nsIPrintSettingsService
3) Several methods/attrs have been moved from nsIWebBrowserPrint iface to nsIPrintSettingsService
4) The CIDs for nsIPrintOptions and nsIPrinSettingsService are now the same.
5) There is no longer a CID "@mozilla.org/gfx/printoptions;1"
6) nsIWebBrowserPrint still has the "globalPrintSettings" attr so if you already have an nsIWebBrowserPrint you don't have to create the PS Service to get it.
7) A bug has been filed to rename the imlp of nsPrintOptionsImpl to nsPrintSettingsService.
Bug 144128 r=dcone sr=attinasi
2002-05-14 12:05:00 +00:00
rods%netscape.com 1d956bc3a5 making a few adjustments to the APIs before the freeze
Bug 143248 r=conrad sr=attinasi
2002-05-09 22:02:44 +00:00
rods%netscape.com bb0b2f65ed All the files have been moved to the unixshaed directory
Bug 115136 r=dcone sr=attainasi
2002-05-08 21:12:09 +00:00
darin%netscape.com 6fd5862e6e fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
r=dougt sr=alecf
2002-05-07 23:07:19 +00:00
rods%netscape.com 15a673155f Turn on pluggable dialogs (second part of checkin, first part Bug 135441)
Bug 115136 r=dcone sr=attinasi
2002-05-07 12:03:37 +00:00
bryner%netscape.com 22abbed4b4 Fixing gtk2 bustage. r=cls. 2002-05-06 07:02:45 +00:00
seawood%netscape.com a9ab635793 Fix xlib bustage.
Thanks to Roland Mainz <Roland.Mainz@informatik.med.uni-giessen.de> for the patch.
Bug #135441 r=cls
2002-05-03 08:11:10 +00:00
rods%netscape.com 3bbf624bb2 Fixing more bustage 2002-05-02 18:07:15 +00:00
rods%netscape.com 97f236565e some functions need to be static, this should fix the static build bustage 2002-05-02 16:23:20 +00:00
rods%netscape.com ec281a6b3d Minor fix
Add the new pluggable dialog work, in build, not used
BUg 135441 r=dcone,pink sr=attinasi
2002-05-02 12:32:13 +00:00
rods%netscape.com bd388ab0f7 minor change
Add the new pluggable dialog work, in build, not used
BUg 135441 r=dcone,pink sr=attinasi
2002-05-02 12:30:09 +00:00
rods%netscape.com 8fa4b72d4e Add the new pluggable dialog work, in build, not used
BUg 135441 r=dcone,pink sr=attinasi
2002-05-02 12:08:52 +00:00
rods%netscape.com 3696eb1212 Add the new pluggable dialog work, in build, not used yet
BUg 135441 r=dcone,pink sr=attinasi
2002-05-02 11:50:36 +00:00