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

137 Коммитов

Автор SHA1 Сообщение Дата
rods%netscape.com ae80bd8a7d 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 f1c79d4678 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 b45d33216e 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 cd500456c6 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 b850da33e8 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 60409e0a8c 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 4e26312e92 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 04c750b94d backing out unwanted changes 2002-05-02 13:24:08 +00:00
rods%netscape.com a1f21a54d5 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 0685ca316e Bug 53597: gamma correction backout. r=dbaron, sr=brendan 2002-04-30 23:15:52 +00:00
racham%netscape.com ccf494b041 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 c5d399ffb4 Bug 53597 - consistent gamma correction. r=dbaron, sr=brendan 2002-04-13 10:03:59 +00:00
rods%netscape.com d0918166cc 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 01df0654fa 118890 r=rods sr=attinasi a=asa. Fixed printing in print preview 2002-03-22 14:49:29 +00:00
rods%netscape.com 923cc1538e 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 347738ddff 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 db25e50309 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 fc04d22a1e 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 f7189b3cfd 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 8abfc25a17 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 cf3ce49d17 b=118889 r=rods sr=sfraser Fixed app. so printSettings dialogs will work 2002-02-07 05:32:59 +00:00
rods%netscape.com 2998f79a6f Added GlobalPrintSettings
Bug 120622 r=dcone sr=waterson
2002-02-01 15:48:21 +00:00
rods%netscape.com 9a412f826e 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 1fde5f13f3 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 62ea38dd3c Add PrintBGColors, PRINBGImages and Scaling
Bug 108345 r=dcone sr=attinasi
2001-11-26 12:48:41 +00:00
kaie%netscape.com 21b3e32ba6 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 37333f8981 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 58560e1235 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 b2b4909a04 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 5cd2a46ec3 first of many patches to come for bug 104999 r=timeless sr=hyatt 2001-10-18 09:43:22 +00:00
sfraser%netscape.com 1dc9295f24 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 883c91c685 adding uuid r=me,biesi sr=waterson bug 77354 2001-09-29 14:05:14 +00:00
rods%netscape.com a4c9037329 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 1d745f3019 License changes, take 2. Bug 98089. mozilla/gfx/. 2001-09-26 00:16:04 +00:00
jaggernaut%netscape.com efc8c209fb 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 898cb5872f 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 8f9d189880 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 b933932240 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 b9275fc465 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 096cfa3086 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 079694f0dc 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 26ecf3d451 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 a2c09bcc95 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 6b2f79c601 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 25d8b4b4be 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 f439ddf0c3 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 6a7e8a9105 Added silent parameter. r=mclusky sr=attinasi 2001-04-04 14:55:26 +00:00
dcone%netscape.com 0b39ea3eb1 back out change.. 2001-04-03 15:29:33 +00:00
dcone%netscape.com b32a2c4769 added a silent member. sr=attinasi r=kmmclusk. 2001-04-03 14:38:42 +00:00
rods%netscape.com 4421ccbfc6 This now enables print listeners, print progress and the cancelling of printing
Bug 70946 & Bug 70949 r=dcone,chak sr=attinasi
2001-03-27 11:56:03 +00:00
valeski%netscape.com c1098ac6ac r=rpotts. comment changes only. 48726. adding status to idl files of api rev. ifaces. 2001-03-24 00:22:18 +00:00
pavlov%netscape.com ad2bec8cb3 make getRect pass out an nsrect& 2001-03-14 01:14:23 +00:00
pavlov%netscape.com e195d427e3 minor api changes/indentation and spacing fixes, etc 2001-03-14 00:35:27 +00:00
saari%netscape.com 73815a99a6 Updates for libimg2 2001-03-13 23:25:59 +00:00
pavlov%netscape.com 43be50d7ae removing lots of stuff (like all the platform specific code) moving gfxIImageContainer* into new image library 2001-03-10 01:10:05 +00:00
pavlov%netscape.com 533fafde72 merging from IMGLIB2_20010126_BRANCH 2001-02-20 22:41:47 +00:00
pavlov%netscape.com 258da94da8 removing gfx2 stuff on head in prep for merge from branch 2001-02-20 22:27:56 +00:00
rods%netscape.com 133daec2f6 Printing of selected frameset frames and Iframes
Bug 66783 r=dcone sr=buster,attinasi
2001-02-06 23:03:17 +00:00
ftang%netscape.com 82ef0993a7 add HaveFontFor method to nsIFontEnumerator sr=erik 2001-02-06 12:48:45 +00:00
rods%netscape.com 360737ebca Added UI for printing selectd frame
Bug 66783 r=kmcclusk,ben,dcone sr=buster
2001-02-02 08:42:53 +00:00
dcone%netscape.com 4f0348cd14 Created new nsIPrintSettings object for embedding 2001-02-01 23:04:07 +00:00
rods%netscape.com 9c6f7ccade This checkin enables mozilla to support the printing of selection, the printing of page ranges, and
the printing of headers and footers.
Printing of selection is implemented by the frames figuring out if they are in the selection and painting
if they or not they they don't paint. This also only allows the printing of the first page of
selections, alothough it is well documented where this is implemeted so it can be removed.
Bugs 63426, 31218, 61075 r=dcone,kmcclusk,erik,buster sr=waterson
2001-01-27 14:09:34 +00:00
pavlov%netscape.com 7387013541 fix some build problems 2001-01-12 03:54:43 +00:00
pavlov%netscape.com 9fcad2ca77 move the typedef of nscolor to gfx_color in to gfxcompat.h. change the typedef of gfx_color to PRUint32 from unsigned long just to make it explicit 2001-01-08 03:11:58 +00:00
pavlov%netscape.com adfe5c9931 merging the base and image parts of gfx2 to HEAD, renaming nsMargin, nsPoint, nsRect to whatever2 to avoid header name conflicts with gfx
still need to resolve issue with gfx2's nsIImage wanting to use nsIDrawable, since there arn't any ifdefs in idl...
2001-01-07 01:40:18 +00:00
cls%seawood.org 33938e6100 Removing last vestiges of raptor from unix build. Since some libs were renamed, a 'make distclean' is recommeneded to remove the old copies of those libs. Bug #8228 r=bryner 2000-07-02 18:44:42 +00:00
attinasi%netscape.com 5f41c0c4c8 Checkin for dcone: Adding print options object to makefile. b=36796 r=attinasi 2000-06-23 20:15:59 +00:00
dcone%netscape.com 27f0eaa992 Added a new interface definition for nsIPrintOptons. r=kmmclusky. b=36796 2000-06-23 14:39:58 +00:00
dcone%netscape.com 239ef653ba Added an IDL file to the make. Effects Windows build only. r=KMcCluskey b=36796 2000-06-22 13:36:45 +00:00
dcone%netscape.com 6beafca960 New interface definition for printer options. a=KMcCluskey 2000-06-21 22:21:34 +00:00
mccabe%netscape.com b46e6e7a8c change several IDL parameters to be unsigned, to work better with length_is, size_is. Preperatory to requiring unsigned in xpidl, fixing 13413 2000-04-28 10:51:52 +00:00
pinkerton%netscape.com 2b1e668eb5 Moving Screen API away from individual attributes for performance reasons (stage 1). Fixes bugs on win32 with xul popups where taskbar is not at bottom of screen. 2000-04-21 06:55:13 +00:00
pinkerton%netscape.com de27147d88 adding numberOfScreens to interface. minor cleanup. 2000-03-18 00:56:34 +00:00
pinkerton%netscape.com 72f8e15c93 add screen and screen manager to the build. r=scc. 2000-03-16 04:56:39 +00:00
pinkerton%netscape.com fdb0c13fc7 First Checked In. 2000-03-16 04:49:32 +00:00
pavlov%netscape.com 33ce2d4e90 changes to let us build on MacOS X 2000-03-11 03:08:04 +00:00
beard%netscape.com 7231bdd0d5 scriptable interface for graphics. r=pavlov 2000-02-05 22:02:19 +00:00
erik%netscape.com e058a5a71f bug 8801; new font enumeration API for font prefs UI; r=ftang 1999-11-22 19:33:25 +00:00
dmose%mozilla.org 8535dda53e updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
briano%netscape.com 8de6552ae8 General cleanup. 1999-09-10 01:48:51 +00:00
kipp%netscape.com c644c0a56b Excised nsIDOMRenderingContext 1999-09-01 01:03:10 +00:00
cyeh%netscape.com cc2825cbe0 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 00:54:34 +00:00
sspitzer%netscape.com 84360e3dd2 ignore generated Makefile 1999-08-28 18:22:06 +00:00
pinkerton%netscape.com 2b0b7f10c8 Enabling gfx idl 1999-08-27 21:00:35 +00:00
pinkerton%netscape.com 51bf4e07ed doing the right thing for xpidl. 1999-08-27 03:52:51 +00:00
pinkerton%netscape.com aeb2a952ee First Checked In. 1999-08-27 03:52:38 +00:00
kipp%netscape.com 4d310c7857 new 1998-10-10 04:36:27 +00:00