3057 Commits

Author SHA1 Message Date
ftang%netscape.com
f4d40c1ae2 fix 130443 . r=nhotta sr=sfraser a=asa
cast the hash value to FMFontFamily instead of fondid (short) on carbon and get the correct script code from it by using the right api


git-svn-id: svn://10.0.0.236/trunk@116648 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 15:44:26 +00:00
ftang%netscape.com
b1421a820e fix 129188 . r=nhotta sr=sfraser a=asa
1. convert the font name correctly to unicode for theme font
2. for korean, chinese system, use roman theme font instead because the locale one are too ugly.


git-svn-id: svn://10.0.0.236/trunk@116646 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 15:41:05 +00:00
rods%netscape.com
40889d01ed Backing out changes - just as well, I forgot to but the bug # and r/sr/a anyway
git-svn-id: svn://10.0.0.236/trunk@116643 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 14:49:09 +00:00
rods%netscape.com
58cfbb8ad2 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.


git-svn-id: svn://10.0.0.236/trunk@116641 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 13:55:54 +00:00
timeless%mac.com
967ea4fdc1 Bug 126799 [ps] Print preview spews errors to terminal window
patch by Roland.Mainz@informatik.med.uni-giessen.de r=rods rs=attinasi a=asa


git-svn-id: svn://10.0.0.236/trunk@116592 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-14 23:12:31 +00:00
rjesup%wgate.com
2861ac2150 Bug 127455: Crash on 64-bit CPU's in DrawToImage due to unsigned underflow.
r=blizzard, sr=tor, a=blizzard


git-svn-id: svn://10.0.0.236/trunk@116582 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-14 22:15:00 +00:00
arougthopher%lizardland.net
bcfa2f3128 Fix for Bug#124543
BeOS MathML implementation


r-rbs (rbs@maths.uq.edu.au)
a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@116448 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-13 01:02:25 +00:00
timeless%mac.com
8368e2ad30 Bug 80562 Xprint does not support any other visuals than Xprt's default one...
patch by Roland.Mainz@informatik.med.uni-giessen.de r=db48x sr=attinasi a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@116441 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 22:52:34 +00:00
ftang%netscape.com
bd045a901e fix bug125298. hide bidi control format code
r=nhotta sr=sfraser a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@116437 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 22:36:59 +00:00
jdunn%netscape.com
879b2bc6e4 fixing --disable-xprint bustage (i.e. AIX)
strcasecmp is defined in strings.h which is NOT included if
XPRINT is enabled.  So to simply matters, switching calls
to PL_strcasecmp.

Submitted by pkw@austin.ibm.com
# 125078
sr=shaver@mozilla.org
a=asa@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@116145 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-08 12:40:20 +00:00
dcone%netscape.com
b441e5fbc7 b=117376, b=128282 r=kmcclusk,sr=attinasi,a=asa. Fixed Alpha blend tiling and some speed issues
with PatBlt and windows NT.


git-svn-id: svn://10.0.0.236/trunk@116102 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 23:41:14 +00:00
mkaply%us.ibm.com
8b99827d26 #129119
r=smontagu, sr=blizzard, a=asa
Os/2 only - use a constant scale for printing based on 96dpi


git-svn-id: svn://10.0.0.236/trunk@116037 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 06:17:15 +00:00
rjesup%wgate.com
44621b8969 Bug 128939: sync xlib animation with gtk improvements from 125025 and
others.  Fixes a crasher due to animation size changing.  64-bit clean.
r=gisburn, sr=tor, a=asa


git-svn-id: svn://10.0.0.236/trunk@115975 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 22:05:23 +00:00
darin%netscape.com
04849998e1 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
bzbarsky%mit.edu
c86b17dd93 "Sync Xlib gfx with GTK+ gfx source." Bug 128748, patch by
Roland.Mainz@informatik.med.uni-giessen.de (Roland Mainz), r=timeless,
sr=attinazi, a=asa


git-svn-id: svn://10.0.0.236/trunk@115893 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 00:48:31 +00:00
bzbarsky%mit.edu
8064f3d51b Fix printing on linux if screen is 72dpi. Bug 103145, r=dcone,
sr=roc+moz, a=asa


