Commit Graph

38 Commits

Author SHA1 Message Date
hyatt%netscape.com
89e8611ba6 Landing changes to support chrome URLs in netlib. Approved by dp. 1999-04-02 19:05:52 +00:00
waterson%netscape.com
bf53711090 Removed NODEPEND. 1999-03-31 06:47:10 +00:00
leaf%mozilla.org
4ad9f70d5d Landing nspr library name change, and plevent function call change. 1999-03-17 21:32:03 +00:00
cyeh%netscape.com
b27fdb082f fix pdb file generation so that the go into $(OBJDIR) and also
have more useful names other than "none.pdb". some cleanup remains.
1999-03-05 23:24:48 +00:00
kipp%netscape.com
fd4c0ae7b3 Stop building related links junk 1999-02-02 17:36:31 +00:00
mscott%netscape.com
e2bd42bd14 Build nsTransportSocket 1999-01-28 01:54:04 +00:00
ebina%netscape.com
6e88931482 Once I turn on automatic decompressing gain we will have a dependency
on the zip library here.
1999-01-13 00:19:29 +00:00
vidur%netscape.com
df3ac56c3c Added stream loader 1998-12-18 01:34:30 +00:00
beard%netscape.com
3425122c7a Fixed up exports. 1998-12-16 06:06:51 +00:00
warren%netscape.com
0580a8e5c4 Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener. 1998-12-16 05:40:20 +00:00
gagan%netscape.com
3b1e716a4d Was not pulling in env changes from config.mak because of the missing include. 1998-12-01 04:46:24 +00:00
rpotts%netscape.com
e473d04d9d Disable async Winsock notifications until we figure out why it exhausts *all* system resources on Win95... 1998-11-22 09:30:00 +00:00
gagan%netscape.com
37637f0c46 NuCache lib added. 1998-11-20 23:09:25 +00:00
rpotts%netscape.com
886ca3e0d3 Support asynchronous network notifications (instead of polling) if NO_NETWORK_POLLING is defined. Currently, this is only implemented for Win32 1998-11-08 09:04:54 +00:00
valeski%netscape.com
ed1c1a17a7 long shot at fixing the build 1998-10-21 05:36:30 +00:00
valeski%netscape.com
4ed2480867 setting WIN32_LEAN_AND_MEAN as a compiler define for windows builds. 1998-10-20 23:17:58 +00:00
valeski%netscape.com
8ba523d9f7 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
da208f0fec Added nsIURLGroup interface... 1998-10-01 21:36:57 +00:00
rpotts%netscape.com
d5dfdad33d moved the define of NETLIB_THREAD out into config/config.mak 1998-09-25 22:22:32 +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
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
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
valeski%netscape.com
eb216ab0c2 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
vidur%netscape.com
c050c0e7ac Fixed build bustage. 1998-08-20 23:07:31 +00:00
valeski%netscape.com
88d5bf1ae9 network/module/Makefile -
1. 310133 - Added nsIRefreshUrl.h to the list of exports.

network/module/makefile.win -
1. 310133 - Added nsIRefreshUrl.h to the list of exports.

network/module/nsIHttpUrl.h -
1. 310133 - Extended the nsIHttpUrl interface to include the AddMimeHeader() method which adds an http header to the url.

network/module/nsHttpUrl.cpp -
310133 - 1. Added support for the AddMimeHeader() method so http urls can have headers added outside of the actual data retrieval in netlib. This method calls NET_ParseMimeHeader() directly.
2. Added a public member, a pointer to the netlib URL_Struct that was created for this nsHttpUrlImpl. This pointer is the link between netlib and the outside world; the adhesive agent between url structs and nsURLImpls.

network/module/nsNetStream.h -
1. 310133 - Added a public memeber variable to nsConnectionInfo. It's a bool that tells us whether or not a redirect has occurred.

network/module/nsNetStream.cpp -
1. 310133 - Added initialization (FALSE) of new redirect member.

network/module/nsNetStubs.cpp -
1. 310133 - Implemented FE_SetRefreshURLTimer(). This function is called from NET_GetURL() when we recognize that we have a url to refresh.

network/module/nsStubContext.cpp -
1. 310133 - Added check to see if we're redirecting in stub_complete() which gets called when a stream completes. If we are, we don't want to release/destroy the pConsumer, this will happen in nsNetService's bam_exit_routine().

network/module/nsNetService.cpp -
1. 310133 - added nsConnectionInfo->redirect check in bam_exit_routine() so we give the consumer a successful binding event if the consumer is still around. This is iffy.
1998-08-13 20:10:49 +00:00
warren%netscape.com
057280d3f7 Fixed version umber for js3250.lib. 1998-08-05 01:33:36 +00:00
scullin%netscape.com
66cfad92b1 Hook up status remarks from netlib, add interface for prompts and alerts. 1998-07-21 20:27:59 +00:00
jevering
8bc7ad7f2a Related links stuff.. Guha's related links code stolen from 4.5 and
spanked seriously.. then jammed into netlib.  Nice huh?
1998-07-15 18:44:26 +00:00
scullin
6c533dbbe8 Re-enable normal netlib stream handling. Caching and chunking should
work now.
1998-07-13 23:43:13 +00:00
vidur
243f875b26 Added nsINetContainerApplication interface and a way to get the user agent, etc. from the containing application 1998-07-01 23:56:20 +00:00
scullin
c58f0c13b4 Moved xp_reg to network/utils/mkreg. It was only used in netlib, anyway. 1998-06-05 23:45:30 +00:00
scullin
6c6643b04c Back out dbm use on windows because of lame build order dependency. 1998-06-05 02:23:15 +00:00
scullin
f43226ca26 Used libdbm and libpwcac instead of stubs. 1998-06-05 01:39:31 +00:00
scullin
b1765c3548 Added tests sub-directory. 1998-06-02 18:39:17 +00:00
scullin
5a868c0418 Start building mime type routines as separate library. 1998-06-01 18:29:28 +00:00
rpotts
830582b310 removed the B1M define... Use MODULAR_NETLIB instead... 1998-05-28 04:56:44 +00:00
scullin
23cf4c9f0c Rebuild when sub-libraries change. 1998-05-27 01:24:05 +00:00
scullin
213aa607f0 Landed raptor modular netlib stuff 1998-05-22 23:38:40 +00:00