Commit Graph

26 Commits

Author SHA1 Message Date
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
b78f028dc7 Bug 795897 - Force NSPR logging for cache module in release build, r=jduell 2012-11-22 02:14:00 +01:00
foudfou
096b0d2aae Bug 785542 - Convert usages of PR_MIN and PR_MAX to NS_MIN and NS_MAX; r=ehsan
Occurences of PR_MAX in layout/style/nsCSSProps.cpp and xpcom/glue/nsTArray.h
can not be converted without C++11 support (constexpr).
2012-09-27 23:44:47 +02: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
Aryeh Gregor
8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Ehsan Akhgari
3e9abf197c Bug 772523 - Remove the unused nsMemoryCacheDevice::mEvictionThreshold member; r=michal 2012-07-11 09:39:06 -04: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
Michal Novotny
713f4c1517 Bug 713203 - nsMemoryCacheDevice::mTotalSize can go negative after clearing the memory cache 2012-04-25 01:11:39 +02:00
Ed Morley
38304c54fc Backout b02402b95e5c (bug 708277) for build failures on all platforms 2011-12-22 11:07:12 +00:00
Thomas Prip Vestergaard
500d81ae1a Bug 708277 - Replace PR_MAX with NS_MAX. r=roc 2011-12-22 11:47:59 +01:00
Nick Hurley
0883dccd82 Bug 687081 - Time how long it takes to find (or not) things in the cache. r=jduell 2011-10-30 15:39:53 +01:00
Ehsan Akhgari
478ad1a412 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Geoff Brown
8566476497 Bug 661900 - Correct memory cache implementation of LRU-SP. TP4M REGRESSION OK -- SEE BUG; r=michal 2011-10-05 20:42:02 -04: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
Ehsan Akhgari
4afd2fb763 Backout changeset d469840a370f (bug 661900) to see if it helps resolve the Mobile NoChrome Tp4 regression 2011-09-14 13:37:54 -04:00
Geoff Brown
3565c927e5 Bug 661900 - LRU-SP not fully implemented in memory cache; r=michal 2011-09-08 14:00:24 +02:00
Nicholas Nethercote
1adf988f65 Bug 669117 - Add a memory reporter for the Necko memory cache. r=khuey,jduell. 2011-07-18 18:22:36 -07:00
b0695bf0db Bug 650995 - Support max_entry_size prefs for disk & memory cache, r=michal.novotny 2011-06-27 14:21:15 +02:00
Dominic Fandrey
532ec73933 Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc 2011-06-02 14:56:50 +02:00
Byron Milligan
df1fb8a97a Bug 588507: Skip caching if Content-Length is greater than eviction size. r=michal, a=betaN+ 2010-09-07 15:39:28 -07:00
Steffen Wilberg
0c775d1220 Bug 538813. Make about:cache and about:cache-entry pretty. r=bzbarsky 2010-07-02 16:56:09 -04:00
Jason Duell
480ac47f96 # User Michal Novotny <michal.novotny@gmail.com>
# Date 1277056918 -7200
Bug 537164 - e10s HTTP: caching.  r=jduell, sr=biesi
2010-06-23 23:55:19 -07:00
Mitchell Field
bc63774d7e Bug 542222 - Reduce recursion in netwerk makefiles. 2010-06-05 21:18:12 -04:00