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

28 Коммитов

Автор SHA1 Сообщение Дата
gagan%netscape.com a3f5c73742 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 4af009fea5 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 b6c8b37ce8 NuCache lib added. 1998-11-20 23:09:25 +00:00
rpotts%netscape.com 34ea948370 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 d468565cbb long shot at fixing the build 1998-10-21 05:36:30 +00:00
valeski%netscape.com 11949de843 setting WIN32_LEAN_AND_MEAN as a compiler define for windows builds. 1998-10-20 23:17:58 +00:00
valeski%netscape.com d05d57fdf5 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 f01146e101 Added nsIURLGroup interface... 1998-10-01 21:36:57 +00:00
rpotts%netscape.com 0ffc658c65 moved the define of NETLIB_THREAD out into config/config.mak 1998-09-25 22:22:32 +00:00
rpotts%netscape.com dbdff8d85a Added a new file nsNetThread.cpp and the NETLIB_THREAD define 1998-09-19 07:08:47 +00:00
valeski%netscape.com 81cdcbe581 ? 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 ea6eb8d229 ? 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 9bc115a2f8 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 49655aa9d6 Fixed build bustage. 1998-08-20 23:07:31 +00:00
valeski%netscape.com d791bc8379 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 ab6b8457c2 Fixed version umber for js3250.lib. 1998-08-05 01:33:36 +00:00
scullin%netscape.com 31eb618849 Hook up status remarks from netlib, add interface for prompts and alerts. 1998-07-21 20:27:59 +00:00
jevering a46743fe6e 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 7821802134 Re-enable normal netlib stream handling. Caching and chunking should
work now.
1998-07-13 23:43:13 +00:00
vidur b091a85533 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 8952d819ce Moved xp_reg to network/utils/mkreg. It was only used in netlib, anyway. 1998-06-05 23:45:30 +00:00
scullin 61cee206b1 Back out dbm use on windows because of lame build order dependency. 1998-06-05 02:23:15 +00:00
scullin 713012d8d8 Used libdbm and libpwcac instead of stubs. 1998-06-05 01:39:31 +00:00
scullin dc97719bf7 Added tests sub-directory. 1998-06-02 18:39:17 +00:00
scullin 38d31c06b9 Start building mime type routines as separate library. 1998-06-01 18:29:28 +00:00
rpotts 784dd4feba removed the B1M define... Use MODULAR_NETLIB instead... 1998-05-28 04:56:44 +00:00
scullin 8767bd8b54 Rebuild when sub-libraries change. 1998-05-27 01:24:05 +00:00
scullin d4dcfbffd0 Landed raptor modular netlib stuff 1998-05-22 23:38:40 +00:00