Commit Graph

348 Commits

Author SHA1 Message Date
troy%netscape.com
00548853bb Turned off gamma correction 1998-08-28 02:50:19 +00:00
troy%netscape.com
3d4e4c0c5d nsIDeviceContext API change 1998-08-28 01:58:02 +00:00
thom%netscape.com
d6628e1b51 got the file in sync with troy's fontCache changes 1998-08-28 00:28:10 +00:00
troy%netscape.com
cfeab4e543 More changes to nsIDeviceContext interface 1998-08-27 22:45:35 +00:00
troy%netscape.com
1317495e30 Fixed build bustage 1998-08-27 22:12:26 +00:00
troy%netscape.com
a300739e8e Change to GetRenderingContext 1998-08-27 21:09:25 +00:00
troy%netscape.com
c8e5750085 More API changes to nsIDeviceContext 1998-08-27 20:43:04 +00:00
troy%netscape.com
5dc353b3bf More changes to nsIDeviceContext API 1998-08-27 18:47:22 +00:00
troy%netscape.com
623dd22c56 Fixed build bustage 1998-08-27 18:46:51 +00:00
troy%netscape.com
6d2245e203 Combined GetScrollBarWidth/GetScrollBarHeight into one function
GetScrollBarDimensions
1998-08-27 18:30:55 +00:00
dcone%netscape.com
2b2b8a5c89 Fixed some small bugs. 1998-08-27 18:03:15 +00:00
dcone%netscape.com
7e3cb758a5 updated some routines 1998-08-27 17:46:58 +00:00
dcone%netscape.com
c65c9e0c51 Updated to use regions 1998-08-27 17:36:13 +00:00
dcone%netscape.com
65e34136c2 updated some routines 1998-08-27 17:35:49 +00:00
troy%netscape.com
c476d398ce Fixed some bustage I intriduced 1998-08-27 17:26:48 +00:00
mcafee%netscape.com
7bfff2f61c Fixing compile warnings on Linux 1998-08-27 07:13:15 +00:00
mcafee%netscape.com
3f954a4e1a Fixing Solaris warning, native compiler 1998-08-27 07:02:04 +00:00
troy%netscape.com
a85eb3e06f Changes to nsIDeviceContext API 1998-08-27 05:14:35 +00:00
troy%netscape.com
0d39ae026f Changed nsIDeviceContext interface to conform [more] with COM conventions 1998-08-27 05:05:03 +00:00
dcone%netscape.com
c29ef3ef8a fixed some port bugs 1998-08-26 14:13:36 +00:00
troy%netscape.com
93810b51e8 Changed ImageUpdated() to only do gamma correction if the gamma value
is not 1.0
1998-08-26 03:27:54 +00:00
dcone%netscape.com
c65a4a8cbb Finished the first pass at implementation 1998-08-24 20:10:57 +00:00
dcone%netscape.com
9d46b18e40 Updated to the correct way the DeviceContext should work, added the twips calculation 1998-08-21 17:11:15 +00:00
michaelp%netscape.com
387a2639f0 tiny change to get things to work under the 4.1 compiler. 1998-08-19 20:56:27 +00:00
dcone%netscape.com
90c3a5e5de *** empty log message *** 1998-08-19 17:24:14 +00:00
dcone%netscape.com
1d8c927f2a Re wrote these files to reflect the correct way of building Devicecontexts 1998-08-19 17:24:13 +00:00
dcone%netscape.com
ed596a4904 Added some project info, files 1998-08-19 17:21:53 +00:00
troy%netscape.com
c54b90eb68 Changed CopyOffScreenBits() to make sure the logical palette is selected
into the screen DC.
1998-08-19 04:41:48 +00:00
troy%netscape.com
3dbd80aad0 Changed to realize the palette in the background 1998-08-19 01:58:17 +00:00
troy%netscape.com
136f2cf7a8 Added GetPaletteInfo() 1998-08-19 00:37:05 +00:00
kostello%netscape.com
df288797b0 Fix mac build 1998-08-18 17:24:55 +00:00
troy%netscape.com
d064a15b2c Added GetLogicalPalette() to nsDeviceContextWin 1998-08-18 04:11:01 +00:00
kostello%netscape.com
cbbbba619b Fix mac build 1998-08-18 00:09:48 +00:00
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
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