Commit Graph

68 Commits

Author SHA1 Message Date
Ehsan Akhgari
3bdb6e5549 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-25 12:42:35 -04:00
Ehsan Akhgari
5239addd08 Bug 1116545 - Remove the code to handle shutdown-cleanse from the cache service; r=novotny
shutdown-cleanse has not been a thing for quite a while.
2015-01-15 18:21:42 -05:00
Trevor Saunders
84413bda51 bug 1105074 - make more stuff final r=froydnj 2014-11-25 13:56:07 -05:00
Ehsan Akhgari
cae4fa66a8 Bug 1048271 - Fix more bad implicit constructors in netwerk; r=mcmanus 2014-08-05 09:20:24 -04:00
Benoit Jacob
d66ff6a02f Bug 1028588 - Fix dangerous public destructors in netwerk/ - r=mcmanus 2014-06-24 12:36:44 -04:00
Honza Bambas
5cf29ff3e7 Bug 999577 - disable addon access to cache v1 IDLs, r=michal+jduell 2014-06-05 20:14:07 +02:00
Ryan VanderMeulen
fbb180c732 Backed out changeset d405928cb934 (bug 999577) and changeset 940d041073c7 (bug 938186) for xpcshell failures.
CLOSED TREE
2014-06-05 13:32:04 -04:00
Honza Bambas
eb1d05b716 Bug 999577 - disable addon access to cache v1 IDLs, r=michal+jduell 2014-06-05 18:27:38 +02:00
Honza Bambas
0f3ef1dd3c Bug 1001361 - HTTP Cache directory created inside Cache directory, r=michal 2014-04-25 13:02:36 +02:00
Honza Bambas
8fc5b5b7e7 Bug 964898 - Auto delete unused cache version data on demand, r=jduell 2014-02-05 20:29:54 +01:00
Nicholas Nethercote
fb860b68d3 Bug 947798 (part 2) - Remove MemoryMultiReporter, because it's no longer helpful. r=mccr8. 2013-12-07 21:39:47 -08:00
Nicholas Nethercote
39500cad27 Bug 936964 (part 8, attempt 2) - Make nsCacheService report the disk and memory cache devices. r=hurley. 2013-11-25 17:04:01 -08:00
Ehsan Akhgari
65aaebab72 Backed out 9 changesets (bug 943660, bug 936964) because of ASAN use-after-free crashes on browser-chrome and mochitest-other
Backed out changeset 85486c4aa3d8 (bug 936964)
Backed out changeset 25312eb71998 (bug 936964)
Backed out changeset 6dbb8333960c (bug 936964)
Backed out changeset da6465ad476f (bug 936964)
Backed out changeset a87ffc992f38 (bug 936964)
Backed out changeset 4ae3a61182db (bug 936964)
Backed out changeset 34e9c3137804 (bug 936964)
Backed out changeset fd1459e71585 (bug 936964)
Backed out changeset 3e8a701d8bdc (bug 943660)

