Commit Graph

2883 Commits

Author SHA1 Message Date
dbaron%fas.harvard.edu
83bbffbccd Add pref to REQUIRES to fix MOZ_TRACK_MODULE_DEPS (senna tinderbox) bustage. 2001-03-06 03:24:57 +00:00
darin%netscape.com
1cad1d36cc [not part of the build] Prevent crash in error case. 2001-03-06 03:12:24 +00:00
dougt%netscape.com
877f3dd664 Fixing windows bustage. 2001-03-06 02:21:37 +00:00
dougt%netscape.com
8d2069dfd9 Adding nsIndexToHTML. 2001-03-06 02:14:59 +00:00
dougt%netscape.com
80614d95ae Fixes 64795 - Allows viewing FTP without the treewidget. r=valeski@netscape.com, sr=waterson@netscape.com 2001-03-06 02:14:42 +00:00
beard%netscape.com
af28bdfda7 [not part of build] create the cache directory if it doesn't exist already. 2001-03-06 02:10:18 +00:00
darin%netscape.com
ff8da66438 [not part of the build] Fixes sync OpenCacheEntry bustage. 2001-03-06 01:40:20 +00:00
dougt%netscape.com
2c3940a081 Fixes 68483 as well as fixes some mem leaks cause by canceling a request. r=darin@netscape.com, sr=waterson@netscape.com 2001-03-06 01:27:54 +00:00
darin%netscape.com
74a90e7466 [not part of the bulid] Fixes GCC 2.95 bustage. 2001-03-05 23:50:26 +00:00
beard%netscape.com
014a82adb3 [not part of build] Initial cache performance test. 2001-03-05 15:23:59 +00:00
gordon%netscape.com
bcb5168522 [not part of build]
Added conditional deletion of mLock and mCondVar to nsCacheRequest destructor.

Added nsCacheServide::NotifyListener() to called cache clients' OnDescriptorAvailable() method for AsyncOpenCacheEntry().

Added ProcessPendingRequests() to process requests on CloseDescriptor, ValidateEntry, and DoomEntry.

Rough cut of AsyncOpenCacheEntry is in place, but needs testing.
2001-03-05 10:45:33 +00:00
gordon%netscape.com
ade5e1533b [not part of build]
Restructured open cache entry code in preparation for async implementation, to better share code with synchronous version.

Changed nsCacheRequest, nsCacheEntry, nsCacheEntryDescriptor to inherit from PRCList rather than include mListLink member, and removed extraneous GetListNode/GetInstance methods.

Consolidated mAccessRequested, mStreamBased, and mStoragePolicy into a single PRUint32 in nsCacheRequest.  Added PRLock, PRCondVar, and a 'wait for validation' flag, used for synchronously opening cache entries.  Added accessor functions for these "attributes".

