Commit Graph

190 Commits

Author SHA1 Message Date
Michal Novotny
632524c994 Bug 355567. Handle disk cache collisions by refusing to open a cache entry instead of by sometimes clobbering the content in the existing entry. r+sr=bzbarsky 2008-09-26 09:33:36 -04:00
Arpad Borsos
aa5c56e310 Bug 454479 - Clean up unused variables in netwerk/; r=cbiesinger 2008-09-15 15:34:46 +02:00
Christian Biesinger
c655c9d010 bug 454587 Make sure that don't disable memory cache when
PR_GetPhysicalMemory() fails. Instead, default to 32 MB of memory (2 MB cache
size)
r+sr=bz
2008-09-14 15:45:52 -07:00
Olli Pettay
d943613aaa Fix bustage caused by 91493f716bdf 2008-09-12 15:13:10 +03:00
Boris Zbarsky
8f3679f5cf Add some logging to make things easier to debug 2008-09-12 07:44:19 -04:00
Honza Bambas
ec80dcba93 Bug 442812: Implement the application cache selection algorithm. r+sr=bz 2008-08-27 18:15:32 -07:00
Dave Camp
ace5a3bf61 Bug 442806: Use seperate, versioned caches for offline apps. r+sr=bz
* * *
2008-08-26 16:09:02 -07:00
Dave Camp
0356f133d4 Backed out changeset ebafb9df6ce0 (bug 442806) 2008-08-24 23:11:31 -07:00
Dave Camp
ac150ad11b Bug 442806: Use seperate, versioned caches for offline apps. r+sr=bz 2008-08-24 21:51:19 -07:00
Dave Camp
234fd1844f Backed out changeset ea551e6f0f40 (bug 442806) 2008-08-19 22:53:20 -07:00
Dave Camp
db4eca26fd Bug 442806: Use seperate, versioned caches for offline apps. r+sr=bz 2008-08-19 19:30:44 -07:00
Dave Camp
a4644e4b80 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
299ba58c7b 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
fc7cc13805 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
5d9eb35f5b bug 398568: Fix prbool misuse in netwerk. r=biesi a=dsicore 2008-02-21 15:18:49 -08:00
reed@reedloden.com
2696e083e0 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
ed8b60d99b 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
b8fcd7780a 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
bac18b5c8e 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
d07d06ab57 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
79a37b5b96 relanding fix for bug 262116 that got accidentally backed out by previous landing. 2008-01-05 17:07:16 -08:00
reed@reedloden.com
9773aa24f0 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
e47363e296 bustage fix 2007-12-07 14:18:13 -08:00
vladimir@pobox.com
6caedf93d9 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
1e54b36be6 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
ac7507a0ed 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
fbd8b74b6f 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
d0e325d71c 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
d6d4f57562 update the offline cache atomically. b=389223, r=biesi, sr=jst 2007-07-24 23:31:27 -07:00
dcamp@mozilla.com
0eee14ff27 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
e3c4baccae 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
25025ee30f 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
0aefd90a7f Properly disable caches on profile shutdown. b=380968, r+sr=biesi 2007-06-25 20:25:31 -07:00
bzbarsky@mit.edu
8e3788dec7 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
3ef7e96849 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
cf8478fbfc 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
8aff595076 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
9b8503bb13 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
85eb65ced4 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg 2007-03-27 08:33:38 -07:00
hg@mozilla.com
465265d0d4 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