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

296 Коммитов

Автор SHA1 Сообщение Дата
beard%netscape.com b1aaa0444d [not part of build] Now tests opening output and input streams. 2001-02-28 23:52:20 +00:00
gordon%netscape.com f8318d4816 Adding test for cache service. 2001-02-28 05:28:50 +00:00
beard%netscape.com b71448a628 [not part of build] Tests disk cache using XPConnnect. 2001-02-28 05:06:25 +00:00
darin%netscape.com 62d0ff2ef2 Minor tweak [not part of the build] 2001-02-28 04:37:46 +00:00
darin%netscape.com d300e5f79d Added MOZ_NEW_CACHE ifdef to Makefile.in to prevent building of cache tests
by default.
2001-02-28 04:06:06 +00:00
darin%netscape.com b2625edc98 updating the .cvsignore file 2001-02-27 23:17:58 +00:00
darin%netscape.com 3f1f1a04d9 Fixed a minor bug. 2001-02-27 09:38:09 +00:00
darin%netscape.com be3d7e500a Added a test file for exercising the mem cache transport. 2001-02-27 09:30:41 +00:00
beard%netscape.com 5470672fcf tests new object cache. 2001-02-27 05:27:55 +00:00
cls%seawood.org 8643a92f86 Adding and updating necessary .cvsignore files. Bug #61550 2001-02-24 06:22:49 +00:00
darin%netscape.com 5355c5101e Updating test files. 2001-02-23 00:53:08 +00:00
disttsc%bart.nl 744785129a Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls 2001-02-22 09:35:51 +00:00
dougt%netscape.com eab041f43f Relanding Necko Changes.
Revising nsIChannel to allow for overlapped i/o. This consists of three parts:

1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols). The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

r=darin@netscape.com
sr=rpotts@netscape.com
2001-02-21 20:38:08 +00:00
disttsc%bart.nl 76fbedadc5 Back out dougt's channel changes 2001-02-12 03:14:23 +00:00
disttsc%bart.nl 42abbca1a9 From Small Gods, by Terry Pratchett:
The light was brilliant, crystalline, in a black sky filled with stars.
'Ah. There really is a desert. Does everyone get this?' said Brutha.
WHO KNOWS?
'And what is at the end of the desert?'
JUDGEMENT.
Brutha considered this.
'Which end?'
Death grinned and stepped aside.
What Brutha had thought was a rock in the sand was a hunched figure, sitting clutching its knees. It looked paralysed with fear.
He stared.
'Vorbis?' he said.
He looked at Death.
'But Vorbis died a hundred years ago!'
YES. HE HAD TO WALK IT ALL ALONE. ALL ALONE WITH HIMSELF. IF HE DARED.
'He's been here fore a hundred years?'
POSSIBLY NOT. TIME IS DIFFERENT HERE. IT IS . . . MORE PERSONAL.
'Ah. You mean a hundred years can pass like a few seconds?'
A HUNDRED YEARS CAN PASS LIKE INFINITY.
The black-on-black eyes stared imploringly at Brutha, who reached out automatically, without thinking . . . and then hesitated.
HE WAS A MURDERER, said Death. AND A CREATOR OF MURDERERS. A TORTURER. WITHOUT PASSION. CRUEL. CALLOUS. COMPASSIONLESS.
'Yes. I know. He's Vorbis,' said Brutha. Vorbis changed people. Sometimes he changed them into dead people. But he always changed them. That was his triumph.
He sighed.
'But I'm me,' he said.
Vorbis stood up, uncertainly, and followed Brutha across the desert.
Death watched them walk away.

The End.
2001-02-12 03:13:48 +00:00
dbaron%fas.harvard.edu b76c746e26 Fix OS/2 bustage from dougt's changes with PR_STATIC_CALLBACK. 2001-02-10 02:54:47 +00:00
dougt%netscape.com 69415757ab Revising nsIChannel to allow for overlapped i/o. This consists of three parts:
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols).  The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

The full details of the change on written up in the netlib newsgroup.

