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

3251 Коммитов

Автор SHA1 Сообщение Дата
kmcclusk%netscape.com 1945858afe Fixed code which prevented the rendering of large animated background gifs. Return after the the call to PatBltTile only if PatBltTile returns PR_TRUE otherwise fall through to the slow tiling code. bug 133096 r=dcone sr=attinasi a=asa 2002-03-26 14:21:31 +00:00
cbiesinger%web.de e41446ba72 bug 132563 ("Print job options dialog should use paper name instead of paper size to set/get the selected paper size"), r=rods, sr=attinasi, a=asa
patch by Roland.Mainz@informatik.med.uni-giessen.de
2002-03-25 23:57:40 +00:00
cbiesinger%web.de 9d58920112 bug 131417, r=bz, sr=scc, a=asa, patch by Roland.Mainz@informatik.med.uni-giessen.de
Memory leak in SetUpFontCharSetInfo()
2002-03-25 23:44:53 +00:00
rods%netscape.com d6676dfcab 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 13:21:23 +00:00
rods%netscape.com 6477f243c6 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:55:27 +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
dbaron%fas.harvard.edu 3f52b082bc Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-23 21:35:01 +00:00
rods%netscape.com dbb633ac74 The original patch worked fine for regular documents but didn't work for mail
because of the ordering of nsIWebProgressListeners. Even tho the doc WAS
finished loading the notification goes to mail first abd then it print and then
check to see if it is busy and it comes back that it is.
So instead I have to use two booleans to monitor if the document was asked to
be destroyed while it was preparing to print. This typically happens when the
user click on a click and it takes a while and then they decide to print. So
while the Print Dialog is up the document gets unloaded  and when it returned
back everything is gone.
So when the flow of control returns back from the Print Dialog it checks to see
if it "should" have been destroyed, and if so, it then aborts printing, cleans
and displays a message if the pressed "OK". If they pressed cancel then it
doesn't print the message.
Bug 131174 r=dcone sr=attinasi a=asa
2002-03-23 16:48:58 +00:00
bzbarsky%mit.edu 9c5467e86b Fix memory leak. Bug 131417, patch by Peter A Jonsson
<pj@ludd.luth.se>, r=bzbarsky,pavlov, sr=blizzard,jag, a=asa
2002-03-22 19:47:27 +00:00
mkaply%us.ibm.com d43e247ad2 #119182
r=mkaply, sr=blizzard, a=asa
OS/2 only - Constrain rectangles when drawing so legacy (16-bit) drivers work
2002-03-22 19:34:28 +00:00
dcone%netscape.com 840821338c 118890 r=rods sr=attinasi a=asa. Fixed printing in print preview. Last checking contained another fix I was working on.. so I pulled that out. 2002-03-22 15:18:38 +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 a165972d6f Backing out changes for Bug 131174 2002-03-22 00:42:48 +00:00
bstell%ix.netcom.com 010207f05d bug 130661 TrueType code does not distinguish regular/bold/italic
r=yokoyama@netscape.com, sr=rbs@maths.uq.edu.au, a=scc@mozilla.org
2002-03-21 23:44:10 +00:00
ftang%netscape.com 69086eec0b fix bug smoketest blocker 132370 and hopefully nsbeta1+ 122875 too.
check M9.0 FontManager and don't call them if they are not available
r=brade@netscape.com sr=sfraser a=kin (as sheirff for blocker)
2002-03-21 20:55:12 +00:00
dcone%netscape.com 770b0c5cc4 b=131888 r=dcone sr=attinasi a=asa Clean up crash on OS9 print dialog. 2002-03-21 14:58:41 +00:00
rods%netscape.com 427e92677e Make the default for ShrinkToFit be PR_TRUE
Bug 128008 r=kmcclusk sr=kin a=asa
2002-03-21 08:57:17 +00:00
mkaply%us.ibm.com b2b322cd35 #1131461
r=cls, a=asa
Remove unused gfx/src/os2/res directory
2002-03-20 22:59:08 +00:00
rods%netscape.com b4898103a0 This disallows printing or print preview to work if the document is busy.
Meaning it might be still loading or unloading.
Bug 131174 r=dcone a=attinasi a=dbaron
2002-03-20 22:50:42 +00:00
rods%netscape.com 4458993de1 Minor fix for patch should have been * instead of !*
Bug 131852 r=dcone sr=attinasi a=scc
2002-03-20 20:43:42 +00:00
dcone%netscape.com 0eff8bfd46 b=130027 r=karnaze sr=attinasi a=scc. fix PatBlt to be used only in optimized cases. 2002-03-20 14:53:57 +00:00
rods%netscape.com aa1233cc10 Besides turning on the pref, I needed to move the initialization code for
getting the values from the default printer from the DocumentViewer down into
the PrintOptions service. We want it done only the very first time when the PrintSettings is created.
Bug 131852 r=dcone sr=attinasi a=scc
2002-03-20 12:43:13 +00:00
bzbarsky%mit.edu 2892c41707 Fix crash on closing page setup. Bug 132004,
r=Roland.Mainz@informatik.med.uni-giessen.de, sr=attinasi, a=scc
2002-03-20 01:20:15 +00:00
bzbarsky%mit.edu ee68398f49 Make sure to parse in the C locale. Bug 131831, patch by
Roland.Mainz@informatik.med.uni-giessen.de (Roland Mainz), r=biesi,
sr=scc, a=roc+moz
2002-03-20 01:13:17 +00:00
mkaply%us.ibm.com f1415ab02c better fix for OS/2 bustage 2002-03-19 20:17:44 +00:00
mkaply%us.ibm.com ef70195b92 Hey, this isn't going to work, but we can't be anymore busted, can we? 2002-03-19 15:33:46 +00:00
jaggernaut%netscape.com bce9d4135a Attempt to fix OS/2 bustage. 2002-03-19 11:36:06 +00:00
alecf%netscape.com b90e3425b4 Fix for bug 107575, files which didn't land the first time (I was working off the wrong patch file) r=dougt, sr=jag, a=scc 2002-03-19 07:26:32 +00:00
timeless%mac.com dec943eb10 Bug 106386 rid source of misspellings
r=db48x sr=blake a=asa
2002-03-19 04:30:17 +00:00
rods%netscape.com 689c6b2ad9 Oops, not this one. 2002-03-16 15:20:48 +00:00
rods%netscape.com ab2eecaf1e Usingg nsIPrintSettings now
Bug 128142 r=dcone sr=attinasi a=shaver
2002-03-16 15:19:47 +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 5c0560eefc ReadPrefs and WritePrefs are no longer in nsIPrintOptions
Bug 128142 r=dcone sr=attinasi a=shaver
2002-03-16 11:26:47 +00:00
dcone%netscape.com 8697372e21 119574 r=rods sr=attinasi a=asa. return correct errors from cancel. 2002-03-16 02:39:53 +00:00
leaf%mozilla.org 8cca297b7d Bug 130923 ('Xprint refuses to print with the message "Inter nal error"'),
r=db48x, sr=attinasi, a=asa, code from gisburn
2002-03-16 02:33:52 +00:00
ftang%netscape.com 5721260a5e 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
2002-03-15 15:44:26 +00:00
ftang%netscape.com 31a2b0d114 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.
2002-03-15 15:41:05 +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
timeless%mac.com cee6adc427 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
2002-03-14 23:12:31 +00:00
rjesup%wgate.com 9b9c87f62a Bug 127455: Crash on 64-bit CPU's in DrawToImage due to unsigned underflow.
r=blizzard, sr=tor, a=blizzard
2002-03-14 22:15:00 +00:00
arougthopher%lizardland.net 0897a30aaf Fix for Bug#124543
BeOS MathML implementation


