Commit Graph

669 Commits

Author SHA1 Message Date
Olli Pettay
bb4cac6ed5 Fix bustage caused by 91493f716bdf 2008-09-12 15:13:10 +03:00
Boris Zbarsky
88ad30e7a8 Add some logging to make things easier to debug 2008-09-12 07:44:19 -04:00
Honza Bambas
bec376906f Bug 442812: Implement the application cache selection algorithm. r+sr=bz 2008-08-27 18:15:32 -07:00
Dave Camp
43a0d08dee Bug 442806: Use seperate, versioned caches for offline apps. r+sr=bz
* * *
2008-08-26 16:09:02 -07:00
Dave Camp
0cabe03883 Backed out changeset ebafb9df6ce0 (bug 442806) 2008-08-24 23:11:31 -07:00
Dave Camp
2f08e458a6 Bug 442806: Use seperate, versioned caches for offline apps. r+sr=bz 2008-08-24 21:51:19 -07:00
Dave Camp
8e9da90c59 Backed out changeset ea551e6f0f40 (bug 442806) 2008-08-19 22:53:20 -07:00
Dave Camp
6280e84411 Bug 442806: Use seperate, versioned caches for offline apps. r+sr=bz 2008-08-19 19:30:44 -07:00
Dave Camp
49dd4edce3 Bug 448712. Make sure to remove the storage for an empty entry in a cache block file. r+sr=biesi 2008-07-31 17:51:51 -07:00
dcamp@mozilla.com
da347c96f2 Bug 425792: Properly update and use expiration times when updating the offline cache. r/sr=biesi, b1.9=damons 2008-04-08 22:22:32 -07:00
reed@reedloden.com
cf92fd80c9 Bug 419036 - "Simplify nsCacheEntryHashTable::VisitEntries and break 'friendship'" [p=alfredkayser@gmail.com (Alfred Kayser) r=dcamp sr=biesi a1.9=damons] 2008-03-11 01:08:05 -07:00
tglek@mozilla.com
63daa66bb0 bug 398568: Fix prbool misuse in netwerk. r=biesi a=dsicore 2008-02-21 15:18:49 -08:00
reed@reedloden.com
985694bc9f Bug 415262 - "Make general use of new NSPR rotate macros" [p=swsnyder@insightbb.com (Steve Snyder) r=wtc sr=dbaron a=blocking1.9+] 2008-02-13 03:34:46 -08:00
reed@reedloden.com
25f97a7cab Bug 410150 - "nsCacheService: only add observers that we really need" (Use array/for loops for the Add/Remove observers) [p=alfredkayser@gmail.com (Alfred Kayser) r=dcamp sr=biesi a1.9=damons] 2008-02-09 20:53:28 -08:00
reed@reedloden.com
e6973ac80b Bug 396222 - "let clients track the offline cache usage for a domain" [p=dcamp@mozilla.com (Dave Camp) / honzab@allpeers.com (Honza Bambas) r+sr=biesi r=dcamp a1.9=schrep] 2008-02-07 01:04:30 -08:00
dcamp@mozilla.com
102194e4a7 Bug 405695: Use asciiHost/asciiSpec for offline cache ownership keys. p=Honza Bambas, r=me, sr=biesi 2008-01-22 20:31:50 -08:00
dcamp@mozilla.com
a6e912d3e4 Bug 398478: Clear globalStorage for offline apps separately from cookies, and the offline cache separately from the main cache. r=enndeakin, r=mconnor, sr=biesi 2008-01-22 20:06:36 -08:00
dwitte@stanford.edu
1cb341361c relanding fix for bug 262116 that got accidentally backed out by previous landing. 2008-01-05 17:07:16 -08:00
reed@reedloden.com
639343a7c4 Bug 84945 - "nsDiskCacheMap::ReadDiskCacheEntry should use a cached buffer" [p=alfredkayser@nl.ibm.com (Alfred Kayser) r=dcamp sr=biesi a=blocking1.9+] 2007-12-28 20:22:54 -08:00
vladimir@pobox.com
0b1b955b10 bustage fix 2007-12-07 14:18:13 -08:00
vladimir@pobox.com
12078dfe43 b=406849, SetCacheAsFile(true) on memory-cached loads is broken, patch from bz, r+sr=bisei, a=schrep 2007-12-07 14:07:03 -08:00
cbiesinger@gmx.at
4360b9ffe5 bug 262116 make disk cache serialize/deserialize the security info, if present also make nsNSSSocketInfo serializable PSM part: r=kaie sr=darin rest: r+sr=darin 2007-11-30 10:05:54 -08:00
sharparrow1@yahoo.com
c284e81edc Bug 391915: Don't use atoms from nsCacheMetaData because atoms aren't threadsafe. r+sr=biesi, a=blocking1.9 2007-08-30 10:51:07 -07:00
cbiesinger@gmx.at
ae1294844e 392282 don't allow opening cache entries after the cache service has shut down r+sr+a=bz 2007-08-28 15:05:32 -07:00
dcamp@mozilla.com
cb525f24f0 properly delete old files during an offline cache update. b=389591, r+sr=biesi 2007-07-25 17:47:33 -07:00
dcamp@mozilla.com
0cac14e210 update the offline cache atomically. b=389223, r=biesi, sr=jst 2007-07-24 23:31:27 -07:00
dcamp@mozilla.com
5e7a58ed01 move the offline cache update logic from the content sink and prefetch service into an nsOfflineCacheUpdate object. bug=388839, r=biesi, sr=jst 2007-07-24 22:35:39 -07:00
jwalden@mit.edu
6d7584839a Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
sdwilsh@shawnwilsher.com
c94d0a239c Bug 333848 - add full-featured user-defined functions and progress handlers to storage. Patch by Lev Serebryakov <blacklion@gmail.com>. r=cbiesinger, sr=cbiesinger 2007-07-07 14:14:56 -07:00
dcamp@mozilla.com
18c9fcb0a2 Properly disable caches on profile shutdown. b=380968, r+sr=biesi 2007-06-25 20:25:31 -07:00
bzbarsky@mit.edu
d9d2951fb4 Fix assertion to not fire when it shouldn't. Bug 303003, patch by Radek
'sysKin' Czyz <syskin@syskin.cjb.net>, r=alfredkayser@nl.ibm.com, sr=biesi
2007-06-18 08:24:17 -07:00
kherron@fmailbox.com
d04e5ca122 Bug 381329 - Build fails with GCC-4.3 due to extra semi-colons and '-pedantic' flag. Patch by Art Haas <ahaas@airmail.net>. r+sr=roc. 2007-06-16 12:53:59 -07:00
sspitzer@mozilla.org
8f70e570a0 fix for bug #380741: Crash with about:cache and clear privacy data [@nsCOMPtr::StartAssignment]fall out from bug #380704: compile error [@nsOfflineCacheDevice::Init]fix by dcamp@mozilla.com, r/sr=biesi 2007-05-17 11:33:19 -07:00
alfred.peng@sun.com
e797adbd2a Bug 380704. compile error [@nsOfflineCacheDevice::Init]. Fix the bustage for bug 370195 on Solaris SPARC/x86 with Sun Compiler.r+sr=jst. 2007-05-15 00:53:42 -07:00
cbiesinger@web.de
383c82c5d9 Bug 370195 – sql device for the offline cachepatch by Dave Camp <dcamp@mozilla.com> r=jst (content part) r=biesi (rest) 2007-05-14 13:09:20 -07:00
dbaron@dbaron.org
d98d9fdec5 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg 2007-03-27 08:33:38 -07:00
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