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

1721 Коммитов

Автор SHA1 Сообщение Дата
rpotts%netscape.com 76fde9f5d5 register multipart/x-mixed-replace as a stream decoder (ie. to */*) not a stream converter. 2000-01-05 04:47:06 +00:00
warren%netscape.com c5647f335f Added MAXPATHLEN decl 2000-01-05 04:15:45 +00:00
warren%netscape.com 31c7dd82a2 Fixed include. 2000-01-05 03:50:49 +00:00
warren%netscape.com 64e606b91d Made dns service fail if offline. 2000-01-05 03:50:00 +00:00
warren%netscape.com 27494d0387 Made socket transport service fail if offline. 2000-01-05 03:48:27 +00:00
warren%netscape.com 3a332b4758 Made SetOffline(true) shutdown dns and socket trans. 2000-01-05 03:44:42 +00:00
warren%netscape.com 83cec0235d Added dns service shutdown method. 2000-01-05 03:44:00 +00:00
warren%netscape.com 9466469ea2 Added rule so that resource://Resource/ maps to CurrentProcessDirectory. 2000-01-05 03:43:21 +00:00
morse%netscape.com 0d7d7eea84 add UniversalDialog, r=davidm 2000-01-05 03:17:11 +00:00
warren%netscape.com 6105a4546e Removed obsolete necko util stuff. Can't remove the macbuild stuff yet because it's really building timers. 2000-01-05 03:02:43 +00:00
warren%netscape.com 7d101062cf Added offline attribute. 2000-01-05 02:44:23 +00:00
rpotts%netscape.com 672c0938ff Removed over aggressive assert when the loadgroup listener factory does not exist 2000-01-04 05:46:47 +00:00
dougt%netscape.com 4d1a1b38ed Converting to use nsIModule macro. r=dp. 2000-01-03 23:37:30 +00:00
dougt%netscape.com e3dc87a151 Including nsCRT.h/nsIFileSpec directly. This prep work for the nsIFile landing. 2000-01-03 23:34:15 +00:00
dougt%netscape.com e57d8fe707 Converting to use nsIModule macro. r=dp, jud. 2000-01-03 23:32:11 +00:00
dougt%netscape.com 2318e4a20c Including nsFileSpec.h directly. prep for nsIFile landing. 2000-01-03 23:31:09 +00:00
dougt%netscape.com 75e9bc8d48 Including nsFileSpec.h directly. This prep work for the nsIFile landing. 2000-01-03 23:28:35 +00:00
dougt%netscape.com 431b7b0e81 Including nsCRT.h directly. This prep work for the nsIFile landing. 2000-01-03 23:27:52 +00:00
dougt%netscape.com b1db728381 Converting to use nsIModule macro. r=dp,jud 2000-01-03 23:27:20 +00:00
dougt%netscape.com f923183929 Including nsString.h directly. It is included indirectly by nsFileSpec. This
prep work for the nsIFile landing.
2000-01-03 23:24:47 +00:00
dougt%netscape.com f8190a0155 Converting to use nsIModule macro. r=jud. 2000-01-03 23:24:06 +00:00
dougt%netscape.com 43d538707a Including nsIAllocator.h directly. 2000-01-03 23:23:33 +00:00
dougt%netscape.com 9c9d062bec Including nsCRT.h directly. It is included indirectly by nsFileSpec. This
prep work for the nsIFile landing.
2000-01-03 23:22:46 +00:00
valeski%netscape.com 413cbd982c 22534. r=gagan. We were leaking a single byte on non uname/pwd inclusive url's that required authentication, and we weren't over-writing the auth string when a auth realm wanted new credentials. 1999-12-29 21:55:18 +00:00
sspitzer%netscape.com be5b3406df fix warning 1999-12-29 00:23:43 +00:00
sspitzer%netscape.com 37f5bc16b9 fix warnings. 1999-12-29 00:20:10 +00:00
sspitzer%netscape.com fbd97e9856 fix warnings. 1999-12-28 19:37:29 +00:00
bryner%uiuc.edu 77d764168e Fix a compiler warning by reordering initializers. r=syd. 1999-12-24 22:11:18 +00:00
bryner%uiuc.edu 2671310947 Fixing a compiler warning by reordering initializers. r=syd. 1999-12-24 22:06:48 +00:00
valeski%netscape.com 1479703c93 21789. r=gagan, a=don. The Extension() method for url's was returning everything after the *first* dot as the extension, rather than everything after the *last* dot. Now we return everything after the *last* dot as the extension 1999-12-24 03:10:24 +00:00
sspitzer%netscape.com 9cf4030670 rest of fix for #21649. don't get the pref values inside the stream converter, get it in compose and mime, and pass the value through.
thanks to mozilla@bucksch.org for explaining the right thing to do.

also fix a couple of warnings.

r=bienvenu
1999-12-23 22:20:10 +00:00
valeski%netscape.com 05c79fee6b r=gagan, a=don. 21599. we were breaking when we received an incomplete status line. Now we are sure to buffer the line until we receive all of it. we also do this buffering for headers now. 1999-12-22 22:15:55 +00:00
sspitzer%netscape.com 6d70713607 ignore generated Makefiles 1999-12-22 15:03:27 +00:00
sspitzer%netscape.com 179b29e6f7 rest of fix for #21649. allow users to disable the emoticon / struct conversion of plain text emails 1999-12-22 09:16:53 +00:00
dougt%netscape.com 7b6cb1119f fix for 16273. r=valeski, a=sdagley. 1999-12-22 01:47:59 +00:00
nisheeth%netscape.com bb5fded334 r=judson, a=sdagley. Include util.lib into linking process if MOZ_PERF is defined. 1999-12-22 00:03:29 +00:00
sspitzer%netscape.com e8a4061a40 warnings fixes, and fix for #21901, all password dialogs to have titles
if the user passes one in, or use "Password" if they pass null.
1999-12-21 23:03:29 +00:00
valeski%netscape.com b0cd9bb9e4 a=sdagley. turning on datetime protocl. 1999-12-21 22:33:01 +00:00
valeski%netscape.com 7516a3f630 a=sdagley, r=dougt. set the min ftp thread count to 1 (from 4). now we only fire up 1 thread initially. Also set the stack size to default machine stack size. 22033 1999-12-21 22:25:37 +00:00
valeski%netscape.com 77298f5df4 a=dagley, r=dougt. 22033. FTP was having problems with multiline, multi read server greetings. 1999-12-21 21:15:03 +00:00
valeski%netscape.com 43833fbc0d NOT IN BUILD. updating datetime protocol to add/remove itself from the load group 1999-12-21 19:40:05 +00:00
rhp%netscape.com 01d1bb39f6 Fix for corrupting Japanese messages with auto URL detection - Bug: 18410 - r: rhp (external contribution) a: chofmann 1999-12-21 15:23:24 +00:00
briano%netscape.com d456ef8f48 NetBSD/arm-specific build breakage fix. 1999-12-21 04:14:14 +00:00
valeski%netscape.com fa29ea97ab a=chofmann, FTP dir listing dates were waaaaayy off. Now they're back within reason (meaning they're somewhat meaningful, but still not perfect (looks like some localization problems)). 1999-12-21 02:57:12 +00:00
valeski%netscape.com 342fde149a a=chofmann, multi-mixed converter wasn't returning nsIStreamObserver if QI'd for it, even though it implements it; now it does 1999-12-21 02:54:55 +00:00
valeski%netscape.com 3b79ba312e NOT IN BUILD. Adding date time protocol handler files 1999-12-20 21:48:15 +00:00
morse%netscape.com f4b2441812 add SelectDialog, bug=3110, coded by davidm, r=morse, a=chofmann 1999-12-19 18:32:21 +00:00
fur%geocast.com 0c469bc6e4 Reorder one class member initialization line to fix a warning. 1999-12-18 15:47:20 +00:00
fur%geocast.com 8ee9698da7 Fixes for HTTP 1.1 compliance with caching, a:chofmann
Fix #21569 (Use Etag header for cache validation, when present)
  Fix #21572 (Obey must-revalidate directive, when present)
1999-12-18 15:46:43 +00:00
fur%geocast.com a516109cda Added assertion and trivial recovery code to catch the case of a load group
listener factory that reports success, but nevertheless returns a NULL stream
listener.
1999-12-18 14:59:59 +00:00
fur%geocast.com 94eddbd362 Fix #21660 (Browser buster crash in cache). a:chofmann 1999-12-18 14:58:09 +00:00
mscott%netscape.com aabdc49dd6 fix mem leak of the http handler and the http request objects.
Add GetnsAuthEngine to nsIHTTPProtocolHandler, remove nsHTTPHandler::GetInstance, force callers to
go through the service manager. remove the http handler factory code since we just need the http
module
r=warren
1999-12-17 00:44:31 +00:00
rpotts%netscape.com b8fa07f3ff bug #21884 (r=mscott) bug #21459 (r=warren). I'm checking in the changes for 21459 again with an important fix for the image crashes :-) 1999-12-16 07:59:25 +00:00
mscott%netscape.com 94216118f1 Bug #21884 --> backing out Rick's changes to http to fix this regression crasher tonight.
a=chofmann
1999-12-16 06:06:00 +00:00
rpotts%netscape.com 1aafb0dcce bug #21459 (r=warren). Made the consumer OnStopRequest fire before the channel is removed from the loadgroup... 1999-12-15 23:12:48 +00:00
briano%netscape.com d226077369 Added a newline to the end of the file to make it compile on HP-UX. 1999-12-15 22:43:06 +00:00
pnunn%netscape.com 67f961d858 Correcting a mime type mapping. R:valeski@netscape.com OK:chofmann@netscape.com 1999-12-15 20:38:43 +00:00
briano%netscape.com 911b963ce5 Added a newline to the end of the file so HP-UX would be happy again. 1999-12-15 05:00:09 +00:00
valeski%netscape.com 2c8ae74076 21723, a=chofmann, r=rpotts. landing new FTP implementation. It's now much leaner on event processing, and no longer buffers data between the socket transport and consumer. This change went in in order to unblock the xpinstall guys on a UI thread starvation problem 1999-12-15 03:35:15 +00:00
valeski%netscape.com e51a9fb7c2 added files: mozilla/netwerk/protocol/ftp/src/nsFTPListener.cpp 1999-12-15 03:32:56 +00:00
rhp%netscape.com 262d71cfa4 Performance fix for message display - Bug #: 21203 - r: rhp (external contribution) 1999-12-15 03:30:55 +00:00
valeski%netscape.com 6bd54014c8 adding files for new FTP impl, not in build yet 1999-12-15 03:30:33 +00:00
valeski%netscape.com 85b9c156a7 21723. a=chofmann, r=rpotts. AsyncOpen() in the socket transport was spinning out of control, causing socket transport thread deadlock. Now we move the socket transport off of the work queue after an AsyncOpen call 1999-12-15 00:28:39 +00:00
valeski%netscape.com a58f6dc3b6 21197. a=jevering, r=rpotts. On a redirect we were firing header notification *after* the rediect which broke sites trying to set and retrieve a cookie using a redirect. Now we fire on headers before processing status code 1999-12-14 23:07:29 +00:00
ducarroz%netscape.com e6c401cb3e Fix for bug 21314. Let PL_Base64Decode do the right job. R=warren 1999-12-13 22:49:12 +00:00
rjc%netscape.com 4ace8bbaaa Fix PDT+ bug # 21236: don't null out mResponseContext, as it needs to be valid for the life of the channel. (Its a nsCOMPtr, so it'll automatically release when it falls out of scope.) 1999-12-11 21:24:50 +00:00
sdagley%netscape.com 7f46d43ea4 Checking in fur's fix for #21162 - throbber animation not stoping. Also major speed improvment on NT and Mac. a=brendan 1999-12-11 02:25:00 +00:00
valeski%netscape.com b42d295bb2 r=rhp. 21242 adjusted pipe buffer params for FTP Async file transfers. URI dispatching had aggrivated this bug. Now file viewing via FTP works. 1999-12-09 06:41:05 +00:00
valeski%netscape.com e2f28b9ebe r=rhp. 21195. a=jevering. adjusted pipe buffer params for FTP OpenInputSTream. URI dispatching had aggrivated this bug. Now file downloads via FTP work. 1999-12-09 06:20:50 +00:00
jdunn%netscape.com 0f378c7e1f Include nsJARURI.cpp and nsJARChannel.cpp in the unix build
r= warren, chofmann
1999-12-08 23:47:11 +00:00
alecf%netscape.com 9eb84400c8 fix bustage so I can check in 1999-12-08 06:44:18 +00:00
fur%netscape.com 14b7a8cb5a Move OnHeadersAvailable() after processing of server's "Not Modified" response,
so that the cached HTTP headers can be substituted for the 304 response headers.
1999-12-08 06:37:28 +00:00
fur%netscape.com e422da8a9b It turns out that PR_Now() has only one second resolution on the Mac, hence it's unsuitable for computing download rates for the cache. Thanks to sdagley for pointing this out. 1999-12-08 05:46:31 +00:00
warren%netscape.com 70e183d895 Fixed leak on shutdown. Bug#21118 1999-12-08 05:14:52 +00:00
morse%netscape.com 022b1a3ef9 fix bug 21083, multiple cookies being ignored, r=valeski 1999-12-08 05:07:31 +00:00
fur%netscape.com fc0e0c24cf Fix mac build bustage. Use LL* macros with int64 types 1999-12-08 04:56:15 +00:00
fur%netscape.com e00611be38 Fix usual bustage due to not including header with an nsCOMPtr type 1999-12-08 04:08:48 +00:00
fur%netscape.com e8deaace7a + Fix unix build bustage: Add explicit casts to XPIDLCString rvalues.
+ Fixed warnings
1999-12-08 04:04:26 +00:00
fur%netscape.com 62f3732c2a Build cache tests 1999-12-08 03:36:10 +00:00
fur%netscape.com ed725966ce + Handle the case of inability to write into cache correctly.
+ Be more aggressive about clearing the UPDATE_IN_PROGRESS flag on the cache entry
1999-12-08 03:32:56 +00:00
fur%netscape.com 82e896700b Change failure to shut down memory cache cleanly into a warning, instead of an assertion 1999-12-08 03:29:21 +00:00
fur%netscape.com bb2347d383 Disable cache by default on Windows 1999-12-08 03:25:44 +00:00
fur%netscape.com 1f6919c4a6 Bug #8305 (Implement cache). Whacked the HTTP protocol handler hard to support caching. 1999-12-08 03:23:14 +00:00
rhp%netscape.com 98d15c511d Remove printf()'s that I missed earlier 1999-12-08 02:49:46 +00:00
rhp%netscape.com ac426513a5 Fixing "const" problem 1999-12-08 02:42:43 +00:00
rhp%netscape.com ad4360fbc5 Fix for TXT - HTML conversion - r: rhp - external contributor 1999-12-08 02:10:57 +00:00
norris%netscape.com 9aea6d6321 The data protocol doesn't seem to be working. The problem appears to be that a nsStdURL is used to hold the data URI.
Unfortunately, using nsStdURL parses the data URI so that a URI like "data:text/html,<html>hi</html>" gets parsed with a
host of "text". When the rest of the data URI processing calls GetSpec, it then gets "//text/html,<html>hi</html>", which
confuses the content type parsing so no data is displayed.

This checkin changes to use a nsSimpleURI instead.
r=valeski
1999-12-07 23:42:58 +00:00
valeski%netscape.com de9d6ddf86 r=chofmann. adding content-type to default response headers for testserver 1999-12-07 22:36:47 +00:00
rhp%netscape.com 33774bf8ac Fixing Mac Project - Location of new stream converter 1999-12-07 22:31:49 +00:00
rhp%netscape.com 7e88e5f745 Fixes for TXT - HTML Conversion - r: rhp (externally contributed) 1999-12-07 22:20:02 +00:00
fur%netscape.com 971124a079 Change name of cache lib from libnkcache.so to libnecko_cache.so, to be more consistent with other necko components 1999-12-07 22:16:58 +00:00
scc%netscape.com db5cd594e2 Make observers support weak references. Bug #18682; r=dp. 1999-12-07 14:06:36 +00:00
fur%netscape.com 45bb9c5427 + Eliminated use of bool to accommodate non-ANSI C++ compilers.
(Thanks to tor@cs.brown.edu for the patch)
+ Eliminated compiler warnings
1999-12-07 09:49:55 +00:00
sspitzer%netscape.com 736cf231a3 ignore the generated Makefiles 1999-12-07 09:31:05 +00:00
valeski%netscape.com 2cf1b6fae4 r=rickg. replacing a char const w/ an int literal 1999-12-07 08:58:50 +00:00
fur%netscape.com 771d577a8e Fixed incorrect calculation of content download time and profitability of caching a given URL. r:none 1999-12-07 08:51:03 +00:00
fur%netscape.com c9ad7f29ae Increase default memory cache capacity to 1M from 100KB testing value 1999-12-07 08:49:42 +00:00
fur%netscape.com 4bfc9b0810 Sun compiler requires nsCOMPtr types to be fully defined 1999-12-07 07:51:31 +00:00
fur%netscape.com bb0b094ab5 Include definition of nsIStorageStream class to satisfy Sun compiler 1999-12-07 07:05:31 +00:00
valeski%netscape.com 06d6ba655f 20956. r=rpotts. necko no longer assumes any MIME type. we send out application/x-unknown-content-type internal MIME type if we don't *know* what the type is. It's now truly up to the app to figure out what to do 1999-12-07 07:00:47 +00:00
valeski%netscape.com 43c04c96a7 20956. r=rpotts. necko no longer assumes any MIME type. we send out application/x-unknown-content-type internal MIME type if we don't *know* what the type is. It's now truly up to the app to figure out what to do" 1999-12-07 06:59:25 +00:00
valeski%netscape.com 2988398b46 nsJARProtocol.cpp 1999-12-07 06:58:55 +00:00
sfraser%netscape.com 1c1ea70b42 Add DBM to the project. r=fur 1999-12-07 06:48:22 +00:00
sfraser%netscape.com 11bbeee76c First Checked In. 1999-12-07 06:43:19 +00:00
rpotts%netscape.com c41e03ef63 bug #20490 (r=valeski). Fixed problem where OnStopRequest was being fired (incorrectly) on 30x and 40x redirects... 1999-12-07 06:35:55 +00:00
sfraser%netscape.com f63f0d0e73 Changing usage of nsCOMPtr on a non-interface pointer to raw addref-release. r=fur 1999-12-07 06:32:52 +00:00
sfraser%netscape.com d7bec0c5bc Some casts and a .get() so that it compiles on Mac. r=fur 1999-12-07 06:31:14 +00:00
sfraser%netscape.com e72089e1d6 Fixes to build on Mac, where PRInt64 is a struct, and fix a typo. r=fur 1999-12-07 06:29:13 +00:00
sdagley%netscape.com 07e8b3cac6 First Checked In. 1999-12-07 06:05:45 +00:00
fur%netscape.com f084d505e3 + Added cast to help Mac compile
+ Fixed problem in which download-time was not being computed (#8305)
1999-12-07 04:54:05 +00:00
fur%netscape.com 1a5893f09f Christ, forgot the semicolon 1999-12-07 04:49:43 +00:00
fur%netscape.com f9af2987a9 Remove test code 1999-12-07 04:45:44 +00:00
pavlov%netscape.com 78ef5d486d build cache build r=fur 1999-12-07 04:29:26 +00:00
warren%netscape.com 5993e3d66a Swapped res: and resource: protocol schemes so that now nsResProtocolHandler is used by default. r=pavlov 1999-12-07 04:04:21 +00:00
fur%netscape.com f22aeb2ee4 Disabling the cache build on unix until I can get a handle on the problem 1999-12-07 04:00:43 +00:00
fur%netscape.com d76b5dd09c Enable building of cache on unix 1999-12-07 02:39:31 +00:00
fur%netscape.com 2f6776efa2 Add cache tests 1999-12-07 02:32:34 +00:00
fur%netscape.com e8c6079e93 Enable building of cache on Windows 1999-12-07 02:19:56 +00:00
fur%netscape.com a3e4a5596f Landing of CacheIntegration_BRANCH in support of bug #8305 (Implement cache) 1999-12-07 02:07:31 +00:00
fur%netscape.com fd0efb29ca Added cache control flags, in support of Bug #8305 (Implement cache) 1999-12-06 23:31:47 +00:00
rhp%netscape.com 1feb3b1c0a Cleanup printf's 1999-12-06 20:29:27 +00:00
rhp%netscape.com 75c6ab3016 Build bustage fix for picky commercial C++ compilers. Fixes a couple member function prototypes to match their implementation. Contributed by: Tim Rowley <tor@cs.brown.edu> r: rhp 1999-12-06 20:07:06 +00:00
rhp%netscape.com e16eeb9d25 Landing new txt - HTML scanning functionality - Bug 19251 - r: rhp (contributed by Ben Bucksch) 1999-12-06 04:55:54 +00:00
rhp%netscape.com 5c1d1ddd4b Landing new txt to HTML scanning functionality - Bug #: 19251 - r: rhp (contributed by Ben Bucksch) 1999-12-06 04:53:29 +00:00
rhp%netscape.com f9ae380b1e Adding new file - NOT PART OF THE BUILD 1999-12-05 16:56:04 +00:00
warren%netscape.com 6af4802e75 Added buffer size parameters to NewChannel. Allows for optimization of amount of image data consumed. Bug #20408 1999-12-04 10:01:32 +00:00
fur%netscape.com 4f385605be Fix build bustage on Linux 1999-12-03 02:59:37 +00:00
warren%netscape.com b6282abafe Fix for downloaded jar files. Now they appear to work, except we aren't checking the cache to see if they already exist. r=gayatrib 1999-12-03 02:22:48 +00:00
warren%netscape.com 277a68344f Added missing addref. r=gayatrib 1999-12-03 02:22:02 +00:00
fur%netscape.com 4a9b290d72 More infrastructure work in support of bug #8305 (Implement
cache).  Added several nsHTTPResponse methods dealing with
header parsing and manipulation of date-containing header fields.
(None of these methods are yet invoked.)
1999-12-03 01:51:07 +00:00
fur%netscape.com c434d9514d Quash warning 1999-12-03 01:45:22 +00:00
fur%netscape.com 316fe1fcf8 Added missing HTTP header atoms 1999-12-03 01:44:38 +00:00
rpotts%netscape.com ed1cb83b57 bug #13157 (r=valeski). Added support for HTTP/0.9 server responses. This fixes a whole class of bugs where CGI scripts were displaying blank pages because we just ignored the response :-( 1999-12-02 23:09:15 +00:00
valeski%netscape.com 1f8fcf2c95 r=mcafee. 20464. we were crashing when data: urls were accessed. Now we're safe; for the time being that is :) 1999-12-02 22:02:30 +00:00
mscott%netscape.com 91e51cd9f8 oh the horror! We were leaking all channel listeners that ran through the http channel. Fixed the
leak by using a nsCOMPtr.
1999-12-02 09:11:51 +00:00
sfraser%netscape.com 93c0a29f45 Fix the fragment name in both targets to be unique. Again. r=pinkerton. 1999-12-02 04:53:47 +00:00
sfraser%netscape.com ff90394468 Fix the fragment name in both targets to be unique. r=pinkerton. 1999-12-02 04:51:11 +00:00
fur%netscape.com a9a35d34c5 Laying the foundation for the incorporation of caching, by
reorganizing/splitting protocol handler methods, though not yet adding any
new functionality:

    Allow for multiple instances of nsHTTPResponse to be associated
    with the same connection, i.e. so that response headers from the
    cache and response headers from the server can coexist
    simultaneously.  To wit:

        Moved content-length, charset and content-type information
        from nsHTTPChannel into nsHTTPResponse

        Split into separate functions the accumulation of a single line of
        HTTP header data (from the input stream) and the parsing of
        that line.  This permits cached response headers and server
        response headers to be parsed from separate data sources, the
        latter arriving from a nsIBufferInputStream and the former
        retrieved from the cache as a string.

        Moved the newly-created header-parsing methods to
        nsHTTPResponse from nsHTTPResponseListener

    Fixed some bugs in the interaction between AsyncOpen and
    AsyncRead.  It was possible for an OnHeadersAvailable event to be
    triggered *after* the associated OnDataAvailable, rather than the
    other way around.  It was also possible, in a rare case, for
    mOpenObserver->OnStopRequest() to be called without ever having
    called mOpenObserver->OnStartRequest().  I think my changes made
    the logic a bit more foolproof.

    Removed ancient ifdef NSPIPE2
1999-12-02 03:53:28 +00:00
warren%netscape.com 0d72878cfc Fixed bug where file transport would spin if it failed in the nsIFileSystem::Open method. Affected jar protocol. 1999-12-02 02:50:48 +00:00
rpotts%netscape.com 1b0f903b3f (r=valeski) Fix for new bloat (leaking HTTPChannels) that was introduced yesterday 1999-12-01 04:32:58 +00:00
sspitzer%netscape.com f8899d4936 bulletproofing to prevent #20410 1999-12-01 01:26:08 +00:00
mscott%netscape.com df05f7c5cb implement retargeting for SetLoadGroup
r=valeski,rpotts
1999-11-30 22:19:53 +00:00
mscott%netscape.com 1ef3b0359f implement retargeting for SetLoadGroup
r=valeski
1999-11-30 22:19:35 +00:00
valeski%netscape.com 643953578f r=rpotts, 17052. FTP now implements nsIProgressEventSink and sits inbetween the transport's notifications and the consumers. 1999-11-30 15:07:32 +00:00
warren%netscape.com da354ddd80 Fixed bug GetContentType/GetContentLength. 1999-11-30 07:36:14 +00:00
warren%netscape.com 290d065910 Removed util dir from build. 1999-11-30 05:52:41 +00:00
warren%netscape.com fc8a2a4eb2 Added include of nsNetUtil.h to pick up NS_NewSyncStreamListener 1999-11-30 05:32:14 +00:00
warren%netscape.com 2db26922a6 Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms. 1999-11-30 04:50:42 +00:00
warren%netscape.com 2832e2ca92 Changed from no_neckoutil2_branch to remove neckoutil from build. Bug #11159 1999-11-30 04:49:11 +00:00
valeski%netscape.com 4909924e98 r=waterson. 16914. FTP was authentication anonymously even though username and pwd info were suppplied in the url. now it isn't 1999-11-30 04:39:29 +00:00
valeski%netscape.com 7e72cd5bf7 18434. r=rpotts. HTTP now implements OpenInputStream and proxies event sink callbacks between the caller and the transport. 1999-11-30 04:15:27 +00:00
valeski%netscape.com 76719511ea r=waterson. 17647. MIME mapping for file extensions was case sensitive. we now disregard case (this is actually broken, but for 99% of the real world cases we're covered) 1999-11-30 04:07:51 +00:00
mscott%netscape.com 649881fcba Fix xp build breakage by defining rv.
I'm not sure how this compiled on someone's machine =)
1999-11-30 01:12:58 +00:00
dougt%netscape.com f66be6c30c fix for 18078. r=mstoltz,warren 1999-11-30 00:32:43 +00:00
mscott%netscape.com ab7eb32184 modify SetLoadGroup to work with retargeting.
r=rpotts
1999-11-30 00:10:37 +00:00
valeski%netscape.com 70e6082366 comment changes for javadoc 1999-11-29 22:17:11 +00:00
valeski%netscape.com b82de3adef r=warren. the return val from the progress sink was getting in the way of the socket transport state machine, now it's just being ingonored. 1999-11-29 22:16:21 +00:00
sspitzer%netscape.com e17346bdb8 ignore generated files 1999-11-29 21:20:30 +00:00
brendan%mozilla.org b4fef52e82 Whitespace police! 1999-11-28 10:26:53 +00:00
warren%netscape.com 96ec037ac6 Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
shaver%netscape.com b829e11c5a Fix for 18505 (rename nsDeque::Peek to nsDeque::PeekFront) from Sammy Ford
<fuzed@swbell.net>.
1999-11-27 17:47:05 +00:00
rpotts%netscape.com 193521bc26 bug #18651. Explicitly cancel te transport to make it go away even if it is blocked waiting for the consumer to empty the pipe... 1999-11-24 23:51:09 +00:00
waterson%netscape.com f31fcc62c9 Bug 19600. Change content length magical 'unknown-so-read-til-you-puke' value from zero to -1. 1999-11-24 21:44:13 +00:00
valeski%netscape.com 481695b32a r=mscott, premature stream closure cleanup and minor state change to FTP state machine. 1999-11-24 21:08:04 +00:00
valeski%netscape.com 194cef3866 passing a signed int into an unsigned param. now we're not 1999-11-24 21:07:11 +00:00
warren%netscape.com f4ae91832a Added friend _class_ for hpukes. 1999-11-24 20:42:04 +00:00
warren%netscape.com a8eff9eb1f Added nsIInterfaceRequestor.h to keep nsCOMPtr happy. 1999-11-24 08:31:06 +00:00
warren%netscape.com 30deace1d8 Added optimized dependency on netwerk util. 1999-11-24 08:28:08 +00:00
warren%netscape.com 6b84e27c34 Added include for nsCOMPtr. 1999-11-24 07:40:54 +00:00
warren%netscape.com 895216338d Somehow added to wrong directory. Moving. 1999-11-24 07:19:12 +00:00
warren%netscape.com ca701bffec First Checked In. 1999-11-24 07:16:03 +00:00
warren%netscape.com 0d606f1fa6 Added test for res protocol. 1999-11-24 06:30:51 +00:00
warren%netscape.com 6072675c2d Added res and jar protocols. 1999-11-24 06:29:44 +00:00
warren%netscape.com ac4e9c302a First Checked In. 1999-11-24 05:54:31 +00:00
warren%netscape.com 1b5bf54c3e *** empty log message *** 1999-11-24 05:51:32 +00:00
warren%netscape.com 2d07d1ec0a Added nsIHttpEventSink.h 1999-11-24 05:49:38 +00:00
warren%netscape.com c71b5e670b Fix to use the resource url as the original url if an original wasn't supplied. 1999-11-24 04:32:49 +00:00
valeski%netscape.com 48203c3079 18434, r=rpotts. the socket transport now issues OnProgress notifications 1999-11-23 23:53:10 +00:00
valeski%netscape.com 67698d87bd bustage fix. comptr include ordering problem 1999-11-23 23:15:16 +00:00
valeski%netscape.com eed079587d bustage attempt. chasing comptr fun 1999-11-23 23:14:08 +00:00
warren%netscape.com e91b1c3cbe First Checked In. 1999-11-23 23:03:43 +00:00
valeski%netscape.com 74f4362cfb 18434, r=rpotts. HTTP now implements AsyncOpen. AsyncOpen will be used by URI dispatching 1999-11-23 22:23:06 +00:00
valeski%netscape.com 4e939113b6 added files: mozilla/netwerk/protocol/ftp/public/nsPIFTPChannel.idl, removed files: mozilla/netwerk/protocol/ftp/public/nsIFTPChannel.idl 1999-11-23 22:00:54 +00:00
valeski%netscape.com 3fac4106ad 18435,18413. r=warren. Implemented AsyncOpen for FTP, as well as OpenInputStream. FTP no longer implements the stream listener interface 1999-11-23 22:00:18 +00:00
valeski%netscape.com 2483a0d45c r=warren. missing addref in sync streamlistener creator. 1999-11-23 21:41:12 +00:00
valeski%netscape.com 99b014292c 18435, r = warren. changing chars to constants. 1999-11-23 20:55:27 +00:00
waterson%netscape.com d3cae83201 Fix nsNetModuleMgr and nsNetModRegEntry leaks. r=valeski 1999-11-23 20:47:25 +00:00
valeski%netscape.com 5fbbd2c8ba 18435, r=warren. the FTP directory listing stream converter now supports synchronous usage. This allows directory listing streams to be converted when OpenInputStream is called. 1999-11-23 15:13:29 +00:00
andreas.otte%primus-online.de 971895689a Added code to remove trailing spaces in URLs. (Fixes bug 15451)
Some code to add a trailing / in SetDirectory if it is missing. There is no special bug behind this, just a fix for a potential bug.

And a oneliner in ParsePath to deal with params, querys and refs in the right place. Between setting brk and getting to the code that deals with this stuff, there is a ReplaceMess call which can change the position of querys and co. This change avoids that problem.

r=valeski
1999-11-23 14:06:17 +00:00
warren%netscape.com 13fdc55f32 Test case for the res: protocol. 1999-11-23 12:14:58 +00:00
warren%netscape.com ad0a3a73fc Initial checkin of the res: protocol -- replacement for resource: that does symbolic roots, and searching. 1999-11-23 12:13:33 +00:00
warren%netscape.com 71dfb4d846 Pedantic change to macro. 1999-11-23 07:03:04 +00:00
warren%netscape.com 9493f81938 Added code to aggressively clean up file transport on failure. 1999-11-23 07:01:56 +00:00
rpotts%netscape.com a37eb4c71f bug #19303. HTTPHeader entries were leaking... I checked in a modified version of beards patch. 1999-11-22 07:02:44 +00:00
rpotts%netscape.com 8026dca974 bug #15342 and #15560. Refactored the LoadGroup and DocumentLoader... 1999-11-22 05:46:03 +00:00
valeski%netscape.com 3687cfa049 fixing build bustage 1999-11-20 23:23:59 +00:00
valeski%netscape.com 096a415b0e 6144, I'm checking in gagan's code for him as he's gone. r=valeski, r=gagan :). This checkin drops in HTTP authentication caching so you don't get hit w/ multiple auth dialogs when accessing auth requiring sites that have images in their html 1999-11-20 22:11:15 +00:00
sfraser%netscape.com 0ad5eff0a6 Added nsAuthEngine.cpp for valeski 1999-11-20 22:09:56 +00:00
valeski%netscape.com 70b64aebbe not in build. updated auth engine 1999-11-20 21:46:23 +00:00
waterson%netscape.com cbf6dd0ab7 Bug 16797. Allow files to be 'zero' length. r=warren 1999-11-20 07:15:28 +00:00
warren%netscape.com ecca9ba977 Fix for bug that triggers assertion in END_READ state of file transport. 1999-11-20 04:19:20 +00:00
morse%netscape.com 13667e188c Partial fix for bug 18668, unable to login to aka, r=valeski 1999-11-20 04:13:21 +00:00
tbogard%aol.net 3b0705ad68 Spelling fix for bug #16386. 1999-11-20 03:57:34 +00:00
gagan%netscape.com cf4d5767a7 New files first checkin. 1999-11-20 01:34:19 +00:00
duncan%be.com 39169f6482 Fix to behave correctly under BeOS.
r=warren
1999-11-19 21:58:39 +00:00
fur%netscape.com 2e1ec9c975 Add support for offset argument to FileTransport's OpenOutputChannel() method.
r: fur, yixiong.zou@intel.com
1999-11-19 15:56:24 +00:00
fur%netscape.com 9eb2b7d985 Change IDL to generate identical C++ headers, but with improved scriptability.
r: rpotts
1999-11-19 15:13:00 +00:00
dougt%netscape.com a14b905a11 Fixes: 19167,16801,17282,17682,17690,18616 Yes, this one line fix closes
all of these bugs and has taken 40 some hours to find.  Good night.
1999-11-19 04:11:16 +00:00
valeski%netscape.com 6077a89639 changed the on header notification to actually request the observers of the correct notification. OnHeaders indicates a response has come back, thus those registered for the RESPONSE should get notified, not those registered for the REQUEST 1999-11-19 00:15:42 +00:00
valeski%netscape.com aaa223115e fixing crasher introduced when new Setter*() were dropped in last night. we now set the channel's url member *before* calling the set routines. 1999-11-18 20:51:05 +00:00
valeski%netscape.com 7a63151a46 typo. we need to be allocating the size of the struct, not the pointer to the struct. 1999-11-18 20:05:15 +00:00
mscott%netscape.com 61f7f1b342 remove these obsolete files. 1999-11-18 09:56:39 +00:00
mscott%netscape.com 14e52f7738 Fix clobber unix build. don't build uri dispatcher anymore. 1999-11-18 09:55:44 +00:00
mscott%netscape.com 364f36c2ae remove some obsolete files 1999-11-18 08:15:39 +00:00
mscott%netscape.com ab03db9585 Remove some obsolete idl files from the unix build. 1999-11-18 08:13:15 +00:00
warren%netscape.com 59ef7fadbf Removed the nsICapabilities interface in favor of nsIInterfaceRequestor. 1999-11-18 07:36:41 +00:00
valeski%netscape.com 6e90418e7e updated urltest.cpp to use the new Resolve code 1999-11-18 06:19:01 +00:00
warren%netscape.com e9e854fcac Added nsIJARProtocolHandler.idl 1999-11-18 02:54:05 +00:00
warren%netscape.com 34ecf73507 Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott 1999-11-17 08:14:52 +00:00
jdunn%netscape.com e871be6de2 Fixing all unresolved symbols on unix. The bug has the diff's
r dp@netscape.com (ramiro helped me with it)
# 18688
1999-11-16 06:02:31 +00:00
warren%netscape.com e126986a82 Fix socket transport deadlock (affecting imap thread). Bug #18201 and regression bug 14612. r=rpotts 1999-11-16 01:25:46 +00:00
valeski%netscape.com d4e3f86975 another shot at vc5 bustage 1999-11-13 03:17:54 +00:00
valeski%netscape.com cda947cd7a another shot at 5.0 bustage 1999-11-13 03:07:01 +00:00
valeski%netscape.com 947c2a030a fixing bustage for win32 vc5 1999-11-13 01:56:02 +00:00
valeski%netscape.com b7d25b0205 fixing win32 vc5 bustage 1999-11-13 01:48:17 +00:00
valeski%netscape.com d16733f10b 18725, r=sdagley. FTP is now cancellable.
* added new state to FTP. data channel reading state.

* the FTP channel's SetConnectionQueue now handles a null arg and resets it's eventq if null is passed in.
1999-11-13 00:31:36 +00:00
warren%netscape.com 7f04320416 Added NS_NewGenericModule. Made NS_IMPL_NSGETFACTORY use it to save space. r=dp,alecf 1999-11-12 09:07:26 +00:00
warren%netscape.com 1c16cc0c44 Added neckoutil_s.lib 1999-11-12 08:58:32 +00:00
warren%netscape.com 61656725bd Added idl files 1999-11-12 08:57:52 +00:00
warren%netscape.com 4a274d01f1 Libjar cleanup. Added Close method. Bug#18273. r=mstoltz,gayatrib,dveditz 1999-11-12 06:13:13 +00:00
warren%netscape.com 1dec9a5ab3 Added 1999-11-12 05:58:46 +00:00
valeski%netscape.com 741d2f7369 FTP no longer sets the port on a URI. If no port is set on a URI, FTP will use the default (21) at connection time. 1999-11-12 01:26:20 +00:00
valeski%netscape.com a1d602c174 fixes bugzilla problem. added improved LF CRLF LFLF handling. 1999-11-11 22:40:08 +00:00
warren%netscape.com fb7ad57ff3 Added 1999-11-11 05:21:38 +00:00
valeski%netscape.com 6150abfbb5 hooking up keyword prefs so we check for them 1999-11-11 02:18:02 +00:00
valeski%netscape.com 9fed6b2933 18419. *removed nsIFTPContext and associated impl of it. we no longer pass this context between the FTP thread and the channel thread, we use nsISupports proxies to move back and forth.*added SetcontentLength() method to nsIFTPChannel so we can move the content length from the FTP thread to the channel thread. nsFTPChannel impls this meth now.*made a couple FTP channel logging changes for better description*nsCOMPtrized a bit*added nsFTPChannel to load group when avail (this starts/stops the throbber for url bar loaded ftp urls.*the FTP protocl handler (a service) is now an observer of XPCOM shutdown. this allows the handler to join w/ all the threads it has created (that are still running) if we try and shutdown the main thread whill ftp is still running. 1999-11-11 02:14:23 +00:00
valeski%netscape.com 4e3281f9e6 *** empty log message *** 1999-11-11 02:13:44 +00:00
valeski%netscape.com da1276fb98 removed files: mozilla/netwerk/protocol/ftp/public/nsIFTPContext.idl 1999-11-11 02:11:50 +00:00
valeski%netscape.com 7cc35fcae3 18419. 1999-11-11 02:09:07 +00:00
valeski%netscape.com dde5dae6b7 16256, nscomprtizing 1999-11-11 00:39:21 +00:00
valeski%netscape.com 313da28e27 16256. nsCOMptrizing 1999-11-11 00:38:16 +00:00
valeski%netscape.com 405d84eeb1 16256, r=gagan. the nsinputstreamchannel was lowercasing the entire contenttype. we don't want to lower case the contenttype attribs 1999-11-11 00:37:18 +00:00
valeski%netscape.com 497885da1d 16256, r=morse. Large bugzilla queries were bleeding http headers into the html displayed. 1999-11-11 00:34:01 +00:00
valeski%netscape.com 4130b8bf80 16485, y2k DOS FTP server date parsing problem (we're now compensating for lacking two digit dos date years 1999-11-11 00:28:30 +00:00
sspitzer%netscape.com 55a14aa16e ignore generated Makefiles 1999-11-11 00:08:20 +00:00
morse%netscape.com 8b606c4d99 fix bug 65552, integrating ftp authentication with single signon, r=valeski 1999-11-10 03:39:33 +00:00
sspitzer%netscape.com 2f06de9705 fix warnings. r=valeski. 1999-11-10 00:10:59 +00:00
cls%seawood.org dcb3aa39d9 Replaced NO_SECURITY ifdef with MOZ_SECURITY one. This causes pref_VerifyLockFile to always return PR_TRUE rather than linking against the dummy secfree library. This replacement also removed the last dependency upon that dummy library so it will no longer be built (next patch). 1999-11-09 23:13:53 +00:00
valeski%netscape.com e70792af1e 18134, a=chofmann,r=andreas. Resolve() was not handling ../../ cases in relative URI specs. Now it is. We call ReplaceDotMess() on the path portion _only_. 1999-11-09 21:31:43 +00:00
scc%netscape.com 5d8c1c00fe was using private |#defines| (in spite of the warning) from "nsCOMPtr.h" that happened to go away with this checkin. Should have been using |NS_STATIC_CAST| from "nscore.h". r={danm, hyatt} 1999-11-08 11:43:09 +00:00
warren%netscape.com 8fe0bb36a6 Got Gayatri's JAR protocol working. (not in build yet) 1999-11-07 21:55:12 +00:00
dmose%mozilla.org 5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
rpotts%netscape.com 7d63cbc945 bug #7428. Added support for connection timeout. Now if a connection cannot be made within 35 seconds, the transport times out. 1999-11-06 01:32:34 +00:00
fur%netscape.com 28ad514473 Checkpoint 1999-11-05 21:58:37 +00:00
rpotts%netscape.com ee19ba5eca bug #17500 (r=warren). Added code to fire an OnStopNotification to the parent load group if an active group is canceled. 1999-11-05 20:51:11 +00:00
valeski%netscape.com 14e25a91af 10736, r=andreas.otte@primus-online.de. Actually I'm more like the reviewer here. Andreas submitted this optimization to MakeAbsolute (it uses minimal memory routines and minimal parsing. this means performance increase by a factor of 10 for this method). I'm checking it in for him. 1999-11-04 20:31:36 +00:00
gagan%netscape.com c80556169a Last of the leftover files... that didn't include the API change. 1999-11-03 09:33:03 +00:00
gagan%netscape.com deb5334e6c Removed an extra free that cvs merge put in! 1999-11-03 08:21:37 +00:00
gagan%netscape.com 70a39da830 Argh... speed kills. Removed this conflict that I accidently checked in. 1999-11-03 08:19:54 +00:00
gagan%netscape.com ed922a4f57 Fixes 11708,15477 and partial 14610. r=warren. We now pass a print host for displaying in status messages that is different than the hostname connecting to. Also added Keep-Alive support (turned on by user_pref("network.http.keep-alive",1))We also honor the "network.proxy.type" preference to turn the proxy use on and off. 1999-11-03 08:17:59 +00:00
gagan%netscape.com 36231763c1 Fixes 11708,15477 and partial 14610. r=warren. We now pass a print host for displaying in status messages that is different than the hostname connecting to. Also added Keep-Alive support (turned on by user_pref("network.http.keep-alive",1)) 1999-11-03 08:14:38 +00:00
gagan%netscape.com d0215584ef *** empty log message *** 1999-11-03 08:12:18 +00:00
gagan%netscape.com ec4f880416 Added printHost parameter for use in status messages in cases where printHost is different than the connecting host (as in the case of proxies) Fixes bug 11708. r=warren. 1999-11-03 08:11:39 +00:00
davidm%netscape.com 533c933f45 6552 Browser-generated forms not triggering single-signon switch to use nsINetPrompt so that single sign lives again r morse 1999-11-03 05:24:01 +00:00
davidm%netscape.com 62deeea345 6552 Browser-generated forms not triggering single-signon add nsINetPrompt for single sign on r morse 1999-11-03 05:21:49 +00:00
davidm%netscape.com d79c14b388 First Checked In. 1999-11-03 05:19:39 +00:00
warren%netscape.com d3b9c9c3cc Structural changes for MakeAbsolute performance. bug#10736 r=valeski 1999-11-03 05:13:44 +00:00
warren%netscape.com 424eae7fa3 Made nsIInputStreamChannel scriptable and constructable from component manager. bug#15294 1999-11-03 05:09:20 +00:00
warren%netscape.com cfa80dbbe7 Fixed more bustage from gordon's checking -- missing vtable symbols for nsDNSRequest's (unused) nsIRequest interface. 1999-11-03 04:57:34 +00:00
gagan%netscape.com d4b03d1a83 Added file. Not in the build. Some utility code for color console messages on Unix. Using this is simple- Declare PRINTF_FOO in the scope of your printf statements where FOO is one of the colors in (YELLOW, RED, CYAN, BLUE, MAGENTA, GREEN) and any printfs in that scope will print in color. You may also start and stop colors by using STARTF00 and ENDCOLOR. So you can try something like printf(STARTRED "Red " STARTBLUE "Blue" ENDCOLOR); 1999-11-03 03:43:13 +00:00
gordon%netscape.com dce74fed98 Fix more of my bustage: pass clientContext parameter back on callbacks from nsDNSService::Lookup(). r=warren. 1999-11-03 02:42:52 +00:00
warren%netscape.com b385f6f36f Fixed Gordon's wackage. 1999-11-03 02:18:00 +00:00
gordon%netscape.com 67c770c6b8 Basic Mac implementation of async DNS. r=warren, patrick; part of bug:10731. 1999-11-03 01:24:51 +00:00
cls%seawood.org bee74e223b Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
valeski%netscape.com 9f26a5bfba r=cyeh, forcing PR_LOGGING for ftp in release builds 1999-11-02 23:24:06 +00:00
rpotts%netscape.com 4667ff7441 bug #3469 (r=warren). Fixing nsLoadGroup::Cancel() to call cancel on all active transports and subgroups... 1999-11-02 08:00:07 +00:00
warren%netscape.com 9aeb8f663b Made nsHTTPEncodeStream seekable (for reposting form data). Bug #17685. r=waterson 1999-11-02 07:43:37 +00:00
warren%netscape.com 332749d6fa Made nsIUnicharStreamLoader be scriptable and deal with an xpcom observer instead of a proc pointer and void*. Part of bug#11159. r=nisheeth,kipp,pierre 1999-11-02 06:49:44 +00:00
warren%netscape.com 29db97eb7f Removed dependence on neckoutil functions. Part of bug#11159. Not in the build yet. 1999-11-02 05:31:56 +00:00
valeski%netscape.com f0edbb0a62 11869, r=warren. passing the http spec all the way into http rather than passing a simple uri into the service newChannel(). 1999-11-02 05:05:44 +00:00
valeski%netscape.com b7021722f9 16910, r=mcafee. FTP now uses thread pools. it also provides some status to the webshell. and it no longer uses the server's defualt path. 1999-11-02 04:04:23 +00:00
valeski%netscape.com eab20fe1b3 11869, r=mcafee. adding keyword protocol handler to the build. mac still needs to be hooked up. 1999-11-02 04:01:35 +00:00
mcafee%netscape.com 6a583bd16a NECKO=1 is on by default now. this was removed from the Makefile name-space this past weekend and needs to be removed here. Adding necko directories by default, removing netwerk/makefiles. Adding netwerk/protocols/keyword/Makefiles for valeski. r=slamm. 1999-11-02 01:54:54 +00:00
dp%netscape.com 3c76a86c02 Changing use of NS_WITH_SERVICE() as GetService() to GetService(). r=warren 1999-11-02 01:40:46 +00:00
dp%netscape.com b881f6543b Changing misuse of NS_WITH_SERVICE() to GetService(). r=warren 1999-11-02 01:40:14 +00:00
valeski%netscape.com 963d87f8da not in build. updating keyword protocol handler to use new api. 1999-11-01 23:33:05 +00:00
dp%netscape.com 45efd8fe95 Removing extra release happening on a service. NS_WITH_SERVICE() will
take care of this release.
1999-11-01 21:57:14 +00:00
mscott%netscape.com 2b8c759d6e Don't build new uri idl interfaces in netwerk. they've been moved to uriloader. 1999-11-01 21:49:55 +00:00
mscott%netscape.com e31bab7aae remove these uri dispatching interfaces from netwerk.
they live in uriloader now.
1999-11-01 21:47:26 +00:00
mscott%netscape.com 542a5aef6c none of these interfaces were being used yet.
they've been moved into mozilla\uriloader.
1999-11-01 21:45:29 +00:00
tbogard%aol.net 10ded258a5 Changed NS_ENSURE_NOT to NS_ENSURE_FALSE to reflect API change. r=hyatt 1999-11-01 21:43:56 +00:00
warren%netscape.com 501fc9ffdf Eliminating netwerk/util 1999-11-01 20:48:12 +00:00
rpotts%netscape.com 849b3d2a71 bug #16418 (r=warren,gagan). When redirecting a URL only copy the Ref to the new URL (not the Param and Query). 1999-11-01 06:00:55 +00:00
danm%netscape.com 4078ce0970 insert cast necessary on one of the "other" platforms 1999-10-30 03:13:55 +00:00
valeski%netscape.com 06df69b960 warning fixes, again :( 1999-10-29 23:35:06 +00:00
valeski%netscape.com 1c925b169b 17521, r = mscott. FTP authentication dialogs we're looping if canceled. I also changed a bunch of string getter routines to take XPIDLCStrings. there was speculation during the reveiw that there might be some casting problems on other platforms. if this is the case either case the XPIDLCString to (const char *) or call me and I'll do it. 1999-10-29 23:00:52 +00:00
rpotts%netscape.com dc45cb6d2a Fixed crash during error condition in END_WRITE... (r=warren) 1999-10-29 22:14:52 +00:00
valeski%netscape.com 1d7ec4c9d0 15590 - build warnings prompted some variable name changes. Also replaced nsVoidArray usage w/ nsCStringArrays. Added some null checks. converted some raw ptrs to com ptrs.
16968 - bugzilla wasn't progress through bug lists via "next" "prev" links. we now set cookie headers from within x-multi-mixed-replace data.
1999-10-29 20:50:06 +00:00
gagan%netscape.com a4cb24fb47 Fixed bug 17393. We were firing an OnStopRequest for redirect's response completion. That messes up imagelib which starts to reset/abort streams. r=waterson 1999-10-29 01:55:58 +00:00
mscott%netscape.com 6af3315e9c part of url dispatching framework.
build nsURLDispatcher.cpp
1999-10-28 22:08:57 +00:00
rpotts%netscape.com f85134d446 cleanup - removed unnecessary code checking that mRequest != nsnull. Now the mRequest is allocated at channel construction and the channel is deleted if the request allocation fails... 1999-10-28 21:15:56 +00:00
mscott%netscape.com 3048a14355 Build new uri dispatching interfaces on the Mac. 1999-10-28 20:38:16 +00:00
mscott%netscape.com 703d5c5c76 export uri dispatching interfaces. 1999-10-28 20:37:58 +00:00
sspitzer%netscape.com f0ee5969fe fix warnings. r=valeski 1999-10-28 20:25:43 +00:00
valeski%netscape.com 4bd531e836 16968, r=gagan. Changed the way HTTP header notification occurs. now the channel does the notification. Also added SetREsponseHeaders() to the nsIHTTPChannel iface which allows outside users to add response headers (such as nsMultiMIMEConv/bugzilla) and have the new headers perculate to observers. also fixed HTTP handler leak, r=dp on that one. 1999-10-28 20:12:59 +00:00
warren%netscape.com d3269bc410 Changed file transport to facilitate jar: protocol -- parameterized by nsIFileSystem. Bug#12579 r=gagan,gayatrib 1999-10-28 08:02:07 +00:00
mscott%netscape.com 06fc9aaccf part of url dispatching.
export the uri dispatching interfaces.
no reviewer for this makefile change.
1999-10-28 02:05:12 +00:00
rpotts%netscape.com 6e6993d4df bug #13054. r=mscott,warren. Reworked how data is written to the network. I consolidated the writing of nsIBufferInputStreams and nsIInputStreams and limited the amount of data being wrtten at once to MAX_IO_TRANSFER_SIZE... 1999-10-27 06:51:12 +00:00
mscott%netscape.com 00427af57f Bug #14928 --> url dispatching. Adding initial scaffolding for the uri dispatcher service.
(not part of the build yet)
1999-10-27 06:49:42 +00:00
rpotts%netscape.com cba431eac3 bug #16897. Consolidated the firing of OnStopRequest into the nsHTTPChannel. This is also called if a transport fails to be created... 1999-10-27 06:48:53 +00:00
rpotts%netscape.com 4ae67e1366 These are pollmanns changes for bug #8209 and other related POSTing bugs r=rpotts 1999-10-27 06:35:03 +00:00
gagan%netscape.com b98eb078bf Fixed bugs 11677 (perf) 13837 (spaces) 14380 (leading spaces) 14707 (-1) 15069 (file://) r=valeski 1999-10-26 23:16:34 +00:00
valeski%netscape.com c747ced3c1 fixing bustage 1999-10-26 22:07:50 +00:00
valeski%netscape.com e6e2c9e39f 17270, r=dougt@netscape.com. These changes move FTP from interface pointers to COMptrs. There is also a variable name change, mUrl -> mURL. Also some extraneous pipe code has been removed. 1999-10-26 20:55:50 +00:00
mscott%netscape.com 7038d579bb Bug #14928 -- > url dispatching. Change DoContent to return a stream listener instead of
a nsIContentViewer.
r=travis
1999-10-26 20:35:21 +00:00
warren%netscape.com f50d3df7c0 Added nsIChannel::GetOriginalURI so that we can get back to the original chrome file (bug#17144). r=rpotts,mscott 1999-10-26 09:16:24 +00:00
mscott%netscape.com f7caaf4fb9 Bug #14928 --> url dispatching. convert nsIContentHandler.idl, nsIURIDispatcher.idl and nsIContentListener.idl
into .h files.
no reviewer yet. the code review for url dispatching will come later.
1999-10-26 07:11:44 +00:00
mscott%netscape.com 82a471ddd8 Bug #14928 --> first pass at several key interfaces for url dispatching.
Not part of the build and no reviewer yet. The review will come later on when we review url dispatching
1999-10-26 07:10:27 +00:00
rpotts%netscape.com 559cc27b79 Cleanup - changed setter/getter methods to an attribute. 1999-10-26 04:49:56 +00:00
rpotts%netscape.com 573c915774 Added CancelPendingChannel(...) which allows a nsHTTPChannel to remove itself from the list of pending requests if it is cancelled... This was causing a leak :-( 1999-10-26 04:49:23 +00:00
rpotts%netscape.com 5a4bbbd3b8 Cleanup - Moved the PostData stream from the nsHTTPChannel to the nsHTTPRequest... The PostStream is now released once the request has been sent to the server since it is no longer useful. Fixed up Cancel to remove the channel from the list of pending requests if necessary. 1999-10-26 04:48:26 +00:00
rpotts%netscape.com 8603fffaf1 Cleanup - Removed NSPIPE2 ifdefs. Fixed up the nsHTTPResponse constructor which no longer takes a nsIInputStream. 1999-10-26 04:45:03 +00:00
rpotts%netscape.com d86d3a6c06 Cleanup - Removed unused methods and members. Changed char* member to nsCString 1999-10-26 04:43:19 +00:00
dougt%netscape.com ce7f0ed109 Change net module notification to make proxies lazy. r=dveditz, mozbot.
This reduces memory overhead.
1999-10-25 22:31:59 +00:00
gagan%netscape.com 834fa26854 Added profiling info for measuring performance when doing -all. Test case only. 1999-10-25 02:22:30 +00:00
gagan%netscape.com 91fa3a6003 Fixed bug 15963. Host: headers were not including port numbers. r=mozbot,a=self. (/msg mozbot do these diffs look ok to you? Should I continue with my checkin? <CR> mozbot: That is interesting. Please continue. ) 1999-10-24 22:20:52 +00:00
rpotts%netscape.com 5b6eec640d Backing out the fix for bug #15560. This fixes the editor regression - bug #16937 1999-10-24 07:26:54 +00:00
warren%netscape.com 8558ad745c Cleaned up nsTraceRefcnt environment variables. r=kipp,beard 1999-10-23 03:16:19 +00:00
gagan%netscape.com eaeac236aa Post requests are now only read upto the specified amount. Not in the build. 1999-10-23 00:47:24 +00:00
gagan%netscape.com ba623d2c25 a dummy post request file for testing post requests in HTTP. not in the build. 1999-10-22 21:27:38 +00:00
gagan%netscape.com 85092ee7c1 Added /post test as well. Not in the build. 1999-10-22 21:24:57 +00:00
gagan%netscape.com a9a5c1c9d2 Added stuff to the test server to handle post requests as well. Not in the build. 1999-10-22 21:21:30 +00:00
rpotts%netscape.com ea0ac2fecc Fix build bustage on platforms that require full infor for nsCOMPtrs... 1999-10-22 05:56:19 +00:00
rpotts%netscape.com b4a25275f3 bug #13054 (r=warren,gagan). Reworked the way requests are sent to the server. Now requests can be of an arbitrary size... 1999-10-22 05:13:01 +00:00
valeski%netscape.com f5adfb90de fixing build warning 1999-10-22 04:56:24 +00:00
valeski%netscape.com fda2741ac6 removing last reference to nsFtpStreamListenerEvent.h. Actually it was a commented out line. 1999-10-22 04:33:19 +00:00
valeski%netscape.com 2f1f0a6e95 *** empty log message *** 1999-10-22 04:32:18 +00:00
sfraser%netscape.com d4f5e018cc Fixing Mac FTP projects for valeski 1999-10-22 04:24:08 +00:00
valeski%netscape.com ecf2cd252d *** empty log message *** 1999-10-22 04:22:54 +00:00
valeski%netscape.com e40999dd81 adding connection cache interface 1999-10-22 04:11:12 +00:00
valeski%netscape.com 3a4a5695b4 14659, r=dougt. FTP now uses xpcom proxies to send stream listener notifications back to the channel thread. it also uses them to access connections from the protocol handler cache. 1999-10-22 04:10:46 +00:00
dp%netscape.com 7092bc9ea1 Fixed warning of unused variable. 1999-10-22 01:02:29 +00:00
valeski%netscape.com 42fee2aeb2 14659, r=gagan&warren&dougt
Misc. FTP changes:
*increased FTP buffer read/write size from 4k to 8k.
*removed un-needed (for now) SetPASV() for FTP connection thread
*string optimizations
*FTP Connection thread now uses the NS_IMPL_ISUPPORTS4 macro for addref, rel, and QI methods.
*connection cache key api consolidation (Get()/Remove() combo turned into Remove(key)).

Authentication dialog changes:
*Authentication dialog now includes host name the user is trying to connect to.

nsIRequest support:
*FTP Connection thread now maintains a member variable pointing to it's event queue. It also pumps the event queue in the main loop.
*FTP Connection thread now implemented the nsIRequest interface (never called directly; only via the nsFTPChannel api)
*FTP Channel now uses an xpcom proxy object to make the nsIRequest api calls on the FTP Connection thread.

FTP protocol interpretation changes:
*FTP now handles servers that send multi-line greetings in the first Read() (we blocked indefinately before)
*FTP now parses the parent working directory properly (used to always treat it as '/')
1999-10-19 22:37:47 +00:00
rpotts%netscape.com 5d9dde0e60 bug #15560. Changed the LoadGroup to fire notifications via PLEvents to stop reenterency. 1999-10-19 19:36:07 +00:00
bienvenu%netscape.com 08c624a0ca fix ref count logging on nsMimeImpl r=warren 1999-10-19 14:50:09 +00:00
dougt%netscape.com 34e52378d1 Fix for 16700. Isolating CreateTransport into new function.
r=gagan.
1999-10-18 19:43:34 +00:00
danm%netscape.com 1228f0c794 adding PR_LOGging to event queue handling. r:hyatt@netscape.com 1999-10-18 15:09:50 +00:00
bienvenu%netscape.com 387b68dd20 fix memory leak of registry location r=warren 1999-10-15 23:45:45 +00:00
gagan%netscape.com ce3168b8a9 Added "resolving host" status notification for eSocketState_Created. No bug number. r=law. 1999-10-15 22:47:24 +00:00
fur%netscape.com d372095c34 Initial version of net data cache APIs 1999-10-15 00:46:41 +00:00
morse%netscape.com d119af7584 fix bug 10434, memory leak detection, r=valeski 1999-10-14 13:36:33 +00:00
beard%netscape.com 67ade3a167 added support for "about:bloat?leaks". bug=15906,r=warren 1999-10-14 01:56:49 +00:00
gagan%netscape.com 5b9f510ea1 Fix the windows build bustage. Bad checkin on my part! 1999-10-13 11:09:37 +00:00
gagan%netscape.com 02366e93bc Removing an #if 0 block that got checked in accidently with my last checkins. 1999-10-13 10:31:16 +00:00
gagan%netscape.com f1203c259d Fix for bug # 10333. Made webshell a progress event sink as well so that now it redirects all progress messages from necko land to the appropriate docloader observer. The hack to delete strings which are being received in the status messages is a work around the current limitation of the proxy event code. When bug # 16273 is fixed that delete wont be necessary. In fixing this I also noticed that the nsFileTransport wasn't using the proxy events and was incorrectly firing status messages directly onto the UI thread. Fixed that as well. r=rpotts,warren 1999-10-13 10:24:12 +00:00
warren%netscape.com c3c7245ed5 Added about:bloat 1999-10-12 09:35:22 +00:00
warren%netscape.com cfb796e4d7 added files: mozilla/netwerk/protocol/about/src/nsAboutBloat.cpp 1999-10-12 09:32:18 +00:00
warren%netscape.com 3ac26e9e98 removed files: mozilla/netwerk/protocol/about/src/nsAboutBloat.cpp 1999-10-12 09:26:38 +00:00
warren%netscape.com 407e7aa732 added files: mozilla/netwerk/protocol/about/src/nsAboutBloat.cpp 1999-10-12 09:25:14 +00:00
warren%netscape.com 2d18e3d9b5 Added about:bloat handler. 1999-10-12 09:20:25 +00:00
sfraser%netscape.com d2195dcdcd Fix for bug 16151; make the file transport working thread stack size 64k, instead of 8k. Fixes crashes on startup on Mac. r=beard 1999-10-12 05:39:18 +00:00
waterson%netscape.com bdfcaec321 Bug 16105. (Bugsplat 366256.) Ensure that nsISupports::Release() calls dtor only once by 'stabilizing' refcnt to a non-zero value before invoking the dtor. See also news://news.mozilla.org/37FD0F3C.3078AE5C%40netscape.com. r=scc,fur 1999-10-12 03:05:10 +00:00
waterson%netscape.com 8241422540 Bug 16105. (Bugsplat 366256.) Ensure that nsISupports::Release() calls dtor only once by 'stabilizing' refcnt to a non-zero value before invoking the dtor. See also news://news.mozilla.org/37FD0F3C.3078AE5C%40netscape.com. r=scc,fur 1999-10-12 02:10:08 +00:00
warren%netscape.com 641f3b5442 Lowercased idl method names for scriptability. Cleaned up nsIURL interface. 1999-10-12 01:39:37 +00:00
dveditz%netscape.com ff01d5e8f4 Fixing 8.3 library name problems, bugs 10355, 10359,10364, 10365, 10372, 11796, 11791. Checking in for cathleen, r=dveditz 1999-10-10 01:32:59 +00:00
beard%netscape.com 0239d763d8 nsFileSpec.GetLeafName() allocates a string, fix leak. r=warren, bug=15380 1999-10-09 02:52:46 +00:00
valeski%netscape.com 7674a4e0db not in build. test app for makeabsolute performance 1999-10-07 21:43:49 +00:00
warren%netscape.com d36664f952 Fixed warnings. 1999-10-07 04:10:12 +00:00
gagan%netscape.com 38b76fb99f Partial checkins for fixing bug # 10333. Added the nsIStatusCodeEventSink for conveying status codes to the UI thread from the socket ones. r=mscott,a=don 1999-10-06 20:50:12 +00:00
gagan%netscape.com a3cde5bf1a added files: mozilla/netwerk/base/public/nsIStatusCodeEventSink.idl 1999-10-06 20:44:23 +00:00
mscott%netscape.com 157e5f2f6e No Bug #.......removing an obsolete file that isn't part of the build
r=valeski
1999-10-06 20:21:35 +00:00
valeski%netscape.com 43edbee475 r=warren, 15457. Added file extension attribute to URL implementations 1999-10-06 14:36:22 +00:00
warren%netscape.com 2c0e5cdc00 Updating xpcom registry usage as per edburns@acm.org and dp's suggestions. 1999-10-06 09:57:50 +00:00
warren%netscape.com 6bf20c1230 Fixed nsCOMPtr bustage. 1999-10-06 09:03:43 +00:00
warren%netscape.com 1df0904cc1 Fixed build warnings. 1999-10-06 08:51:48 +00:00
warren%netscape.com 8603974025 Added AsyncOpen to nsIChannel for URL dispatching. Added ContentLength to InputStreamChannel. (r=rpotts,valeski) 1999-10-06 08:26:01 +00:00
warren%netscape.com 4cf8a945d1 added files: mozilla/netwerk/base/public/nsIFileSystem.idl 1999-10-06 08:16:48 +00:00
gagan%netscape.com 69ba56eaff An event sink to transfer status codes to a consumer of necko.
This is not in the build as yet.
1999-10-06 07:49:32 +00:00
warren%netscape.com 4e3e38be06 Added nsIFileSystem interface for new file transport implementation. 1999-10-06 07:27:22 +00:00
mscott%netscape.com f66303b2e9 Bug #000 (no bug needed). Remove nsIStreamConverter2.idl. r=valeski 1999-10-06 03:27:55 +00:00
mscott%netscape.com 7943c66745 Bug #0000 (no bug # needed) remove nsIStreamConverter2.idl r=valeski 1999-10-06 03:27:15 +00:00
mscott%netscape.com 1dd1fb17b2 bug #000 (no bug # needed). removing obsolete file from the build
nsIStreamconverter2.idl
r=valeski
1999-10-06 03:21:44 +00:00
mscott%netscape.com 51134f93b3 Bug #000 (no bug number needed) remove an obsolete file from the build (nsIStreamConverter2.idl)
r=valeski
1999-10-06 03:20:39 +00:00
valeski%netscape.com 0d56bd309b r=sdagley, 15654 was deleting a void * which is a no-no on hp. 1999-10-06 02:54:49 +00:00
sfraser%netscape.com 0bcd8986cc Fix the file creator code so that the library gets the nice pretty icon. r=sdagley 1999-10-06 02:38:35 +00:00
mscott%netscape.com adddfe7cec Bug #0000 (no bug number necessary). remove old STREAM_CONVERTER_HACK #ifdef code because we no longer need this.
This was the hack we used before we had a stream converter service to load rfc822 data into a webshell and get it
converted to html.
r=warren
1999-10-05 20:54:03 +00:00
rpotts%netscape.com 1dd0ecd453 Added a missing lock to nsSocketTransport::OnFull... reviewed by warren. 1999-10-05 08:41:37 +00:00
dp%netscape.com a46d351a91 Fixed build bustage caused by undefined min() 1999-10-05 06:28:17 +00:00
rpotts%netscape.com 94023176e2 Fixed up broken test case while investigating bug #14181... 1999-10-05 05:02:56 +00:00
valeski%netscape.com 12bba9e092 NOT part of the build. 1999-10-04 23:13:11 +00:00
valeski%netscape.com 7ffe53f79f NOT part of the build. 1999-10-04 23:12:02 +00:00
valeski%netscape.com 3c9e0c4585 adding keyword protocol handler to tree. this code is NOT in the build yet. 1999-10-04 16:34:45 +00:00
beard%netscape.com 9eae33066d changed from directly using "MSL DropInRuntime.Lib" to using "NSComponentStartup.o" to enable GC leak detector. r=smfr 1999-10-03 20:46:23 +00:00
beard%netscape.com 01f6019676 changed from directly using "MSL ShLibRuntime.Lib" to using "NSLibraryStartup.o" to enable GC leak detector. r=smfr 1999-10-03 20:37:53 +00:00
rjc%netscape.com 38e1d06d8d Bug # 14034: Convert to nsIModule to prepare for memory leak fixing. Review: dp@netscape.com 1999-10-02 00:48:02 +00:00
gagan%netscape.com caad83220b Fix for 14772. r-rjc/a-self. Removed the pragma no-cache header being sent to proxy requests. 1999-10-02 00:43:10 +00:00
valeski%netscape.com 57515c5355 15300 r=warren. Changed NS_NewThread api to default to PR_UNJOINABLE_THREAD, also added new NS_NewThread() function so you don't have to combine the runnable w/ thread creation. added threads to xpcom init so you can create them w/ the com mgr. 15298 r=gagan, FTP threads are now synched w/ ftp handler shutdown, removed extraneous buffer work, added ftp authentication, and ftp channel content length 1999-10-01 23:32:12 +00:00
dougt%netscape.com 38f4e29eb0 adding hostname to socket provider. (r) warren. 1999-10-01 23:23:49 +00:00
fur%netscape.com 4bb28b8cda Updated API 1999-10-01 21:30:53 +00:00
valeski%netscape.com e0f2c7fad2 15296 r=gagan. Added .txt extension to the MIME type extension resolver. 1999-10-01 20:25:38 +00:00