git-svn-id: svn://10.0.0.236/trunk@115880 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 23:52:49 +00:00
tor%cs.brown.edu
dcff08de8b Bug 128475 - print performance regression from 127430 checkin.
r=pavlov, sr=blizzard, a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@115742 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 22:36:16 +00:00
bzbarsky%mit.edu
9c7e23ae29 Fix crashes when printing with xprint. Bug 128551, patch by
Roland.Mainz@informatik.med.uni-giessen.de (Roland Mainz), r=db48x,
sr=sfraser, a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@115679 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-03 16:57:52 +00:00
bzbarsky%mit.edu
6cc73ab3e6 Enable printing with XPrint's raster driver. Bug 127657, patch by
Roland Mainz <Roland.Mainz@informatik.med.uni-giessen.de>, r=timeless,
sr=attinasi, a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@115591 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 23:25:03 +00:00
mkaply%us.ibm.com
27e272068d #62175
r=mkaply, sr=blizzard, a=shaver
Os/2 only - Do the right thing with regards to vertical fonts on DBCS


git-svn-id: svn://10.0.0.236/trunk@115570 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 14:16:23 +00:00
bstell%ix.netcom.com
693a145d66 bug 127063, add TrueType support for MathML
r=rbs, sr=shaver, a=leaf, a=shaver


git-svn-id: svn://10.0.0.236/trunk@115510 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 22:37:16 +00:00
timeless%mac.com
0af279e6fb Bug 128120ÿPrinting fails after first invocation
patch by Roland.Mainz@informatik.med.uni-giessen.de r=rods sr=blizzard a=suresh [sheriff]


git-svn-id: svn://10.0.0.236/trunk@115502 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 19:32:14 +00:00
dcone%netscape.com
2bc4e3cbf3 b=37685 r=rods a=attinasi a=roc+moz. Put in substitute fonts for the pre. Use the correct metrics for
bold and italic fonts.  All this work is for Postscript on linux.


git-svn-id: svn://10.0.0.236/trunk@115491 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 14:48:16 +00:00
jdunn%netscape.com
5314fb0a2c fixing hp-ux tinderbox (commercial) bustage
r=bstell@netscape.com
a=shaver@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@115439 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 21:19:24 +00:00
rjesup%wgate.com
04ea03f366 Bug 94336: crash when viewing animated GIF with subsequent frame larger
than header.  r=pavlov, sr=tor, a=asa


git-svn-id: svn://10.0.0.236/trunk@115425 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 15:30:29 +00:00
dcone%netscape.com
48fe96650e b=127513 r=rods sr=attinasi a=shaver. Fixes windows 98 problems with the PatBlt.
git-svn-id: svn://10.0.0.236/trunk@115402 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 02:10:04 +00:00
rbs%maths.uq.edu.au
c1929b9f84 fix crasher bug 110898 by doing a null check before deferencing a pointer that can be null in extreme situations where a font could not be realized, r=shanjian, sr=attinasi, a=shaver
git-svn-id: svn://10.0.0.236/trunk@115398 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 01:33:11 +00:00
bzbarsky%mit.edu
f5b7b272dd Don't create multiple XPrint or PostScript device contexts -- the
contexts share globals and are careless... Bug 127627, patch by Roland
Mainz <Roland.Mainz@informatik.med.uni-giessen.de>, r=bryner,rods,
sr=jag, a=asa.


git-svn-id: svn://10.0.0.236/trunk@115359 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 07:02:31 +00:00
bzbarsky%mit.edu
1fbf4a7ca5 Um... backing this out, will reland when tree is actually green.
git-svn-id: svn://10.0.0.236/trunk@115354 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 04:07:53 +00:00
bzbarsky%mit.edu
74a0cb1096 Don't create multiple XPrint or PostScript device contexts -- the
contexts share globals and are careless... Bug 127627, patch by Roland
Mainz <Roland.Mainz@informatik.med.uni-giessen.de>, r=bryner,rods,
sr=jag, a=asa


git-svn-id: svn://10.0.0.236/trunk@115353 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 04:05:05 +00:00
bzbarsky%mit.edu
624fcf1f96 Only do extra drawing to de-uglify ellipses for small ellipse sizes.
Bug 91816, patch by Roland Mainz
<Roland.Mainz@informatik.med.uni-giessen.de>, r=bzbarsky, sr=attinasi,
a=shaver


