Commit Graph
151 Commits
Author SHA1 Message Date
rpotts@netscape.com 9fc5f604be Added support for interrupting streams via the nsINetService::InterruptStream() method. 1998-10-16 22:44:20 +00:00
rpotts@netscape.com 589de8b765 Added support for interrupting streams via the nsINetService::InterruptStream() method. 1998-10-16 22:20:05 +00:00
rpotts@netscape.com 0aa95f36db Create an initial LoadAttributes instance. 1998-10-10 04:57:18 +00:00
rpotts@netscape.com bf8d92e823 Added a load type and reload type to the nsILoadAttribs interface and underlying implementation... 1998-10-10 04:32:18 +00:00
rpotts@netscape.com 90af033522 temporary fix to get unix building again... Get rid of the constness before calling PR_Free(...) 1998-10-08 05:06:30 +00:00
valeski@netscape.com 7784921eda Removed the nsINetContainerApplication interface. The methods that were part of this interface are now implemented by nsINetService.
Changed mozilla\network\module\makefiles so they no longer export nsINetContainerApplication.h.

M dom/src/base/nsGlobalWindow.cpp
Changed javascript so it retreives the user-agent tokens via nsINetService.

M network/module/nsINetService.h
Added the application user-agent token methods to the nsINetService interface.

M network/module/nsNetFactory.cpp
The netservice constructor no longer takes a pointer to a nsINetContainerApplication.

M network/module/nsNetService.cpp
M network/module/nsNetService.h
Added the implementation of the application user-agent token methods.

M webshell/tests/viewer/nsViewerApp.cpp
M webshell/tests/viewer/nsViewerApp.h
Removed old containerapplication implementation

