608 Commits

Author SHA1 Message Date
jaggernaut%netscape.com
2b3b3b2586 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
pete%alphanumerica.com
63991fa7da Fix for nsIFile delete conflicts with JS reserved name b=37406, r=dougt, sr=jst
Renamed all Delete methods to Remove.

--pete


git-svn-id: svn://10.0.0.236/trunk@99803 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-24 18:38:25 +00:00
bbaetz%cs.mcgill.ca
8ba48c051d 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.


git-svn-id: svn://10.0.0.236/trunk@99543 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-18 23:37:17 +00:00
dbaron%fas.harvard.edu
9359000a40 Header include dependency cleanup. b=64023 r=jag rs=brendan
git-svn-id: svn://10.0.0.236/trunk@99299 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 02:40:48 +00:00
cls%seawood.org
80832fa814 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


git-svn-id: svn://10.0.0.236/trunk@98798 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-06 08:07:43 +00:00
timeless%mac.com
ab1b02241d Bugzilla Bug 88769 'nsDiskCacheEntry' : type name first seen using 'class' now seen using 'struct'
r=jtaylor sr=shaver


git-svn-id: svn://10.0.0.236/trunk@98635 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-04 07:06:34 +00:00
jaggernaut%netscape.com
51b17b5bf0 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 :-)


git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
darin%netscape.com
59d5a4317d Fixes bug 85054 "Hard Drive grinds when disk cache set to zero."
patch=gordon, r=gagan, sr=darin


git-svn-id: svn://10.0.0.236/trunk@98119 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-28 01:30:26 +00:00
darin%netscape.com
ee129f3bf3 Fixes bug 82418 "URL makes mozilla totally unresponsive" patch=gordon
r/sr=dougt,darin


git-svn-id: svn://10.0.0.236/trunk@98021 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-27 02:30:18 +00:00
darin%netscape.com
225b5621ea Fixes bug 87710 (part 1) "Image cache does not re-validate images before reusing them"
r=bbaetz, sr=jst


git-svn-id: svn://10.0.0.236/trunk@97932 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-26 07:06:52 +00:00
rpotts%netscape.com
fccb2d91f6 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...
git-svn-id: svn://10.0.0.236/trunk@97855 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-25 06:22:44 +00:00
waterson%netscape.com
18986ada3f 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.
git-svn-id: svn://10.0.0.236/trunk@97613 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 20:21:49 +00:00
cls%seawood.org
88aedd461b 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


git-svn-id: svn://10.0.0.236/trunk@97363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-18 22:10:38 +00:00
gordon%netscape.com
4175698458 Fix bug 82009 "purify msg: Freeing mismatched memory". Changing FlattenMetaData() semantics to eliminate malloc and buffer copy. r=beard, sr=darin, a=asa.
git-svn-id: svn://10.0.0.236/trunk@97099 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-13 23:37:41 +00:00
danm%netscape.com
f62f90cf24 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
git-svn-id: svn://10.0.0.236/trunk@96483 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-06 02:30:07 +00:00
gordon%netscape.com
42912e8176 Fix bug 82370, leak in disk cache. r=dbaron, sr=darin, a=asa.
git-svn-id: svn://10.0.0.236/trunk@95922 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-25 18:47:53 +00:00
scc%mozilla.org
1314d936af bug #75220: fixing stragglers, people who checked in uses of |nsLiteralC?String| after it had already been removed from the build
git-svn-id: svn://10.0.0.236/trunk@95763 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-23 01:21:04 +00:00
gordon%netscape.com
172e3a508b Fix bug 81799 "Infinite loop in disk cache" (handling the disk cache size=0 case), sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@95634 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 23:35:37 +00:00
gordon%netscape.com
3bcab7da3b Fix for smoketest blocker bug 81799 "Infinite loop in disk cache", sr=darin.
git-svn-id: svn://10.0.0.236/trunk@95610 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 22:05:10 +00:00
jst%netscape.com
535c86019d 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.
git-svn-id: svn://10.0.0.236/trunk@95533 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 11:27:30 +00:00
gordon%netscape.com
97fea23e7d 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.


git-svn-id: svn://10.0.0.236/trunk@95463 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 23:24:09 +00:00
darin%netscape.com
b247c6b53d Http branch landing: changes to netwerk/ (bug 76866) r=gagan,sr=dougt,a=chofmann
git-svn-id: svn://10.0.0.236/trunk@94681 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 21:04:09 +00:00
gordon%netscape.com
7a7e4f8f3a Fix bug 79585 "need non-blocking OpenCacheEntry() for HTTP", r=pavlov, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@94320 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-09 03:36:00 +00:00
gordon%netscape.com
26f1643527 Fix for bug 78479 "frequent hang on quit after long use" and bug 79241 "Crash quiting the app in the cache". sr=darin.
git-svn-id: svn://10.0.0.236/trunk@94171 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 00:13:21 +00:00
gordon%netscape.com
d4e7153e5d Fix for bug 74301 "New cache not properly updating object size" and bug 78849 "nsCacheEntryDescriptor needs to be threadsafe". sr=darin.
git-svn-id: svn://10.0.0.236/trunk@94170 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 00:07:44 +00:00
gordon%netscape.com
3fb1ce1a58 fix for bug 78852 "nsDiskCacheEntry needs to be made threadsafe", sr=darin.
git-svn-id: svn://10.0.0.236/trunk@94169 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 00:05:49 +00:00
gordon%netscape.com
14fe63ff10 fix for bug 75183, "separate eviction policy for chrome needed". sr=darin.
git-svn-id: svn://10.0.0.236/trunk@94167 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 00:04:50 +00:00
kandrot%netscape.com
2f7e9262c9 Check in for Ron Guilmette. r=shaver, sr=waterson. For intl r=nhotta. Changes for NS_IMPL_NSGETMODULE. bug #46775.
git-svn-id: svn://10.0.0.236/trunk@94028 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-05 05:33:37 +00:00
gordon%netscape.com
a3fc07f496 Fix for bug 76661, "Recursive attempt to lock cache entry". r=dougt, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@93760 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-03 02:35:26 +00:00
gordon%netscape.com
e7690cb2a9 For bug 74668. Add cache device ID attribute to nsICacheEntryInfo interface,
and implementing classes.  r=beard, sr=darin.