git-svn-id: svn://10.0.0.236/trunk@115327 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-25 23:22:50 +00:00
pinkerton%netscape.com
b227c84c1e implement NS_THEME_TOOLBAR_SEPARATOR, also patch outliner to support it. r=bryner,smfr/sr=blake/a=shaver. bug#127722
git-svn-id: svn://10.0.0.236/trunk@115322 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-25 22:14:55 +00:00
tor%cs.brown.edu
75bf5d9198 Bug 127430 - delete client image copy. r=pavlov, sr=blizzard, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@115301 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-24 23:42:32 +00:00
bstell%ix.netcom.com
4f98f59229 bug 127283, I missed a changed requested by super-reviewer before the a=
git-svn-id: svn://10.0.0.236/trunk@115293 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-24 07:03:17 +00:00
dcone%netscape.com
7302984c86 bug=122996 r=karnaze sr=attinasi a=asa Fixes a windows98 tiling quirk with PatBlt.
git-svn-id: svn://10.0.0.236/trunk@115291 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-24 04:18:09 +00:00
bstell%ix.netcom.com
507100437f bug 127283, fix hang in TrueType MathML
r=ftang, sr=brendan, a=blizzard


git-svn-id: svn://10.0.0.236/trunk@115286 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-24 00:22:16 +00:00
bstell%ix.netcom.com
f33d85b532 bug 126979, fix solaris bustage
sr=brendan


git-svn-id: svn://10.0.0.236/trunk@115285 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-24 00:17:30 +00:00
cbiesinger%web.de
6889b4fa22 Bug 126303 patch by Roland.Mainz@informatik.med.uni-giessen.de r=rods sr=attinasi a=roc+moz
Remove the DOM dependendecies from gfx/src/xprint/


git-svn-id: svn://10.0.0.236/trunk@115277 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-23 15:32:03 +00:00
tor%cs.brown.edu
47117364a9 Fix cement bustage.
git-svn-id: svn://10.0.0.236/trunk@115258 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-23 00:47:15 +00:00
tor%cs.brown.edu
d170406692 Bug 121015 - nsImageGTK server side scaling. r=pavlov, sr=blizzard, a=asa.
git-svn-id: svn://10.0.0.236/trunk@115254 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 23:58:25 +00:00
rods%netscape.com
6d75523e55 Fix comparison for pref defined fonts names
Bug 126920 r=rods sr=attinasi a=asa


git-svn-id: svn://10.0.0.236/trunk@115227 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 13:12:12 +00:00
rods%netscape.com
6f25ce2529 Changing return codes from NOT_IMPL to NS_OK, these methods are no-ops on
platforms that don't implement them
Bug 126803 r=dcone sr=attinasi a=asa


git-svn-id: svn://10.0.0.236/trunk@115200 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 03:11:17 +00:00
rjesup%wgate.com
4e11e651a1 Bug 125025: Offscreen animations use lots of CPU. This is the DrawToImage
patch.  r=saari, sr=brendan, a=moz+roc


git-svn-id: svn://10.0.0.236/trunk@115131 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 01:52:38 +00:00
seawood%netscape.com
6b84c9d933 Do platform checks for postscript printing support (MOZ_ENABLE_POSTSCRIPT) in configure instead of makefiles.
Bug #126102 r=bryner


git-svn-id: svn://10.0.0.236/trunk@115084 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 07:08:02 +00:00
dcone%netscape.com
d781bc3674 bug=100324 r=dcone sr=attinasi. Checkin for ftang. Measure the cyrillic characters.
git-svn-id: svn://10.0.0.236/trunk@115058 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 05:55:52 +00:00
arougthopher%lizardland.net
a2127abd9a Fix for Bug#125132
foreign characters not displayed properly in justified text

Still iterates one character at a time, but can handle utf-8 chars now.

r=arougthopher@lizardland.net


git-svn-id: svn://10.0.0.236/trunk@115047 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 05:38:13 +00:00
pinkerton%netscape.com
df549a9260 cleanup bg theme brush and fix things for dialog bg to draw. r=bryner/sr=hyatt. bug#119736
git-svn-id: svn://10.0.0.236/trunk@114993 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 02:14:04 +00:00
dbaron%fas.harvard.edu
57bd9db886 Fix IRIX bustage. We can't use C++ comments in headers included by C files.
git-svn-id: svn://10.0.0.236/trunk@114992 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 02:04:10 +00:00
alecf%netscape.com
fda1c3b05c add unicharutil static libs
git-svn-id: svn://10.0.0.236/trunk@114977 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 23:47:11 +00:00
alecf%netscape.com
f85a67075e one part of fix for bug 107575 - clean up consumers of nsString::EqualsIgnoreCase and nsString::EqualsWithConversion, to be explicit about case-insensitive compares
r=timeless sr=jag


git-svn-id: svn://10.0.0.236/trunk@114971 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 22:49:12 +00:00