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

2750 Коммитов

Автор SHA1 Сообщение Дата
darin%netscape.com 3ffb5df348 [not part of the build] Added initial about:cache implementation for new cache. 2001-03-10 09:35:44 +00:00
gordon%netscape.com 05f414aec2 [not part of build] Header file for disk cache record structures. 2001-03-10 03:51:59 +00:00
dbaron%fas.harvard.edu 7ecde6730c Fix user-agent for Windows NT versions above 5.0. b=62663 r=valeski@netscape.com sr=mscott@netscape.com 2001-03-10 03:16:32 +00:00
darin%netscape.com b8b5c77620 Added some comments. 2001-03-10 01:03:05 +00:00
darin%netscape.com 5b97f2a839 Fixes bug 71391. Leaking sockets with CLOSE_WAIT status during page loads.
r=dougt sr=mscott
2001-03-10 00:58:54 +00:00
beard%netscape.com 644891e9a1 [not part of build] Added simple enumeration mechanism to nsCacheEntryHashtable. 2001-03-10 00:43:20 +00:00
beard%netscape.com 2a7451c0d3 [not part of build] renamed DoomEntry_Internal to DoomEntry_Locked, made public for use by cache devices. 2001-03-10 00:42:19 +00:00
rpotts%netscape.com abe013ddbe bug #70736 (r=darin@netscpe.com). Fix to nsInputStreamChannel to get the notification callbacks working... 2001-03-09 23:27:47 +00:00
beard%netscape.com 472c0da33e [not part of build] Implemented more of cache visitor support. 2001-03-09 19:01:15 +00:00
beard%netscape.com 0313a7eb10 [not part of build] Tests cache visitation API. 2001-03-09 18:59:53 +00:00
beard%netscape.com 1ec94db8a7 [not part of build] Fix cache directory creation logic again. 2001-03-09 17:14:02 +00:00
darin%netscape.com 2bd048862e Change to NS_IMPL_THREADSAFE_ISUPPORTS to fix spurious warnings. 2001-03-09 11:22:24 +00:00
darin%netscape.com 6ec7e17440 Fixes bug 71317. Leak increase on tinderbox. r=bryner sr=mscott,alecf 2001-03-09 07:41:58 +00:00
beard%netscape.com 5b0cff36d7 [not part of build] Initial implementation of cache visitor support. 2001-03-09 00:04:03 +00:00
beard%netscape.com 1f859d742c [not part of build] Implemented nsCacheEntryDescriptor::GetFile(). 2001-03-08 21:22:18 +00:00
beard%netscape.com 22e5a9f6da [not part of build] stub implementation of Visit(). Changed Cache directory creation logic in nsDiskCacheDevice.cpp. 2001-03-08 21:00:02 +00:00
beard%netscape.com bf4e360443 [not part of build] implement VisitEntries. 2001-03-08 20:58:38 +00:00
beard%netscape.com 252e11c88e [not part of build] Added new interfaces nsICacheDeviceInfo, nsICacheEntryInfo. 2001-03-08 20:58:11 +00:00
disttsc%bart.nl 8b43034cef Change implicit conversion from
|NS_ConvertUTF8toUCS2|
|NS_ConvertASCIItoUCS2|
|NS_ConvertUCS2toUTF8|
|ns[C]LiteralString|
|ns[C]PromiseFlatString|

to explicit |get()|.

Add |get()| to |nsString|, remove implicit conversion operators where possible, add NS_WARNING where not (yet!).

Bug=53057, r=alecf, sr=scc
2001-03-08 08:05:05 +00:00
darin%netscape.com 01253d7390 Fixes bug 66516. Topperf regression from 1/23. r=dougt, sr=mscott 2001-03-08 07:53:40 +00:00
gordon%netscape.com b273b672ac [not part of build]
Removed return codes for nsCacheEntryHashtable::RemoveEntry() and nsCacheDevice::DoomEntry().

Added doomEntriesIfExpired flag to nsCacheSession and nsCacheRequest, and check the flag in nsCacheService::ActivateEntry()

Added lastModified attribute to nsCacheEntryDescriptor and mLastModified data member to nsCacheEntry.  mLastModified is updated when data or meta data is changed.

Deque requests if descriptor allocation fails.  Delete requests after calling proxy in async open cache entry path.