Record current event queue for asychronous requests to be used with GetProxyForObject().  Removed mRequestThread.
2001-03-05 07:17:58 +00:00
beard%netscape.com
853f3c4945 Release mCacheEntry in nsFtpState::StopProcessing() rather than when reallocated in nsFtpState::Connect(). This causes the cache entry to closed sooner only when MOZ_NEW_CACHE is defined. r=dougt, sr=gagan 2001-03-05 03:50:14 +00:00
beard%netscape.com
c6a0b479f4 Since file streams can't be non-blocking, return that fact from nsFileOutputStream::GetNonBlocking(). r=dougt, sr=gagan 2001-03-05 03:43:33 +00:00
beard%netscape.com
1d2a7021a0 Fix bug where overridden Close() doesn't get called in base class destructor. r=dougt, sr=gagan 2001-03-05 03:42:24 +00:00
beard%netscape.com
79bcc81294 Delegate GetNonBlocking/SetNonBlocking to wrapped output stream. r=dougt, sr=gagan 2001-03-05 03:40:41 +00:00
pavlov%netscape.com
14f46fb876 [NOT PART OF BUILD!@#!@#] changing line ending of makefile so it works on windows r=gordon 2001-03-04 20:57:33 +00:00
beard%netscape.com
d272ef683d [not part of build] fix bustage (LL_ZERO is not compatible with PRUint32 type). 2001-03-04 19:27:39 +00:00
gordon%netscape.com
14f776650c [not part of build] Changed nsCacheEntry data members from PRTime to PRUint32. Changed //** comments to // XXX to make it easier to search for 'to do' items. Added dooming of expired entries. 2001-03-04 00:11:30 +00:00
gordon%netscape.com
c281374138 [not part of build] Make MarkDoomed(), MarkActive(), MarkInactive() private, and check for entry before calling MarkInitialized() in nsCacheService::ActivateEntry(). 2001-03-03 04:42:21 +00:00
beard%netscape.com
fdf5adb8eb [not part of build] removed memory transport files. 2001-03-03 03:42:57 +00:00
beard%netscape.com
3cc7487ec6 [not part of build] Added debug harness, explicit doom. 2001-03-03 03:42:10 +00:00
beard%netscape.com
6388744e26 [not part of build] dooming works during forced write, and explicitly, see TestDiskCache.js for example. 2001-03-03 03:41:38 +00:00
darin%netscape.com
9460ba088d OS/2 didn't like inheriting a nsStorageTransport::ns{In,Out}putStream from
nsStorageTransport::nsBlockingStream since both are declared with private
access in nsStorageTransport.  This should fix the problem.
2001-03-03 03:07:10 +00:00
gordon%netscape.com
124ac630d9 [not part of build] Restructured nsCacheService:ActivateEntry() to properly handle a FORCE-WRITE. Cleaned up ownership of key between request and entry. Add deletion of request for synchronous open. Add deletion of unbound entries on deactivation. 2001-03-03 02:27:49 +00:00
darin%netscape.com
94f3bb4242 [not part of the build] updated the module file for the removal of nsMemoryCacheTransport 2001-03-03 02:27:18 +00:00
beard%netscape.com
57cbe6c774 Added nsStorageTransport.cpp. r=gordon 2001-03-03 02:21:37 +00:00
darin%netscape.com
6b4d563f98 Bug 70707. Added CID/ContractID for nsStorageTransport. 2001-03-03 02:11:19 +00:00
darin%netscape.com
0bbec193ce [not part of the build] Make mem cache use nsStorageTransport. 2001-03-03 01:59:03 +00:00
darin%netscape.com
5b7fd2451c Bug 70707. Pulled generic transport implementation out of new memory cache
and created netwerk/base/src/nsStorageTransport.{h,cpp}
2001-03-03 01:57:37 +00:00
dougt%netscape.com
61a6206885 This is not part of the build (it is currently IFDEF'ed off. Conditionally allows ftp to use the new cache. r=gagan@netscape.com 2001-03-03 01:40:36 +00:00
valeski%netscape.com
b7b9777ef9 sr=rpotts. 61160. allowing buffering if we haven't started a sub response yet. 2001-03-03 00:59:42 +00:00
beard%netscape.com
19ae2d545a [not part of build] removed dirty flag from DiskCacheEntry, added key comparision to readDiskCacheEntry(). 2001-03-03 00:35:33 +00:00
gordon%netscape.com
55421ff15e [not part of build] REALLY fix nsCacheEntryHashTable::RemoveEntry. This time for sure! 2001-03-03 00:00:29 +00:00
gordon%netscape.com
e8fffddcf2 [not part of build] Fix nsCacheEntryHashTable::RemoveEntry(). r=beard. 2001-03-02 23:50:53 +00:00
darin%netscape.com
239a60c682 [not part of the build] Added implementation of nsMemoryCacheReadRequest::Available 2001-03-02 22:28:38 +00:00
beard%netscape.com
af49e27bcf [not part of build] slight optimization, check for cache file existence before creating an entry and attempting to open a transport for it. 2001-03-02 20:14:41 +00:00
beard%netscape.com
88c1e43a65 [not part of build] need a way to transfer ownership of key from request to entry. for now just leak and dont' crash. 2001-03-02 20:04:08 +00:00
disttsc%bart.nl
277181c660 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
e14f9a7fdc [not part of build] Added metadata test. 2001-03-02 05:00:34 +00:00
beard%netscape.com
599f805e95 [not part of build] took out unnecessary OpenTransport libraries. 2001-03-02 04:57:42 +00:00
beard%netscape.com
dfc91d59d9 Now reading/writing all metadata into disk cache. 2001-03-02 04:57:09 +00:00
beard%netscape.com
3a40fad954 [not part of build] Added CalculateSize() to account for null termination of strings. 2001-03-02 04:54:27 +00:00
beard%netscape.com
f2eaa4cceb [not part of build] Added FlattenMetaData()/UnflattenMetaData(). 2001-03-02 04:09:01 +00:00
gordon%netscape.com
94a9fab0c0 Fix casing of SetMetaDataElement method. 2001-03-02 01:52:29 +00:00
gordon%netscape.com
b3ae735e46 [not part of build]
Fixed cache meta data. Implemented eviction list for memory cache device. Worked on entry deactivation, validation, and doom.
2001-03-02 01:51:41 +00:00
dougt%netscape.com
ac8a00dcc3 not part of build. we should init the cache meta data. 2001-03-01 21:27:11 +00:00
gordon%netscape.com
7e1b7ad450 [not part of build]
Mark cache entry meta data dirty when key/value pair added.
2001-03-01 20:06:16 +00:00
gordon%netscape.com
7438155597 [not part of build]
Add utility method to nsCacheEntryDescriptor to change the data size for the associated cache entry.
2001-03-01 19:52:06 +00:00
darin%netscape.com
7ca4379f0e [not part of the build] Removed knowledge of nsCacheEntry from nsMemoryCacheTransport,
and fixed a bug in the blocking output stream (it claimed to be non blocking).
2001-03-01 19:33:00 +00:00
beard%netscape.com
5662ae9036 [not part of build] Forgot NS_INIT_ISUPPORTS() in DiskCacheEntry constructor. 2001-03-01 19:32:41 +00:00
beard%netscape.com
ea20c70f23 [not part of build] When OpenOutputStream() is called for a descriptor with nsICache::ACCESS_WRITE, set initial cache entry size to 0. 2001-03-01 19:24:10 +00:00
beard%netscape.com
935893d3b2 [not part of build] Use NS_IMPL_THREADSAFE_ISUPPORTS0 to avoid thread-safety asserts in DiskCacheEntry. 2001-03-01 17:48:36 +00:00
beard%netscape.com
389892c9a1 [not part of build] Added DiskCacheEntry to store internal data in nsCacheEntry. Now saving metadata when DiskCacheEntry becomes dirty. 2001-03-01 17:31:06 +00:00
beard%netscape.com
c062803646 [not part of build] Make ~nsCacheOutputStream() virtual 2001-03-01 09:51:22 +00:00
beard%netscape.com
a8e4cbdaa6 [not part of build] Fix LL bustage. 2001-03-01 08:38:50 +00:00
beard%netscape.com
87a8e2fe30 [not part of build] First cut at wrapper nsIOutputStream for tallying total bytes written to a cache entry. 2001-03-01 08:29:43 +00:00
dougt%netscape.com
f3ae3e7ba0 NOT PART BUILD BUILD YET. Checking in indexed to html converter 2001-03-01 07:22:19 +00:00
gordon%netscape.com
31f6b6c7a1 [not part of build]
Changed OnDataSizeChanged() to OnDataSizeChange() and added a deltaSize parameter.  Added OnDataSizeChange() method on nsCacheService so we can grab the service lock and bind the entry if necessary.

Commented out the implementation of nsCacheEntryDescriptor::AsyncWrite(), since we are not planning to provide it.
2001-03-01 05:01:43 +00:00
beard%netscape.com
4870b313b0 [not part of build] needed to add nsITransport to QueryInterface. 2001-03-01 02:51:07 +00:00
darin%netscape.com
986ab2ead9 [not part of the build] Added code to update the entry's data size as data is streamed
to the memory cache.
2001-03-01 02:49:26 +00:00
gordon%netscape.com
f032da92f0 [not part of build]
Add finalization code to cache entry hashtables to delete remaining entries.
2001-03-01 02:46:12 +00:00
gordon%netscape.com
47a7b44c2c [not part of build]
Changed nsCacheEntryDescriptor to implement nsITransport as a wrapper that checks access priviledges for the underlying transport provided by the device.

Added code to lazily allocate the underlying transport for the cache descriptor.

Added NS_ENSURE_ARG_POINTER() to all necessary interface methods. r=beard.
2001-03-01 02:25:07 +00:00
darin%netscape.com
5f02f00fa7 [not part of the build] Cleans up ReadRequestCompleted; there was no reason
to be walking the list of read requests!
2001-03-01 02:20:35 +00:00
gordon%netscape.com
40f3bf76de Added error codes for read/write access denied. 2001-03-01 01:56:29 +00:00
bryner%uiuc.edu
8c6ba024ec Don't return an async proxied object when the socket transport is asked for its ProgressEventSink. r=dougt, sr=shaver. 2001-03-01 00:55:08 +00:00
gordon%netscape.com
941c2a073f Added comments to netCore.h declaring error ranges for SocketTransport and CacheService. r=beard. 2001-03-01 00:54:29 +00:00
beard%netscape.com
0c0e0a03ca [not part of build] stores nsISupportsString in object cache. 2001-03-01 00:24:33 +00:00
dougt%netscape.com
1e0d9b7877 fixes 66873. fixes WFTPD incompatibility. r=gagan, sr=mscott 2001-03-01 00:23:36 +00:00
beard%netscape.com
e68eeb0c72 [not part of build] Now wraps nsIInputStream with an nsIScriptableInputStream. 2001-03-01 00:07:23 +00:00
beard%netscape.com
c167dd8067 [not part of build] changed linker output to cache.headers rather than necko.headers. 2001-03-01 00:05:31 +00:00
beard%netscape.com
2e059bf699 [not part of build] Now tests opening output and input streams. 2001-02-28 23:52:20 +00:00
dougt%netscape.com
0ff09eae40 Fixing 69836. Increasing data buffer sizes which improves perf on Mac. r=sfraser, sr=mscott 2001-02-28 23:37:03 +00:00
gordon%netscape.com
52de7aa8e6 Fix access mode for new entries. Not part of the build. 2001-02-28 22:39:07 +00:00
beard%netscape.com
10a38c5434 [not part of build] truncate files when mode = nsICache::ACCESS_WRITE. 2001-02-28 12:09:41 +00:00
beard%netscape.com
aaddf29c81 [not part of build] create up to 3 different transports for different nsCacheAccessMode values. 2001-02-28 11:30:39 +00:00
beard%netscape.com
46567d8f82 [not part of build] renamed PRUint32 parameters to nsCacheAccessMode. Set initial descriptor mode to be requested as temporary workaround. 2001-02-28 11:29:22 +00:00
beard%netscape.com
317f5fec75 [not part of build] enforce nsCacheAccessMode when creating transports. 2001-02-28 10:04:27 +00:00
gordon%netscape.com
ecb52c437c Begin implementing enumeration of MetaData for cache devices. 2001-02-28 07:13:32 +00:00
gordon%netscape.com
aaa938e5b0 Added check in ReadRequestCompleted() in case aReader paramter is not found in the mReadRequests list. 2001-02-28 05:48:00 +00:00
gordon%netscape.com
54a2ab1696 Adding test for cache service. 2001-02-28 05:28:50 +00:00
beard%netscape.com
bc439b5703 [not part of build] Tests disk cache using XPConnnect. 2001-02-28 05:06:25 +00:00
beard%netscape.com
ff21b4221a [not part of build] successfully creates writeable nsITransport for cache files! 2001-02-28 05:05:29 +00:00
darin%netscape.com
7d7ec8671a Minor tweak [not part of the build] 2001-02-28 04:37:46 +00:00
darin%netscape.com
084f574d18 Made nsMemoryCacheDevice::BindEntry return NS_OK 2001-02-28 04:36:51 +00:00
darin%netscape.com
9647d227cc Completed nsCacheService::BindEntry 2001-02-28 04:34:41 +00:00
darin%netscape.com
004b919287 Removed an extraneous QI from nsCacheEntry::Open() 2001-02-28 04:28:15 +00:00
beard%netscape.com
b6d563d650 [not part of build] must call init on hashtable in nsDiskCacheDevice::Init(). 2001-02-28 04:17:56 +00:00
beard%netscape.com
b50591c434 [not part of build] really delegate GetTransport() to the cache service. 2001-02-28 04:17:24 +00:00
gordon%netscape.com
f2290a6cd4 Added GetTransportForEntry(), DoomEntry() to public methods, and BindEntry() and DoomEntry_Internal() to private methods. 2001-02-28 04:10:43 +00:00
darin%netscape.com
a26fbc60e3 Added MOZ_NEW_CACHE ifdef to Makefile.in to prevent building of cache tests
by default.
2001-02-28 04:06:06 +00:00
beard%netscape.com
c7f88186cd [not part of build] using nsIPref to find cache directory, first cut at creating nsITransport for cache entries. 2001-02-28 04:00:08 +00:00
beard%netscape.com
391a04f744 [not part of build] removed redundant NULL check in MarkValid(). 2001-02-28 03:59:02 +00:00
gordon%netscape.com
510792cb80 Added MarkDoomed(), MarkStreamData(), and set StreamData in constructor. 2001-02-28 03:54:16 +00:00
gordon%netscape.com
13d79d0bf7 Added DoomEntry() to nsCacheDevice. 2001-02-28 03:42:33 +00:00
darin%netscape.com
42cfde7451 [not part of the build] Added code to the descriptor to call GetTransportForEntry() 2001-02-28 02:19:14 +00:00
darin%netscape.com
1ba483bdea [not part of the build] Added hooks to enable streaming to the mem cache! 2001-02-28 01:41:02 +00:00
beard%netscape.com
a2cb1db911 [not part of build] allocate the nsDiskCacheDevice. 2001-02-28 00:36:07 +00:00
beard%netscape.com
c3a62ef8c2 [not part of build] changed fragment name to CACHE_DLL instead of NECKO_DLL (oops). 2001-02-28 00:33:24 +00:00
gordon%netscape.com
e14fa0b121 Changed 'getters' on nsCacheEntry to simply return values, rather than require out parameters.
Added a PRCList member and accessors for linking entries on eviction and doom lists.

Moved check for IsStreamBased() from nsCacheEntry::GetData() to nsCacheEntryDescriptor::GetData(), to allow cache devices to set the mData member.

Added checks to nsCacheEntryDescriptor methods to return NS_ERROR_NOT_AVAILABLE if the descriptor is already closed.
2001-02-28 00:06:13 +00:00
darin%netscape.com
15bd09102f updating the .cvsignore file 2001-02-27 23:17:58 +00:00
darin%netscape.com
218da462f7 [not part of the build] Forgot to update the WIN32 makefile after adding the
CID for the memory cache transport.
2001-02-27 23:15:57 +00:00
beard%netscape.com
05e65ecf0e [not part of build] added nsMemoryCacheTransport.cpp. 2001-02-27 19:41:13 +00:00
valeski%netscape.com
343585ffe8 sr=rpotts. 39987. handling broken servers which don't provide a boundary token in the first block. also protecting against stray parsing which can result in crashes. 2001-02-27 12:33:12 +00:00
darin%netscape.com
28c029ce16 Fixed a minor bug. 2001-02-27 09:38:09 +00:00
darin%netscape.com
c5ad81d47d Adding myself in the contributor section. 2001-02-27 09:34:12 +00:00
darin%netscape.com
7c13c3763f Added a test file for exercising the mem cache transport. 2001-02-27 09:30:41 +00:00
darin%netscape.com
ae2d382ff8 [not part of the build] Added a debug-only CID for nsMemoryCacheTransport
to allow this class to be independently tested.
2001-02-27 09:06:11 +00:00
dveditz%netscape.com
17034612db fix for topcrash bug 65798, r=neeti, sr=rpotts 2001-02-27 07:41:55 +00:00
beard%netscape.com
57deaf036e [not part of build] added other new files. 2001-02-27 05:50:57 +00:00
beard%netscape.com
b38a2785a4 Gordon has much more to say about the last few checkins... But we forgot to wire up nsCacheEntryDescriptor::MarkValid() to nsCacheEntry::MarkValid(). Enjoy the ride. 2001-02-27 05:43:16 +00:00
gordon%netscape.com
da22074c6d Changed GetKey() to return key as return value, rather than out parameter. Added flag predicates for storage policy. 2001-02-27 05:35:53 +00:00
gordon%netscape.com
41f6ec1758 Add virtual methods for desctructor and Init(). Changed ActivateEntryIfFound() to FindEntry(). 2001-02-27 05:33:34 +00:00
gordon%netscape.com
db0eae7ff6 Add explicit close() method to decouple descriptor state from cache entry. Close() is an idempotent operation, and will be called by default from the descriptor's destructor. This allows Javascript to release the cache entry earlier than the descriptor may be garbage collected. 2001-02-27 05:29:25 +00:00
beard%netscape.com
1c05ec4343 tests new object cache. 2001-02-27 05:27:55 +00:00
dprice%netscape.com
199c935b04 # 65845 sr=waterson, new order files will greatly reduce the number of link warnings. 2001-02-27 04:38:19 +00:00
darin%netscape.com
8d0d0b8f05 [not part of the build] Added AsyncRead support to nsMemoryCacheTransport. 2001-02-27 04:29:24 +00:00
dougt%netscape.com
4e26add3c6 conditionally compiling new cache. r=dougt/a=gagan 2001-02-27 03:16:59 +00:00
dougt%netscape.com
8518edb494 Conditionally compiling new cache. r=dougt/a=gagan 2001-02-27 02:27:21 +00:00
dougt%netscape.com
9c636b1448 NOT PART OF BUILD. Updating new cache windows makefile to produce a dll. Removing the empty virtual destructor in nsCacheDevice.h 2001-02-26 23:51:03 +00:00
darin%netscape.com
c4d709039a Corrected copyright headers. 2001-02-26 22:29:40 +00:00
beard%netscape.com
1a9592f726 [not part of build] added nsCacheSession.cpp. 2001-02-26 15:54:11 +00:00
beard%netscape.com
30bb9bbe9a [not part of build] I changed all the declaration of all PRInt32 storagePolicy variables to nsCacheStoragePolicy. 2001-02-26 15:53:31 +00:00
gordon%netscape.com
1849fd2f14 Update Makefile.in to build cache service as separate module. 2001-02-26 14:58:58 +00:00
gordon%netscape.com
7aca7c5812 Begin implementing eviction of memory cache entries. 2001-02-26 14:57:40 +00:00
gordon%netscape.com
4c47d10d3e Updated methods for addition of nsCacheSession. 2001-02-26 14:55:58 +00:00
gordon%netscape.com
bf694b72f9 Add the session's storagePolicy to nsCacheRequest, and changed type of mAccessRequested to nsCacheAccessMode. 2001-02-26 14:53:28 +00:00
gordon%netscape.com
fadc2c609d Fix HashKey method. 2001-02-26 14:46:54 +00:00
gordon%netscape.com
974bd79339 Add stub methods for getting/setting data size, and getting the transport for a cache entry descriptor. Update for change to Substring parameters. 2001-02-26 14:45:45 +00:00
gordon%netscape.com
55f28b0eba Add code for removing requests and descriptors from cache entries. 2001-02-26 14:42:50 +00:00
gordon%netscape.com
e3db681306 Adding files for nsCacheSession implementation. 2001-02-26 14:40:22 +00:00
gordon%netscape.com
1f40874791 Add constants to indicate whether a cache session is streamBased or not. This interface file is not part of the build yet. 2001-02-26 14:27:16 +00:00
darin%netscape.com
a012624af4 Initial memory cache nsITransport implementation (not part of the build). 2001-02-26 07:40:34 +00:00
blakeross%telocity.com
bbe999182d Backing out doug to fix win bustage. 2001-02-26 00:55:18 +00:00
dougt%netscape.com
e52b19822a Adding New Cache interfaces to build 2001-02-26 00:02:44 +00:00
pavlov%netscape.com
07b05160ea fixing unix makefile 2001-02-25 23:13:51 +00:00
dougt%netscape.com
e047ff2c94 Fixing return type: 2001-02-25 07:31:13 +00:00
dougt%netscape.com
806ef186c2 NOT PART OF BUILD!!
This is the windows makefile for the new cache.
2001-02-25 07:18:36 +00:00
cls%seawood.org
3580b1cac0 Adding and updating necessary .cvsignore files. Bug #61550 2001-02-24 06:22:49 +00:00
beard%netscape.com
c637de1de1 [not part of build] changes to build correctly on Mac, and link correctly on all platforms. 2001-02-24 04:22:19 +00:00
beard%netscape.com
e16678d994 [not part of build] projects to build new cache on Mac. 2001-02-24 04:21:26 +00:00
scc%mozilla.org
9226b1aed1 bug #'s 69940 and 69289: r=dbaron, sr=waterson. Fix parameters to, templatization of |Substring()|. 2001-02-24 02:55:46 +00:00
gordon%netscape.com
58aeb43790 Include nsNetCID.h for cache service contract id. 2001-02-24 02:47:37 +00:00
gordon%netscape.com
cfb921fac8 Adding contract id for new cache service. r=beard. 2001-02-24 02:44:43 +00:00
darin%netscape.com
d22de88f0f Made accessGranted be of type nsCacheAccessMode. This is not part of the mozilla build. 2001-02-24 01:36:11 +00:00
darin%netscape.com
a19e03ee92 Updating cache IDL documentation. This is not part of the mozilla build. 2001-02-24 01:27:49 +00:00
gordon%netscape.com
cb127e5457 Updated new cache source to build with recent changes to interface files. These files are not part of the build. r=beard, darin. 2001-02-24 01:02:37 +00:00
beard%netscape.com
67f04722d0 [not part of build] stand-alone cache module. 2001-02-24 00:19:43 +00:00
gordon%netscape.com
e41f5dd4d8 Remove inheritance from interface, and provide transport as an attribute. This change is not part of the build. 2001-02-23 23:55:42 +00:00
gordon%netscape.com
8706317ae2 Add nsICache.idl for common typedefs and constants. These changes are not part of the build. r = beard, darin. 2001-02-23 23:20:15 +00:00
gordon%netscape.com
d13aaaff49 New interfaces for cache service. These are not part of the build. r=beard, darin, gagan. 2001-02-23 22:23:55 +00:00
gordon%netscape.com
0abd1aae6c Adding Makefile.in for new cache service. 2001-02-23 21:05:32 +00:00
gordon%netscape.com
619c6dc8ae Rough first cut of cache service and memory object cache. It currently builds on linux. 2001-02-23 13:18:01 +00:00
tao%netscape.com
90bfcacfe5 62171: "Separate content from UI". Split langenus.xpi into regus.xpi.
browser: (r=pchen,sr=alecf), mailnews: (r=yamamoto,sr=sspitzer),
editor: (r=cmonske,sr=sfraser), xpinstall (r=ssu,sr=dveditz).
2001-02-23 08:34:10 +00:00
darin%netscape.com
51f811aba7 Fixes bug 51237. HTTP keep-alive confuses multiple ports on same host. r=gagan, sr=mscott. 2001-02-23 03:36:21 +00:00
darin%netscape.com
8027376afb Whitespace and indentation cleanup. 2001-02-23 01:33:52 +00:00
beard%netscape.com
4d20c9da5e restore NeckoCarbon[Debug].shlb targets. r=sfraser, a=jj 2001-02-23 01:00:43 +00:00
darin%netscape.com
32349f203c Updating test files. 2001-02-23 00:53:08 +00:00
darin%netscape.com
5f53dc2545 Partially resolves bug 10733. XP_UNIX does not have an async DNS implementation. r=rpotts, sr=mscott. 2001-02-23 00:15:35 +00:00
mstoltz%netscape.com
6ddb173736 bug 63451 - moved signature verification functions from nsIZipReader to nsIJAR. r=sgehani, sr=shaver 2001-02-23 00:15:04 +00:00
gordon%netscape.com
2952a120cd Adding interface files for new cache service. 2001-02-23 00:11:10 +00:00
darin%netscape.com
e5174a8589 Fixes bug 66837. Query interface needed. r=dougt, sr=mscott. 2001-02-23 00:07:58 +00:00
darin%netscape.com
6710dd1b98 Fixes bug 58655. nsSyncHelper uses a native event queue. r=dougt, sr=mscott 2001-02-23 00:00:04 +00:00
disttsc%bart.nl
a6f2f5861a 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
sfraser%netscape.com
75078651ff Remove extra access paths into zlib's macbuild dir, in non-debug targets. Should avoid "files missing from view hierarchy" errors. 2001-02-21 23:03:03 +00:00
dougt%netscape.com
e306ca0364 Suggested fix from scc@mozilla.org 2001-02-21 23:02:29 +00:00
dougt%netscape.com
fc084234b8 making the SunOS complier happy with an static cast 2001-02-21 22:15:31 +00:00
dougt%netscape.com
43d310f1b9 fixing typo. 2001-02-21 21:51:50 +00:00
dougt%netscape.com
128f95aa9b 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
beard%netscape.com
4fd221a75d [not part of build] drawThemeButton has same signature as others, and assumes a "kind=pushButton" argument. added drawThemeProgressbar. 2001-02-20 16:53:32 +00:00
beard%netscape.com
db35351cec [not part of build] added gThemeActions dispatch table. 2001-02-20 04:17:09 +00:00
dbaron%fas.harvard.edu
de95d1077f Fix gcc 2.7.2.3 bustage with NS_READABLE_CAST. 2001-02-18 18:08:18 +00:00
dbaron%fas.harvard.edu
cac322246a Fix excessive string conversion / bad string usage. r=disttsc@bart.nl sr=brendan@mozilla.org b=68653 2001-02-18 17:11:44 +00:00
alecf%netscape.com
19bc55bf31 part of fix for #46488 - http startup handlers get an Observe() call as well
r=valeski, sr=waterson
2001-02-15 14:43:34 +00:00
mstoltz%netscape.com
5dbb3f0b61 Bug 66331, nsCodebasePrincipal::GetOrigin needs to specify the port
if nonstnandard. Fixes a bug in LiveConnect. r=dougt, sr=jband.
2001-02-14 00:27:34 +00:00
pinkerton%netscape.com
d465909997 carbon changes. r=pink/sdagley/beard. a=sfraser. 2001-02-13 21:48:26 +00:00
dprice%netscape.com
997fb091c7 65845 first cut of the order files 2001-02-13 02:48:02 +00:00
disttsc%bart.nl
3d2d80d536 Back out dougt's channel changes 2001-02-12 03:14:23 +00:00
disttsc%bart.nl
aa76b2587d 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
43b0b182ef Fix OS/2 bustage from dougt's changes with PR_STATIC_CALLBACK. 2001-02-10 02:54:47 +00:00
bryner%uiuc.edu
d16ccaa1c1 Removing #ifdef DEBUG_bryner code which I don't care about any more and which breaks with dougt's changes. a=jag. 2001-02-10 02:47:00 +00:00
disttsc%bart.nl
65ab4e91cb Fix senna bustage, update REQUIRES 2001-02-10 02:44:55 +00:00
dougt%netscape.com
1b9ca82439 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
dougt%netscape.com
a8cd461cb9 necko channel changes. r=darin, a=rpotts 2001-02-10 00:05:02 +00:00
mscott%netscape.com
bf44a83159 Bug #63193 --> if we can't find a protocol handler for the specified scheme then create the default protocol handler
and use it instead.
sr=rpotts
2001-02-07 05:54:35 +00:00
dbaron%fas.harvard.edu
5bb7f6fc90 Fix orange by correcting mismatch of strings and return values. r=disttsc@bart.nl 2001-02-07 05:12:18 +00:00
law%netscape.com
5a7112f3dd Long lost patch for bugs 27609,35161, et al; r=mcafee, sr=mscott 2001-02-07 04:33:39 +00:00
gagan%netscape.com
8eba084e89 Adding ldap optimization cuz dmose wants it real bad. r=dmose 2001-02-07 02:14:52 +00:00
gagan%netscape.com
97bcbf3a99 More of the scheme compare changes. This fixes the javascript: urls that I so shamelessly broke. The bug numbers are 66577 and 67347. r=mstoltz sr=brendan,shaver. 2001-02-07 01:12:19 +00:00
bryner%uiuc.edu
120c2b4fd9 bug 67527 -- cleaning up psm module registration (both psm 1.x and PIP). r=javi, sr=brendan. 2001-02-06 23:10:16 +00:00
colin%theblakes.com
32c1a5ba47 VMS specific fix; tagFile name needs a case blind compare. b=55950 r=rpotts 2001-02-06 15:28:11 +00:00
bryner%uiuc.edu
a34bb210c2 bug 67582 - set channel on security info object for ssl-forcehandshake sockets. r=pavlov, sr=mscott. 2001-02-06 00:31:56 +00:00
mozilla.BenB%bucksch.org
3010e0e287 65488: Small speed improvements. Obviously intended by mscott, but not actually taken advantage of, till now. sr=mscott, r=dougt. 2001-02-05 10:25:00 +00:00
bryner%uiuc.edu
1ce5786aaa Bug 67530 - failure sending mail if PSM not installed. r/sr=mscott. 2001-02-04 01:16:13 +00:00
valeski%netscape.com
e240f6ab6e removing unused static method 2001-02-03 23:43:59 +00:00
bryner%uiuc.edu
75a38f1c5e Fix bug 67203 (https URL's not loading). r=dbaron, a=ben. 2001-02-01 04:10:35 +00:00
mscott%netscape.com
0b910f67b1 initialize the refcount to fix some annoying assertions
r=darin,dougt
2001-02-01 00:06:14 +00:00
bryner%uiuc.edu
0fc1b4c1b4 fix a compiler warning. sr=scc. 2001-01-31 06:48:25 +00:00
gagan%netscape.com
79713bc4c2 Optimization for scheme comparison of URIs. See bug 66577 for details. r=darin, sr=brendan@mozilla.org 2001-01-31 01:33:03 +00:00
bryner%uiuc.edu
f0c96eafce Bug 66886 - parent PSM dialogs correctly. This fixes all of the cases in PSM2 and several cases in PSM1. r=javi,danm. sr=mscott. 2001-01-30 02:12:53 +00:00
darin%netscape.com
608101cece Fixes bug 61406. Finger protocol uses wrong context in listener callbacks.
patch=bbaetz@student.usyd.edu.au, r=darin@netscape.com, sr=mscott@netscape.com
2001-01-30 02:02:20 +00:00
dbaron%fas.harvard.edu
6a1cef6f9a Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org 2001-01-27 23:06:33 +00:00
dbaron%fas.harvard.edu
1e046d05c0 Reduce unnecessary #includes to speed up compilation. r=bryner/sfraser sr=alecf b=64023 2001-01-27 16:58:15 +00:00
darin%netscape.com
0215be729e Fixes bug 66494. Assertion in nsAutoLock. r/sr=brendan@mozilla.org. 2001-01-27 16:35:21 +00:00
darin%netscape.com
d4b4bf4bce Fixes bug 66493. nsSocketTransport changes broke in-process PSM.
r=bryner,gagan,brendan,dougt sr=mscott
2001-01-27 01:28:00 +00:00
gagan%netscape.com
69c379d583 Fix for bug 58728. Null check for the disappearing mResponseDataListener. r=darin, sr=alecf. 2001-01-25 04:03:52 +00:00
neeti%netscape.com
37aa2fa15a fix for bug 44153 - Redirect.xul needs to be removed, r=darin, sr=mscott 2001-01-24 14:04:02 +00:00
darin%netscape.com
d52027c46e update 2001-01-24 01:33:40 +00:00
darin%netscape.com
ceed3115a3 Ported to WIN32 2001-01-24 01:18:23 +00:00
mkaply%us.ibm.com
8172380790 OS/2 TB Breakage
Need cast, and mkdir to PR_MkDir
2001-01-24 01:12:07 +00:00
darin%netscape.com
2669eddc1f Fixes speedracer SunOS/Sparc bustage. 2001-01-23 23:40:50 +00:00
darin%netscape.com
a3a3960c43 Bug 62566. Left out a change to makefile.win. 2001-01-23 22:57:30 +00:00
dbaron%fas.harvard.edu
af3077a8d4 Add dbm to REQUIRES to fix MOZ_TRACK_MODULE_DEPS bustage. 2001-01-23 22:30:05 +00:00
darin%netscape.com
6a7567992b 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
darin%netscape.com
46a390d78f Bug 62566. nsIChannel::AsyncWrite interface revision and related cleanup. r=dougt, sr=mscott 2001-01-23 22:03:51 +00:00
gordon%netscape.com
cec42466c4 Separate tests for reading and writing. 2001-01-23 04:16:27 +00:00
gordon%netscape.com
f141a411ab Adding performance test for disk cache. 2001-01-23 03:33:03 +00:00
bryner%uiuc.edu
bdb99dba0f added files: mozilla/netwerk/socket/base/nsIChannelSecurityInfo.idl, mozilla/netwerk/socket/base/nsISSLSocketControl.idl, removed files: mozilla/netwerk/socket/base/nsISecureSocketInfo.idl 2001-01-19 01:37:55 +00:00
bryner%uiuc.edu
4e954931d3 PSM 2.0 work:
- Split nsISecureSocketInfo into nsISSLSocketControl and nsIChannelSecurityInfo.
- Incorporate lock icon fixes from psm-glue into pipnss code.
- Implement password callback for client auth in pipnss.
- Locallize the lock icon tooltip.
- Lots of code cleanup.

r=javi, jgmyers, sr=ben.
2001-01-19 01:12:10 +00:00
alecf%netscape.com
b80f4f8766 fix random crashes during shutdown
r=bryner,blake (trying to get tree open, no sr=)
2001-01-17 23:42:42 +00:00
alecf%netscape.com
c3bca6ce8d fix for 44208 - send notification when we go offline/online
r=valeski, sr=bienvenu
2001-01-17 19:51:28 +00:00
dbaron%fas.harvard.edu
2169ed89b5 Add assertion and null-check to fix topcrash bug 52492. (This fix was checked in on the N6 branch long ago.) r=darin@netscape.com sr=mscott@netscape.com 2001-01-17 00:15:07 +00:00
dougt%netscape.com
31b6aa3971 Removing unused files which were removed on the FTP branch, but were never removed from the trunk. r=valeski, a=rpotts. 2001-01-12 22:12:12 +00:00
dougt%netscape.com
cbcc1af909 adding a little test suite in html for ftp. It is not part of the build. 2001-01-12 22:10:55 +00:00
dougt%netscape.com
9906e380fd duh! wrong var being used. r=darin a=me 2001-01-11 20:55:09 +00:00
neeti%netscape.com
7dc2d704b2 fix for bug 59975 - general.useragent.override ignored, r=darin@netscape.com,sr=mscott@netscape.com 2001-01-11 15:17:30 +00:00
ccarlen%netscape.com
f4520c9c9c fixing bustage - removing file nsiConnectionCache.idl 2001-01-11 01:13:37 +00:00
dbaron%fas.harvard.edu
23cd859c75 Fix senna tinderbox bustage by adding profile to REQUIRES. 2001-01-10 23:51:12 +00:00
dbragg%netscape.com
a613321070 Checkin mac project file for dougt's FTP changes. r=dougt a=rpotts. See dougt for any breakage or anything related to this change. 2001-01-10 23:46:23 +00:00
dougt%netscape.com
c16bef45b4 Landing of FTP branch. Highlights include (a) ftp is now async, (b) removal of threadpool, (c) better caching of control socket. See posting on netlib newsgroup for details. reviewers include valeski@netscape.com, gordon@netscape.com. Superreveiwer is rpotts@netscape.com. Bugs fixed by this bug include 61678. 2001-01-10 23:45:04 +00:00
ccarlen%netscape.com
a10e2607be Part of 35559 - dynamic profile switching r=darin,sr=mscott 2001-01-10 20:24:23 +00:00
blakeross%telocity.com
1741742954 getting rid of a dump(). 2001-01-09 22:13:19 +00:00
dougt%netscape.com
00d3cd613f Fixes dropped socket transport during shutdown. The xpcom fix causes the UI event queue to be processed one final time after services shutdown. The socket transport fix forces all remaining active transports to be canceled, then released. r= waterson@netscape.com && darin@netscape.com a=mscott@netscape.com. b=63565 2001-01-09 05:44:47 +00:00
darin%netscape.com
b0f7d5005d Fixes bug 64617. UA-string is incorrect on BeOS. patch=vegarwa@online.no,
r=darin, sr=mscott.
2001-01-09 02:03:16 +00:00
ccarlen%netscape.com
b771c31c26 Fix for #56127 - Was not handling pref changed callback when dir changed. r=gagan, sr=mscott 2001-01-08 15:45:18 +00:00
bryner%uiuc.edu
f579bca00b Removing unused Makefile.in's (files in these directories are now exported via jar.mn). Bug 55778. r=ben, cls. Not part of build. 2001-01-05 23:51:45 +00:00
mcafee%netscape.com
d4def82399 Fixing small html errors in about:cache (64180). patch=gemal, r=mcafee,timeless 2001-01-04 01:00:50 +00:00
mcafee%netscape.com
4a2f7674fa HTML 4.0-izing about:cache. patch=gemal, r=mcafee 2001-01-03 00:08:04 +00:00
bryner%uiuc.edu
cc136ead8f Bug 55778 -- Don't descend into resources directories that don't have a jar.mn file. This is the Unix portion of the cleanup. r=dprice, sr=cls. 2000-12-15 07:32:25 +00:00
darin%netscape.com
88534b4381 Fixes bug 51363. Can't login into my.lycos.com. r=dougt, sr=mscott 2000-12-15 00:06:13 +00:00
bryner%uiuc.edu
4b89c22e9f Removing this file so the directory will go away. 2000-12-14 04:27:26 +00:00
beard%netscape.com
fc5eb24619 [not part of build] don't hack alpha when running on Mac OS X. 2000-12-14 00:43:51 +00:00
rpotts%netscape.com
f7304a8b71 Fix for assert when loading content from the memory cache (ie. hitting Back). r=jst 2000-12-13 23:11:32 +00:00
vidur%netscape.com
0a4eedc07d Implementation of ReadSegments to support less copying in the parser. r=rpotts, sr=jst 2000-12-12 21:57:47 +00:00
beard%netscape.com
a910b65553 [not part of build] implements theme:menu and theme:menuseperator <lordpixiel@mac.com>, r=beard 2000-12-06 17:25:16 +00:00
beard%netscape.com
f185353cb7 [not part of build] Support for building with TARGET_CARBON. Added template for managing component scoped UPPs. 2000-12-06 17:16:12 +00:00
beard%netscape.com
b8ff04d359 [not part of build] using CSS to do button alignment. 2000-12-06 05:31:07 +00:00
dougt%netscape.com
803ef26399 50558. check for nulls. written by warren harris r=dougt@netscape.com a=mscott@netscape.com 2000-11-30 21:14:41 +00:00
dougt%netscape.com
c6c63a0641 60723. check for null. r=valeski@netscape.com 2000-11-30 21:12:54 +00:00
mkaply%us.ibm.com
65956840c2 #56767
r/a=cls,leaf
Remove XP_PC - use XP_WIN or XP_OS2 explicitly
2000-11-29 23:28:04 +00:00