46 Commits

Author SHA1 Message Date
dp%netscape.com
befa259a88 Landing xpcom20/21 branch.
git-svn-id: svn://10.0.0.236/trunk@32644 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 01:38:36 +00:00
jdunn%netscape.com
d4c3db8a77 fix error... returning 'false' instead of 'FALSE'
git-svn-id: svn://10.0.0.236/trunk@31059 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 00:51:00 +00:00
davidm%netscape.com
c878914bd1 work needed to get password UI up and working
git-svn-id: svn://10.0.0.236/trunk@30992 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 22:18:08 +00:00
spence%netscape.com
82ff5ae768 solaris was choking
git-svn-id: svn://10.0.0.236/trunk@26803 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 09:04:04 +00:00
spence%netscape.com
7c3a9f8549 async dialog work for ftp; generalized async interface
git-svn-id: svn://10.0.0.236/trunk@26802 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 07:37:37 +00:00
spence%netscape.com
92dc534590 remove outside dependency from netlib
git-svn-id: svn://10.0.0.236/trunk@26782 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 02:51:14 +00:00
spence%netscape.com
e5ca208225 don't break the mac
git-svn-id: svn://10.0.0.236/trunk@26731 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 07:11:27 +00:00
spence%netscape.com
d0f3d65e5b changes for async modal dialogs
git-svn-id: svn://10.0.0.236/trunk@26726 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 06:54:12 +00:00
rickg%netscape.com
e855e10e0d update to use new nsString API
git-svn-id: svn://10.0.0.236/trunk@26289 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 08:36:51 +00:00
mcmullen%netscape.com
5b8c2045d8 Removed the offset parameter from the base stream interfaces. Implemented string streams.
git-svn-id: svn://10.0.0.236/trunk@22964 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 22:53:56 +00:00
mcafee%netscape.com
ee18b1bc83 Uninitialized variables
git-svn-id: svn://10.0.0.236/trunk@22855 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 04:40:14 +00:00
kipp%netscape.com
dd3ae803c4 Avoid crashing if the url doesn't have a container
git-svn-id: svn://10.0.0.236/trunk@21907 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 16:43:17 +00:00
mcmullen%netscape.com
89a909043d 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@17783 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 23:27:36 +00:00
leaf%mozilla.org
2bb3760815 applying patches from Joe Keane <jgk@jgk.org> changing gets to fgets
git-svn-id: svn://10.0.0.236/trunk@17064 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-01 02:47:52 +00:00
brade%netscape.com
de46138715 add prototype and PRIVATE to several functions to reduce compiler warnings on Macintosh
git-svn-id: svn://10.0.0.236/trunk@16994 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 16:03:43 +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
morse%netscape.com
bf3fc1efe8 fix single-signon problem
git-svn-id: svn://10.0.0.236/trunk@15397 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-28 17:16:47 +00:00
troy%netscape.com
dc4177b6c9 Fixed ref counting problem in stub_GraphProgressDestroy()
git-svn-id: svn://10.0.0.236/trunk@14988 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 04:28:06 +00:00
morse%netscape.com
225430c9fb updates for single signon
git-svn-id: svn://10.0.0.236/trunk@14858 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 04:35:47 +00:00
rpotts%netscape.com
1d0fead886 fix bug #1112. Added support for multipart/x-mixed-replace content type
git-svn-id: svn://10.0.0.236/trunk@14130 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 05:37:02 +00:00
rpotts%netscape.com
6ef933f1dd Moved the implementation of the nsINetSupport interface from the nsdocumentBindInfo over to the URL container...
git-svn-id: svn://10.0.0.236/trunk@13960 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 08:01:29 +00:00
gagan%netscape.com
a7cf25c760 Replaced obsoleted macro usage.
git-svn-id: svn://10.0.0.236/trunk@13930 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 23:01:45 +00:00
rpotts%netscape.com
341298f9e8 Added reference counting to modular netlib Contexts...
git-svn-id: svn://10.0.0.236/trunk@11104 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:24:32 +00:00
mcafee%netscape.com
dba7583631 Fixing Solaris bustage
git-svn-id: svn://10.0.0.236/trunk@9937 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 05:55:51 +00:00
kipp%netscape.com
458facb9aa Stub out fe routine so that app will link
git-svn-id: svn://10.0.0.236/trunk@9435 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 20:13:34 +00:00
valeski%netscape.com
a192f6bdd0 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.


