482 Commits

Author SHA1 Message Date
dbaron%dbaron.org
855a1b80fa Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@136019 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 22:35:09 +00:00
seawood%netscape.com
f8f86e7f05 Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
Bug #186241 r=dougt


git-svn-id: svn://10.0.0.236/trunk@135661 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-28 01:15:07 +00:00
seawood%netscape.com
ff9eaeb578 Enable truncation of cache files for BeOS.
Bug #162588 r=gordon sr=darin


git-svn-id: svn://10.0.0.236/trunk@135487 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-19 06:27:57 +00:00
darin%netscape.com
d23b0dfd5f fixes bug 56629 "Proxy: Client->Proxy connection errors should show proxy,
not target hostname" r=bbaetz, sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@134769 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-04 04:18:08 +00:00
seawood%netscape.com
f9eb727003 Define WIN32_LEAN_AND_MEAN globally for win32 builds.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa


git-svn-id: svn://10.0.0.236/trunk@132136 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 06:47:01 +00:00
gordon%netscape.com
6f09d5ad0b Fix bug 164363 "nsDiskCacheEntry::Size() is incorrect" r=sdagley, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@131549 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-09 03:01:11 +00:00
gordon%netscape.com
2b0227c96e Fix bug 131727 "compiler warnings in nsDiskCacheBlockFile.cpp" r=sdagley,
sr=darin.


git-svn-id: svn://10.0.0.236/trunk@131548 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-09 03:00:09 +00:00
gordon%netscape.com
9acf95ce59 Fix bug 113081 "cache capacity not updated until mozilla is relaunched".
r=bnesse, sr=darin.


git-svn-id: svn://10.0.0.236/trunk@131474 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 22:35:08 +00:00
gordon%netscape.com
9984e95f5b Fix bug 167525 "error writing 1k, 4k, 16k documents". Off by one bug with
respect to CalculateFileIndex(). r=dougt, sr=darin.

Also fix bug 166361 "Incorrect comparison in nsDiskCacheMap.cpp". sr=darin.


git-svn-id: svn://10.0.0.236/trunk@131453 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 20:09:04 +00:00
alecf%netscape.com
8c337b1e62 fix for bug 115217
merge cache dll into main necko dll for a minor startup improvement
r=dougt, sr=darin


git-svn-id: svn://10.0.0.236/trunk@130061 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-19 18:29:56 +00:00
dougt%netscape.com
e289284076 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
darin%netscape.com
af457c1371 cache fixes required for link prefetching (b=12274) r=dougt sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@128647 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-02 00:17:00 +00:00
darin%netscape.com
f6d85603cf fixes bug 163746 "cache block file patch horked support for partial cache
entries [large image requests never load once interrupted]"
r=dougt sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@128643 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-01 21:40:45 +00:00
darin%netscape.com
ac586f427f fixes bug 163841 "Mozilla hangs in PR_Lock at ptsynch.c:190" r=dougt sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@128437 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-29 04:30:54 +00:00
alecf%netscape.com
a6a3adab0e bug 162944 - FMM in cache
r=dougt/timeless, sr=darin


git-svn-id: svn://10.0.0.236/trunk@127427 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-16 00:08:14 +00:00
darin%netscape.com
b608cb7f42 fixes bug 161417 - recent netwerk checkin upped warning count by 4
r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@127075 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-12 14:25:40 +00:00
seawood%netscape.com
0b3ff474f3 Removing old nmake build makefiles. Bug #158528 r=pavlov
git-svn-id: svn://10.0.0.236/trunk@126975 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 07:55:43 +00:00
mkaply%us.ibm.com
7311fa3f95 OS/2 bustage
git-svn-id: svn://10.0.0.236/trunk@126657 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 11:01:59 +00:00
darin%netscape.com
bf8d9a2755 fixing planetoid (mach-o) bustage... GCC 2.95.2 seems awfully picky!
git-svn-id: svn://10.0.0.236/trunk@126577 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 02:17:48 +00:00
darin%netscape.com
7f9fc38dbd landing gordon's patch for bug 81724 - disk cache needs stream wrappers
(disk cache phase 3) patch=gordon r=dougt sr=darin


git-svn-id: svn://10.0.0.236/trunk@126569 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 01:13:29 +00:00
bryner%netscape.com
157f6e484f Remove obsolete _IMPL_NS_NET and NS_NET defines (bug 159887). r=cls, sr=bzbarsky, a=asa.
git-svn-id: svn://10.0.0.236/trunk@126038 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 02:25:08 +00:00
darin%netscape.com
69fdc31f3f fixes bug 136210 "cannot view any https urls when memory cache size is set to 0"
r=beard sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@122574 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-03 20:05:53 +00:00
dougt%netscape.com
d6cc711878 Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
git-svn-id: svn://10.0.0.236/trunk@121534 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 18:55:21 +00:00
bzbarsky%mit.edu
92f0cdd01c Bug 142135 -- make cacheToken QI to nsICacheEntryInfo. Patch by
Antonio.Xu <antonio.xu@sun.com>, r=bzbarsky, sr=darin


git-svn-id: svn://10.0.0.236/trunk@121364 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 03:21:07 +00:00
gordon%netscape.com
8dcbf5b04d fix for bug 91795 "large downloads cause mozilla to consume too much memory".
Changed OnDataSizeChange() to abort when entry size exceeds cache capacity.
r=dougt, sr=darin.


git-svn-id: svn://10.0.0.236/trunk@121316 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 23:44:53 +00:00
darin%netscape.com
24feadaaed fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@121010 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 23:07:19 +00:00
gordon%netscape.com
d7931689d2 Adding new files for disk cache. These are not part of the build, but will get reviewed before being enabled.
git-svn-id: svn://10.0.0.236/trunk@120465 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 22:08:07 +00:00
darin%netscape.com
824def02af fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@120092 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 05:33:09 +00:00
darin%netscape.com
ac7b15ca02 fixes bug 116365 (second attempt) "[RFE] Cache partial documents; automatically
issue byte range requests" r=gagan sr=mscott,rpotts,brendan a=asa


git-svn-id: svn://10.0.0.236/trunk@117526 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 23:33:19 +00:00
darin%netscape.com
67cf8f6205 backing out changes (for bug 116365) to fix btek page-loader crash.
git-svn-id: svn://10.0.0.236/trunk@117473 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 08:47:10 +00:00
darin%netscape.com
9df715a8b7 fixes bug 116365 "[RFE] Cache partial documents; automatically issue byte
range requests" r=gagan sr=mscott,rpotts,brendan a=asa


git-svn-id: svn://10.0.0.236/trunk@117469 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 06:54:07 +00:00
dbaron%fas.harvard.edu
58badaae12 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
git-svn-id: svn://10.0.0.236/trunk@117340 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 21:35:01 +00:00
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