Граф коммитов

465 Коммитов

Автор SHA1 Сообщение Дата
rpotts%netscape.com f18f85177c Move DNS initialization out to when Netlib is initialized. This ensures that the initialization takes place on the Netlib Thread. 1998-09-22 07:02:20 +00:00
raman%netscape.com 30ecf2e39d Create autoupdt directory if it doesn't exist 1998-09-22 04:15:00 +00:00
cls%seawood.org 62d121236f Sync'd Makefile.ins with corresponding Makefiles. Fixed problems with autoconf build. Thanks to Christopher Blizzard <blizzard@appliedtheory.com> and Tom Rini <trini@kernel.crashing.org>. 1998-09-22 03:47:27 +00:00
rpotts%netscape.com a1e3e65f01 Fixes for platforms where NETLIB_THREAD is not defined... only create proxies if NETLIB_THREAD is defined 1998-09-21 23:58:55 +00:00
pierre%netscape.com 0319f1ab5b fixed raptor build: added nsNetThread.cpp to the 'modular' targets 1998-09-21 23:45:52 +00:00
rpotts%netscape.com 28a407986c Moved the code to mangle resource: URLs into file: URLs out of the Url::Open(...) method and into the NetServiceManager... 1998-09-21 18:15:26 +00:00
rpotts%netscape.com 17e2437191 Added NPL and made the implementation threadsafe. 1998-09-20 05:56:41 +00:00
rpotts%netscape.com c570f1e633 Added NPL and fixed typo in GUID #define 1998-09-20 05:56:11 +00:00
rpotts%netscape.com 8d757a6b64 Fixed nettest to work with threaded netlib... 1998-09-20 05:13:42 +00:00
morse%netscape.com e62b32d8ea avoid js crash in cookie viewer if cookie->host or cookie->path contain a quote 1998-09-19 15:15:59 +00:00
mcafee%netscape.com a750166b23 Fixing Linux breakage 1998-09-19 08:42:51 +00:00
rpotts%netscape.com c61599860a Added new file nsNetThread.cpp 1998-09-19 07:09:45 +00:00
rpotts%netscape.com 6b62aa2d74 Added a new file nsNetThread.cpp and the NETLIB_THREAD define 1998-09-19 07:08:47 +00:00
rpotts%netscape.com ba3d5d328a changed the nsNetService to create a dedicated thread for netlib (on windows only for now) 1998-09-19 07:08:09 +00:00
rpotts%netscape.com 91656ea73f Added NSPR DLL to the link which is required for monitors... 1998-09-19 07:04:00 +00:00
rpotts%netscape.com 6b12f28940 made URLImpl threadsafe... 1998-09-19 07:03:19 +00:00
rpotts%netscape.com 685c1d1b7c Made the netlib blocking stream work correctly when netlib is running on its own thread 1998-09-19 07:02:25 +00:00
rpotts%netscape.com 214e63f7ed Fixed the reference counting of the URL_Struct being held by the HttpUrl. 1998-09-19 07:00:29 +00:00
rpotts%netscape.com 17dd34ec69 new files which create a dedicated thread for netlib 1998-09-19 06:59:33 +00:00
rpotts%netscape.com 5f55a42ced Added correct NPL 1998-09-19 06:58:32 +00:00
rpotts%netscape.com 05b902c803 enabled thread-safe code which was previously only used when JAVA was defined. 1998-09-19 06:57:29 +00:00
gagan%netscape.com 6d4515bdc4 Streams fix for MemCache. 1998-09-18 05:49:47 +00:00
gagan%netscape.com ed5c25c058 CacheStubs- Added InfoAsHTML for about:cache and CacheObject's Reset.
nsCacheManager- InfoAsHTML for about:cache.

