darin%netscape.com
ee8f9cd892
nkcacheservice --> nkcache
2001-03-23 09:09:47 +00:00
darin%netscape.com
018eb2bc31
Fixes bug 73042. Make new disk cache recover well from a corrupted disk
...
entry. patch=beard; sr=darin
2001-03-23 03:44:55 +00:00
darin%netscape.com
c2a95bf8a5
Fixes bug 38260. Use big endian in disk cache. r=beard,pavlov; sr=dougt
2001-03-23 03:35:10 +00:00
darin%netscape.com
2b1bf7fa83
Completes transistion from ULONG_MAX to PRUint32(-1) which was intended to
...
fix frizilla redness. pinkerton checked in the necessary ones; this is
just for completeness. r=gagan,sdagley,sfraser,pinkerton
2001-03-23 03:32:26 +00:00
blizzard%redhat.com
090bb112c8
Fix bug #63162 . Make sure that nsSocketBOS::Write actually finishes the write with non-blocking sockets where there is a short write. This should fix problems with large corrupted mail attachments. r=darin,bryner sr=brendan
2001-03-23 03:14:56 +00:00
darin%netscape.com
16b601cd31
Fixes bug 73097. No new cache in win32 builds (as in not at all). r=gagan
...
(These changes should have gone in yesterday when we enabled the new cache,
but were somehow forgotten.)
2001-03-23 03:08:59 +00:00
pinkerton%netscape.com
4191e37f76
fix fizzilla bustage.
2001-03-23 02:52:13 +00:00
gagan%netscape.com
fe326b96fd
Fix for bug 72831. r/sr=gagan,blizzard,darin,shaver
2001-03-23 02:19:37 +00:00
sfraser%netscape.com
3bd3fa0ea0
Fix the fizilla build a better way by #including <limits.h> only where needed. r=pinkerton,brade, a=akkana.
2001-03-22 22:56:11 +00:00
sdagley%netscape.com
efe84abb63
Fix busted Mac Carbon builds due to usage of ULONG_MAX without specific inclusion of <limits.h> (non-Carbon builds apparently include it for you). r=Loki, Odin, Gracie, PolarBear, Jester, Poeka, Jack, Lumpy and bnesse
2001-03-22 22:01:45 +00:00
darin%netscape.com
12a9fec1cd
Fixes bug 73016. Should not cache POST transactions. r=valeski, sr=dougt, a=loan
2001-03-22 18:47:06 +00:00
darin%netscape.com
0449928c9b
Fixes bug 13393. HTTP should send Accept-Charset. patch=havill@redhat.com,
...
r=gagan, sr=darin
2001-03-22 08:39:41 +00:00
darin%netscape.com
6e57fe6759
Remove stupid printfs. r=pavlov, sr=darin
2001-03-22 08:34:34 +00:00
mkaply%us.ibm.com
2f4c6926de
OS/2 TB breakage
...
Need more CRT_CALL
2001-03-22 07:12:42 +00:00
mkaply%us.ibm.com
3b4e8d938c
fix indentation
2001-03-22 05:27:32 +00:00
mkaply%us.ibm.com
42f49cd9f1
Stupid mistake - used CRT_CALLBACK instead of CRT_CALL
2001-03-22 05:23:37 +00:00
darin%netscape.com
390fd29c26
Fixes Win32 redness. a=mcafee
2001-03-22 04:24:07 +00:00
mkaply%us.ibm.com
1a5c44fdda
#72075
...
r=cls
OS/2 TB breakage on new cache
2001-03-22 04:23:20 +00:00
mkaply%us.ibm.com
2262fb510d
#72075
...
r=jag
OS/2 TB breakage on new cache
2001-03-22 04:20:20 +00:00
darin%netscape.com
cbd35ababa
Fixes redness on speedracer. sr=dougt
2001-03-22 03:25:24 +00:00
darin%netscape.com
d7afae86e6
Fixes speedracer bustage. a=mcafee
2001-03-22 02:25:36 +00:00
javi%netscape.com
abaa712847
Fix for bug 72843 r=dougt sr=sfraser
Update Mac build scripts for PSM 2.0
Make necko export the default prefs for security on the Mac.
2001-03-22 01:28:52 +00:00
blakeross%telocity.com
eaa6754a0a
Fixing 70746: major xul syntax changes. If you use xul, this WILL affect you! Read n.p.m.xpfe for details on the changes and how you can fix your code. r=hewitt sr=hyatt, ben
2001-03-22 00:59:29 +00:00
darin%netscape.com
68fbb81dce
Enabling new cache build in Linux. r=beard; sr=mscott,rpotts; a=chofmann
2001-03-22 00:18:13 +00:00
pinkerton%netscape.com
e5c8283c08
include limits.h to fix fizzilla build bustage. r=beard/sdagley.
2001-03-21 23:11:42 +00:00
dougt%netscape.com
f576fd5563
fix for 69143. This patch prevents non existant files from entering into
...
the file transport process loop for reading.
2001-03-21 19:44:23 +00:00
dougt%netscape.com
4ffee24e84
Fixes many ftp problems. Details in 72280. r=valeski@netscape.com
2001-03-21 19:04:32 +00:00
darin%netscape.com
88e4808e18
Fixes bug 71962. HTTP POST data corruption. r=blizzard, sr=brendan.
2001-03-21 00:53:16 +00:00
darin%netscape.com
091a27cc84
Removing some printf's.
2001-03-20 23:37:22 +00:00
gordon%netscape.com
af685fb9d1
Landing MOZ_NEW_CACHE_20010314_BRANCH, incorporating feedback from recent test builds. New cache is still disabled by default.
2001-03-20 22:42:03 +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
disttsc%bart.nl
6653250595
Hook up browser UI after skin switch. bug=68662, r=ben, sr=alecf, a=asa
2001-03-16 22:40:15 +00:00
dougt%netscape.com
cbcd171528
Fixes bug 71397. s/r=waterson@netscape.com
2001-03-16 21:33:23 +00:00
beard%netscape.com
4147d46c3f
[not part of build] Fix dumb assertion.
2001-03-14 21:16:55 +00:00
syd%netscape.com
d4b9e66488
Fix for:
...
http://bugzilla.mozilla.org/show_bug.cgi?id=68229
r=andreww, sr=sfraser. checking in for anatoliya
2001-03-14 07:33:46 +00:00
darin%netscape.com
96f05554f1
Fixes tinderbox redness on the mac. r=dveditz
2001-03-14 06:58:50 +00:00
attinasi%netscape.com
8550394910
force gopher port to default: sr=attinasi, r=jag b=71916
2001-03-14 06:43:00 +00:00
beard%netscape.com
7d14adbbc1
added nsAboutCacheEntry.cpp r=darin
2001-03-14 05:53:57 +00:00
darin%netscape.com
b790094bb4
[not part of the build] New cache used PRUint32 for time now instead of PRTime. r=gordon
2001-03-14 03:56:01 +00:00
darin%netscape.com
a8eb17cf89
[not part of the build] New cache uses PRUint32 for time now instead of PRTime. r=gordon
2001-03-14 03:55:15 +00:00
darin%netscape.com
22e2760828
[not part of the build] Changes to make the new cache use PRUint32's for
...
time instead of PRTime's. r=gordon
2001-03-14 03:54:05 +00:00
beard%netscape.com
cf01589ab2
[not part of build] Using nsIPref::AddObserver() instead of krufty old callbacks. Using directory service to obtain profile directory and using a "profile-do-change" observer to regenerate the cache directory.
2001-03-14 03:35:09 +00:00
blakeross%telocity.com
08739dbcd3
Missed a file...
2001-03-14 03:13:37 +00:00
pinkerton%netscape.com
fffc361896
gopher build changes.
2001-03-14 02:52:39 +00:00
blakeross%telocity.com
4a6bff1569
Fix 49334: gopher support, minor restructuring of directory viewer. necko: r=darin,dougt sr=rpotts other: r=waterson,mstoltz,jag sr=alecf
...
Fix 70404: assertions for datetime and finger. r=dougt, sr=rpotts
Both patches by Bradley Baetz (bbaetz@cs.mcgill.ca )
2001-03-14 02:51:01 +00:00
pinkerton%netscape.com
3c3c9847ca
files added for gopher.
2001-03-14 02:47:56 +00:00
blakeross%telocity.com
d267ce5381
Fix 49934: gopher support, minor restructuring of directory viewer. necko: r=darin,dougt sr=rpotts other: r=waterson,mstoltz,jag sr=alecf
...
Fix 70404: assertionsf or datetime and finger. r=dougt, sr=rpotts
Both patches by Bradley Baetz (bbaetz@cs.mcgill.ca )
2001-03-14 02:41:18 +00:00
darin%netscape.com
72f658710c
[not part of the build] Fixed bustage in nsAboutCache.
2001-03-14 01:18:24 +00:00
darin%netscape.com
75591269df
[not part of the build] Make nsICacheEntryDescriptor inherit from nsICacheEntryInfo
2001-03-14 01:11:14 +00:00
beard%netscape.com
a0ed06ddf5
Added nsICachingChannel.idl. a=leaf, r=darin
2001-03-14 00:55:31 +00:00
darin%netscape.com
6862bb4108
Fixes bug 43729. HTTP response headers shows ni browswer window for content from NCSD 1.5.2. patch=mark@heily.org, r=darin, sr=mscott
2001-03-14 00:47:13 +00:00
darin%netscape.com
47ca584601
[not part of the build] Added nsAboutCacheEntry to necko component for use with the new cache.
2001-03-13 22:44:34 +00:00
darin%netscape.com
d7da231853
[not part of the build] Touch ups to HTTP validation for new cache.
2001-03-13 20:09:56 +00:00
darin%netscape.com
94ba339861
[not part of the build] Touch ups to about:cache and about:cache-entry
2001-03-13 20:06:42 +00:00
gordon%netscape.com
ac08731b0b
[not part of build]
...
Implement simple LRU eviction mechanism for nsMemoryCacheDevice.
Add cleanup code to nsCacheService to fix intermittent crashes on shutdown.
Calculate MetaData size, and update field in nsCacheEntry.
Begin implmentation of nsICacheDeviceInfo in nsMemoryCacheDevice for about:cache.
Added various statistics to nsCacheService and nsMemoryCacheDevice.
2001-03-13 15:43:17 +00:00
timeless%mac.com
fbe4dc7bd4
Bug 65428 language="javascript" should be type="application/x-javascript"
...
r=ksosez@softhome.net a=ben
2001-03-13 15:35:07 +00:00
darin%netscape.com
601c5d01b2
[not part of the build] Added HTTP support for nsICachingChannel.
2001-03-13 11:41:43 +00:00
darin%netscape.com
579a4867b1
[not part of the build] Adding nsICachingChannel.idl for the new cache.
2001-03-13 11:15:06 +00:00
dprice%netscape.com
1b42d68e45
71057 sr=waterson new order files. NOT PART OF THE REGULAR BUILD
2001-03-13 10:47:37 +00:00
darin%netscape.com
2250fea5f8
[not part of the build] Just use the HTTP url as a cache key.
2001-03-13 07:48:14 +00:00
darin%netscape.com
66aaf124e5
[not part of the build] Added stubs for about:cache-entry
2001-03-13 07:32:25 +00:00
darin%netscape.com
b8ff27462c
[not part of the build] Makes about:cache work with the new cache.
2001-03-13 07:31:13 +00:00
darin%netscape.com
945ace2667
Fixes bug 71346. Can't upload large files. r=gagan, sr=mscott.
2001-03-13 07:16:10 +00:00
gordon%netscape.com
29a0f4877d
fix for bug 29338 "PR_Poll should not poll (spin) on Mac". Checking in for sfraser. r=dougt, gordon, sdagley sr=sfraser or vice versa.
2001-03-13 06:58:56 +00:00
beard%netscape.com
c1265abcaa
[not part of build] Implements poor man's eviction policy.
2001-03-13 04:54:14 +00:00
beard%netscape.com
70853f3e63
[not part of build] Use forward references whenever possible.
2001-03-13 04:53:46 +00:00
darin%netscape.com
294c54750c
[not part of the build] Added a new interface to replace nsIStreamAsFile
...
for use with the new cache.
2001-03-13 02:24:12 +00:00
cls%seawood.org
24b7a7ccb5
Fix line ending problems caused by using inferior platforms to checkin. Working on Irix bustage
2001-03-13 02:20:55 +00:00
valeski%netscape.com
01e07dc5f5
sr=rpotts, r=gagan. 70743. switching over to new extensible URI::SchemeIs() api. and changing existing implementations over to new api. also modified nsHTTP and nsHTTPS handlers a bit to make things cleaner.
2001-03-13 02:01:07 +00:00
beard%netscape.com
e3dc1c730a
[not part of build] Use nsIObserverService to shut down cache before XPCOM is shut down. r=gordon
2001-03-13 01:59:43 +00:00
dougt%netscape.com
f13f6d799a
Adding two idls to be exported.
2001-03-12 23:45:48 +00:00
dougt%netscape.com
e9548cfa03
Fixing line endings
2001-03-12 23:31:46 +00:00
disttsc%bart.nl
854d5636c4
Part of string clean-up bug 70143, move last three #includes of "nsString2.h" over to "nsString.h". r=bryner, sr=scc
2001-03-12 23:17:18 +00:00
dougt%netscape.com
a6240bae4e
Adds a '..' to children directories. r=dougt@netscape.com
2001-03-12 22:57:34 +00:00
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
gordon%netscape.com
d97a9680bb
[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
9798e10ddf
[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
a20813cda7
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
36c8e02387
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
7c641b657e
Added nsStreamListenerTee.cpp to netwerk.mcp. r = saari.
2001-03-08 00:54:33 +00:00
dougt%netscape.com
5e10b05760
Adding break's to the switch statement. r=darin/sr=gagan
2001-03-08 00:49:31 +00:00
valeski%netscape.com
29347061b9
64804. r=dougt. fixing long broken stream converter chaining.
2001-03-08 00:41:53 +00:00
beard%netscape.com
66283015cc
[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
fee79568ba
[not part of the build] Added implementation files for nsIStreamListenerTee.
2001-03-07 12:54:45 +00:00
darin%netscape.com
95e4eaf8b4
[not part of the build] Added nsIStreamListenerTee for the new cache.
2001-03-07 12:53:39 +00:00
darin%netscape.com
235d4c9c4f
[not part of the build] HTTP now compiles with MOZ_NEW_CACHE defined.
2001-03-07 12:19:27 +00:00
darin%netscape.com
01400ef311
[not part of the build] Fixes some bustage under GCC 2.96
2001-03-07 09:55:54 +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
gordon%netscape.com
f81ce84791
[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
25c049947f
Added some error checking.
2001-03-07 06:35:36 +00:00
beard%netscape.com
a0c75f4b54
Implement pre-seeking when underlying seekable output streams. r=darin, r=gordon
2001-03-07 04:07:05 +00:00
beard%netscape.com
3b05755203
[not part of build] don't overwrite a NULL pointer.
2001-03-07 04:05: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
mkaply%us.ibm.com
480b5928d2
IRIX breakage - CR/LF problem on dougt checkin
2001-03-07 03:04:02 +00:00
darin%netscape.com
565c9d0ca0
[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
de94cdb92c
[not part of build] Add security info attribute to nsICacheEntryDescriptor.
2001-03-07 02:47:08 +00:00
beard%netscape.com
19c502a1ae
[not part of build] Added GetFile() to implement the file attribute.
2001-03-07 01:40:41 +00:00
beard%netscape.com
a8f0adf0ff
[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
darin%netscape.com
f91d2a58a2
minor coding style cleanup.
2001-03-07 00:55:43 +00:00
darin%netscape.com
9212d599bd
[not part of the buid] Renamed onDescriptorAvailable to onCacheEntryAvailable.
2001-03-06 22:04:05 +00:00
darin%netscape.com
ea8e49fbaf
[used only by the new cache] nsStorageTransport incorrectly returned TRUE for GetNonBlocking. r=dougt
2001-03-06 20:29:06 +00:00
dougt%netscape.com
1e95849b51
NOT PART OF BUILD. moving the getMetdata up a bit
2001-03-06 20:22:01 +00:00
darin%netscape.com
a93ef4a45d
Indentation, whitespace, and comment cleanups.
2001-03-06 08:46:57 +00:00
darin%netscape.com
cc6191fb0d
Indentation, whitespace, and comment cleanups.
2001-03-06 08:25:18 +00:00
darin%netscape.com
857a8a4b56
Indentation, whitespace, and comment cleanups.
2001-03-06 08:17:03 +00:00
darin%netscape.com
a8ec6ba8d7
[not part of the build] Fixes bustage resulting from bryner's nsITransport changes.
2001-03-06 07:35:54 +00:00
bryner%uiuc.edu
c69ae1d03b
Fixing build bustage.
2001-03-06 06:22:58 +00:00
bryner%uiuc.edu
fe7685bf7a
forgot a file
2001-03-06 05:44:53 +00:00
jj%netscape.com
e6bdc3f5d0
Bug 70595 - making nsIPrompt accessible to PSM. r=darin, sr=mscott. (jj checking in for bryner)
2001-03-06 05:10:55 +00:00
bryner%uiuc.edu
3f9323934e
Bug 70595 - making nsIPrompt accessible to PSM. r=darin, sr=mscott.
2001-03-06 05:10:33 +00:00
bryner%uiuc.edu
8aeb50199f
Bug 70595 - making nsIPrompt accessible to PSM. r=darin, sr=mscott.
2001-03-06 05:00:47 +00:00
gordon%netscape.com
37ba307679
[not part of build...and a good thing too] Fixed a couple of really stupid mistakes. Thanks to Patrick for finding them. Go back to your homes. Nothing to see here.
2001-03-06 04:01:00 +00:00
dbaron%fas.harvard.edu
ff70fd565b
Fix server name not showing up in status bar for FTP connections. b=66682 r=dougt@netscape.com sr=mscott@netscape.com
2001-03-06 03:32:07 +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
gordon%netscape.com
98bc4c37ef
[not part of build]
...
Fix race condition in nsCacheRequest WaitForValidation().
Force !streamBased to set storagePolicy to nsICache:STORE_IN_MEMORY when creating nsCacheSessions.
Fix ProcessRequest() to refrain from creating a descriptor for ACCESS_READ requests when no entry is found (found by pavlov).
2001-03-06 03:26:13 +00:00
dbaron%fas.harvard.edu
ae1d87a803
Add pref to REQUIRES to fix MOZ_TRACK_MODULE_DEPS (senna tinderbox) bustage.
2001-03-06 03:24:57 +00:00
darin%netscape.com
8b582a271a
[not part of the build] Prevent crash in error case.
2001-03-06 03:12:24 +00:00
dougt%netscape.com
9bab98efa0
Fixing windows bustage.
2001-03-06 02:21:37 +00:00
dougt%netscape.com
ce8d4c6c69
Adding nsIndexToHTML.
2001-03-06 02:14:59 +00:00
dougt%netscape.com
22ce951fef
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
86cd82e240
[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
a5d8f7381b
[not part of the build] Fixes sync OpenCacheEntry bustage.
2001-03-06 01:40:20 +00:00
dougt%netscape.com
cb21d20cb5
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
a241c9c2d5
[not part of the bulid] Fixes GCC 2.95 bustage.
2001-03-05 23:50:26 +00:00
beard%netscape.com
ba09aa50fd
[not part of build] Initial cache performance test.
2001-03-05 15:23:59 +00:00
gordon%netscape.com
ad145d67a9
[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
1db11411c2
[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
8978769deb
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
1c248c3aa9
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
da800d634a
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
bb360af4ab
Delegate GetNonBlocking/SetNonBlocking to wrapped output stream. r=dougt, sr=gagan
2001-03-05 03:40:41 +00:00
pavlov%netscape.com
317f1dc760
[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
3f57ca8c56
[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
692e5438d8
[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
41ac5b215e
[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
f7933b339c
[not part of build] removed memory transport files.
2001-03-03 03:42:57 +00:00
beard%netscape.com
dc318fa7c8
[not part of build] Added debug harness, explicit doom.
2001-03-03 03:42:10 +00:00
beard%netscape.com
05aac4c419
[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
5eff59b323
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
5fe3fdac08
[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
8a7011a63d
[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
c21012883d
Added nsStorageTransport.cpp. r=gordon
2001-03-03 02:21:37 +00:00
darin%netscape.com
978a35a409
Bug 70707. Added CID/ContractID for nsStorageTransport.
2001-03-03 02:11:19 +00:00
darin%netscape.com
6c82a1709c
[not part of the build] Make mem cache use nsStorageTransport.
2001-03-03 01:59:03 +00:00
darin%netscape.com
18d9e7803f
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
e06eff1a36
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
381d07e11a
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
1338ff6e0b
[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
74679406ed
[not part of build] REALLY fix nsCacheEntryHashTable::RemoveEntry. This time for sure!
2001-03-03 00:00:29 +00:00
gordon%netscape.com
6ce0ccda34
[not part of build] Fix nsCacheEntryHashTable::RemoveEntry(). r=beard.
2001-03-02 23:50:53 +00:00