Commit Graph

1986 Commits

Author SHA1 Message Date
scc%netscape.com
df36229f97 making string conversions explicit 2000-04-15 06:52:12 +00:00
scc%netscape.com
90f6c2cb90 making string conversions explicit 2000-04-15 06:42:27 +00:00
scc%netscape.com
5510895b32 making string conversions explicit 2000-04-15 05:40:34 +00:00
gagan%netscape.com
bc24301e63 Fix for bug 28950. Header values in nsHeaderEntry are now CString instead of the nsString. 2000-04-15 03:22:36 +00:00
gagan%netscape.com
1e9dd41460 Fix for 32813. Moved the hardcoded tests out into a separate file and added functionality to specify that file. Look at urltests.dat in this directory for more info. 2000-04-15 01:47:17 +00:00
gagan%netscape.com
1b5a686b76 First checkin of all the url parsing related tests. Not in the build. 2000-04-15 01:44:57 +00:00
ruslan%netscape.com
3485166c98 Implement firing of OnStartRequest regardless of the error code but don't
enable it yet till the webshell is fixed.
2000-04-15 00:01:23 +00:00
valeski%netscape.com
673a539153 re-write of multi-mixed converter so it handles binary data. also have the unknown decoder looking for script tags. 2000-04-14 21:27:32 +00:00
ruslan%netscape.com
848ca9862f Fix 35508, 33762, 35024. 2000-04-14 21:10:27 +00:00
warren%netscape.com
e495d8bf34 Fixed to truncate by default. Fixed permissions to default to 664. 2000-04-14 09:32:24 +00:00
warren%netscape.com
5be72cd60a Fixed leak in AsyncRead/AsyncWrite. r=danm 2000-04-14 05:29:21 +00:00
ftang%netscape.com
94e2018782 check in fix of 29341 . patched submitted by m_kato@ga2.so-net.ne.jp
Make sure the \ to / conversion respect double byte system on window.
2000-04-14 04:43:02 +00:00
jbetak%netscape.com
b74494e409 r=valeski, exposing channel for 32604 Trunk fix for illegal use of nsString-external JavaScript 2000-04-14 02:46:28 +00:00
ruslan%netscape.com
88cc8694d8 Fix 35024 - add new API to the socketTransportService to see how many
connections are alive/in-progress/etc.
2000-04-13 22:30:21 +00:00
ruslan%netscape.com
e30c647fbc In case of getting Connection: close during http/1.1 response - don't
record the capabilities of such server.
2000-04-13 21:19:27 +00:00
ruslan%netscape.com
5dff88a180 Partially fix 34743. Handle 100 (Continue) responses. Add an exclusion list
for servers with broken 1.1/pipelining. Fire onstop in case of the error on
all queued up channels in the pipeline.
2000-04-13 20:48:19 +00:00
gagan%netscape.com
b1542cff0d Backing out last changes since warren has the new ones. 2000-04-13 19:50:43 +00:00
gagan%netscape.com
a8aac69619 35564 MLK fixes and IOService optimization from beard. 2000-04-13 19:44:15 +00:00
gagan%netscape.com
623ba9e199 Fixed the testserver to print arbitrary content-length request. So you can now try http://<testserver>/?Length=N to get back a document with content-length of N. This is not in the build. 2000-04-13 19:20:54 +00:00
warren%netscape.com
dd13ffb6ac Fixed assertion problem with rv/rv2. 2000-04-13 10:07:13 +00:00
warren%netscape.com
4d06e7376a Fixed RemoveChannel problem. 2000-04-13 10:02:32 +00:00
warren%netscape.com
503913645b Added some cleanup. 2000-04-13 09:30:09 +00:00
warren%netscape.com
cb7cb57ef6 Removed 2000-04-13 09:22:09 +00:00
warren%netscape.com
25540ff9db Added nsIStreamIO.idl. Removed nsIFileSystem.idl. 2000-04-13 09:20:57 +00:00
warren%netscape.com
c544ed30ef Factoring stream i/o operations into nsIStreamIO interface. 2000-04-13 09:20:50 +00:00
warren%netscape.com
15ae528e0d Added nsIStreamIO.idl 2000-04-12 21:32:15 +00:00
warren%netscape.com
d17c5946a1 Moved nsXPIDLString.h out of ifdef for optimized builds. 2000-04-12 08:25:32 +00:00
warren%netscape.com
2979b9b4c6 Added nsIZipReaderCache. Removed nsIZipReader::ParseManifest. Got jar: protocol going for downloaded jars and input streams. Added assertions that Cancel is called with a failure code. 2000-04-12 07:58:24 +00:00
ruslan%netscape.com
6658571391 Landing link-click problem fix. Also fix DNS lockup (gordon) on Windows,
memory leak of socket transports during pipelined request, add timeout
setters on socket transport, add a restriction on the number of keep-alive
connections.
2000-04-12 01:47:22 +00:00
bryner%uiuc.edu
bb6f3013c1 Enable parsing of URL's in finger: text. bug 26753. r=valeski, a=ftang. 2000-04-11 22:41:02 +00:00
ruslan%netscape.com
084eb9ad88 Fix 35344, r=dougt, a=leaf 2000-04-10 21:41:55 +00:00
ruslan%netscape.com
6d0e87ac8e Fixing the first part of 35344, r=dougt, a=leaf. 2000-04-10 20:02:33 +00:00
cls%seawood.org
932870c3c6 Set SHORT_LIBNAME for 8.3 platforms. 2000-04-08 00:39:39 +00:00
gagan%netscape.com
8429a748bc Some test changes to allow echoing requests at arbitrary locations in urlmap. You can now use ECHO [HTTPHeader] to display all headers (if HTTPHeader is not specified) or that header value as it came in the request. See <your-testserver>/echo for an example. Not in build (a=leaf) 2000-04-07 23:14:52 +00:00
davidm%netscape.com
5f1d8e929a 34713 Incorrect MIME type for .dtd files causes browser to not sta r=sfraser a =jj 2000-04-07 00:31:04 +00:00
mscott%netscape.com
c8d4aa91c4 Bug #34561 --> we were reporting false timeouts with connection based protocols
r=ruslan,warren
a=granrose
2000-04-05 21:15:44 +00:00
warren%netscape.com
f1f675ff42 Fix to not call OnStartRequest if channel has been canceled. Bug #31957 2000-04-05 06:46:00 +00:00
cls%seawood.org
0bb85bf87e Added newline to end of these files to placate the HP compiler.
So when are we going to make build/unix/print-non-newline.sh part of the cvs-commit filter?
2000-04-05 06:18:10 +00:00
bryner%uiuc.edu
1639ba6502 Making nsTXTToHTMLConv implement nsITXTToHTMLConv. r=valeski. 2000-04-05 05:53:35 +00:00
bryner%uiuc.edu
79b1a41cae Adding nsITXTToHTMLConv.idl to the build on Windows and Unix. 2000-04-05 05:49:34 +00:00
bryner%uiuc.edu
7ecfb4869f This CID definition is not needed. 2000-04-05 05:47:29 +00:00
valeski%netscape.com
657b1bb8b9 adding nsITXTToHTMLConv.idl 2000-04-05 05:34:36 +00:00
bryner%uiuc.edu
251632c042 Adding a new interface for the text to HTML converter. 2000-04-05 05:21:13 +00:00
ruslan%netscape.com
600f5592b7 Fix pipelining case when chunk encoding stream is pushed (pipelining is
not a default yet).
2000-04-05 05:08:40 +00:00
ruslan%netscape.com
be9ac37c1b Fix 34359 - nsSocketTransport timeout should also work while waiting on
actual data, not only while connecting.
2000-04-05 04:49:35 +00:00
ruslan%netscape.com
40c957386d Fix uninitialized variable. Minor code cleanup. 2000-04-05 04:38:08 +00:00
valeski%netscape.com
4f4a4b93e8 r=rhp, mscott. 34401. adding nsTXT converter back into the mix and removing prog id collision between it and mozTXT converter 2000-04-05 04:12:29 +00:00
davidm%netscape.com
c8ecb0ef34 No idea why this built for me. Change '????' to hex equivalent 2000-04-05 03:29:40 +00:00
davidm%netscape.com
e5bf8b4556 31054 'TEXT' file which contains non ASCII does not open correctly 2000-04-05 03:03:50 +00:00
davidm%netscape.com
919474fe4d 31054 TEXT' file which contains non ASCII does not open correctly 2000-04-05 03:01:51 +00:00
davidm%netscape.com
48b47ac67d First Checked In. 2000-04-05 03:00:00 +00:00
mkaply%us.ibm.com
16e912ab31 # 34082
r= warren@netscape.com
OS/2 Visual Age build - Adding PR_CALLBACK to some functoins for linkage
2000-04-05 02:32:07 +00:00
mkaply%us.ibm.com
cec23e5384 # 33859
r= warren@netscape.com
OS/2build - add or change #ifdefs
2000-04-05 02:14:34 +00:00
ruslan%netscape.com
2f521bf728 Landing the next batch of http pipelining changes. Still not enabled by default
(but you can set a pref in all.js and it'll work and some sites will load
ultra-fast). pipelining_reorg_point2 is pre-checkin tag in case of major
bustages (which there should be none).
2000-04-05 01:43:57 +00:00
sspitzer%netscape.com
89f1316e50 remove my debugging printf. 2000-04-05 00:53:44 +00:00
davidm%netscape.com
d1da2233ff 34314 Whacky permissions on Cache directories. 2000-04-05 00:08:21 +00:00
pavlov%netscape.com
8242fd6791 Make nsIFileURL scriptable and QueryInterfaceable. fix bug #34335 and 34328 and 34470. Minor cleanups on unix file picker dialog 2000-04-04 23:50:41 +00:00
ruslan%netscape.com
60817bcb13 Fix 34491 - tree blocker. Double-free in http compress converter. 2000-04-04 22:09:47 +00:00
bruce%cybersight.com
6273154896 Fix leak. #34396. r=ruslan 2000-04-04 14:58:12 +00:00
warren%netscape.com
e3f8423ef9 Added assertions to prove that cancel was being used in a thread-safe way. Bug 31091. 2000-04-04 08:49:49 +00:00
warren%netscape.com
be2da70b76 Making nsJARDownloadObserver have thread-safe addref/release. 2000-04-04 08:34:37 +00:00
cls%seawood.org
fdd09457b4 Fix for EXTRA_DSO_LIBS in rules.mk
OS/2 Makefile.in changes (Patch 4a).  Bug #34106
2000-04-04 07:37:50 +00:00
sspitzer%netscape.com
58f71c90cd fix for #34401. partial backout of valeski's changes.
thanks to mscott, putterman and bienvenu for the detective work.
2000-04-04 07:14:01 +00:00
warren%netscape.com
91aed9a261 Changed 'default' content type to application/x-unknown-content-type (was text/html!). 2000-04-04 07:13:22 +00:00
warren%netscape.com
4bff76e760 Fixed uninitialized variable. 2000-04-04 07:11:30 +00:00
warren%netscape.com
1e3761ff4d Fix to make download observer not crash. 2000-04-04 05:56:11 +00:00
cls%seawood.org
f6740baa20 Moved static MOZ_COMPONENT_NSPR_LIBS, MOZ_COMPONENT_XPCOM_LIBS, MOZ_COMPONENT_LIBS definitions from configure.in to config.mk. Replaced -lxpcom in Makefiles to $(XPCOM_LIBS) so that we can optionally link against -lboehm when needed. Bug #31287 2000-04-04 04:46:38 +00:00
bruce%cybersight.com
68c3380b79 Fix for leak of nsByteArrayInputStream objects and associated buffers from nsHTTPChunkConv. r=scc 2000-04-04 04:35:25 +00:00
gordon%netscape.com
49be022331 Fix for bug 23811 "Support IPv6". Integrating diffs by jgmeyers, r= wtc. 2000-04-03 23:41:53 +00:00
davidm%netscape.com
7d74a5a853 viewer crashing on http url 2000-04-03 22:53:39 +00:00
valeski%netscape.com
88d7fe3689 adding text to html conversion to unix builds 2000-04-03 22:46:38 +00:00
valeski%netscape.com
8906531d96 adding text to html converter to mac prj 2000-04-03 22:43:21 +00:00
valeski%netscape.com
720ad41b96 adding plain text to html text stream converter to converter factory list and build 2000-04-03 22:41:33 +00:00
valeski%netscape.com
bdfaaaeb80 adding asynchronous text/plain to text/html stream conversion - NOT PART OF BUILD 2000-04-03 21:41:19 +00:00
davidm%netscape.com
12bc8b0f4f unregister pref callbacks turn on compile flag for disk cache 2000-04-03 01:58:17 +00:00
davidm%netscape.com
7e8ae39cbf unregister pref listeners r = gordon@netscape.com 2000-04-03 01:56:15 +00:00
davidm%netscape.com
9d9886c47f update channel to work with warrens changes 2000-04-03 01:47:43 +00:00
davidm%netscape.com
9c35ae4635 32610 nsReplacementPolicy::LoadAllRecordsInAllCacheDatabases( 2000-04-03 01:46:45 +00:00
scc%netscape.com
aaec909a45 making string conversions explicit 2000-04-02 09:10:15 +00:00
scc%netscape.com
10bdd44b99 making string conversions explicit 2000-04-02 08:56:00 +00:00
scc%netscape.com
8b2f93643b making string conversions explicit 2000-04-02 08:34:55 +00:00
bruce%cybersight.com
ac75c5e962 Re-order constructor stuff to remove warnings. 2000-04-02 00:59:38 +00:00
scc%netscape.com
e6ee6bb3f2 making string conversions explicit 2000-04-01 23:29:51 +00:00
scc%netscape.com
bedd8b30b7 making string conversions explicit; fixing some |nsCOMPtr| usages 2000-04-01 23:25:15 +00:00
scc%netscape.com
e6cdf16c0b making string conversions explicit 2000-04-01 22:52:50 +00:00
scc%netscape.com
f58ac20116 making string conversions explicit 2000-04-01 22:45:09 +00:00
scc%netscape.com
52e40e9c6d making string conversions explicit 2000-04-01 22:31:00 +00:00
valeski%netscape.com
a8b5655f5a ensuring that we're always firing this callback to an event queue. we don't want to directly callback the caller recurively this is an async call 2000-04-01 14:57:47 +00:00
cls%seawood.org
cd487cbabb Set SHORT_LIBNAME in cases that library name will exceed 8 chars for OS/2. Bug #34106 a=leaf 2000-04-01 10:18:48 +00:00
andreas.otte%primus-online.de
194749371e This time for real: fix part of bug 32997, file URLs that include a hostname don't work, r=valeski@netscape.com
Previous checkin was a fix for bug 31854, [4.xP] Unable to open www.foo.com:/some/dir (note colon), r=valeski@netscape.com, sorry for the mixup.
2000-04-01 09:03:21 +00:00
andreas.otte%primus-online.de
faac20c870 fix part of bug 32997, file URLs that include a hostname don't work, r=valeski@netscape.com 2000-04-01 08:51:17 +00:00
ruslan%netscape.com
eae17b4d91 Fix a small memory leak in OnStopRequest introduced by earlier checkins 2000-04-01 08:13:48 +00:00
ruslan%netscape.com
d60b972e28 Fix potential crasher when we hit max-conections and wait (resulted from
quick and dirty mac-bustage fix - it introduced erroneous extra ns_release).
2000-04-01 08:04:06 +00:00
ruslan%netscape.com
0713b87afe Fix MAC bustage - quick and dirty. 2000-04-01 06:50:56 +00:00
ruslan%netscape.com
9586219ba8 Fix linux build bustage 2000-04-01 05:59:27 +00:00
ruslan%netscape.com
5db8127f56 Landing first cut of http pipelining (2487). Don't turn it on yet. Also fix
sockettransport leakage (33929). In case of major bustage - pipelining_reorg_point
is the tag before the check in.
2000-04-01 05:19:33 +00:00
scc%netscape.com
c05019b2a8 making string conversions explicit 2000-04-01 00:39:02 +00:00
valeski%netscape.com
631cb6c898 preperation for new string api changes. We still have the potential for data loss here if pushbackbuffer contains double bytes, but we're better off then the old memcpy 2000-04-01 00:29:51 +00:00
valeski%netscape.com
8d9f80d627 ditching old string api in preperation for new string stuff 2000-04-01 00:14:31 +00:00
valeski%netscape.com
5d44d8e64d 33935. r=dougt. I built on all three platforms. I smoketested win and linux, but mac is hanging after profile mgr so I can't verify it. When the CSS loader would try and load a non-existant local css file, we would crash. Now we post the OnComplete() callback asynchronously to the event queue so the CSS loader isn't entered recursively, and life is good again 2000-03-31 20:39:16 +00:00
rickg%netscape.com
afe9bbd6d3 removed references to nsString2 2000-03-31 10:19:31 +00:00
rickg%netscape.com
4070be753e removed reference to nsString2 2000-03-31 10:13:22 +00:00
rickg%netscape.com
85601a6934 fixed include problem 2000-03-31 10:08:49 +00:00
rickg%netscape.com
6ca9f83017 removed references to nsString2 2000-03-31 10:05:30 +00:00
rickg%netscape.com
22d9c58328 removed references to nsString2 2000-03-31 09:34:43 +00:00
rickg%netscape.com
08335d2d02 removed nsString2 reference 2000-03-31 09:12:35 +00:00
ruslan%netscape.com
fb1e0141c1 Fix solaris build bustage, r=gordon 2000-03-30 23:07:04 +00:00
law%netscape.com
07055c7f68 New test to do I/O on multiple threads; not built yet 2000-03-30 22:49:36 +00:00
ruslan%netscape.com
06052d9920 Preparing for pipelining landing: keep the list of server capabilities now.
Make prefs reader more intelligent. Don't cache pages with security info
for now to let daugh to get through his bugs; Make proxy.keep-alive/
proxy.pipelining to be prefs as well; p/r=warren
2000-03-30 22:24:29 +00:00
gordon%netscape.com
70e003409f Fix for bug 33569 "MLK: nsDNSLookup::InitiateLookup()". Added a missing nsAllocator::Free(). r = saari. 2000-03-30 22:22:47 +00:00
warren%netscape.com
69ca3f19d4 Bug 28269. jar file cache should open local files in place 2000-03-30 08:13:50 +00:00
warren%netscape.com
351d82c77b Making jar: protocol work in general, and OpenInputStream in particular. 2000-03-30 07:39:31 +00:00
jim_nance%yahoo.com
dc0e139673 Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
days for module owners to comment on.  r=troy@netscape.com
2000-03-30 03:21:26 +00:00
tbogard%aol.net
2f30133a36 Adding the attribute referrer so that you can get the referrer from the channel once you have previously set it. 2000-03-30 02:18:52 +00:00
valeski%netscape.com
6be78f079f 29754. fixed a couple warnings, removed FTP dependence on xul window for prompting, and started using the nsIPrompt interface. 2000-03-30 01:00:29 +00:00
valeski%netscape.com
17c882b79a updating the stream converter tests. registration now happens in nsConvFactories.cpp 2000-03-29 23:14:52 +00:00
alecf%netscape.com
08200aa661 reduce dependancies on nsIPref.h 2000-03-29 09:46:39 +00:00
warren%netscape.com
8426271c58 Removed extra number of open transports test. 2000-03-29 06:44:10 +00:00
warren%netscape.com
998a989f7d Added prio.h for linux. 2000-03-29 04:46:19 +00:00
warren%netscape.com
e1cef0b2bc Fixed nsCOMPtr problem in ?: statement. 2000-03-29 04:38:38 +00:00
warren%netscape.com
fa4844d2c2 Fixed 0 => LL_ZERO problem. 2000-03-29 04:30:01 +00:00
warren%netscape.com
727f312b32 Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread. 2000-03-29 03:58:50 +00:00
ruslan%netscape.com
33a244dd7b Fix 33688. When both - chunked and compressed response comes in converters
were pushed in the wrong order.
2000-03-29 03:35:14 +00:00
ruslan%netscape.com
54e93cb367 Make converters implement threadsafe_isupports 2000-03-29 03:19:14 +00:00
ruslan%netscape.com
68a01f2642 Fix 33631 - crash when 304 is received but there's no entry in the cache. 2000-03-29 02:35:00 +00:00
ruslan%netscape.com
345a257009 Misc code cleanup. Also apply another keep-alive proxy patch from
Tomi.Leppikangas@oulu.fi
2000-03-29 00:04:27 +00:00
ruslan%netscape.com
51e62f74cf Fix 33259. Make a maximum number of http connections configurable - network.http.max-connections=8 (current default) 2000-03-28 22:47:57 +00:00
ruslan%netscape.com
a407c24ee5 Fix 23263 - mem cache assert on shutdown. 2000-03-28 19:41:59 +00:00
dougt%netscape.com
3536082a49 parital fix for 31167. Allowing http response header security attribute
to come from preferences. r=valeski@netscape.com
2000-03-28 11:45:25 +00:00
dougt%netscape.com
72979944e8 removing checks for null before calling delete(). I do not know what I was
thinking.  davidm pointed this out.
2000-03-28 11:39:06 +00:00
akkana%netscape.com
f71baf989f Fix from gordon to fix shrike bustage 2000-03-28 02:56:26 +00:00
gordon%netscape.com
ab8080218f Fixing build bustage. 2000-03-27 23:16:13 +00:00
gordon%netscape.com
4722bf81a8 Landing DNS_CANCEL_BRANCH. Enable canceling of dns lookup requests, and underlying structure for possible DNS cache. Original changes by warren, gordon. r = gagan. 2000-03-27 22:19:18 +00:00
gordon%netscape.com
ccf1915f85 Landing DNS_CANCEL_BRANCH. Added code to make Offline(PR_FALSE) initialize nsSocketTransportService and nsDNSService. Original changes by warren, r=gagan. 2000-03-27 22:17:48 +00:00
gordon%netscape.com
48d21bfb64 Landing DNS_CANCEL_BRANCH. Moving Init() method to interface. 2000-03-27 22:16:20 +00:00
gordon%netscape.com
ce2045282c Landing DNS_CANCEL_BRANCH. Changing locks to monitors in nsSocketTransport. Original changes by warren, r=gagan. 2000-03-27 22:15:38 +00:00
rickg%netscape.com
24c7cb621e removing references to nsString internals 2000-03-26 07:55:46 +00:00
scc%netscape.com
785754a95e small changes to clients of string converting APIs 2000-03-26 02:12:47 +00:00
scc%netscape.com
5d653fd52b small changes to clients of string converting APIs 2000-03-26 02:06:10 +00:00
andreas.otte%primus-online.de
4d4111b7b5 fix first part of bug 29341, fix nsStdURL GetFile/SetFile, r=warren@netscape.com 2000-03-25 10:26:10 +00:00
andreas.otte%primus-online.de
37b3c78967 fix bug 31089, Oakland Tribute crashes in HTMLContentSink::AddLeaf, r=gagan@netscape.com 2000-03-25 10:23:20 +00:00
cls%seawood.org
1078368569 AIX needs to link against ZLIB_LIBS to resolve all symbols in libconverters.so 2000-03-25 08:01:16 +00:00
cls%seawood.org
7d1615e3ae Some compilers (HP-UX) don't like it when the file doesn't end in a newline. 2000-03-25 05:57:22 +00:00
ruslan%netscape.com
29ea87755d Remove misleading comment; nsSocketTransport never attempts to reconnect
by iself anymore.
2000-03-25 00:50:50 +00:00
ruslan%netscape.com
e98cc64fb6 Continuing earlier http reorg. There's no need to call mHeaders.Clear () as
formHeaders () is called just once anyway.
2000-03-25 00:49:41 +00:00
ruslan%netscape.com
1c7c27cb30 Prevent certain headers to be sent out twice during the recovery loop when
the keep-alive connection is closed by the server.
2000-03-24 23:33:03 +00:00
ruslan%netscape.com
77aabe9130 Http handler reorg to fix keep-alive raise condition and prepare for
pipeling changes. Also fix 32505, 31979. In case of a major bustage -
http11_reorg_point is the tag before the checkin; r=gagan, a=warren
2000-03-24 21:38:04 +00:00
mscott%netscape.com
5bd1957c9e Bug #28776, 28569 --> make the load group keep a weak ref on the observer
r=sspitzer
2000-03-24 05:42:10 +00:00
warren%netscape.com
32f53c9a41 Fixed optimized build dependency on zlib.shlb 2000-03-24 04:01:13 +00:00
ruslan%netscape.com
0d03861942 Finalize http compression convertor. Not in the build yet, but soon it will
be.
2000-03-24 03:18:30 +00:00