Commit Graph

265 Commits

Author SHA1 Message Date
troy%netscape.com
3590c4caed Changed CreateILColorSpace() to GetILColorSpace() (device context now
owns the color space), and cleaned up image renderer code
1998-08-17 23:20:42 +00:00
rpotts%netscape.com
9222d524c3 Checking in changes from the branch rev 1.7.2.2... 1998-08-13 22:18:57 +00:00
michaelp%netscape.com
3511e53592 fixed really nasty allocation error. 1998-08-13 20:39:30 +00:00
kmcclusk%netscape.com
803289486a Save the alpha buffer in a member variable. 1998-08-12 19:57:05 +00:00
michaelp%netscape.com
4df9924717 fixed *massive* memory leak. 1998-08-12 19:50:13 +00:00
vidur%netscape.com
552d205f90 null check before we release a stream in the failure case. 1998-08-12 17:14:54 +00:00
troy%netscape.com
59379adc7d Fixed potential leak of alpha bits if image is destroyed before
being optimized
1998-08-12 05:40:03 +00:00
michaelp%netscape.com
a17a20bb20 added changes for using directx draw with msvc 5.0. 1998-08-12 02:21:06 +00:00
michaelp%netscape.com
d66d3f399a fixed nasty DeleteDC() in destructor. 1998-08-12 01:05:40 +00:00
michaelp%netscape.com
6b6ac440ac changes to support use of DirectDraw. 1998-08-12 00:59:00 +00:00
peterl%netscape.com
9a185f19c1 re-enable non-truetype fonts 1998-08-11 23:54:29 +00:00
peterl%netscape.com
1837f75725 force aliasing of courier font 1998-08-11 23:54:04 +00:00
peterl%netscape.com
029df1b9da made check font existence ignore non-truetype fonts 1998-08-10 23:29:21 +00:00
kmcclusk%netscape.com
c1bf1a337d Added back commented out destruction of XImages and buffers 1998-08-10 23:27:32 +00:00
troy%netscape.com
fc10b78dd4 Added a NS_RELEASE of the URL reader in OnStartBinding() 1998-08-10 22:21:18 +00:00
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