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

374 Коммитов

Автор SHA1 Сообщение Дата
timeless%mac.com d8cc688144 Bug 127270 ASSERTION: QueryInterface needed: 'query_result.get() == mRawPtr'
The problem was that InputTestConsumer's QI only listed nsIStreamListener even though
nsIStreamListener inherited from interface nsIRequestObserver.
This adds nsIRequestObserver to the QI.

patch by badami@netscape.com rs=darin a=asa
2002-03-06 03:30:02 +00:00
neeti%netscape.com df7193560a fix for bug 119220 - Occurances of uninitialized variables being used before being set, r=dougt, sr=darin 2002-02-18 15:22:56 +00:00
bbaetz%student.usyd.edu.au f9fd479190 Bug 107552 - backend for resuming ftp downloads
r=dougt, sr=darin, mac build patches by zach
2002-02-14 03:10:19 +00:00
bbaetz%student.usyd.edu.au ae0480a313 Fix typo in TestUpload.cpp, and add it to the Makefile.in (removing a
duplicate entry at the same time)

r=dougt, tests only
2002-02-07 03:13:30 +00:00
cathleen%netscape.com bf3e08eb5f eliminates 107 nsCRT::memset calls to use memset instead. removed nsCRT::memset() function. bug 118135 r=dp sr=brendan 2002-02-05 01:41:13 +00:00
dougt%netscape.com 894fdcfaaf 1. Converts callers of nsIComponentManagerObsolete to use
nsIComponentRegistrar.

2. Converts callers of nsComponentManager::AutoRegister to use
nsIComponentRegistrar's autoRegistrar method.

3. Add nsIComponentRegistrar implmentation to nsComponentManagerImpl.

4. Rearrange nsComponentManager.cpp so that related methods are in the same
place.

5. Added a C-style function NS_GetComponentRegistrar so that getting the
registrar is easier in some places.

6. Added a nsISimpleEnumerator interface on PLDHashTableEnumeratorImpl.  in
this way, the same base class can support both old style and new style
enumerations.

7. Fixed a nasty bug where unregistring factories will leave the contract id
hash with a dangling pointer.  Now, when unregister is called we search the
contract id hash for entries which have the given doomned cid and remove them.


Bug 115853.  r=dp@netscape.com, sr=rpotts@netscape.com
2002-01-29 21:22:13 +00:00
bbaetz%student.usyd.edu.au f6a02251b4 Bug 120891. TestProtocols was including a cookies header file it didn't
need, breaking no-extentions builds.
r=bryner, sr=jst, a=dbaron
2002-01-19 04:04:51 +00:00
seawood%netscape.com fa5df5e54c Use dynamic library & xpidl_module names from nmake build for win32 gmake builds for compatibility.
bug #58981 sr=jag
2002-01-16 05:10:09 +00:00
timeless%mac.com 113dc25972 Bug 117727 make testprotocols pretty print error condition for unknown Content-Length
a=darin
2002-01-13 00:54:27 +00:00
pinkerton%netscape.com 38ed6718d3 stop using PR_PutEnv and use PR_SetEnv instead. r=sdagley/sr=blake. bug 118187 2002-01-07 15:42:08 +00:00
mcafee%netscape.com 96a5a1b3cb Ignore generated files 2001-12-29 03:09:11 +00:00
mcafee%netscape.com 3a52f55fe4 Build TestPerf on unix (117127). r=timeless 2001-12-27 22:14:01 +00:00
dougt%netscape.com 9a75bc4b8e nsIComponentManager API Changes (bug 98553)
a) create a new nsIComponentManager with only four functions on it:
CreateInstance CreateInstanceByContractID GetClassInfo GetClassInfoByContractID.

b) rename the old nsIComponentManager to nsIComponentManagerObsolete.

c) fixes callers which use to access the nsIComponentManager for component
registration functionality.  These callers will temporary use the
nsIComponentManagerObsolete interface.

d) Create a new API NS_GetComponentManager() which mirrors the
NS_GetServiceManager()

e) Perserves the old NS_GetGlobalComponentManager().  Note the cast usage.