r=darin@netscape.com
sr=rpotts@netscape.com
2001-02-10 00:16:26 +00:00
darin%netscape.com a50adec5ed update 2001-01-24 01:33:40 +00:00
darin%netscape.com aa7456824f Ported to WIN32 2001-01-24 01:18:23 +00:00
mkaply%us.ibm.com 791c54fc8e OS/2 TB Breakage
Need cast, and mkdir to PR_MkDir
2001-01-24 01:12:07 +00:00
darin%netscape.com 602f2a63f1 Fixes speedracer SunOS/Sparc bustage. 2001-01-23 23:40:50 +00:00
dbaron%fas.harvard.edu 8fd241d406 Add dbm to REQUIRES to fix MOZ_TRACK_MODULE_DEPS bustage. 2001-01-23 22:30:05 +00:00
darin%netscape.com 6bfaf3912c Bug 62566. nsIChannel::AsyncWrite interface revision and related cleanup.
r=dougt@netcape.com, sr=mscott@netscape.com.
2001-01-23 22:10:34 +00:00
gordon%netscape.com b6c459ee5c Separate tests for reading and writing. 2001-01-23 04:16:27 +00:00
gordon%netscape.com 858921b374 Adding performance test for disk cache. 2001-01-23 03:33:03 +00:00
darin%netscape.com 6d82ba0831 Updates to test file to support overlapped requests. 2000-11-21 00:49:41 +00:00
cls%seawood.org 8bd122b3d5 Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org 2000-11-20 07:16:06 +00:00
darin%netscape.com 42289e0622 Updating necko test file. 2000-11-15 22:13:39 +00:00
darin%netscape.com d10f0c1b9f Adding a simple test program that calls OpenInputStream on an nsIChannel,
to help evaluate performance.
2000-11-03 23:26:45 +00:00
rayw%netscape.com 6cc70ebd6c Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
scc%mozilla.org ebde012e3f fixing code that relied on implicit string construction 2000-09-02 21:47:30 +00:00
warren%netscape.com 1c8511e78c Bug 46777. Redesigned stream interfaces to allows stream observers to be decoupled from pipe implementation. Needed for embedding to fix 'spin' problem. r=rpotts,valeski,ruslan 2000-08-22 07:03:33 +00:00
warren%netscape.com 7ac7233df8 Factored string bundles out of necko. Fixes bug 42107 - need to fix string bundle init workaround. Also bug 40506 - nsIWebProgressListener needs status text. Status messages now work in mozilla and viewer with internationalized and parameterized text! Added temporary error architecture until bug 13423 can be fixed. Extended nsIStringBundleService to provide method to format status message. r=valeski,jband,tao. verified=mstoltz 2000-07-25 05:45:56 +00:00
bryner%uiuc.edu a3534c97e2 Removing the old copy of this file. The current version is in
netwerk/streamconv/test.  Not part of build.
2000-07-24 21:55:00 +00:00
bryner%uiuc.edu f8c9916fae Removing an obsolete test file. Not part of build. 2000-07-23 21:34:29 +00:00
dougt%netscape.com c422448137 bug 40750.
Adding followSymlink flag to nsILocalFile.
Adjusting callers.
windows shortcut optimizations.
r=blizzard@mozilla.org.
a=brendan@mozilla.org
2000-07-12 23:31:31 +00:00
cls%seawood.org e1e6c5760f Removed obsolete REQUIRES variable from every Makefile.in/makefile.win 2000-06-30 08:08:04 +00:00
warren%netscape.com ce997cbb8f Bug 37463. Fixed javascript: url deadlock. Also made the file transport more efficient in the process by eliminating the lock. r=waterson 2000-06-30 07:18:52 +00:00
valeski%netscape.com 7c817de52d making urlinfo threadsafe for test harness a=granrose 2000-06-23 18:49:07 +00:00
valeski%netscape.com e31bf0160b missed an arg. 2000-06-16 15:02:14 +00:00
valeski%netscape.com fd15d7c70f 42767. AsyncOpen (dead code) removal. 2000-06-16 14:59:30 +00:00
valeski%netscape.com ecb9ab2648 42767. AsyncOpen (dead code) removal. 2000-06-16 14:44:36 +00:00
warren%netscape.com 958ed96edd Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
dougt%netscape.com 0da3936bb1 correcting invalid port number. They should be -1, not zero. 2000-05-20 00:19:24 +00:00
dougt%netscape.com 4ea1d81354 Fix for 31164, possibly 35658, and prep work for 31174.
1) Passing the proxy hostname and port to the underlying socket
   and changing all users that appeared in lxr.

