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

3227 Коммитов

Автор SHA1 Сообщение Дата
dbaron%fas.harvard.edu 81ea297a54 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 5cfb5352b0 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 35ce4f899c 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 567c38790c #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 ac71ad4ac4 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 01df0654fa 118890 r=rods sr=attinasi a=asa. Fixed printing in print preview 2002-03-22 14:49:29 +00:00
rods%netscape.com cb4cf429c0 Backing out changes for Bug 131174 2002-03-22 00:42:48 +00:00
bstell%ix.netcom.com 078a4f12a2 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 bd2fd7d78a 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 d18a95f7f4 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 5ea7763219 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 e97729242e #1131461
r=cls, a=asa
Remove unused gfx/src/os2/res directory
2002-03-20 22:59:08 +00:00
rods%netscape.com 4f8a15dd9c 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 d307ec9fc2 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 041be68cad 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 7d26c59be3 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 403472430a 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 e69237d6e9 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 89a6f9d6ae better fix for OS/2 bustage 2002-03-19 20:17:44 +00:00
mkaply%us.ibm.com 185ea279ee 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 5a58793fc4 Attempt to fix OS/2 bustage. 2002-03-19 11:36:06 +00:00
alecf%netscape.com 7b6a3bb8e3 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 fc883176bf Bug 106386 rid source of misspellings
r=db48x sr=blake a=asa
2002-03-19 04:30:17 +00:00
rods%netscape.com d209194f95 Oops, not this one. 2002-03-16 15:20:48 +00:00
rods%netscape.com 070de69123 Usingg nsIPrintSettings now
Bug 128142 r=dcone sr=attinasi a=shaver
2002-03-16 15:19:47 +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 0261e03549 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 d811ba1b33 119574 r=rods sr=attinasi a=asa. return correct errors from cancel. 2002-03-16 02:39:53 +00:00
leaf%mozilla.org b968710a0b 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 a85bc361bb 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 e512fab8f7 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 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
timeless%mac.com 5bad2b800c 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 92d10c3125 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 308e9a2435 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 06c9376638 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 bd5134e665 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 0b445276bf 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 fd722cda6d 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 f40208741a #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 6411c10e37 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 026dda9f95 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
bzbarsky%mit.edu e343fa70bc "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 cce8c86279 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 f08ff40782 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 c0ae5a8f29 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 a67c92a640 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 a4cf8488ea #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 df779ea8c1 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 0cd45b7812 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 553249dcc4 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 11b9308df2 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 a44caaf0da 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 d1cb7d269b 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 ada69452fc 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 46b82e1b81 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 5d5e3391dc Um... backing this out, will reland when tree is actually green. 2002-02-26 04:07:53 +00:00
bzbarsky%mit.edu 8b534ef2af 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 9cd4d94492 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 d6b4794602 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 12f5d16694 Bug 127430 - delete client image copy. r=pavlov, sr=blizzard, a=chofmann 2002-02-24 23:42:32 +00:00
bstell%ix.netcom.com 1fba69e636 bug 127283, I missed a changed requested by super-reviewer before the a= 2002-02-24 07:03:17 +00:00
dcone%netscape.com 92effc942e 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 820f3df989 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 9e59b35c29 bug 126979, fix solaris bustage
sr=brendan
2002-02-24 00:17:30 +00:00
cbiesinger%web.de 298c3f5da7 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 354ddb6c82 Fix cement bustage. 2002-02-23 00:47:15 +00:00
tor%cs.brown.edu 1b4bbd001f Bug 121015 - nsImageGTK server side scaling. r=pavlov, sr=blizzard, a=asa. 2002-02-22 23:58:25 +00:00
rods%netscape.com b0c2f4849d 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 9f6bbba580 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 9879cf71a3 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 30bc03422e 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 51ec9de86f bug=100324 r=dcone sr=attinasi. Checkin for ftang. Measure the cyrillic characters. 2002-02-20 05:55:52 +00:00
arougthopher%lizardland.net 982f319308 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 0fef476d04 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 746eac556e 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 9eee1ebbfc add unicharutil static libs 2002-02-19 23:47:11 +00:00
alecf%netscape.com 5ec5cd62b2 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 c226e23422 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 02a5e71da2 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 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
bstell%ix.netcom.com 408249ade4 better fix for the linux bustage 2002-02-19 11:02:23 +00:00
bstell%ix.netcom.com 871e159b78 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 5b2745894d fix HP bustage 2002-02-19 09:51:56 +00:00
bstell%ix.netcom.com 61d848cab3 fix tree bustage 2002-02-19 09:32:54 +00:00
bstell%ix.netcom.com 9b3273b90d 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 82133e2821 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 cce5ac28da 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 1f55dc1c95 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 958ec3e92b 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 30d57aeece 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 3f7c4246f4 Fixing optimized mac bustage. 2002-02-19 06:17:10 +00:00
gordon%netscape.com 1fa4b5ccde Fixing optimized mac bustage. 2002-02-19 05:00:29 +00:00
shanjian%netscape.com d3269fdb4c #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 03ef5c547a b=122996 r=kmclusky sr=attinasi. Use patblt for windows background tiling 2002-02-19 03:10:42 +00:00
sfraser%netscape.com 632a3deb6e 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 f17f5994e8 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 eeca83c67b 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 51b3ccb90e fix gcc scoping problem. 2002-02-18 15:35:25 +00:00
bryner%netscape.com 1e89ecb876 - 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 7c8d149cdd 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 240ea65549 Fixing bustage on linkers that follow a strict -L usage (WS7) 2002-02-17 10:59:11 +00:00
bstell%ix.netcom.com 1967969869 fix OS/2 bustage for bug 116149
r=dbaron
2002-02-16 20:04:30 +00:00
dbaron%fas.harvard.edu f3b0f6c470 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 d376f6e5e2 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 8522223b85 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 bed2bfe320 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 5f7c394924 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 b3e9de2a76 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 0839760747 simple name-value pair DB
r=yokoyama@netscape.com, sr=brendan@mozilla.org
2002-02-16 08:07:44 +00:00
yokoyama%netscape.com af6a5bed20 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 5bd902ebd6 fix bug 118670 r=smontagu sr=sfraser, add persian fallback 2002-02-16 01:24:57 +00:00
timeless%mac.com 867be68441 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 cbff0857fe [MathML only] fix weirdness in the edge case of an empty <mfenced></mfenced> 2002-02-15 14:39:50 +00:00
timeless%mac.com 9475aeb987 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 4d660729d5 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 1606810d0a 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 fac5a6bcea 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 6316769d0f Fix OpenVMS build breakage. b=125587. r=roland. sr=sfraser 2002-02-15 00:00:49 +00:00
timeless%mac.com 728e63a39f 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 441e491b7b 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 1cb9d16d90 Forgot to add this method 2002-02-14 18:29:38 +00:00
bryner%netscape.com 02004e207b 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 ddfc208678 forgot to check these in 2002-02-13 15:19:38 +00:00
rods%netscape.com 32b222ea31 fix bustage 2002-02-13 15:09:33 +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
bzbarsky%mit.edu e06839b6e7 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 be983cd9c7 Fix cocoa makefile bustage. r=bryner, sr=ben 2002-02-13 01:21:34 +00:00
bryner%netscape.com 45bde19033 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 460f0d0d67 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 d36d44bd40 Bug 120916 PostScript/Xprint module revamp
BeOS const fix for Bewildered tinderbox
2002-02-12 22:18:00 +00:00
timeless%mac.com 26c57f5831 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 7d1713b7f6 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 78006914ba Oops, fixing native theme bustage. Not part of the build. 2002-02-12 11:35:04 +00:00
seawood%netscape.com 9edcc5094a Fixing win32 gmake bustage. 2002-02-12 06:24:00 +00:00
shanjian%netscape.com ab29096262 #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 5adcad4348 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 b1ecc45245 *** empty log message *** 2002-02-12 04:54:24 +00:00
shanjian%netscape.com dbeb907ac9 #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 42e134c60a Fix the focused state for textfields. Not part of the build. 2002-02-12 04:21:16 +00:00
sfraser%netscape.com c8c5cd5fb9 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 ad68814ac4 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 1caaa87135 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 d3305ddec3 Try to get Os/2 building again with mathml 2002-02-09 16:03:46 +00:00
seawood%netscape.com cb4a2da210 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 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
bryner%netscape.com bee2035040 - 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 6e21bd323f 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 1bc8997b84 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 c224428e90 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 cf3ce49d17 b=118889 r=rods sr=sfraser Fixed app. so printSettings dialogs will work 2002-02-07 05:32:59 +00:00
sfraser%netscape.com d03674c5ea 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 35c70c6841 ifdef-fu for mach-o. rs=hyatt 2002-02-06 15:42:06 +00:00
rods%netscape.com 2e18b8bb1c 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 dd289fdc4b Fix minor issue with scanf
Bug 123335 sr=hyatt r=dcone
2002-02-06 13:01:37 +00:00
cathleen%netscape.com bf3e08eb5f 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 dd9e1492fe #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 50a2155258 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 6307370817 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 17ae2f2e7b 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 2998f79a6f Added GlobalPrintSettings
Bug 120622 r=dcone sr=waterson
2002-02-01 15:48:21 +00:00
alecf%netscape.com 634e2f6f0c 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 c1322db4c8 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 a7b8afcb82 fix mach-o bustage 2002-02-01 00:48:32 +00:00
pinkerton%netscape.com 6dfc8399b1 tooltips themed. r=sdagley/sr=ben. bug#115754 2002-01-31 19:45:20 +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
pavlov%netscape.com ea6da43d6c fixing bug 104999 on windows. r=dcone sr=waterson 2002-01-30 22:17:55 +00:00
pinkerton%netscape.com 7559da36bd 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 d285f8f560 Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson 2002-01-30 21:14:20 +00:00
timeless%mac.com 42b7fd94de 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 370959ffe2 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 5c704d79f2 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 3c9001fdb0 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 cdb05eb90a 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 03c6995809 Style and code cleanup. No functional changes. Not part of the build. 2002-01-29 03:06:44 +00:00
timeless%mac.com 3b048c0b95 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 86e11d2cb8 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 c68ef8c76d 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 6a299696af 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 0f23690859 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 ae75fe61cc 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 a785e1023d Hooking up textfields and dropdown buttons. Not part of the build. 2002-01-28 06:32:08 +00:00
pinkerton%netscape.com acd3ea06e5 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 868a74e26b 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 60b676ca4d #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 64517b14e5 More objc fixes to remove id as parameter. r=danm, sr=brendan 2002-01-24 23:14:20 +00:00
bzbarsky%mit.edu 007a14ce1e 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 30c642c36e 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 821a177253 Fix bustage. bug # is 119118 2002-01-24 04:33:01 +00:00
lordpixel%mac.com 3a4e1a0b29 Fix for bug 119118 Issue with calculating rowBytes. r=sdagley, sr=smfr 2002-01-24 03:48:54 +00:00
bstell%ix.netcom.com 28004f05df 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 0cc4e8b30d Fixing selected state for radio buttons. Not part of the build. 2002-01-23 06:00:03 +00:00
sfraser%netscape.com ad46777a6d 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
pinkerton%netscape.com e2bc16894c ensure that mPixelsToTwips is always integral. r=dbaron/sr=sfraser/a=asa. bug#120779 2002-01-22 22:26:22 +00:00
bryner%netscape.com 731275c961 Hooking up radio buttons, clean up debugging printf's. Not part of the build. 2002-01-21 21:51:57 +00:00
shanjian%netscape.com cee3d83a76 #120047 crash while loading http://www.lupa.cz/anketa.phtml [@ ReadCMAPTableFormat4]
r=rbs, sr=attinasi, a=dbaron
Another patch missed in previous patch.
2002-01-18 21:07:02 +00:00
bryner%netscape.com 1a1db3e353 Some minor changes for scrollbar buttons that use transparency. Not part of the build. 2002-01-18 10:10:51 +00:00
bryner%netscape.com cf1979e3a5 Backing out my fix for bug 104544, it is causing artifacts to appear around the edges of images in the chrome. a=dbaron. 2002-01-18 02:05:50 +00:00
pinkerton%netscape.com 5ddd42b71b add tab support and fix up drawing problems with port not being set. r=sdagley/sr=sfraser/a=asa. bug# 120171 2002-01-17 23:08:25 +00:00