Commit Graph

733 Commits

Author SHA1 Message Date
hg@mozilla.com
05e5d33a57 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00
roc+%cs.cmu.edu
81867edd87 Bug 367447. Support <link rel="offline-resource">. Patch by Dave Camp, r+sr=biesi 2007-03-14 01:52:07 +00:00
dbaron%dbaron.org
230136a676 Fix valgrind warning about writing uninitialized memory to disk cache by not allocating extra size for disk cache entries and then writing the extra word. b=368119 r+sr=darin 2007-01-25 23:09:01 +00:00
bzbarsky%mit.edu
a09f17bab9 Make sure to not use the same disk cache data block for different URIs. Bug
347852, patch by Alfred Kayser <alfredkayser@nl.ibm.com>, r=darin, sr=bzbarsky
2006-12-01 04:41:30 +00:00
joshmoz%gmail.com
eafe54770a remove XP_MAC from network. b=281889 r=darin 2006-11-15 21:38:48 +00:00
bzbarsky%mit.edu
0ba13612a8 Close the correct file descriptor. Bug 346250, patch by Alfred Kayser
<alfredkayser@nl.ibm.com>, r=darin, sr=bzbarsky
2006-08-01 15:18:00 +00:00
darin%meer.net
e2de5b18a2 removing unintended printf 2006-06-27 23:14:50 +00:00
darin%meer.net
edc7e0ce24 fixes bug 332730 "lock reentrancy through nsCacheEntryDescriptor::Close (deadlock)" r=biesi sr=bzbarsky 2006-06-27 23:13:48 +00:00
darin%meer.net
601d46f876 fixes bug 286397 "assertion: buffer truncation inadequate" patch by alfredkayser@nl.ibm.com, r+sr=darin 2006-06-24 01:39:38 +00:00
dveditz%cruzio.com
506140bd0c Bug 284219: add EnsureStringLength() helper function to nsReadableUtils.h to
simplify OOM checks when growing an nsAString. r/sr=darin
2006-06-22 19:07:30 +00:00
darin%meer.net
1e7da7adf8 backing out patch for bug 332730 2006-06-20 17:50:49 +00:00
darin%meer.net
753dd7db43 fixes bug 332730 "lock reentrancy through nsCacheEntryDescriptor::Close (deadlock)" r=biesi sr=bzbarsky 2006-06-20 02:05:10 +00:00
darin%meer.net
429a08b094 fixes bug 184614 "valgrind doesn't like nsDiskCacheBlockFile::WriteBlocks (uninitialized memory written to cache)" patch by alfredkayser@nl.ibm.com, r+sr=darin 2006-05-26 18:21:12 +00:00
darin%meer.net
0318b8c707 landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb 2006-05-10 17:30:15 +00:00
cbiesinger%web.de
51a89a8b1e bug 335180 Remove win32.order, mozilla-bin.order, --enable-reorder, and
associated code. These options do not really work anymore.

