Commit Graph

3528 Commits

Author SHA1 Message Date
jshin%mailaps.org
dff2a30a07 Add 'wide'(16bit) non-Unicode truetype font support. Use 'nsAutoArray' for
temporary buffer allocation/deallocation. b=177877, r=shanjian, sr=rbs
2002-12-16 15:11:43 +00:00
cbiesinger%web.de
91a22d4fd5 185517 qt mozilla doesn't display images
QT ONLY - r=timeless rs=bz
2002-12-16 09:07:15 +00:00
cbiesinger%web.de
ebe3ebac4e 184905 r=timeless rs=bz convert gfx part of qt port to use PR_LOG rather than printf 2002-12-14 22:51:27 +00:00
katakai%japan.sun.com
563100ea13 bug 128572
CPU usage jumps to 100% when loading a page with wrong charset
r=bstell,sr=rbs
2002-12-13 08:04:51 +00:00
bryner%netscape.com
db1a60582b Don't apply a border to <toolbox> (bug 184588). r=blizzard, sr=ben. 2002-12-13 02:10:08 +00:00
bryner%netscape.com
3397db2f53 Use the correct GtkStyle for painting dropdown arrows. This fixes the problem of the arrow not painting with some themes. Bug 184583, r=blizzard, sr=ben. 2002-12-12 22:59:14 +00:00
cbiesinger%web.de
884934869d bug 184982 patch by timeless and me, r=biesi/timeless
QT ONLY - Make PostScript module optional for QT
2002-12-12 22:43:27 +00:00
cbiesinger%web.de
2697f1acf7 184901 r=timeless rs=bz
QT ONLY - unresolved symbols in QT GFX -> fails to load
2002-12-12 22:28:04 +00:00
colin%theblakes.com
0824e190c0 OpenVMS build changes. b=180290. r=cls 2002-12-12 00:08:59 +00:00
bstell%ix.netcom.com
d430d3bda4 bug 144669 add FreeType2 function to convert Truetype to subsetted Postscript
r=Louie.Zhao, sr=jst
2002-12-11 06:26:25 +00:00
bstell%ix.netcom.com
7c5097d7d8 bug 144669 code to convert Truetype to subsetted Postscript
r=Louie.Zhao, sr=jst
2002-12-11 06:24:48 +00:00
timeless%mozdev.org
144db344bd Fixing viewer crashes where prevFont->mFontMetrics is null
rearranged the code to use early returns/no else after returns.
r=jkeiser rs=bz
2002-12-11 04:11:23 +00:00
cbiesinger%web.de
e2dbd315cd r=timeless rs=bz
QT ONLY - remove USE_IMG2 ifdefs
2002-12-10 23:44:32 +00:00
timeless%mozdev.org
b3da95428f break the Qt build. If you're building Qt you don't want this checkin 2002-12-10 21:50:56 +00:00
timeless%mozdev.org
a6a2403598 Fixing viewer crashes where prevFont->mFontMetrics is null
rearranged the code to use early returns/no else after returns.
moduleowner=me rs=bz a=roc
part of the Qt module which still doesn't build w/o patches in my tree.
2002-12-10 17:42:15 +00:00
timeless%mozdev.org
c5d90c786c Bug 178987 Get qt toolkit working again
patch by esben@despammed.com r=timeless rs=bz a=roc
some changes by me
Bug 184257 Infrequent nsIPref users need to be converted to nsIPrefService, etc.
patch by caillon@returnzero.com r=timeless rs=bz a=roc
2002-12-10 07:34:13 +00:00
blizzard%redhat.com
b1f11a01b9 Bug #178128. Xft source files return compile time error. Use LOCAL_INCLUDES to force the Xft include path to be before the X11R6 include path so that we always get the correct version of the header files. r=cls, a=asa 2002-12-09 23:17:55 +00:00
shanjian%netscape.com
cc6a8ec5e9 #183372, XFree86 provides "*-big5hkscs-0" rather than "*-hkscs-1" for Big5-HKSCS font
patch proposed by: Anthony Fok
r=shanjian, sr=blizzard, a=asa
2002-12-09 17:49:16 +00:00
bryner%netscape.com
f09836bdcf Fix misdrawn border on focused textfields (bug 175696). r=blizzard, sr=jag, a=asa. 2002-12-06 00:08:21 +00:00
bstell%ix.netcom.com
8c74e4e807 bug 180473 : make nsFreeType a xpcom service and move from shared lib to static lib
r=Louie.Zhao@sun.com, sr=alecf@netscape.com
2002-12-04 04:42:40 +00:00
timeless%mozdev.org
20a24684e0 Bug 172751 nsITheme support for Windows 9x/NT/2000
patch by tim@prismelite.com r=hyatt sr=roc+moz
2002-12-04 04:41:35 +00:00
bryner%netscape.com
88a21a94b8 fixing aix bustage 2002-12-04 03:26:46 +00:00
caillon%returnzero.com
0f9a81eb48 182702: Convert printing code to use nsIPrefBranch and nsIPrefService
r=rods sr=roc+moz
2002-12-04 02:03:17 +00:00
bryner%netscape.com
bf1a792a73 Clean up nsNativeThemeGTK by separating all core drawing functionality into gtkdrawing.c and formalizing the API in gtkdrawing.h. Bug 174927, r=blizzard, rs=jag. 2002-12-04 01:50:38 +00:00
pkw%us.ibm.com
cdd1939100 Bug #181334 - libgfxft2.so fails to link on AIX.
r=seawood@netscape.com
2002-12-03 20:30:23 +00:00
mkaply%us.ibm.com
5832c5253c #181678
r=me, sr=blizzard for platform specific code
OS/2 only - another regression from Webdings code
2002-12-03 04:49:10 +00:00
mkaply%us.ibm.com
ae35f1d68f #182014
r=me, sr=blizzard (platform specific code)
OS/2 only - regession caused by webdings code - forgot to set convertcodepage in unicode case
2002-11-27 21:33:37 +00:00
blizzard%redhat.com
6e56b665a8 Remove printf() that shouldn't have been checked in in the first place. 2002-11-22 22:17:47 +00:00
mkaply%us.ibm.com
4e37f05363 #171166
r=pedemont, sr=blizzard (platform specific code)
OS/2 only - hack to support webdings
2002-11-22 07:03:56 +00:00
kyle.yuan%sun.com
a7ef16a263 Bug 124556 Crashing on random pages in 8-bit StaticGray class X11 server [nsImageGTK::DrawCompositedGeneral]
r=pavlov, sr=tor
modified the loop limit from (ximage->width*ximage->height) to (width*height) to avoid invalid memory access and corrected some pointer calculation bug.
2002-11-22 04:24:53 +00:00
jst%netscape.com
25026e8ae7 Ok, I've seen this printf enough times now, commenting out. 2002-11-22 00:30:37 +00:00
paper%animecity.nu
40615e5afe Bug 180963: remove duplicate file /gfx/src/nsRenderingContextImpl.cpp
r=brade sr=tor
2002-11-21 08:59:30 +00:00
bzbarsky%mit.edu
4b06a70b5f Use calloc() instead of malloc() followed by memset to 0. Bug 124302, patch by
Aaron Lehmann <aaronl@vitelus.com>, r=timeless, sr=bzbarsky
2002-11-20 23:13:09 +00:00
blizzard%redhat.com
1a79775dfd Bug #180721. floating point error when visiting web page. Paper over the fact that the style system is passing is a pixel size of 0. Not part of the default build. 2002-11-20 03:35:59 +00:00
blizzard%redhat.com
50ee0bec3d No bug. Add some prlog-driven debugging so that it's easier to figure out what fonts are loaded and when. Not part of the default build. 2002-11-20 00:44:53 +00:00
mkaply%us.ibm.com
d867bd2303 #179508
r=cls, pedemont, sr=blizzard for platform specific code
Add shared unicode stuff between OS/2 widget and gfx into gkgfx
2002-11-19 04:12:58 +00:00
dcone%netscape.com
7dd797d34e b=173234 r=rods sr=kin. Fixes crash with a drawingsurface. 2002-11-17 19:21:15 +00:00
timeless%mozdev.org
384066e98e Bug 58221 don't use strlen to check if a string is of length 0
patch by aaronl@vitelus.com r=timeless sr=bz
2002-11-17 05:16:49 +00:00
pete.zha%sun.com
c55e1525c5 nsFT2FontCatalog compile error when build mozilla(gtk2) on solaris9
b=180052 r=cls sr=bzbarsky@mit.edu
patch=louie.zhao@sun.com
2002-11-15 08:26:58 +00:00
pete.zha%sun.com
703bbf179c Font Catalog Service
b=144664 r=bstell@ix.netcom.com sr=bryner@netscape.com
patch=louie.zhao@sun.com
2002-11-15 04:59:17 +00:00
mkaply%us.ibm.com
452aea1fbe #176609
r=mkaply, sr=blizzard (platform specific code)
OS/2 only - use browser DPI for bitmap fonts as well
2002-11-14 19:53:20 +00:00
blizzard%redhat.com
ee12e4741c Bug #180123. Crashes when resizing mail window with gtk2 build. Make sure to always return something from nsRegionGTK::GetRects(), even if the list of rects is empty. r=tor 2002-11-14 19:29:10 +00:00
shanjian%netscape.com
b105fc6fe8 #94319 Symbolic fonts do not display properly, need generic solution rather than adding each new font to fontencoding.properties
using the flag set by CSS#94319 Symbolic fonts do not display properly, need generic solution rather than adding each new font to fontencoding.properties
using the flag set by CSS, we only decode symbol font using win-1252 for windows symbol font.
r=ftang, sr=rbs
2002-11-14 02:58:54 +00:00
dbaron%fas.harvard.edu
c67e79f291 Fix various shutdown leaks. b=179361 r=blizzard sr=bryner 2002-11-13 03:01:08 +00:00
dbaron%fas.harvard.edu
dc83a84103 Subclass the nsCSS* structs as nsRuleData* so members can be added to the latter without bloating the former, and to allow the former to go away eventually. Propagate whether a font family name comes from HTML through the style system and use it to set a bit on nsFont indicating that quirky behavior of Symbol fonts is acceptable. b=175372 r=bzbarsky sr=kin 2002-11-12 15:17:07 +00:00
mkaply%us.ibm.com
fe881b976d #178280
r=mkaply, sr=blizzard (platform specific code)
OS/2 only - rework how we decide what font names to put in the font list
2002-11-12 05:53:16 +00:00
bryner%netscape.com
cfda9bc97a Fixing comet orange; need to null check style->engine or we will crash if no theme engine is being used. 2002-11-08 02:21:49 +00:00
bryner%netscape.com
96ba4e107c oops! fixing my last checkin to actually set the widget types as disabled 2002-11-08 02:06:38 +00:00
bryner%netscape.com
a4335bd021 Disable GTK native theme support if we're using a theme engine that's known to crash, such as the Xenophilia engine (bug 175306). r=blizzard, sr=brendan. 2002-11-08 01:41:42 +00:00
pete.zha%sun.com
ca8b662646 back out for bug 144664
a=cls
2002-11-07 17:18:21 +00:00
pete.zha%sun.com
041f63cd6b fix the bustage (lose to checkin this file in the previous checkin) r=jkeiser a=#mozilla 2002-11-07 08:48:27 +00:00
pete.zha%sun.com
f592dba74c fix bustage for bug 144664 r=bryner a=#mozilla 2002-11-07 07:55:59 +00:00
pete.zha%sun.com
9ff39ee5f1 Font Catalog Service
bug=144664 r=bstell@ix.netcom.com sr=bryner@netscape.com patch=louie.zhao@sun.com
This patch fixed the build bustage on windows&HP-UX platform which r=bryner@netscape.com sr=bzbarsky@mit.edu
2002-11-07 06:32:29 +00:00
blizzard%redhat.com
0fbc99a78a Bug #174283. Xft font prefs should list fontconfig generic families. patch from dbaron@fas.harvard.edu, r=blizzard 2002-11-06 23:49:26 +00:00
dbaron%fas.harvard.edu
39ce4eeae8 Make NS_INIT_ISUPPORTS empty by moving NS_INIT_OWNINGTHREAD into the constructor of a new class, |nsAutoOwningThread|. Deprecate NS_INIT_ISUPPORTS. b=174225 r=dougt sr=alecf 2002-11-06 13:09:20 +00:00
dbaron%fas.harvard.edu
81811f6f8d Improve error handling for calls to XGetFontProperty in system fonts code. b=104345 r=bryner sr=bzbarsky 2002-11-06 12:53:16 +00:00
timeless%mozdev.org
59a03a40f4 using http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=MozillaTinderboxAll&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=pete.zha&whotype=regexp&sortby=Date&hours=2&date=explicit&mindate=1036540000&maxdate=1036553759&cvsroot=%2Fcvsroot&generateBackoutCVSCommands=1
to back out
Font Catalog Service
bug=144664 r=bstell@ix.netcom.com sr=bryner@netscape.com
patch=louie.zhao@sun.com