Cleaned up the logic of doom.
2001-03-08 05:37:00 +00:00
gordon%netscape.com dd593b9f58 [not part of build]
Added readonly lastModified attribute to nsICacheEntryDescriptor.  Added PRBool attribute doomEntriesIfExpired to nsICacheSession.
2001-03-08 05:31:52 +00:00
darin%netscape.com 68fa1253bd [not part of the build] Fixed bugs in HTTP's MOZ_NEW_CACHE build. 2001-03-08 04:26:43 +00:00
darin%netscape.com c372765ee5 Fixes redness on tinderbox. 2001-03-08 03:30:33 +00:00
darin%netscape.com 9fbee055cc Making nsStreamListenerCID available to non MOZ_NEW_CACHE builds. 2001-03-08 01:52:36 +00:00
dougt%netscape.com 9abc147712 Adding two new interfaces based on API review. Bugs: (71060,71056,71055). NOT PART OF BUILD YET 2001-03-08 01:11:58 +00:00
gordon%netscape.com 7504fab80f [not part of build] Fix a couple bugs to get http working. Don't deallocate requests before listener has been notified, and don't re-add entries to active entry hashtable. 2001-03-08 01:02:27 +00:00
darin%netscape.com 3fcddb5a44 [not part of the build] Add some more logging when using new cache, and
make HTTP use the mem cache always (for now).
2001-03-08 00:59:39 +00:00
dougt%netscape.com ad4d6cb65a NOT PART OF BUILD. this makes ftp work with the cache a bit better. 2001-03-08 00:59:19 +00:00
darin%netscape.com 26b8bd34f2 Added nsStreamListenerTee to necko component. This is only used by the new
cache.  r=gordon,beard
2001-03-08 00:58:06 +00:00
gordon%netscape.com bf70d028ae Added nsStreamListenerTee.cpp to netwerk.mcp. r = saari. 2001-03-08 00:54:33 +00:00
dougt%netscape.com 364b8176ca Adding break's to the switch statement. r=darin/sr=gagan 2001-03-08 00:49:31 +00:00
valeski%netscape.com 44570a6c2d 64804. r=dougt. fixing long broken stream converter chaining. 2001-03-08 00:41:53 +00:00
beard%netscape.com c01e2e45a9 [not part of build] when DEBUG is true, always put cache directory next to current process. 2001-03-08 00:35:03 +00:00
darin%netscape.com e0c911235f [not part of the build] Added implementation files for nsIStreamListenerTee. 2001-03-07 12:54:45 +00:00
darin%netscape.com 55f7806f68 [not part of the build] Added nsIStreamListenerTee for the new cache. 2001-03-07 12:53:39 +00:00
darin%netscape.com a82ceaf849 [not part of the build] HTTP now compiles with MOZ_NEW_CACHE defined. 2001-03-07 12:19:27 +00:00
darin%netscape.com 7524781db1 [not part of the build] Fixes some bustage under GCC 2.96 2001-03-07 09:55:54 +00:00
gordon%netscape.com dc5d568ca6 [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
gordon%netscape.com acd18fda01 [not part of build]
Added rough cut of pref code for memory cache device to get cache size, and implemented simple eviction method.

Restructured nsCacheEntryDescriptor to add SecurityInfo attribute.  Created nsTransportWrapper as nested class (and member) that addrefs the descriptor instead of itself (like nsPipe).  Also rename nsCacheOutputStream to nsOutputStreamWrapper and made it a nested class as well.
2001-03-07 09:27:36 +00:00
darin%netscape.com b4ba335c31 Added some error checking. 2001-03-07 06:35:36 +00:00
beard%netscape.com e0f09d54a6 Implement pre-seeking when underlying seekable output streams. r=darin, r=gordon 2001-03-07 04:07:05 +00:00
beard%netscape.com cfae6db9a8 [not part of build] don't overwrite a NULL pointer. 2001-03-07 04:05:36 +00:00
beard%netscape.com 0f2a20c199 [not part of build] Using async open & read. 2001-03-07 04:04:33 +00:00
beard%netscape.com c4147fc9e6 [not part of build] Added synchronous http (unimplemented). 2001-03-07 04:03:39 +00:00
mkaply%us.ibm.com fca2f78b64 IRIX breakage - CR/LF problem on dougt checkin 2001-03-07 03:04:02 +00:00
darin%netscape.com 182a0a48ac [not part of the build] Initial work to conditionally compile HTTP against the new cache. 2001-03-07 02:53:34 +00:00
gordon%netscape.com 246a98a432 [not part of build] Add security info attribute to nsICacheEntryDescriptor. 2001-03-07 02:47:08 +00:00
beard%netscape.com 0fa067b527 [not part of build] Added GetFile() to implement the file attribute. 2001-03-07 01:40:41 +00:00
beard%netscape.com d4c0c120f1 [not part of build] Added file attribute to nsICacheEntryDescriptor, added STORE_ON_DISK_AS_FILE to nsICache. 2001-03-07 01:37:42 +00:00