r-rbs (rbs@maths.uq.edu.au)
a=roc+moz
2002-03-13 01:02:25 +00:00
timeless%mac.com e2dea144d4 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
2002-03-12 22:52:34 +00:00
ftang%netscape.com ee74c1de7d fix bug125298. hide bidi control format code
r=nhotta sr=sfraser a=roc+moz
2002-03-12 22:36:59 +00:00
jdunn%netscape.com 1f72b9808d 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
2002-03-08 12:40:20 +00:00
dcone%netscape.com ac0332e4d1 b=117376, b=128282 r=kmcclusk,sr=attinasi,a=asa. Fixed Alpha blend tiling and some speed issues
with PatBlt and windows NT.
2002-03-07 23:41:14 +00:00
mkaply%us.ibm.com 2929c1b0c3 #129119
r=smontagu, sr=blizzard, a=asa
Os/2 only - use a constant scale for printing based on 96dpi
2002-03-07 06:16:52 +00:00
rjesup%wgate.com 4d22346b42 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
2002-03-06 22:05:23 +00:00
darin%netscape.com f1a6738b6c fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
bzbarsky%mit.edu 99ff7fe0a3 "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
2002-03-06 00:48:31 +00:00
bzbarsky%mit.edu 2c3ec2edd5 Fix printing on linux if screen is 72dpi. Bug 103145, r=dcone,
sr=roc+moz, a=asa
2002-03-05 23:52:49 +00:00
tor%cs.brown.edu d1d02f3421 Bug 128475 - print performance regression from 127430 checkin.
r=pavlov, sr=blizzard, a=roc+moz
2002-03-04 22:36:16 +00:00
bzbarsky%mit.edu 3c6fdb5ace 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
2002-03-03 16:57:52 +00:00
bzbarsky%mit.edu 23edaec45d 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
2002-03-01 23:25:03 +00:00
mkaply%us.ibm.com ed9067a399 #62175
r=mkaply, sr=blizzard, a=shaver
Os/2 only - Do the right thing with regards to vertical fonts on DBCS
2002-03-01 14:16:23 +00:00
bstell%ix.netcom.com 9e4b5d4223 bug 127063, add TrueType support for MathML
r=rbs, sr=shaver, a=leaf, a=shaver
2002-02-28 22:37:16 +00:00
timeless%mac.com 34b4c8a423 Bug 128120�Printing fails after first invocation
patch by Roland.Mainz@informatik.med.uni-giessen.de r=rods sr=blizzard a=suresh [sheriff]
2002-02-28 19:32:14 +00:00
dcone%netscape.com 158e2c6a3f 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.
2002-02-28 14:48:16 +00:00
jdunn%netscape.com c32d1fcc86 fixing hp-ux tinderbox (commercial) bustage
r=bstell@netscape.com
a=shaver@mozilla.org
2002-02-27 21:19:24 +00:00
rjesup%wgate.com 3fd85b5f5a Bug 94336: crash when viewing animated GIF with subsequent frame larger
than header.  r=pavlov, sr=tor, a=asa
2002-02-27 15:30:29 +00:00
dcone%netscape.com e8979914a0 b=127513 r=rods sr=attinasi a=shaver. Fixes windows 98 problems with the PatBlt. 2002-02-27 02:10:04 +00:00
rbs%maths.uq.edu.au b699957e56 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 2002-02-27 01:33:11 +00:00
bzbarsky%mit.edu 43a0ec8bd5 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.
2002-02-26 07:02:31 +00:00
bzbarsky%mit.edu b8b9b96753 Um... backing this out, will reland when tree is actually green. 2002-02-26 04:07:53 +00:00
bzbarsky%mit.edu 64367531bf 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
2002-02-26 04:05:05 +00:00
bzbarsky%mit.edu 9964703a40 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
2002-02-25 23:22:50 +00:00
pinkerton%netscape.com 58fa2f6350 implement NS_THEME_TOOLBAR_SEPARATOR, also patch outliner to support it. r=bryner,smfr/sr=blake/a=shaver. bug#127722 2002-02-25 22:14:55 +00:00
tor%cs.brown.edu eda2b6e17d Bug 127430 - delete client image copy. r=pavlov, sr=blizzard, a=chofmann 2002-02-24 23:42:32 +00:00
bstell%ix.netcom.com e8aa16bb63 bug 127283, I missed a changed requested by super-reviewer before the a= 2002-02-24 07:03:17 +00:00
dcone%netscape.com fb35e2faa8 bug=122996 r=karnaze sr=attinasi a=asa Fixes a windows98 tiling quirk with PatBlt. 2002-02-24 04:18:09 +00:00
bstell%ix.netcom.com 11da7e8c4a bug 127283, fix hang in TrueType MathML
r=ftang, sr=brendan, a=blizzard
2002-02-24 00:22:16 +00:00
bstell%ix.netcom.com 5cc29aeed2 bug 126979, fix solaris bustage
sr=brendan
2002-02-24 00:17:30 +00:00
cbiesinger%web.de 559f8fc646 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/
2002-02-23 15:32:03 +00:00
tor%cs.brown.edu 3c050670ab Fix cement bustage. 2002-02-23 00:47:15 +00:00
tor%cs.brown.edu 45315576a3 Bug 121015 - nsImageGTK server side scaling. r=pavlov, sr=blizzard, a=asa. 2002-02-22 23:58:25 +00:00
rods%netscape.com 66e676c78b Fix comparison for pref defined fonts names
Bug 126920 r=rods sr=attinasi a=asa
2002-02-22 13:12:12 +00:00
rods%netscape.com ffd20f7ad4 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
2002-02-22 03:11:17 +00:00
rjesup%wgate.com 1d1a9ed4e4 Bug 125025: Offscreen animations use lots of CPU. This is the DrawToImage
patch.  r=saari, sr=brendan, a=moz+roc
2002-02-21 01:52:38 +00:00
seawood%netscape.com 48f4f3f251 Do platform checks for postscript printing support (MOZ_ENABLE_POSTSCRIPT) in configure instead of makefiles.
Bug #126102 r=bryner
2002-02-20 07:08:02 +00:00
dcone%netscape.com 632cf74d38 bug=100324 r=dcone sr=attinasi. Checkin for ftang. Measure the cyrillic characters. 2002-02-20 05:55:52 +00:00
arougthopher%lizardland.net d8bd7b2036 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
2002-02-20 05:38:13 +00:00
pinkerton%netscape.com 21ef07f142 cleanup bg theme brush and fix things for dialog bg to draw. r=bryner/sr=hyatt. bug#119736 2002-02-20 02:14:04 +00:00
dbaron%fas.harvard.edu cc820ee695 Fix IRIX bustage. We can't use C++ comments in headers included by C files. 2002-02-20 02:04:10 +00:00
alecf%netscape.com 12527d9b58 add unicharutil static libs 2002-02-19 23:47:11 +00:00
alecf%netscape.com 66e767c7b8 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
2002-02-19 22:49:12 +00:00
timeless%mac.com 1f0a883e6c Bug 125078 Implement InitPrintSettingsFromPrinter for GTK+/Xlib
patch by Roland.Mainz@informatik.med.uni-giessen.de r=rods sr=attinasi
2002-02-19 22:47:35 +00:00
rods%netscape.com c852f59012 Makes sure the prefs aren't set if the pref values don't exist
Bug 124139 r=rods sr=attinasi
2002-02-19 11:59:27 +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
bstell%ix.netcom.com c797bc5a3d better fix for the linux bustage 2002-02-19 11:02:23 +00:00
bstell%ix.netcom.com 9d086cfb33 bug 116155, add code to measure/render using a common X font interface
r=pavlov@netscape.com, sr=jaggernaut@netscape.com
2002-02-19 11:00:24 +00:00
bstell%ix.netcom.com 184387e4c3 fix HP bustage 2002-02-19 09:51:56 +00:00
bstell%ix.netcom.com cd517dc994 fix tree bustage 2002-02-19 09:32:54 +00:00
bstell%ix.netcom.com ef602147ff bug 116151, add files for FreeType / TrueType font support
r=shanjian@netscape.com, sr=mcafee@netscape.com (delegate for mscott@netscape.com)
2002-02-19 08:53:50 +00:00
bstell%ix.netcom.com c6384d4380 bug 116153, add TrueType support for MathML (GetBoundingBox)
requested during sr= by rbs@maths.uq.edu.au (delegate for brendan@mozilla.org)
2002-02-19 08:51:40 +00:00
bstell%ix.netcom.com 3482745ecd bug 116153, add TrueType language group info to the X font language group
table. Read TrueType prefs.
r=katakai@japan.sun.com, sr=jaggernaut@netscape.com
2002-02-19 08:49:29 +00:00
bstell%ix.netcom.com 315b5ff55c bug 116155, add alpha blending routines for FreeType2/TrueType (performance)
Code to to measure/render text using a common font interface.
r=pavlov@netscape.com, sr=jaggernaut@netscape.com
2002-02-19 07:47:06 +00:00
cathleen%netscape.com c0186aa8b9 eliminate nsCRT::strlen for char* strings (part 2), bug 124536 r=dp sr=brendan 2002-02-19 07:43:41 +00:00
bstell%ix.netcom.com 5367f381af bug 116154, scan fonts to generate/save/read font summaries since getting
the valid glyph list is so expensive. Code to map TrueType fonts so the
mos X font selection code cand find them by name and/or language-group
r=smontagu@netscape.com, sr=rbs@maths.uq.edu.au/brendan@mozilla.org
2002-02-19 07:14:10 +00:00
gordon%netscape.com ba86e6ec2c Fixing optimized mac bustage. 2002-02-19 06:17:10 +00:00
gordon%netscape.com ee3794f8fa Fixing optimized mac bustage. 2002-02-19 05:00:29 +00:00
shanjian%netscape.com 35d62c3983 #117522 gfx/src/nsCompressedCharMap.cpp doesn't build: too many Ls in nsCompressedCharMap.h
r=bstell, sr=brendan
(thanks to timp@clarityconnect.com for test and verify the patch.)
2002-02-19 03:29:43 +00:00
dcone%netscape.com e38dc858f5 b=122996 r=kmclusky sr=attinasi. Use patblt for windows background tiling 2002-02-19 03:10:42 +00:00
sfraser%netscape.com 0caea2aa61 Fix debug-only code that validates the drawing state, to take the SIOUX window into account. r=pinkerton 2002-02-19 02:04:46 +00:00
kmcclusk%netscape.com 53a23f0667 check for null mOffScreenSurface in CopyOffscreenBits to fix topcrasher. bug 70424 r=pavlov sr=attinasi 2002-02-18 23:05:35 +00:00
pinkerton%netscape.com 6764920b96 tweak attribute checking for xbl form control checkboxes. patch by bryner. r=pink/sr=hyatt. bug#124483 2002-02-18 22:43:19 +00:00
pinkerton%netscape.com 1fb36a317b fix gcc scoping problem. 2002-02-18 15:35:25 +00:00
bryner%netscape.com 7d5cdb3675 - Use the focused attribute for radio containers, not :focus
- Add tooltip support
- Fix dropdown arrow sizing, hopefully

