133 Commits

Author SHA1 Message Date
pavlov%pavlov.net
2a553401b4 moving nsIScreen and implementations to widget. (files copied on cvs server already). bug 322942 r=vlad sr=roc
git-svn-id: svn://10.0.0.236/trunk@187435 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-11 21:56:25 +00:00
gerv%gerv.net
f8d1f365ca Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@186771 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-31 16:02:07 +00:00
bsmedberg%covad.net
902ecd75aa Bug 320988 relanding activex bits with a fix for the agressive optimization of inlines, r=darin
git-svn-id: svn://10.0.0.236/trunk@186382 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-21 19:54:59 +00:00
timeless%mozdev.org
f9bdb44b34 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan


git-svn-id: svn://10.0.0.236/trunk@185269 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-25 08:16:51 +00:00
mark%moxienet.com
0adbddf7a0 Bug 311618, Crash [@ QDFlushPortBuffer]. Replumb the flush manager as an XPCOM service so that other components can cancel scheduled flushes when ports are going away. Away goes trouble down the drain. Camino/koko-widget only. r=pink sr=smfr a/1.8=asa
git-svn-id: svn://10.0.0.236/trunk@182170 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-13 16:48:16 +00:00
timeless%mozdev.org
518d0462b2 Bug 297277 potential OOM crash/mlk [@ nsPrintOptions::_CreatePrintSettings]
patch by b.jacques@planet.nl r=timeless sr=dmose a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@176282 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-19 21:55:33 +00:00
paper%animecity.nu
3b008daf52 Bug 274244: Display more broken GIFs. r=stuart sr=tor
git-svn-id: svn://10.0.0.236/trunk@170359 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-08 03:44:28 +00:00
roc+%cs.cmu.edu
4e129cd6f5 Bug 265084. Progress towards floating point nscoord: make image interfaces and libpr0n use PRInt32 instead of nscoord. r+sr=tor
git-svn-id: svn://10.0.0.236/trunk@165360 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-15 04:16:07 +00:00
roc+%cs.cmu.edu
1b3e093147 Bug 265084. Lay the groundwork for nscoord being a float, by introducing nsIntRect/Point/Size/Margin and wrapper functions for doing tricky nscoord operations. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@164829 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-03 02:48:04 +00:00
bzbarsky%mit.edu
c349fca2eb "Mozilla Xprint 2004/Q3 update". Bug 262287, patch by Julien Lafon
<julien.lafon@gmail.com>, r=roland.mainz, sr=henry.jia


git-svn-id: svn://10.0.0.236/trunk@164294 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-24 18:34:50 +00:00
jshin%mailaps.org
6818dbecc3 bug 190031: use xft and fontconfig for font lookups/measuring/drawing with new postscript/freetype code (r=blizzard, sr=rbs)
git-svn-id: svn://10.0.0.236/trunk@161046 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-20 09:11:26 +00:00
caillon%redhat.com
aa28f26b6c Kill off nsComObsolete.h
Patch by marco@gnome.org to bug 241145
r=caillon sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@156539 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-18 18:09:16 +00:00
gerv%gerv.net
98831918fc Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155044 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 21:52:36 +00:00
darin%meer.net
d512bb2e4d fixes bug 239038 "rev IIDs for all interfaces modified since Mozilla 1.6" r=bsmedberg sr=jst
git-svn-id: svn://10.0.0.236/trunk@154957 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 23:30:05 +00:00
alex.fritze%crocodile-clips.com
06a1518ea6 Removing '#ifdef MOZ_SVG' conditionals, because xpidl doesn't allow
them. The code which exposes 4 additional methods of the freetype2 api
to mozilla (glyphTransform, getKerning, glyphCopy, glyphToBitmap) is
now compiled into default builds as well. The #ifdefs have been left
in the code to identify those sections only required for SVG support.


git-svn-id: svn://10.0.0.236/trunk@152475 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-07 15:22:30 +00:00
alex.fritze%crocodile-clips.com
937a1cf846 Landing of SVG_20020806_BRANCH, Bug 182533. Refactoring of SVG backend, new GDI+ and Libart rendering
backends, text support on Windows (GDI+), rudimentary text support on Linux (libart/freetype2), presentation
attributes, lots of bug fixes (see bug 182533 for dependency list).

Not part of default build; code is #ifdef'ed out.

r=sicking, sr=jst for dom and htmlparser changes
r=bsmedberg, sr=tor for config changes
r=dbaron, sr=bzbarsky for content and layout changes
r=tor, sr=bzbarsky for gfx changes


git-svn-id: svn://10.0.0.236/trunk@152468 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-07 12:39:26 +00:00
cbiesinger%web.de
18bdcf6f1d bug 203840. remove nsIGraphics
r+sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@151295 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-14 12:56:39 +00:00
jshin%mailaps.org
b2a8799420 bug 226288 : change freetype code to do rounding instead of ceiling (r=dbaron, sr=rbs)
git-svn-id: svn://10.0.0.236/trunk@150625 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-22 06:32:09 +00:00
jst%mozilla.jstenback.com
f8ceff2496 Fixing bug 223111. Making the page-setup settings shrink-to-fit and scaling persist across Mozilla instances. Patch by jblanco@us.ibm.com, and modiefied by me. r=ben, sr=bienvenu, a=asa.
git-svn-id: svn://10.0.0.236/trunk@150393 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-17 07:52:49 +00:00
timeless%mozdev.org
74f314a010 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


