Commit Graph

475 Commits

Author SHA1 Message Date
gordon%netscape.com
f990c58b99 Fix for bug 103167, removing old cache interfaces. r=sfraser, sr=darin. 2001-10-19 01:54:42 +00:00
alecf%netscape.com
c5c5c0dfd6 fix for bug 103988 - fix the cache module so it is it's own module, not necko
r=cls, dbaron
2001-10-11 18:33:52 +00:00
gerv%gerv.net
da2c7d7481 CVS removal of obsolete directories. Bug 102787. Goodbyeeeee.... 2001-10-03 18:54:49 +00:00
alecf%netscape.com
01930dfd2c Split necko MODULE into necko and necko2, part of bug 101761, r=cls 2001-10-01 19:53:27 +00:00
jaggernaut%netscape.com
ca6197295f Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc 2001-09-29 08:28:41 +00:00
gerv%gerv.net
4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
gordon%netscape.com
18074a54b4 Fix bug 92348, browser won't start if cache capacities set to 0. Added
check to fail nsCacheService::ActivateEntry() if neither disk or memory
cache devices are enabled, or if the memory cache device is not enabled
and the request if for a non-stream-based entry. r=gagan, sr=dougt.

Also changing pref name for cache parent directory according to suggestion
in bug 78480.  r=gagan, sr=darin.
2001-09-20 01:12:35 +00:00
gordon%netscape.com
1fb8a7d027 Fix bug 100216, top crash on shutdown. Added null pointer check to
nsCacheEntryDescriptor::RequestDataSizeChange(). r=gagan, sr=darin.
2001-09-20 01:09:01 +00:00
jaggernaut%netscape.com
d1a7bfa843 One module per line for REQUIRES. r=/sr=alecf 2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com
dc40187223 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf 2001-09-18 13:41:47 +00:00
gordon%netscape.com
a1c06d8a2a Fix bug 97620 [r=rpotts, sr=brendan/ben] Added code to doom and clear
active cache entries when devices are shutdown.

Fix bug 88768 [a=nisheeth], fixing unary operator usage in nsCacheEntryDescriptor.cpp.
2001-09-17 20:47:09 +00:00
alecf%netscape.com
8bf5905937 add REQUIRES support to jpeg, sun-java, db, etc.. b=98371 r=cls 2001-09-10 20:48:38 +00:00
valeski%netscape.com
93959d48cc r=dbaron, sr=dougt. 97667. nsIInterfaceRequestor is now frozen. nsIInterfaceRequestorUtils.h is now required if you want to use do_GetInterface() for convenience. The two were split because the stuff that is now in nsIInterfaceRequestorUtils.h wasn't ready for freezing. Also, .idl files should just contain interface defs anyway. 2001-09-05 21:28:38 +00:00
gordon%netscape.com
872bbb27b3 For bugscape bug 6985. Enabling cache support for dynamically switching profiles. r=ccarlen, sr=darin. 2001-08-17 00:01:01 +00:00
cls%seawood.org
a3c1dd1b09 Use NS_PTR_TO_INT32 macros to do 64-bit safe pointer conversions.
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org
2001-08-14 07:59:59 +00:00
jaggernaut%netscape.com
e91f8a147e Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
pete%alphanumerica.com
f020dcc1cd Fix for nsIFile delete conflicts with JS reserved name b=37406, r=dougt, sr=jst
Renamed all Delete methods to Remove.