Not part of the build.
2002-02-18 07:51:35 +00:00
pinkerton%netscape.com dbee17b73f give textfields minimum height. fix bg color on tooltips. bug#122689, r=brade/sr=sfraser. 2002-02-17 19:45:54 +00:00
seawood%netscape.com 8f542dfc1c Fixing bustage on linkers that follow a strict -L usage (WS7) 2002-02-17 10:59:11 +00:00
bstell%ix.netcom.com 76e1c7c10b fix OS/2 bustage for bug 116149
r=dbaron
2002-02-16 20:04:30 +00:00
dbaron%fas.harvard.edu 8e0def5119 Change the implementation of text zoom so that the zooming happens in the style system. This causes 'em' and similar units to be zoomed as well. Also scale physical / pixel 'line-height' values. b=41847 r=attinasi sr=hyatt 2002-02-16 16:24:25 +00:00
dbaron%fas.harvard.edu 59892aa65e Remove more no-longer-needed nsComponentManager::RegisterComponent calls. Remove remnants of NS_IMPL_IDS macro, associated with long-gone NS_DECLARE_ID. b=125782 r=dougt rs=jag 2002-02-16 16:18:13 +00:00
bryner%netscape.com d52d18f23e Prefer do_GetAtom to dont_AddRef(NS_NewAtom(...)). Also, tweak the borders on checkbox/radio buttons and containers a bit. Not part of the build. 2002-02-16 10:43:59 +00:00
bstell%ix.netcom.com 372f4318e8 bug 116151: interface to the FreeType2 library
r=shanjian@netscape.com, sr=mscott@netscape.com (delegated to mcafee@netscape.com)
2002-02-16 08:45:05 +00:00
bratell%lysator.liu.se c638887b2f Bug 124686 - move the current region instead of replacing it with a new when setTo is called. This is slightly faster. r=kmcclusk@netscape.com sr=attinasi@netscape.com 2002-02-16 08:25:41 +00:00
bstell%ix.netcom.com 416a19ac47 bug 116149: simple name-value pair DB
r=yokoyama@netscape.com, sr=brendan@mozilla.org
2002-02-16 08:11:25 +00:00
bstell%ix.netcom.com 21811dbdef simple name-value pair DB
r=yokoyama@netscape.com, sr=brendan@mozilla.org
2002-02-16 08:07:44 +00:00
yokoyama%netscape.com 5dae93ac3c Bug 119927:
Instead of using the static variable in /gfx to maintain the state
of font download (eg. static BOOL gCheckJAFont = PR_FALSE;),
we use a nsFontPackageService::FontPackageHandled() API to allow
resetting of the font download.
/r=ftang; /sr=brendan
2002-02-16 01:39:56 +00:00
ftang%netscape.com b5a1c7193c fix bug 118670 r=smontagu sr=sfraser, add persian fallback 2002-02-16 01:24:57 +00:00
timeless%mac.com e260f466d2 Bug 125739 BeOS gfx build failure
patch by brunis@lpg.fi r=timeless
2002-02-15 19:37:55 +00:00
rbs%maths.uq.edu.au b010ac3189 [MathML only] fix weirdness in the edge case of an empty <mfenced></mfenced> 2002-02-15 14:39:50 +00:00
timeless%mac.com 96ed9db975 Bug 125530 Build failure in print code
patch by Roland.Mainz@informatik.med.uni-giessen.de r=timeless sr=attinasi
2002-02-15 14:26:16 +00:00
jdunn%netscape.com 5bd8d8fff4 fixing AIX bustage. The variable mNotice can't be const. It was
fixed once (rev 1.7) but was mistakenly made const again.
r=Roland.Mainz@informatik.med.uni-giessen.de
# 125341
2002-02-15 13:19:15 +00:00
roc+%cs.cmu.edu 23985b2913 Bug 123755. Fix Gtk crasher when drawing surface cannot be locked. r=pavlov,sr=attinasi 2002-02-15 13:14:32 +00:00
timeless%mac.com 74bcab176b Bug 125601�ABS()-->PR_ABS() && PR_ABS()-cleanup
patch by Roland.Mainz@informatik.med.uni-giessen.de r=timeless sr=sfraser
2002-02-15 01:01:06 +00:00
colin%theblakes.com c43ec5c6f0 Fix OpenVMS build breakage. b=125587. r=roland. sr=sfraser 2002-02-15 00:00:49 +00:00
timeless%mac.com 5ddb7228cd Bug 80625 Please implement --disable-postscript
patch by Roland.Mainz@informatik.med.uni-giessen.de r=rods sr=attinasi
2002-02-14 23:57:30 +00:00
seawood%netscape.com 038230f328 Fix link order since MOZ_GTK_LDFLAGS contains a -rdynamic which conflicts with -Bsymbolic.
Bug #125530
2002-02-14 19:23:38 +00:00
rods%netscape.com 57c940d858 Forgot to add this method 2002-02-14 18:29:38 +00:00
bryner%netscape.com 226b8642f3 Slight tweak to scrollbar thumb painting to paint as prelight as you are dragging. Not part of the build. 2002-02-14 00:13:10 +00:00
rods%netscape.com cb5aa69184 forgot to check these in 2002-02-13 15:19:38 +00:00
rods%netscape.com 498a6274ba fix bustage 2002-02-13 15:09:33 +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
bzbarsky%mit.edu b58037a33c De-uglify bullets on some X servers. Bug 91816, patch by Shaji
<nvshaji@netscape.net>, r=pavlov, sr=shaver
2002-02-13 03:32:00 +00:00
hyatt%netscape.com 521b24ba76 Fix cocoa makefile bustage. r=bryner, sr=ben 2002-02-13 01:21:34 +00:00
bryner%netscape.com a0635fadfa Bug 124482 - nsNativeThemeWin needs to check _moz-input-checked attribute for HTML/XBL checkboxes. r=blake, sr=hyatt. 2002-02-13 00:15:45 +00:00
timeless%mac.com 79c245b5cf Bug 120916 PostScript/Xprint module revamp
patch by Roland.Mainz@informatik.med.uni-giessen.de r=timeless rs=attinasi
2002-02-12 22:53:36 +00:00
timeless%mac.com 6bc2521083 Bug 120916 PostScript/Xprint module revamp
BeOS const fix for Bewildered tinderbox
2002-02-12 22:18:00 +00:00
timeless%mac.com 82cffe4fb9 Bug 120916�PostScript/Xprint module revamp
by Roland.Mainz@informatik.med.uni-giessen.de
r=rods, r=dcone, rs=attinasi
2002-02-12 19:58:37 +00:00
rods%netscape.com 224588e46f 1) It moves the BeginDocument to a earlier place in the call change
2) Fixes the negitive page range display problem
3) Improves performance by reducing the delay on pages not in the page range, i.e. before if you printed the 30th page out of 31 you had to wait 15 secs to get to the 30th page to print it.
4) Added AbortDocument, so now when Print jobs are cancelled we call AbortDocument and remove them from the print spooler
5) Fixed a couple of minor issue with Canceling and cancelling mail printings
6) selection was not printing correctly. The problem with selection was that the clip was not being set corrctly.
Bug 115227 & 123181 r=dcone,sspitzer sr=attainasi
2002-02-12 13:33:39 +00:00
bryner%netscape.com 88cf87974e Oops, fixing native theme bustage. Not part of the build. 2002-02-12 11:35:04 +00:00
seawood%netscape.com f63e357c91 Fixing win32 gmake bustage. 2002-02-12 06:24:00 +00:00
shanjian%netscape.com f3f7d348df #120348 crash in macro CCMAP_HAS_CHAR_EXT
rewrite CCMAP_HAS_CHAR_EXT macro
r=ftang, sr=attinasi
2002-02-12 05:01:42 +00:00
shanjian%netscape.com bcfb40094b Reverse my last checkin because the comment is not there. (cvs ci does not
allow me abort, while I copy-n-paste, it accidentally copied a carriage return.)
2002-02-12 04:59:15 +00:00
shanjian%netscape.com 8d56129faa *** empty log message *** 2002-02-12 04:54:24 +00:00
shanjian%netscape.com faa348445e #116030 provide a way to identify langGroup/rang for a unicode char
Add some checking code to figure out the range of a unicode char, and use this
piece of information to guide preference font searching.
r=rbs, sr=brendan
2002-02-12 04:51:41 +00:00
bryner%netscape.com b663c05b5f Fix the focused state for textfields. Not part of the build. 2002-02-12 04:21:16 +00:00
sfraser%netscape.com 7ce25343f8 Part of fix for bug 122012 -- add a StOriginSetter utility class. Also fix some trivial comment and spacing issues. r=pinkerton, sr=beard 2002-02-12 01:25:43 +00:00
bryner%netscape.com 88e7af4f86 adding new theme constant, NS_THEME_DROPDOWN_TEXTFIELD. bug 124560, r=bzbarsky/pinkerton, sr=hyatt. 2002-02-12 00:44:36 +00:00
arougthopher%lizardland.net d5fa46addc Fix for Bug#124519
Transapent infromation was not being displayed properly, due to the fact that it was being removed by the Optimise() function.  This was ok, until Optimise was actually being called, which it is now, becuase of the checkin for bug 104999.
r=mozilla@switkin.com
2002-02-10 03:03:51 +00:00
mkaply%us.ibm.com 89c06838f1 Try to get Os/2 building again with mathml 2002-02-09 16:03:46 +00:00
seawood%netscape.com c8b6a8863f Add stub implementations MathML's GetBoundingMetrics() so that builds work again.
Thanks to Paul Ashford <arougthopher@lizardland.net> for the patch.
Bug #124543 r=mozilla@switkin.com
Fixing tinderbox bustage
2002-02-09 09:46:54 +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
bryner%netscape.com 4c2c95ec2a - Hooked up toolbar background painting
- Return the correct border sizes for most widgets
- Code/style cleanup

