darin%netscape.com
3872488d18
b=99165 Freeze nsIInputStream nsIOutputStream (not yet frozen... but close)
...
r=dougt sr=shaver a=asa
git-svn-id: svn://10.0.0.236/trunk@116359 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 00:59:06 +00:00
cathleen%netscape.com
6f09324ed7
eliminate nsCRT::strlen for char* strings (part 4), bug 124536 r=dp sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@114939 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 16:01:45 +00:00
gordon%netscape.com
dd2dbeef82
Fix bug 102921 "Mozilla crashes when Cache in profile dir points
...
to nonexistent directory". Change to fail nsDiskCacheDevice::Init()
if mCacheDirectory is nsnull. sr=darin.
git-svn-id: svn://10.0.0.236/trunk@114912 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 09:08:09 +00:00
gordon%netscape.com
956986a72e
Fix bug 107766 "DeactivateEntry: bad cache entry state when quitting". The cache entry state is legitimate on shutdown. Change NS_WARNING to NS_ASSERTION that doesn't fire on shutdown. r=gagan, sr=darin.
...
git-svn-id: svn://10.0.0.236/trunk@114888 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 05:32:18 +00:00
gordon%netscape.com
1999bf0431
Fix bug 116562 "Flash movie is not loaded if disk cache is disabled". Return error from SetCachePolicy() if storage is not currently enabled for policy. r=gagan, sr=darin.
...
git-svn-id: svn://10.0.0.236/trunk@114885 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 05:29:49 +00:00
bzbarsky%mit.edu
f68919f405
Relanding the Compare --> Equals conversion. a=mcafee
...
git-svn-id: svn://10.0.0.236/trunk@114163 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu
ffecf7f104
Testing performance impact of backout of what's left of the patch from
...
bug 115289. See bug 123947 for details. a=mcafee
git-svn-id: svn://10.0.0.236/trunk@114152 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 20:46:05 +00:00
bzbarsky%mit.edu
2fd80b82c9
Convert Compare() to Equals() where possible now that we can do
...
case-insensitive Equals(). Bug 115289, r=alecf, sr=jag
git-svn-id: svn://10.0.0.236/trunk@113665 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 02:03:07 +00:00
sfraser%netscape.com
67a35c1a08
Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@113225 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 21:14:20 +00:00
cathleen%netscape.com
dd8ebc5bd1
eliminate nsCRT::zero() to use memset to zero instead, bug 118135, r=dp sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@113183 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 02:55:57 +00:00
gordon%netscape.com
b983639064
fix bug 120833 "default value of nsICacheEntryInfo::expirationTime should be PRUint32(-1)". r=gagan, sr=darin.
...
git-svn-id: svn://10.0.0.236/trunk@112640 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 03:06:28 +00:00
gordon%netscape.com
8c95eeda39
Fix bug 119117 "nsDiskCacheMap.h compiler warning". sr=darin.
...
git-svn-id: svn://10.0.0.236/trunk@112611 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 01:27:32 +00:00
gordon%netscape.com
0c5bd606b5
Fix bug 111049 "add attribute to nsICacheSession to detect device availability". sr=darin.
...
git-svn-id: svn://10.0.0.236/trunk@112609 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 01:25:25 +00:00
gordon%netscape.com
eadf926bb1
Fix bug 119085 "cache entries corrupted if size of metadata is zero". sr=darin.
...
git-svn-id: svn://10.0.0.236/trunk@112608 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 01:24:20 +00:00
gordon%netscape.com
63bcb0a760
Fix bug 114292 (top crash in cache code). Patch prevents cache devices from evicting entries while they are being "bound". r=brendan, sr=darin, a=blizzard.
...
git-svn-id: svn://10.0.0.236/trunk@112469 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-18 22:18:28 +00:00
cathleen%netscape.com
ea31156ed0
converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp
...
git-svn-id: svn://10.0.0.236/trunk@112013 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 03:18:55 +00:00
seawood%netscape.com
0bd62df729
Landing the rest of the win32 gmake changes:
...
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup
Bug #58981 r=mcafee
git-svn-id: svn://10.0.0.236/trunk@110703 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 09:14:29 +00:00
pete%alphanumerica.com
d5c04f174e
b=77933, r=ccarlen, sr=jst
...
nsIFile::CreateUnique() has unused parameter
removed unused parameter
/**
WARNING commercial tree has one hit for this API change
*/
--pete
git-svn-id: svn://10.0.0.236/trunk@110040 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 23:06:51 +00:00
gordon%netscape.com
8bc0b7e9bf
Fix bug 110405. Removing anachronistic assertion, added condition to respect STORE_ON_DISK policy. Changed fav icon cache policy to STORE_ANYWHERE. r/sr = darin, hyatt, sfraser.
...
git-svn-id: svn://10.0.0.236/trunk@109261 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 23:04:58 +00:00
bzbarsky%mit.edu
d0c7beb38b
Use <> for system headers, not "". This should help prevent Sun WSU2
...
compiler bustage. Bug 111574, patch from Roland Mainz
(<Roland.Mainz@informatik.med.uni-giessen.de>), r=bzbarsky, sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@108847 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-23 22:36:54 +00:00
gordon%netscape.com
16ff7e9355
Fix bug 110327 "0775 is bad mask for for cache", checkin patch for timeless@mac.com, r=gordon, sr=darin.
...
git-svn-id: svn://10.0.0.236/trunk@108505 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-19 22:48:30 +00:00
alecf%netscape.com
618d9ec8d7
fix for bug 108684 - cache objects not included in bloat logs
...
r=gordon, sr=darin
git-svn-id: svn://10.0.0.236/trunk@107479 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 22:51:58 +00:00
dougt%netscape.com
fa2d0b7e98
99163 - removing nsObserverService.h includes. Also fixing 106090, extra methods on nsObserverService. r=shaver@mozilla.org, sr=jband@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@105973 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 22:01:27 +00:00
bnesse%netscape.com
7f9fa9521d
Fix for bug 103883. Add weak ref support for prefs observers to help reduce MLK cycles with preferences. r=ccarlen, darin, gordon, hewitt, mstoltz, srilatha, sspitzer. sr=alecf.
...
git-svn-id: svn://10.0.0.236/trunk@105960 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 20:54:48 +00:00
dougt%netscape.com
9070a71c49
fixing major regression caused by my change to nsIObserverService
...
git-svn-id: svn://10.0.0.236/trunk@105859 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-20 00:33:02 +00:00
dougt%netscape.com
cf60fc042e
nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163
...
git-svn-id: svn://10.0.0.236/trunk@105800 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:52:59 +00:00
gordon%netscape.com
285787e8e4
Fix bug 92908 and bug 101857. Change nsCacheService::CreateSession() to
...
return a new session even if there are no cache devices currently enabled.
Also, changed DeactivateEntry() to bind non-doomed entries if necessary to
allow the storage of meta-data-only entries, such as HTTP redirects.
r=sfraser, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@105739 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 02:05:12 +00:00
gordon%netscape.com
d48149f01d
Fix for bug 103167, removing old cache interfaces. r=sfraser, sr=darin.
...
git-svn-id: svn://10.0.0.236/trunk@105734 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 01:54:42 +00:00
alecf%netscape.com
ecd07394d1
fix for bug 103988 - fix the cache module so it is it's own module, not necko
...
r=cls, dbaron
git-svn-id: svn://10.0.0.236/trunk@105171 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 18:33:52 +00:00
gerv%gerv.net
203a974f68
CVS removal of obsolete directories. Bug 102787. Goodbyeeeee....
...
git-svn-id: svn://10.0.0.236/trunk@104543 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 18:54:49 +00:00
alecf%netscape.com
0442b447f7
Split necko MODULE into necko and necko2, part of bug 101761, r=cls
...
git-svn-id: svn://10.0.0.236/trunk@104335 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 19:53:27 +00:00
jaggernaut%netscape.com
51e0dc7a6c
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
...
git-svn-id: svn://10.0.0.236/trunk@104212 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 08:28:41 +00:00
gerv%gerv.net
13afb6d0f9
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
...
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
gordon%netscape.com
1da5a472fc
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.
git-svn-id: svn://10.0.0.236/trunk@103251 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 01:12:35 +00:00
gordon%netscape.com
eeddb9caeb
Fix bug 100216, top crash on shutdown. Added null pointer check to
...
nsCacheEntryDescriptor::RequestDataSizeChange(). r=gagan, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@103250 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 01:09:01 +00:00
jaggernaut%netscape.com
8a87c13848
One module per line for REQUIRES. r=/sr=alecf
...
git-svn-id: svn://10.0.0.236/trunk@103116 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com
8b71ae9c91
Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf
...
git-svn-id: svn://10.0.0.236/trunk@103093 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 13:41:47 +00:00
gordon%netscape.com
38ed8264eb
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.
git-svn-id: svn://10.0.0.236/trunk@103015 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 20:47:09 +00:00
alecf%netscape.com
d0766d027e
add REQUIRES support to jpeg, sun-java, db, etc.. b=98371 r=cls
...
git-svn-id: svn://10.0.0.236/trunk@102664 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 20:48:38 +00:00
valeski%netscape.com
8db35965a8
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.
...
git-svn-id: svn://10.0.0.236/trunk@102327 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 21:28:38 +00:00
gordon%netscape.com
8609b55dfc
For bugscape bug 6985. Enabling cache support for dynamically switching profiles. r=ccarlen, sr=darin.
...
git-svn-id: svn://10.0.0.236/trunk@101242 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 00:01:01 +00:00
cls%seawood.org
3b8b92a2e8
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
git-svn-id: svn://10.0.0.236/trunk@101008 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-14 07:59:59 +00:00
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