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

1721 Коммитов

Автор SHA1 Сообщение Дата
pavlov%netscape.com fae2934366 remove the include of domstubs.idl and just forward declare the interfaces to avoid the need for domstubs.idl to be exported before this directory can be built. 2000-03-11 05:33:33 +00:00
pavlov%netscape.com ff7a889382 adding crypto stuff to the tip 2000-03-11 04:33:39 +00:00
pavlov%netscape.com ce094b4cfc changes to let us build on MacOS X 2000-03-11 03:08:04 +00:00
valeski%netscape.com 5d687a417b r=dveditz. a=jevering. 31001. we're now using backwards compat OS strings in the UA 2000-03-09 22:29:00 +00:00
valeski%netscape.com ec891ecf55 r=warren. a=jar. 30634, 30635. something caused event timing changes which aggrivated some FTP bugs. FTP no longer pumps it's own event loop, no longer implements AsyncOpen, and has changed the synchronization between the channel object and the FTP thread. The current changes aggrivate a bug in the socket transport which manifests itself as the throbber not always stopping when a download completes. 2000-03-09 09:46:56 +00:00
waterson%netscape.com ac2b0e9093 Bug 30477. Deal with the fact that somehow mSource is getting set to null. Bogo-defensive programming. Yay! r=warren, a=gramps, leaf. 2000-03-08 21:17:41 +00:00
sspitzer%netscape.com e92380a4a0 better fix for #30646. r=mscott, a=jar. 2000-03-08 04:21:46 +00:00
gagan%netscape.com 5ffd271541 Removed some dead #if 0 code. 2000-03-08 02:31:25 +00:00
gagan%netscape.com 32821cfb59 Added #include for nsIHTTPEventSink as well... Should fix the solaris bustage. 2000-03-08 01:11:06 +00:00
gagan%netscape.com 3706905e67 New event sink changes for the test case. 2000-03-08 00:35:24 +00:00
gagan%netscape.com faf228f2f5 Transitioning from nsIHttpEventSink.h to nsIHTTPEventSink.idl Also cleaned up the event sink to only have OnHeadersAvailable and OnRedirect as messages.
Fixed bug 24329-- proxy auths. We were not using the new call to setOverrideRequestSpec.
Part fix for bug 27048, HTTP now uses nsIHTTPEventSink and uses nsIPrompt for authentication.
r=valeski,a=jar
2000-03-08 00:31:49 +00:00
gagan%netscape.com 0515578bb7 Transitioning from nsIHttpEventSink.h to nsIHTTPEventSink.idl Also cleaned up the event sink to only have OnHeadersAvailable and OnRedirect as messages. r=valeski,a=jar 2000-03-08 00:27:33 +00:00
gagan%netscape.com 3c24439a40 Transitioning from nsIHttpEventSink.h to nsIHTTPEventSink.idl Also cleaned up the event sink to only have OnHeadersAvailable and OnRedirect as messages. 2000-03-08 00:24:53 +00:00
gagan%netscape.com ea8f94b7c2 added files: mozilla/netwerk/protocol/http/public/nsIHTTPEventSink.idl 2000-03-08 00:22:08 +00:00
sspitzer%netscape.com 394509ff28 fix for bug #30646. crash on certain news messages. r=mscott, a=jar. 2000-03-07 20:49:48 +00:00
valeski%netscape.com f42541d203 r=warren. a=jar. we're now using the threadsafe macros for sync stream listeners 2000-03-07 00:37:36 +00:00
sford3%swbell.net 9f2fcf5a57 Implementing about:credits, r=valeski a=valeski 2000-03-07 00:07:39 +00:00
sford3%swbell.net 5275e56e5b added files: mozilla/netwerk/protocol/about/src/nsAboutCredits.cpp 2000-03-07 00:07:03 +00:00
sford3%swbell.net a42c1327a7 initial code for about:credits, not part of build yet 2000-03-06 15:09:49 +00:00
warren%netscape.com 9956a185c8 Making nsFileStream and nsBufferedStream be threadsafe. 2000-03-06 00:51:44 +00:00
warren%netscape.com 48da3455de Bug 21556: Making linux be thread-safe. Additional diffs from Andreas. r=warren,a=jar 2000-03-05 21:36:54 +00:00
warren%netscape.com c0497e31be Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar 2000-03-05 21:26:01 +00:00
dougt%netscape.com 5acecfb31e Changing file worker thread count to have a minimum and maximum. Bug fix 27336.
r=warren,danm a=chofmann.
2000-03-05 20:57:51 +00:00
warren%netscape.com 1798a13bf0 Bug 21556: Making linux be thread-safe. Trying a little experiment here to see if mac is picking up the new export from xpcom -- easy to back out if it fails. Minor tweak. a=jar 2000-03-05 10:29:05 +00:00
warren%netscape.com 7a775f0c48 Bug 21556: Making linux be thread-safe. Trying a little experiment here to see if mac is picking up the new export from xpcom -- easy to back out if it fails. a=jar 2000-03-05 10:20:48 +00:00
gagan%netscape.com 199934c425 First checkin. Not in the build yet. Moving the HTTP event sink from .h to .idl. 2000-03-04 00:40:35 +00:00
valeski%netscape.com 55a9cef80b 25775. a=jar, r=rpotts. We now handled the incorrect 'multipart/mixed' type comming from an HTTP reponse for backwards compat. 2000-03-03 22:44:32 +00:00
mscott%netscape.com 02e129f887 Bug #30281 --> fix for the regression that's keeping the tree closed. unescape was failing on short strings....argggh.
a=granrose
2000-03-03 20:38:59 +00:00
mscott%netscape.com f229bc5301 Bug #26915, #21203, #22960, #29773 --> improve performance of mozTXTToHTMLConv
r=waterson
a=phil,waterson
2000-03-03 06:49:23 +00:00
gagan%netscape.com c0a4c6e6e7 Fix for bug 29477 on behalf of norris. r=gagan. 2000-03-02 21:45:51 +00:00
valeski%netscape.com fc9af05227 updating a test harness 2000-03-02 20:48:40 +00:00
valeski%netscape.com f39902d25a 24033. r=vidur. the multi-mixed-replace converter wasn't clearing it's layover buffer. this was causing headers to bleed into content and double content generation 2000-03-02 20:42:27 +00:00
bruce%cybersight.com 53f52035ac Fix small, localized leak of HTTP atoms. Well tested on MacOS and under Purify with no ill effects. r=gagan 2000-03-02 13:45:28 +00:00
rpotts%netscape.com 6c5d4777ca bug #18267. Changed the marshalled OnDataAvailable event to cancel the transport if the consumer returns a failure. THis ensures that the transport is notified of the error... 2000-03-02 05:49:09 +00:00
davidm%netscape.com 9de3938b25 11701 Product does not run if slash in folder path a = jar r = warren 2000-03-02 01:05:54 +00:00
valeski%netscape.com e180ae64bd 29164. r=shaver. The user agent setup no longer uses a string bundle. UA string formatting changes that use prefs for values. 2000-02-29 20:39:18 +00:00
mkaply%us.ibm.com bae21f473b # 25555
r= warren@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef
2000-02-29 15:40:42 +00:00
warren%netscape.com 698cb6b02b Backing out mac change for dns shutdown because now that we shutdown we crash in OT! 2000-02-29 08:51:18 +00:00
warren%netscape.com 9d98bb6b6f Moving nsCOMPtr.h header to be safe. 2000-02-29 08:45:17 +00:00
warren%netscape.com 70323f92e6 One last fix for dns timing stuff. We weren't releasing the dns thread which caused a circular reference between the service and the thread. Now we get the summary for the timing stats too. a=jevering 2000-02-29 08:44:27 +00:00
ftang%netscape.com 5607438f81 fix bug 14155 . make sure the NS_NewURI handle escaped URI. r=warren a=bobj 2000-02-29 07:04:17 +00:00
warren%netscape.com 9d7edff1bd Rest of fix for dns timing for dotted-quad case. r=gordon,a=jevering 2000-02-29 06:19:32 +00:00
rpotts%netscape.com 3c6be86c6c Fix unix build bustage... 2000-02-29 05:05:08 +00:00
rpotts%netscape.com 04d8935869 bug #24711 (r=gagan). Changed cache channels to behave like transports rather than protocol channels... nsCacheEntryChannel.cpp 2000-02-29 04:45:14 +00:00
rpotts%netscape.com ec568d9a0c bug #29044. Made EOF on sockets detected as soon as possible... 2000-02-29 04:44:51 +00:00
rpotts%netscape.com 7cf8d22c22 bug #24711 (r=gagan). Changed cache channels to behave like transports rather than protocol channels... 2000-02-29 04:44:37 +00:00
valeski%netscape.com c6e8443b96 r=rpotts. a=jar (checkin on red approval = leaf). built, run and pre-checkin tested on all three platforms. 28042. The FTP thread is now threadsafe, and I've reduced the amount of proxy object usage. 2000-02-29 03:29:08 +00:00
warren%netscape.com 187d2b1f36 Bug 29387. Fix ABR problem resulting from recent PDT+ change. code=andreas,r=warren,a=jevering 2000-02-29 01:26:34 +00:00
tbogard%aol.net cf5a3f3925 Changed nsIAppShellService and nsIWindowMediator to talk in terms of nsIXULWindow instead of nsIWebShellWindow. Also removed the function nsIAppShellService::RunModalDialog since windows should be created using the nsIDOMWindow::OpenDialog. r=danm a=jevering 2000-02-29 00:20:55 +00:00
warren%netscape.com 99027292e0 Dns timing for dotted-quad case. r=gordon,a=jevering 2000-02-28 21:42:34 +00:00
gordon%netscape.com a26f46160e Fix for PDT+ bug 25321 "Crash on start w/o internet connection" on Mac. These changes allow the Mac to work in offline mode and browse file: URLs even when OTOpenInternetServices() fails. r=valeski, a=jevering. 2000-02-28 21:18:48 +00:00
gordon%netscape.com 3149a5f199 Fix for PDT+ bug 27496 "DNS Service is not threadsafe on Windows". Added locks around WSAAsyncGetHostByName to protect against the possibility of the call completing before it returns. The lookup object could get deleted before the results were assigned to it. r=valeski, a=jar. 2000-02-27 23:06:00 +00:00
davidm%netscape.com 9819271015 22244 Can not load local file on the mac r warren/sfraser a - jar 2000-02-27 16:19:59 +00:00
valeski%netscape.com de9519f19a r-rpotts, 29293. FTP was choking on servers that didn't support the SIZE command 2000-02-26 15:45:50 +00:00
valeski%netscape.com 6077516007 r=rpotts. The usage of the stream converter service has changed from it's original intent. we can now call FindConverter() without having previously registered a converter, removing the assert that was yelling at us 2000-02-26 06:14:25 +00:00
mscott%netscape.com 638d32ae1d Bug #29279 --> fix crash when loading really large urls by protecting against a buffer over-run.
r=scottip
a=jar
2000-02-26 04:38:07 +00:00
sspitzer%netscape.com 09b7b9db4f fix for #26773, alert when there is a network error in mailnews. r=mscott, a=phil 2000-02-26 01:04:50 +00:00
scc%netscape.com b105f03695 On platforms without pollable events, i.e., (only) the Mac, changed poll timeout from 250msec to 5msec, as a preliminary fix for bug #25108. The real solution is pollable events on the Mac. r={pinkerton, rjc, et al} a=jar (yes, jar, I ran it on multiple Macs of as many different speeds as we could find, and tried different values) 2000-02-25 07:40:11 +00:00
warren%netscape.com 297b5ae539 Fixed mac and solaris build bustage. r=waterson 2000-02-25 07:14:28 +00:00
warren%netscape.com d50d3d3318 Bug 10736 - URL parsing / MakeAbsolute performance. code=putterman,r=warren,andreas,a=jar 2000-02-25 06:17:57 +00:00
bryner%uiuc.edu 6985354db4 Adding a new flag to the Win32 build system. Set DISABLE_TESTS=1 to skip
building in the tests directories.  Should not affect the build at all if
you do not have this environment variable.  r=leaf.
2000-02-25 04:12:40 +00:00
ruslan%netscape.com fd131ca2e4 Fix a few bugs in http chunk encoding converter. This version represents
actually half-way decently working chunk converter. Works fine with NES4.1
at least. Haven't tried IIS5 yet. Not part of the build yet.
2000-02-25 00:55:30 +00:00
gagan%netscape.com 7cdb864d4a Made the crash go away only in release builds... hopefully this will help us track the real problem. a=jevering. 2000-02-24 05:36:52 +00:00
warren%netscape.com 65dad6ba58 Added ability to get dns timing info. Set DNS_TIMING env var, and get dns-timing.txt file. For bug 28012 and others. r=gordon,a=jevering 2000-02-24 04:17:43 +00:00
bienvenu%netscape.com 8464f8f4be fix build bustage for gagan 2000-02-24 02:44:44 +00:00
gagan%netscape.com 02db4b6aa0 FTP's change for checking the proxy setting. r=valeski 2000-02-24 02:10:32 +00:00
gagan%netscape.com e96a097007 Removed the check for proxy types here with the latest change in protocolproxyservice. r-valeski 2000-02-24 02:09:46 +00:00
gagan%netscape.com a38a9745a3 Completing the last change. r=valeski. 2000-02-24 02:08:01 +00:00
gagan%netscape.com cf9f7d2945 Removing the linux orange... and possibly windows assertions. 2000-02-24 01:56:12 +00:00
rpotts%netscape.com 5a08fda337 bug #23777 (r=valeski). Reworked the parsing of the HTTP server version to avoid a floating-point rounding error which caused the server version to be incorrect... 2000-02-23 23:57:20 +00:00
valeski%netscape.com b91b7e2bc2 28782. a=jar. r=alecf. nsHTTPHandler now has an extra product token for the User Agent string. we now use the PRUnichar = operator for string stuff, and retrieve vendor info from a string bundle. 2000-02-23 22:50:45 +00:00
norris%netscape.com d64387736b Fix 28612 META Refresh allowed in Mail/News
r=mstoltz,a=jar
Fix 28658 File upload vulnerability
r=vidur,a=jar
2000-02-23 22:34:40 +00:00
gagan%netscape.com d4293a9bc7 r=valeski,rjc a=jar. Fixes for the following bugs-
bug 1582 - HTTP Referer header problem.
This is now resolved with a preference (network.sendRefererHeader)
If set to 0 no referrer header is sent (ever) If set to 1 the
referrer header is sent only in cases of user link-clicks and if
set to 2 is sent from image requests as well.