Not part of the build.
2002-02-08 07:33:57 +00:00
nisheeth%netscape.com b6c6e5cc92 Fix bug 124069. r=pavlov@netscape.com, sr=tor@acm.org. Removed scaling and 8 bit alpha blending code from DrawToImage(). 2002-02-08 06:32:56 +00:00
arougthopher%lizardland.net c38985d7ce Fix for Bug#122121 - BeOS gfx implementation extremely slow
This fix does the folllowing:
- creating and destroying BBitmaps every time you blit
- copying platform independent bits into BBitmaps every time you blit
- using B_OP_ALPHA even when no alpha channel is present
- excessive locking when drawing (currently twice around every primitive)
- excessive calls to Sync() resulting in a huge slowdown (particularly when tiling)
- unneeded drawing of BBitmap data in DrawToImage()
- Added DrawNoLock() method used by DrawTile() calls, to prevent locking and
synchronizing with the server on each iteration
- Fixed several warnings
- Massive code cleanup and commenting
- Rewrote CreateImage() completely since only the 24 -> 32 bit case matters.
Removed non-working cruft related to B_CMAP8 BBitmaps, and optimized code to
work better on systems without write-combining.
- Removed unused member variables
- Reordered member variables for better packing and initialized them in order
- Removed code in DrawToImage() which was updating the BBitmap unnecessarily
- Implemented memory saving feature in Optimize() for when its starts getting
used again