r=bsmedberg
2006-05-06 17:53:51 +00:00
mark%moxienet.com
8d6115d496 321366 Crash [@ PR_Close].[@ nsDiskCacheStreamIO::Flush]. Accept possible failure of nsDiskCacheStreamIO::FlushBufferToFile. r=darin 2006-04-25 18:08:09 +00:00
darin%meer.net
57e641cb56 fixes bug 330397 "Additional problems with incomplete cache entries and cache flush assertions." r=biesi sr=bzbarsky 2006-03-30 21:06:54 +00:00
darin%meer.net
595381752c backing out my patch for bug 330397 to fix download regression. 2006-03-23 06:45:07 +00:00
darin%meer.net
2a7aacfd38 fixes bug 330397 "Additional problems with incomplete cache entries and cache flush assertions" r=biesi sr=bzbarsky 2006-03-22 01:14:29 +00:00
darin%meer.net
7142e1baad fixes bug 329260 "Disk cache keeps emptying itself" r=biesi sr=bzbarsky 2006-03-09 20:02:54 +00:00
mrbkap%gmail.com
4a3e2f516f Fix silly undefined operation warnings. bug 329357, r+sr=darin 2006-03-08 02:36:41 +00:00
darin%meer.net
05b255bcdd fixes bug 321456 "Setting disk cache greater than 2097 MB fails." patch by alfredkayser@nl.ibm.com, r+sr=darin 2006-02-28 22:18:21 +00:00
darin%meer.net
2fb3027ee6 fixes bug 296538 "limit the memory cache to a reasonable value" patch by alfredkayser@nl.ibm.com, r=darin 2006-02-27 20:13:42 +00:00
darin%meer.net
7c37f72def fixes bug 328196 "nsDiskCacheDevice: Memory and codesize optimisations" patch by Alfred Kayser <alfredkayser@nl.ibm.com>, r=darin 2006-02-25 02:58:51 +00:00
mark%moxienet.com
60d0a1723e 325765 Cache causes crash crossing architecture [@ nsDiskCacheRecord::HashNumber].[@ nsDiskCacheMap::FindRecord]. Disk cache is not endian-neutral as was intended. Byte-swap the entire cache header. r=darin sr=smfr a/1.8=darin 2006-02-04 22:01:22 +00:00
cbiesinger%web.de
c2d981f764 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
darin%meer.net
7328013630 fixes bug 321833 "Clearing the cache prevents disk cache from working" r=mconnor, alfredkayser 2006-01-24 14:47:06 +00:00
darin%meer.net
eb3847a802 fixes bug 318193 "Input streams are not implemented consistently" r=biesi sr=bz 2006-01-02 02:30:32 +00:00
bzbarsky%mit.edu
f89e435042 Just throw if a null visitor is passed. Bug 309459, patch by Adam Guthrie
<ispiked@gmail.com>, r+sr=darin
2005-12-07 05:35:39 +00:00
bzbarsky%mit.edu
5358e259bf Fix deadlock on profile switch. Bug 309729, r=neil, sr=darin 2005-10-12 02:18:32 +00:00
darin%meer.net
f90da3b2fc Followup patch for bug 289352 "swap back the words from network to host format" patch by alfredkayser@nl.ibm.com, r=darin 2005-10-10 17:30:14 +00:00
bzbarsky%mit.edu
99ff4ebd94 Make sure to always set the right capacity on the memory cache device. Bug
309729, patch by Alfred Kayser <alfredkayser@nl.ibm.com>, r=darin, sr=bzbarsky
2005-10-09 19:58:06 +00:00
darin%meer.net
4eaf0cb4ad fixes bug 289352 "remove redundant seek, and optimize bitmap usage" patch by alfredkayser@nl.ibm.com, r+sr=darin 2005-10-08 01:20:36 +00:00
bryner%brianryner.com
8d94bd5c6f Make clearing the disk/memory cache also evict cached viewers in bfcache. Bug 305462, r=marria@gmail.com, sr=darin@meer.net 2005-09-29 20:24:27 +00:00
darin%meer.net
0a2ebe8cd7 fixes bug 308972 "Shutdown crash in nsCacheService::SearchCacheDevices" patch by alfredkayser@nl.ibm.com, r=darin, sz=bz 2005-09-23 19:21:36 +00:00
darin%meer.net
735db1b2e3 fixes bug 304444 "[W] UMR: Uninitialized memory read in nsDiskCacheEntry::Swap(void) {1 occurrence}" patch by alfredkayser@nl.ibm.com, r=timeless, sr=darin 2005-09-01 00:20:14 +00:00
jruderman%hmc.edu
ab17472c6c Fix typo in a comment (bug 305292). r=darin, sr=bz. 2005-08-31 21:14:14 +00:00
darin%meer.net
2f3c0b7029 fixes bug 265028 "Clearing cache sometimes fails" patch by alfredkayser@nl.ibm.com, r+sr=darin 2005-08-31 13:28:34 +00:00
bzbarsky%mit.edu
385a6f4907 Update the file size only when we actually flush out our buffer. Bug 243486,
patch by Alfred Kayser <alfredkayser@nl.ibm.com>, r=darin, sr=bzbarsky
2005-08-19 18:38:28 +00:00
darin%meer.net
0203abaec9 fixes bug 110163 "footprint: 135236 bytes allocated by disk cache on startup" patch by alfredkayser@nl.ibm.com, r+sr=darin, a=bsmedberg 2005-06-29 20:47:45 +00:00
bryner%brianryner.com
26e9238cb1 Fix units screwup in cache size computation (bug 297714). r+sr=darin. 2005-06-16 01:46:23 +00:00
bryner%brianryner.com
a921aaf348 Convert the memory cache to use the new PR_GetPhysicalMemorySize API (bug 297714). r+sr=darin, a=asa. 2005-06-15 23:37:29 +00:00
timeless%mozdev.org
4ffaeafdb9 Bug 208909 compreg.dat protection problem [OpenVMS status is decimal 114690]
lock down permissions and sanitize with comments
r=dougt sr=dveditz a=asa
2005-06-10 17:32:48 +00:00
darin%meer.net
2c230c7743 fixes bug 291033 "Enable support for profile temp directory on local filesystem" aka "delete my cache please" r=bsmedberg a=chofmann 2005-04-26 00:37:23 +00:00
cst%andrew.cmu.edu
6039e11655 Bug 289181 remove useless line from nsCacheService.cpp
r=biesi sr=darin
2005-04-06 03:51:44 +00:00
cbiesinger%web.de
44625301dd bug 283489 r=darin sr=bz
- Make the HTTP, FTP and file channels implement nsIPropertyBag2 and associated
  interfaces (by inheriting from nsHashPropertyBag)
