sharparrow1%yahoo.com
fe8698ff42
Bug 391915: Don't use atoms from nsCacheMetaData because atoms aren't threadsafe. r+sr=biesi, a=blocking1.9
...
git-svn-id: svn://10.0.0.236/trunk@233417 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-30 17:51:07 +00:00
cbiesinger%gmx.at
8fd3fb498f
392282 don't allow opening cache entries after the cache service has shut down
...
r+sr+a=bz
git-svn-id: svn://10.0.0.236/trunk@233245 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-28 22:05:32 +00:00
dcamp%mozilla.com
7d38301c59
properly delete old files during an offline cache update. b=389591, r+sr=biesi
...
git-svn-id: svn://10.0.0.236/trunk@230998 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 00:47:33 +00:00
dcamp%mozilla.com
95ba970f9d
update the offline cache atomically. b=389223, r=biesi, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@230915 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-25 06:31:28 +00:00
dcamp%mozilla.com
9f40ca2397
move the offline cache update logic from the content sink and prefetch service into an nsOfflineCacheUpdate object. bug=388839, r=biesi, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@230909 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-25 05:35:40 +00:00
jwalden%mit.edu
dda6ff3c99
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.
...
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
sdwilsh%shawnwilsher.com
5a0e44e397
Bug 333848 - add full-featured user-defined functions and progress handlers to storage. Patch by Lev Serebryakov <blacklion@gmail.com>. r=cbiesinger, sr=cbiesinger
...
git-svn-id: svn://10.0.0.236/trunk@229490 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-07 21:14:56 +00:00
dcamp%mozilla.com
64be508c9b
Properly disable caches on profile shutdown. b=380968, r+sr=biesi
...
git-svn-id: svn://10.0.0.236/trunk@228737 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-26 03:25:31 +00:00
bzbarsky%mit.edu
a691eeaacf
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
git-svn-id: svn://10.0.0.236/trunk@228235 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-18 15:24:17 +00:00
kherron%fmailbox.com
c7d02330db
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.
...
git-svn-id: svn://10.0.0.236/trunk@228174 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-16 19:54:02 +00:00
sspitzer%mozilla.org
146af1ff0d
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
git-svn-id: svn://10.0.0.236/trunk@226582 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-17 18:33:19 +00:00
alfred.peng%sun.com
d206daa892
Bug 380704. compile error [@nsOfflineCacheDevice::Init]. Fix the bustage for bug 370195 on Solaris SPARC/x86 with Sun Compiler.
...
r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@226453 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-15 07:53:42 +00:00
cbiesinger%web.de
6e69609e46
Bug 370195 â sql device for the offline cache
...
patch by Dave Camp <dcamp@mozilla.com> r=jst (content part) r=biesi (rest)
git-svn-id: svn://10.0.0.236/trunk@226398 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-14 20:09:20 +00:00
dbaron%dbaron.org
30f83072c5
Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@222462 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-27 15:33:45 +00:00
roc+%cs.cmu.edu
f427e2bbff
Bug 367447. Support <link rel="offline-resource">. Patch by Dave Camp, r+sr=biesi
...
git-svn-id: svn://10.0.0.236/trunk@221859 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-14 01:52:07 +00:00
dbaron%dbaron.org
7cb106739c
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
...
git-svn-id: svn://10.0.0.236/trunk@218930 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 23:09:01 +00:00
bzbarsky%mit.edu
e83916216b
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
git-svn-id: svn://10.0.0.236/trunk@216216 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 04:41:30 +00:00
joshmoz%gmail.com
c9f4afe915
remove XP_MAC from network. b=281889 r=darin
...
git-svn-id: svn://10.0.0.236/trunk@215323 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-15 21:38:48 +00:00
bzbarsky%mit.edu
a6cdc7f32e
Close the correct file descriptor. Bug 346250, patch by Alfred Kayser
...
<alfredkayser@nl.ibm.com>, r=darin, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@206294 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-01 15:18:00 +00:00
darin%meer.net
fd96a0f2ae
removing unintended printf
...
git-svn-id: svn://10.0.0.236/trunk@201041 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-27 23:14:50 +00:00
darin%meer.net
48c3606657
fixes bug 332730 "lock reentrancy through nsCacheEntryDescriptor::Close (deadlock)" r=biesi sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@201040 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-27 23:13:48 +00:00
darin%meer.net
6022b5924d
fixes bug 286397 "assertion: buffer truncation inadequate" patch by alfredkayser@nl.ibm.com, r+sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@200782 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-24 01:39:38 +00:00
dveditz%cruzio.com
f869942298
Bug 284219: add EnsureStringLength() helper function to nsReadableUtils.h to
...
simplify OOM checks when growing an nsAString. r/sr=darin
git-svn-id: svn://10.0.0.236/trunk@200610 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-22 19:07:30 +00:00
darin%meer.net
24749a116d
backing out patch for bug 332730
...
git-svn-id: svn://10.0.0.236/trunk@200444 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-20 17:50:49 +00:00
darin%meer.net
8fe4e1d55a
fixes bug 332730 "lock reentrancy through nsCacheEntryDescriptor::Close (deadlock)" r=biesi sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@200396 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-20 02:05:10 +00:00
darin%meer.net
d1d22464b4
fixes bug 184614 "valgrind doesn't like nsDiskCacheBlockFile::WriteBlocks (uninitialized memory written to cache)" patch by alfredkayser@nl.ibm.com, r+sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@198471 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-26 18:21:12 +00:00
darin%meer.net
42edf059cf
landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
...
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
cbiesinger%web.de
8d9f96359d
bug 335180 Remove win32.order, mozilla-bin.order, --enable-reorder, and
...
associated code. These options do not really work anymore.
r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@196108 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-06 17:53:51 +00:00
mark%moxienet.com
40eb327e11
321366 Crash [@ PR_Close].[@ nsDiskCacheStreamIO::Flush]. Accept possible failure of nsDiskCacheStreamIO::FlushBufferToFile. r=darin
...
git-svn-id: svn://10.0.0.236/trunk@195369 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-25 18:08:09 +00:00
darin%meer.net
b81e8c076d
fixes bug 330397 "Additional problems with incomplete cache entries and cache flush assertions." r=biesi sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@193279 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 21:06:54 +00:00
darin%meer.net
3d02032838
backing out my patch for bug 330397 to fix download regression.
...
git-svn-id: svn://10.0.0.236/trunk@192840 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-23 06:45:07 +00:00
darin%meer.net
cb44877eb0
fixes bug 330397 "Additional problems with incomplete cache entries and cache flush assertions" r=biesi sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@192739 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-22 01:14:29 +00:00
darin%meer.net
8abe3aabdb
fixes bug 329260 "Disk cache keeps emptying itself" r=biesi sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@192099 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-09 20:02:54 +00:00
mrbkap%gmail.com
52af52cace
Fix silly undefined operation warnings. bug 329357, r+sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@191954 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-08 02:36:41 +00:00
darin%meer.net
560506b3d4
fixes bug 321456 "Setting disk cache greater than 2097 MB fails." patch by alfredkayser@nl.ibm.com, r+sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@191435 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-28 22:18:21 +00:00
darin%meer.net
33f5340c78
fixes bug 296538 "limit the memory cache to a reasonable value" patch by alfredkayser@nl.ibm.com, r=darin
...
git-svn-id: svn://10.0.0.236/trunk@191330 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-27 20:13:42 +00:00
darin%meer.net
7f1d4e2375
fixes bug 328196 "nsDiskCacheDevice: Memory and codesize optimisations" patch by Alfred Kayser <alfredkayser@nl.ibm.com>, r=darin
...
git-svn-id: svn://10.0.0.236/trunk@191234 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-25 02:58:51 +00:00
mark%moxienet.com
c99943c271
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
...
git-svn-id: svn://10.0.0.236/trunk@188939 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-04 22:01:22 +00:00
cbiesinger%web.de
6322c04952
bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
...
r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 14:18:39 +00:00
darin%meer.net
2f9cec0873
fixes bug 321833 "Clearing the cache prevents disk cache from working" r=mconnor, alfredkayser
...
git-svn-id: svn://10.0.0.236/trunk@188090 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-24 14:47:06 +00:00
darin%meer.net
c0e834f3c6
fixes bug 318193 "Input streams are not implemented consistently" r=biesi sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@186805 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-02 02:30:32 +00:00
bzbarsky%mit.edu
b5ffdbb1ea
Just throw if a null visitor is passed. Bug 309459, patch by Adam Guthrie
...
<ispiked@gmail.com>, r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@185753 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-07 05:35:39 +00:00
bzbarsky%mit.edu
8069a8f792
Fix deadlock on profile switch. Bug 309729, r=neil, sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@182055 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-12 02:18:32 +00:00
darin%meer.net
b8295fbb2c
Followup patch for bug 289352 "swap back the words from network to host format" patch by alfredkayser@nl.ibm.com, r=darin
...
git-svn-id: svn://10.0.0.236/trunk@181910 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-10 17:30:14 +00:00
bzbarsky%mit.edu
aa7c7e30b7
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
git-svn-id: svn://10.0.0.236/trunk@181863 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-09 19:58:06 +00:00
darin%meer.net
2be84bc408
fixes bug 289352 "remove redundant seek, and optimize bitmap usage" patch by alfredkayser@nl.ibm.com, r+sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@181805 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-08 01:20:36 +00:00
bryner%brianryner.com
b4f55b7342
Make clearing the disk/memory cache also evict cached viewers in bfcache. Bug 305462, r=marria@gmail.com, sr=darin@meer.net
...
git-svn-id: svn://10.0.0.236/trunk@181221 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-29 20:24:27 +00:00
darin%meer.net
17471ab85b
fixes bug 308972 "Shutdown crash in nsCacheService::SearchCacheDevices" patch by alfredkayser@nl.ibm.com, r=darin, sz=bz
...
git-svn-id: svn://10.0.0.236/trunk@180882 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-23 19:21:36 +00:00
darin%meer.net
cd5ca41c9c
fixes bug 304444 "[W] UMR: Uninitialized memory read in nsDiskCacheEntry::Swap(void) {1 occurrence}" patch by alfredkayser@nl.ibm.com, r=timeless, sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@179447 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-01 00:20:14 +00:00
darin%meer.net
7d3dad4dfb
fixes bug 265028 "Clearing cache sometimes fails" patch by alfredkayser@nl.ibm.com, r+sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@179388 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-31 13:28:34 +00:00