Commit Graph

379 Commits

Author SHA1 Message Date
mcmullen%netscape.com
331c150d47 Added all the nucache files to the memory module project (as a group) so that NU_CACHE can be turned on with a flick of the wrist, made the modular memory library build with the NU_CACHE flag turned on, fixed build warnings and errors. The NU_CACHE flag is still OFF, because the database code doesn't exist for Macintosh or Unix :-( 1999-01-14 23:27:36 +00:00
mcmullen%netscape.com
36523a3489 Fixed some warnings.Added all the nucache files to the memory module project (as a group) so that NU_CACHE can be turned on with a flick of the wrist, made the modular memory library build with the NU_CACHE flag turned on, fixed build warnings and errors. The NU_CACHE flag is still OFF, because the database code doesn't exist for Macintosh or Unix :-( 1999-01-14 23:27:27 +00:00
mcmullen%netscape.com
df728321d8 Added all the nucache files to the memory module project (as a group) so that NU_CACHE can be turned on with a flick of the wrist, made the modular memory library build with the NU_CACHE flag turned on, fixed build warnings and errors. The NU_CACHE flag is still OFF, because the database code doesn't exist for Macintosh or Unix :-( 1999-01-14 23:21:06 +00:00
mcmullen%netscape.com
349c48b044 First Checked In. 1999-01-14 19:46:11 +00:00
rpotts%netscape.com
20d092c7b8 Add some code that was lost from nsURL.cpp OpenStream(...). Use the nsIURLGroup if available to open the stream. This allows URL loads to be grouped together. 1999-01-14 06:12:36 +00:00
rpotts%netscape.com
9d1c0761c5 If no range headers are set then return NULL from GetByteRangeHeader() not an empty string... 1999-01-13 07:17:39 +00:00
ebina%netscape.com
74ac3d86af Add the gzip decoder back in. 1999-01-13 01:43:28 +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
dougt%netscape.com
3dda89dc13 Added GetContentLength and GetServerStatus to nsIURL class 1999-01-12 19:45:46 +00:00
dougt%netscape.com
66f36fba6d Added Byte-Range Support. 1999-01-09 01:16:40 +00:00
rpotts%netscape.com
3f7f18ae47 Changed over to the EventQueueService... 1999-01-07 07:15:02 +00:00
rpotts%netscape.com
0a148aa16f Added some null ptr tests to net new EventQueueService code... 1999-01-07 07:06:59 +00:00
dougt%netscape.com
250a4716f8 Exposing AreThereActiveConnections() from the nsNetServices class. This is
so that we can tell if netlib is busy without having to be compiled with it.
1999-01-05 21:11:42 +00:00
rpotts%netscape.com
6037b8f2c5 use the new EventQueueService to obtain the event queue used for marshalling data over to the UI thread... 1999-01-05 09:51:28 +00:00
leaf%mozilla.org
a2dc7d1334 applying patches from Joe Keane <jgk@jgk.org> changing gets to fgets 1999-01-01 02:47:52 +00:00
brade%netscape.com
7c2aa0f8a3 make several functions PRIVATE to reduce compiler warnings on Macintosh 1998-12-30 16:06:22 +00:00
brade%netscape.com
91e57f777e add #includes and prototypes to reduce compiler warnings on Macintosh 1998-12-30 16:05:27 +00:00
brade%netscape.com
1b75dc5096 add prototype and PRIVATE to several functions to reduce compiler warnings on Macintosh 1998-12-30 16:03:43 +00:00
brade%netscape.com
a2fb996e8a add prototype for net_ReleaseContext to reduce compiler warnings on Macintosh 1998-12-30 16:01:54 +00:00
morse%netscape.com
dec03b41b1 fix mac bustage 1998-12-30 02:25:05 +00:00
morse%netscape.com
90fa3c72ac interfaces for routines need by privacy module 1998-12-30 00:20:46 +00:00
troy%netscape.com
60883dc433 Fixed memory leak in nsHttpUrlImpl::SetSpec() 1998-12-29 01:32:39 +00:00
troy%netscape.com
1c0ceef338 Fixed memory leak in NS_MakeAbsoluteURL() 1998-12-29 01:22:57 +00:00
troy%netscape.com
de15a8198e Fixed memory leak in ToString() 1998-12-29 01:03:26 +00:00
brade%netscape.com
91479969e9 add include to reduce warnings on Macintosh compiler 1998-12-22 19:14:13 +00:00
troy%netscape.com
6202d355f7 Fixed two memory leaks of the status msg (Unicode string) in OnStopBindingProxyEvent
and OnStatusProxyEvent
1998-12-22 18:49:12 +00:00
troy%netscape.com
c59c9ed51f Fixed QueryInterface() so it doesn't do a AddRef() for interface NS_ISTHREADSAFE_IID.
This fixes a DEBUG (only) memory leak of the object which in turn causes the web shell
(and the whole world) to leak
1998-12-22 18:22:40 +00:00
brade%netscape.com
0b0b013a4b add XP_MAC to the ifdef around dbopen (was in macToBeImplemented.cp) 1998-12-21 16:46:17 +00:00
shaver%netscape.com
af51904fec resprinkle NO_STATIC_LIB, but spare libpng so that viewer is cool. Also, repair some viewer/apprunner link foibles 1998-12-18 02:55:23 +00:00
vidur%netscape.com
df3ac56c3c Added stream loader 1998-12-18 01:34:30 +00:00
warren%netscape.com
b457ad5f1f Obsolete 1998-12-16 09:51:02 +00:00
warren%netscape.com
bc325cc1e3 Removed nsURL.cpp 1998-12-16 09:50:19 +00:00
beard%netscape.com
3425122c7a Fixed up exports. 1998-12-16 06:06:51 +00:00
beard%netscape.com
2b53e73250 Removed nsIPostToServer.h (moved to public dir). 1998-12-16 05:59:42 +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
donm%netscape.com
37804b7a40 backing out Shaver's changes. -donm 1998-12-16 00:49:36 +00:00
shaver%netscape.com
0161071aef Make apprunner link dynamically.
Sprinkle Makefile.ins with NO_STATIC_LIB to speed the build and reduce the disk
requirements.
1998-12-15 22:17:14 +00:00
raman%netscape.com
27869a72de Bug fix for 1741. For XP_FILE_READ_BIN permission types, set mode as nsRead. 1998-12-07 21:49:29 +00:00
rhp%netscape.com
18975a6b8c This is to export the function for stream converter registration in
netlib. This is a temporary change until the XP-COM interface is in
place for this functionality.
1998-12-07 13:51:23 +00:00
ramiro%netscape.com
e2b921bf3c Add cvsignore entries for makefiles generated bu autoconf. 1998-12-05 09:07:33 +00:00
raman%netscape.com
c8661b26e2 Bug fix for 1420. Get filename from HashTable if fileTok is not NULL. If fileTok is NULL return aName for now. Approved by gagan 1998-12-05 03:10:43 +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
beard%netscape.com
c0c7bc482d Mac shared library migration. 1998-11-30 22:15:00 +00:00
morse%netscape.com
1d86ef20ba fix single-signon problem 1998-11-28 17:16:47 +00:00
kipp%netscape.com
d01fa74c40 Disabled the timebomb on the tip 1998-11-27 15:54:14 +00:00
joki%netscape.com
4c95fedc33 Send a reasonable value for the JS useragent on Windows. 1998-11-24 02:29:46 +00:00
cyeh%netscape.com
605bcc77c3 activate timebomb for technology demonstration.
THIS NEEDS TO BE REMOVED LATER
1998-11-24 01:08:47 +00:00
rpotts%netscape.com
2fdf4a3780 fix up the places where the C and C++ memory managers were being mixed for allocs and frees... 1998-11-22 09:32:06 +00:00
rpotts%netscape.com
687a62895d Force the URL exit routine to be called via a PLEvent. This insures that the LIBNET() lock is not being held during the call... 1998-11-22 09:31:10 +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
cyeh%netscape.com
65038e9551 Removing static makefiles as a part of the transition to Autoconf. I have taken great
care to only remove makefiles affailiated with building nglayout. I have also verified that
the build at this point in time succesfully builds with autoconf.

