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

89 Коммитов

Автор SHA1 Сообщение Дата
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
ccarlen%netscape.com 13f1637e9c Adding new files for bug 154883 - using session printing APIs on OSX. r=pinkerton/sr=sfraser/a=asa 2002-07-13 00:08:42 +00:00
rods%netscape.com caaeae04a4 Implement the assign method with an "=" operator
Bug 151628 r=ccarlen sr=jst
BUg CVS: ----------------------------------------------------------------------
2002-06-18 00:06:32 +00:00
rods%netscape.com a0cd08f23a The problem here is the "edge" prefs are now preficed with the printer name,
and the nsPrintOptions know how to convert the printer name, so we need to add
a helper method to nsIPrintOptions.idl so the nsSimplePageSeq can get the properly named value.
Bug 140669 r=dcone sr=attinasi
2002-05-21 10:53:45 +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 4d06b1092c Turn on pluggable dialogs (second part of checkin, first part Bug 135441)
missed these files/changes
Bug 115136 r=dcone sr=attinasi
2002-05-07 13:56:02 +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
rods%netscape.com 52ee2df50b Add the new pluggable dialog work, in build, not used
BUg 135441 r=dcone,pink sr=attinasi
2002-05-02 14:02:57 +00:00
rods%netscape.com 288186b2f3 Add the new pluggable dialog work, in build, not used
BUg 135441 r=dcone,pink sr=attinasi
2002-05-02 13:47:53 +00:00
rods%netscape.com 5f8760cbcd backing out unwanted changes 2002-05-02 13:24:08 +00:00
rods%netscape.com b1cb2953ae Add the new pluggable dialog work, in build, not used
BUg 135441 r=dcone,pink sr=attinasi
2002-05-02 12:38:43 +00:00
tor%cs.brown.edu 09af8e5c54 Bug 53597: gamma correction backout. r=dbaron, sr=brendan 2002-04-30 23:15:52 +00:00
racham%netscape.com 7b7406ee6f 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 2002-04-28 01:42:17 +00:00
tor%cs.brown.edu cb1d9145e3 Bug 53597 - consistent gamma correction. r=dbaron, sr=brendan 2002-04-13 10:03:59 +00:00
rods%netscape.com e791b7478a This patch is actually part of Bug 115136, but I think its best to get this part
of it in now before the API freeze.
It adds several new attrs to the nsIWebBrowserPrint API and implments them in DocumentViewer.
It also adds a new platform specific interface for PrintSettings that will be
used when the "pluggable" dialog work gets checked in. Although these have been
tested via BUg 115136, these little nto no risk now because no one is using them yet.
Bug 132827 r=dcone sr=attinasi a=asa
2002-03-25 11:49:55 +00:00
dcone%netscape.com c0b90242cd 118890 r=rods sr=attinasi a=asa. Fixed printing in print preview 2002-03-22 14:49:29 +00:00
rods%netscape.com c42fa2528c 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
2002-03-16 13:08:45 +00:00
rods%netscape.com 9e6a587a72 Backing out changes - just as well, I forgot to but the bug # and r/sr/a anyway 2002-03-15 14:49:09 +00:00
rods%netscape.com 20d6c55150 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.
2002-03-15 13:55:54 +00:00
rods%netscape.com ae0b7240a9 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
2002-02-19 11:49:27 +00:00
rods%netscape.com 106d57603e 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
2002-02-13 13:58:41 +00:00
bryner%netscape.com c573016208 Fixing bustage on Sun WS6 update 2, it apparently doesn't like the forward declaration of gfxIImageFrame just before it's defined. r=seawood, sr=jst. 2002-02-08 22:59:53 +00:00
dcone%netscape.com c34cb2647d b=118889 r=rods sr=sfraser Fixed app. so printSettings dialogs will work 2002-02-07 05:32:59 +00:00
rods%netscape.com 8f1503a318 Added GlobalPrintSettings
Bug 120622 r=dcone sr=waterson
2002-02-01 15:48:21 +00:00
rods%netscape.com f2c2102329 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
2002-01-31 14:30:22 +00:00
rods%netscape.com 7929b953f5 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
2002-01-01 12:58:53 +00:00
rods%netscape.com b52e7ea39b Add PrintBGColors, PRINBGImages and Scaling
Bug 108345 r=dcone sr=attinasi
2001-11-26 12:48:41 +00:00
kaie%netscape.com 3e80341582 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
2001-11-22 10:00:44 +00:00
rods%netscape.com 97fad5218a 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
2001-11-03 14:45:46 +00:00
rods%netscape.com 857e035af3 Backing out checkin, I can't believe you have to edit a mcp to checkin
an IDL file
2001-11-03 14:17:37 +00:00
rods%netscape.com 78a059bcdd 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
2001-11-03 13:00:40 +00:00
pavlov%netscape.com 80f4c45fa3 first of many patches to come for bug 104999 r=timeless sr=hyatt 2001-10-18 09:43:22 +00:00
sfraser%netscape.com 2e5532dfa7 Fix for bug 36796 - implement page setup on Mac and Mac OS X. r=sdagley, sr=alecf. 2001-10-12 23:48:34 +00:00
pavlov%netscape.com 4d223104e1 adding uuid r=me,biesi sr=waterson bug 77354 2001-09-29 14:05:14 +00:00
rods%netscape.com f90b35f264 Enables the configuration of headers and footers, via 6 string in the nsIPrintOptions
3 for the header and 3 for the footer.
The new codes are &T,&U,&D,&P,&PT (see bug for explanation)
Bug 99415 r=kmcclusk, sr=attinasi a=pdt
2001-09-26 14:01:26 +00:00
gerv%gerv.net 04bc2069f5 License changes, take 2. Bug 98089. mozilla/gfx/. 2001-09-26 00:16:04 +00:00
jaggernaut%netscape.com 25856c9451 Bug 73353: move gfx from module layout to module gfx and fix up REQUIRES lines. r=cls 2001-09-14 05:37:29 +00:00
alecf%netscape.com 298c713fa2 add REQUIRES support to layou, content, gfx, gfx2, widget and modules/libpr0n b=98371 r=cls 2001-09-10 20:46:52 +00:00
kaie%netscape.com d52ef98bc5 b=24847 r=dcone sr=attinasi
Implement printing of Landscape in Unix.
Contact me at kai.engert@gmx.de
2001-09-05 14:30:16 +00:00
yokoyama%netscape.com f23cd921c9 Bug fix 91250:
Adding a return Boolean from nsIFontEnumerator::UpdateFontList()
to identify if the font lang group has changed from
receiving the WM_FONTCHANGE msg.
/r=rbs;/sr=brendan
2001-08-14 02:32:10 +00:00
yokoyama%netscape.com aefe41e85f bug: 69117
update the global fontlist.
update nsPresContext's device context font
when we receive WM_FONTCHANGE msg.
/r=rbs, /sr=blizzard, /a=asa
2001-06-08 23:36:14 +00:00
ftang%netscape.com 488fddaaeb fix 78273 . check in for bstell@netscape.com r=ftang sr=blizzard add embedding api for font list 2001-05-18 22:43:15 +00:00
bstell%netscape.com c80895811e bug 78273, r=ftang/jbetak, sr=blizzard
For the embedding API add "get font list". Used to fill the font pref panel
2001-05-18 21:50:47 +00:00
bstell%netscape.com 3fcc245c32 bug 78273, r=ftang/jbetak, sr=blizzard
for the embedding API add "get font list"
2001-05-18 21:36:44 +00:00
pinkerton%netscape.com 630dc52f0d give access to internal region as noscript. make methods lowercase. bug# 80196. r=pchen/sr=smfr 2001-05-12 20:54:57 +00:00
jelwell%netscape.com ac2d9d752e Fix for bug 73978 "transparent animating gif problems", r=pavlov sr=hyatt.
Module owners are on vacation so Asa asked me to check this into the trunk to bake, for possible branch landing.
2001-04-26 07:11:52 +00:00
bbaetz%cs.mcgill.ca 66ab13dbc5 bug 76059, fixes A4 printing regression. Patch by atontti@cc.hut.fi.
r=kmcclusk@netscape.com sr=attinasi a=asa
2001-04-18 22:11:55 +00:00
rods%netscape.com be33a15835 Implements Print FrameAsIs and other frame printing options
Bug 7201 r=dcone sr=attinasi
2001-04-12 13:04:29 +00:00
dcone%netscape.com ef62ecc448 Added silent parameter. r=mclusky sr=attinasi 2001-04-04 14:55:26 +00:00
dcone%netscape.com ba12c39e17 back out change.. 2001-04-03 15:29:33 +00:00