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

1547 Коммитов

Автор SHA1 Сообщение Дата
rpotts%netscape.com acf38415c7 Fix build bustage when mailnews is not part of the build... Duplicated some mime defines from nsMimeTypes.h :-( 2000-01-10 04:07:55 +00:00
duncan%be.com 6db56b6d39 Fix BeOS build by making changing nsResProtocolHandler.cpp like
Windows and Mac, and fix a couple nsSpecialSystemDirectory bugs.
All the changes are BeOS specific (i.e. wrapped in XP_BEOS or
only used by code wrapped in XP_BEOS).
r=mcafee
2000-01-08 09:09:02 +00:00
rpotts%netscape.com ab76656780 Added the unknown content stream decoder... 2000-01-08 06:26:13 +00:00
rpotts%netscape.com 3e79b2aec1 Made contentType a read/write attribute of nsIChannel 2000-01-08 06:26:04 +00:00
rpotts%netscape.com a3f0bf723e stream decoder for determining content-type by sniffing the incoming data... 2000-01-08 06:17:40 +00:00
valeski%netscape.com e6e1c5391c added files: mozilla/netwerk/protocol/keyword/src/nsKeywordModule.cpp, removed files: mozilla/netwerk/protocol/keyword/src/nsKeywordProtocolFactory.cpp 2000-01-08 00:58:31 +00:00
valeski%netscape.com 70d4639fd6 converting keyword protocol handler over to new module macros. r=dp. 23211 2000-01-08 00:58:05 +00:00
valeski%netscape.com dd28d87caa fixing build bustage on unix 2000-01-08 00:36:47 +00:00
gordon%netscape.com 9a3d70a51e Fixing dns breakage of ftp. The async dns case wasn't resolving network addresses, only hostnames. r = Valeski. 2000-01-07 23:55:54 +00:00
waterson%netscape.com 1035ff4557 Be sure to zero WNDCLASS struct: failure to do so causes funkiness in non-debug builds. r=gordon. 2000-01-07 23:48:37 +00:00
gordon%netscape.com ecdccaa3cc Fixing bustage. Necko needs WIN32LEAN_AND_MEAN defined. 2000-01-07 04:13:26 +00:00
gordon%netscape.com e8e99c8b44 Implementation for ascyn dns lookups on Windows. Bug #10732, r=Warren. 2000-01-07 02:44:41 +00:00
warren%netscape.com 48dbf55333 Cleanup 2000-01-07 02:06:57 +00:00
warren%netscape.com 71610449e1 Took out RemoveChannel call (because res channels never get added to group). Fixed binding aborted case. r=rpotts 2000-01-07 02:06:33 +00:00
jdunn%netscape.com 148c3bc4cc Move the Class definition for CacheInfo from the CPP file to the header.
While this is valid C++, the AIX 3.6 compiler doesn't like it.

r= warren
2000-01-06 20:50:59 +00:00
colin%theblakes.com 52bf7ef9cc Add MOZ_COMPONENT_LIBS. r=jdunn 2000-01-06 11:06:54 +00:00
edburns%acm.org 507ee16e37 I know it's unorthodox to do a top level checkin like this, but I've got so many files
in so many different directories, that I think it's the best way.
I've pulled and clobber_all'd my tree and got

r=dp

on this checkin.

Here are the touched files:

M mozilla/embedding/browser/activex/src/control/MozillaBrowser.cpp
M mozilla/embedding/browser/activex/src/control/MozillaBrowser.h
M mozilla/js/src/xpconnect/shell/xpcshell.cpp
M mozilla/netwerk/protocol/res/src/nsResProtocolHandler.cpp
M mozilla/xpcom/build/nsXPComInit.cpp
M mozilla/xpcom/components/nsComponentManager.cpp
M mozilla/xpcom/components/nsIServiceManager.h
M mozilla/xpcom/components/nsServiceManager.cpp
M mozilla/xpcom/io/nsSpecialSystemDirectory.cpp
M mozilla/xpcom/io/nsSpecialSystemDirectory.h
M mozilla/xpcom/tests/TestBuffers.cpp
M mozilla/xpcom/tests/TestPipes.cpp
M mozilla/xpcom/tests/TestShutdown.cpp
M mozilla/xpcom/tests/windows/TestHelloXPLoop.cpp
M mozilla/xpcom/tools/registry/regExport.cpp
M mozilla/xpcom/tools/registry/regxpcom.cpp
M mozilla/xpinstall/stub/xpistub.cpp
M mozilla/webshell/embed/ActiveX/MozillaBrowser.cpp
M mozilla/webshell/embed/ActiveX/MozillaBrowser.h
M mozilla/webshell/tests/viewer/nsMacMain.cpp
M mozilla/webshell/tests/viewer/nsPhMain.cpp
M mozilla/webshell/tests/viewer/nsWinMain.cpp
M mozilla/webshell/tests/viewer/unix/gtk/nsGtkMain.cpp
M mozilla/xpfe/appshell/src/nsFileLocations.cpp
M mozilla/xpfe/bootstrap/nsAppRunner.cpp

The heart of this checkin is a change in the signature and symantics
of NS_InitXPCOM.

The new signature is

extern NS_COM nsresult
NS_InitXPCOM(nsIServiceManager* *result, nsFileSpec* binDirectory);

I filed a bug for this problem:

b=23157

The original manifestation of this bug was in mozilla/netwerk/protocol/res/src/nsResProtocolHandler.cpp It used the current process directory to find resources, which is not correct when the current process is not mozilla.exe.

I have added a new type to nsSpecialSystemDirectory, Moz_BinDirectory, and made nsResProtocolHandler use that value.
2000-01-06 01:05:13 +00:00
jdunn%netscape.com ac3d9c907b |T| requires an accessible default constructor (on some old compilers)
r= scc@netscape.com
2000-01-06 00:43:19 +00:00
valeski%netscape.com 79638f0b47 23039. r=rpotts. FTP wasn't closing the data connection after data transfer. This was causing it to hang, waiting for the command channel to unblock. 2000-01-06 00:29:48 +00:00
valeski%netscape.com 4d91186127 added files: mozilla/netwerk/base/public/nsISocketTransport.idl 2000-01-06 00:28:32 +00:00
warren%netscape.com b3c93fef3e Fixed free problem with getenv. Fixed leak for beos case. r=mcafee 2000-01-06 00:21:17 +00:00
warren%netscape.com afc25a2f03 Changed comment. 2000-01-05 10:48:27 +00:00
warren%netscape.com 7b640f2758 Patch from Yasushi Shoji <yashi@yashi.com> (presumably for some unix variant). 2000-01-05 10:48:11 +00:00
warren%netscape.com 87fd0f7284 Cleaned up closing procedure. 2000-01-05 09:28:35 +00:00
warren%netscape.com 04decf0f8c Added OnClose method to nsIPipeObserver (bug#23080) 2000-01-05 05:07:46 +00:00
rpotts%netscape.com 03468d9c38 added lost code due to merge conflicts... 2000-01-05 05:03:22 +00:00
rpotts%netscape.com 60c53a1a2c 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 2001c08ab7 Added MAXPATHLEN decl 2000-01-05 04:15:45 +00:00
warren%netscape.com 28b446d28e Fixed include. 2000-01-05 03:50:49 +00:00
warren%netscape.com 87bbae96ca Made dns service fail if offline. 2000-01-05 03:50:00 +00:00
warren%netscape.com 70e29c3a13 Made socket transport service fail if offline. 2000-01-05 03:48:27 +00:00
warren%netscape.com d37b89bbc2 Made SetOffline(true) shutdown dns and socket trans. 2000-01-05 03:44:42 +00:00
warren%netscape.com ccc9b2f072 Added dns service shutdown method. 2000-01-05 03:44:00 +00:00
warren%netscape.com 17a3b1781b Added rule so that resource://Resource/ maps to CurrentProcessDirectory. 2000-01-05 03:43:21 +00:00
morse%netscape.com dc94d5dc33 add UniversalDialog, r=davidm 2000-01-05 03:17:11 +00:00
warren%netscape.com 848260da51 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 0a1cdb9dd2 Added offline attribute. 2000-01-05 02:44:23 +00:00
rpotts%netscape.com 54089d0b44 Removed over aggressive assert when the loadgroup listener factory does not exist 2000-01-04 05:46:47 +00:00
dougt%netscape.com 6ebfa81077 Converting to use nsIModule macro. r=dp. 2000-01-03 23:37:30 +00:00
dougt%netscape.com 6023d2ffbe Including nsCRT.h/nsIFileSpec directly. This prep work for the nsIFile landing. 2000-01-03 23:34:15 +00:00
dougt%netscape.com 03e5b7b575 Converting to use nsIModule macro. r=dp, jud. 2000-01-03 23:32:11 +00:00
dougt%netscape.com 7d93cf4f47 Including nsFileSpec.h directly. prep for nsIFile landing. 2000-01-03 23:31:09 +00:00
dougt%netscape.com 6544967b1b Including nsFileSpec.h directly. This prep work for the nsIFile landing. 2000-01-03 23:28:35 +00:00
dougt%netscape.com f1eb575a0b Including nsCRT.h directly. This prep work for the nsIFile landing. 2000-01-03 23:27:52 +00:00
dougt%netscape.com b53fb6c5f1 Converting to use nsIModule macro. r=dp,jud 2000-01-03 23:27:20 +00:00
dougt%netscape.com 46ac98a9ab 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 48fc55f311 Converting to use nsIModule macro. r=jud. 2000-01-03 23:24:06 +00:00
dougt%netscape.com 9560e8f3a8 Including nsIAllocator.h directly. 2000-01-03 23:23:33 +00:00
dougt%netscape.com e0b24e2ee7 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 65783e57bd 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 586b2af6f8 fix warning 1999-12-29 00:23:43 +00:00
sspitzer%netscape.com d87bbcdccc fix warnings. 1999-12-29 00:20:10 +00:00
sspitzer%netscape.com 1ff7f19198 fix warnings. 1999-12-28 19:37:29 +00:00
bryner%uiuc.edu 16316ea7c3 Fix a compiler warning by reordering initializers. r=syd. 1999-12-24 22:11:18 +00:00
bryner%uiuc.edu bee1a5c0a4 Fixing a compiler warning by reordering initializers. r=syd. 1999-12-24 22:06:48 +00:00
valeski%netscape.com f779bbe15f 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 e34432f695 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 a091cc3710 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 ed7b8de6a4 ignore generated Makefiles 1999-12-22 15:03:27 +00:00
sspitzer%netscape.com 5bdbb63395 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 c270279361 fix for 16273. r=valeski, a=sdagley. 1999-12-22 01:47:59 +00:00
nisheeth%netscape.com 0d5273560c 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 7411c47023 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 0316206c68 a=sdagley. turning on datetime protocl. 1999-12-21 22:33:01 +00:00
valeski%netscape.com b9beb6cdeb 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 098af0b934 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 0baa09fd90 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 0d72df33d5 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 759b6475e9 NetBSD/arm-specific build breakage fix. 1999-12-21 04:14:14 +00:00
valeski%netscape.com 5ceb649cb1 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 764d52ea90 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 54bce75ff9 NOT IN BUILD. Adding date time protocol handler files 1999-12-20 21:48:15 +00:00
morse%netscape.com 3199512b93 add SelectDialog, bug=3110, coded by davidm, r=morse, a=chofmann 1999-12-19 18:32:21 +00:00
fur%geocast.com b010526bf6 Reorder one class member initialization line to fix a warning. 1999-12-18 15:47:20 +00:00
fur%geocast.com 04c9283540 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 afa07d4972 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 d2178447d3 Fix #21660 (Browser buster crash in cache). a:chofmann 1999-12-18 14:58:09 +00:00
mscott%netscape.com 3b82f8c108 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 be6bcba8c1 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 1b7cf6c3a7 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 2d414cb3b4 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 29eeb79673 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 5969f83978 Correcting a mime type mapping. R:valeski@netscape.com OK:chofmann@netscape.com 1999-12-15 20:38:43 +00:00
briano%netscape.com 76e2b7a4ae 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 2ce647f94a 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 cb46ba7146 added files: mozilla/netwerk/protocol/ftp/src/nsFTPListener.cpp 1999-12-15 03:32:56 +00:00
rhp%netscape.com 95e181f2eb Performance fix for message display - Bug #: 21203 - r: rhp (external contribution) 1999-12-15 03:30:55 +00:00
valeski%netscape.com fa134203a6 adding files for new FTP impl, not in build yet 1999-12-15 03:30:33 +00:00
valeski%netscape.com b2a9280e75 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 dc0b0317b0 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 0d11045a4a Fix for bug 21314. Let PL_Base64Decode do the right job. R=warren 1999-12-13 22:49:12 +00:00
rjc%netscape.com 4b24b8c86b 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 e5a2f6a893 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 8b3b4810ea 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 0606c4d07c 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 3b46734bda Include nsJARURI.cpp and nsJARChannel.cpp in the unix build
r= warren, chofmann
1999-12-08 23:47:11 +00:00
alecf%netscape.com 179ba9ec4e fix bustage so I can check in 1999-12-08 06:44:18 +00:00
fur%netscape.com de06328f1b 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 9331820a82 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 160ea9fda3 Fixed leak on shutdown. Bug#21118 1999-12-08 05:14:52 +00:00
morse%netscape.com 58e41aab5d fix bug 21083, multiple cookies being ignored, r=valeski 1999-12-08 05:07:31 +00:00
fur%netscape.com f755cbc527 Fix mac build bustage. Use LL* macros with int64 types 1999-12-08 04:56:15 +00:00
fur%netscape.com d381f82d0b Fix usual bustage due to not including header with an nsCOMPtr type 1999-12-08 04:08:48 +00:00
fur%netscape.com efc7b3d01c + Fix unix build bustage: Add explicit casts to XPIDLCString rvalues.
+ Fixed warnings
1999-12-08 04:04:26 +00:00
fur%netscape.com 3bc26bf6a3 Build cache tests 1999-12-08 03:36:10 +00:00
fur%netscape.com 190735be42 + 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 fcc448f1b7 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 37ff5f8614 Disable cache by default on Windows 1999-12-08 03:25:44 +00:00
fur%netscape.com 978d979da5 Bug #8305 (Implement cache). Whacked the HTTP protocol handler hard to support caching. 1999-12-08 03:23:14 +00:00
rhp%netscape.com 5b686aa771 Remove printf()'s that I missed earlier 1999-12-08 02:49:46 +00:00
rhp%netscape.com 3916bba943 Fixing "const" problem 1999-12-08 02:42:43 +00:00
rhp%netscape.com 6546aaf267 Fix for TXT - HTML conversion - r: rhp - external contributor 1999-12-08 02:10:57 +00:00
norris%netscape.com e4ce3835ca 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 27f3963a26 r=chofmann. adding content-type to default response headers for testserver 1999-12-07 22:36:47 +00:00
rhp%netscape.com 3dcb4bee0a Fixing Mac Project - Location of new stream converter 1999-12-07 22:31:49 +00:00
rhp%netscape.com 56566e7698 Fixes for TXT - HTML Conversion - r: rhp (externally contributed) 1999-12-07 22:20:02 +00:00
fur%netscape.com 73c4374f6f 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 f4ad22b9d9 Make observers support weak references. Bug #18682; r=dp. 1999-12-07 14:06:36 +00:00
fur%netscape.com 7b5b0743a4 + 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 1e1a2e5425 ignore the generated Makefiles 1999-12-07 09:31:05 +00:00
valeski%netscape.com 0107d78aaa r=rickg. replacing a char const w/ an int literal 1999-12-07 08:58:50 +00:00
fur%netscape.com 1f6740ac81 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 58c613ec8e Increase default memory cache capacity to 1M from 100KB testing value 1999-12-07 08:49:42 +00:00
fur%netscape.com 573f768929 Sun compiler requires nsCOMPtr types to be fully defined 1999-12-07 07:51:31 +00:00
fur%netscape.com 4cffd9c95d Include definition of nsIStorageStream class to satisfy Sun compiler 1999-12-07 07:05:31 +00:00
valeski%netscape.com d009686a61 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 85ee74a4d7 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 c361fb197f nsJARProtocol.cpp 1999-12-07 06:58:55 +00:00
sfraser%netscape.com 3e2a88e435 Add DBM to the project. r=fur 1999-12-07 06:48:22 +00:00
sfraser%netscape.com 3d70fe442c First Checked In. 1999-12-07 06:43:19 +00:00
rpotts%netscape.com 52659056c6 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 8a594ab951 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 905815073c Some casts and a .get() so that it compiles on Mac. r=fur 1999-12-07 06:31:14 +00:00
sfraser%netscape.com 3becd28727 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 f7325d66b1 First Checked In. 1999-12-07 06:05:45 +00:00
fur%netscape.com 9737ef2b52 + 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 e4e1e98927 Christ, forgot the semicolon 1999-12-07 04:49:43 +00:00
fur%netscape.com 39fe4899a7 Remove test code 1999-12-07 04:45:44 +00:00
pavlov%netscape.com 86e6663dd6 build cache build r=fur 1999-12-07 04:29:26 +00:00
warren%netscape.com 67d85b82af 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 81053da053 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 8621c2753e Enable building of cache on unix 1999-12-07 02:39:31 +00:00
fur%netscape.com afe850cc01 Add cache tests 1999-12-07 02:32:34 +00:00
fur%netscape.com b882234bd2 Enable building of cache on Windows 1999-12-07 02:19:56 +00:00
fur%netscape.com ef60f625b6 Landing of CacheIntegration_BRANCH in support of bug #8305 (Implement cache) 1999-12-07 02:07:31 +00:00
fur%netscape.com 643ff62dd5 Added cache control flags, in support of Bug #8305 (Implement cache) 1999-12-06 23:31:47 +00:00
rhp%netscape.com 98e6c55182 Cleanup printf's 1999-12-06 20:29:27 +00:00
rhp%netscape.com c6824d8269 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 a4e7e92ef9 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 1ad0e2f856 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 2a051afc11 Adding new file - NOT PART OF THE BUILD 1999-12-05 16:56:04 +00:00
warren%netscape.com bf4ef9672f 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 f44c56f451 Fix build bustage on Linux 1999-12-03 02:59:37 +00:00
warren%netscape.com e7faf5530b 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 99916a7641 Added missing addref. r=gayatrib 1999-12-03 02:22:02 +00:00
fur%netscape.com ded572767e 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 dc1a4eaae9 Quash warning 1999-12-03 01:45:22 +00:00
fur%netscape.com cfb6b5624f Added missing HTTP header atoms 1999-12-03 01:44:38 +00:00
rpotts%netscape.com d9c7dbe807 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 9426838f70 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 10aad5b020 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 e6ee317238 Fix the fragment name in both targets to be unique. Again. r=pinkerton. 1999-12-02 04:53:47 +00:00
sfraser%netscape.com 554582f3e3 Fix the fragment name in both targets to be unique. r=pinkerton. 1999-12-02 04:51:11 +00:00
fur%netscape.com cb5751940a 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 688ffa434f 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 f4301f1109 (r=valeski) Fix for new bloat (leaking HTTPChannels) that was introduced yesterday 1999-12-01 04:32:58 +00:00
sspitzer%netscape.com 0ab6aaac52 bulletproofing to prevent #20410 1999-12-01 01:26:08 +00:00
mscott%netscape.com 11c830ce1f implement retargeting for SetLoadGroup
r=valeski,rpotts
1999-11-30 22:19:53 +00:00
mscott%netscape.com bd8f43e751 implement retargeting for SetLoadGroup
r=valeski
1999-11-30 22:19:35 +00:00
valeski%netscape.com bcb79d06b0 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 62abb7140f Fixed bug GetContentType/GetContentLength. 1999-11-30 07:36:14 +00:00
warren%netscape.com 9182225725 Removed util dir from build. 1999-11-30 05:52:41 +00:00
warren%netscape.com 5003cbf58a Added include of nsNetUtil.h to pick up NS_NewSyncStreamListener 1999-11-30 05:32:14 +00:00
warren%netscape.com a265a32348 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 c742997002 Changed from no_neckoutil2_branch to remove neckoutil from build. Bug #11159 1999-11-30 04:49:11 +00:00
valeski%netscape.com 02880fef60 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 cf44fd73ae 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 f0eb96340a 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 67a8e15c39 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 1da7d3868d fix for 18078. r=mstoltz,warren 1999-11-30 00:32:43 +00:00
mscott%netscape.com c479a085dc modify SetLoadGroup to work with retargeting.
r=rpotts
1999-11-30 00:10:37 +00:00
valeski%netscape.com b6a89719e6 comment changes for javadoc 1999-11-29 22:17:11 +00:00
valeski%netscape.com 399023b523 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 593501141b ignore generated files 1999-11-29 21:20:30 +00:00
brendan%mozilla.org c63c17aca0 Whitespace police! 1999-11-28 10:26:53 +00:00
warren%netscape.com 4ab4ee4d4e Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
shaver%netscape.com 11dfd58e9d 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 cd810db52f 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 478d77770a 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 bbc2a15492 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 e5fe71da28 passing a signed int into an unsigned param. now we're not 1999-11-24 21:07:11 +00:00
warren%netscape.com 39678adcc0 Added friend _class_ for hpukes. 1999-11-24 20:42:04 +00:00
warren%netscape.com c6a8089da9 Added nsIInterfaceRequestor.h to keep nsCOMPtr happy. 1999-11-24 08:31:06 +00:00
warren%netscape.com 67800a1a6e Added optimized dependency on netwerk util. 1999-11-24 08:28:08 +00:00
warren%netscape.com 95507cbdfe Added include for nsCOMPtr. 1999-11-24 07:40:54 +00:00
warren%netscape.com 85e38bed0a Somehow added to wrong directory. Moving. 1999-11-24 07:19:12 +00:00
warren%netscape.com a9234e7a54 First Checked In. 1999-11-24 07:16:03 +00:00
warren%netscape.com cce1e4dab3 Added test for res protocol. 1999-11-24 06:30:51 +00:00
warren%netscape.com 3c254a5cc1 Added res and jar protocols. 1999-11-24 06:29:44 +00:00
warren%netscape.com 0685d21777 First Checked In. 1999-11-24 05:54:31 +00:00