If you must recover one of these makefiles, you can use the static tag STATIC_MAKEFILES.
If I removed a makefile that you need, please e-mail cyeh@netscape.com.
1998-11-21 00:34:32 +00:00
gagan%netscape.com
37637f0c46 NuCache lib added. 1998-11-20 23:09:25 +00:00
troy%netscape.com
53587597f7 Fixed ref counting problem in stub_GraphProgressDestroy() 1998-11-20 04:28:06 +00:00
mcmullen%netscape.com
a5aae75a2c Fixed some warnings. 1998-11-18 20:49:15 +00:00
morse%netscape.com
cbcbe77b8a update for single signon 1998-11-18 04:38:13 +00:00
morse%netscape.com
a312ef1aea updates for single signon 1998-11-18 04:35:47 +00:00
kipp%netscape.com
5c24b7909f Added missing init of the net-file's refcnt 1998-11-17 01:21:04 +00:00
akkana%netscape.com
cf2313ec58 Put back the old pwd code; otherwise it crashes if MOZILLA_HOME isn't set 1998-11-13 02:49:19 +00:00
cls%seawood.org
288a1c7f8c Fixes to resource install for xpfe. Fixes to make MOZ_NATIVE_* work again. Thanks to Jeremy Lea <reg@shale.csir.co.za> for the diffs. 1998-11-11 01:53:49 +00:00
morse%netscape.com
2e637b3ff4 attempt to fix build bustage 1998-11-10 06:33:14 +00:00
morse%netscape.com
a02b658e50 separate trust labels from cookie management 1998-11-10 04:31:26 +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
rpotts%netscape.com
3f8b2d5296 fix bug #1112. Added support for multipart/x-mixed-replace content type 1998-11-05 05:37:02 +00:00
valeski%netscape.com
076f72db88 fix for bugzilla 1219 1998-11-04 18:37:10 +00:00
ramiro%netscape.com
994a9bab46 oops. Should use PR_GetEnv() instead of getenv(). 1998-11-04 13:34:36 +00:00
ramiro%netscape.com
011b77ea09 XP_UNIX only. Unhardcode the resource: url base path. It used to be the
working directory (pwd) which is not very useful.  Use MOZILLA_HOME instead.
1998-11-04 10:31:32 +00:00
rpotts%netscape.com
aaa816f7f8 removed the export for kINetSupportIID 1998-11-03 08:31:21 +00:00
rpotts%netscape.com
5291a2d8bb Changed the IID to not use NS_DECLARE_ID... 1998-11-03 08:01:51 +00:00
rpotts%netscape.com
9a4a51d584 Moved the implementation of the nsINetSupport interface from the nsdocumentBindInfo over to the URL container... 1998-11-03 08:01:29 +00:00
gagan%netscape.com
df177820b7 Replaced obsoleted macro usage. 1998-11-02 23:01:45 +00:00
gagan%netscape.com
052f36c725 NuCache changes. 1998-11-02 23:01:00 +00:00
valeski%netscape.com
f4757fae3a solaris compiler choking on trailing comma in enumeration. submitted by tor@cs.brown.edu 1998-10-30 19:43:25 +00:00
rpotts%netscape.com
5cf116e2df Checked in some cheesy timebomb support until we can pull the timebomb vaules from all.js 1998-10-29 07:55:12 +00:00
rpotts%netscape.com
d6a6283218 Removed the container pointer from the nsConnectionInfo struct. The container is held by the nsIURL... 1998-10-28 21:40:51 +00:00
valeski%netscape.com
167d302c86 fixed malformed user agent string. added GetUserAgent() method to nsINetService interface. 1998-10-28 21:12:50 +00:00
valeski%netscape.com
ed1c1a17a7 long shot at fixing the build 1998-10-21 05:36:30 +00:00
cls%seawood.org
ed2a7f5f65 Sync'd various Makefile.ins to their Makefile counterparts.
Removed nspr & nspr20 from REQUIRES.  Removed NSPR_LDFLAGS.
Changed LIBNSPR refs to NSPR_LIBS.
Removed leftover NSPR20 ifdefs.
1998-10-21 02:13:56 +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
rpotts%netscape.com
26b1c2655d Added support for interrupting streams via the nsINetService::InterruptStream() method. 1998-10-16 22:44:20 +00:00
rpotts%netscape.com
ff2991ca05 Added support for interrupting streams via the nsINetService::InterruptStream() method. 1998-10-16 22:20:05 +00:00
rpotts%netscape.com
90ae9e345e Create an initial LoadAttributes instance. 1998-10-10 04:57:18 +00:00
rpotts%netscape.com
a8689af8b1 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
6943ce1ed2 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
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
af531d7285 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
e738fa839a 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
87764930d1 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
09fccddbb0 Added a Clone(...) method. 1998-10-01 21:37:32 +00:00
rpotts%netscape.com
da208f0fec Added nsIURLGroup interface... 1998-10-01 21:36:57 +00:00
pierre%netscape.com
0b7fddb776 Raptor only. Display images on Mac. 1998-10-01 19:17:51 +00:00
valeski%netscape.com
e2cbd2598a 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
820ba8c388 Raptor only. Fix crasher. 1998-09-28 20:47:49 +00:00
rpotts%netscape.com
c48bbe1bc7 Added reference counting to modular netlib Contexts... 1998-09-25 22:24:32 +00:00
rpotts%netscape.com
4a2281dfda 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
d5dfdad33d moved the define of NETLIB_THREAD out into config/config.mak 1998-09-25 22:22:32 +00:00
valeski%netscape.com
03a209d464 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
39b7c91072 Sync'd Makefile.ins 1998-09-22 23:01:29 +00:00
valeski%netscape.com
376dc6bfe3 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
08f706df27 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
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
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
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
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
pierre%netscape.com
63fad5200b fixing mac build: renamed the factory entry point 1998-09-17 09:17:39 +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
235357382b General memory repairs (leakage, freeing mismatched mem, umrs) 1998-09-16 07:17:34 +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
kipp%netscape.com
d5502d087e whitespace tweak 1998-09-12 19:31:10 +00:00
mcafee%netscape.com
cfa10d426d Fixing Solaris bustage 1998-09-12 05:55:51 +00:00
mcafee%netscape.com
4a931020d6 Solaris needs EOF character 1998-09-12 05:52:39 +00:00
valeski%netscape.com
24d2cbf92b fixing build bustage. 1998-09-10 03:28:20 +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
e86eb9d216 Adjusted to change in signature for FE_SetRefreshURLTimer 1998-09-09 20:56:47 +00:00
kipp%netscape.com
3a5caa94af Stub out fe routine so that app will link 1998-09-05 20:13:34 +00:00
pierre%netscape.com
7f5dd88910 set resourceBase to the magic string "usr/local/netscape/bin/" 1998-09-03 06:19:13 +00:00
rpotts%netscape.com
3ed30d363b Fixed return value from PerformNastyWindowsAsyncDNSHack(...) 1998-09-02 00:27:54 +00:00
thom%netscape.com
584891891e fixed heap corruption in mac version of the function mangleResourceIntoFileURL. This change ONLY effects macs 1998-08-28 01:33:14 +00:00
cls%seawood.org
9020b80c52 Updates to autoconf files. 1998-08-26 04:04:57 +00:00
rpotts%netscape.com
cf4d8e6925 Evil fix for deadlock during synchronous http url loads... 1998-08-25 05:51:40 +00:00
thom%netscape.com
4d14ad9a57 fixed mac compile error in the initialization code 1998-08-25 00:04:27 +00:00
rpotts%netscape.com
53c77d56fe NGLayout only... Added a synchronous command line option for testing synchronous URL fetching. 1998-08-24 20:46:44 +00:00
rpotts%netscape.com
dcf275e458 Added support to shut down netlib and the nsINetService instance... 1998-08-22 00:12:54 +00:00
vidur%netscape.com
c050c0e7ac Fixed build bustage. 1998-08-20 23:07:31 +00:00
vidur%netscape.com
00f1de03b8 Added nsIConnectionInfo interface. Temporarily special-cased javascript: URLs in URL parsing. 1998-08-20 22:28:09 +00:00
kmcclusk%netscape.com
105745e312 Added XP_UNIX code to leave the top slash for absolute file paths under UNIX.
This fixes a problem where all of the slashs get stripped off because the URL
is asked to parse a previously parsed url string.
1998-08-20 20:32:52 +00:00
valeski%netscape.com
52bc32e1e1 RAPTOR ONLY CHECKIN
network/module/nsIURL.h
Added Get/Set ReloadType methods so a user can query/set the reload type for the url. The default is normal reload.

