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

1694 Коммитов

Автор SHA1 Сообщение Дата
bryner%uiuc.edu 307285c5d4 We don't need to build xlibrgb except when compiling the motif or xlib
toolkits. r=pavlov@netscape.com.
2000-02-11 03:07:32 +00:00
attinasi%netscape.com 8c013f3c3a case-insensitive check for font-name in LoadFont. r=eric b=27005 2000-02-11 01:22:20 +00:00
erik%netscape.com 3b26f6d150 bug 24005; putting the font size rounding code back in, since removing it
caused problems; part of ongoing discussion between rickg, pierre, etc.
2000-02-11 01:05:55 +00:00
pnunn%netscape.com 3f6bc7aef9 fix for bug#25021. r:neeti, rpotts. fix needed for pdt bugs. pnunn. 2000-02-11 00:55:37 +00:00
Jerry.Kirk%Nexwarecorp.com b1546a1b69 Check in updated version of nsGfxFactory that manages the ImageManager
class. This was crashing us. PHOTON ONLY
Also added un-finished nsFontEnumerator class to nsFontMetricsPh
2000-02-10 13:13:29 +00:00
kmcclusk%netscape.com 4d12d19a42 Prevent synchronous paints during reflows bug 20150; r=rods@netscape.com
Call SetTextAlign within SetupDC instead of in each DrawString on WIN32. bug 26973; r=rods@netscape.com
2000-02-09 15:48:01 +00:00
Jerry.Kirk%Nexwarecorp.com 3fecdf94ef Finish initial conversion from Photon 1 to Photon 2.
Force all off-screen drawing to be done in video card RAM instead of main
system RAM using Pd functions instead of Pm functions. PHOTON ONLY
r=kedl
2000-02-09 14:07:54 +00:00
dcone%netscape.com d04ec07f77 Fixed some flags and mask's in 16 bit blend. r=rods 2000-02-09 06:09:43 +00:00
dcone%netscape.com ae7831060f Took out a bogus call to ::LockPixels().. r=rods 2000-02-09 04:16:42 +00:00
alecf%netscape.com ed273ae206 add callback to browser.screen_resolution so that the screen resolution is maintained when a profile is loaded
r=erik
2000-02-08 05:52:41 +00:00
erik%netscape.com 63b6b786c2 bug 13072; Shyjan and Roger (MathML) guys came up with this fix to base
the font size on the normal "design" size (em square) of the font;
r=erik; a=pavlov
2000-02-08 03:20:40 +00:00
scc%netscape.com 5e041e830f Pro5 update 2000-02-07 23:06:04 +00:00
scc%netscape.com 744b77e353 Pro5 update 2000-02-07 22:29:52 +00:00
dcone%netscape.com 80b40568ae Converted decent into a negative value. r=rods 2000-02-07 14:02:01 +00:00
pavlov%netscape.com 0d6c9c3f9b add GetNumRects() to nsIRegion to return the number of rects making up the region. make two XChangeGC calls in to 1 to reduce X server traffic. inline a few methods that are used internally in the gtk implimentations. remove some code cruft. r=bryner@uiuc.edu 2000-02-07 03:39:21 +00:00
troy%netscape.com ddeb53a867 b=26692 r=erik@netscape.com Eliminated two places where nsAutoString objects
were being allocated on the heap
2000-02-07 01:07:16 +00:00
pavlov%netscape.com db30077d79 put include guards around nsGCCache.h and inlined a few function sr=smfr 2000-02-06 01:03:16 +00:00
beard%netscape.com 4fc362945a forgot to forward declare nsIGraphics here. fixing bustage. 2000-02-06 00:23:59 +00:00
beard%netscape.com f9fde35f5c removed unsafe StartDraw/EndDraw methods, using StPortSetter instead, added GetGraphics(). r=smfr 2000-02-05 23:02:37 +00:00
beard%netscape.com 8dcbf7be92 added nsGraphicsImpl.cpp. r=smfr 2000-02-05 22:52:13 +00:00
beard%netscape.com 86fafc0f10 added nsIGraphics.idl. r=smfr 2000-02-05 22:49:34 +00:00
beard%netscape.com 7ea1ad7348 XP implementation of scriptable graphics interface. r=pavlov (not part of build) 2000-02-05 22:05:51 +00:00
beard%netscape.com 7231bdd0d5 scriptable interface for graphics. r=pavlov 2000-02-05 22:02:19 +00:00
erik%netscape.com 1682e0a0cd fixing Solaris build bustage 2000-02-05 05:04:09 +00:00
erik%netscape.com 25a1d1ac60 bug 8801; temporary fix for bad performance problem with font prefs;
r=troy
2000-02-05 03:32:53 +00:00
erik%netscape.com e2f28a2d77 bug 8801; temporary fix for a bad performance problem with font prefs;
r=troy
2000-02-05 03:31:39 +00:00
sspitzer%netscape.com 058309ba44 use NS_WITH_SERVICE to make the code cleaner. 2000-02-04 23:02:25 +00:00
dcone%netscape.com 325c55e57c Added code to the Lock and unlock for blending support. 2000-02-04 15:53:39 +00:00
dcone%netscape.com 0fb7ad6ce5 Added Mac blender support. r=rods 2000-02-04 15:52:55 +00:00
mscott%netscape.com 7f04e0c460 more prepation for docshell landing. Implement IsPreferred and move implemtation of CanHandlecontent from the
application layer into the webshell/docshell layer.