r/sr = rpotts@netscape.com  alecf@netscape.com  brendan@mozilla.org
2001-12-19 00:12:41 +00:00
jaggernaut%netscape.com 2df17e0579 Remove timer from REQUIRES, the makefile.win edition 2001-12-16 18:08:20 +00:00
jaggernaut%netscape.com 1886ca82f6 Remove timer from REQUIRES. r=pavlov 2001-12-16 17:02:31 +00:00
jaggernaut%netscape.com 6ab111155d Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2001-12-16 11:58:03 +00:00
seawood%netscape.com 3738d752bc Make OS/2 use the win32 build changes and finish LIB_PREFIX substitution.
Thanks to Javier Pedemonte (pedemont@us.ibm.com) for the patch.
Bug #58981 r=cls
2001-12-14 23:49:04 +00:00
darin%netscape.com e01b4e99eb build TestPerf on linux 2001-11-30 01:01:23 +00:00
darin%netscape.com 252a641730 adding jar performance test 2001-11-29 00:50:55 +00:00
darin%netscape.com 7b6de18f47 updating .cvsignore 2001-11-27 02:11:44 +00:00
bzbarsky%mit.edu 0b19fcf775 Use <> for system headers, not "". This should help prevent Sun WSU2
compiler bustage.  Bug 111574, patch from Roland Mainz
(<Roland.Mainz@informatik.med.uni-giessen.de>), r=bzbarsky, sr=bienvenu
2001-11-23 22:36:54 +00:00
seawood%netscape.com d8927fcc61 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
seawood%netscape.com 9850f387af Renaming 'install' build phase to 'libs'
Bug #56601 r=pavlov
2001-11-21 08:55:59 +00:00
darin%netscape.com 3b0beda0ba landing standard url rewrite (bug 103916)
r=andreas.otte@debitel.net, sr=brendan,alecf
2001-11-16 02:09:13 +00:00
dbaron%fas.harvard.edu 261f76a8ba Ensure that string literals are used as |const char*| rather than |char*|. r=jag sr=brendan b=107052 2001-11-07 06:24:10 +00:00
jaggernaut%netscape.com 019ce473c1 Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc 2001-10-24 23:47:43 +00:00
dougt%netscape.com e75485644c API Freeze for nsIServiceManager r=shaver@mozilla.org, sr=rpotts@netscape.com bug 99147 2001-10-16 03:35:52 +00:00
darin%netscape.com 1443076688 code changes for bug 42898 "iDNS support"
patch=william.tan@i-dns.net r=gordon sr=darin,brendan a=asa
2001-10-05 07:50:21 +00:00
jaggernaut%netscape.com fdc4078bc4 Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc 2001-09-29 08:28:41 +00:00
gerv%gerv.net f385eb981a Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
darin%netscape.com 89be4c09ee fixes build bustage... forgot to checkin these makefile changes. 2001-09-20 02:05:50 +00:00
jaggernaut%netscape.com e25262c61f One module per line for REQUIRES. r=/sr=alecf 2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com 3826eb9902 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf 2001-09-18 13:41:47 +00:00
darin%netscape.com c95cf54bdc checking bbaetz's patch for bug 89500 "SOCKS: only http|https re-directted in (post Mozilla 0.9.2)"
patch=bbaetz, r=dougt, sr=darin
2001-09-13 02:21:05 +00:00
andreas.otte%primus-online.de ccfc801a2d bug 95677 [update urltest.cpp] update urltest to reflect changes in urlparser, changing format of testfiles, adding special testfiles for fileurls, r=dougt@netscape.com, sr=darin@netscape.com 2001-09-12 08:01:12 +00:00
alecf%netscape.com fed01025f6 add REQUIRES support to jpeg, sun-java, db, etc.. b=98371 r=cls 2001-09-10 20:48:38 +00:00
valeski%netscape.com ac33036169 r=dbaron, sr=dougt. 97667. nsIInterfaceRequestor is now frozen. nsIInterfaceRequestorUtils.h is now required if you want to use do_GetInterface() for convenience. The two were split because the stuff that is now in nsIInterfaceRequestorUtils.h wasn't ready for freezing. Also, .idl files should just contain interface defs anyway. 2001-09-05 21:28:38 +00:00
dougt%netscape.com 4e3c2ef6bc fix build bustage. 2001-09-05 04:37:13 +00:00
dougt%netscape.com f78284509b Upload Channel API changes. Bug 29839. r=darin@Netscape.com, sr=rpotts@netscape.com.
Also fixes bug 63408, not alerting when file-not-found. r/sr same as above
2001-09-05 03:52:26 +00:00
dbaron%fas.harvard.edu 716f9f4695 Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag rs=brendan b=45797 2001-08-21 01:48:11 +00:00
dougt%netscape.com 448b866d61 Adding TestUpload to windows. Also reordering tests to follow hex numbering. 2001-08-02 01:34:02 +00:00
jaggernaut%netscape.com c14d9c09a1 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
pete%alphanumerica.com f65c767018 Fix for nsIFile delete conflicts with JS reserved name b=37406, r=dougt, sr=jst
Renamed all Delete methods to Remove.