network/module/nsURL.cpp
Added support for the new nsIURL interface methods (Get/Set ReloadType).

network/module/nsNetService.cpp
OpenStream and OpenBlockingStream now query the nsIURL for it's reload type before creating the url struct. This way we can control how the url is loaded.
1998-08-19 23:00:15 +00:00
scullin%netscape.com
509a55fa3e Move resource hack to tip. 1998-08-19 21:38:57 +00:00
cls%seawood.org
84f1cedcbb AUTOCONF_1_0 landing. 1998-08-19 20:42:14 +00:00
valeski%netscape.com
f25f2cb5b2 network/module/nsIRefreshUrl.h
Extended the nsIRefreshUrl interface to include a cancel method.

network/module/nsNetService.cpp
1. Added code to hook the nsConnectionInfo object up to the nsISupports pointer in the url being loaded.
2. Removed the redirect logic in bam_exit_routine(). The backend dependency on the front end is gone.

network/module/nsNetStream.cpp
Added initialization/destruction of the nsISupports pointer in the nsConnectionInfo.

network/module/nsNetStream.h
Added the nsISupports member declaration to nsConnectionInfo, and remvoed the redirect member variable.

network/module/nsNetStubs.cpp
FE_SetRefreshURLTimer() routine has been modified so it no longer relies on the pConsumer (i.e. nsDocumentBindInfo) which was causing us to leak it. Now we use the nsISupports pointer in the nsConnectionInfo object to access the nsIRefreshURL interface so we can reload the url.

