Commit Graph

1620 Commits

Author SHA1 Message Date
gagan%netscape.com
29705b3412 Fix for bug 29477 on behalf of norris. r=gagan.
git-svn-id: svn://10.0.0.236/trunk@62078 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 21:45:51 +00:00
valeski%netscape.com
7b33a39721 updating a test harness
git-svn-id: svn://10.0.0.236/trunk@62070 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 20:48:40 +00:00
valeski%netscape.com
042424bf28 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
git-svn-id: svn://10.0.0.236/trunk@62068 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 20:42:27 +00:00
bruce%cybersight.com
28c2c1e7e3 Fix small, localized leak of HTTP atoms. Well tested on MacOS and under Purify with no ill effects. r=gagan
git-svn-id: svn://10.0.0.236/trunk@62057 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 13:45:28 +00:00
rpotts%netscape.com
e54a3271ae 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...
git-svn-id: svn://10.0.0.236/trunk@62031 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 05:49:09 +00:00
davidm%netscape.com
aa23c62ad6 11701 Product does not run if slash in folder path
a = jar r = warren


git-svn-id: svn://10.0.0.236/trunk@62011 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 01:05:54 +00:00
valeski%netscape.com
31d191de79 29164. r=shaver. The user agent setup no longer uses a string bundle. UA string formatting changes that use prefs for values.
git-svn-id: svn://10.0.0.236/trunk@61887 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 20:39:18 +00:00
mkaply%us.ibm.com
bc38f9abb8 # 25555
r= warren@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef


git-svn-id: svn://10.0.0.236/trunk@61869 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 15:40:42 +00:00
warren%netscape.com
fdacc5ac74 Backing out mac change for dns shutdown because now that we shutdown we crash in OT!
git-svn-id: svn://10.0.0.236/trunk@61859 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 08:51:18 +00:00
warren%netscape.com
026330e163 Moving nsCOMPtr.h header to be safe.
git-svn-id: svn://10.0.0.236/trunk@61858 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 08:45:17 +00:00
warren%netscape.com
d2304d6434 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
git-svn-id: svn://10.0.0.236/trunk@61857 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 08:44:27 +00:00
ftang%netscape.com
09fbc986bb fix bug 14155 . make sure the NS_NewURI handle escaped URI. r=warren a=bobj
git-svn-id: svn://10.0.0.236/trunk@61851 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 07:04:17 +00:00
warren%netscape.com
cf71b8a5d7 Rest of fix for dns timing for dotted-quad case. r=gordon,a=jevering
git-svn-id: svn://10.0.0.236/trunk@61842 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 06:19:32 +00:00
rpotts%netscape.com
2bc8ade797 Fix unix build bustage...
git-svn-id: svn://10.0.0.236/trunk@61841 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 05:05:08 +00:00
rpotts%netscape.com
a41498ae21 bug #24711 (r=gagan). Changed cache channels to behave like transports rather than protocol channels... nsCacheEntryChannel.cpp
git-svn-id: svn://10.0.0.236/trunk@61840 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 04:45:14 +00:00
rpotts%netscape.com
bd06a87d5e bug #29044. Made EOF on sockets detected as soon as possible...
git-svn-id: svn://10.0.0.236/trunk@61839 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 04:44:51 +00:00
rpotts%netscape.com
67c7a2fd94 bug #24711 (r=gagan). Changed cache channels to behave like transports rather than protocol channels...
git-svn-id: svn://10.0.0.236/trunk@61838 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 04:44:37 +00:00
valeski%netscape.com
62b4256381 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.
git-svn-id: svn://10.0.0.236/trunk@61829 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 03:29:08 +00:00
warren%netscape.com
b6e9fcd727 Bug 29387. Fix ABR problem resulting from recent PDT+ change. code=andreas,r=warren,a=jevering
git-svn-id: svn://10.0.0.236/trunk@61822 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 01:26:34 +00:00
tbogard%aol.net
13b61ed851 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
git-svn-id: svn://10.0.0.236/trunk@61816 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 00:20:55 +00:00
warren%netscape.com
02d2e6085d Dns timing for dotted-quad case. r=gordon,a=jevering
git-svn-id: svn://10.0.0.236/trunk@61808 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-28 21:42:34 +00:00
gordon%netscape.com
fa7047606d 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.
git-svn-id: svn://10.0.0.236/trunk@61802 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-28 21:18:48 +00:00
gordon%netscape.com
01eb9dff9d 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.


git-svn-id: svn://10.0.0.236/trunk@61774 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-27 23:06:00 +00:00
davidm%netscape.com
f6f8de1983 22244 Can not load local file on the mac
r warren/sfraser a - jar


git-svn-id: svn://10.0.0.236/trunk@61768 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-27 16:19:59 +00:00
valeski%netscape.com
78bd116b65 r-rpotts, 29293. FTP was choking on servers that didn't support the SIZE command
git-svn-id: svn://10.0.0.236/trunk@61744 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-26 15:45:50 +00:00
valeski%netscape.com
0b6ac3f2a9 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
git-svn-id: svn://10.0.0.236/trunk@61738 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-26 06:14:25 +00:00
mscott%netscape.com
3a3d4914dc Bug #29279 --> fix crash when loading really large urls by protecting against a buffer over-run.
r=scottip
a=jar