--pete
2001-07-24 18:38:25 +00:00
cls%seawood.org fb219e8973 Remove obsolete --disable-new-cache option & MOZ_NEW_CACHE/OLD_CACHE ifdefs from the tree. We are not turning back now. :)
Bug #89008 r=dougt sr=waterson
2001-07-06 08:07:43 +00:00
cls%seawood.org 654b132df3 Updating .cvsignore files.
Bug #84824 r=jag
2001-07-06 02:36:37 +00:00
dbaron%fas.harvard.edu 01662c2a63 Add util to REQUIRES to fix MOZ_TRACK_MODULE_DEPS (senna tinderbox) bustage. 2001-06-27 04:09:32 +00:00
jat%princeton.edu c0e318e3ae Adding the necko performance tests. 2001-06-27 02:33:44 +00:00
darin%netscape.com 1d4e410116 part of http branch landing... forgot to add this file. 2001-05-11 21:17:17 +00:00
darin%netscape.com b5c178a4a8 Http branch landing: changes to netwerk/ (bug 76866) r=gagan,sr=dougt,a=chofmann 2001-05-11 21:04:09 +00:00
gordon%netscape.com 7428fc2eee Not part of build. 2001-05-09 05:05:20 +00:00
gordon%netscape.com b155d83b04 Fix build bustage. 2001-05-09 04:26:19 +00:00
cls%seawood.org c06c69763c Remove unneeded LOST_SYM_LIBS defines. 2001-04-30 01:13:22 +00:00
rpotts%netscape.com f56f8cf05b fix for bugs #55867, 63529, 26295, 63247 (r=darin, valeski) 2001-04-27 21:05:52 +00:00
gordon%netscape.com 99a7277559 bug 72528, remove old cache from build. sr=darin. 2001-04-17 10:47:22 +00:00
gordon%netscape.com 23ceb92dbe Test for nsDiskCacheBlockFile.cpp [not part of build]. 2001-04-16 08:37:47 +00:00
pavlov%netscape.com 1770e30381 removing the statusArg param to OnStopRequest to fix build bustage 2001-04-10 06:40:51 +00:00
darin%netscape.com 41efbc6217 Necko API changes, bug 74221. r=valeski, sr=rpotts. 2001-04-10 06:01:08 +00:00
disttsc%bart.nl 748e1ece2f Clean up MODULE/REQUIRES, bug=73353, r=cls 2001-04-08 08:33:11 +00:00
darin%netscape.com 69d0bda298 Add progress event sink notification test. 2001-03-27 08:23:42 +00:00
beard%netscape.com 3cf05a5d43 [not part of build] Update to newer version of interface. 2001-03-27 08:17:20 +00:00
disttsc%bart.nl 0b98c23d64 Move nsCString from |operator char*()| to |get()| and |NS_CONST_CAST| where needed. bug=53057, r=dmose, sr=shaver 2001-03-20 05:37:56 +00:00
dougt%netscape.com 9c5d760307 Minor build changes per API review. Now nsIFileURL and nsIFileChannel have their own IDL file which means that if you were using either of these two interfaces, you need to include a new include file. r=valeski@netscape.com 2001-03-12 22:41:28 +00:00
beard%netscape.com 6307f80333 [not part of build] wrapped test case in test function. 2001-03-12 15:36:51 +00:00
beard%netscape.com 3e02583a75 [not part of build] Tests simultatenous writing of two cache entries which collide (same hash code). 2001-03-12 15:35:55 +00:00
dbaron%fas.harvard.edu 96e3360b3e Allow new cache to be built with MOZ_TRACK_MODULE_DEPS. r=cls@seawood.org 2001-03-11 02:02:25 +00:00
beard%netscape.com d9fca3414e [not part of build] Tests cache visitation API. 2001-03-09 18:59:53 +00:00
gordon%netscape.com 5e4ce20c72 [not part of build] Added test cases for ACCESS_READ of non-existent entry and ACCESS_WRITE of existing entry. 2001-03-07 09:31:45 +00:00
darin%netscape.com 25c049947f Added some error checking. 2001-03-07 06:35:36 +00:00
beard%netscape.com ecdc096b8f [not part of build] Using async open & read. 2001-03-07 04:04:33 +00:00
beard%netscape.com 7d86759af8 [not part of build] Added synchronous http (unimplemented). 2001-03-07 04:03:39 +00:00
bryner%uiuc.edu c69ae1d03b Fixing build bustage. 2001-03-06 06:22:58 +00:00
beard%netscape.com fad4f5ce4f [not part of build] Increased number of downloads/reads to 50, added median(). 2001-03-06 03:29:08 +00:00
beard%netscape.com ba09aa50fd [not part of build] Initial cache performance test. 2001-03-05 15:23:59 +00:00
beard%netscape.com dc318fa7c8 [not part of build] Added debug harness, explicit doom. 2001-03-03 03:42:10 +00:00
disttsc%bart.nl 043186b34e Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc 2001-03-02 09:26:57 +00:00
beard%netscape.com 52bd751172 [not part of build] Added metadata test. 2001-03-02 05:00:34 +00:00
beard%netscape.com d17d41cd21 [not part of build] stores nsISupportsString in object cache. 2001-03-01 00:24:33 +00:00
beard%netscape.com aee4e942d4 [not part of build] Now wraps nsIInputStream with an nsIScriptableInputStream. 2001-03-01 00:07:23 +00:00
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