this broken windows and other platforms.
approved by cls and #mozilla
2002-11-06 04:05:21 +00:00
pete.zha%sun.com
47525b744d Font Catalog Service
bug=144664 r=bstell@ix.netcom.com sr=bryner@netscape.com
patch=louie.zhao@sun.com
Check in step 2(modify files)
2002-11-06 03:21:58 +00:00
pete.zha%sun.com
c183a18bc1 Font Catalog Service
bug=144664
r=bstell@ix.netcom.com sr=bryner@netscape.com
patch=louie.zhao@sun.com
Check in step 1 (Add new files, will not break build)
2002-11-06 03:06:00 +00:00
blizzard%redhat.com
e277c5c567 Bug #178067. gtk2 FE requires xft enabled to compile. Patch from cbiesinger@web.de. r=blizzard, sr=bzbarsky, a=jesup 2002-11-04 21:51:09 +00:00
blizzard%redhat.com
3fc9ec1f28 Bug #178045. floating point error when using gtk2 on startup. Make sure to check if the gtk dpi is greater than zero. r=owen sr=scc a=jesup 2002-11-04 21:32:36 +00:00
blizzard%redhat.com
ba1a8da285 Bug #176842. gtk2 UI fonts are wonky. Use the proper default font for gtk2. Make sure to use the gtk2 dpi and xft dpi when they are available and fall back to the physical dpi if they aren't set for xft and gtk2 builds only. r=bryner,sr=shaver,a=asa 2002-11-01 22:06:30 +00:00
rods%netscape.com
2fb11b7d84 1) Adds two bools to the PrintSettings and then when the PS gets
initialized from Prefs or from the Printer they get set. They get unset when
the printer name changes.

