27 Commits

Author SHA1 Message Date
mcafee%netscape.com
df65e1aca0 BeOS changes.
git-svn-id: svn://10.0.0.236/trunk@37122 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-27 10:17:36 +00:00
warren%netscape.com
b870de7299 Renamed nsIURLGroup to nsILoadGroup in preparation for necko.
git-svn-id: svn://10.0.0.236/trunk@36818 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-25 02:17:37 +00:00
warren%netscape.com
06d707be48 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too.
git-svn-id: svn://10.0.0.236/trunk@36440 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 03:29:44 +00:00
peterl%netscape.com
4d494b07ec made Equals() test ref & search too
git-svn-id: svn://10.0.0.236/trunk@32791 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:41:22 +00:00
bruce%cybersight.com
063cd52fe4 Moved nsNetStream.h include to nsHttpUrl.h from the .cpp file to fix build busta
ge on gcc 2.7.2.3 due to incomplete type errors.


git-svn-id: svn://10.0.0.236/trunk@29330 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 01:55:44 +00:00
scc%netscape.com
d75801144d Adjusted the ownership model slightly. URLs no longer `own' their container or their URL group
git-svn-id: svn://10.0.0.236/trunk@29326 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 01:29:23 +00:00
ramiro%netscape.com
52ef5e02cd delete vs. delete[] vs. free fixes.
Thanks to "Bruce Mitchener, Jr." <bruce@cybersight.com for finding all these
and making patches.


git-svn-id: svn://10.0.0.236/trunk@25592 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 05:26:59 +00:00
rpotts%netscape.com
866b5a6c33 initialize mLoadAttribs...
git-svn-id: svn://10.0.0.236/trunk@24426 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 06:23:22 +00:00
gagan%netscape.com
3593ed3580 Calling parse on SetSpec to correctly reflect the changes. Partial fix for #3413.
git-svn-id: svn://10.0.0.236/trunk@24243 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-17 01:39:20 +00:00
gagan%netscape.com
540707af8e Fix for 3776.
git-svn-id: svn://10.0.0.236/trunk@24208 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 07:46:57 +00:00
sdagley%netscape.com
8b53976170 Fix bugzilla bug #2568
nsHttpUrlImpl::GetContainer was always returning with NS_OK even if the container is nil.  After discussing it with rpotts I've changed it to return NS_ERROR_UNEXPECTED if mContainer is nil which fixes the Mac crash (calling QueryInterface on a nil container is probably bad everywhere though).


git-svn-id: svn://10.0.0.236/trunk@21815 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 01:28:24 +00:00
troy%netscape.com
3c4807983d Fixed a ref counting problem and added a cast so we're pointing at the
object and not the interface in function Equals()


git-svn-id: svn://10.0.0.236/trunk@20504 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 04:26:43 +00:00
vidur%netscape.com
19818eaa54 Added temporary handling for about: URLs in HTTP url code
git-svn-id: svn://10.0.0.236/trunk@19536 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 19:36:24 +00:00
mcmullen%netscape.com
46a406db90 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 :-(
git-svn-id: svn://10.0.0.236/trunk@17778 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 23:21:06 +00:00
dougt%netscape.com
dac03c0d9a Added GetContentLength and GetServerStatus to nsIURL class
git-svn-id: svn://10.0.0.236/trunk@17602 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 19:45:46 +00:00
troy%netscape.com
eb80b6fbaa Fixed memory leak in nsHttpUrlImpl::SetSpec()
git-svn-id: svn://10.0.0.236/trunk@16923 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-29 01:32:39 +00:00
troy%netscape.com
cdbdb080a4 Fixed memory leak in ToString()
git-svn-id: svn://10.0.0.236/trunk@16917 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-29 01:03:26 +00:00
troy%netscape.com
48f492804b 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


git-svn-id: svn://10.0.0.236/trunk@16810 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 18:22:40 +00:00
warren%netscape.com
5f54c1af03 Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener.
git-svn-id: svn://10.0.0.236/trunk@16495 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 05:40:20 +00:00
valeski%netscape.com
f59ddd76de solaris compiler choking on trailing comma in enumeration. submitted by tor@cs.brown.edu
git-svn-id: svn://10.0.0.236/trunk@13738 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 19:43:25 +00:00
rpotts%netscape.com
ec3d7d579a Added support for interrupting streams via the nsINetService::InterruptStream() method.
git-svn-id: svn://10.0.0.236/trunk@13033 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 22:20:05 +00:00
rpotts%netscape.com
7ba26a9d15 Fixed the reference counting of the URL_Struct being held by the HttpUrl.
git-svn-id: svn://10.0.0.236/trunk@10498 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 07:00:29 +00:00
rpotts%netscape.com
661ca3e5d1 Added support to shut down netlib and the nsINetService instance...
git-svn-id: svn://10.0.0.236/trunk@8348 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-22 00:12:54 +00:00
valeski%netscape.com
e05d07e172 fixed a memory leak
git-svn-id: svn://10.0.0.236/trunk@8152 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 22:38:03 +00:00
valeski%netscape.com
09a03524ca 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.


git-svn-id: svn://10.0.0.236/trunk@7956 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 20:10:49 +00:00
rpotts
75cb8edc90 Null terminate the post databuffer...
git-svn-id: svn://10.0.0.236/trunk@2415 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 23:03:05 +00:00
scullin
10222065f1 Landed raptor modular netlib stuff
git-svn-id: svn://10.0.0.236/trunk@2225 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 23:38:40 +00:00