2) (psm-glue) registering with the cache manager to allow local loopback so that
   psm will work with a proxy.

3) (psm-glue) Storing proxy information in psmSocketInfo.

most reviewed by gagan@netscape.com.
2000-05-19 22:56:12 +00:00
gordon%netscape.com 7555224326 Test code for dns daemon 2000-05-17 05:15:30 +00:00
pavlov%netscape.com 0c75802384 changes all usages of NS_NewTimer to CreateInstance 2000-05-17 02:49:35 +00:00
gagan%netscape.com ec9be77569 Not in the build (the data file for url parse testing) 2000-05-11 23:31:32 +00:00
cls%seawood.org fec728bf12 More OS/2 Makefile changes. Bug #34106 Batch 13 2000-05-11 14:15:34 +00:00
law%netscape.com df674b1914 Tweak this test per modified AsyncRead api 2000-05-10 22:27:17 +00:00
mjudge%netscape.com 6622635cab making string conversions explicit. scc 2000-04-26 01:13:55 +00:00
pavlov%netscape.com 03d4675682 string api changes r=scc 2000-04-25 05:40:45 +00:00
gagan%netscape.com e834d524df Ignore newer test case. Not in the build. 2000-04-21 19:45:16 +00:00
valeski%netscape.com 2993aab20a adding callback test harness to unix builds 2000-04-20 23:26:41 +00:00
valeski%netscape.com 838614bdc8 adding callback test harness to the build and fixing a typo that wasn't letting TestWriteSpeed get built on windows 2000-04-20 23:22:27 +00:00
valeski%netscape.com 058515d96b adding cmd line arg usage, not part of builds 2000-04-19 19:58:29 +00:00
valeski%netscape.com 4cde6527f4 NOT PART OF BUILD. adding a protocol callback test harness 2000-04-19 17:47:45 +00:00
gagan%netscape.com 576a9dec53 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 3baa2d19ff First checkin of all the url parsing related tests. Not in the build. 2000-04-15 01:44:57 +00:00
cls%seawood.org 57978e5c23 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
rickg%netscape.com a092b1c1c6 removed references to nsString2 2000-03-31 10:19:31 +00:00
rickg%netscape.com a78b0f5d7c removed reference to nsString2 2000-03-31 10:13:22 +00:00
rickg%netscape.com 2025e32ecd fixed include problem 2000-03-31 10:08:49 +00:00
law%netscape.com b2a88c3c2b New test to do I/O on multiple threads; not built yet 2000-03-30 22:49:36 +00:00
warren%netscape.com d60b12b153 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
gagan%netscape.com 66d4c1aa54 Updating the test case for last changes as well... 2000-03-14 04:03:46 +00:00
gagan%netscape.com 0838bccbab New event sink changes for the test case. 2000-03-08 00:35:24 +00:00
warren%netscape.com 7e37f4f478 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
mkaply%us.ibm.com 41e8a753c1 # 25555
r= warren@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef
2000-02-29 15:40:42 +00:00
mcafee%netscape.com 2583654128 Retiring res: protocol usages, should be using resource: . r=valeski 2000-02-15 01:23:05 +00:00
rpotts%netscape.com b711a1f5a1 Bug #26883 (tested by duncan@be.com). Fixed up broken QI implementation in a socket transport test case. 2000-02-11 01:52:23 +00:00
warren%netscape.com 46014f5efb Added stream buffering. Made file transport use it. Bug #19233 r=dougt 2000-02-04 07:31:43 +00:00
warren%netscape.com 3c2c446464 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
sdagley%netscape.com 19c6fa72ca 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
dougt%netscape.com fd69a2f423 Landing nsIFile. 2000-01-24 21:28:28 +00:00
jdunn%netscape.com bf9205fff0 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
pp%ludusdesign.com 13efd9e8c6 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com
2000-01-11 20:49:15 +00:00
dougt%netscape.com 6023d2ffbe Including nsCRT.h/nsIFileSpec directly. This prep work for the nsIFile landing. 2000-01-03 23:34:15 +00:00
sspitzer%netscape.com d87bbcdccc fix warnings. 1999-12-29 00:20:10 +00:00
briano%netscape.com 759b6475e9 NetBSD/arm-specific build breakage fix. 1999-12-21 04:14:14 +00:00
fur%netscape.com 3bc26bf6a3 Build cache tests 1999-12-08 03:36:10 +00:00
fur%netscape.com afe850cc01 Add cache tests 1999-12-07 02:32:34 +00:00
warren%netscape.com bf4ef9672f Added buffer size parameters to NewChannel. Allows for optimization of amount of image data consumed. Bug #20408 1999-12-04 10:01:32 +00:00
warren%netscape.com a265a32348 Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms. 1999-11-30 04:50:42 +00:00
dougt%netscape.com 1da7d3868d fix for 18078. r=mstoltz,warren 1999-11-30 00:32:43 +00:00
sspitzer%netscape.com 593501141b ignore generated files 1999-11-29 21:20:30 +00:00
warren%netscape.com cce1e4dab3 Added test for res protocol. 1999-11-24 06:30:51 +00:00
warren%netscape.com 9e4e72120c Test case for the res: protocol. 1999-11-23 12:14:58 +00:00
warren%netscape.com 0aed6cafa7 Pedantic change to macro. 1999-11-23 07:03:04 +00:00
warren%netscape.com d8bbb844e6 Removed the nsICapabilities interface in favor of nsIInterfaceRequestor. 1999-11-18 07:36:41 +00:00
valeski%netscape.com d3773b82a2 updated urltest.cpp to use the new Resolve code 1999-11-18 06:19:01 +00:00
warren%netscape.com aaf83521f5 Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott 1999-11-17 08:14:52 +00:00
dmose%mozilla.org 42fc94a6ec updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
gagan%netscape.com 88d7ec557d Last of the leftover files... that didn't include the API change. 1999-11-03 09:33:03 +00:00
cls%seawood.org 14ef08310e Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
dp%netscape.com c02c687d16 Removing extra release happening on a service. NS_WITH_SERVICE() will
take care of this release.
1999-11-01 21:57:14 +00:00
warren%netscape.com 00dfd9d907 Added nsIChannel::GetOriginalURI so that we can get back to the original chrome file (bug#17144). r=rpotts,mscott 1999-10-26 09:16:24 +00:00
gagan%netscape.com 54a1b9a8b2 Added profiling info for measuring performance when doing -all. Test case only. 1999-10-25 02:22:30 +00:00
gagan%netscape.com 7f425f1145 Fix for bug # 10333. Made webshell a progress event sink as well so that now it redirects all progress messages from necko land to the appropriate docloader observer. The hack to delete strings which are being received in the status messages is a work around the current limitation of the proxy event code. When bug # 16273 is fixed that delete wont be necessary. In fixing this I also noticed that the nsFileTransport wasn't using the proxy events and was incorrectly firing status messages directly onto the UI thread. Fixed that as well. r=rpotts,warren 1999-10-13 10:24:12 +00:00
waterson%netscape.com ab20f5e245 Bug 16105. (Bugsplat 366256.) Ensure that nsISupports::Release() calls dtor only once by 'stabilizing' refcnt to a non-zero value before invoking the dtor. See also news://news.mozilla.org/37FD0F3C.3078AE5C%40netscape.com. r=scc,fur 1999-10-12 02:10:08 +00:00