This is all necessary because the Page Setup Dialog calls
initPrintSettingsFromPrinter each time it is shown. So if you have set values
they will get "written" over the next time the dialog is shown.

2) Removes a lot of platform specific initialization from nsPrintOptionsImpl
and it now uses just the the "generic" XP routines and is now consistent with
the other platforms for initializing the PS.
Bug 167894 r=dcone sr=kin a=roc
2002-10-30 13:38:13 +00:00
bryner%netscape.com
d8d0eb1a62 Fix gtk native theme crash on solaris (bug 175755) by not relying on gdk_error_trap_push and instead using our own X error handler (and restoring the old handler after the painting operation is finished). r=blizzard, sr=jag, a=dbaron. 2002-10-24 23:53:46 +00:00
tor%cs.brown.edu
9b88c76b6c Bug 174831 - fix indexes in spacer image detector.
r=paper, sr=bzbarsky, a=blizzard
2002-10-17 19:20:16 +00:00
seawood%netscape.com
57e08a3f3a Define WIN32_LEAN_AND_MEAN globally for win32 builds.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa
2002-10-17 06:47:01 +00:00
tor%cs.brown.edu
3af7c25730 Bug 174259 - use appropriate indices in 1-bit alpha spacer image detector.
r=biese, sr=blizzard, a=dbaron
2002-10-15 06:37:54 +00:00
bryner%netscape.com
ebedcca3b4 Enabling GTK native theme support (bug 142334). r=blizzard, sr=hyatt, a=dbaron. 2002-10-15 03:58:05 +00:00
bryner%netscape.com
c679cd5571 Fix incorrect (and potentially uninitialized) native widget used for NS_THEME_DROPDOWN_BUTTON. Not part of the build yet. 2002-10-14 10:08:26 +00:00
bryner%netscape.com
b15d03122c Locate the symbols for gtk_style_get_prop_experimental and _gtk_check_button_get_props at runtime, so that builds done on GTK+ versions < 1.2.9 will function correctly with newer GTK+ versions and themes (bug 174319). r=pavlov, sr=brendan, not part of the build yet. 2002-10-14 09:32:05 +00:00
bryner%netscape.com
501cd7630e Fix one more warning 2002-10-13 02:55:11 +00:00
bryner%netscape.com
69c0589e65 Fix C++ comments in C file. patch from roc, r=me. 2002-10-13 02:11:46 +00:00
bryner%netscape.com
3e5daddf3f Fix checked checkboxes drawing as unchecked on the Crux theme. Not part of the build. 2002-10-13 01:22:59 +00:00
blizzard%redhat.com
b43d510614 Fix myotonic bustage by making sure that --disable-mathml works. Fallout from bug #126919. 2002-10-12 03:00:17 +00:00
blizzard%redhat.com
7163120165 Bug #126919. Xft support. r=rbs, sr=dbaron a=roc,shaver,others 2002-10-12 02:03:34 +00:00
smontagu%netscape.com
15d18f8e4f Add support for Langbox ISO-8859-6.8x encoding. Bug 78201, r=ftang, sr=roc+moz. 2002-10-08 23:58:48 +00:00
arougthopher%lizardland.net
5db029cfe6 Bugzilla Bug 173116
CRASH: BeZilla sometimes crashes on count_font_styles