git-svn-id: svn://10.0.0.236/trunk@61737 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-26 04:38:07 +00:00
sspitzer%netscape.com
3ee3d2a564 fix for #26773, alert when there is a network error in mailnews. r=mscott, a=phil
git-svn-id: svn://10.0.0.236/trunk@61714 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-26 01:04:50 +00:00
scc%netscape.com
18f085ee06 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)
git-svn-id: svn://10.0.0.236/trunk@61657 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-25 07:40:11 +00:00
warren%netscape.com
8bc18ddbde Fixed mac and solaris build bustage. r=waterson
git-svn-id: svn://10.0.0.236/trunk@61656 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-25 07:14:28 +00:00
warren%netscape.com
fb735cb6f6 Bug 10736 - URL parsing / MakeAbsolute performance. code=putterman,r=warren,andreas,a=jar
git-svn-id: svn://10.0.0.236/trunk@61655 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-25 06:17:57 +00:00
bryner%uiuc.edu
fb74001790 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.


git-svn-id: svn://10.0.0.236/trunk@61647 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-25 04:12:40 +00:00
ruslan%netscape.com
1ec16d5d81 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.


git-svn-id: svn://10.0.0.236/trunk@61622 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-25 00:55:30 +00:00
gagan%netscape.com
0633641153 Made the crash go away only in release builds... hopefully this will help us track the real problem. a=jevering.
git-svn-id: svn://10.0.0.236/trunk@61591 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 05:36:52 +00:00
warren%netscape.com
07f1bef031 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
git-svn-id: svn://10.0.0.236/trunk@61583 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 04:17:43 +00:00
bienvenu%netscape.com
013bb0305a fix build bustage for gagan
git-svn-id: svn://10.0.0.236/trunk@61562 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 02:44:44 +00:00
gagan%netscape.com
9ff37795da FTP's change for checking the proxy setting. r=valeski
git-svn-id: svn://10.0.0.236/trunk@61561 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 02:10:32 +00:00
gagan%netscape.com
4426486abd Removed the check for proxy types here with the latest change in protocolproxyservice. r-valeski
git-svn-id: svn://10.0.0.236/trunk@61560 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 02:09:46 +00:00
gagan%netscape.com
e61e81e125 Completing the last change. r=valeski.
git-svn-id: svn://10.0.0.236/trunk@61559 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 02:08:01 +00:00
gagan%netscape.com
422326b7f8 Removing the linux orange... and possibly windows assertions.
git-svn-id: svn://10.0.0.236/trunk@61556 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 01:56:12 +00:00
rpotts%netscape.com
f69e4b3fee 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...
git-svn-id: svn://10.0.0.236/trunk@61540 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 23:57:20 +00:00
valeski%netscape.com
f79435262e 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.
git-svn-id: svn://10.0.0.236/trunk@61530 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 22:50:45 +00:00
norris%netscape.com
bf96355ad4 Fix 28612 META Refresh allowed in Mail/News
r=mstoltz,a=jar
Fix 28658 File upload vulnerability
r=vidur,a=jar


git-svn-id: svn://10.0.0.236/trunk@61523 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 22:34:40 +00:00
gagan%netscape.com
570f14d71b 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.


git-svn-id: svn://10.0.0.236/trunk@61512 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 21:17:17 +00:00
valeski%netscape.com
a430ade485 r=andreas. a=jevering. fixing leaky sieve. Another example of where a comptr saves the day.
git-svn-id: svn://10.0.0.236/trunk@61501 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 20:19:46 +00:00
andreas.otte%primus-online.de
8d8064f641 preparation for fixing bug 11701, removing not needed / from ftp dir listings r=valeski@netscape.com, a=leaf@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@61499 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 20:05:30 +00:00
bryner%uiuc.edu
b6cefe359f Changing this to use the TEXT_PLAIN define instead of the string
"text/plain".  r=shaver, a=waterson.


git-svn-id: svn://10.0.0.236/trunk@61481 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 06:53:46 +00:00
rpotts%netscape.com
119799c188 Added nsStreamListenerEvent to the leak/bloat logging...
git-svn-id: svn://10.0.0.236/trunk@61479 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 05:22:14 +00:00
rpotts%netscape.com
6d00563bd8 bug #21556. Gave nsHTTPChannel, nsHTTPResponseListener, nsHTTPRequest and nsHTTPEncodeStream thread-safe implementations of AddRef() and Release() since those methods are called on multiple threads...
git-svn-id: svn://10.0.0.236/trunk@61475 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 04:38:42 +00:00
valeski%netscape.com
de19ead62a r=rhp, a-leaf. Fixing a crasher before it hits us
git-svn-id: svn://10.0.0.236/trunk@61449 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-22 22:44:38 +00:00