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

1721 Коммитов

Автор SHA1 Сообщение Дата
valeski%netscape.com c9629a7024 nsCOMPtr'izing the parser 2000-02-08 05:55:08 +00:00
waterson%netscape.com f288e61251 Use SYMBOLIC-LINK instead of SYM-LINK to bring in-line with lou's spec. 2000-02-08 01:20:46 +00:00
dougt%netscape.com b16046f5a0 Fix for 26850 by Andreas Otte. This fixes complex uri parsing, specifically
defined in the mentioned bug.
2000-02-08 01:20:33 +00:00
waterson%netscape.com f8347ec3fb Bug 17586. Use more robust condition to determine stream length ('-1') for HTTP-index streams on directories. Add lots of logging along the way. r=syd,valeski. 2000-02-08 01:16:09 +00:00
scc%netscape.com 73802d6f2e Pro5 update 2000-02-07 23:06:04 +00:00
bryner%uiuc.edu 4ab36e52f8 Removing erroneous comments. r=ben. 2000-02-06 22:24:06 +00:00
rickg%netscape.com 8a80545385 added support for RTF; r=valeski 2000-02-05 20:35:28 +00:00
scc%netscape.com 4e4163f707 First Checked In. 2000-02-05 04:58:53 +00:00
sspitzer%netscape.com b8c3a871df some bulletproofing code. I got a random crash here (sorry, I lost the stack) because the
downstreamlister was null.  trying to reproduce.  at least now it will only assert.
r=mscott
2000-02-05 01:20:09 +00:00
valeski%netscape.com 16e204c1e3 26330. simple extension addition 2000-02-04 23:06:59 +00:00
warren%netscape.com a4bc849b83 Fix for bug 24996 - moving file creation from nsStreamXferOp into nsFileTransport where it belongs. r=mscott 2000-02-04 09:29:55 +00:00
warren%netscape.com 9e08bb8519 Added stream buffering. Made file transport use it. Bug #19233 r=dougt 2000-02-04 07:31:43 +00:00
sspitzer%netscape.com 81ed4fd313 ignore generated makefiles 2000-02-04 04:32:00 +00:00
mcafee%netscape.com f20ed5907b Fixing /* within /* warning, r=slamm 2000-02-04 02:56:48 +00:00
sspitzer%netscape.com 96a0249281 change to allow someone to use the "no strip url" interface in wallet.
no one is using it yet, because it doesn't work.

r=mscott
2000-02-03 05:01:42 +00:00
valeski%netscape.com 1f02ea6d3d added files: mozilla/netwerk/base/public/nsIURLParser.idl 2000-02-03 03:45:02 +00:00
valeski%netscape.com ebe27553da added files: mozilla/netwerk/base/src/nsURLHelper.cpp, mozilla/netwerk/base/src/nsStdURLParser.cpp, mozilla/netwerk/base/src/nsAuthURLParser.cpp, mozilla/netwerk/base/src/nsNoAuthURLParser.cpp 2000-02-03 03:44:51 +00:00
valeski%netscape.com 41512e1d6a URL Parsing and implementation rewrite landing. Andreas Otte was generous enough to contribute these changes 2000-02-03 03:44:22 +00:00
warren%netscape.com c464f6f9f3 Added 2 test cases: TestWriteStreams is Scott's performance test (for the cache). TestWriteSpeed plots buffer size vs. throughput. 2000-02-03 01:59:15 +00:00
sspitzer%netscape.com 6eb953f984 turn on the finger protocol for windows. r=bryner@uiuc.edu 2000-02-03 01:24:52 +00:00
bryner%uiuc.edu f2e4d5cff8 Turning on finger protocol on unix. r=valeski. 2000-02-03 00:40:22 +00:00
valeski%netscape.com 920b9a358b fixing bustage 2000-02-02 23:47:43 +00:00
valeski%netscape.com 63cf811f01 replaced 2000-02-02 23:06:48 +00:00
valeski%netscape.com 03162cf7fe this iface has been replaced 2000-02-02 23:05:46 +00:00
valeski%netscape.com a567c875bb r=warren. nsIUnicharStreamLoader is dead. Now we have a generic byte stream loader that can be used for any sort of data. 2000-02-02 23:04:47 +00:00
valeski%netscape.com a563a6fd81 added files: mozilla/netwerk/base/public/nsIStreamLoader.idl, removed files: mozilla/netwerk/base/public/nsIUnicharStreamLoader.idl 2000-02-02 22:58:53 +00:00
valeski%netscape.com 14bab47cf6 added files: mozilla/netwerk/base/src/nsStreamLoader.cpp, removed files: mozilla/netwerk/base/src/nsUnicharStreamLoader.cpp 2000-02-02 22:57:43 +00:00
bryner%uiuc.edu 349e796f16 Adding finger protocol. To use it, enter a URL such as
"finger:user@host".  This is not hooked up to the build yet. r=valeski.
2000-02-02 22:48:55 +00:00
mstoltz%netscape.com 9f00c29250 Added call to nsJAR::ParseManifest, needed for signed scripts. bug=7270 r=norris. 2000-02-02 01:30:12 +00:00
valeski%netscape.com fb0ec52f63 r=none, I spoke w/ dagley about this, the diffs are cleanup, no code path changes. 2000-02-02 01:19:06 +00:00
dougt%netscape.com 5553c9c67b removing the Truncate flag so file do not get destroyed when opening an
output stream to them.  r=warren.
2000-02-01 23:24:57 +00:00
valeski%netscape.com 9d08df3b73 r=gordon. 23709. Adding an extra check before trying to memcpy hostent data, this should fix the crashing we've been seeing on some win95 boxes, but it doesn't fix the problem of not having any A entries in DNS 2000-02-01 22:35:28 +00:00
pp%ludusdesign.com 48e640ed4f Conversion to NS_GET_IID(). Bug #20232, r=scc@netscape.com 2000-02-01 14:26:27 +00:00
sspitzer%netscape.com b4f1c05ac0 make it so we can stuff a value given to us by the user from a Prompt()
can be stuffed into the single signon database, just like a password
can be.  auth news needs this.  r=dp,alecf
2000-02-01 08:43:48 +00:00
sdagley%netscape.com 813f53ead8 Access path updates in anticipation of update to CW Pro5 (#25949). r=pinkerton 2000-02-01 04:27:22 +00:00
mstoltz%netscape.com b450915b91 Fixing hoarkage by adding an include statement. r=norris 2000-02-01 00:35:46 +00:00
valeski%netscape.com dd0dca920d 24717. renaming lib names for keyword protocol so they're == 8 chars. 2000-01-31 23:59:33 +00:00
warren%netscape.com 6a52ad793c Fix for downloaded jar files, and for pulling jars out of the cache. r=mstoltz 2000-01-31 23:43:09 +00:00
sfraser%netscape.com 7107bd9470 Fix the fragment name in this project. r=valeski 2000-01-31 23:30:54 +00:00
sfraser%netscape.com af05b5af2a First Checked In. 2000-01-31 23:29:56 +00:00
valeski%netscape.com 3cb4368cf8 r=dougt. part of 18007. FTP now notifies the consumer of failures even if the data channel is never used. 2000-01-31 21:07:44 +00:00
mscott%netscape.com 91f8b8ca1e need ability to write load attrib flags on input stream channel as part of the refactoring of the doc loader
into the uri loader
r=travis
2000-01-29 05:05:38 +00:00
mscott%netscape.com 4d50d925e5 Bug #21173 --> Add a document uri retargeted flag. This flag is set when the uri loader retargets the output
of the channel to another content window.
r=travis
2000-01-29 05:03:58 +00:00
mscott%netscape.com 0bb47eda96 fix mac breakage for sspitzer...export nsIPrompt.idl 2000-01-29 01:48:40 +00:00
mstoltz%netscape.com da00e27857 nsJARChannel now gets its owner from the underlying nsJAR, for the correct security level. bug=7270 r=norris 2000-01-29 00:06:15 +00:00
warren%netscape.com 961264c355 Reapplying fix for bug 21686 -- can't find protocols with non-lowercased names. 2000-01-28 23:39:33 +00:00
sspitzer%netscape.com 7a566e754c add new line to the end of the file. that is a CID, not an IID, so use the right macro. 2000-01-28 23:12:24 +00:00
mscott%netscape.com f34c55c94c back out warren's fix for Bug #21686 as this broke mailnews. regression Bug #25511
a=leaf
2000-01-28 19:41:59 +00:00
dp%netscape.com 30ab43a945 Fixing mac linkage build issue. 2000-01-28 12:32:51 +00:00
dp%netscape.com 2e58ac96a8 Now I know why that dummy prototype was there. Adding a prototype to
fix mac.
2000-01-28 11:12:15 +00:00
dp%netscape.com b44bbb25ee Cleaning up unix sync dns version. Collecting platform specific
portions together; eliminating a few of them; moving sync unix dns
implementation inside InitiateDns(). r=warren
2000-01-28 10:16:32 +00:00
dp%netscape.com 0027bd6e22 Collected platform specfic portions together for readability. r=warren 2000-01-28 10:00:04 +00:00
warren%netscape.com bcc06d52e9 Fix for Windows file://c|/ case (2 slashes). Bug #24431 2000-01-28 07:40:31 +00:00
warren%netscape.com 951afde39b Fix for bug 21686 -- can't find protocols with non-lowercased names. 2000-01-28 06:24:54 +00:00
sdagley%netscape.com bbe5a1d59d Fix #25042. Moving PR_Init_Log proto from prlog.h to pprio.h as it is an internal function that normally doesn't belong in the NSPR public interfaces but the Mac needs it. Changes actually from wtc, sdagley just reviewed them and is checking them in. 2000-01-28 04:00:28 +00:00
gordon%netscape.com 30596372a3 Fix for bug #23709 "[top100][talkback]Crash in nsSocketTransport::OnFound on home.netscape.com cnn.com". Needed to change the order of fields in nsHostEnt so that WSAAsyncGetHostByName on Windows wouldn't overwritten the bufLen and bufPtr fields in certain cases. r=valeski. 2000-01-28 00:34:05 +00:00
warren%netscape.com c6cf2a3361 Fixes to make jar: protocol actually be able to visit html files packaged in zip files. Resolves relative links now, although doesn't handle going to # anchors in html pages properly yet. Good enough for chrome work. 2000-01-27 08:57:14 +00:00
pepper%netscape.com 1df37326cd All source files must contain a newline at the end or the lesser nixes won't compile. 2000-01-26 21:57:30 +00:00
valeski%netscape.com ca2cad6ac6 r=gordon. 24985. 24837. we now error out if we confront an ftp server that has reached it's connection limit. we also start the throbber (add our selves to the load group) when an FTP transaction begins 2000-01-26 00:36:01 +00:00
dp%netscape.com 0b1ae98f91 Getting dns daemon to compile on linux. (dont part of build yet) 2000-01-25 07:54:46 +00:00
dp%netscape.com 1fde6430cf comment changed 2000-01-25 07:49:14 +00:00
norris%netscape.com 8c000f9285 Fix
23643 Reading email messages using <META REFRESH>
23729 Executing functions in "chrome:" protocol - #3 - META REFRES
23730 Executing functions in "chrome:" protocol - #4 - HTTP redire
24217 Access to functions in chrome: protocol using IFRAME
24865 Parsing local non-HTML files #2 using META REFRESH
r=gagan
2000-01-25 04:42:01 +00:00
mscott%netscape.com f9b5f38418 oh goody...the name of this directory conflicts with the directory for the mime converter! As a result
this directory was creating a .xpt file that was conflicting with the one built by the mime convrter.
renaming to mimetype.xpt. We had to do this same fix a long time ago to the name of the shared library
and we changed that to mimetype so I'm being consistent.
2000-01-25 04:39:11 +00:00
rhp%netscape.com 605e34d5a7 Fixing build related problem 2000-01-25 03:22:45 +00:00
gagan%netscape.com 2113f0d630 We had a nsCOMPtr on a class instead on a interface (along with the problem that its default constructor was protected) This was preventing the cache from being built on AIX. Should work now. r=self(& scc) See bug 24876 2000-01-25 03:11:16 +00:00
valeski%netscape.com 365fede8f7 r=rhp. Further extension of the nsIMIMEService. 2000-01-25 02:40:16 +00:00
valeski%netscape.com 0518800fa9 20445. r=warren. We now propagate connection_refused errors from the socket transport. 2000-01-25 02:29:42 +00:00
gagan%netscape.com a6fa44fcaf Fix a mem leak (spotted by Pav) r=me 2000-01-25 02:29:33 +00:00
dougt%netscape.com 8b24f3a078 turing off assert until warren and I can take a closer look. r=mccabe. 2000-01-25 02:29:29 +00:00
mcafee%netscape.com 1d87346332 Fixing solaris bustage, include ordering problem? r=dougt 2000-01-25 01:27:28 +00:00
dougt%netscape.com a7ee5e951a nsIFile Landing. unescaping path for nsIFile. 2000-01-24 23:18:44 +00:00
dougt%netscape.com 62b1044c62 wtf. this is the wrong code. part of the nsIFile landing. 2000-01-24 22:41:10 +00:00
dougt%netscape.com b36e63d300 Fixing build bustage. need to #ifdef PR_LOGGING mSpec. 2000-01-24 22:28:27 +00:00
dougt%netscape.com 0b0346079c Landing nsIFile. 2000-01-24 21:28:28 +00:00
blizzard%redhat.com a6c2777c15 change .obj extension to .cpp for unix bustage. r=bienvenu 2000-01-24 16:40:19 +00:00
valeski%netscape.com 0efe3a1595 r=gagan. 18977, Implemented FTP upload (AsyncWrite) and 22300 fixed broken FTP responses (many servers don't follow spec and fire back newlines without preceeding numeric codes) 2000-01-24 15:55:40 +00:00
brade%netscape.com 217765d904 add nsAsyncEvent.cpp (r=valeski) 2000-01-24 15:54:33 +00:00
valeski%netscape.com 3a3dc4fb45 added files: mozilla/netwerk/mime/src/nsMIMEServiceModule.cpp, removed files: mozilla/netwerk/mime/src/nsMIMEServiceFactory.cpp 2000-01-24 15:41:36 +00:00
valeski%netscape.com 449efd53a6 r=rhp. nsIMIMEInfo and nsIMIMEService have been revamped (there's one more small iteration coming tomorrow). nsIMIMEInfo has been extended and the service has been multi indexed using file extensions *and* the MIME type as keys. 2000-01-24 15:41:03 +00:00
bryner%uiuc.edu 2cfcf03a92 Fixing linux build bustage. r=pavlov. 2000-01-24 04:45:54 +00:00
warren%netscape.com f96cff45ad Added code to cancel/suspend/resume jar channels. Bug #24338 2000-01-24 03:54:20 +00:00
mscott%netscape.com 4ab4a29bdf Bug #24796 --> the fix for the cache manager friday night broke quoting msgs
for imap (which uses the memory cache). You don't need a load group to run a url
through the cache....so don't return an error if the load group is null
r=bienvenu
2000-01-24 00:32:14 +00:00
warren%netscape.com a1eea10bb8 A better fix for the spin while retrieving POP messages on linux. Needed to handle PR_POLL_HUP, but apparently animated gifs return this too and its not a failure. r=alecf,mcafee 2000-01-22 02:06:00 +00:00
valeski%netscape.com 09d0af3430 24250. r=gordon,mscott,warren. We now ensure that a cache entry adds itself to the loadgroup *before* the load group goes away. This allows the editor to 'Edit Page's again. 2000-01-21 23:58:29 +00:00
warren%netscape.com fee931251b Reverted change for PR_POLL_HUP to see if it clears up the tinderbox bloat test problem. 2000-01-21 03:31:39 +00:00
warren%netscape.com fbfa96b4c5 Fix spin retrieving POP messages on linux. Needed to handle PR_POLL_HUP. r=wtc,valeski,alecf,pavlov 2000-01-20 22:37:34 +00:00
warren%netscape.com a1a312c5b9 Enhanced logging to help debug bug #23778 2000-01-20 05:25:07 +00:00
valeski%netscape.com 10293bf3b1 a=leaf, r=warren. 22322. When FTP loads were stopping, the throbber wasn't. LoadGroup symantics changed when rpotts dropped in new load group stuff a few days ago. We still have throbber start problems, but this at least stops it 2000-01-20 00:51:18 +00:00
warren%netscape.com afa4a1dd4e Attempt to fix bloat stat problem. I think linux is hanging on exit. 2000-01-19 09:27:42 +00:00
warren%netscape.com f2259719cc Removed unnecessary mThreadHandle 2000-01-19 08:01:21 +00:00
warren%netscape.com d353634848 Fix to shutdown socket transport service. DNS service too. Bug #21124 r=valeski 2000-01-19 07:58:40 +00:00
gayatrib%netscape.com 534335260b Added code to check for existence of a jar file in the cache before downloading it. r=warren 2000-01-19 07:20:31 +00:00
gagan%netscape.com f02c2858ee Fixing build breakage... reordered the #includes. 2000-01-19 06:34:25 +00:00
gagan%netscape.com 6b2f2d91f1 Fix for 22405. Proxy auth is in. I have also created a separate bug for making this persistent 24329. 2000-01-19 05:09:07 +00:00
gordon%netscape.com 3dfff899f2 Fix for bug #20177. Make sure string is set if GetSpec() fails inside http logging code. 2000-01-19 02:27:00 +00:00
gagan%netscape.com d3535034d0 Fix for 13380. We now send Accept-Language: header. 2000-01-19 00:38:51 +00:00
bruce%cybersight.com 0e1e840e66 Speeling cownts. r=shaver 2000-01-17 21:28:22 +00:00
mscott%netscape.com 621285eca6 set the referring url on the http channel so callers don't have to do it explicitly every time.
r=warren
2000-01-17 19:48:16 +00:00
warren%netscape.com 771e106285 Re-added 2000-01-17 06:05:43 +00:00
gagan%netscape.com a905c41b20 Fixed bug 17293, 17244, 20814 -- all because some servers wouldn't understand lowercase HTTP headers. We now send HTTP headers in compatible case as 4.*. r=rpotts 2000-01-16 06:59:43 +00:00
rpotts%netscape.com be79b9fb76 bug #23055 (r=warren). Added LOAD_DOCUMENT_URI load attribute for the DocLoader to distinguish doc URIs 2000-01-15 06:12:54 +00:00
sspitzer%netscape.com d8a5c41c93 backing out andreas and warren 2000-01-14 22:01:56 +00:00
warren%netscape.com ae47d277d3 Moved CIDs to nsIURLParser.idl to avoid mac bustage. 2000-01-14 11:09:17 +00:00
warren%netscape.com d0f68edd62 Added access path for netwerk/base/src. 2000-01-14 10:15:46 +00:00
warren%netscape.com d8a0af4191 Added access path. 2000-01-14 10:14:19 +00:00
warren%netscape.com 6d806d9cfe Added nsIURLParser.idl to manifest. 2000-01-14 09:26:06 +00:00
warren%netscape.com ea798addcb Changes from andreas.otte@primus-online.de for numerous URL parsing bugs. r=warren 2000-01-14 08:50:03 +00:00
warren%netscape.com 1c6fd64e46 New files from andreas.otte@primus-online.de for numerous URL bugs. r=warren 2000-01-14 08:31:13 +00:00
warren%netscape.com 472898d037 New files from andreas.otte@primus-online.de for numerous URL bugs. r=warren 2000-01-14 08:19:26 +00:00
valeski%netscape.com 3e0cabea46 r=gagan. 17647. we digesting content-type comments as legitimate header values. now we're not 2000-01-13 23:22:25 +00:00
warren%netscape.com be673ef2a3 Added 2000-01-13 09:11:01 +00:00
mscott%netscape.com c18efc0320 add nsIStreamObserver to QI method. Since it is inherited from nsIStreamListener, you need to explicitly list both
otherwise it generates an assert when you use a nsCOMPtr to QI for a method on nsIStreamObserver
2000-01-13 03:17:38 +00:00
valeski%netscape.com 0cb098cd93 keywords protocol no longer determins enalbed state, it's up to the app 2000-01-12 22:53:13 +00:00
morse%netscape.com 61a9624d09 fix bug 23037, allow autofill to use double-byte characters for i18n, r=dp 2000-01-12 21:53:32 +00:00
jdunn%netscape.com 370313154b Fix slamm's warnings of shadowing previous variables.
r= rhp@netscape.com
r= warren@netscape.com
r= rpotts@netscape.com
2000-01-12 00:54:10 +00:00
valeski%netscape.com 64a59be346 Allowing the FTP channel to Cancel() even if the underlying connection thread has gone away. 2000-01-12 00:51:17 +00:00
valeski%netscape.com e92469cb8e r=rhp. datetime protocol wasn't initializing properly which would cause a datetime url without a host to spin 2000-01-11 22:16:19 +00:00
pp%ludusdesign.com 698852a4f4 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com
2000-01-11 20:49:15 +00:00
rhp%netscape.com f428189b73 Fixes for emoticon recognition - Bug #21203 - r: rhp (externally contributed) 2000-01-11 01:56:25 +00:00
gordon%netscape.com 2fe9330285 Add nsUnknownDecoder.cpp to Mac build, and enable registration of Unknown Content-Type Decoder as a component. r=rpotts. 2000-01-10 20:54:30 +00:00
pepper%netscape.com 26fe0c6d90 All source files must have a newline at the end or HP compilers choke
r=jdunn
2000-01-10 05:31:26 +00:00
rpotts%netscape.com f3a28d2d1f Fixed up how the source offset was being adjusted... 2000-01-10 04:34:52 +00:00
rpotts%netscape.com fe9bc8e031 Changed temp define from XP_WIN to XP_PC - oops... 2000-01-10 04:34:07 +00:00
rpotts%netscape.com 8e1cd75bd3 fix for build bustage if mailnews is not part of the build... Use mime definitions from netCore.h instead of nsMimeTypes.h 2000-01-10 04:08:50 +00:00
rpotts%netscape.com 30e17d0347 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 be3945ad99 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 af08de5713 Added the unknown content stream decoder... 2000-01-08 06:26:13 +00:00
rpotts%netscape.com 023f2ff6e1 Made contentType a read/write attribute of nsIChannel 2000-01-08 06:26:04 +00:00
rpotts%netscape.com 37a760ac57 stream decoder for determining content-type by sniffing the incoming data... 2000-01-08 06:17:40 +00:00
valeski%netscape.com ae6e383f01 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 297e1190d0 converting keyword protocol handler over to new module macros. r=dp. 23211 2000-01-08 00:58:05 +00:00
valeski%netscape.com 7f3f996bb6 fixing build bustage on unix 2000-01-08 00:36:47 +00:00
gordon%netscape.com 4716753fb9 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 aedeaca0a9 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 fdf869afbc Fixing bustage. Necko needs WIN32LEAN_AND_MEAN defined. 2000-01-07 04:13:26 +00:00
gordon%netscape.com 3d1c7fc27b Implementation for ascyn dns lookups on Windows. Bug #10732, r=Warren. 2000-01-07 02:44:41 +00:00
warren%netscape.com 2653baf425 Cleanup 2000-01-07 02:06:57 +00:00
warren%netscape.com 08bd5d4db0 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 33b9771398 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 0800ef0b74 Add MOZ_COMPONENT_LIBS. r=jdunn 2000-01-06 11:06:54 +00:00
edburns%acm.org 13be6d7ebf 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 20691ec6d3 |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 ec7d6b07da 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 2a3ec88ee8 added files: mozilla/netwerk/base/public/nsISocketTransport.idl 2000-01-06 00:28:32 +00:00
warren%netscape.com 025342a34a Fixed free problem with getenv. Fixed leak for beos case. r=mcafee 2000-01-06 00:21:17 +00:00
warren%netscape.com c73c8b80e5 Changed comment. 2000-01-05 10:48:27 +00:00
warren%netscape.com f0385dd5e8 Patch from Yasushi Shoji <yashi@yashi.com> (presumably for some unix variant). 2000-01-05 10:48:11 +00:00
warren%netscape.com 5370d83dc2 Cleaned up closing procedure. 2000-01-05 09:28:35 +00:00
warren%netscape.com e07863e48c Added OnClose method to nsIPipeObserver (bug#23080) 2000-01-05 05:07:46 +00:00
rpotts%netscape.com d3b0e133c2 added lost code due to merge conflicts... 2000-01-05 05:03:22 +00:00
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