M xpfe/xpviewer/src/nsViewerApp.cpp
M xpfe/xpviewer/src/nsViewerApp.h
Removed old containerapplication implementation
1998-10-07 23:19:39 +00:00
rpotts@netscape.com 7e1e1d5d35 Added an include for <windows.h> to declare the InterlockedIncrement/Decrement APIs which are now used in the Win32 threadsafe ISupports implementation... 1998-10-06 06:17:25 +00:00
rpotts@netscape.com b2e751b819 Changed the proxy routines to only call via PL_Events when needed (ie a thread boundary will be crossed...) 1998-10-06 06:15:47 +00:00
pierre@netscape.com f77ecbb371 fix 1000s of link warnings in Mac Raptor / some XP stubs were hiding actual functions 1998-10-06 03:00:28 +00:00
rpotts@netscape.com 9d2d9f0a88 Added a Clone(...) method. 1998-10-01 21:37:32 +00:00
rpotts@netscape.com 0544ca1cdf Added nsIURLGroup interface... 1998-10-01 21:36:57 +00:00
pierre@netscape.com a89398095e Raptor only. Display images on Mac. 1998-10-01 19:17:51 +00:00
valeski@netscape.com e0ef259c59 Added get/set methods to nsINetService interface for http request version manipulation. You can specify whether or not you want 1.1 or 1.0. 1998-09-29 22:43:32 +00:00
valeski@netscape.com a85d35bb71 Raptor only. Fix crasher. 1998-09-28 20:47:49 +00:00
rpotts@netscape.com f592a286c4 Added reference counting to modular netlib Contexts... 1998-09-25 22:24:32 +00:00
rpotts@netscape.com 9a240e3dc4 Added a proxy routine for net_CallexitRoutine(...) so it would be called on the correct thread at the proper time... 1998-09-25 22:24:09 +00:00
rpotts@netscape.com f1049da345 moved the define of NETLIB_THREAD out into config/config.mak 1998-09-25 22:22:32 +00:00
valeski@netscape.com 792f5452d2 NGLayout only. Setting the default dirs for NS_NET_FILE to be rooted in the current working directory rather than hardcoded. 1998-09-23 23:29:25 +00:00
cls@seawood.org 1ccab2fbc4 Sync'd Makefile.ins 1998-09-22 23:01:29 +00:00
valeski@netscape.com edb12371eb mozilla - added mkprefs.h to the builds and replaced "*" pref strings with #defines.
nglayout - added get & set methods for http proxies to nsINetService.
1998-09-22 22:41:27 +00:00
rpotts@netscape.com 73dbab418b Initialize Async DNS during the rest of the netlib initialization. This will take place on the netlib thread (where appropriate...) 1998-09-22 07:03:54 +00:00
cls@seawood.org da0abd53a9 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 a6e32e20d2 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
rpotts@netscape.com 8f9d181d0a 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 e986aef62f Added NPL and made the implementation threadsafe. 1998-09-20 05:56:41 +00:00
rpotts@netscape.com e18f15dcb8 Added NPL and fixed typo in GUID #define 1998-09-20 05:56:11 +00:00
rpotts@netscape.com b75d6075ae Fixed nettest to work with threaded netlib... 1998-09-20 05:13:42 +00:00
mcafee@netscape.com 9058545d4e Fixing Linux breakage 1998-09-19 08:42:51 +00:00
rpotts@netscape.com 2ab76b1495 Added new file nsNetThread.cpp 1998-09-19 07:09:45 +00:00
rpotts@netscape.com 48a5837e01 Added a new file nsNetThread.cpp and the NETLIB_THREAD define 1998-09-19 07:08:47 +00:00
rpotts@netscape.com 3ea19798e1 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 308dd23e99 Added NSPR DLL to the link which is required for monitors... 1998-09-19 07:04:00 +00:00
rpotts@netscape.com 5de76d31c6 made URLImpl threadsafe... 1998-09-19 07:03:19 +00:00
rpotts@netscape.com 0a737e7bf8 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 1ed8717fc9 Fixed the reference counting of the URL_Struct being held by the HttpUrl. 1998-09-19 07:00:29 +00:00
rpotts@netscape.com 60bcdf2911 new files which create a dedicated thread for netlib 1998-09-19 06:59:33 +00:00
rpotts@netscape.com 914c347279 Added correct NPL 1998-09-19 06:58:32 +00:00
ebina@netscape.com 62949c0454 "This doesn't make it work, but it makes it 'better'" - Kipp 1998-09-17 22:08:35 +00:00
kipp@netscape.com 21c20f2ccb Register inet service so that the test works again 1998-09-17 21:33:14 +00:00
kipp@netscape.com 0a3f28627b Fixed deref of unitialized memory bug in URLImpl::Open 1998-09-17 21:32:52 +00:00
valeski@netscape.com 0d0913682d Now nulling out a variable that was causing a crash on url open. 1998-09-17 19:56:30 +00:00
pierre@netscape.com 4fc1b045e8 fixing mac build: renamed the factory entry point 1998-09-17 09:17:39 +00:00
valeski@netscape.com 8794752dd8 ? 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
valeski@netscape.com 29bb875e8b General memory repairs (leakage, freeing mismatched mem, umrs) 1998-09-16 07:17:34 +00:00
valeski@netscape.com fae811a171 ? 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
kipp@netscape.com 83885619f5 whitespace tweak 1998-09-12 19:31:10 +00:00
mcafee@netscape.com a6f2531a7c Fixing Solaris bustage 1998-09-12 05:55:51 +00:00
mcafee@netscape.com c578950e17 Solaris needs EOF character 1998-09-12 05:52:39 +00:00
valeski@netscape.com 69a300b4cc fixing build bustage. 1998-09-10 03:28:20 +00:00
valeski@netscape.com e7871941b0 The changes apply to MODULAR_NETLIB only
mozilla/module/nsINetFile.h
MODULAR_NETLIB only. Added the nsINetFile interface header.

mozilla/module/nsNetFile.cpp
MODULAR_NETLIB only. Added the nsINetFile interface implementation.

mozilla/module/nsNetFile.h
MODULAR_NETLIB only. Added the nsNetFile header.

mozilla/main/mkgeturl.c
MODULAR_NETLIB only. Added directory and file token initialization for new ns_net_file code.

mozilla/main/net_xp_file.h
MODULAR_NETLIB only. Added the new readline routine for ns_net_file.

mozilla/module/makefile.win
MODULAR_NETLIB only. Added the nsNetFile.cpp file to compilation list.

mozilla/module/nsNetService.cpp
MODULAR_NETLIB only. Added the static nsNetFile instance so it gets initailized.

mozilla/module/nsNetStubs.cpp
MODULAR_NETLIB only. Added NET_I_XP_FILE* versions of XP_FILE routines. These routines are compiled and used when NS_NET_FILE is defined.
1998-09-10 00:32:40 +00:00