r=arougthopher
sr=arougthopher
2002-10-08 04:16:04 +00:00
timeless%mac.com
c295d12093 Bug 158129 Add support for Adobe's Type1 Euro fonts
patch by Roland.Mainz@informatik.med.uni-giessen.de r=bstell@ix.netcom.com sr=roc+moz
2002-10-08 04:07:42 +00:00
timeless%mac.com
57ed167e48 Bug 158129 Add support for Adobe's Type1 Euro fonts
patch by Roland.Mainz@informatik.med.uni-giessen.de r=bstell@ix.netcom.com sr=roc+moz
2002-10-08 03:52:49 +00:00
smontagu%netscape.com
720c5e1a49 Backing out fix to bug 158129 because of Mac bustage 2002-10-07 22:50:54 +00:00
smontagu%netscape.com
baf822d197 Add support for Adobe's Type1 Euro fonts. Bug 158129, author=Roland.Mainz@informatik.med.uni-giessen.de, r=bstell, sr=roc+moz 2002-10-07 21:08:10 +00:00
smontagu%netscape.com
4175811129 Some very small images missing in printout. Bug 173035, Author=Roland.Mainz@informatik.med.uni-giessen.de, r=timeless, sr=roc+moz. 2002-10-07 20:45:13 +00:00
smontagu%netscape.com
9e5606ae3c XprintUtils does not handle non-space "whitespace-like" seperators in ${XPSERVERLIST} correctly. Bug 164648, Author=Roland.Mainz@informatik.med.uni-giessen.de,r=bbaetz, sr=roc+moz. 2002-10-07 20:39:24 +00:00
smontagu%netscape.com
45f195e2a3 Some nsFontLangGroup entries missing in X11 font code. Bug 172515, author=Roland.Mainz@informatik.med.uni-giessen.de, r=bstell, sr=roc+moz 2002-10-07 20:30:49 +00:00
hyatt%netscape.com
daa782d62b Add 1px padding to WinXP input fields. r/sr=jag,bryner 2002-10-07 08:31:58 +00:00
bryner%netscape.com
89ac32a5c8 Install a gdk error handler during native theme paint operations, and dynamically disable native theming of the widget in question if an X error occurs, to work around buggy theme engines. Bug 142334, patch by roc, r=blizzard, sr=bryner 2002-10-07 06:09:14 +00:00
bryner%netscape.com
1bb489617c Remove gfx2 from REQUIRES globally, since we no longer export headers to a separate gfx2 module. r=cls. 2002-10-05 02:49:02 +00:00
sgehani%netscape.com
3e9b341eff Remove dependency on gfx2 which was rolled in to gfx so depend builds work.
r=bryner
2002-10-05 01:03:48 +00:00
seawood%netscape.com
cc9190b38d Fix --disable-bidi on mac bustage.
Bug #136293 r=smontagu sr=jag
2002-10-04 06:56:22 +00:00
dcone%netscape.com
669c76e5cd b=143046 r=rods sr=boris API change so we can create different depth nsImages 2002-10-04 03:32:26 +00:00
blizzard%redhat.com
887a3f6feb Fix gtk2 build. No bug. r/sr=shaver,tor 2002-09-28 23:46:44 +00:00
pete.zha%sun.com
07569956eb common printing interface for Postscript and TrueType fonts
bug=144665 r=bstell@ix.netcom.com sr=jaggernaut@netscape.com
2002-09-27 07:46:19 +00:00
bstell%ix.netcom.com
dea3487d09 bug 169695 r=smontagu, sr=kin@netscape.com
move gdk performance code out of nsRenderingContextGTK.cpp since
it is not directly related to the rendering context
2002-09-27 07:13:49 +00:00
blizzard%redhat.com
0bf3debf8d Bug #170919. Make sure to allocate the right amount of memory for the rects in the region. patch is from tor@acm.org. r=blizzard Not part of the default build. 2002-09-27 02:10:27 +00:00
rods%netscape.com
7b4aca7912 This partially backs out the previous patch. We no longer need to set/get anything in the nsIPrintOptions.
What this does is:
1) Reflows the first time constrained and remembers mOverflowArea.XMost() of
the HTML frame and then later uses that for the calculation of the ratio.
2) Renames some variables
3) This also changes the the maximum STF ratio from 0.5 to 0.3 to match the
dropdown in PP
Bug 168961 r=dcone sr=kin
2002-09-26 11:25:04 +00:00
rods%netscape.com
f0dc2880e3 This does two things:
1) When the it returns from the Print Dialog it checks to see if the
PD_PRINTTOFILE flags is set then then set the the info into the PrintSettings
2) IF we are printing to a file, but not a file driver, then check to see if
the file name is the special "FILE:" (as per the MS documentation)
Bug 170332 r=dcone sr=alecf
2002-09-25 14:12:14 +00:00
hyatt%netscape.com
cd927cbcc7 Fix for 115743. r=pavlov, sr=bryner 2002-09-24 08:23:48 +00:00
hyatt%netscape.com
645804b150 Tweak to previous patch for form controls. r=bryner/sr=blake 2002-09-23 03:55:35 +00:00
dbaron%fas.harvard.edu
11d9ac099f Fix method-hiding warnings related to nsIRenderingContext::DrawImage variants. b=170107 r=tor sr=blizzard 2002-09-21 21:30:24 +00:00
tor%cs.brown.edu
6e7840d638 Bug 78497 - make 1-bit alpha images respect clip region. r=pavlov, sr=roc 2002-09-21 08:52:34 +00:00