bzbarsky%mit.edu
6396156abe
Bug 355567. Handle disk cache collisions by refusing to open a cache entry instead of by sometimes clobbering the content in the existing entry. Patch by Michal Novotny <michal@allpeers.com>, r+sr=bzbarsky, a=dveditz
...
git-svn-id: svn://10.0.0.236/trunk@254552 18797224-902f-48f8-a5cc-f745e15eee43
2008-10-07 15:40:55 +00:00
dcamp%mozilla.com
0919eed89c
Bug 425792: Properly update and use expiration times when updating the offline cache. r/sr=biesi, b1.9=damons
...
git-svn-id: svn://10.0.0.236/trunk@249887 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-09 05:22:35 +00:00
reed%reedloden.com
85829bdf0b
Bug 419036 - "Simplify nsCacheEntryHashTable::VisitEntries and break 'friendship'" [p=alfredkayser@gmail.com (Alfred Kayser) r=dcamp sr=biesi a1.9=damons]
...
git-svn-id: svn://10.0.0.236/trunk@247528 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-11 08:08:06 +00:00
tglek%mozilla.com
a960375c48
bug 398568: Fix prbool misuse in netwerk. r=biesi a=dsicore
...
git-svn-id: svn://10.0.0.236/trunk@246240 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-21 23:18:50 +00:00
reed%reedloden.com
8ebe824ee8
Bug 415262 - "Make general use of new NSPR rotate macros" [p=swsnyder@insightbb.com (Steve Snyder) r=wtc sr=dbaron a=blocking1.9+]
...
git-svn-id: svn://10.0.0.236/trunk@245595 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-13 11:34:47 +00:00
reed%reedloden.com
b50366077f
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]
...
git-svn-id: svn://10.0.0.236/trunk@245329 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-10 04:53:28 +00:00
reed%reedloden.com
1fedec0871
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]
...
git-svn-id: svn://10.0.0.236/trunk@245113 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-07 09:04:30 +00:00
dcamp%mozilla.com
efdb40c9f6
Bug 405695: Use asciiHost/asciiSpec for offline cache ownership keys. p=Honza Bambas, r=me, sr=biesi
...
git-svn-id: svn://10.0.0.236/trunk@243797 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-23 04:31:51 +00:00
dcamp%mozilla.com
93d9c74bda
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
...
git-svn-id: svn://10.0.0.236/trunk@243796 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-23 04:06:37 +00:00
dwitte%stanford.edu
42b8d9a3cd
relanding fix for bug 262116 that got accidentally backed out by previous landing.
...
git-svn-id: svn://10.0.0.236/trunk@242460 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-06 01:07:16 +00:00
reed%reedloden.com
32edcfced3
Bug 84945 - "nsDiskCacheMap::ReadDiskCacheEntry should use a cached buffer" [p=alfredkayser@nl.ibm.com (Alfred Kayser) r=dcamp sr=biesi a=blocking1.9+]
...
git-svn-id: svn://10.0.0.236/trunk@242172 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-29 04:22:54 +00:00
vladimir%pobox.com
bbb5b11728
bustage fix
...
git-svn-id: svn://10.0.0.236/trunk@240641 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-07 22:18:13 +00:00
vladimir%pobox.com
296cec3d8e
b=406869, SetCacheAsFile(true) on memory-cached loads is broken, patch from bz, r+sr=biesi, a=schrep
...
git-svn-id: svn://10.0.0.236/trunk@240639 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-07 22:07:03 +00:00
cbiesinger%gmx.at
c920b70348
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
git-svn-id: svn://10.0.0.236/trunk@240145 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-30 18:06:26 +00:00
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