git-svn-id: svn://10.0.0.236/trunk@8163 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 23:24:28 +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%netscape.com
246f5b3065 Fixed OnDataAvailable(...) to abort the stream if it returns a failure code...
git-svn-id: svn://10.0.0.236/trunk@7929 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 08:19:49 +00:00
michaelp%netscape.com
07f92ff77f fixed build.
git-svn-id: svn://10.0.0.236/trunk@7893 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 00:07:09 +00:00
vidur%netscape.com
62319c5f57 Added methods to nsINetService to get and set cookie string for a URL
git-svn-id: svn://10.0.0.236/trunk@6459 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 00:32:32 +00:00
rpotts%netscape.com
ce01187b95 Get rid of some unix warnings...
git-svn-id: svn://10.0.0.236/trunk@6414 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 20:53:38 +00:00
rpotts%netscape.com
b174cb490f Added IStreamListener::OnStatus(...)...
git-svn-id: svn://10.0.0.236/trunk@6389 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 10:02:50 +00:00
michaelp%netscape.com
117c98f47a modified for new streaming APIs.
git-svn-id: svn://10.0.0.236/trunk@6308 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 20:43:08 +00:00
scullin%netscape.com
2be66236a5 Fixed build bustage. I can't believe people are still adding context
functions. They should be shot.


git-svn-id: svn://10.0.0.236/trunk@6275 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 18:31:05 +00:00
rpotts%netscape.com
fe21e56f28 Allow OnDataAvailable(...) to abort a binding operation by returning an error code...
git-svn-id: svn://10.0.0.236/trunk@6164 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 11:21:27 +00:00
scullin%netscape.com
ece788d507 Fix context leakage.
git-svn-id: svn://10.0.0.236/trunk@6127 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 00:16:00 +00:00
scullin%netscape.com
629d196dca Hook up status remarks from netlib, add interface for prompts and alerts.
git-svn-id: svn://10.0.0.236/trunk@6099 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 20:27:59 +00:00
rpotts%netscape.com
ced3fe0f75 Added nsIURL argument to the nsIStreamListener interface
git-svn-id: svn://10.0.0.236/trunk@5656 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 22:38:01 +00:00
jevering
0eabd76492 Related links stuff.. Guha's related links code stolen from 4.5 and
spanked seriously.. then jammed into netlib.  Nice huh?


git-svn-id: svn://10.0.0.236/trunk@5614 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 18:44:26 +00:00
scullin
20cdc31eeb Re-enable normal netlib stream handling. Caching and chunking should
work now.


git-svn-id: svn://10.0.0.236/trunk@5438 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 23:43:13 +00:00
rpotts
5273f998d4 Cause the netlib load to fail if OnStartBinding(...) returns an error.
git-svn-id: svn://10.0.0.236/trunk@4989 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 06:15:06 +00:00
rpotts
f9515f9806 Minor changes to nsIStreamListener interface... OnStartBinding(...) now passes out the stream content-type. User visible strings are now nsString arguments (for subsequent i18n)
git-svn-id: svn://10.0.0.236/trunk@3160 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 05:09:32 +00:00
rpotts
f8991743c8 Turned off the load_background flag when loading URLs... This allows netlib to produce more status information which gets pushed out of nsIStreamListener::OnProgress(...)
git-svn-id: svn://10.0.0.236/trunk@2941 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 20:17:17 +00:00
kipp
369a35ae14 Quiet please
git-svn-id: svn://10.0.0.236/trunk@2842 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 20:53:01 +00:00
rpotts
7fe06ecb1d Added support for XP_FindCOntextOfType(....) This is needed to turn off the poll_netlib_all_the_time flag after a POST has occurred
git-svn-id: svn://10.0.0.236/trunk@2416 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 23:04:11 +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