r=arougthopher@lizardland.net
r=mozilla@switkin.com
2002-02-08 03:33:09 +00:00
dbragg%netscape.com 7d9b61d9af Moving platform-specific files to platform-specific jar files. Fixes bug 94242. r=tao, sr=alecf 2002-02-07 22:54:31 +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
sfraser%netscape.com f08b6dc7da Fix #include file case, so that Mac builds on UFS volumes work. r=gracie 2002-02-07 00:01:43 +00:00
pinkerton%netscape.com 52262d2123 ifdef-fu for mach-o. rs=hyatt 2002-02-06 15:42:06 +00:00
rods%netscape.com 7c55cd1698 This fixes remembering the last printer that was used and it also
enables you to to set the printer name and print silently (instead of silent
always having to use the default printer)
Bug 123335 sr=hyatt r=dcone
2002-02-06 13:02:42 +00:00
rods%netscape.com 69ad92f66b Fix minor issue with scanf
Bug 123335 sr=hyatt r=dcone
2002-02-06 13:01:37 +00:00
cathleen%netscape.com 740d95a0a9 eliminates 107 nsCRT::memset calls to use memset instead. removed nsCRT::memset() function. bug 118135 r=dp sr=brendan 2002-02-05 01:41:13 +00:00
mkaply%us.ibm.com 5ddca5d722 #108280
r=mkaply, sr=blizzard
Make OS/2 use display facenames on DBCS fonts.
2002-02-04 14:44:36 +00:00
bryner%netscape.com e7b96aa2ed Don't try to build native theme support on gtk2 (API changes). r=cls. 2002-02-04 09:03:53 +00:00
blizzard%redhat.com 58a5bb118f Bug #92033. Land changes to get gfx/ building with gtk2. Lots of ifdef code here. r=cls,bryner sr=alecf 2002-02-03 03:47:18 +00:00
lordpixel%mac.com 36c1ce1091 Final trunk fix for bug# 119118. r=netdemon, sr=smfr. r=sleestack (sherif) for checkin while tree closed 2002-02-02 04:44:14 +00:00
rods%netscape.com 8f1503a318 Added GlobalPrintSettings
Bug 120622 r=dcone sr=waterson
2002-02-01 15:48:21 +00:00
alecf%netscape.com 5483b6f627 one more part of fix for bug 107575, including the much coveted whitespace
remove aIgnoreCase parameter from all nsString and nsCString consumers
sr=jag, r=shaver
2002-02-01 01:53:09 +00:00
rods%netscape.com f02ec4e165 This was suppose to go in as part of
Bug 122530 r=dcone sr=hyatt
2002-02-01 01:42:37 +00:00
darin%netscape.com d3282c7153 fix mach-o bustage 2002-02-01 00:48:32 +00:00
pinkerton%netscape.com b1011ca0fc tooltips themed. r=sdagley/sr=ben. bug#115754 2002-01-31 19:45:20 +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
pavlov%netscape.com 78c0f8f1c3 fixing bug 104999 on windows. r=dcone sr=waterson 2002-01-30 22:17:55 +00:00
pinkerton%netscape.com cd08ae3b67 fix case where some pushbuttons were too narrow. r=sdagley/sr=sfraser. bug# 120896 2002-01-30 22:01:44 +00:00
sfraser%netscape.com d133d4956f Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson 2002-01-30 21:14:20 +00:00
timeless%mac.com 472c92d080 Bug 120211 Hook-up a dialog which warns users of the broken Xfree86 Xprt
patch by Roland.Mainz@informatik.med.uni-giessen.de r=timeless sr=jag
2002-01-30 03:15:27 +00:00
cathleen%netscape.com 8605704b12 eliminate nsCRT::zero() to use memset to zero instead, bug 118135, r=dp sr=waterson 2002-01-30 02:55:57 +00:00
pinkerton%netscape.com e6af3350ab twisties, upside down tabs, and tree implementation on mac. Also adding constants for window, menu, and dialog backgrounds XP. bug 115747, r=sdagley/sr=hyatt,sfraser. 2002-01-29 21:10:57 +00:00
timeless%mac.com 2a2eccd8df Bug 95986 remove references to nsImageManager
removing obsolete tests
removal for cbiesinger@web.de r=pavlov sr=tor
2002-01-29 15:15:37 +00:00
timeless%mac.com ddbcdd61d9 Bug 95986 remove references to nsImageManager
patch by cbiesinger@web.de r=pavlov sr=tor
2002-01-29 15:01:33 +00:00
bryner%netscape.com f3861937a7 Style and code cleanup. No functional changes. Not part of the build. 2002-01-29 03:06:44 +00:00
timeless%mac.com 700ed38a58 Bug 120967 Scale images with specific scaling factors
patch by Roland.Mainz@informatik.med.uni-giessen.de r=timeless sr=sfraser
2002-01-29 03:06:19 +00:00
timeless%mac.com ed1c5b938e Bug 121066 Images are dithered in Grayscale mode
patch by Roland.Mainz@informatik.med.uni-giessen.de r=timeless sr=sfraser
2002-01-29 03:05:19 +00:00
timeless%mac.com 327e376f67 Bug 120221 Make |NS_ERROR_GFX_PRINTER_INVALID_ATTRIBUTE| more specific
patch by Roland.Mainz@informatik.med.uni-giessen.de r=rods sr=sfraser
2002-01-29 03:03:56 +00:00
bryner%netscape.com 15f0ad9fb5 Removing scrollbar tracks from the list of widgets that don't need to be invalidated due to a state change. This fixes the scrollbar "stuck-in-hover" problem. Not part of the build. 2002-01-28 23:44:16 +00:00
bryner%netscape.com c0810e34f3 Cleaning up checkbox/radio button code, now that I understand how it's supposed to work. Hooked up checkbox/radio containers. Fixed active/hover state problems with buttons. Not part of the build. 2002-01-28 10:38:01 +00:00
bryner%netscape.com cfe46119ac turning off focus border for checkboxes. it's causing problems. not part of the build. 2002-01-28 07:17:39 +00:00
bryner%netscape.com 37fb333f32 Hooking up textfields and dropdown buttons. Not part of the build. 2002-01-28 06:32:08 +00:00
pinkerton%netscape.com cb46d68a19 changes for cocoa product to build and run and coexist in the tree with carbon. r=cls/sr=hyatt, bug# 111230 2002-01-25 22:01:41 +00:00
rods%netscape.com 9a440bd84e Removed "free memory read" and change strcpy to strdup
and did some general cleanup and changed how the default printer name was being obtained.
118086 r=dcone sr=waterson
2002-01-25 02:40:19 +00:00
mkaply%us.ibm.com 91b594ceff #116705
r=pedemont, sr=blizzard
OS/2 only - use FM_INVERT for drawing inverted rect
2002-01-25 00:02:40 +00:00
hyatt%netscape.com e704c2858a More objc fixes to remove id as parameter. r=danm, sr=brendan 2002-01-24 23:14:20 +00:00
bzbarsky%mit.edu 0c3b7335fd Correct case of some includes so we build on UFS. Bug 108300, patch by
leaf@mozilla.org, r=beard, sr=darin
2002-01-24 18:49:11 +00:00
pinkerton%netscape.com 7180e5e8d1 allow --enable-default-toolkit=cocoa in makefiles and default toolkit can now be overridden on platform that don't use X11. r=cls/sr=hyatt. bug#121496 2002-01-24 15:11:18 +00:00
lordpixel%mac.com af7c17236d Fix bustage. bug # is 119118 2002-01-24 04:33:01 +00:00
lordpixel%mac.com 199198044b Fix for bug 119118 Issue with calculating rowBytes. r=sdagley, sr=smfr 2002-01-24 03:48:54 +00:00
bstell%ix.netcom.com d16b06dced bug 119042, crash when dividing 0 by 1
r=bstell@ix.netcom.com, sr/a=brendan@mozilla.org,
2002-01-23 15:07:15 +00:00
bryner%netscape.com 6e5de27742 Fixing selected state for radio buttons. Not part of the build. 2002-01-23 06:00:03 +00:00
sfraser%netscape.com e99044efd2 Fix for bug 120228. The rendering context made for the caret was interferring with the origin and clipping of the drawing port. To fix this, we have to reset these before reach drawing call. r=pinkerton, sr=kin, a=asa 2002-01-23 00:44:39 +00:00