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

2774 Коммитов

Автор SHA1 Сообщение Дата
dougt%netscape.com e7de6d2eca Adding Two IDL files to project file. Minor Necko build change per API review. r=valeski@netscape.com 2001-03-12 22:41:47 +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
shaver%mozilla.org 89c833fb49 67699: all your nsIClassInfo is belong to us
- teach nsGenericFactory about nsIClassInfo, and nsIClassInfo.idl to the
  builds
- add a heaping serving of macro love for classes that want to support it
- convert many modules to use nsGenericModule the new way
- handful of warning and modeline fixes
- nsSample and some XPConnect test classes now have nsIClassInfo support for
  testing
2001-03-12 20:43:02 +00:00
beard%netscape.com f6d62067d5 [not part of build] scan disk cache directory during initialization, to total cache usage, and implement poor man's eviction policy (once at startup/shutdown). 2001-03-12 19:31:21 +00:00
beard%netscape.com 92b1d839bd [not part of build] Mark entry dirty when data size is changed. 2001-03-12 19:29:34 +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
darin%netscape.com 8b131b2d3e [not part of the build] Fixed up HTTP cache validation for use with new cache. 2001-03-12 10:36:20 +00:00
darin%netscape.com 308c008299 [not part of the build] Replaced instances of cache manager with cache service
in comments.
2001-03-12 07:09:24 +00:00
darin%netscape.com ab6a1a96e2 [not part of the build] Replaced -1's in calls to Open{In,Out}putStream with ULONG_MAX. 2001-03-12 06:25:26 +00:00
darin%netscape.com 2ad47d48b0 [not part of the build] Updated some comments. 2001-03-12 06:23:52 +00:00
ccarlen%netscape.com 3972e66a0f Along with bug 65212 - removing unnescesary dependencies on profile. r=valeski@netscape.com, sr=alecf@netscape.com 2001-03-11 22:15:22 +00:00
ccarlen%netscape.com 8d27bb9639 Bug 65212 - profile support for kiosk mode. Also, removing profile change observer strings from header to cut dependencies. r=valeski@netscape.com, sr=alecf@netscape.com 2001-03-11 22:12:21 +00:00
darin%netscape.com 9afeb09e55 Fixes bug 71495. Landings to necko cause PSM 2.0 to not work. r=bryner, sr=mscott. 2001-03-11 21:11:47 +00:00
beard%netscape.com 6bdf538fe8 [not part of build] Turned off some benign failure assertions. 2001-03-11 19:26:04 +00:00
beard%netscape.com 334a0a0bdd [not part of build] Update visitEntries to correctly identify metadata files. 2001-03-11 19:18:48 +00:00
darin%netscape.com c85af27178 Adding comment line. 2001-03-11 18:07:01 +00:00
beard%netscape.com 452f31ee8b [not part of build] Fix incorrect usage of PR_APPEND_LINK() to keep from corrupting the list of doomed DiskCacheEntry object. (thanks gordon) 2001-03-11 06:51:53 +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 0341186cb6 [not part of build] Stopped reusing nsITransports, seems to improve stability. Implemented collision detection of cache entries, using generations and renaming upon entry deactivation. 2001-03-11 00:19:09 +00:00
valeski%netscape.com a17c1e235e sr=alecf. 71086. removing manual stream converter chaining in favor of the automatic chaining that the stream converter service supports. 2001-03-10 18:19:57 +00:00
valeski%netscape.com 621eb7a4c5 r=blizzard, sr=alecf. 71258. we were returning the wrong end of the converter list. also updating the test converter to be a little smarter. 2001-03-10 18:18:36 +00:00
darin%netscape.com 962a7eeb58 Removed spurious MOZ_NEW_CACHE lines from Makefile.in 2001-03-10 09:38:28 +00:00
darin%netscape.com 8f15b8f9ac Removed spurious MOZ_NEW_CACHE line from Makefile.in 2001-03-10 09:37:49 +00:00
darin%netscape.com abe882364a [not part of the build] Added initial about:cache implementation for new cache. 2001-03-10 09:35:44 +00:00
gordon%netscape.com b36a2cdaac [not part of build] Header file for disk cache record structures. 2001-03-10 03:51:59 +00:00
dbaron%fas.harvard.edu 9a3db28b5c 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 7fb01a8e8c Added some comments. 2001-03-10 01:03:05 +00:00
darin%netscape.com bf1570a5a5 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 daae301eb6 [not part of build] Added simple enumeration mechanism to nsCacheEntryHashtable. 2001-03-10 00:43:20 +00:00
beard%netscape.com bd3e2e26bd [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 7a60d43445 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 f6e7c1df43 [not part of build] Implemented more of cache visitor support. 2001-03-09 19:01:15 +00:00
beard%netscape.com d9fca3414e [not part of build] Tests cache visitation API. 2001-03-09 18:59:53 +00:00
beard%netscape.com 2418cb5769 [not part of build] Fix cache directory creation logic again. 2001-03-09 17:14:02 +00:00
darin%netscape.com f4a312975e Change to NS_IMPL_THREADSAFE_ISUPPORTS to fix spurious warnings. 2001-03-09 11:22:24 +00:00
darin%netscape.com 4de86fb39c Fixes bug 71317. Leak increase on tinderbox. r=bryner sr=mscott,alecf 2001-03-09 07:41:58 +00:00
beard%netscape.com 6f99d5ec06 [not part of build] Initial implementation of cache visitor support. 2001-03-09 00:04:03 +00:00
beard%netscape.com 5aa779009f [not part of build] Implemented nsCacheEntryDescriptor::GetFile(). 2001-03-08 21:22:18 +00:00
beard%netscape.com 047c50bec3 [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 80bc39fade [not part of build] implement VisitEntries. 2001-03-08 20:58:38 +00:00
beard%netscape.com dd16e5eeb2 [not part of build] Added new interfaces nsICacheDeviceInfo, nsICacheEntryInfo. 2001-03-08 20:58:11 +00:00
disttsc%bart.nl aebc676048 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 13d9044a56 Fixes bug 66516. Topperf regression from 1/23. r=dougt, sr=mscott 2001-03-08 07:53:40 +00:00
gordon%netscape.com bba4ed7917 [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 0934b4a7a2 [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 50a762e586 [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 bab8a9dd28 Fixes redness on tinderbox. 2001-03-08 03:30:33 +00:00
darin%netscape.com 9c06e8ca5a Making nsStreamListenerCID available to non MOZ_NEW_CACHE builds. 2001-03-08 01:52:36 +00:00
dougt%netscape.com 81a1a4ddf5 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