network/module/nsStubContext.cpp
Modified stub_complete() so we no longer pay attention to the redirect member of the nsConnectionInfo object.

network/module/nsIURL.h
1. Added GetContainer() method to nsIURL which returns the nsISupports pointer of the container for this url.
2. created a new NS_NewURL() routine which takes an nsISupports pointer as a parameter.

network/module/nsURL.cpp
1. Added a new nsURL constructor that takes a nsISupports pointer as a param.
2. Added GetContainer() method and nsISupports pointer initialization/destruction.
1998-08-18 23:24:28 +00:00
valeski%netscape.com
0a8c7afc42 fixed a memory leak 1998-08-18 22:38:03 +00:00
troy%netscape.com
ef9d322093 Changed PR_FREEIF to delete[] (call to nsString::ToNewCString) 1998-08-15 01:53:38 +00:00
thom%netscape.com
6915e471fa added nsIRefreshUrl.h to manifest 1998-08-14 21:35:42 +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
valeski%netscape.com
e99ebbae97 310133 - Added nsIRefreshUrl.h to the build. This file defines the nsIRefreshUrl interface which simply declares a method that allows a url to be refreshed/reloaded after a given interval. 1998-08-13 20:05:13 +00:00
vidur%netscape.com
427b7b0bb3 Fixed problem with mSpec being allocated with something other than PR_Malloc 1998-08-13 19:05:36 +00:00
rpotts%netscape.com
ca2c7d9353 Fixed OnDataAvailable(...) to abort the stream if it returns a failure code... 1998-08-13 08:19:49 +00:00
vidur%netscape.com
c9ac421d98 Added better handling of search component of URL. Added GetSearch() method to nsIURL. 1998-08-13 04:35:37 +00:00
michaelp%netscape.com
ec31b76e60 fixed build. 1998-08-13 00:07:09 +00:00
warren%netscape.com
057280d3f7 Fixed version umber for js3250.lib. 1998-08-05 01:33:36 +00:00
rpotts%netscape.com
ded87a43a6 Disable NET_PollSockets(...) optimization until it works correctly... 1998-08-01 09:13:20 +00:00
scullin%netscape.com
e56171c730 Safety check our automatic context deleting. (NGLayout only) 1998-07-29 18:44:23 +00:00
rpotts%netscape.com
7e2d9d8b5e Removed all calls to NET_PollSockets(...). Netlib now does the polling itself... 1998-07-29 06:01:57 +00:00
rpotts%netscape.com
6ed683d129 Removed the need for clients to explicitly call NET_PollSockets(...). This has been replaced with a timer based polling scheme 1998-07-29 06:01:11 +00:00
dcone%netscape.com
0819429621 defined a mac WH_TempName for modular Netlib. Raptor change. 1998-07-27 19:53:51 +00:00
vidur%netscape.com
5639f27847 Added methods to nsINetService to get and set cookie string for a URL 1998-07-25 00:32:32 +00:00
rpotts%netscape.com
66ec1412c1 Get rid of some unix warnings... 1998-07-24 20:53:38 +00:00
kipp%netscape.com
da659eee79 Handle absolute url's better 1998-07-24 18:16:05 +00:00
rpotts%netscape.com
17acb2afff Added IStreamListener::OnStatus(...)... 1998-07-24 10:02:50 +00:00
michaelp%netscape.com
aa5160c9ae modified for new streaming APIs. 1998-07-23 20:43:08 +00:00
scullin%netscape.com
5681d60943 Fixed build bustage. I can't believe people are still adding context
functions. They should be shot.
1998-07-23 18:31:05 +00:00
kipp%netscape.com
4842ab2b19 Added in parsing for references 1998-07-22 23:38:20 +00:00
jevering%netscape.com
2618db2426 Fixed build problem on NT 5.0 with null exports line. 1998-07-22 23:25:35 +00:00
rpotts%netscape.com
eaaa7e51a1 Allow OnDataAvailable(...) to abort a binding operation by returning an error code... 1998-07-22 11:21:27 +00:00
rpotts%netscape.com
d32f62b2a7 Removed some signed/unsigned warnings... 1998-07-22 11:20:37 +00:00
scullin%netscape.com
ce1e323c8d Fix crash _and_ memory leak? Is it too much to hope? 1998-07-22 03:48:17 +00:00
scullin%netscape.com
9bcf094a7d Fix crash, leak again. 1998-07-22 02:56:50 +00:00
scullin%netscape.com
a2f1447e8c Fix context leakage. 1998-07-22 00:16:00 +00:00
scullin%netscape.com
28eb2a44f0 Added rules to install/clobber resource gifs. 1998-07-21 21:22:25 +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
scullin%netscape.com
5b05db9d89 Icons for ftp/file directories. 1998-07-21 19:35:35 +00:00
scullin%netscape.com
ff35b2bf20 Allow multipe urls on command line.
NGLayout only.
1998-07-21 18:44:20 +00:00
scullin%netscape.com
0e705b4e15 Moved from branch 1998-07-17 18:07:21 +00:00
guha%netscape.com
850489e013 Fix for bug reported by Mr. Hickman 1998-07-16 18:22:23 +00:00
guha%netscape.com
7fc26bf75d Fix bug in related links 1998-07-16 00:10:48 +00:00
guha%netscape.com
7d64544262 Remove duplicates from related links 1998-07-15 23:39:14 +00:00
rpotts%netscape.com
646e80db63 Added nsIURL argument to the nsIStreamListener interface 1998-07-15 22:38:01 +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
kipp
e450a78d6b Hack around url parsing bug; urls that start with / are not absolute even if they contain a colon 1998-07-14 15:24:32 +00:00
scullin
9c0fd0e4ba Fix UNIX link problems. 1998-07-14 00:57:49 +00:00
scullin
24ead6e06c Fix nglayout UNIX build? 1998-07-14 00:17:00 +00:00
scullin
b3be9d8ef7 Fix build? 1998-07-14 00:13:49 +00:00
scullin
6c533dbbe8 Re-enable normal netlib stream handling. Caching and chunking should
work now.
1998-07-13 23:43:13 +00:00
rpotts
42f2249387 Cause the netlib load to fail if OnStartBinding(...) returns an error. 1998-07-03 06:15:06 +00:00
atotic
f7578dc675 Fixed mac build bustage 1998-07-02 22:34:46 +00:00
rpotts
5d1c00cbb7 Initialized the file extension to content-type mappings to allow netlib to determine the content-type of a file based on its extension... 1998-07-02 19:44:56 +00:00
vidur
d426e95c0d Fixed casting problems on Linux 1998-07-02 17:46:15 +00:00
vidur
134b9563ba Fixed casting problems on Linux 1998-07-02 01:10:21 +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
rpotts
643c05a792 Fixed up IID for nsIStreamListener 1998-07-01 11:24:10 +00:00
rpotts
5530aff594 Split the nsIStreamListner interface into nsIStreamObserver and nsIStreamListener 1998-07-01 11:23:17 +00:00
rpotts
c2deafd2d2 Changed sprintf(...) to PR_snprintf(...) 1998-07-01 11:22:25 +00:00
kipp
8feb13ed67 Fixed memory overwrite bug 1998-06-30 23:37:35 +00:00
vidur
f42cdcf454 Added code to relative->absolute URL conversion path to deal with .. and . in the path 1998-06-26 22:09:18 +00:00
scullin
a477b6cb5b Memory fixes from my branch. 1998-06-24 17:38:21 +00:00