bug 17158 - No Proxies For wasn't implemented.
This was not being read correctly and I also moved and cleaned up
the parsing function to nsProtocolProxyService (thereby also
killing bug 27728)

bug 24642 - http://www.win98central.com/#437 was crashing.
bug 26686 - crash in nsHTTPRequest destructor.
Both of these crashes were because of the nsHTTPRequest being
unconditionally released in the destructor of nsHTTPChannel. Although the main problem remains, I have made it a non-crasher now.

bug 27844 - HTTP breaks when only using FTP proxy.
This was happening because we were not resetting values of the
proxy when they are removed from the preference pane.
2000-02-23 21:17:17 +00:00
valeski%netscape.com f5768f57da r=andreas. a=jevering. fixing leaky sieve. Another example of where a comptr saves the day. 2000-02-23 20:19:46 +00:00
andreas.otte%primus-online.de 4bab528fd5 preparation for fixing bug 11701, removing not needed / from ftp dir listings r=valeski@netscape.com, a=leaf@mozilla.org 2000-02-23 20:05:30 +00:00
bryner%uiuc.edu 4cac20b614 Changing this to use the TEXT_PLAIN define instead of the string
"text/plain".  r=shaver, a=waterson.
2000-02-23 06:53:46 +00:00
rpotts%netscape.com 9e05e2270a Added nsStreamListenerEvent to the leak/bloat logging... 2000-02-23 05:22:14 +00:00
rpotts%netscape.com af2ce4b071 bug #21556. Gave nsHTTPChannel, nsHTTPResponseListener, nsHTTPRequest and nsHTTPEncodeStream thread-safe implementations of AddRef() and Release() since those methods are called on multiple threads... 2000-02-23 04:38:42 +00:00
valeski%netscape.com 235ec122da r=rhp, a-leaf. Fixing a crasher before it hits us 2000-02-22 22:44:38 +00:00
ruslan%netscape.com 39972a5e0c Add initial implementation of http/1.1 chunk-encoding converters. Not
included into the build for the time being.
2000-02-22 01:46:23 +00:00
rpotts%netscape.com 9929b50e15 bug #22428. Added a per-instance intermediate buffer in the SocketTransport to accomadate calling AsyncWrite(...) with an nsIInputStream that does not support nsIBufferedInputStream. 2000-02-21 06:51:36 +00:00
bruce%cybersight.com 072dd20796 Fix a FMM error. r,a=waterson 2000-02-21 05:22:43 +00:00
dveditz%netscape.com a63ee75907 Bug 23941 speed up install on Mac, r=cathleen, a=jar;
Bug 12817 no Autoreg (in optimized builds) unless xpinstall detects flag indicating install has happened or build number changed, r=dp, a=jar;
Bug 23859 add wstring API to nsIRegistry for profile manager/i18n, r=gayatrib, a=jar;
2000-02-20 03:12:59 +00:00
rpotts%netscape.com 134ab7531e Partial fix for bug #24711 (r=valeski). If a channel which had been deferred because no socket transports were available resumed and found a valid cache entry it would stall (never finish). A notable example of this was http://www.abcnews.com 2000-02-19 00:58:22 +00:00
valeski%netscape.com b04b1a5255 removing an un-necessary comment 2000-02-18 23:38:13 +00:00
ftang%netscape.com a2c4d17325 fix bug 28197 (firt part of 14155). Change the damage data ToNewCString to ToNewUTF8String. r=warren, a=bobj 2000-02-18 23:15:46 +00:00
rpotts%netscape.com 47272f2333 Fixed Mac warning which was masking a potential Mac-only bug... 2000-02-18 21:39:26 +00:00
rpotts%netscape.com 58e4f59125 bug #28336 (r=mscott). Mozilla hangs on shutdown (windows only) waiting for the DNS thread to terminate. 2000-02-18 06:27:42 +00:00
cls%seawood.org 5975077af0 More tweaks needed to get BeOS to compile for M14. For now, we use the Unix local file implementation. a,r=leaf 2000-02-17 20:24:24 +00:00
gordon%netscape.com 66048bb5c7 Fix for bug #23709 "[top100][talkback]Crash in nsSocketTransport::OnFound on home.netscape.com cnn.com". WSAAsyncGetHostByName doesn't return unique IDs on Win95 with winsock2, so the code has been changed to rely on a range of Windows event message IDs instead. Also partial fix for #25321 "crash on start w/o internet connection". Check for nil member fields before using them in shutdown code. r=warren, a=jar. 2000-02-17 03:34:34 +00:00
gordon%netscape.com 1a4b8101d3 Also partial fix for #25321 "crash on start w/o internet connection". Check for nil member fields before using them in shutdown code. r=warren, a=jar. 2000-02-17 03:34:16 +00:00
davidm%netscape.com a8348da192 26171 Trigger bigfile .xpi a 2nd time results in -207 install fail 25585 Leaking a C string 25590 Leaking C string in cache co 20893 Cache preferences need to be hooked up r = gordon@netscape.com 2000-02-16 07:48:06 +00:00
rhp%netscape.com 65dfac4627 Fixing last checkin...changed wrong comma. 2000-02-16 05:33:17 +00:00
rhp%netscape.com 9768f6df4c Fix for problem terminating detection on commas - Bug #: 27716 - r: rhp (BenB contribution) 2000-02-16 04:50:54 +00:00
andreas.otte%primus-online.de 00ce70d63e fix for bug 27683: nsStdURL::SetSpec shouldn't modify in parameter r=putterman@netscape.com 2000-02-16 00:28:35 +00:00
valeski%netscape.com 24868a22e8 r=rhp. we want to reset any previously set proxy info if we're not supposed to be using proxies. 2000-02-16 00:07:55 +00:00
valeski%netscape.com e2429cef3e fixing a linux warning, re-ordering initialization to match declaration order in .h 2000-02-16 00:05:06 +00:00
andreas.otte%primus-online.de 394051e43c fix for bug 27519, URL parser mangles parameters delimited by semicolons, adds them to requested filename, r=gagan@netscape.com 2000-02-15 23:32:04 +00:00
valeski%netscape.com 19107265e4 no longer used as part of FTP proxy changes 2000-02-15 22:25:33 +00:00
brade%netscape.com aa90de6972 remove nsFTPListener.cpp (r=valeski) 2000-02-15 22:25:14 +00:00