- Use that interface to expose a "content-length" property giving the length of
  the data as a 64-bit value on the FTP and HTTP channels
- change docshell and xpinstall to use nsIPropertyBag2 instead of nsIProperties
  to read/write the referrer property
2005-04-05 17:40:32 +00:00
darin%meer.net
0da9f71117 fixes bug 285519 "Shutdown assertions warning about potential dead-locks" r=biesi sr=brendan 2005-03-18 08:46:54 +00:00
bsmedberg%covad.net
361daac936 Bug 281414 - global s/nsIPrefBranchInternal/nsIPrefBranch2/ rs=darin (did not change backwards-compatible code in extensions/irc extensions/venkman or extensions/inspector) 2005-02-25 20:46:35 +00:00
cbiesinger%web.de
f25a0b7537 Bug 282275 remove NS_NOTREACHED in ReadSegments implementations
r+sr=darin
2005-02-18 18:39:53 +00:00
bryner%brianryner.com
cd3200aa40 Change cache interfaces to use ACString for the key. Bug 277627, r+sr=darin. 2005-01-13 03:25:28 +00:00
bsmedberg%covad.net
79241940e8 Bug 273876 - libxul step 2 (everything through widget, except spidermonkey) r=darin; again, this should not affect non-xulrunner trees. 2004-12-09 19:28:35 +00:00
db48x%yahoo.com
cebb9552f5 bug 272277: Change to Append/Assign/Equals-Literal in networking
patch by Mikael Parknert <mikael@parknert.se>, r=cbiesinger, sr=darin
2004-12-04 10:19:29 +00:00
cbiesinger%web.de
ee30c584a9 Bug 266051 Remove init and shutdown from interface nsICacheService
r=darin sr=bz
2004-10-31 21:58:51 +00:00
darin%meer.net
7182021454 improvements to new disk cache (NOT PART OF THE BUILD) 2004-10-27 22:19:32 +00:00
darin%meer.net
d2a93dde73 Landing initial version of SQL-based disk cache (NOT PART OF THE BUILD) 2004-10-20 05:00:23 +00:00
cbiesinger%web.de
1aac4304bd removing obsolete nmake makefile (r+sr=darin) 2004-09-20 20:52:30 +00:00
darin%meer.net
e672e7f3a6 fixes bug 234608 "Removal of some deadcode in nsDiskCacheBinding" patch by alfredkayser@nl.ibm.com r=biesi sr=darin 2004-06-22 15:56:49 +00:00
bzbarsky%mit.edu
62a5127738 Relanding, since backing out did not fix orange. Bug 232691. 2004-05-22 20:02:43 +00:00
bzbarsky%mit.edu
7f1e54b18d Backing out to attempt to fix Mac orange. Bug 232691 2004-05-22 19:26:52 +00:00
bzbarsky%mit.edu
abcad1dc39 Convert users of nsC?String(), nsC?AutoString(), and NS_LITERAL_C?STRING("") to
using EmptyC?String instead.  Bug 232691, patch by Charles Fenwick
<clf03f@garnet.acns.fsu.edu>, r+sr=bzbarsky
2004-05-22 17:04:53 +00:00
darin%meer.net
7d520722dc fixes bug 123662 ""File / cannot be found. Please check the location and try again" when loading page" patch by nallen@acm.org, r=gordon, sr=darin 2004-05-03 17:38:56 +00:00
gerv%gerv.net
8b8dde7d95 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 22:01:16 +00:00
darin%meer.net
a0186ddb74 fixes bug 229984 "HTTP download of over 64MB causes disk cache to break" r=gordon sr=bzbarsky 2004-02-25 23:01:08 +00:00
pinkerton%aol.net
6233fbb29e add support for OSX 10.3 SDK support so build done on 10.3 can be run on
previous OS versions. Enabled with configure flag --with-macos-sdk=dir
(bug 224161, r=bryner)
2004-01-29 20:18:14 +00:00
bsmedberg%covad.net
7d79d7ba8b Bug 232201 part 2 - update consumers to use inherited nsIPrefBranchInternal interface. This should be happy for codesize. r=alecf sr=darin 2004-01-28 23:45:17 +00:00
timeless%mozdev.org
52532acd61 Bug 229476 about:cache title capitalization inconsistent
patch by jmd@pobox.com r=bz sr=darin
2004-01-11 08:11:53 +00:00
technutz%netscape.net
48c9af73a5 Bug 106618. Change KB to KiB across the application. Patch by Alexey Chernyak <alexey@optus.net>. r=bz, sr=darin 2003-12-26 07:11:58 +00:00
peter%propagandism.org
feda8614f8 Patch for bug 209699 (convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst. 2003-12-23 16:48:40 +00:00
darin%meer.net
cbcb460359 fixes bug 193917 "incorporate changes from bz's comments in bug 176919" r+sr=bzbarsky 2003-10-09 01:54:07 +00:00
bryner%brianryner.com
b74d8438f9 Updating my email address 2003-09-29 06:04:02 +00:00
mkaply%us.ibm.com
0da683287a Bug #201455
r=bz, sr=darin
Code from Alfred Kayser - optimization of nsCacheEntry
2003-09-11 16:57:40 +00:00
bryner%brianryner.com
63fa99c65e Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-07 23:12:15 +00:00
cls%seawood.org
1b51ba858c Set MODULE in makefiles at the top of a heirarchy so that module-deps lists are more precise and builds will have the proper order if some subdirs contain other modules. 2003-08-16 00:42:35 +00:00
darin%netscape.com
347f4e42e7 fixes bug 212598 "netwerk/ should not use nsIPref" r=dougt,caillon sr=bzbarsky 2003-07-14 21:36:24 +00:00
jaggernaut%netscape.com
06350119d4 Purging tabs, r+sr=darin 2003-07-09 02:28:07 +00:00
stephend%netscape.com
fa29e34049 Bug 196917. Crash in nsDiskCacheMap::FindRecord clearing cache. patch by Gordon Sheridan <gordon@netscape.com> r=dougt@netscape.com, sr=darin@netscape.com, a=asa@mozilla.org 2003-05-23 05:44:15 +00:00
pkw%us.ibm.com
6e0b3b5878 Bug 206630 - Add AIX support for memory cache based on physical ram
(originally implemented in Bug 105344)
r=gordon@netscape.com, sr=darin@netscape.com, a=mkaply@us.ibm.com
2003-05-21 21:59:55 +00:00
bryner%netscape.com
1f1e6a79d5 Cleaning up this file left over from when cache was its own component. Not part of the build. 2003-05-21 21:46:18 +00:00
bryner%netscape.com
590a6d168d This makefile should not use EXPORT_LIBRARY since it's now part of libnecko. Bug 206143, r=darin, sr=alecf, a=mkaply. 2003-05-21 21:42:36 +00:00
gordon%netscape.com
bc1a760cb5 Fix bug 204398, fixing alignment of about:cache.
patch=abecevello@sympatico.ca, r=gordon, sr=darin, a=asa
2003-05-13 23:15:20 +00:00
gordon%netscape.com
744caa564f Fix AIX bustage. patch=jdunn, r=gordon, sr=darin, a=mkaply. 2003-04-23 21:43:12 +00:00
darin%netscape.com
d8202eb048 fixing opt bustage 2003-04-23 06:37:36 +00:00
gordon%netscape.com
39bed19679 Fix bug 105344 "Memory cache should be based on amount of physical RAM"
This allows the cache to use a lot more memory than previously.
r=saari, sr=darin.
2003-04-23 05:15:48 +00:00
darin%netscape.com
c61486ff0b patch for bug 191970 "necko configuration options for footprint reduction" r=seawood sr=dbaron 2003-04-23 03:47:43 +00:00
seawood%netscape.com
f7bf89f618 Remove global _POSIX_SOURCE & _SVID_SOURCE defines for linux.
Bug #202510 r=darin
2003-04-18 20:14:17 +00:00
darin%netscape.com
e3f678e96a fixes bug 201303 "Utilize new nsIAtom methods to reduce string conversions in nsCacheMetaData" r=gordon sr=alecf 2003-04-10 00:59:33 +00:00
gordon%netscape.com
ff7d2063b6 Fix bug 198267. Fix accounting of mInactiveSize to prevent assertion. rs=darin. 2003-03-26 05:14:27 +00:00
darin%netscape.com
690c61bf9b fixes bug 192353 "cache meta data is bloaty" r=gordon sr=alecf 2003-03-25 15:20:10 +00:00
gordon%netscape.com
350a8ad43f Fix bug 198267 and bug 191161. r=bryner, sr=darin. 2003-03-25 07:05:33 +00:00
bryner%netscape.com
d225e65bfb trying to fix nebiros bustage - moving inline function before its first call site 2003-03-18 06:02:10 +00:00
bryner%netscape.com
170d69ea6e Implement an LRU-SP eviction policy for the memory cache (bug 188458). r=gordon, sr=darin. 2003-03-17 23:22:29 +00:00
gordon%netscape.com
d8e0537dae fix bug 197429 "clear disk cache broken on MacOS X". Rederive mCacheDirectory from parent after moving old mCacheDirectory to Cache.Trash for deletion, rather than operate on clone of mCacheDirectory. r=bryner sr=sfraser. 2003-03-17 07:33:45 +00:00
gordon%netscape.com
24184abbde removing long obsolete files. r=darin. 2003-03-14 19:27:01 +00:00
gordon%netscape.com
734ccc4de8 fix bustage on OS/2. Use PR_CALLBACK for run function in PR_CreateThread. 2003-03-11 01:38:55 +00:00
gordon%netscape.com
d8058e79cb for bug 103851 "move cache deletion to another thread", r=bryner, sr=darin. 2003-03-10 23:19:05 +00:00
darin%netscape.com
3984515ac0 fixes bug 190194 "cache leak regression from recent checkin"
r=gordon sr=bzbarsky a=asa
2003-01-24 01:13:15 +00:00
darin%netscape.com
800bb17e18 minor tweak to last checkin 2003-01-21 23:29:31 +00:00
darin%netscape.com
a515264559 fixes bug 189779 "crashes quitting [@ nsDiskCacheOutputStream::~nsDiskCacheOutputStream]"
r=kaie sr=bz
2003-01-21 23:28:08 +00:00
darin%netscape.com
685a7af468 modifications for bug 176919 "async streams" r=dougt,gordon sr=sspitzer a=valeski,asa 2003-01-18 02:15:14 +00:00
dbaron%dbaron.org
954ad5f9d9 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 22:35:09 +00:00
seawood%netscape.com
d5efcdfb6d Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
Bug #186241 r=dougt
2002-12-28 01:15:07 +00:00
seawood%netscape.com
7333eca44b Enable truncation of cache files for BeOS.
Bug #162588 r=gordon sr=darin
2002-12-19 06:27:57 +00:00
darin%netscape.com
a736085beb fixes bug 56629 "Proxy: Client->Proxy connection errors should show proxy,
not target hostname" r=bbaetz, sr=rpotts
2002-12-04 04:18:08 +00:00
seawood%netscape.com
57e08a3f3a 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
2002-10-17 06:47:01 +00:00
gordon%netscape.com
fb7a7203da Fix bug 164363 "nsDiskCacheEntry::Size() is incorrect" r=sdagley, sr=darin. 2002-10-09 03:01:11 +00:00
gordon%netscape.com
2dfe6bdc35 Fix bug 131727 "compiler warnings in nsDiskCacheBlockFile.cpp" r=sdagley,
sr=darin.
2002-10-09 03:00:09 +00:00
gordon%netscape.com
e2f8513c58 Fix bug 113081 "cache capacity not updated until mozilla is relaunched".
r=bnesse, sr=darin.
2002-10-08 22:35:08 +00:00
gordon%netscape.com
742a575ad1 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.
2002-10-08 20:09:04 +00:00
alecf%netscape.com
8872bc9ac4 fix for bug 115217
merge cache dll into main necko dll for a minor startup improvement
r=dougt, sr=darin
2002-09-19 18:29:56 +00:00
dougt%netscape.com
68faeb5241 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
darin%netscape.com
e9d591121f cache fixes required for link prefetching (b=12274) r=dougt sr=rpotts 2002-09-02 00:17:00 +00:00
darin%netscape.com
0c002d6e16 fixes bug 163746 "cache block file patch horked support for partial cache
entries [large image requests never load once interrupted]"
r=dougt sr=rpotts
2002-09-01 21:40:45 +00:00
darin%netscape.com
30b3e1cdfa fixes bug 163841 "Mozilla hangs in PR_Lock at ptsynch.c:190" r=dougt sr=rpotts 2002-08-29 04:30:54 +00:00
alecf%netscape.com
61899db23b bug 162944 - FMM in cache
r=dougt/timeless, sr=darin
2002-08-16 00:08:14 +00:00
darin%netscape.com
bb68f622b7 fixes bug 161417 - recent netwerk checkin upped warning count by 4
r=dougt sr=alecf
2002-08-12 14:25:40 +00:00
seawood%netscape.com
322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
mkaply%us.ibm.com
f22650c3cf OS/2 bustage 2002-08-07 11:01:59 +00:00
darin%netscape.com
f711dd8a88 fixing planetoid (mach-o) bustage... GCC 2.95.2 seems awfully picky! 2002-08-07 02:17:48 +00:00
darin%netscape.com
41f38a0b78 landing gordon's patch for bug 81724 - disk cache needs stream wrappers
(disk cache phase 3) patch=gordon r=dougt sr=darin
2002-08-07 01:13:29 +00:00
bryner%netscape.com
caa52be426 Remove obsolete _IMPL_NS_NET and NS_NET defines (bug 159887). r=cls, sr=bzbarsky, a=asa. 2002-07-30 02:25:08 +00:00
darin%netscape.com
26c35662cc fixes bug 136210 "cannot view any https urls when memory cache size is set to 0"
r=beard sr=rpotts
2002-06-03 20:05:53 +00:00
dougt%netscape.com
c683a217ab Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756 2002-05-15 18:55:21 +00:00
bzbarsky%mit.edu
5915792ecd Bug 142135 -- make cacheToken QI to nsICacheEntryInfo. Patch by
Antonio.Xu <antonio.xu@sun.com>, r=bzbarsky, sr=darin
2002-05-13 03:21:07 +00:00
gordon%netscape.com
2f669772d6 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.
2002-05-10 23:44:53 +00:00
darin%netscape.com
6fd5862e6e fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
r=dougt sr=alecf
2002-05-07 23:07:19 +00:00
gordon%netscape.com
7f358a48e6 Adding new files for disk cache. These are not part of the build, but will get reviewed before being enabled. 2002-05-01 22:08:07 +00:00
darin%netscape.com
e554d83626 fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf
2002-04-27 05:33:09 +00:00
darin%netscape.com
edab6546f5 fixes bug 116365 (second attempt) "[RFE] Cache partial documents; automatically
issue byte range requests" r=gagan sr=mscott,rpotts,brendan a=asa
2002-03-26 23:33:19 +00:00
darin%netscape.com
171c8b28ee backing out changes (for bug 116365) to fix btek page-loader crash. 2002-03-26 08:47:10 +00:00
darin%netscape.com
f2d3a0287d fixes bug 116365 "[RFE] Cache partial documents; automatically issue byte
range requests" r=gagan sr=mscott,rpotts,brendan a=asa
2002-03-26 06:54:07 +00:00
dbaron%fas.harvard.edu
3f52b082bc Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-23 21:35:01 +00:00
darin%netscape.com
281c86ec58 b=99165 Freeze nsIInputStream nsIOutputStream (not yet frozen... but close)
r=dougt sr=shaver a=asa
2002-03-12 00:59:06 +00:00
cathleen%netscape.com
a6a1655268 eliminate nsCRT::strlen for char* strings (part 4), bug 124536 r=dp sr=brendan 2002-02-19 16:01:45 +00:00
gordon%netscape.com
2b4b0643ef 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.
2002-02-19 09:08:09 +00:00
gordon%netscape.com
51cf5d0033 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. 2002-02-19 05:32:18 +00:00
gordon%netscape.com
1f32e4f75e 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. 2002-02-19 05:29:49 +00:00
bzbarsky%mit.edu
97aad157b6 Relanding the Compare --> Equals conversion. a=mcafee 2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu
98afc5ee0f Testing performance impact of backout of what's left of the patch from
bug 115289.  See bug 123947 for details. a=mcafee
2002-02-09 20:46:05 +00:00
bzbarsky%mit.edu
40d60f39ec Convert Compare() to Equals() where possible now that we can do
case-insensitive Equals().  Bug 115289, r=alecf, sr=jag
2002-02-05 02:03:07 +00:00
sfraser%netscape.com
d133d4956f Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson 2002-01-30 21:14:20 +00:00
cathleen%netscape.com
8605704b12 eliminate nsCRT::zero() to use memset to zero instead, bug 118135, r=dp sr=waterson 2002-01-30 02:55:57 +00:00
gordon%netscape.com
7cf5c26933 fix bug 120833 "default value of nsICacheEntryInfo::expirationTime should be PRUint32(-1)". r=gagan, sr=darin. 2002-01-24 03:06:28 +00:00
gordon%netscape.com
0845b71af5 Fix bug 119117 "nsDiskCacheMap.h compiler warning". sr=darin. 2002-01-24 01:27:32 +00:00
gordon%netscape.com
b032cdadb8 Fix bug 111049 "add attribute to nsICacheSession to detect device availability". sr=darin. 2002-01-24 01:25:25 +00:00
gordon%netscape.com
efd43a6ced Fix bug 119085 "cache entries corrupted if size of metadata is zero". sr=darin. 2002-01-24 01:24:20 +00:00
gordon%netscape.com
7ee3cd55f2 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. 2002-01-18 22:18:28 +00:00
cathleen%netscape.com
92d4fbf218 converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp 2002-01-12 03:18:55 +00:00
seawood%netscape.com
45bfbf0658 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
2001-12-18 09:14:29 +00:00
pete%alphanumerica.com
efee7eec18 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
2001-12-07 23:06:51 +00:00
gordon%netscape.com
8b769b6c5b 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. 2001-11-29 23:04:58 +00:00
bzbarsky%mit.edu
edfb3b268f 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
2001-11-23 22:36:54 +00:00
gordon%netscape.com
87e3bb822d Fix bug 110327 "0775 is bad mask for for cache", checkin patch for timeless@mac.com, r=gordon, sr=darin. 2001-11-19 22:48:30 +00:00
alecf%netscape.com
7088e71886 fix for bug 108684 - cache objects not included in bloat logs
r=gordon, sr=darin
2001-11-06 22:51:58 +00:00
dougt%netscape.com
0a62d4e8d5 99163 - removing nsObserverService.h includes. Also fixing 106090, extra methods on nsObserverService. r=shaver@mozilla.org, sr=jband@netscape.com 2001-10-22 22:01:27 +00:00
bnesse%netscape.com
73c9a1111f 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. 2001-10-22 20:54:48 +00:00
dougt%netscape.com
063be9f0fa fixing major regression caused by my change to nsIObserverService 2001-10-20 00:33:02 +00:00
dougt%netscape.com
d18d7e2b17 nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163 2001-10-19 20:52:59 +00:00
gordon%netscape.com
fd5ca0ccc0 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.
2001-10-19 02:05:12 +00:00
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