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

115 Коммитов

Автор SHA1 Сообщение Дата
timeless%mozdev.org 42d179412d Bug 213461 Want a way to specify single-sided or double-sided printing
patch by Roland.Mainz@informatik.med.uni-giessen.de r=jblanco sr=bryner
2003-08-01 01:56:15 +00:00
bzbarsky%mit.edu 95cf40c10b Fix leaks of some arrays on shutdown. Bug 209568, r=bstell, sr=bryner 2003-06-24 01:15:45 +00:00
seawood%netscape.com 8f112a4226 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
rbs%maths.uq.edu.au 1de2cd1928 Only show the system default font on platforms where applicable, b=206782, r=jshin, sr=blizzard 2003-05-29 03:57:30 +00:00
cbiesinger%web.de 1bdbf1e104 191346 patch by Roland.Mainz@informatik.med.uni-giessen.de r=jkeiser sr=roc+moz RFE: "No printers found" when Xprint not installed should be "Xprint not installed" / there should be only one print error dialog for "no printers found" instead of two 2003-04-17 20:17:01 +00:00
cbiesinger%web.de 2d965dfbfb 197485 r=paper sr=tor Remove [GS]etTransparentColor from gfxIImageFrame 2003-03-18 21:07:22 +00:00
katakai%japan.sun.com dadd6c39ce bug 127713
support Surrogate display on Linux by using FreeType
r=bstell, sr=bryner
2003-02-23 00:07:23 +00:00
cbiesinger%web.de b35996e27e 186936 r=kmcclusk sr=roc+moz move stuff out of gfx/public/ 2003-01-21 20:38:19 +00:00
bstell%ix.netcom.com a291bc550d bug 144666 Glyph Fill In and Font Fallback
* add support for a font list based on
1st: CSS
2nd: user prefs
3rd: fallbacks based on doc/user language
4th: any font that supports the char
* find the first font in the font list that supports a char
* within each text draw/measure operation bread the text into runs of text
that use the same font

r=louie.zhao@sun.com, sr=jst@netscape.com
2003-01-17 23:28:44 +00:00
bstell%ix.netcom.com 34dafdcce3 back out the changes until the build issues are solved 2003-01-17 08:45:27 +00:00
bstell%ix.netcom.com 64296389a6 bug 144666 Glyph Fill In and Font Fallback
* add support for a font list based on
        1st: CSS
        2nd: user prefs
        3rd: fallbacks based on doc/user language
        4th: any font that supports the char
  * find the first font in the font list that supports a char
  * within each text draw/measure operation bread the text into runs of text
    that use the same font

r=louie.zhao@sun.com, sr=jst@netscape.com
2003-01-17 06:51:17 +00:00
louie.zhao%sun.com e15516f6fd Bug 144668: Code Mozilla TrueType Printing Code
r=bstell sr=bryner
2003-01-16 05:04:27 +00:00
seawood%netscape.com 4588fb970a Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
Bug #186241 r=dougt
2002-12-28 01:15:07 +00:00
bstell%ix.netcom.com 511e9a6aba bug 180473 : make nsFreeType a xpcom service and move from shared lib to static lib
r=Louie.Zhao@sun.com, sr=alecf@netscape.com
2002-12-04 04:42:40 +00:00
pete.zha%sun.com ef6d69bb4e Font Catalog Service
b=144664 r=bstell@ix.netcom.com sr=bryner@netscape.com
patch=louie.zhao@sun.com
2002-11-15 04:59:17 +00:00
pete.zha%sun.com 39da5a28d9 back out for bug 144664
a=cls
2002-11-07 17:18:21 +00:00
pete.zha%sun.com 5ced630899 Font Catalog Service
bug=144664 r=bstell@ix.netcom.com sr=bryner@netscape.com patch=louie.zhao@sun.com
This patch fixed the build bustage on windows&HP-UX platform which r=bryner@netscape.com sr=bzbarsky@mit.edu
2002-11-07 06:32:29 +00:00
timeless%mozdev.org 466fd6e588 using http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=MozillaTinderboxAll&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=pete.zha&whotype=regexp&sortby=Date&hours=2&date=explicit&mindate=1036540000&maxdate=1036553759&cvsroot=%2Fcvsroot&generateBackoutCVSCommands=1
to back out
Font Catalog Service
bug=144664 r=bstell@ix.netcom.com sr=bryner@netscape.com
patch=louie.zhao@sun.com

this broken windows and other platforms.
approved by cls and #mozilla
2002-11-06 04:05:21 +00:00
pete.zha%sun.com 4b5f54f306 Font Catalog Service
bug=144664 r=bstell@ix.netcom.com sr=bryner@netscape.com
patch=louie.zhao@sun.com
Check in step 2(modify files)
2002-11-06 03:21:58 +00:00
pete.zha%sun.com aa864ef99e Font Catalog Service
bug=144664
r=bstell@ix.netcom.com sr=bryner@netscape.com
patch=louie.zhao@sun.com
Check in step 1 (Add new files, will not break build)
2002-11-06 03:06:00 +00:00
rods%netscape.com 006d0c77e7 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 13:38:13 +00:00
dcone%netscape.com e14b41451d b=143046 r=rods sr=boris API change so we can create different depth nsImages 2002-10-04 03:32:26 +00:00
rods%netscape.com d5b52a8c82 This partially backs out the previous patch. We no longer need to set/get anything in the nsIPrintOptions.
What this does is:
1) Reflows the first time constrained and remembers mOverflowArea.XMost() of
the HTML frame and then later uses that for the calculation of the ratio.
2) Renames some variables
3) This also changes the the maximum STF ratio from 0.5 to 0.3 to match the
dropdown in PP
Bug 168961 r=dcone sr=kin
2002-09-26 11:25:04 +00:00
rods%netscape.com 84a1fbb462 Change STF to use an unconstrainad reflow instead of searching for the widest frame
Bug 168961 r=dcone sr=kin
2002-09-19 21:45:07 +00:00
alecf%netscape.com bab99a09b0 fix for bug 163736 - consolidate gfx2 into gfx, and remove the gfx2 DLL from the build.
r=pavlov, sr=rbs
includes creating a new "Shared" library which shares gfx code between all platforms
2002-09-12 04:43:31 +00:00
seawood%netscape.com 8ae6c40f5d Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
ccarlen%netscape.com d7ec787895 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 8284b2ffda 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 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