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

232 Коммитов

Автор SHA1 Сообщение Дата
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
atotic 475b627351 Fixed the following Mac compile error: Error : inconsistent linkage: 'extern' object redeclared as 'static' nsNetService.cpp line 292 { 1998-06-24 01:17:51 +00:00
atotic 2b30eaf7bd First Checked In. 1998-06-16 21:39:13 +00:00
rods b7c8bee768 fixed UNIX resource protocol 1998-06-16 00:04:43 +00:00
kmcclusk 00e683c2bc Added resource protocol support under unix. 1998-06-15 23:42:16 +00:00
spider 2493b31e4f Defining dbopen on Unix too. Reviewed by rpotts. 1998-06-11 23:46:52 +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 aee3408c03 Use real implementation of xp_hash for now. 1998-06-05 23:23:24 +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 d596c892d8 Removed libpwcac stubs. 1998-06-05 01:42:15 +00:00
scullin f43226ca26 Used libdbm and libpwcac instead of stubs. 1998-06-05 01:39:31 +00:00
scullin b104b1e5aa Start using real dbm and pwcac libraries. 1998-06-05 01:24:59 +00:00
scullin cc3d9c6f83 Stub out NET_NewStream. 1998-06-04 19:54:11 +00:00
scullin 4454448de1 Add libmimetype.so 1998-06-04 15:23:32 +00:00
scullin 4d60e3dc2b Re-added LO_getNextTabableElement for UNIX. 1998-06-04 14:35:09 +00:00
rpotts 53ca67cf12 Minor changes to nsIStreamListener interface... OnStartBinding(...) now passes out the stream content-type. User visible strings are now nsString arguments (for subsequent i18n) 1998-06-04 05:09:32 +00:00
rpotts b66a3bd9e7 Turned off the load_background flag when loading URLs... This allows netlib to produce more status information which gets pushed out of nsIStreamListener::OnProgress(...) 1998-06-02 20:17:17 +00:00
scullin b1765c3548 Added tests sub-directory. 1998-06-02 18:39:17 +00:00
scullin 0ec9d09794 Moved from /webshell/tests 1998-06-02 01:27:17 +00:00
scullin 314c70ad58 Landing modular netlib on UNIX 1998-06-02 00:23:17 +00:00
kipp e8603e4561 Quiet please 1998-06-01 20:53:01 +00:00
kipp 07a06155bb Fixed interface decl to be consistent with everything else 1998-06-01 18:37:21 +00:00
scullin 5a868c0418 Start building mime type routines as separate library. 1998-06-01 18:29:28 +00:00
scullin f4bdb23b32 Change XP_IS_ macros to NET_IS_ macros. 1998-05-29 23:04:49 +00:00
rpotts 830582b310 removed the B1M define... Use MODULAR_NETLIB instead... 1998-05-28 04:56:44 +00:00
rpotts 80c2a4f3cf Added support for XP_FindCOntextOfType(....) This is needed to turn off the poll_netlib_all_the_time flag after a POST has occurred 1998-05-27 23:04:11 +00:00
rpotts 7cae507835 Null terminate the post databuffer... 1998-05-27 23:03:05 +00:00
scullin c13e5a777a Enable more protocols 1998-05-27 01:24:22 +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