git-svn-id: svn://10.0.0.236/trunk@93442 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-30 01:18:34 +00:00
cls%seawood.org
f4f0b8b7a6 Remove unneeded LOST_SYM_LIBS defines.
git-svn-id: svn://10.0.0.236/trunk@93441 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-30 01:13:22 +00:00
cls%seawood.org
cfeb5eff5b Set EXPORT_LIBRARY=1 in all pertinent Makefile.ins. Allows us to build the final link list as we traverse the tree. Bug #46775
git-svn-id: svn://10.0.0.236/trunk@93397 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-28 19:48:12 +00:00
bnesse%netscape.com
ee257ebfab Prefs API refactoring. Bug #46863. r=valeski, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@93158 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-26 18:41:11 +00:00
gordon%netscape.com
417e742581 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.
git-svn-id: svn://10.0.0.236/trunk@93110 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-26 05:07:28 +00:00
gordon%netscape.com
1a8faed5c8 Approved checking for bug 76372, r=gagan, sr=brendan, a=brendan/chofmann. Added guards against calls to uninitialized nsCacheEntryHashtable.
git-svn-id: svn://10.0.0.236/trunk@92982 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-24 02:22:27 +00:00
gordon%netscape.com
e42611a0e1 Approved checkin for bug 76125, cleanup usage of pldhashtable in nsCacheService.cpp. r=gagan, sr=brendan, a=asa.
git-svn-id: svn://10.0.0.236/trunk@92918 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-23 05:15:03 +00:00
bryner%uiuc.edu
607c3ab676 Backing out bnesse's fix for bug 46863 due to numerous types of runtime bustage on linux and windows. a=brendan.
git-svn-id: svn://10.0.0.236/trunk@92818 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-20 06:45:56 +00:00
bnesse%netscape.com
e8c7f4a0a7 Landing PrefAPI refactoring bug 46863. r=valeski, sr=alecf, a=blizzard.
git-svn-id: svn://10.0.0.236/trunk@92761 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-19 22:21:39 +00:00
gordon%netscape.com
713d908b72 Fix bug 75448 "Clear disk cache from prefs not working properly". Patch by
beard, r=gordon, sr=darin.


git-svn-id: svn://10.0.0.236/trunk@92591 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 23:20:06 +00:00
dveditz%netscape.com
152683d8fc Fixing build bustage (evil trailing ^M's).
git-svn-id: svn://10.0.0.236/trunk@92555 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 12:46:17 +00:00
gordon%netscape.com
27f08b9248 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.
git-svn-id: svn://10.0.0.236/trunk@92554 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 12:01:58 +00:00
gordon%netscape.com
5661879251 bug 72528, remove old cache from build. sr=darin.
git-svn-id: svn://10.0.0.236/trunk@92549 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 10:47:22 +00:00
gordon%netscape.com
6fe467e1c5 First implementation of "flat files" for cache.
git-svn-id: svn://10.0.0.236/trunk@92506 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 03:54:48 +00:00
colin%theblakes.com
6446079dd1 Use MOZ_COMPONENT_LIBS and pass via EXTRA_DSO_LDOPTS instead
of EXTRA_LIBS. r=cls b=75876.


git-svn-id: svn://10.0.0.236/trunk@92245 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-13 23:21:54 +00:00
darin%netscape.com
9d03c579d0 Necko API changes, bug 74221. r=valeski, sr=rpotts.
git-svn-id: svn://10.0.0.236/trunk@91842 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-10 06:01:08 +00:00
gordon%netscape.com
6c231a906a 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.
git-svn-id: svn://10.0.0.236/trunk@91741 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-09 09:52:15 +00:00
gordon%netscape.com
7f9f297b86 Fix bug 75171 "implement nsCacheSession::EvictEntries", sr = darin.
git-svn-id: svn://10.0.0.236/trunk@91734 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-09 08:14:08 +00:00
dbaron%fas.harvard.edu
a8482342e5 Fix OS/2 tinderbox bustage (PR_CALLBACK). r=disttsc@bart.nl
git-svn-id: svn://10.0.0.236/trunk@91528 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-06 00:33:19 +00:00
gordon%netscape.com
8c8a8786b5 Fix smoketest blocker bug 74766. DISKCACHE2_BRANCH touchdown. r=beard, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@91495 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-05 22:28:17 +00:00
dprice%netscape.com
5cbf372cac 65845 - new order files
git-svn-id: svn://10.0.0.236/trunk@91428 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-05 06:02:32 +00:00