nsCacheObject/nsMemStream- Reset function for rereads.
1998-09-18 05:49:01 +00:00
ebina%netscape.com ec67fe7c53 "This doesn't make it work, but it makes it 'better'" - Kipp 1998-09-17 22:08:35 +00:00
kipp%netscape.com 2f44ed8ee1 Register inet service so that the test works again 1998-09-17 21:33:14 +00:00
kipp%netscape.com 511247f78f Fixed deref of unitialized memory bug in URLImpl::Open 1998-09-17 21:32:52 +00:00
valeski%netscape.com c1b711408e Now nulling out a variable that was causing a crash on url open. 1998-09-17 19:56:30 +00:00
morse%netscape.com 54e31c00b0 display domain name instead of host name if domain is setting a cookie 1998-09-17 10:30:45 +00:00
pierre%netscape.com 63fad5200b fixing mac build: renamed the factory entry point 1998-09-17 09:17:39 +00:00
pierre%netscape.com e416b123db added nsNetFactory 1998-09-17 09:16:23 +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
morse%netscape.com e72a74649c second attempt to change Bool to PRBool 1998-09-16 20:18:05 +00:00
gagan%netscape.com 375b63e858 Ooops.... Forgot the #ifdef NU_CACHE around this addition. 1998-09-16 10:23:21 +00:00
gagan%netscape.com 28161513a2 Initializing NuCacheProtocol instead of the MemCacheProtocol. Only in NuCache. 1998-09-16 10:20:18 +00:00
gagan%netscape.com dc7c56f42b Added CacheObject_Destroy, IsCompleted to mark end of streams. Added isCompleted field in CacheObject. Changed all PL_strncpy to PL_strncpyz to fix the missing trailing \0 problem. Now deleting streams objects correctly from nsMemCacheObjects. Other misc. changes. 1998-09-16 10:18:40 +00:00
gagan%netscape.com ef02d0cbf7 Miscellaneous changes for streams based objects. Added more comments. 1998-09-16 10:13:48 +00:00
gagan%netscape.com 8a2851d090 Added class description comments. 1998-09-16 10:12:12 +00:00
gagan%netscape.com e312e8a19d Added default comments to header files. 1998-09-16 10:10:01 +00:00
gagan%netscape.com d8fd6aa03f Updated tests for nsMemStream testing. 1998-09-16 10:09:34 +00:00
gagan%netscape.com 182ceecabe Added URL_s updating for content_type, content_encoding, etc. Removed CacheObject_Destroy from complete which was messing up the objects. 1998-09-16 10:08:47 +00:00
gagan%netscape.com c00277015f Moved the nucacheprotoimpl stuff here. 1998-09-16 10:04:07 +00:00
gagan%netscape.com 64f00b0f3c Removed nucacheproto from its own file to mkmemcac.c. 1998-09-16 10:03:41 +00:00
valeski%netscape.com 235357382b General memory repairs (leakage, freeing mismatched mem, umrs) 1998-09-16 07:17:34 +00:00
mcafee%netscape.com 8c7b38617a Fixing Linux breakage. r=valeski 1998-09-16 05:48:26 +00:00
mcafee%netscape.com a5b934d83b Uninitialized variable compiler warnings on Linux 1998-09-16 04:59:00 +00:00
valeski%netscape.com d25ce9aeb9 Fixing build bustage. c++ comments in c file 1998-09-16 02:39:16 +00:00
pierre%netscape.com e9bfaf4eda fixed raptor build: added nsLoadAttribs.cpp to the 'modular' targets 1998-09-16 02:09:08 +00:00
valeski%netscape.com 8bc9f6b3e5 ? network/module/nsILoadAttribs.h
New nsIloadAttribs interface that defines the load attributes that are will be associated with a url.

? network/module/nsLoadAttribs.cpp
New nsIloadAttribs interface implementation.

M network/main/mkconect.c
Check for a new local ip address to use. If found PR_Bind() is called to bind the connecting socket to the new address.

M network/main/mkgeturl.c
Added logic to determine whether or not skip the proxy for the given url.
M network/main/mktcp.h
api change. Changed NET_BeginConnect() and NET_FinishConnect() function prototypes.

M network/module/MANIFEST
Added nsILoadAttribs.h to exports list

M network/module/Makefile
Added nsILoadAttribs.h to exports list and nsILoadAttribs.cpp to compile lists.

M network/module/makefile.win
Added nsILoadAttribs.h to exports list and nsILoadAttribs.cpp to compile lists.

M network/module/nsIURL.h
Added accessor methods to the url interface for nsILoadAttribs interface pointer.

M network/module/nsNetService.h
Added urlSetup method to class definition.

M network/module/nsNetService.cpp
Condensed url setup (from nsIURL properties to the actual url struct) into a helper routine. URL struct setup now transfers nsILoadAttributes over into the url struct.

M network/module/nsURL.cpp
Added nsILoadAttribs accessor method implementations to the url implementation.

M network/protocol/ftp/mkftp.c
api change. NET_*Connect().

M network/protocol/gopher/mkgopher.c
api change. NET_*Connect().

M network/protocol/http/mkhttp.c
api change. NET_*Connect().

M network/protocol/imap4/mkimap4.cpp
api change. NET_*Connect().

M network/protocol/nntp/mknews.c
api change. NET_*Connect().

M network/protocol/pop3/mkpop3.c
api change. NET_*Connect().

M network/protocol/smtp/mksmtp.c
api change. NET_*Connect().
1998-09-16 00:35:32 +00:00
gagan%netscape.com a540b2abf7 Fix for bug # 323918. 1998-09-16 00:01:02 +00:00
raman%netscape.com f49eb6d2b2 Added some more preferences for AutoUpdate 1998-09-13 02:02:51 +00:00