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

1495 Коммитов

Автор SHA1 Сообщение Дата
pavlov%netscape.com d042a09689 this wasn't supposed to go in yet 2000-01-28 01:28:54 +00:00
pavlov%netscape.com 9771d23c13 add a GC cache so that we talk to the X server less r=blizzard 2000-01-28 01:05:49 +00:00
pavlov%netscape.com 695cd53ae6 remove round trips to the X server when we create rendering contexts. only set font and color info on the GC when a draw is going to happen. 2000-01-26 11:37:58 +00:00
pavlov%netscape.com 4a7d74e28d make things better(tm) r=blizzard 2000-01-26 02:42:34 +00:00
dcone%netscape.com 55240d6d23 Added flags so selection button does not come up and print to file is hidden. Put in support for quiet
printing (no dialog) r=rods
2000-01-25 15:45:09 +00:00
Jerry.Kirk%Nexwarecorp.com 71009b66e8 Fix up the font picking stuff for Photon 1 2000-01-25 13:49:49 +00:00
Jerry.Kirk%Nexwarecorp.com 06478f0693 Adding in new code by Derek that better matches Photon Fonts for the font
that Mozilla requested.
r=kedl
2000-01-25 03:38:02 +00:00
Jerry.Kirk%Nexwarecorp.com 1b6100f808 Fixing compiler warning/errors caused by -pedantic
Changing method used to extent fonts and adding our version of wctombs
r=kedl
2000-01-25 03:26:00 +00:00
sfraser%netscape.com d19fe2f629 First Checked In. 2000-01-25 03:18:22 +00:00
Jerry.Kirk%Nexwarecorp.com f922fd3cdc Fix the destructor, it leaks less this way.
r=kedl
2000-01-25 03:00:41 +00:00
dcone%netscape.com b244931153 Added the canonical pixels scale calculation. r = rods. b = 24405 2000-01-24 14:58:49 +00:00
dcone%netscape.com ec07a3805b implemented a method to return the canonical pixel scale. r = rods b = 24405 2000-01-24 14:58:00 +00:00
dcone%netscape.com b11158d941 Added a member for the Canonical pixel scale - cross platform. r=rods b=24405 2000-01-24 14:52:12 +00:00
tor%cs.brown.edu b22d70637a Merge gtk font changes, fix font handling in PopState().
Not in standard build.  r=blizzard, a=choffman
2000-01-20 22:43:29 +00:00
neeti%netscape.com de2f1cc41f fix for memory leak bug# 21301. MLK: ImageNetContextSyncImpl leaks. r=pnunn 2000-01-18 13:10:47 +00:00
rbs%maths.uq.edu.au 54944bc747 [#ifdef MOZ_MATHML] Left-over when changing the character coordinate system of the bounding metrics. 2000-01-18 03:54:28 +00:00
sford3%swbell.net b2c319eae7 Replace instances of nsTextFormater with nsTextFormatter, r=jst@citec.fi 2000-01-17 22:32:13 +00:00
mscott%netscape.com a770fdf7e5 loading a uri takes the channel instead of the uri. The caller
must create the channel before call openuri.
r=rpotts.
2000-01-17 19:56:31 +00:00
alecf%netscape.com 1a3063b751 fix xlib bit rottage 2000-01-17 08:29:52 +00:00
rbs%maths.uq.edu.au b159fe6b2b [#ifdef MOZ_MATHML] Get the real x-height for precise MathML positioning. Bug 18814 can feed on this. 2000-01-17 00:54:01 +00:00
Jerry.Kirk%Nexwarecorp.com e3ae6932b7 bug 8001; add font name prefs code for Photon. This is initial
and only meant to get things compiling again until I can review and
understand this bug. PHOTON ONLY
2000-01-16 18:25:37 +00:00
Jerry.Kirk%Nexwarecorp.com 2ea6fa1d79 Work around a Photon bug when trying to Invert Text in the InvertRect
function by forcing a flush after the draw.
r=kedl
2000-01-16 01:55:27 +00:00
Jerry.Kirk%Nexwarecorp.com 1c6e902daf Multiplying the Screen Width and Height by three to take into account
the default 3x3 virtual console. This may not be the "right" way
but I am going with it for the moment.
r=kedl
2000-01-16 01:53:47 +00:00
erik%netscape.com 287652f4c1 bug 24005; was rounding font size down to be compatible with Nav4; this
turns out to have disastrous effects on pages with font-size 9px; removed
the rounding code after testing effects on various "Top Sites"; r=none
(but discussed with Troy)
2000-01-15 18:50:18 +00:00
erik%netscape.com 496213931b bug 17861; set minimum default logical resolution to 96, using OS's
reported value if higher than 96; coded by David Baron; r=erik
2000-01-15 18:20:54 +00:00
erik%netscape.com ebccc58538 bug 8801; add font name prefs code for Unix; r=ftang 2000-01-15 16:37:53 +00:00
Jerry.Kirk%Nexwarecorp.com ac672b5a43 Photon UI Only
Changing some debug output to silence the RenderingContext a bit so I can
work on other problems...
r=kedl
2000-01-14 13:17:25 +00:00
Jerry.Kirk%Nexwarecorp.com edbd9d3f4f Add code to work around Photon bug. If any part of "text" is rendered
slightly off the drawing surface then the entire chunk of text is clipped.
This is an awful hack that just increases the draw surface by 100.
(A magic number) I am filing a bug with Photon to get a fix.
r=kedl
2000-01-14 13:15:33 +00:00
rbs%maths.uq.edu.au aecdd16b1d [#ifdef MOZ_MATHML] Change of the character cordinate system of GetBoundingMetrics() 2000-01-14 08:02:12 +00:00
rbs%maths.uq.edu.au e1fd5b686c [#ifdef MOZ_MATHML] Change of the character cordinate system of GetBoundingMetrics() 2000-01-14 06:15:37 +00:00
neeti%netscape.com 0aaf184ecb fix for memory leak of ImageSystemServicesImpl, bug 21298, r=pnunn 2000-01-13 23:34:19 +00:00
pnunn%netscape.com 3fdce350ca bug#12722: timer interacting with image groups. pnunn. rev: neeti@netscape.com 2000-01-13 23:01:11 +00:00
pinkerton%netscape.com 13f4b1427e Replacing TARGET_CARBON ifdefs with inline functions in nsCarbonHelpers.h to make code more readable. 2000-01-12 07:14:09 +00:00
pinkerton%netscape.com 71d28f9b6d Replacing TARGET_CARBON ifdefs with inline functions in nsCarbonHelpers.h to make code more readable. 2000-01-12 07:02:17 +00:00
dbaron%fas.harvard.edu 8d42619583 Fix bug 11168. Underline position metrics are returned as positive
numbers by X, but Mozilla wants them to be negative.  This caused
problems only for certain font servers (those that returned underline
position metrics).

r=pavlov
2000-01-12 02:24:46 +00:00
pp%ludusdesign.com 698852a4f4 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com
2000-01-11 20:49:15 +00:00
pinkerton%netscape.com c00c54e40e First Checked In. 2000-01-11 05:18:43 +00:00
cls%seawood.org 4f34e05855 Removed redundant XPDIST from the build. Changed existing references to DIST.
Replaced all uses of $(DIST)/include with $(PUBLIC) except those looking for NSPR headers.
Removed extra instances of $(DIST)/include or $(PUBLIC) from INCLUDES as it's already there.
Override OS_LIBS when setting host variables for cross-compiling.
2000-01-11 05:13:01 +00:00
cls%seawood.org 4331ad7aba Add MKSHLIB_FORCE_ALL & MKSHLIB_UNFORCE_ALL pairs around the timer libs and other static libraries to be linked into the shared library. 2000-01-11 05:06:24 +00:00
dcone%netscape.com 31d90becfe Fixed some transform errors. r=rickg. bugs = 14385,19601 2000-01-10 14:52:49 +00:00
rbs%maths.uq.edu.au 90dd2e41c8 [MATHML] Coded GetItalicSlope() and updated GetBoundingMetrics(). Added code to catch up with recent changes in gfx/src/windows that broke the MathML build on Win32 2000-01-07 14:22:07 +00:00
rbs%maths.uq.edu.au 0f95730da9 [#ifdef MOZ_MATHML] Added GetItalicSlope() in nsIFontMetrics.h to get the tagent of the italic angle needed for the italic correction. Added leftItalicCorrection in nsBoundingMetrics and updated documentation 2000-01-07 14:16:02 +00:00
rbs%maths.uq.edu.au f1416deebf [#ifdef MOZ_MATHML] Patch of Shyjan Mahamud to set mActualSize to the designed size of the font, when the font requested is not a scalable font 2000-01-07 14:07:56 +00:00
briano%netscape.com 35a9a5201b Backed out the Solaris fix, because Linux doesn't like it. It may be that -z allextract and -Wl,--whole-archive behave differently. 2000-01-06 03:06:22 +00:00
briano%netscape.com 890a0d3da8 Fix for _optimized_ nightly Solaris 2.6 builds. 2000-01-06 02:06:56 +00:00
Jerry.Kirk%Nexwarecorp.com d054d5e24d Photon UI Only
This checkin adds some methods to deal with native Regions needed by Widget
code.  It also cleans up the CopyOffScrenBits and clears out the GC in the
Init method of nsDrawingSurfacePh.
2000-01-04 15:23:28 +00:00
dougt%netscape.com f48aefb147 Including nsCRT.h directly. It is included indirectly by nsFileSpec. This
prep work for the nsIFile landing.
2000-01-03 23:01:37 +00:00
ftang%netscape.com f2be845b90 partial fix for 19589. use ATSUI fallback to draw glyph available in MacRoman font and Symbol font. It will cover Latin extened A. r=nhotta a=chofmann 1999-12-22 20:56:49 +00:00
ftang%netscape.com 6450be0547 fix bug 7521. make the default font face listen to pref. r=erik. a=chofmann 1999-12-22 20:54:54 +00:00
tor%cs.brown.edu 6033955bfe Fix for bug 19024 (strechy symbols in MATHML) in xlib code.
r=rbs@maths.uq.edu.au
1999-12-22 04:47:32 +00:00
briano%netscape.com 9bfda42fbf Fix for the mysterious breakage when using the Workshop compiler on Solaris builds. 1999-12-22 01:42:19 +00:00
sspitzer%netscape.com 60a39256fc fix FMM and UMR from purify, add some null sanity checks to fix various
crashers that I've seen.
1999-12-21 23:11:17 +00:00
dcone%netscape.com 69464a3c0e CopyDeepMask Will not be called when printing, this will crash the printer. Checkin ok'd by Hoffman. r=karnaze. Bug=21759 (dogfood) 1999-12-21 18:19:52 +00:00
dcone%netscape.com a8a44f76e2 Added an IsPrinter() call. Checkin ok'd by Hoffman. r=karnaze. Bug=21759 (dogfood) 1999-12-21 18:19:05 +00:00
dcone%netscape.com 1f8912b0ea Fixed a problem with the calculation of the resolution constants for the creation of a printer DeviceContext.. and return the correct page size in the GetGetDeviceSurfaceDimension call. r=kmclusk 1999-12-16 15:18:36 +00:00
erik%netscape.com a3cb05fd7a bug 21352; was crashing on Japanese Win95 since we didn't keep our
subclass for that platform in sync with the base class; r=ftang a=chofmann
1999-12-15 01:15:36 +00:00
syd%netscape.com 5cf291106d Partial fix for 18083. Grab page size preference from user and use it to
compute page size for layout. Previously, it was assumed that page was
8x10, ignoring user choice made in the printer dialog. r=dcone, a=chofmann.
1999-12-14 02:16:17 +00:00
sspitzer%netscape.com 63b8d73500 fix #21178, crashing when printing on linux.
r=syd,erik a=chofmann
1999-12-14 01:54:48 +00:00
rbs%maths.uq.edu.au f6490aa71a [NOT PART OF THE DEFAULT BUILD]. Applied a patch of Shyjan Mahamud to return the bounding metrics in a uniform XP manner (bug 19024). 1999-12-10 13:17:03 +00:00
kmcclusk%netscape.com f8346220d0 Reduced image cache size from 2Mb to 1Mb. bug 19114. r=buster@netscape.com. approved by chofmann@netscape.com 1999-12-09 22:59:57 +00:00
ftang%netscape.com 003999a676 implement Mac GFX w/ langGroup. From now we will use the correct CJK font depend on the document charset. Howerver, it have not listen to the pref yet. r=erik. a=chofmann 1999-12-09 22:44:34 +00:00
erik%netscape.com 832772b399 bug 7586; need to convert font name from prefs file from UTF-8 to Unicode
so that non-ASCII font names will work on Windows; r=ftang; a=chofmann
1999-12-09 19:20:06 +00:00
sspitzer%netscape.com f94222fdda check in a comment that let's us non-mac guru's know which project builds this project. pretty annoying that a file under mozilla:gfx:src:mac gets built by mozilla:netwerk:util:macbuild:netwerkUtil.mcp, if you ask me. 1999-12-09 03:40:22 +00:00
pavlov%netscape.com 969d4376cb fix for 20496 r=mcafee a=leaf 1999-12-09 00:54:55 +00:00
dougt%netscape.com 1237a2d0bc fix for 20964. r=sfraser a=chofmann 1999-12-08 22:50:15 +00:00
Jerry.Kirk%Nexwarecorp.com e227937fdd Fixing drawing problems of toolbars under Photon ONLY.
The toolbars were not drawing properly, and were being clipped out by
incorrect clip rects that were part of the graphic context. I cleared
the Multiclip part of the GC when the a drawing surface is selected.
Fixing Photon, r=kedl a=leaf
1999-12-08 22:28:15 +00:00
erik%netscape.com f329f5e894 bug 8801; adding font prefs implementation for Windows initially; r=ftang 1999-12-07 23:27:17 +00:00
mscott%netscape.com 99c1377e5d Bug # 20698 --> make image consumer a content listener and load image urls through the uri loader
instead of trying to load them ourselves.
r=travis.
1999-12-07 07:15:42 +00:00
kmcclusk%netscape.com a1ba1126fb Modified nsRegionWin::Init to allow for init to be called multiple times on the same instance without leaking HRGN handles. The view manager re-uses nsIRegions by calling Init on an existing instance. bug=19114; r=buster@netscape.com 1999-12-06 21:33:59 +00:00
Jerry.Kirk%Nexwarecorp.com d4cb5e4cd7 Fixed some warning messages that started showing up when I moved to
the real compiler.
r=kedl
1999-12-06 13:45:33 +00:00
Jerry.Kirk%Nexwarecorp.com b27c322b8d Fixed ::Union by copying the tile list before MergeAdd
r=kedl
1999-12-06 04:53:52 +00:00
pierre%netscape.com 1a9674be44 20747 "[PP] The Font FACE attribute is case-sensitive". FontNameKey now computes the hash-value on lower-case strings. Also added a few out-commented lines in GetScreenResolution that may be useful later for #18136 "Fixing the font size mess". 1999-12-04 13:52:15 +00:00
warren%netscape.com 6af4802e75 Added buffer size parameters to NewChannel. Allows for optimization of amount of image data consumed. Bug #20408 1999-12-04 10:01:32 +00:00
warren%netscape.com f7f68f5b2f Fixed missing interface in QI 1999-12-04 09:48:25 +00:00
pavlov%netscape.com b7a076566e if an alpha pixmap is there destroy it and not only in the case where we have alpha bits 1999-12-02 23:56:12 +00:00
ftang%netscape.com 1d639795f4 add Mac implmenetation of nsIFontEnumerator r=erik 1999-12-02 23:27:16 +00:00
ftang%netscape.com e42006b2b2 Add <U+ > for Unicode fallback instead of ? 1999-12-02 23:26:42 +00:00
ftang%netscape.com 69d031db6f add nsIFontEnumerator.h 1999-12-02 23:26:06 +00:00
pavlov%netscape.com 968b526660 reuse pixmaps when image bits are changed instead of destroying them and recreating them every time r=blizzard 1999-12-02 22:25:20 +00:00
rods%netscape.com 9b92216789 bad or of flags, r=dcone, bug 13745 1999-12-02 21:54:39 +00:00
erik%netscape.com 0bcb0e41fd bug 17856; added 2 more font charset names to the table so that we can use
those Taiwanese fonts too; r=ftang
1999-12-02 21:49:27 +00:00
pavlov%netscape.com 910d4a3e5d building with --enable-x11-shm actually uses xshm now and works r=shaver 1999-12-02 01:01:13 +00:00
sspitzer%netscape.com a0a96bdfa7 I just crashed because we were dereferencing null.
so here some bulletproofing to prevent the crash.
I haven't been able to reproduce it, so I don't have a bug for this.
1999-12-02 01:00:24 +00:00
erik%netscape.com f1a2d6ff7f backing out part of previous change due to size and boldness issues on
some displays; r=none
1999-12-01 23:06:50 +00:00
pinkerton%netscape.com e986659786 beginnings of adding nsBlender support to mac build (r=pavlov). 1999-12-01 22:01:27 +00:00
colin%theblakes.com 3a73202d76 Print support for OpenVMS. r=dcone 1999-12-01 11:58:21 +00:00
neeti%netscape.com 10e15dd783 bug 15818, fixed one instance of ImageURLImpl being leaked for the icon on linux. r=pnunn 1999-12-01 04:02:57 +00:00
erik%netscape.com cd58bd62e1 bug 17503; East Asian text is so large on Unix, and raised too high for
the underline, so that it is truncated at the top in text fields -- have
applied a temporary fix based on the locale; r=ftang
1999-11-30 23:11:21 +00:00
warren%netscape.com e6ccab48ec Removed neckoutil_s.lib 1999-11-30 06:48:30 +00:00
warren%netscape.com 2db26922a6 Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms. 1999-11-30 04:50:42 +00:00
pnunn%netscape.com c133f8ae67 fix for bug#19394. pnunn. (a PDT bug). review:neeti@netscape.com
Added code for ImageRequest in error condition (abort).
Note that testcase only seems to trigger abort condition on
wintel.
1999-11-29 22:43:45 +00:00
syd%netscape.com ce0c4e4d6a Generate Postscript translate for top margin. r=dcone 1999-11-29 22:33:58 +00:00
Jerry.Kirk%Nexwarecorp.com 59e1d2caa9 mWidth and mHeight were getting set to 0 instead of -1 which broke menus
r=kedl
1999-11-29 21:37:02 +00:00
blizzard%redhat.com 7229cab6b5 [MLK] make sure to destroy the region before creating a new one 1999-11-29 03:08:49 +00:00
rbs%maths.uq.edu.au c3560e789f Removed a default arg. See where bug 19398 where axel@pike.org reported that a default arg is both in .h and .cpp, and Suns CC seems unhappy about this. 1999-11-29 02:03:26 +00:00
tor%cs.brown.edu 3b0ab1a458 Incorporate MATH_ML code from gfx/src/gtk into the xlib version.
Also changes MAX to PR_MAX. r=blizzard
1999-11-28 19:14:23 +00:00
duncan%be.com 9defa861bb Fix memory allocation checking bug 9828.
Fix DrawLine and DrawString rendering bugs (contributed by
Yannick Koehler <koehler@mythrium.com>).
r=syd
1999-11-28 10:53:47 +00:00
warren%netscape.com f31eff1b13 Forced Windows gkgfxwin to pull in NSGetFactory. 1999-11-28 05:39:46 +00:00
warren%netscape.com 96ec037ac6 Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
shaver%netscape.com 89607b7de2 Repair missing newlines at end of files, and remove lines of the form
#endif foo
both of which upset HPUX's compiler quite a bit.
Patch from Andrew Taylor <Andrew.Taylor@cal.montage.ca>.
1999-11-26 05:33:35 +00:00