rpotts%netscape.com
11c373c6f3
Added missing NS_RELEASE(...)
1998-09-20 05:28:25 +00:00
mcafee%netscape.com
649d65040d
Adding support for Rhapsody
1998-09-19 08:51:59 +00:00
mcafee%netscape.com
ef1b1b183a
Initial stub version for Rhapsody
1998-09-19 07:31:47 +00:00
pierre%netscape.com
2476c7de27
use UnitConversion macros + some cleanup in DrawString
1998-09-19 01:38:51 +00:00
pierre%netscape.com
07bad234d9
use UnitConversion macros + some cleanup in GetWidth
1998-09-19 01:38:10 +00:00
troy%netscape.com
49ec74342f
Changed some code to use NS_NEWPCOM and NS_DELETEXPCOM
1998-09-17 20:25:26 +00:00
troy%netscape.com
3fda711eb9
Changed some AddRef() and Release() calls to use the XP-COM macros
1998-09-17 19:49:10 +00:00
pierre%netscape.com
30dc76d33f
SetFont supports styles.
Drawstring doesn't draw the 0's in Unicode strings.
1998-09-17 08:08:26 +00:00
pierre%netscape.com
a328dab241
minor cleanup in GetXHeight, GetSuperscriptOffset and GetSubscriptOffset
1998-09-17 08:07:02 +00:00
pierre%netscape.com
3b172e673a
added GetMacFontNumber and CheckFontExistence
1998-09-17 07:51:12 +00:00
valeski%netscape.com
bab22077b8
? network/module/nsNetFactory.cpp
...
Added nsNetFactory implementation. This allows users to retrieve nsINetService pointers from the service factory manager.
M dom/src/base/nsGlobalWindow.cpp
M gfx/src/nsImageNetContextSync.cpp
M layout/html/document/src/nsHTMLDocument.cpp
M network/module/nsURL.cpp
Replaced NS_NewINetService() calls with nsServiceManager::GetService() calls.
M network/module/Makefile
M network/module/makefile.win
Added nsNetFactory.cpp to the builds.
M network/module/nsINetService.h
Added a #define for the class id of the nsNetService.
M network/module/nsIStreamListener.h
Removed the NS_DEFINE_IID of kIStreamListenerIID from the header file. Each module that wants this will need to delcare it themselves.
M network/module/nsNetFile.cpp
Fixed memory leak.
M network/module/nsNetService.cpp
Globalized the gNetlibService variable so the NetFactory can access it.
M webshell/src/nsDocLoader.cpp
M webshell/src/nsPluginViewer.cpp
NS_DEFINE_IID of kIStreamListenerIID
M webshell/tests/viewer/nsSetupRegistry.cpp
Added the netlib library to the list of libraries in the registry and register the nsNetFactory with the appropriate iid and clsids.
1998-09-17 00:55:35 +00:00
peterl%netscape.com
a934377cc0
added decoration metrics api
1998-09-17 00:17:43 +00:00
peterl%netscape.com
4a06f95f5d
connected outline metrics
1998-09-17 00:17:23 +00:00
peterl%netscape.com
4fef07a869
changed overline code to use font metrics
1998-09-17 00:15:56 +00:00
peterl%netscape.com
9338d3341a
change scaling to be based on y pixel size
1998-09-17 00:15:22 +00:00
peterl%netscape.com
f512946077
added api for decoration metrics
1998-09-17 00:14:45 +00:00
peterl%netscape.com
bf2982d411
added decoration_none
1998-09-17 00:13:15 +00:00
pierre%netscape.com
128a5d4022
add refcount in GetFontMetrics + fix TextSize
1998-09-17 00:07:31 +00:00
pierre%netscape.com
22a9f5b2d7
fix FontMetrics (getting better but still temporary code)
1998-09-16 22:49:36 +00:00
pierre%netscape.com
65606bb822
fix SetFont (still temporary code)
1998-09-16 22:46:36 +00:00
dcone%netscape.com
9761f1f6d2
fixed some image bugs
1998-09-16 16:28:33 +00:00
dcone%netscape.com
3b6d9904a7
Fixed a few image bugs
1998-09-16 16:28:07 +00:00
dcone%netscape.com
d41e8e7875
fixed colorspace stuff
1998-09-16 16:27:36 +00:00
kostello%netscape.com
8c37a3839d
Changed to match new Widget interfaces.
1998-09-14 20:56:27 +00:00
kmcclusk%netscape.com
014baf696e
Fix for Irix build bustage.
1998-09-12 00:53:57 +00:00
thom%netscape.com
054b76f8f1
Added return value to GetHints method to make compiler happy
1998-09-12 00:08:31 +00:00
kmcclusk%netscape.com
ef16b5c2da
Added 8bit visual support.
1998-09-11 23:27:22 +00:00
pierre%netscape.com
502a96beeb
fix SetClipRegion + FillRect / added a temp SetFont / dispose mMainRegion
1998-09-11 10:37:36 +00:00
pierre%netscape.com
9938e484a0
in the works / return hard-coded values instead of 0's
1998-09-11 09:12:37 +00:00
thom%netscape.com
15836e1fc2
added new version of getWidth
1998-09-11 01:46:45 +00:00
thom%netscape.com
d03c80d4b8
Added new version of getWidth
1998-09-11 01:44:43 +00:00
kipp%netscape.com
00188db105
Added new font intropsection methods to nsIFontMetrics
1998-09-10 23:41:25 +00:00
spider%netscape.com
2b382cbdf3
Fix to return app units instead of twips in GetWidth API call
1998-09-10 02:08:20 +00:00
kipp%netscape.com
d91cabd909
Support reconnect callback
1998-09-09 16:17:55 +00:00
kipp%netscape.com
9faa9b5100
Added GetImageFromStream
1998-09-09 16:15:40 +00:00
kipp%netscape.com
b24ecad217
Added Reconnect call-back to NS_NewImageNetContext
1998-09-09 16:14:49 +00:00
kipp%netscape.com
67d0797006
whitespace fixup
1998-09-09 16:14:16 +00:00
kipp%netscape.com
1503b1eb54
Set fast-8bit-text hint on x windows
1998-09-09 01:04:29 +00:00
kipp%netscape.com
89eb6a93d1
Use a buffer to translate unichar's into XChar2b's
1998-09-08 23:52:29 +00:00
kipp%netscape.com
d22f51e6c1
Added a buffer used by DrawString
1998-09-08 23:52:10 +00:00
kipp%netscape.com
b2bb8099f6
Whitespace tidy up
1998-09-08 23:51:54 +00:00
kipp%netscape.com
aa00e6c88e
Fixed unix compile bugs
1998-09-08 23:17:12 +00:00
kipp%netscape.com
56d75edefe
Implement revised font metrics API
1998-09-08 22:32:07 +00:00
kipp%netscape.com
081ea6d3e8
Revised API
1998-09-08 22:31:51 +00:00
kipp%netscape.com
eec208e30b
Destroy font metrics before releasing it
1998-09-08 22:31:28 +00:00
dcone%netscape.com
7c2b0e72a1
added a routine gethints() needed by the interface.
1998-09-08 22:13:10 +00:00
kipp%netscape.com
40af4d3fae
Added GetHints to nsIRenderingContext API
1998-09-07 19:12:44 +00:00
pierre%netscape.com
58347eeda0
removed explicit creation of static object ImageManagerInit because "__initialize" was added to the project
1998-09-05 08:12:08 +00:00
pierre%netscape.com
f546442fdd
added __initialize and __terminate
1998-09-05 08:03:28 +00:00
dcone%netscape.com
d8f5092802
fixed clipping
1998-09-04 21:12:49 +00:00
dcone%netscape.com
8a94023c17
fixed the offscreen buffer mac things
1998-09-04 17:57:36 +00:00
dcone%netscape.com
faa39583ca
Mac Implementation
1998-09-04 17:57:04 +00:00
pierre%netscape.com
4689aa292a
fix a crash in the destructor (don't delete mFrontBuffer)
1998-09-04 00:33:49 +00:00
mcafee%netscape.com
3bc9c90870
More solaris breakage, nsImageUnix::BuildImage() needs to return status.
1998-09-03 10:51:54 +00:00
thom%netscape.com
72329b649a
Copy and paste error (SomethingClassWin needed to change to somethingClassMac)
1998-09-03 02:54:11 +00:00
rods%netscape.com
7a0083eb26
Fixed a bug in ConvertPixel
1998-09-02 19:51:32 +00:00
rods%netscape.com
cb6aa13f10
Implemented ConvertPixel
1998-09-02 19:33:01 +00:00
rods%netscape.com
242186fc6a
Implemented ConvertPixel
1998-09-02 19:26:43 +00:00
rods%netscape.com
31602cb8a5
Added ConvertPixel to nsIDeviceContext
1998-09-02 19:24:05 +00:00
kmcclusk%netscape.com
2dcc8bf3de
More 8BIT visual support.
1998-09-01 23:22:49 +00:00
rods%netscape.com
ea7109122d
Cast mWidget to Widget
1998-09-01 23:21:38 +00:00
rods%netscape.com
c5913cbbd1
Added InstallColormap call to ConvertPixel
1998-09-01 22:44:17 +00:00
rods%netscape.com
02b7d244c0
Exported nsDeviceContentUnix.h its needed by nsWindow for SetForegroundColor
...
and SetBackgroundColor
1998-09-01 22:43:38 +00:00
kmcclusk%netscape.com
b3d916497c
Add some 8-bit color support + removed bit conversion in nsImageUnix.cpp Draw.
1998-09-01 21:24:32 +00:00
kmcclusk%netscape.com
7fd790749f
Added support for 16-bit visuals.
1998-09-01 20:30:42 +00:00
warren%netscape.com
b89e7efaca
Renamed NSRepository to nsRepository.
1998-09-01 00:26:28 +00:00
warren%netscape.com
4dbedbd8ce
Added closure argument to nsHashtable::Enumerate. Renamed NSRepository to nsRepository.
1998-09-01 00:23:47 +00:00
spider%netscape.com
89e25f98f6
Updates for new XPCOM interface changes to the font metrics
1998-08-31 20:11:08 +00:00
kostello%netscape.com
f86a9e9223
These changes match the Windows/Unix changes to methods to take a parameter instead of returning a value.
1998-08-31 19:09:55 +00:00
dcone%netscape.com
8144e02ebc
fixed some updating problems
1998-08-31 15:14:48 +00:00
troy%netscape.com
ad9a20da0b
Changes nsIView and nsIScrollableView interfaces to conform to
...
XPCOM conventions
1998-08-30 19:16:11 +00:00
rpotts%netscape.com
4a9aac62bf
Added casts to allow building with STRICT defined...
1998-08-29 06:19:23 +00:00
rpotts%netscape.com
9c9e610c96
Added specific GDI casts to allow building when STRICT is defined
1998-08-29 06:18:17 +00:00
troy%netscape.com
2882214b81
Added some comments
1998-08-29 03:26:33 +00:00
troy%netscape.com
e524804caa
Changed interface nsIFontMetrics to use the XPCOM conventions for returning
...
a nsresult
1998-08-29 02:34:34 +00:00
troy%netscape.com
47e1554683
Interface change
1998-08-28 15:19:44 +00:00
troy%netscape.com
b242b51732
Changed nsIFontCache to conform to XPCOM standards
1998-08-28 05:16:41 +00:00
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
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
thom
a67977bcdd
First Checked In.
1998-07-07 21:07:54 +00:00
kipp
7c613dc78a
Removed some compiler warnings
1998-07-03 23:16:43 +00:00
thom
58f3f0fa82
Mac linux fix.
1998-07-01 23:31:42 +00:00
rpotts
47a682258c
Fixed up IID for nsIStreamListener interface
1998-07-01 11:09:49 +00:00
atotic
afb360e8c5
Fixed mac warnings
1998-06-27 02:47:44 +00:00
vidur
4656755c8f
Fail if the FirstWrite for the image returns an error
1998-06-26 22:08:03 +00:00
dcone
8ea72914e1
Blending now uses the Upper left to place the source image
1998-06-26 14:06:34 +00:00
michaelp
f8578999cb
removed flushgc in setfont.
1998-06-25 22:20:30 +00:00
spider
444aece009
Perf improvement...
1998-06-25 21:42:39 +00:00
spider
ff0a8181d6
fixed.
1998-06-25 18:43:50 +00:00
michaelp
a139d7988c
killed commented hackyfontname junk. removed malloc()/free(), etc. from unichar
...
text measurement.
1998-06-25 18:27:26 +00:00
dcone
bcb8bd62ed
added the offset for blending, and a routine to save off bits
1998-06-25 15:07:31 +00:00
spider
8c2bccc128
a little cleanup for unix.
1998-06-25 05:54:12 +00:00
spider
da6cb28eba
once again runs under linux.
1998-06-25 05:37:54 +00:00
spider
edc069a0e5
fixed build errors.
1998-06-25 04:59:17 +00:00
michaelp
ec4811f612
added init() method to prescontext.
...
creator of prescontext is responsible for initializing pres context.
devicecontext is now init()ed with a nsNativeWidget.
removed hacky X Display stuff from device context and font metrics.
removed hacky code from windows font metrics.
changed nsNativeWindow to be nsNativeWidget.
added more code for compositor back-to-front pass.
improved text performance on X.
changed nsHTMLTagContent.cpp so that it will build with MSVC 4.1.
1998-06-25 04:24:45 +00:00
kmcclusk
043672cd23
Fixed PRInt16 cast
1998-06-24 23:58:59 +00:00
kmcclusk
1303ab9673
fix 16bit visuals
1998-06-24 22:51:16 +00:00
vidur
c0313715e4
Changed over to asynchronous image loading
1998-06-23 18:49:06 +00:00
rpotts
ee995a6cc6
Keep a global reference to the Image Manager to prevent it from being deleted.
1998-06-23 18:38:33 +00:00
rpotts
57b487e386
Do not crash if the Font cache has not been initialized yet...
1998-06-23 18:37:49 +00:00
spider
fc342b6084
Fix nasty crash dereferncing mContext
1998-06-22 21:33:12 +00:00
dcone
e0cdb656de
took out printf's and cleaned up code
1998-06-22 17:06:13 +00:00
dcone
052bbf9a8c
fixed some bugs, intermediate checkin
1998-06-22 14:41:23 +00:00
kmcclusk
878542fe68
Fix for GIF animation color table bug. Don't create a new color table when converting to a new image format
1998-06-22 01:57:13 +00:00
kmcclusk
8d61f66d77
Changes to nsImageUnix.cpp to support GIF animation. Works but color table is still wrong.
1998-06-22 01:37:17 +00:00
kmcclusk
18d5303ae5
Fixed places which were deleting the mImageBits which was causing viewer to crash. Also fixes some of the GIF animation problems.
1998-06-21 23:55:08 +00:00
spider
1194519a26
Support for Optimized GC and Regions in Rendering
1998-06-21 07:02:44 +00:00
spider
3706465803
Fix dcone bustage
1998-06-19 23:16:07 +00:00
dcone
f41fcceabe
fixed some image problems, put 16 bit support in
1998-06-19 22:02:12 +00:00
rods
0196f2a3a6
Optimize fixes
1998-06-19 19:45:47 +00:00
rods
e7baa01f69
Fixed up images even more, added calls to get the appropriate bits_per_pixel
1998-06-19 14:47:36 +00:00
spider
9ef42ff956
Remove NOISY_FONTS ifdef so not printing so much
1998-06-18 23:32:58 +00:00
spider
ddb4ebba46
Cache visual and depth information in drawing surface since it is not available
...
when the surface is an offscreen PixMap
1998-06-18 23:00:05 +00:00
dcone
2549e80767
fixing up images
1998-06-18 22:19:08 +00:00
spider
3431d24bfc
Fix bustage. Change tabbing to be compatible with mozilla.org.
1998-06-18 22:15:31 +00:00
dcone
2f88b77355
fixed a cast to PRInt8
1998-06-18 22:05:26 +00:00
dcone
f349e57fda
made some changes
1998-06-18 22:04:23 +00:00
dcone
ba475752d1
Added the computmetrics call, fixed some small bugs
1998-06-18 14:17:17 +00:00
spider
e76b8e1ac9
Really fix Unix builds - should be a pointer
1998-06-18 01:30:06 +00:00
kmcclusk
17b23aaf6e
Changed new of mImageBits to PRUint8 instead of unsinged char. doesn't like this under IRIX.
1998-06-18 00:54:07 +00:00
dcone
5e9b478f73
Commented out ComputeMetrics
1998-06-17 23:01:28 +00:00
dcone
a4c0e4c9e9
added code for image, fixed a bug
1998-06-17 22:55:42 +00:00
spider
71a4c698da
fontmetrics now work. fixed random crap in rendering context.
1998-06-17 22:23:36 +00:00
dcone
1264cff90f
rename commit
1998-06-17 20:43:32 +00:00
dcone
79590b3944
add compute metrics
1998-06-17 20:37:58 +00:00
dcone
adafdafe17
Take out mMask
1998-06-17 20:36:24 +00:00
dcone
944cdce122
Add some member variables
1998-06-17 20:35:21 +00:00
dcone
75ae342956
alpha fix
1998-06-17 20:31:21 +00:00
dcone
210d6c9960
First nsimage work
1998-06-17 20:03:40 +00:00
troy
d410f5fb1d
Changed to remember the text color rather than set/restore it each time we
...
render text
1998-06-17 19:53:57 +00:00
troy
7c60627b66
Changed DrawString() to use ExtTextOut(), and moved SetBkMode() call to
...
SetupDC()
1998-06-16 21:57:46 +00:00
atotic
6283ad2a30
Last enum should not be followed by a ','. This generates warnings on the Mac
1998-06-16 21:45:48 +00:00
atotic
d1de2069da
Made the projects compile in the dist world
1998-06-16 21:41:31 +00:00
atotic
2b30eaf7bd
First Checked In.
1998-06-16 21:39:13 +00:00
michaelp
26ea1cc215
PopState() now returns PR_TRUE if there is an empty clip region after the pop.
1998-06-16 16:49:29 +00:00
dcone
cc0628b4d0
intermeditate updates to blend and test program. It now works in 24 bit
1998-06-16 13:09:46 +00:00
spider
1bee8207c3
Fix some Unichar HTML Rendering
1998-06-16 02:21:46 +00:00
spider
f16568df10
Fixes to get viewer to render on Unix
1998-06-16 00:57:33 +00:00
troy
eec17e5d28
Changed to set the polygon fill mode in CommonInit() instead of when drawing
...
polygons
1998-06-15 18:50:08 +00:00
vidur
4f22a708f9
Asynchronous loading of images
1998-06-12 22:08:39 +00:00
spider
febf8a03db
Fix for rendering problem where everything goes black AFTER the first paint on non-8 bit displays
1998-06-12 01:30:52 +00:00
rods
46ffc932b2
kludge for now
1998-06-11 23:10:41 +00:00
spider
ccea853a2f
Support for TrueColor display, add nsNativeDeviceContext to Init method of nsIDeviceContext, fix FontMetrics crash if no RenderingContext is available.
1998-06-11 21:26:21 +00:00
rods
e0c80033a0
added GetBitInfo to fix the build
1998-06-11 19:43:26 +00:00
dcone
06a3dd1232
updated blending code, and tests
1998-06-11 17:33:26 +00:00
spider
b558a15b72
Draw text from upper left rather than baseline
1998-06-11 02:15:12 +00:00
spider
2fad7b8ec3
Remove duplicate drawingsurface. fix memory leak
1998-06-11 01:22:26 +00:00
spider
08403cb2d4
Compute TWIPS during Init() of DeviceContext rather than waiting
...
until the RenderingContext is created.
1998-06-11 00:32:29 +00:00
rods
a7ffce9f67
added PRUint32 cast to unbreak the build
1998-06-10 20:34:38 +00:00
rods
370cc0de49
24 bit color fix
1998-06-10 18:18:35 +00:00
spider
55887d3cbb
Attempt to do the right thing on 24 bit displays ... good luck
1998-06-10 17:29:11 +00:00
spider
5f7b6bef1f
WIP: XLib Image stuff
1998-06-10 01:59:11 +00:00
spider
36641250db
More Region fixes
1998-06-10 00:44:43 +00:00
spider
c1fc037c89
Region fixes - need to create region before they can be used
1998-06-10 00:06:38 +00:00
spider
527833795f
Implement SetClipRect
1998-06-06 01:41:42 +00:00
spider
0878340957
Buf fix: Remove extra colormap install. Also remove clip flags from
...
rendering context
1998-06-05 21:04:18 +00:00
spider
333448c53a
Complete double buffering implementation. Be sure to reset the offscreen
...
device upon destruction of the drawing surface
1998-06-05 18:56:42 +00:00
spider
d01cb72f3d
WIP ... GraphicsState maintenance
1998-06-05 01:39:53 +00:00
spider
c0cb1619ec
Implement Matrix Transformation
1998-06-05 00:52:54 +00:00
spider
66ca0e3a7d
Finish Implementation of the DeviceContext on Xlib .. twips units, gamma tables, etc..
1998-06-04 23:12:07 +00:00
spider
c78915a699
Fix for converting from NS to X RGB Components
1998-06-04 18:41:47 +00:00
karnaze
1d293e47a5
added modes for backward compatibility
1998-06-04 17:23:48 +00:00
spider
aa0e79fade
Implemented nsRegionUnix
1998-06-04 08:40:58 +00:00
spider
e0ef17dac1
Add unix to build process by default now
1998-06-04 05:16:18 +00:00
spider
c80bcc4e0d
Remove all references to Xt and use only Xlib.
...
On Linux, add Library Path to Xlib in Makefile
1998-06-04 05:15:35 +00:00
spider
48f2602bfd
Missed last nsIRegion checkin ... add substract back in...
1998-06-03 23:12:02 +00:00
michaelp
49c4d29e3f
added optimization so that as we render top->bottom, if the clip region ever
...
becomes empty, we stop rendering.
1998-06-03 21:30:51 +00:00
spider
aa628613b0
Remove old Subtrct method from nsRegion due to interface changes
...
Add support for 8 bit color on ro and rw devices
Add ConvertPixel() routine to convert from gfx to X
1998-06-03 19:01:41 +00:00
michaelp
33a0103e30
added support of irregular damage regions to viewmanager.
1998-06-03 03:12:52 +00:00
michaelp
2826c67c93
added ability to select regions into rendering context.
1998-06-02 22:04:09 +00:00
spider
231821c7a7
Implement Native Text Width routines for char and unicode
1998-06-02 19:57:35 +00:00
spider
34a35def2c
Minor Rendering fixes. FontMetric hardcoded to get by. Implemented
...
FillPolygon/DrawPolygon.
1998-06-02 19:35:41 +00:00
spider
e886be9e00
Change to using .so's in Makefile. Temporarily hardcode some
...
TextMetrics stuff
1998-06-02 01:16:48 +00:00
spider
ba3c47838c
The beginnings of some font stuff
1998-06-01 22:41:01 +00:00
spider
4d559572f9
Add raptorgfx to link list
1998-06-01 03:41:42 +00:00
spider
269ac5a9f6
Update for new interfaces (stubs)
1998-06-01 03:23:40 +00:00
spider
5cf2b526b8
Add nsRegionUnix.cpp to .so. dlopen() on Linux 2.0 would fail since it can't
...
resolve this class.
1998-06-01 03:19:41 +00:00
spider
df0fc04b13
Fixes to support latest GFX changes
1998-05-28 00:23:10 +00:00
michaelp
1f06e903a4
added region to factory.
1998-05-27 17:11:37 +00:00
michaelp
b5140d2751
added support for front-to-back view rendering.
1998-05-27 02:13:28 +00:00
rickg
415e5bc640
fixed a minor build problem with blender
1998-05-22 19:16:08 +00:00
dcone
7310132a19
Added the nsBlender classes to the project
1998-05-22 14:15:57 +00:00
spider
6a530c89e5
Adding the beginnings of Colormap Installation
1998-05-22 01:58:31 +00:00
spider
4a477136e3
Some additional Rendering Implementations (Line/Rect/Arc)
...
Support for offscreen Pixmap's
1998-05-21 08:24:44 +00:00
spider
c22bb6434f
Add motif to DIRS, commented out for now
1998-05-20 23:20:32 +00:00
spider
39cfef3a83
Xlib mods
1998-05-20 23:17:49 +00:00
dcone
6e4db70ba0
put in the inverse color table routine and did 8 bit alpha
1998-05-20 21:12:38 +00:00
michaelp
c6d24cd366
removed rects from region apis. fleshed out windows region implementation.
1998-05-19 22:08:46 +00:00
rods
94cd778c69
initial checkin
1998-05-19 20:39:31 +00:00
thom
905d6ce4f4
mac build
1998-05-18 22:50:19 +00:00
michaelp
2edf0b91fb
added stub nsRegionWin.cpp
1998-05-18 22:24:20 +00:00
michaelp
88085a23f5
killed nsRegion.h. added nsIRegion.h. added SetClipRegion() to rendering context.
...
modified APIs that had been referring to nsRegion to use nsIRegion.
1998-05-18 21:46:20 +00:00
thom
836a9d8922
gfx is a graphics envionment for nglayout
1998-05-15 22:11:03 +00:00
dcone
c22d8277e2
More composition code, much faster now
1998-05-14 21:49:58 +00:00
michaelp
bbc0c2d55d
added gamma correction of images.
1998-05-14 00:27:38 +00:00
peterl
56a2afa5f9
fixed pow problem
1998-05-13 19:01:55 +00:00
michaelp
73dbb090e7
fixed compiler overload warning on tinderbox.
1998-05-13 18:54:18 +00:00
michaelp
d55497643c
added gamma correction methods to the device context. the windows rendering context now
...
gamma corrects colors. fixed tablecellframe to call the right nsStyleCoord constructor.
1998-05-13 18:15:06 +00:00
dcone
0e94d920e1
speed up of alpha, some small fixes, inter checkin
1998-05-13 14:28:16 +00:00
kipp
332e6e8030
Remove useless header file
1998-05-09 03:20:37 +00:00
michaelp
07f184a0ef
when switching documents, the scrollbars are reset.
1998-05-08 17:50:43 +00:00
dcone
9fbed3223c
put back in optimize
1998-05-08 15:05:27 +00:00
dcone
6e90c68c55
Some more alpha blending, fixed some bugs and the test app now works
1998-05-08 14:24:53 +00:00
michaelp
a60fbefc56
deferred creation of null pen until we actually need to use it.
1998-05-07 18:00:48 +00:00