git-svn-id: svn://10.0.0.236/trunk@145444 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-01 01:56:15 +00:00
bzbarsky%mit.edu
7de2ca34d1 Fix leaks of some arrays on shutdown. Bug 209568, r=bstell, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@144078 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-24 01:15:45 +00:00
seawood%netscape.com
06e1507b0c Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
git-svn-id: svn://10.0.0.236/trunk@143527 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 21:18:27 +00:00
rbs%maths.uq.edu.au
9be6f53195 Only show the system default font on platforms where applicable, b=206782, r=jshin, sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@143021 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-29 03:57:30 +00:00
cbiesinger%web.de
b20f4e6f04 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
git-svn-id: svn://10.0.0.236/trunk@141332 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-17 20:17:01 +00:00
cbiesinger%web.de
46d9f8f111 197485 r=paper sr=tor Remove [GS]etTransparentColor from gfxIImageFrame
git-svn-id: svn://10.0.0.236/trunk@139695 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-18 21:07:22 +00:00
katakai%japan.sun.com
e1053e1609 bug 127713
support Surrogate display on Linux by using FreeType
r=bstell, sr=bryner


git-svn-id: svn://10.0.0.236/trunk@138243 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-23 00:07:23 +00:00
cbiesinger%web.de
19f3488918 186936 r=kmcclusk sr=roc+moz move stuff out of gfx/public/
git-svn-id: svn://10.0.0.236/trunk@136743 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-21 20:38:19 +00:00
bstell%ix.netcom.com
c225876fb2 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


git-svn-id: svn://10.0.0.236/trunk@136547 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-17 23:28:44 +00:00
bstell%ix.netcom.com
575ae9bc6f back out the changes until the build issues are solved
git-svn-id: svn://10.0.0.236/trunk@136498 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-17 08:45:27 +00:00
bstell%ix.netcom.com
93b34694e9 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


git-svn-id: svn://10.0.0.236/trunk@136496 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-17 06:51:17 +00:00
louie.zhao%sun.com
73eb640533 Bug 144668: Code Mozilla TrueType Printing Code
r=bstell sr=bryner


git-svn-id: svn://10.0.0.236/trunk@136405 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-16 05:04:27 +00:00
seawood%netscape.com
f8f86e7f05 Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
Bug #186241 r=dougt


git-svn-id: svn://10.0.0.236/trunk@135661 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-28 01:15:07 +00:00
bstell%ix.netcom.com
5caa782b76 bug 180473 : make nsFreeType a xpcom service and move from shared lib to static lib
r=Louie.Zhao@sun.com, sr=alecf@netscape.com


git-svn-id: svn://10.0.0.236/trunk@134773 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-04 04:42:40 +00:00
pete.zha%sun.com
ce3bdb174d Font Catalog Service
b=144664 r=bstell@ix.netcom.com sr=bryner@netscape.com
patch=louie.zhao@sun.com


git-svn-id: svn://10.0.0.236/trunk@133886 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-15 04:59:17 +00:00
pete.zha%sun.com
8564de7c4b back out for bug 144664
a=cls


git-svn-id: svn://10.0.0.236/trunk@133304 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-07 17:18:21 +00:00
pete.zha%sun.com
b98d6e9fa3 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


git-svn-id: svn://10.0.0.236/trunk@133274 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-07 06:32:29 +00:00
timeless%mozdev.org
d59e88f9dd 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


git-svn-id: svn://10.0.0.236/trunk@133112 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 04:05:21 +00:00
pete.zha%sun.com
e91a9ebd3c 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)


git-svn-id: svn://10.0.0.236/trunk@133103 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 03:21:58 +00:00
pete.zha%sun.com
6348fda195 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)


git-svn-id: svn://10.0.0.236/trunk@133098 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 03:06:00 +00:00
rods%netscape.com
cad8f62db6 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


git-svn-id: svn://10.0.0.236/trunk@132703 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-30 13:38:13 +00:00
dcone%netscape.com
1b3e519f6c b=143046 r=rods sr=boris API change so we can create different depth nsImages
git-svn-id: svn://10.0.0.236/trunk@131135 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-04 03:32:26 +00:00
rods%netscape.com
f7e07db9b7 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


git-svn-id: svn://10.0.0.236/trunk@130520 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-26 11:25:04 +00:00
rods%netscape.com
1b7abf58ea Change STF to use an unconstrainad reflow instead of searching for the widest frame
Bug 168961 r=dcone sr=kin


git-svn-id: svn://10.0.0.236/trunk@130082 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-19 21:45:07 +00:00
alecf%netscape.com
35855739dd 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


git-svn-id: svn://10.0.0.236/trunk@129305 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 04:43:31 +00:00
seawood%netscape.com
0b3ff474f3 Removing old nmake build makefiles. Bug #158528 r=pavlov
git-svn-id: svn://10.0.0.236/trunk@126975 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 07:55:43 +00:00
ccarlen%netscape.com
96a6b4aa46 Bug 154883 - Use session printing APIs on Mac OSX. r=pinkerton/sr=sfraser/a=asa
git-svn-id: svn://10.0.0.236/trunk@125133 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-13 00:18:46 +00:00
ccarlen%netscape.com
71ffff784e Adding new files for bug 154883 - using session printing APIs on OSX. r=pinkerton/sr=sfraser/a=asa
git-svn-id: svn://10.0.0.236/trunk@125132 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-13 00:08:42 +00:00
rods%netscape.com
6eb9ee9ff3 Implement the assign method with an "=" operator
Bug 151628 r=ccarlen sr=jst
BUg CVS: ----------------------------------------------------------------------


git-svn-id: svn://10.0.0.236/trunk@123479 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-18 00:06:32 +00:00
rods%netscape.com
fa1b0e717d 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


git-svn-id: svn://10.0.0.236/trunk@121923 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 10:53:45 +00:00
rods%netscape.com
29c0c5d959 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


git-svn-id: svn://10.0.0.236/trunk@121463 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 12:05:00 +00:00