Commit Graph

121 Commits

Author SHA1 Message Date
Martin Stransky
b404991264 Bug 239254 - [Linux] Support disk cache on a local path, r=michal.novotny 2013-02-11 15:47:21 +01:00
Masatoshi Kimura
a4c60c47da Bug 827032 - Enable FAIL_ON_WARNINGS on MSVC in netwerk/. r=jduell 2013-02-08 20:49:30 +09: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
Mats Palmgren
7532b4e736 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
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
d7bc67b468 Bug 725993 - Remove ability to tell cache to STORE_ON_DISK_AS_FILE, r=bsmith 2013-01-04 00:30:48 +01:00
Nicholas Nethercote
8a28a2740d Bug 819819 (part 2) - Remove |name| from NS_MEMORY_REPORTER_MALLOC_SIZEOF_FUN. r=jlebar. 2012-12-23 16:59:51 -08:00
Jeff Walden
8a6657de57 Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger 2012-12-14 18:58:45 -05: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
Steven Michaud
f2127c3b92 Bug 801883 - New profile directories are hidden in Finder. r=josh 2012-10-26 12:21:12 -05:00
Isaac Aggrey
50d6240e45 Bug 794510: Part 2: Use more stdint types instead of protypes.h types; r=ehsan 2012-10-11 18:38:04 -05:00
David Zbarsky
9b486d30ad Bug 801803: More nsresult as enum class creates warnings r=me 2012-10-16 00:26:51 -04:00
David Zbarsky
cbf04d7cc1 Backout 368cd30cccda for bustage 2012-10-15 23:52:17 -04:00
David Zbarsky
d97f601fed Bug 801803: More nsresult as enum class creates warnings r=me 2012-10-15 23:37:34 -04:00
David Zbarsky
87b1968f86 Backout 14f09c2fb04c on CLOSED TREE 2012-10-15 21:19:30 -04:00
David Zbarsky
bacc7b9242 Bug 801803: More nsresult as enum class creates warnings r=me 2012-10-15 21:00:20 -04:00
Andrew Quartey
9ecb7a8dc1 Bug 792581 - part 18: Replace LL_L2D macro with double cast. r=ehsan 2012-10-12 13:29:11 -04:00
Andrew Quartey
d743f2979d Bug 792581 - part 14 - Replace LL_SHL, LL_SHR, LL_USHR macros with bitwise operators. r=ehsan 2012-10-12 13:29:10 -04:00
Nick Hurley
7cb99df753 Bug 786086 - Make the new default cache size display properly. r=michal 2012-10-05 12:29:14 -07:00
Andrew Quartey
42a6e91f20 Bug 792581 - part 5: Replace LL_CMP macro with standard comparison. r=ehsan 2012-10-03 10:13:19 -04:00
Cameron Kaiser
0c88ede889 Bug 718910 - Disable Spotlight on the cache directory on Mac; r=michal.novotny, f=smichaud,josh 2012-10-02 23:05:40 -04:00
Isaac Aggrey
df5a7d83f1 Bug 795351: Replace LL_MAXINT, LL_MININT, LL_MAXUINT with stdint versions; r=ehsan 2012-09-28 14:55:23 -05:00
Ehsan Akhgari
57ec2ec569 Bug 792502 - Kill the FunctionTimer code; r=vlad 2012-09-19 16:59:38 -04:00
Michal Novotny
73105817a9 Bug 723362 - Make an asynchronous variant of nsCacheEntryDescriptor::Doom, r=hurley 2012-09-17 23:31:46 +02:00
Randell Jesup
3b4961b603 Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Valentin Gosu
c2124622b0 Bug 745296 - Enable FAIL_ON_WARNINGS in more of /netwerk r=jduell 2012-08-25 11:19:00 -07:00
Nick Hurley
0045e04812 bug 783755 - Make the new default cache size stick. r=michal 2012-08-21 14:52:44 -07:00
Nathan Froyd
845569087c Bug 781200 - fixup several cache histograms; r=bsmith,hurley 2012-08-23 13:23:03 -04: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
Michal Novotny
1e3888651f Bug 779461 - Do not transfer the ownership of the key string from nsCacheRequest to nsCacheEntry, r=honzab 2012-08-08 02:06:06 +02: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
Ehsan Akhgari
43a5ec4cab Bug 772525 - Remove the unused variable on in nsCacheService::Lock; r=bsmith
DONTBUILD
2012-07-10 14:41:42 -04:00
Brian Smith
64374a31b0 Bug 767275 - Add more detailed cache lock telemetry, r=michal, r=nfroyd 2012-06-29 16:20:34 -07:00
Brian Smith
4845778e3d Bug 765665: Stop acquiring the cache service lock in nsICacheService::GetCacheIOTarget when on the main thread, r=michal 2012-06-21 13:47:44 -07:00
Ehsan Akhgari
63dec40b80 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (netwerk parts); r=jduell 2012-06-05 23:18:25 -04:00
Honza Bambas
1415b7fdef Bug 720778 - Important threads should have a name for better debugability, r=bsmith, sr=bsmedberg+glandium 2012-06-12 19:06:20 +02: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
Michal Novotny
ca748648bd Bug 722034 - Part 1 - Make AsyncOpenCacheEntry call the listener for non-blocking async requests from background threads, r=hurley 2012-05-31 15:20:04 -07:00
Geoff Brown
b4565d402d Bug 745340 - Improve disk cache smart sizing for mobile; r=jduell 2012-05-30 22:59:33 -04:00