Commit Graph

300 Commits

Author SHA1 Message Date
spider%netscape.com
a82c93f20f Fix build bustage 1998-08-10 18:50:59 +00:00
troy%netscape.com
bfdeab98ba Stopped allocating array of size 0... 1998-08-10 17:44:54 +00:00
troy%netscape.com
b3fec663d3 Removed an extra NS_ADDREF call that was keeping the timer object from
ever getting freed
1998-08-10 17:32:57 +00:00
troy%netscape.com
928f68f09e Fixed ClearTimeout() to free the timer closure struct 1998-08-10 17:25:35 +00:00
troy%netscape.com
e89d3ec240 Added memset of lfFaceName array to 0 for debug builds. This eliminates
a Purify warning
1998-08-10 16:53:14 +00:00
troy%netscape.com
9b7ad6e4ad Fixed leak of an IL color space in NewPixmap() 1998-08-10 04:25:35 +00:00
troy%netscape.com
69008dbb80 Fixed leak of async net context. Now there's only one net context used
for all image requests and its released when the image group is
destroyed
1998-08-10 03:33:49 +00:00
troy%netscape.com
0fe801297d Stopped holding a reference to the device context, because the device context
holds a reference to the font cache and this was causing a circular reference
1998-08-10 02:34:00 +00:00
troy%netscape.com
d09a40cfec Changed destructor to release reference to image request observer objects. This
fixes a memory leak
1998-08-09 16:53:24 +00:00
kostello%netscape.com
415f4acd12 Fix mac build 1998-08-07 18:34:13 +00:00
kmcclusk%netscape.com
bd63c94b70 Changed nsFontMetrixWin to nsFontMetrixUnix for GetWidth member function. 1998-08-07 16:43:52 +00:00
peterl%netscape.com
d336ead3a5 IRIX build fix 1998-08-07 06:24:38 +00:00
peterl%netscape.com
64d05912ee fix build 1998-08-07 03:43:20 +00:00
peterl%netscape.com
4c0e289be4 changed nsFont to contain face lists in name 1998-08-07 02:12:34 +00:00
rods%netscape.com
b603b65144 Removed debug statement 1998-08-05 22:39:02 +00:00
rods%netscape.com
3d520943e0 Added a new GetWidth that take a nsIDeviceContext 1998-08-05 22:21:21 +00:00
kostello%netscape.com
82de4abf45 Added GetDepth 1998-08-05 18:14:16 +00:00
kostello%netscape.com
2377dcb73e Added GetDepth method 1998-08-05 18:12:41 +00:00
michaelp%netscape.com
6256b1dccd we now set the correct stretchblt mode. as a result scaled images look a lot sweeter. 1998-08-05 18:06:19 +00:00
kmcclusk%netscape.com
dc085ac192 Fix for animated gifs. 1998-08-05 17:06:00 +00:00
troy%netscape.com
fa89de6686 Changed 8 bit images to use DIB_PAL_COLORS. Also changed it so that
8-bit images aren't dithered to the color cube on a true color device
1998-08-05 15:51:31 +00:00
troy%netscape.com
dfde9441b0 Added GetDepth() member function 1998-08-05 15:26:15 +00:00
pierre%netscape.com
5519c1c764 added the "mac" group 1998-08-05 08:27:38 +00:00
pierre%netscape.com
3ec5da4957 fix build on Mac 1998-08-05 08:23:13 +00:00
pierre%netscape.com
2adea32855 added dozens of missing pure virtual functions 1998-08-05 08:21:01 +00:00
pierre%netscape.com
843445f27b On Mac only, explicitly create the ImageManagerInit 1998-08-05 08:20:01 +00:00
pierre%netscape.com
eb16b86a54 renamed NSGetFactory to build on Mac 1998-08-05 08:17:06 +00:00
pierre%netscape.com
b667a297e2 added declaration of pure virtual functions to fix build on Mac 1998-08-05 08:11:01 +00:00
kipp%netscape.com
f3c99bef88 Use flexible library naming 1998-08-05 01:40:20 +00:00
troy%netscape.com
6cb9ec64e6 Fixed memory leak (mObservers wasn't being freed) 1998-08-04 20:46:00 +00:00
troy%netscape.com
eb8decb7f1 Fixed Win95 transparent image problem 1998-08-04 05:24:14 +00:00
michaelp%netscape.com
97e20f3771 hacks to get the build going on IRIX. 1998-08-04 04:57:24 +00:00
michaelp%netscape.com
2525544d47 fix for unix build. 1998-08-04 04:07:59 +00:00
kmcclusk%netscape.com
818ad3c3f4 Derive nsDeviceContextUnix from nsDeviceContext and removed redudant methods
and fields
1998-08-03 23:06:05 +00:00
kmcclusk%netscape.com
387bd846ea Derived nsDeviceContextUnix from nsDeviceContextImpl and removed redudant
methods + fields.
1998-08-03 23:05:13 +00:00
troy%netscape.com
d955141e7c Changed rendering context to use stock black brush (this reduces our GDI
usage ever so slightly), and added some XXX comments
1998-08-03 22:56:16 +00:00
troy%netscape.com
e267a36505 Fixed reference counting of singleton image manager 1998-08-03 21:05:36 +00:00
troy%netscape.com
6d2d851b0d Added #include of "ns_util.h" 1998-08-03 05:34:28 +00:00
troy%netscape.com
882f4a4a20 More work in progress for palette support 1998-08-03 05:32:52 +00:00
troy%netscape.com
efb83ad3fe Work in progress for Windows palette support 1998-08-03 05:24:59 +00:00
troy%netscape.com
c550aa1e0a API changes to how an image group context is created 1998-08-03 05:10:14 +00:00
troy%netscape.com
65fa90f8d9 Image group now holds a reference to a nsIDeviceContext and not a
nsIRenderingContext. Optimize() member function of nsIImage changed
to take a nsIDeviceContext
1998-08-03 04:53:25 +00:00
troy%netscape.com
e7bf4f0f57 Fixed some ref counting problems with the nsIImage 1998-08-02 17:04:53 +00:00
michaelp%netscape.com
a4183fbf9e added CheckFontExistence(). 1998-08-01 22:29:55 +00:00
michaelp%netscape.com
fcd952b431 added docs for function. 1998-08-01 21:37:40 +00:00
michaelp%netscape.com
bdfd1791d8 added font existence API. 1998-08-01 21:36:05 +00:00
peterl%netscape.com
714146a525 rounding support 1998-07-31 23:34:45 +00:00
kmcclusk%netscape.com
64d01b411d Removed debug output. 1998-07-31 21:37:51 +00:00
peterl%netscape.com
627f41ee02 improved font rounding when app units aren't twips 1998-07-31 05:53:55 +00:00
kmcclusk%netscape.com
9558775bba Build XImage on each draw only if Optimize has not been called. 1998-07-30 20:42:15 +00:00
hardts%netscape.com
ca6427f2da add more stub functions to ImageURLImpl to deal with changes in nsIURL 1998-07-29 22:39:28 +00:00
kipp%netscape.com
9d5509b391 Fixed GetFontMetrics API to AddRef 1998-07-29 03:57:27 +00:00
troy%netscape.com
6952900a6c Added LoadIconImage() for Unix 1998-07-29 01:31:59 +00:00
troy%netscape.com
223ec0aca4 Added LoadIconImage member function to nsIDeviceContext, and added new
network context for doing sync load (used when loading icons)
1998-07-29 00:42:50 +00:00
troy%netscape.com
e1ab6432cc Added dependency on raptorgfx_s.lib 1998-07-28 05:09:31 +00:00
michaelp%netscape.com
b636c3052c made color handling code in css part of the gfx color utilities. 1998-07-27 21:07:47 +00:00
troy%netscape.com
7da0401c3c Combined raptorgfx.dll and raptorgfxwin.dll into one DLL 1998-07-26 23:52:36 +00:00
michaelp%netscape.com
c8ad5fd772 fixed troy's bustage. 1998-07-26 23:25:05 +00:00
troy%netscape.com
af1b02b4a1 Added DeviceContextImpl base class 1998-07-26 04:28:48 +00:00
rpotts%netscape.com
17acb2afff Added IStreamListener::OnStatus(...)... 1998-07-24 10:02:50 +00:00
michaelp%netscape.com
36d065bf11 fixed resource leak. 1998-07-24 00:29:17 +00:00
kmcclusk%netscape.com
ab17f0e419 Added mAlphaBit field to prevent crashes when loading images in the viewer 1998-07-23 22:46:02 +00:00
scullin%netscape.com
a1ad2627e6 Fix operator grouping warning. 1998-07-23 22:27:53 +00:00
dcone%netscape.com
eb790d4930 fixed the project so the Async image file for nsImageContext is used 1998-07-23 22:04:02 +00:00
michaelp%netscape.com
96cf645164 modified for new streaming APIs. 1998-07-23 20:35:43 +00:00
peterl%netscape.com
e63a09dbd3 tweaks to rounding problems with twips to pixels and font point sizes
added hack to support desdemona font for test cases
1998-07-23 17:52:40 +00:00
troy%netscape.com
b2c62b8591 Added some comments clarifying that the value returned are in
device units (pixels)
1998-07-18 03:52:37 +00:00
troy%netscape.com
11b254d1e9 Fixed DuplicateImage() code to copy alpha bits properly 1998-07-17 21:37:55 +00:00
scullin%netscape.com
033f5100b7 Fixed odd 24 bit gamma problem where gamme correction was being applied
in the reverse direction pixels were coming in, resulting in jpgs
being only half gamma corrected.
1998-07-17 17:35:22 +00:00
troy%netscape.com
a3a4da0885 Changed array of points to be a const for DrawPolygon() and FillPolygon() 1998-07-17 17:32:53 +00:00
troy%netscape.com
0ecc2690fa Added DrawPolyline 1998-07-17 17:26:21 +00:00
troy%netscape.com
149aa2a228 Changed to use MaskBlt() under NT when rendering a transparent image 1998-07-17 16:50:32 +00:00
troy%netscape.com
a9687ae23e Added code to do bit-blt with a mask using a SRCAND of the mask
followed by a SRCPAINT of the image
1998-07-17 04:37:18 +00:00
troy%netscape.com
7598292705 Some more work on transparent images 1998-07-17 00:09:19 +00:00
troy%netscape.com
f98b66a3df Fixed Init() to compute the mask row size correctly 1998-07-16 22:18:36 +00:00
spider%netscape.com
bd87c6c4f2 Performance Optimization: Do not create a writeable GC on every
instantiation of a rendering context.  Re-use the old one.
1998-07-16 22:02:36 +00:00
spider%netscape.com
3b2507bae4 Do not reset the clip mask when drawing to onscreen buffer. 1998-07-16 21:36:39 +00:00
troy%netscape.com
2698502e58 Turned back on optimized images 1998-07-16 18:32:17 +00:00
kmcclusk%netscape.com
99e5b09d92 Changed CopyOffScreenBits to copy from 0,0 instead of using the aBounds (x,y) 1998-07-16 17:40:47 +00:00
troy%netscape.com
6619360a1e Changed background color to be a const 1998-07-16 04:51:12 +00:00
troy%netscape.com
007ea3d8b5 Fixed some build bustage I introduced 1998-07-16 03:09:33 +00:00
troy%netscape.com
a90f1b6cbd Changed image group GetImage() member function so the background color
is a pointer and not a color by value. This allows it to be NULL if the
caller wants a transparency mask to be created
1998-07-16 02:32:08 +00:00
rpotts%netscape.com
646e80db63 Added nsIURL argument to the nsIStreamListener interface 1998-07-15 22:38:01 +00:00
troy
23955af1a3 Unused 1998-07-15 18:58:44 +00:00
spider
19f7a6209a Fix for multitude of print statements that SHM is not available when
displaying on Hummingbird PC X Display Server
1998-07-15 17:03:53 +00:00
spider
a116453c59 Fix for crash on servers not supporting MIT-SHM 1998-07-15 02:29:10 +00:00
spider
33b2e92a85 query the server for the pixmap format rather than trying to guess ourselves 1998-07-15 01:29:20 +00:00
spider
1937e53b3c MIT-SHM implementation for offscreen drawables 1998-07-15 01:08:35 +00:00
spider
d834cf9b6a Removing incorrectly added Mac specific files from Motif directory 1998-07-14 22:35:56 +00:00
spider
0b783b36f8 Fix for not unloading fonts no longer needed 1998-07-14 20:32:33 +00:00
scullin
8a7ac050d5 Turn on image caching. 1998-07-14 18:43:47 +00:00
spider
cec1f41709 Performance Optimization: Cache the XFontInfo struct so don't need
to call XQueryFont on every GetWidth.
1998-07-14 17:41:06 +00:00
dcone
a83b9d90b7 fixed back to async 1998-07-10 13:25:36 +00:00
dcone
5923c1426c 16 bit speed testing code 1998-07-10 12:53:15 +00:00
kmcclusk
5126d3ee0b Added fields mXstring and mXstringSize 1998-07-10 00:49:04 +00:00
kmcclusk
b16190f3df Modified GetWidth to give correct values under Linux 1998-07-10 00:20:38 +00:00
dcone
196f54aef1 16 bit blending is now operational 1998-07-09 14:08:36 +00:00
vidur
9cdbb6da1d Added back asynchronous image loading 1998-07-08 23:45:10 +00:00
dcone
07d5ac2f15 Intermediate 16 bit blending 1998-07-08 14:31:31 +00:00
thom
bcb4633b7a First Checked In. 1998-07-07 21:26:45 +00:00