--pete
2001-07-24 18:38:25 +00:00
bbaetz%cs.mcgill.ca
2b0a7464d0 This fixes two small problems that may cause pages being partially loaded. 82720. The first problem addresses new cache entries being created when access to the entry is readonly. The second fix was to a badly placed assertion.
Patch by gordon, r=bbaetz, sr=dougt.
2001-07-18 23:37:17 +00:00
dbaron%fas.harvard.edu
aa4fec2b67 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
cls%seawood.org
faa4e8ff84 Remove obsolete --disable-new-cache option & MOZ_NEW_CACHE/OLD_CACHE ifdefs from the tree. We are not turning back now. :)
Bug #89008 r=dougt sr=waterson
2001-07-06 08:07:43 +00:00
cls%seawood.org
cfce8f4dcc Updating .cvsignore files.
Bug #84824 r=jag
2001-07-06 02:36:37 +00:00
timeless%mac.com
2009a34b03 Bugzilla Bug 88769 'nsDiskCacheEntry' : type name first seen using 'class' now seen using 'struct'
r=jtaylor sr=shaver
2001-07-04 07:06:34 +00:00
jaggernaut%netscape.com
5a6317b8a5 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2001-06-30 11:02:25 +00:00
darin%netscape.com
f829862401 Fixes bug 85054 "Hard Drive grinds when disk cache set to zero."
patch=gordon, r=gagan, sr=darin
2001-06-28 01:30:26 +00:00
darin%netscape.com
dd9a4f3f1d Fixes bug 82418 "URL makes mozilla totally unresponsive" patch=gordon
r/sr=dougt,darin
2001-06-27 02:30:18 +00:00
darin%netscape.com
e431bed7e5 Fixes bug 87710 (part 1) "Image cache does not re-validate images before reusing them"
r=bbaetz, sr=jst
2001-06-26 07:06:52 +00:00
rpotts%netscape.com
7b882ed807 bug #82458 (r=jst, sr=darin, a=blizzard). THis patch causes STATE_TRANSFERRING notifications to fire when URLs are loaded out of the disk cache or memory cache... 2001-06-25 06:22:44 +00:00
waterson%netscape.com
b74d6e1c8b Land STATIC_BUILD_20010612_BRANCH, which supports building mozilla with components statically linked into the executable, as well as 'meta modules' that combine components into uber-DLLs. 2001-06-20 20:21:49 +00:00
cls%seawood.org
bf5fb48486 Replaced NO_SHARED_LIB & NO_STATIC_LIB with BUILD_SHARED_LIBS, BUILD_STATIC_LIBS, FORCE_STATIC_LIB & FORCE_SHARED_LIB. Added FORCE_USE_PIC.
Changes allow us to have a finer control over which parts of the tree are built with PIC.  Part of the static build branch landing.
Bug #46775 r=mcafee a=leaf
2001-06-18 22:10:38 +00:00
gordon%netscape.com
f4f56f62cd Fix bug 82009 "purify msg: Freeing mismatched memory". Changing FlattenMetaData() semantics to eliminate malloc and buffer copy. r=beard, sr=darin, a=asa. 2001-06-13 23:37:41 +00:00
danm%netscape.com
ebf0feed30 nsCacheEntry now asks nsCacheService to release its data, and therefore no longer holds a strong ref to its event queue. bugscape bug 4890, bugzilla bug 84247 code=gordon,me r=beard,sfraser a=clayton,chofmann 2001-06-06 02:30:07 +00:00
gordon%netscape.com
d169ac5e97 Fix bug 82370, leak in disk cache. r=dbaron, sr=darin, a=asa. 2001-05-25 18:47:53 +00:00
scc%mozilla.org
b7b3395bad bug #75220: fixing stragglers, people who checked in uses of |nsLiteralC?String| after it had already been removed from the build 2001-05-23 01:21:04 +00:00
gordon%netscape.com
3f62a152f4 Fix bug 81799 "Infinite loop in disk cache" (handling the disk cache size=0 case), sr=hyatt. 2001-05-21 23:35:37 +00:00
gordon%netscape.com
a4988401c3 Fix for smoketest blocker bug 81799 "Infinite loop in disk cache", sr=darin. 2001-05-21 22:05:10 +00:00
jst%netscape.com
77aeecc056 scc checking in from jst's account. bug #75220: sr=jst, rs=brendan. renaming |nsPromiseC?Concatenation| to |nsDependentC?Concatenation|; |nsPromiseC?Substring| to |nsDependentC?Substring|; |nsLiteralC?String| and |nsLocalC?String| to |nsDependentC?String|, as these new names better reflect clients obligations to instances. 2001-05-19 11:27:30 +00:00
gordon%netscape.com
7b2d93cb0d Fix bug 72507, implementing level 2 disk cache. Modified disk cache to keep
metadata for all entries in a single file, rather than in separate files.
r=gagan, sr=darin.
2001-05-18 23:24:09 +00:00
darin%netscape.com
199c44a737 Http branch landing: changes to netwerk/ (bug 76866) r=gagan,sr=dougt,a=chofmann 2001-05-11 21:04:09 +00:00
gordon%netscape.com
893e8e0225 Fix bug 79585 "need non-blocking OpenCacheEntry() for HTTP", r=pavlov, sr=darin. 2001-05-09 03:36:00 +00:00
gordon%netscape.com
23a6c877af Fix for bug 78479 "frequent hang on quit after long use" and bug 79241 "Crash quiting the app in the cache". sr=darin. 2001-05-08 00:13:21 +00:00
gordon%netscape.com
9e6aeefb08 Fix for bug 74301 "New cache not properly updating object size" and bug 78849 "nsCacheEntryDescriptor needs to be threadsafe". sr=darin. 2001-05-08 00:07:44 +00:00
gordon%netscape.com
4c49dc8df0 fix for bug 78852 "nsDiskCacheEntry needs to be made threadsafe", sr=darin. 2001-05-08 00:05:49 +00:00
gordon%netscape.com
96f47a92dc fix for bug 75183, "separate eviction policy for chrome needed". sr=darin. 2001-05-08 00:04:50 +00:00
kandrot%netscape.com
afdac97c93 Check in for Ron Guilmette. r=shaver, sr=waterson. For intl r=nhotta. Changes for NS_IMPL_NSGETMODULE. bug #46775. 2001-05-05 05:33:37 +00:00
gordon%netscape.com
56d6866699 Fix for bug 76661, "Recursive attempt to lock cache entry". r=dougt, sr=darin. 2001-05-03 02:35:26 +00:00
gordon%netscape.com
0471906e82 For bug 74668. Add cache device ID attribute to nsICacheEntryInfo interface,
and implementing classes.  r=beard, sr=darin.
2001-04-30 01:18:34 +00:00
cls%seawood.org
d62bacf705 Remove unneeded LOST_SYM_LIBS defines. 2001-04-30 01:13:22 +00:00
cls%seawood.org
00f28396a9 Set EXPORT_LIBRARY=1 in all pertinent Makefile.ins. Allows us to build the final link list as we traverse the tree. Bug #46775 2001-04-28 19:48:12 +00:00
bnesse%netscape.com
000d1011d5 Prefs API refactoring. Bug #46863. r=valeski, sr=alecf. 2001-04-26 18:41:11 +00:00
gordon%netscape.com
15f2920f07 checkin for bug 76293. Moves cache directory aside on startup if disk cache is unable to read or delete files. Cache service disables disk cache device if it fails to initialize, and defaults to using memory cache instead. r=beard, sr=darin. 2001-04-26 05:07:28 +00:00
gordon%netscape.com
cadf9d7836 Approved checking for bug 76372, r=gagan, sr=brendan, a=brendan/chofmann. Added guards against calls to uninitialized nsCacheEntryHashtable. 2001-04-24 02:22:27 +00:00
gordon%netscape.com
a43eb29cb5 Approved checkin for bug 76125, cleanup usage of pldhashtable in nsCacheService.cpp. r=gagan, sr=brendan, a=asa. 2001-04-23 05:15:03 +00:00
bryner%uiuc.edu
97e89fd687 Backing out bnesse's fix for bug 46863 due to numerous types of runtime bustage on linux and windows. a=brendan. 2001-04-20 06:45:56 +00:00
bnesse%netscape.com
b0baaeabc3 Landing PrefAPI refactoring bug 46863. r=valeski, sr=alecf, a=blizzard. 2001-04-19 22:21:39 +00:00
gordon%netscape.com
3d9a817e4b Fix bug 75448 "Clear disk cache from prefs not working properly". Patch by
beard, r=gordon, sr=darin.
2001-04-17 23:20:06 +00:00
dveditz%netscape.com
e8af73b0d8 Fixing build bustage (evil trailing ^M's). 2001-04-17 12:46:17 +00:00
gordon%netscape.com
8db6e2bbfe desperate attempt to fix build bustage on win32. Don't know why it didn't like the !endif, so I'm just nuking the lines I was trying to comment out. 2001-04-17 12:01:58 +00:00
gordon%netscape.com
89b0c9362b bug 72528, remove old cache from build. sr=darin. 2001-04-17 10:47:22 +00:00
gordon%netscape.com
fd4f0027b9 First implementation of "flat files" for cache. 2001-04-17 03:54:48 +00:00
colin%theblakes.com
5fb258f72f Use MOZ_COMPONENT_LIBS and pass via EXTRA_DSO_LDOPTS instead
of EXTRA_LIBS. r=cls b=75876.
2001-04-13 23:21:54 +00:00
darin%netscape.com
00a7e27ee6 Necko API changes, bug 74221. r=valeski, sr=rpotts. 2001-04-10 06:01:08 +00:00
gordon%netscape.com
d04770c91b Fix bug 73441 "New cache needs "Clear" functionality. Changed pref advanced cache panel clear buttons to clear new cache devices, and fixed bug in nsMemoryCacheDevice to avoid calling nsCRT::strlen(nsnull). sr=darin. 2001-04-09 09:52:15 +00:00
gordon%netscape.com
0e2c10a02c Fix bug 75171 "implement nsCacheSession::EvictEntries", sr = darin. 2001-04-09 08:14:08 +00:00
dbaron%fas.harvard.edu
f452edf867 Fix OS/2 tinderbox bustage (PR_CALLBACK). r=disttsc@bart.nl 2001-04-06 00:33:19 +00:00
gordon%netscape.com
e9795367a5 Fix smoketest blocker bug 74766. DISKCACHE2_BRANCH touchdown. r=beard, sr=darin. 2001-04-05 22:28:17 +00:00
dprice%netscape.com
8c0b9eaf97 65845 - new order files 2001-04-05 06:02:32 +00:00
mkaply%us.ibm.com
0fa26403b4 OS/2 TB breakage 2001-04-04 08:25:32 +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
scc%mozilla.org
f202d9b832 fix bustage 2001-04-02 23:11:04 +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
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
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
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
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
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
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
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
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
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
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
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
45914de200 Fixes speedracer bustage. a=mcafee 2001-03-22 02:25:36 +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
beard%netscape.com
dea865c7e3 [not part of build] Fix dumb assertion. 2001-03-14 21:16:55 +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
darin%netscape.com
3f44553e13 [not part of the build] Make nsICacheEntryDescriptor inherit from nsICacheEntryInfo 2001-03-14 01:11:14 +00:00