Commit Graph

365 Commits

Author SHA1 Message Date
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