Commit Graph

3050 Commits

Author SHA1 Message Date
dprice%netscape.com
8c0b9eaf97 65845 - new order files 2001-04-05 06:02:32 +00:00
darin%netscape.com
c5eba5936d Fixes bug 73029 "new cache time problems, reload sometimes broken"
r=disttsc@bart.nl,gagan sr=mscott
2001-04-05 03:56:54 +00:00
mkaply%us.ibm.com
0fa26403b4 OS/2 TB breakage 2001-04-04 08:25:32 +00:00
darin%netscape.com
ff1f46116c Fixes bug 74118 "can't launch with a new profile" r=bryner, sr=mscott 2001-04-04 07:28:51 +00:00
darin%netscape.com
c082dc3704 Fixes bug 74199 "about:cache-entry needs to know how to deal with
non-stream-based cache entries" r=gordon, sr=mscott
2001-04-04 07:25:58 +00:00
gordon%netscape.com
4a0c37aac2 Landing DISKCACHE1_BRANCH (part Deux) which enables dynamic eviction and efficient cache miss detection for the disk cache (bug 72506) r=beard, sr=darin. 2001-04-04 03:30:45 +00:00
valeski%netscape.com
3b1eaff7c2 sr=shaver, r=dmose. 74554. fixing array index typo 2001-04-03 22:59:02 +00:00
rickg%netscape.com
169a621d42 preloader update. r=peterl, sr=attinasi 2001-04-03 22:58:59 +00:00
disttsc%bart.nl
6200347fad Fix for bug 74488 (and hopefully bug 74552): app freezes in mail when psm dialog is brought up (/ a link is clicked), r=scc, sr=darin 2001-04-03 17:17:20 +00:00
scc%mozilla.org
f202d9b832 fix bustage 2001-04-02 23:11:04 +00:00
darin%netscape.com
4e05acafb9 Fixes bug 72520 "support for cacheKeys must be implemented" r=gordon sr=dougt 2001-04-02 01:20:43 +00:00
darin%netscape.com
70077848e8 Fixes bug 73875 "www.fox.com does not load" r=beard sr=brendan 2001-04-02 01:12:40 +00:00
jgmyers%netscape.com
d72d1758bc distinguish weak crypto in PSM2: bug 31896 r=dmose ser=darin 2001-04-01 19:37:29 +00:00
darin%netscape.com
c2cf727e40 Fixes bug 72320. abort on exit (sending "logout" to a closed IMAP socket?).
r=sspitzer,dougt,mscott.
2001-04-01 05:17:42 +00:00
beard%netscape.com
704f8c8099 Fixes bug #73194, when profile switching occurs, ensure new cache directory is created. r=beard, sr=darin 2001-03-31 07:37:19 +00:00
cls%seawood.org
96342aff6c Add needed include for BeOS BONE builds.
Thanks to maz@albany.net (Matthew Zahorik) for the patch.
Bug #71681 r=darin
2001-03-31 06:23:49 +00:00
disttsc%bart.nl
dacbb4faa9 Add "gfx2" and "imglib2" to REQUIRES lines in Makefile.in for MOZ_TRACK_MODULE_DEPS builds (e.g. senna) 2001-03-30 10:39:06 +00:00
darin%netscape.com
8befa3803a Fixes bug 72312 "gopher needs to wrap the proxy channel"
patch=bbaetz, r=dougt, sr=darin
2001-03-30 03:21:55 +00:00
darin%netscape.com
84a54aae38 Fixes bug 73917 "cache entry data size not updated" patch=beard, r=gagan, sr=darin 2001-03-29 19:58:34 +00:00
gordon%netscape.com
1ea8da52b0 Fix bug 73099. Problems with updating lastModified time stamp. r=beard, sr=darin. 2001-03-29 06:50:38 +00:00
beard%netscape.com
948af4525b Added nsDiskCacheMap.cpp and nsANSIFileStreams.cpp. [bustage fixing] 2001-03-29 06:41:02 +00:00
gordon%netscape.com
ae4d1335c4 Land DISKCACHE1_BRANCH, implementing first draft of cache map file for more efficient eviction and cache miss detection. Fixed some problems with overeager setting of lastModified time stamp. Read cache enable prefs on startup. r=beard, sr=darin. 2001-03-29 05:54:58 +00:00
gordon%netscape.com
14a4326239 Added evictEntries() methods to nsICacheService and nsICacheSession. Removed lastValidated attribute from nsICacheVisitor. r=beard sr=darin. 2001-03-29 05:51:46 +00:00
darin%netscape.com
e1c7f146e1 Fixes bug 72348 "Page load performance slower in 0.8.1 than under 0.8"
r/sr=dougt,brendan
2001-03-29 02:34:19 +00:00
dougt%netscape.com
9a9d053389 Fixes 70580, 73824. Also fixes a security hole related to port stealing as describe by rfc2577. r=gagan@netscape.com, sr=darin@netscape.com 2001-03-28 23:39:37 +00:00
darin%netscape.com
c5d5b31867 Fixes bug 72339. nsDNSService doesn't shutdown. r=gordon, sr=dougt 2001-03-28 21:18:51 +00:00
darin%netscape.com
17d4dae4bf Fixes bug 73231. nsFileTransport should report progress even if content-length
is unknown.  r=rpotts, sr=dougt
2001-03-28 20:56:59 +00:00
darin%netscape.com
543290fda7 Fixes bug 73234. nsInputStreamChannel needs to forward itself as the request
in progress events.  r=rpotts, sr=dougt
2001-03-28 20:55:26 +00:00
darin%netscape.com
75a6ceb4df Fixes bug 73554. Incorrect error message for about-cache: when entry is not found.
patch=bbaetz@cs.mcgill.ca, r=bryner, sr=darin
2001-03-28 18:26:13 +00:00
darin%netscape.com
cd054310fc Fixes bug 73940. HTTP URLs with '?' characters should not be cached unless
an expiration time is explicitly provided by the server.
r=gagan,valeski sr=dougt,alecf
2001-03-28 18:24:13 +00:00
gordon%netscape.com
d932bd7603 Bug 73491 and bug 73513. Make the disk cache fail (more) gracefully. r=mcafee, sr=waterson. 2001-03-27 23:56:18 +00:00
mkaply%us.ibm.com
4ed544fdd7 #73620
r=jband, sr=brendan
Fix some places where we used casts instead of CALLBACKs
2001-03-27 22:59:33 +00:00
bienvenu%netscape.com
73680389dd send notification for going offline before we kill all the sockets r/sr darin,dougt 73374 2001-03-27 15:17:52 +00:00
darin%netscape.com
0642d114a1 Add progress event sink notification test. 2001-03-27 08:23:42 +00:00
beard%netscape.com
06b8524af8 [not part of build] Update to newer version of interface. 2001-03-27 08:17:20 +00:00
rpotts%netscape.com
35247b3aca All nsIProgressEventSink notifications from the socket transport should go to the nsHTTPChannel... 2001-03-27 00:56:51 +00:00
rpotts%netscape.com
63191a81f3 All nsIProgressEventSink notifications from the socket transport should go to the nsHTTPChannel... (r=darin) 2001-03-27 00:20:04 +00:00
cls%seawood.org
979c006ff6 Change netwerk/mime to use MODULE=mimetype to remove avoid confusion with mailnews/mime . Update necessary REQUIRES.
Bug #68381 r=jag
2001-03-26 23:40:28 +00:00
dougt%netscape.com
3d34591986 Fix to prevent ODA from firing if there is no data. b71498, r=valeski@netscape.com, sr=darin@netscape.com 2001-03-26 23:32:19 +00:00
mkaply%us.ibm.com
5f5b489750 #73191
r=beard, sr=brendan
Remove CRT_CALL - change to PR_CALLBACK or JS_DLL_CALLBACK appropriately
2001-03-26 23:21:53 +00:00
darin%netscape.com
0280bf2a97 Fixes bug 73447. When using a proxy, shift-reload does not force a refresh
from the network.  patch=bbaetz@cs.mcgill.ca, r/sr=darin,dougt
2001-03-26 23:20:07 +00:00
darin%netscape.com
42be218e2e Fixes bug 72973. HTTP needs to release its cache output stream before
releasing its cache entry descriptor.  r=sean@beatnik.com, sr=dougt@netscape.com
2001-03-26 23:12:33 +00:00
disttsc%bart.nl
f595ed19f3 Clean up REQUIRES lines. r=cls 2001-03-25 22:59:27 +00:00
scc%mozilla.org
5993fe2aae remove hidden depencies, sr=shaver 2001-03-25 21:33:50 +00:00
scc%mozilla.org
2a48779bc3 syntax fix 2001-03-25 18:43:10 +00:00
blakeross%telocity.com
85f54f99db Removing non-compliant text/xul mimetype, replacing with application/vnd.mozilla.xul+xml (28237, patch by gerv@gerv.net). r=blake sr=hyatt 2001-03-25 16:49:38 +00:00
beard%netscape.com
5d31a75095 [not part of build] maintains a compact directory of disk cache entries, for disk cache version 1. 2001-03-25 15:49:31 +00:00
beard%netscape.com
f1e78446c3 [not part of build] nsIInputStream/nsIOutputStream wrappers for ANSI FILE objects. 2001-03-25 15:47:36 +00:00
disttsc%bart.nl
385f89696c Bug 60952: nsMimeTypes.h has wrong type for APPLICATION_HTTP_INDEX, author=Bradley Baetz <bbaetz@cs.mcgill.ca>, r=blake, sr=darin
Bug 68651, nsFtpConnectionThread should use NS_LITERAL_STRING, author=Bradley Baetz <bbaetz@cs.mcgill.ca>, r=jag, sr=dougt
2001-03-24 22:57:35 +00:00
valeski%netscape.com
b5b2d6a223 sr=dougt. adding missing lowercaseing of scheme. 72720. 2001-03-24 00:58:32 +00:00
valeski%netscape.com
169a5140b5 r=rpotts. comment changes only. 48726. adding status to idl files of api rev. ifaces. 2001-03-24 00:22:18 +00:00
pavlov%netscape.com
193f04774f fix for windows crash on profile startup, initalize disk cache lazily. bug 73197. r=beard, gordon sr=sfraser 2001-03-23 21:06:39 +00:00
darin%netscape.com
e73a665e98 nkcacheservice --> nkcache 2001-03-23 09:09:47 +00:00
darin%netscape.com
5a8f968f96 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
4cd83a6a2f 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
dac21e34cd 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
78b50e941a 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
d0576b8a58 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
caca4889fd fix fizzilla bustage. 2001-03-23 02:52:13 +00:00
gagan%netscape.com
b99b517215 Fix for bug 72831. r/sr=gagan,blizzard,darin,shaver 2001-03-23 02:19:37 +00:00
sfraser%netscape.com
62d2647193 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
3f6812c2c6 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
dfff8b71cd 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
1429dfcff5 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
410a6ccbef Remove stupid printfs. r=pavlov, sr=darin 2001-03-22 08:34:34 +00:00
mkaply%us.ibm.com
ab22754b09 OS/2 TB breakage
Need more CRT_CALL
2001-03-22 07:12:42 +00:00
mkaply%us.ibm.com
c3ec38dba5 fix indentation 2001-03-22 05:27:32 +00:00
mkaply%us.ibm.com
49e7bd880e Stupid mistake - used CRT_CALLBACK instead of CRT_CALL 2001-03-22 05:23:37 +00:00
darin%netscape.com
62c90562a9 Fixes Win32 redness. a=mcafee 2001-03-22 04:24:07 +00:00
mkaply%us.ibm.com
abefc37b49 #72075
r=cls
OS/2 TB breakage on new cache
2001-03-22 04:23:20 +00:00
mkaply%us.ibm.com
c4e875553c #72075
r=jag
OS/2 TB breakage on new cache
2001-03-22 04:20:20 +00:00
darin%netscape.com
f78db68af7 Fixes redness on speedracer. sr=dougt 2001-03-22 03:25:24 +00:00
darin%netscape.com
45914de200 Fixes speedracer bustage. a=mcafee 2001-03-22 02:25:36 +00:00
javi%netscape.com
c3be022678 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
0b2dd2b2d2 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
b5ef4f8688 Enabling new cache build in Linux. r=beard; sr=mscott,rpotts; a=chofmann 2001-03-22 00:18:13 +00:00
pinkerton%netscape.com
5ddf5bcf3d include limits.h to fix fizzilla build bustage. r=beard/sdagley. 2001-03-21 23:11:42 +00:00
dougt%netscape.com
3975dd1e74 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
6a3a4a8997 Fixes many ftp problems. Details in 72280. r=valeski@netscape.com 2001-03-21 19:04:32 +00:00
darin%netscape.com
34a97c35ec Fixes bug 71962. HTTP POST data corruption. r=blizzard, sr=brendan. 2001-03-21 00:53:16 +00:00
darin%netscape.com
f671729e59 Removing some printf's. 2001-03-20 23:37:22 +00:00
gordon%netscape.com
3361e48529 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
497249a5e8 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
0fa0b3f419 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
f667808665 Fixes bug 71397. s/r=waterson@netscape.com 2001-03-16 21:33:23 +00:00
beard%netscape.com
dea865c7e3 [not part of build] Fix dumb assertion. 2001-03-14 21:16:55 +00:00
syd%netscape.com
bcbf97737e 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
ae8df0095f Fixes tinderbox redness on the mac. r=dveditz 2001-03-14 06:58:50 +00:00
attinasi%netscape.com
24d6f0a387 force gopher port to default: sr=attinasi, r=jag b=71916 2001-03-14 06:43:00 +00:00
beard%netscape.com
8eaf2966f0 added nsAboutCacheEntry.cpp r=darin 2001-03-14 05:53:57 +00:00
darin%netscape.com
3cda6ade14 [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
7b12179306 [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
763397309e [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
b9c6dbc105 [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
080b9c96b1 Missed a file... 2001-03-14 03:13:37 +00:00
pinkerton%netscape.com
99c821a870 gopher build changes. 2001-03-14 02:52:39 +00:00
blakeross%telocity.com
808aba4ffa 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
4345c48969 files added for gopher. 2001-03-14 02:47:56 +00:00
blakeross%telocity.com
650b9d4dd1 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
1adfbc7ab3 [not part of the build] Fixed bustage in nsAboutCache. 2001-03-14 01:18:24 +00:00
darin%netscape.com
3f44553e13 [not part of the build] Make nsICacheEntryDescriptor inherit from nsICacheEntryInfo 2001-03-14 01:11:14 +00:00
beard%netscape.com
01fa85f9fd Added nsICachingChannel.idl. a=leaf, r=darin 2001-03-14 00:55:31 +00:00
darin%netscape.com
09963e2d3a 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
b995292cb9 [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
fb1419898f [not part of the build] Touch ups to HTTP validation for new cache. 2001-03-13 20:09:56 +00:00
darin%netscape.com
aaa1996e9d [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
a4e0ca3017 [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
6cf0d97f11 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
16e48afb6e [not part of the build] Added HTTP support for nsICachingChannel. 2001-03-13 11:41:43 +00:00
darin%netscape.com
53adbb8aed [not part of the build] Adding nsICachingChannel.idl for the new cache. 2001-03-13 11:15:06 +00:00
dprice%netscape.com
edb387e49c 71057 sr=waterson new order files. NOT PART OF THE REGULAR BUILD 2001-03-13 10:47:37 +00:00
darin%netscape.com
8b98d96765 [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
2c08614bbd [not part of the build] Added stubs for about:cache-entry 2001-03-13 07:32:25 +00:00
darin%netscape.com
439eb895a9 [not part of the build] Makes about:cache work with the new cache. 2001-03-13 07:31:13 +00:00
darin%netscape.com
35b4693eb6 Fixes bug 71346. Can't upload large files. r=gagan, sr=mscott. 2001-03-13 07:16:10 +00:00
gordon%netscape.com
d4824e545a 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
f1394c0f02 [not part of build] Implements poor man's eviction policy. 2001-03-13 04:54:14 +00:00
beard%netscape.com
f1e2d5cd18 [not part of build] Use forward references whenever possible. 2001-03-13 04:53:46 +00:00
darin%netscape.com
4c2326c40e [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
b348ba5890 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
aec997a897 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
2c47dd3f64 [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
13ad31dce4 Adding two idls to be exported. 2001-03-12 23:45:48 +00:00
dougt%netscape.com
cd43b2c59a Fixing line endings 2001-03-12 23:31:46 +00:00
disttsc%bart.nl
c16472211e 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
02921f234e Adds a '..' to children directories. r=dougt@netscape.com 2001-03-12 22:57:34 +00:00
dougt%netscape.com
a37f642ed0 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
c74c36c85e 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
fcf7cd0d9f 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
c9ee65f8a7 [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
b10810ae1a [not part of build] Mark entry dirty when data size is changed. 2001-03-12 19:29:34 +00:00
beard%netscape.com
d931f60a66 [not part of build] wrapped test case in test function. 2001-03-12 15:36:51 +00:00
beard%netscape.com
df28df1672 [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
3bbad52377 [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
af3ac12f49 [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
33e7b8edf6 [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
6a70220c37 [not part of the build] Updated some comments. 2001-03-12 06:23:52 +00:00
ccarlen%netscape.com
c819a81536 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
4b14f2ddc4 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
7097eae6c9 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
666ef60528 [not part of build] Turned off some benign failure assertions. 2001-03-11 19:26:04 +00:00
beard%netscape.com
d89a843595 [not part of build] Update visitEntries to correctly identify metadata files. 2001-03-11 19:18:48 +00:00
darin%netscape.com
1c900d7237 Adding comment line. 2001-03-11 18:07:01 +00:00
beard%netscape.com
a90be5e37b [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
79b1bcdc60 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
ff4a87ed33 [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
85015a6d5a 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
ec271e8e9c 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
807a75d71b Removed spurious MOZ_NEW_CACHE lines from Makefile.in 2001-03-10 09:38:28 +00:00
darin%netscape.com
fea9a0fb4d Removed spurious MOZ_NEW_CACHE line from Makefile.in 2001-03-10 09:37:49 +00:00
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