r=travis
2000-02-04 08:45:34 +00:00
pavlov%netscape.com fe17ab1d23 remove code cruft and initialize the gcvalues struct's values to 0 so that we can correctly compare them in the gc cache r=tor@cs.brown.edu 2000-02-04 06:31:01 +00:00
pinkerton%netscape.com ca825bef77 fix the access paths for pro5 migration. r=macdev. 2000-02-04 03:27:36 +00:00
pavlov%netscape.com ec34c80f82 check for null properly 2000-02-03 23:40:13 +00:00
erik%netscape.com 89dbb4e4e1 bug 26331; we were missing some of the Traditional Chinese Big5 font
character encoding names; names gathered by momoi; r=erik
2000-02-03 23:38:51 +00:00
neeti%netscape.com 71a6e453f6 fix for bug 25360, need to check channel for errors. r=pnunn 2000-02-03 23:27:37 +00:00
pnunn%netscape.com f56dd3748c wrong bug number for version 3.18. The real bug# is 26351. -pn 2000-02-03 23:22:10 +00:00
pavlov%netscape.com 60c8dc8420 more x server traffic reduction by reducing cliping stuff r=blizzard 2000-02-03 23:18:31 +00:00
pnunn%netscape.com 4e67f6770c bug#22754. Added null check for image. pnunn. r:neeti. 2000-02-03 23:16:24 +00:00
rods%netscape.com dcdfde1d61 Caches parent DC to be used for GetSystemAttributes, needed for getting scrollbar information (in pixels). r=dcone b=24367 2000-02-03 15:42:27 +00:00
Jerry.Kirk%Nexwarecorp.com d84d6541de Remove clip.c, we no longer have to override the clipping functions
that are built into Photon.
2000-02-03 01:06:16 +00:00
sfraser%netscape.com ac281db15a Changed to use NS_DECL_ISUPPORTS_INHERITED. r=beard 2000-02-02 06:43:51 +00:00
sfraser%netscape.com 5cc5a41a76 Turn off the sync image icon loading, which has bad side-effects. bug 6553. r=beard, valeski 2000-02-02 06:43:18 +00:00
jdunn%netscape.com b480ed46fc make Ansi C++ compliant
enums ranges need to be contained within their value range
#= 25826
r= pavlov@netscape.com
2000-02-01 23:01:02 +00:00
rods%netscape.com 1f52a3d074 fixed margins r=rods 2000-02-01 22:39:18 +00:00
pnunn%netscape.com 04ac212d14 bug#1248, fix part1. pnunn. rev:troy,dcone,neeti 2000-02-01 22:25:21 +00:00
pp%ludusdesign.com 207f05242d Conversion to NS_GET_IID(). Bug #20232, r=scc@netscape.com 2000-02-01 14:26:27 +00:00
pavlov%netscape.com 2a57c203cc fix for silly sun compiler from tor r=me 2000-02-01 03:14:18 +00:00
syd%netscape.com ccd1e23533 Minor changes for PostScript printing. r=dcone. 2000-01-31 21:24:19 +00:00
mscott%netscape.com bd8de0e816 API sync with nsIURIContentListener r=travis 2000-01-29 06:09:45 +00:00
pavlov%netscape.com f16706db9b fix the caret blinking bug on linux and remove an extra call to things that don't need to be called r=mcafee 2000-01-28 23:52:28 +00:00
sfraser%netscape.com 163a175a06 Fix for 25366 -- check for color grafport before getting the GrafVars. r=pinkerton 2000-01-28 23:39:24 +00:00
dcone%netscape.com e8ae9b2efc Took out ifdef for the Mac. Loading Icon will now display. r=rods 2000-01-28 14:56:07 +00:00
pavlov%netscape.com b7602293d8 make hpux happier. 2000-01-28 08:08:30 +00:00
tor%cs.brown.edu 33b0767c3e Shuffle #includes to get proper definition of NULL for picky C++ compilers.
r=pepper
2000-01-28 03:08:02 +00:00
pavlov%netscape.com 31d5720271 this wasn't supposed to go in yet 2000-01-28 01:28:54 +00:00
pavlov%netscape.com 7075a2e3c2 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 514859fc45 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 b77c48560b make things better(tm) r=blizzard 2000-01-26 02:42:34 +00:00
dcone%netscape.com c677bb6c75 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 30a311f587 Fix up the font picking stuff for Photon 1 2000-01-25 13:49:49 +00:00
Jerry.Kirk%Nexwarecorp.com 571e4aab44 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 a7f7d651e8 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 fa9bd3fe84 First Checked In. 2000-01-25 03:18:22 +00:00
Jerry.Kirk%Nexwarecorp.com 294822294a Fix the destructor, it leaks less this way.
r=kedl
2000-01-25 03:00:41 +00:00
dcone%netscape.com 6e828d5de7 Added the canonical pixels scale calculation. r = rods. b = 24405 2000-01-24 14:58:49 +00:00
dcone%netscape.com 4e270c0f27 implemented a method to return the canonical pixel scale. r = rods b = 24405 2000-01-24 14:58:00 +00:00
dcone%netscape.com 5a5b1fa913 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 9169272326 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 dacf90aa91 fix for memory leak bug# 21301. MLK: ImageNetContextSyncImpl leaks. r=pnunn 2000-01-18 13:10:47 +00:00
rbs%maths.uq.edu.au 52f8219120 [#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 948579bb84 Replace instances of nsTextFormater with nsTextFormatter, r=jst@citec.fi 2000-01-17 22:32:13 +00:00
mscott%netscape.com 466ba23665 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 08098b461e fix xlib bit rottage 2000-01-17 08:29:52 +00:00
rbs%maths.uq.edu.au 6a2c190162 [#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 8d7ee7dfc1 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 0a5b30da64 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 4c76e324de 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 e864077f1f 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 38033ef1a1 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 bf54fe3aa1 bug 8801; add font name prefs code for Unix; r=ftang 2000-01-15 16:37:53 +00:00
Jerry.Kirk%Nexwarecorp.com 0c1d8adc70 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 e0565e7481 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 ea5736732c [#ifdef MOZ_MATHML] Change of the character cordinate system of GetBoundingMetrics() 2000-01-14 08:02:12 +00:00
rbs%maths.uq.edu.au 745ea114fe [#ifdef MOZ_MATHML] Change of the character cordinate system of GetBoundingMetrics() 2000-01-14 06:15:37 +00:00
neeti%netscape.com 009b8bf510 fix for memory leak of ImageSystemServicesImpl, bug 21298, r=pnunn 2000-01-13 23:34:19 +00:00
pnunn%netscape.com 9f3fc6e4a8 bug#12722: timer interacting with image groups. pnunn. rev: neeti@netscape.com 2000-01-13 23:01:11 +00:00
pinkerton%netscape.com ec1eca1c52 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 53b6b1e940 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 20fdd8013d 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 13efd9e8c6 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 1b1155e2f6 First Checked In. 2000-01-11 05:18:43 +00:00
cls%seawood.org 9f3b874745 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 b786c18884 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 9b52af6877 Fixed some transform errors. r=rickg. bugs = 14385,19601 2000-01-10 14:52:49 +00:00
rbs%maths.uq.edu.au f8a30ef096 [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 5bf1ba7301 [#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 16817f2401 [#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 02ceca697e 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 478dea0c38 Fix for _optimized_ nightly Solaris 2.6 builds. 2000-01-06 02:06:56 +00:00
Jerry.Kirk%Nexwarecorp.com 0b3b6bdcd9 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 b7e589efe5 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 fc9aaa700c 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 0b2fd49f36 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 228489052e 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 9084c00563 Fix for the mysterious breakage when using the Workshop compiler on Solaris builds. 1999-12-22 01:42:19 +00:00
sspitzer%netscape.com b8073feab0 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 4a61603e7f 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 202d6d8287 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 8095672837 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 49e7488434 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 a1fd50730e 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 916dfad12c 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 297fea5cc3 [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 d349b6c6bd 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 bfb3fff3c2 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 3bc71cd5c5 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 8404d060b6 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 c6bb09d1a8 fix for 20496 r=mcafee a=leaf 1999-12-09 00:54:55 +00:00
dougt%netscape.com 0506b1548e fix for 20964. r=sfraser a=chofmann 1999-12-08 22:50:15 +00:00
Jerry.Kirk%Nexwarecorp.com 7043aea350 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 d6606ac97a bug 8801; adding font prefs implementation for Windows initially; r=ftang 1999-12-07 23:27:17 +00:00
mscott%netscape.com 86e0e4b749 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 670cd92de5 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 161227d500 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 521c12e46e Fixed ::Union by copying the tile list before MergeAdd
r=kedl
1999-12-06 04:53:52 +00:00
pierre%netscape.com 2e91e607c0 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 bf4ef9672f 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 b348819f43 Fixed missing interface in QI 1999-12-04 09:48:25 +00:00
pavlov%netscape.com e24bed0deb 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 e4c5a0077b add Mac implmenetation of nsIFontEnumerator r=erik 1999-12-02 23:27:16 +00:00
ftang%netscape.com 331338ca67 Add <U+ > for Unicode fallback instead of ? 1999-12-02 23:26:42 +00:00
ftang%netscape.com 6ada3ddd02 add nsIFontEnumerator.h 1999-12-02 23:26:06 +00:00
pavlov%netscape.com 692f111746 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 eb2a6bafc5 bad or of flags, r=dcone, bug 13745 1999-12-02 21:54:39 +00:00
erik%netscape.com 641e365fbf 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 5c0d4d775a building with --enable-x11-shm actually uses xshm now and works r=shaver 1999-12-02 01:01:13 +00:00
sspitzer%netscape.com a5965f0201 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 d7247583e0 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 b1a5e9faef beginnings of adding nsBlender support to mac build (r=pavlov). 1999-12-01 22:01:27 +00:00
colin%theblakes.com cd9671e988 Print support for OpenVMS. r=dcone 1999-12-01 11:58:21 +00:00
neeti%netscape.com 01eb5d221e 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 c983e91139 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 a88e9e92bc Removed neckoutil_s.lib 1999-11-30 06:48:30 +00:00
warren%netscape.com a265a32348 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 ed5de5abfa 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 ec9b104567 Generate Postscript translate for top margin. r=dcone 1999-11-29 22:33:58 +00:00
Jerry.Kirk%Nexwarecorp.com cc16c00340 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 9ffe275348 [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 5a32520084 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 11402c9385 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 15817ebf5a 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 8c6762ba99 Forced Windows gkgfxwin to pull in NSGetFactory. 1999-11-28 05:39:46 +00:00
warren%netscape.com 4ab4ee4d4e Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
shaver%netscape.com 506027739d 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
neeti%netscape.com 9d46d408d0 *** empty log message *** 1999-11-24 03:49:11 +00:00
neeti%netscape.com 7129fdcf3b fix bug 15820,memory leak in ImageManagerImpl by converting it to a service on gtk, windows and mac.r=dp 1999-11-24 03:41:48 +00:00
sfraser%netscape.com 2437ceb08d Make the image manager a service, part of neeti's checkin that follows. r=neeti. 1999-11-24 03:39:30 +00:00
Jerry.Kirk%Nexwarecorp.com ce55045e27 Changed some logging to be more helpful in tracking down graphic rips.
r=kedl
1999-11-23 13:06:27 +00:00
Jerry.Kirk%Nexwarecorp.com 5dbd1bd692 Increased size of static Font List buffer to support new fonts
being released.  This should really be dynamic.
r=kedl
1999-11-23 13:02:21 +00:00
erik%netscape.com e0acd3f430 bug 8801; new font enumerator for GTK for font prefs UI; r=ftang 1999-11-23 00:43:41 +00:00
erik%netscape.com f8c0b06155 bug 8801; better error handling for new font enumerator; r=ftang 1999-11-23 00:12:36 +00:00
erik%netscape.com a5891ba83a bug 8801; new font enumerator for font prefs UI; r=ftang 1999-11-22 19:39:13 +00:00
erik%netscape.com 7adaf0f0dc bug 8801; CID for new font enumerator for font prefs UI; r=ftang 1999-11-22 19:34:31 +00:00
erik%netscape.com e058a5a71f bug 8801; new font enumeration API for font prefs UI; r=ftang 1999-11-22 19:33:25 +00:00
neeti%netscape.com 79b2efdf70 bug 15821. r=sfraser. Fixed memory leaks in ImageRequestImpl. 1999-11-22 14:27:04 +00:00
danm%netscape.com a27aa33caa older and wiser, making previous attempt to return correct clientrect actually work. r:saari@netscape.com 1999-11-19 07:56:12 +00:00
ftang%netscape.com 24cdb34bb8 change the charset name to correct case for ISO-8859-x 1999-11-19 01:18:32 +00:00
danm%netscape.com aacfe0af91 windows device context now reports ClientRect in twips, like everyone else. fixes bug 13392. r:saari@netscape.com. 1999-11-19 01:15:46 +00:00
Jerry.Kirk%Nexwarecorp.com 1a6522befd Added a few comments to remind me whats going on.
r=kedl
1999-11-18 13:03:16 +00:00
Jerry.Kirk%Nexwarecorp.com addb97522e turning off automatic generation of BMP files for each image drawn.
r=kedl
1999-11-18 13:02:21 +00:00
rbs%maths.uq.edu.au 3e51c1052c Ensure all the control paths return value 1999-11-18 03:56:38 +00:00
warren%netscape.com aaf83521f5 Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott 1999-11-17 08:14:52 +00:00
jdunn%netscape.com c1b3e427fd finish unresolved symbols checkin
r dp@netscape.com
# 18896
1999-11-16 23:24:44 +00:00
jdunn%netscape.com d70d78c6bf Fixing all unresolved symbols on unix. The bug has the diff's
r dp@netscape.com (ramiro helped me with it)
# 18688
1999-11-16 06:02:31 +00:00
slamm%netscape.com 41549f7bb3 Simple warning fix. Change loop index to unsigned (It starts at zero and is always incremented.) 1999-11-16 02:02:59 +00:00
Jerry.Kirk%Nexwarecorp.com 424b19cb93 Fixes for on screen drawing in viewer.
r=kedl
1999-11-15 22:05:16 +00:00
dcone%netscape.com 693ccd4cf5 Fixed the MoveTo to move to the x and y instead of the y and y. R=rods 1999-11-12 15:10:40 +00:00
warren%netscape.com 4471ddf809 Added NS_NewGenericModule. Made NS_IMPL_NSGETFACTORY use it to save space. r=dp,alecf 1999-11-12 09:07:26 +00:00
Jerry.Kirk%Nexwarecorp.com dd50f7b2f1 A re-write of Rendering and Drawing Surface to fix a lot of
inherent bugs that became apparent when the new Chrome was applied.
r=kedl
1999-11-12 02:18:36 +00:00
syd%netscape.com 5b390883f8 Wire up margin settings from dialog. r=dcone 1999-11-11 14:20:19 +00:00
rbs%maths.uq.edu.au bfc47d3c5f [GFX] GetBoundingMetrics() added in nsIRenderingContext and associated changes elsewhere (patform-specific) to support its implementation. Fixes for existing bugs discovered while doing the implementation. Details for public: API of the GetBoundingMetrics() method for accurate measurements of a string in order to allow precise positionning when processing MathML. review: Erik, Shyjan. 1999-11-11 04:24:51 +00:00
rbs%maths.uq.edu.au b177999cb7 [GFX] GetBoundingMetrics() added in nsIRenderingContext and associated changes elsewhere (patform-specific) to support its implementation. Fixes for existing bugs discovered while doing the implementation. Details for windows: Erik van der Poel erik@netscape.com's code for the support of the Symbol font. review: Shyjan, rbs. My changes to DrawString to use the baseline as the reference point and changes aimed at computing the bounding metrics. review: Erik, Shyjan. 1999-11-11 04:19:25 +00:00
rbs%maths.uq.edu.au 3d4258be6a [GFX] GetBoundingMetrics() added in nsIRenderingContext and associated changes elsewhere (patform-specific) to support its implementation. Fixes for existing bugs discovered while doing the implementation. Details for gtk: Shyjan Mahamud mahamud@cs.cmu.edu's changes to enable the symbol font on Linux, as well as the fix for the CSS font-family bug, and the computation of the bounding metrics. review: Erik, rbs. 1999-11-11 04:16:54 +00:00
rbs%maths.uq.edu.au 907d400e00 [GFX] GetBoundingMetrics() added in nsIRenderingContext and associated changes elsewhere (patform-specific) to support its implementation. Fixes for existing bugs discovered while doing the implementation. Details for ps: Empty hooks to make the code compile while awaiting implementation. 1999-11-11 04:12:33 +00:00
pavlov%netscape.com db34394cbf remove #ifdef DEBUG_pavlov #define NOISY FONTS blah blah r=paulmac,mcafee 1999-11-10 07:31:01 +00:00
bienvenu%netscape.com bc245e01d9 fix build bustage, use PR_MAX instead of MAX 1999-11-10 01:02:30 +00:00
dmose%mozilla.org 8535dda53e updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
dmose%mozilla.org 282cd28be9 updated license boilerplated to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 02:24:22 +00:00
dmose%mozilla.org dd28036044 updated license boilerplated to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 02:11:51 +00:00
dmose%mozilla.org 665c17b956 updated license boilerplated to xPL 1.1, a=chofmann 1999-11-06 02:06:26 +00:00
sfraser%netscape.com 623e931ffc Fixes for 16723 -- fix error handling so that errors from image allocation are propogated back to imglib.. r=pnunn, a=chofmann. 1999-11-04 22:47:24 +00:00
sfraser%netscape.com b643f7d32a Fixes for 18029 and 16723 -- fix image drawing on Mac to use GWorlds, and put in api to lock and unlock pixels. Pass a real nsDrawingSurface to the image, instead oif a cast GrafPtr. r=pnunn, a=chofmann. 1999-11-04 22:36:21 +00:00
sfraser%netscape.com 582e07584b Fixes for 18029 and 16723 -- fix image drawing on Mac to use GWorlds, and put in api to lock and unlock pixels. r=pnunn, a=chofmann. 1999-11-04 22:32:22 +00:00
sfraser%netscape.com f2b385f475 Fixes for 18029 and 16723 -- fix image drawing on Mac to use GWorlds, and put in api to lock and unlock pixels. r=pnunn, a=chofmann. 1999-11-04 22:26:57 +00:00
neeti%netscape.com 1e9424edc7 fix for MLK bug 15818, every ImageURLImpl leaks.r=pnunn, a=chofmann. 1999-11-04 20:24:25 +00:00
kmcclusk%netscape.com 5d6a11b308 nsIScriptableRegion instances can now be created on WIN32.
nsbug=12465; r=beard@netscape.com
1999-11-03 01:37:12 +00:00
cls%seawood.org 14ef08310e Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
pavlov%netscape.com c20398c398 add scriptable region to unix factory fixes bug 12465 r=slamm 1999-11-02 21:57:14 +00:00
kipp%netscape.com fe2fc3d20b r=ftang; Fixed regression in linux font rendering caused by case sensitivity being required for the character set lookups 1999-11-02 18:20:05 +00:00
pavlov%netscape.com 7087d8e044 clamp down sizes < 2^15 r=dbaron@fas.harvard.edu r=paulmac ;) fixes bug 2564 1999-11-02 03:38:23 +00:00
alecf%netscape.com 13eaac5db2 cleanup NS_IMPL_MODULE and friends
- define new nsModuleComponentInfo and use it instead of components_t
- use size_t instead of unsigned int
- add some docs
- allow user to define own module name
1999-11-02 01:12:32 +00:00
beard%netscape.com b412737a3f switched to NS_IMPL_ISUPPORTS1, no longer supports QI to nsIRegion. r=pavlov 1999-10-31 02:26:10 +00:00
beard%netscape.com 4fb52c6173 removed scriptable region hackery, switched to NS_IMPLE_ISUPPORTS1. r=pavlov 1999-10-31 02:26:06 +00:00
beard%netscape.com 8b4c25121e cleaned up factory to use nsCOMPtrs, modern NS_IMPL* macros, support for creating scriptable regions. r=pavlov 1999-10-31 02:26:03 +00:00
beard%netscape.com 338303faa5 added NS_SCRIPTABLE_REGION_CID. r=pavlov 1999-10-31 02:25:59 +00:00
pavlov%netscape.com 060303c1a7 better fix for twips rounding problems patch_from=dbaron@fas.harvard.edu r=me 1999-10-31 00:09:52 +00:00
beard%netscape.com a8bc30a499 MLK: fix device context leak, bug=15380, r=scc 1999-10-30 20:18:31 +00:00
Jerry.Kirk%Nexwarecorp.com 4e0ec9f26d Fixing FillPolygon code in nsRenderingPh.cpp
Adding debug code in nsDrawingSurfacePh  to find the crash.
r=kedl
1999-10-29 23:18:16 +00:00
Jerry.Kirk%Nexwarecorp.com e09a82e111 Fixes for drawing the new Chrome. Had to explicitly call PgFlush
to flush the draw stream from the memory context into the off screen
buffer. I think this is a bug in Photon, but for now this is the fix.
r=kedl
1999-10-29 12:53:58 +00:00
pavlov%netscape.com 46e7121a8c fix for 15942 and some performance tests/code r=syd 1999-10-29 08:24:09 +00:00
nisheeth%netscape.com 5de3b69218 r=pollmann, troy. Fix for bug 10564. Added some error checking code to prevent crashes reported on low memory configurations. 1999-10-27 22:45:05 +00:00
pavlov%netscape.com 59f4ea85ef check for null r=alecf 1999-10-27 05:51:05 +00:00
warren%netscape.com 00dfd9d907 Added nsIChannel::GetOriginalURI so that we can get back to the original chrome file (bug#17144). r=rpotts,mscott 1999-10-26 09:16:24 +00:00
scc%netscape.com 4125213bc3 Don't |delete| interface pointers. Use |AddRef()| and |Release()| instead. Bug #16762, r=pinkerton. 1999-10-26 00:49:33 +00:00
Jerry.Kirk%Nexwarecorp.com 544a7f8feb Fixing problem with &nbsp; being put into empty text fields
This is relly more of a hack, not a fix.
Bug 16886	r=kedl
1999-10-26 00:45:24 +00:00
dp%netscape.com 143a674875 bug#16742 Fixing delete on nsISupports. Thanks for patch from
<heikki@citec.fi> Plus using IMPL_ and DECL_ macros and removing
operating on refcnt directly. r=dp
1999-10-23 05:45:41 +00:00
pnunn%netscape.com 855923be59 bug#16785: forgot to checkin the include file change. Removing old, obsolete get image type call.
pnunn.
1999-10-22 21:46:56 +00:00
pnunn%netscape.com 3ed79d445f bug#16785. r:neeti@netscape.com. Clean up after changing mime handling in imglib. 1999-10-22 21:06:28 +00:00
dcone%netscape.com 5fa349f713 Fixed the rounding on some transform math. r=kmkclusky 1999-10-22 13:28:22 +00:00
pnunn%netscape.com 67cb0e41c1 bug#13505. Replacing str functions with nsCRT functions, nspr functions.
pnunn@netscape.com  r:jfrancis@netscape.com
1999-10-21 22:23:24 +00:00
pnunn%netscape.com 499713f584 bug# 16785. r: dp, valeski, neeti. Send mimetype info from channel to imglib.
If no decoder, sniff data stream for mime info.
1999-10-19 21:49:20 +00:00
Jerry.Kirk%Nexwarecorp.com 518c4dcade Fixes to correct lots of extra drawing because of incorrectly clipped regions
Bug #16698 r=kedl
1999-10-19 20:50:17 +00:00
Jerry.Kirk%Nexwarecorp.com 0b0084f5f9 Various fixes to correct bugs in nsRegionPh and to correct clipping
done by the double buffer routines.
Bug# 16698 r=Michael.Kedl@Nexwarecorp.com
1999-10-19 00:27:56 +00:00
warren%netscape.com 9b37770966 Made it implement nsIURL as well as nsIURI. 1999-10-18 19:07:16 +00:00
warren%netscape.com 61d9f128d8 Cleanup to use nsCOMPtrs. 1999-10-18 19:06:57 +00:00
pavlov%netscape.com 00ca8f5477 take 2 static CID's out of two different functions and combine them into 1 r=alecf fixes bug #15776 1999-10-13 05:42:05 +00:00
pavlov%netscape.com 84c8e862bf build nsScriptableRegion.cpp on windows and linux r=pinkerton ********* WORK TO FIX BUG 12465 ********* 1999-10-12 22:53:41 +00:00
dcone%netscape.com 21f3308118 fixed the CreateRenderingContext call in nsDeviceContext to get rid of warnings. CR by KMcclusk. 1999-10-12 13:32:34 +00:00
waterson%netscape.com c7347c6be0 Bug 16105. (Bugsplat 366256.) Ensure that nsISupports::Release() calls dtor only once by 'stabilizing' refcnt to a non-zero value before invoking the dtor. See also news://news.mozilla.org/37FD0F3C.3078AE5C%40netscape.com. r=scc,fur 1999-10-12 03:05:10 +00:00
pavlov%netscape.com 32dd23f3c2 fix cursor blinking on linux r=ramiro 1999-10-12 00:44:07 +00:00
kmcclusk%netscape.com 9f124ea161 Implemented nsRenderingContextWin::CopyClipRegion. bug 13913; r=rods@netscape.com 1999-10-12 00:05:04 +00:00
ramiro%netscape.com 0a56d46456 Fix for bug 13522. Duplicate nsTimer.cpp files. Removing the old ones.
r=pavlov@netscape.com,sfraser@netscape.com.
1999-10-11 04:01:35 +00:00
ramiro%netscape.com 0e583b2b1a Fix for bug 13522. Duplicate nsITimer.h files. Removing the old ones.
r=pavlov@netscape.com.
1999-10-11 03:48:21 +00:00
pavlov%netscape.com b9d2433cdf Do not draw images if we have an empty clip region r=syd fixes bug #11086 1999-10-11 03:04:59 +00:00
dveditz%netscape.com 2b60c91417 Fixing 8.3 library name problems, bugs 10355, 10359,10364, 10365, 10372, 11796, 11791. Checking in for cathleen, r=dveditz 1999-10-10 01:32:59 +00:00
kipp%netscape.com b0dcc883f8 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
warren%netscape.com b90a06a288 Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty. 1999-10-08 01:49:06 +00:00
dcone%netscape.com cb4c20a3f0 Took out a pure virtual function CreateRenderingContext() that was declared in the interface 1999-10-07 20:43:03 +00:00
warren%netscape.com c0c613c804 Fixed build warnings. 1999-10-06 08:51:48 +00:00
kipp%netscape.com 0efe46b221 Added in ctor/dtor counting 1999-10-05 14:53:40 +00:00
kipp%netscape.com 1c7fabe90f Whitespace tweak 1999-10-05 14:48:58 +00:00
kipp%netscape.com ffdd102b9d Added in a way to shutdown the image manager 1999-10-05 14:48:44 +00:00
kipp%netscape.com a31a14c299 Remove some compiler warnings 1999-10-05 14:48:01 +00:00
rpotts%netscape.com aaf32e0b62 bug #14181. Reviewed by pnunn. Fixed crash when loading large (or slow) animated GIF images on linux. 1999-10-05 08:36:43 +00:00
kipp%netscape.com 5f609f478d r=ramiro; fix uninitialized refcnt bug that triggers an assertion when you're lucky 1999-10-05 00:31:55 +00:00
kipp%netscape.com add527b93c r=ramiro; fixed memory leak of a font-metrics object; also added in ctor/dtor counting for leak debugging 1999-10-04 23:48:55 +00:00
troy%netscape.com 8ae7938b24 Performance optimizations. r=kmcclusk@netscape.com
I made the commonly accessed stock objects global, and I optimized the
SetupSolidPen() code
1999-10-04 23:42:28 +00:00
beard%netscape.com 120647c4c2 changed from directly using "MSL ShLibRuntime.Lib" to using "NSLibraryStartup.o" to enable GC leak detector. r=smfr 1999-10-03 20:23:01 +00:00
troy%netscape.com 1c37e5443d Optimized rendering context setup and solid brush handling 1999-10-01 14:19:36 +00:00
Jerry.Kirk%Nexwarecorp.com 8457d93f72 Added nsGraphicState and made changes in nsRenderingContext to use it.
General clean-up of code for Photon.
1999-09-30 12:21:33 +00:00