Landed on a CLOSED TREE
2013-11-27 20:05:00 -05:00
Nicholas Nethercote
8181a952f8 Bug 936964 (part 8) - Make nsCacheService report the disk and memory cache devices. r=hurley. 2013-11-25 17:04:01 -08:00
Joshua Cranmer
2bde801f36 Bug 884061 - Part 3q: Use NS_DECL_THREADSAFE_ISUPPORTS in netwerk/, r=macmanus 2013-07-18 21:24:13 -05:00
Srinath N
ff631d0b27 Bug 848344 - Clear media cache along with network cache when storage policy is set to STORE_ANYWHERE. r=michal 2013-06-18 01:44:00 -04:00
Patrick McManus
b5fc4c86f3 bug 868441 Bypass Cache when lock held too long r=novotny 2013-05-12 10:01:13 -04:00
Honza Bambas
263e432049 Bug 842611 - Don't let nsOfflineCacheDevice::Init() create mozStorageService on non-main thread, r=michal 2013-04-10 02:21:07 +02:00
Martin Stransky
b404991264 Bug 239254 - [Linux] Support disk cache on a local path, r=michal.novotny 2013-02-11 15:47:21 +01:00
Ryan VanderMeulen
170dafeee8 Backed out changeset eb2f0c1fffc2 (bug 820613) for xpcshell failures. 2013-01-26 14:05:31 -05:00
Shriram Kunchanapalli
fe0e257728 Bug 820613 - Remove all references to shutdown-cleanse. r=bsmedberg 2013-01-17 00:40:56 +05:30
Nicholas Nethercote
57ff986dd8 Bug 829439 (part 1) - Add MemoryReporterBase class that promotes better encapsulation within nsIMemoryReporter sub-classes. r=jlebar. 2013-01-14 16:26:47 -08:00
Michal Novotny
0a00d28092 Bug 808997 - Explicitly close all output and input streams of all active cache entries during shutdown, r=hurley 2012-12-14 18:03:01 +01:00
Brian R. Bondy
c932995801 Bug 795887 - Close cache on suspend_process_notification observer notifiations. r=michal 2012-11-09 10:34:03 -05:00
Nick Hurley
604807457f Bug 699951 - add a memory reporter for heap usage by the disk cache. r=michal 2012-11-05 10:22:33 -08:00
Michal Novotny
73105817a9 Bug 723362 - Make an asynchronous variant of nsCacheEntryDescriptor::Doom, r=hurley 2012-09-17 23:31:46 +02:00
Ehsan Akhgari
243c878d26 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Phil Ringnalda
f2ce4c6fab Back out cbb72643bbae (bug 723362) for leaking 2012-08-20 20:28:19 -07:00
Michal Novotny
2c06b304b1 Bug 723362 - Make an asynchronous variant of nsCacheEntryDescriptor::Doom, r=hurley 2012-08-21 03:30:40 +02:00
Brian R. Bondy
7433eddebf Bug 777328 - Gather telemetry data for how much cache corruption reduction plan would help. r=michal 2012-08-20 08:08:46 -04:00
Nick Hurley
c077c18941 bug 709297 - reduce max cache size to 350MiB the next time we have to trash the cache. r=jduell 2012-08-07 15:46:33 -07:00
Aryeh Gregor
8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Honza Bambas
ccbac4dff5 Bug 760067 - Release all OfflineCache custom profile files ASAP after custom profile cache update has finished, r=michal 2012-07-11 20:20:17 +02:00
Ryan VanderMeulen
504c628c99 Backout 2838ba825479, 991404facac2, 7f6e22f10b99, 30a4e0cf7130, ad2c42efbe57, and 1f07f04ec01d (Bug 760067, Bug 767096, Bug 765158, Bug 729182) due to xpcshell orange. 2012-07-10 19:21:54 -04:00
Honza Bambas
3ac135b59e Bug 760067 - Release all OfflineCache custom profile files ASAP after custom profile cache update has finished, r=michal 2012-07-10 23:49:17 +02:00
Brian Smith
64374a31b0 Bug 767275 - Add more detailed cache lock telemetry, r=michal, r=nfroyd 2012-06-29 16:20:34 -07:00
Geoff Lankow
7a64448b03 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Honza Bambas
bdef95098a Bug 753990 - Allow appcache to work with a custom cache (profile) folder within a single application, r=michal.novotny 2012-06-04 16:12:24 +02:00
Josh Matthews
8ae48112a8 Bug 722845 - Part 3: Remove cache service use of private browsing service, and replace it with a single observer notification. r=michal.novotny 2012-05-24 16:31:54 +01:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Brian Nicholson
db1ce06a58 Bug 746697 - Create nsApplicationCacheService to wrap nsOfflineCacheDevice. r=honzab 2012-04-30 10:57:09 -07:00
Nicholas Nethercote
53ffe0d1c1 Bug 744311 (part 1) - Preliminary whitespace and code order changes. r=jlebar. 2012-04-09 22:52:33 -07:00
Michal Novotny
00da742d13 Bug 673543 - ensure that no entry is activated while the main thread is blocked by SyncWithCacheIOThread() 2012-04-12 18:24:57 +02:00
Michal Novotny
f92d16537e Bug 722033 - Invalidate cache entry in nsHttpChannel::DoInvalidateCacheEntry() asynchronously 2012-03-22 23:54:20 +01:00
Michal Novotny
853d49b652 Bug 707436 - nsSetSmartSizeEvent can cause a lot of IO on the main thread 2012-01-06 16:19:10 +01:00
Phil Ringnalda
876a967562 Back out 8d1b087b9713 (bug 707436) for mochitest-ipcplugins leaks 2011-12-23 19:21:17 -08:00
Michal Novotny
95af2bb6a4 Bug 707436 - nsSetSmartSizeEvent can cause a lot of IO on the main thread 2011-12-24 02:51:25 +01:00
Geoff Brown
3bf6cc26f1 Bug 648429: HTTP cache: compress all compressible files; r=michal.novotny 2011-12-17 11:30:29 +01:00
Michal Novotny
f668b57ed8 Bug 681546 - Avoid large cache evictions as disk fills by smoothing "smart" max cache size. 2011-10-19 14:35:57 +02:00
Michael Wu
0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00