Граф коммитов

1204 Коммитов

Автор SHA1 Сообщение Дата
Wes Kocher c879b47079 Backed out 2 changesets (bug 514280) for OSX build bustage on a CLOSED TREE
Backed out changeset 2a015b45d808 (bug 514280)
Backed out changeset a01f97c1ed02 (bug 514280)
2014-03-17 15:19:53 -07:00
Neil Rashbrook 3e8915c4b8 Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
--HG--
extra : rebase_source : eaca8b2925eaffb49e29a617cd72c0d6686e6d9e
2014-03-17 19:07:09 +00:00
Kyle Huey fe6c4e28d6 Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg 2014-03-15 12:00:15 -07:00
Andrew McCreight 0353960345 Bug 962608 - Make PL_DHashTableInit infallible by default. r=briansmith,bsmedberg,ehsan,froydnj,jduell,jfkthame,roc,smaug 2014-02-27 10:04:09 -08:00
Ehsan Akhgari d91d200572 Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg 2014-02-10 17:57:01 -05:00
Honza Bambas c5f606dd7b Bug 964898 - Auto delete unused cache version data on demand, r=jduell 2014-02-05 20:29:54 +01:00
Honza Bambas 1b47f55e7d Bug 956930 - Launching an app preloading appcache throws an offline error, r=jduell+sicking 2014-02-04 01:52:57 +01:00
Jim Chen 859948f7a3 Bug 959218 - Avoid race condition when shutting down nsDeleteDir thread. r=mnovotny 2014-01-30 16:43:00 -05:00
Ehsan Akhgari 1b83407ce9 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Nicholas Nethercote 8bbe1e2dc1 Bug 947798 (part 2) - Remove MemoryMultiReporter, because it's no longer helpful. r=mccr8.
--HG--
extra : rebase_source : f6f74de69d8c1d79d38b84b19dff5439efc41075
2013-12-07 21:39:47 -08:00
Birunthan Mohanathas 3440613a39 Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Ehsan Akhgari c0115daaac Add a comment to netwerk/cache/moz.build to state why these files are not unified, no bug, DONTBUILD 2013-12-08 14:22:15 -05:00
Nicholas Nethercote b413e441cf Bug 943660 (part 2) - Remove remnants of Remove nsIMemoryReporter::name.
--HG--
extra : rebase_source : 900bd1c641b26623cccf14d952b5387223b489eb
2013-12-03 20:01:24 -08:00
Ms2ger 9d06a0c27f Merge mozilla-inbound to mozilla-central. 2013-11-29 09:54:12 +01:00
Ms2ger 4cd3e164ae Bug 937224 - Part g: Move LOCAL_INCLUDES to moz.build in netwerk/; r=mshal 2013-11-28 15:25:39 +01:00
Nicholas Nethercote e4d8733e41 Bug 936964 (part 8, attempt 2) - Make nsCacheService report the disk and memory cache devices. r=hurley.
--HG--
extra : rebase_source : 29a04ef4bfdccba2797f713da3d54a64e3141421
2013-11-25 17:04:01 -08:00
Nicholas Nethercote 39004db706 Bug 936964 (part 7, attempt 2) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
* * *
Bug 936964 (part 7b) - Fix a use-after-free found by ASan.

--HG--
extra : rebase_source : d38ab6b63e9d576773baf8e55fa4f7182c33915e
2013-11-07 16:35:30 +11:00
Ehsan Akhgari a903aefdc0 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

--HG--
rename : content/canvas/src/WebGLMemoryTracker.h => content/canvas/src/WebGLMemoryReporterWrapper.h
2013-11-27 20:05:00 -05:00
Nicholas Nethercote 7f11613ef4 Bug 936964 (part 8) - Make nsCacheService report the disk and memory cache devices. r=hurley.
--HG--
extra : rebase_source : 19895d97debc6ce028b8eb167179127e5e50b6da
2013-11-25 17:04:01 -08:00
Nicholas Nethercote bc475c75df Bug 936964 (part 7) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryTracker.h
extra : rebase_source : 611e8d35907959b163aeced1c4ffe1d265048fe6
2013-11-07 16:35:30 +11:00
Nathan Froyd e9d9f618bc Bug 941598 - constify PLDHashTableOps in netwerk/; r=jduell 2013-11-20 13:17:01 -05:00
Mike Hommey 2812d11fce Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey e06d795c71 Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey e80e877ab7 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey ffe0380912 Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps 2013-11-19 11:47:14 +09:00
Joshua Cranmer f6366dd338 Bug 935789, part 1: Kill most uses of prbit.h, r=ehsan
--HG--
extra : rebase_source : 4c44e60c72e0ece3cea7ed1cf79079bd2a1b6487
2013-11-12 18:22:38 -06:00
Mike Hommey b000a846c2 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Ehsan Akhgari 6fedf6801d Bug 928052 - Remove some prtypes.h inclusions from netwerk/; r=mcmanus 2013-10-18 10:45:29 -04:00
Ehsan Akhgari c8d51e9ce2 Bug 919341 - Minimize the #includes in xpcom/ IDL files; r=bsmedberg 2013-09-23 13:29:27 -04:00
Ehsan Akhgari 3a4ed11774 Bug 919296 - Minimize the #includes in netwerk/ IDL files; r=mcmanus 2013-09-22 23:35:05 -04:00
Honza Bambas 894ba59236 Bug 913807 - HTTP cache v2: API+top service+integration+tests, off by default, r=michal+ehsan+mark.finkle+fabrice+mhammond+gavin 2013-09-20 11:11:25 +02:00
Birunthan Mohanathas 8975ae03b9 Bug 784739 - Switch from NULL to nullptr in netwerk/ (1/2); r=ehsan 2013-09-19 15:28:26 -04:00
Ehsan Akhgari c915f4615d Bug 917266 - Remove some unneeded code in netwerk/; r=mcmanus 2013-09-17 12:38:55 -04:00
Nicholas Nethercote 7983bb2a7f Bug 910517 (3rd attempt) - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 2b2a1b2667d6562fcf803ec48b4a8c10fdd519a3
2013-08-27 16:24:51 -07:00
Robert O'Callahan 03e7828db2 Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Phil Ringnalda 26ceee4fb5 Back out 4537337759b7 (bug 910517) because nobody expects the talos inquisition
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-04 22:42:06 -07:00
Nicholas Nethercote 1f32372424 Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 9142be547b2eeef37a8073a710ce23070f98cf65
2013-08-27 16:24:51 -07:00
Mike Hommey f8bc7fa754 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Ms2ger bdfaa84f5b Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger 49f603cd4d Bug 883284 - Part e: Move LIBXUL_LIBRARY into moz.build (k-o); r=ted 2013-08-22 08:56:00 +02:00
Ms2ger 4807f1c86c Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Honza Bambas 823c175c9e Bug 877562 - protect appcache hash tables with a mutex, r=jduell 2013-08-15 12:42:02 +02:00
Joshua Cranmer 37465bc6bd Bug 884061 - Part 3q: Use NS_DECL_THREADSAFE_ISUPPORTS in netwerk/, r=macmanus
--HG--
extra : rebase_source : d029f73a1f27896c142f76dce263dd3542763b18
2013-07-18 21:24:13 -05:00
Benoit Girard be559fe75a Bug 892861 - Remove useless -D flags 'IMPL_THEBES,_IMPL_NS_GFX,...'. r=glandium 2013-07-12 08:56:54 -04:00
Trevor Saunders f33ade0d68 bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal 2013-07-11 11:06:34 -04:00
Srinath N 2e5a8f5e42 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
Trevor Saunders 2af42ae713 bug 887854 - remove most useage of pratom.h r=mounir, mcmanus, jrmuizel 2013-06-16 03:09:07 -04:00
Catalin Iacob 6f4758d23e Bug 798914 (part 5) - Use newly introduced mozilla::MallocSizeOf instead of nsMallocSizeOfFun. r=njn.
--HG--
extra : rebase_source : fc472490dd978d165f02f77ed37f07aed6e5bb61
2013-06-23 14:03:39 +02:00
Brian O'Keefe 11bcc1cd9e Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1); r=mshal
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
Mike Shal 5169c0a913 Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Ted Mielczarek 3cfd62c3d2 bug 871712 - make MSVC PGO opt-in per-directory, and opt-in in the directories that matter. r=glandium 2013-05-16 09:33:26 -04:00
Ed Morley 5256152aa1 Backed out changeset 496846474ed3 (bug 864774) 2013-05-13 10:05:49 +01:00
Mike Shal 954221d9c9 Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey
From 140b9201e3b5d2d8efe7af286d279c2411dbc197 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Patrick McManus a3e52bbe38 bug 868441 Bypass Cache when lock held too long r=novotny 2013-05-12 10:01:13 -04:00
Makoto Kato eada8e34f0 Bug 800220 - Part 1. Replace PL_strlen with strlen. r=ehsan 2013-05-08 12:40:12 +09:00
Sumedh Shekhar 87dffc32e4 Bug 804742 - EnsureStringLength doesn't work. f=Ms2ger, r=ehsan 2013-05-08 00:52:52 +09:00
Michal Novotny 549f7cde85 Bug 852467 - nsDisableOldMaxSmartSizePrefEvent runs on the gecko main thread, blocks for long periods of time, r=honzab 2013-04-25 21:54:20 +02:00
Mike Shal df7deac25b Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Michal Novotny d73ecc7c2c Bug 829419 - Don't allow processing pending events while shutting down cache IO thread, r=jduell 2013-04-16 17:40:08 +02:00
Mike Hommey 8aca99fe1a Bug 854105 - Avoid gcc 4.7 complaining about array out of bounds in nsDiskCacheMap::WriteDataCacheBlocks. r=michal 2013-04-11 09:32:39 +02:00
Honza Bambas b3cd17f342 Bug 842611 - Don't let nsOfflineCacheDevice::Init() create mozStorageService on non-main thread, r=michal 2013-04-10 02:21:07 +02:00
Kyle Machulis 72a717a860 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis 43628a7867 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis 334c0800cf Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Honza Bambas 4e13d0a06a Bug 729182 - Implement visual event tracer, part1 - instrumentation, r=mcmanus,bz,ehsan,bsmedberg,michal 2013-03-28 18:38:04 +01:00
Mike Shal e3efc3a646 Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps 2013-03-21 08:41:00 -07:00
Mike Shal 7ecea60097 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Ms2ger 669cc4360c Bug 845374 - Part r: Stop including nsTArray.h in nsReadableUtils.h; r=khuey 2013-03-17 08:55:16 +01:00
Mike Shal cd4191e248 Bug 818246 - Part 7: Move XPIDL_MODULE to moz.build; rs=gps 2013-03-11 22:00:00 -07:00
Gregory Szorc c865547d94 Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Gregory Szorc 4c4424f90d Bug 784841 - Part 18z: Convert /netwerk; f=Ms2ger rs=ted 2013-02-25 12:47:23 -08:00
Alfred Kayser 29fbf88a36 Bug 405407 - Merge nsDiskCacheStreamIO and nsDiskCacheStreamOutput (v10). r=michal.novotny 2013-02-16 15:50:09 +01:00
Martin Stransky 13a5407605 Bug 239254 - [Linux] Support disk cache on a local path, r=michal.novotny 2013-02-11 15:47:21 +01:00
Masatoshi Kimura 11f9152670 Bug 827032 - Enable FAIL_ON_WARNINGS on MSVC in netwerk/. r=jduell 2013-02-08 20:49:30 +09:00
Alfred Kayser 513cb2b5df Bug 828281 - UpdateRecord in CloseOutputStream can be removed. r=michal.novotny 2013-02-03 17:09:48 +01:00
Alfred Kayser 0833f66c48 Bug 572011 - Crash @ nsDiskCacheStreamIO::FlushBufferToFile - Make sure that we don't crash on empty/missing buffer 2013-02-02 10:52:41 +01:00
Honza Bambas a94f60d5ce Bug 794507 - make offline application cache store security info for entries, r=michal 2013-01-29 22:05:43 +01:00
Ryan VanderMeulen 0c0f4a7dea Backed out changeset eb2f0c1fffc2 (bug 820613) for xpcshell failures.
--HG--
extra : rebase_source : 7fff4cec5a4d7839cd3ede5cd0322631e11f9d38
2013-01-26 14:05:31 -05:00
Shriram Kunchanapalli 07a2e5d95d Bug 820613 - Remove all references to shutdown-cleanse. r=bsmedberg 2013-01-17 00:40:56 +05:30
Michal Novotny 25aff5186b Bug 816642 - Avoid fragmenting cache files, r=jduell 2013-01-15 14:43:53 +01:00
Mats Palmgren b7ae90666d 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 e7d64e972a Bug 829439 (part 1) - Add MemoryReporterBase class that promotes better encapsulation within nsIMemoryReporter sub-classes. r=jlebar.
--HG--
extra : rebase_source : 53a77ea456f2aedafe05954ceece7e64db743e66
2013-01-14 16:26:47 -08:00
Alfred Kayser 4a4870b372 bug 814010: diskcache: skip buffer when writing to file. r=michal.novotny 2013-01-06 14:51:12 +01:00
Michal Novotny 88c17a14f1 Bug 725993 - Remove ability to tell cache to STORE_ON_DISK_AS_FILE, r=bsmith 2013-01-04 00:30:48 +01:00
Michal Novotny 5399e26bf2 Bug 824484 - Fix race condition between stream wrapper destructor and nsCacheService::CloseAllStreams(), r=hurley 2013-01-03 20:24:27 +01:00
Michal Novotny 7e955d52d5 Bug 822036 - Fix race condition between nsCacheEntryDescriptor::Close() and nsCacheService::ClearDoomList(), r=hurley 2013-01-03 16:39:50 +01:00
Masatoshi Kimura 9a4812e054 Bug 824247 - Part 3: Disable FAIL_ON_WARNINGS on not-yet-warning-free directories on MSVC. r=ted 2013-01-03 00:56:38 +09:00
Nicholas Nethercote b7723e3c58 Bug 819819 (part 2) - Remove |name| from NS_MEMORY_REPORTER_MALLOC_SIZEOF_FUN. r=jlebar.
--HG--
rename : dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing_perwindowpb.html => dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing.html
rename : toolkit/components/places/tests/browser/browser_favicon_privatebrowsing_perwindowpb.js => toolkit/components/places/tests/browser/browser_favicon_privatebrowsing.js
extra : rebase_source : 557cc60522970ce7eea3b006d357284d9b4694c4
2012-12-23 16:59:51 -08:00
Alfred Kayser c138c1ea53 Bug 815639 - mLocalFile in nsDiskCacheStream doesn't have to be in the class 2012-12-21 15:25:50 +01:00
Jeff Walden 120886ca73 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 761f74729e 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
Trevor Saunders 4a0bc291e4 reland the part of bug 801466 backed out in 02a65951d77d since it wasn't at fault 2012-12-10 03:19:02 -05:00
Trevor Saunders 17c2a8b448 partially backout c0715c079f1e bug 801466 part 4 to se if it fixes top crashes 2012-12-08 05:50:11 -05:00
Trevor Saunders 10534070ec bug 801466 - remove some usage of prmem in intl/ and network/ r=jduell 2012-12-04 18:04:39 -05:00
Ed Morley d8c96a3117 Backout 3d411a8554e0 (bug 801466) for build failures 2012-12-04 23:34:40 +00:00
Trevor Saunders b18a99578e [PATCH] bug 801466 - remove some usage of prmem in intl/ and
From 9dadb8c05ecddfe60c415c1ff62627e998148c77 Mon Sep 17 00:00:00 2001
 network/ r=jduell
---
 intl/strres/src/nsStringBundle.cpp         |    2 --
 intl/uconv/src/nsConverterInputStream.cpp  |    8 +++---
 intl/uconv/src/nsConverterInputStream.h    |    6 +++--
 netwerk/base/public/nsReadLine.h           |   38 +++-------------------------
 netwerk/base/src/nsFileStreams.cpp         |    9 +++----
 netwerk/base/src/nsFileStreams.h           |    3 ++-
 netwerk/base/src/nsSerializationHelper.cpp |   31 +++++------------------
 netwerk/base/src/nsSocketTransport2.cpp    |    1 -
 netwerk/cache/nsCacheMetaData.cpp          |    3 +--
 netwerk/cache/nsCacheMetaData.h            |    3 ++-
 netwerk/protocol/data/nsDataChannel.cpp    |   24 +++++++-----------
 11 files changed, 36 insertions(+), 92 deletions(-)
2012-12-04 18:04:39 -05:00
Ehsan Akhgari 3104af642b Backed out changeset 944c97dabc33 (bug 816642) on the suspicion of regressing Tp5 by 50% 2012-11-30 16:05:40 -05:00
Michal Novotny 936f3894c8 Bug 816642 - Avoid fragmenting cache files, r=jduell 2012-11-30 18:56:25 +01:00
Michal Novotny ab68f3ae01 Bug 795897 - Force NSPR logging for cache module in release build, r=jduell 2012-11-22 02:14:00 +01:00
Josh Aas 0d70603e87 Back out fix for bug 405407 due to regressions. 2012-11-19 18:02:21 -05:00
Brian R. Bondy 383895126e Bug 795887 - Close cache on suspend_process_notification observer notifiations. r=michal 2012-11-09 10:34:03 -05:00
Nick Hurley 0d3e56e976 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 e364be4527 Bug 801883 - New profile directories are hidden in Finder. r=josh 2012-10-26 12:21:12 -05:00
Honza Bambas edba2799c8 Bug 751754 - Allow separation between the update-available and start-download states in appcache, r=jduell 2012-10-02 15:55:00 +02:00
Andrew Quartey 3f4e29b9f0 Bug 792581 - part 20: Replace LL_UI2L macro with int64_t cast. r=ehsan 2012-10-25 19:25:57 -04:00
Daniel Holbert 1ace1099e1 Bug 805552: Use DebugOnly in /netwerk to fix opt build warnings (treated as errors) for set-but-only-checked-in-debug-builds nsresult values. r=jduell 2012-10-25 12:47:55 -07:00
Ehsan Akhgari 8e702f60c5 Backed out 2 changesets (bug 579517)
Backed out changeset 5298adc70963
Backed out changeset 86ccf7c918ce (bug 579517)
2012-10-25 12:32:24 -04:00
Ehsan Akhgari f3c0ac7a23 Code hygiene: don't use PR_TRUE and PR_FALSE, and use stdint types instead of PRInt types (no bug really, but you could say bug 579517) 2012-10-25 11:48:19 -04:00
Isaac Aggrey c984edf823 Bug 794510: Part 2: Use more stdint types instead of protypes.h types; r=ehsan 2012-10-11 18:38:04 -05:00
Michal Novotny 47d75c532e Bug 771832 - File not found error for HTTP URL, can be fixed by a forced reload, r=hurley 2012-10-17 13:59:51 +02:00
Makoto Kato 3122b4a8f4 Bug 801483 - make nsBufferedInputStream::Init fallible. r=bsmith 2012-10-16 17:38:20 +09:00
David Zbarsky 09d92493b0 Bug 801803: More nsresult as enum class creates warnings r=me 2012-10-16 00:26:51 -04:00
David Zbarsky 691b27fa27 Backout 368cd30cccda for bustage 2012-10-15 23:52:17 -04:00
David Zbarsky 7a57538d03 Bug 801803: More nsresult as enum class creates warnings r=me 2012-10-15 23:37:34 -04:00
David Zbarsky aa0078a93d Backout 14f09c2fb04c on CLOSED TREE 2012-10-15 21:19:30 -04:00
David Zbarsky 59e0277728 Bug 801803: More nsresult as enum class creates warnings r=me 2012-10-15 21:00:20 -04:00
Andrew Quartey 00edc52f9c Bug 792581 - part 19: Replace LL_I2L macro with int64_t cast. r=ehsan 2012-10-12 13:29:11 -04:00
Andrew Quartey 8191e9c8c1 Bug 792581 - part 18: Replace LL_L2D macro with double cast. r=ehsan 2012-10-12 13:29:11 -04:00
Andrew Quartey 3ca8d029a6 Bug 792581 - part 16: Replace LL_L2UI macro with uint32_t cast. r=ehsan 2012-10-12 13:29:11 -04:00
Andrew Quartey 2280fd1640 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
Jason Duell 1741f740ea Bug 786154 - enable FAIL_ON_WARNINGS in /netwerk/cache r=michal 2012-10-09 19:50:55 -07:00
Nick Hurley e8f057e372 Bug 786086 - Make the new default cache size display properly. r=michal 2012-10-05 12:29:14 -07:00
Andrew Quartey 58aa97ec8b Bug 792581 - part 12: Replace LL_DIV with division operator. r=ehsan 2012-10-05 01:05:28 -04:00
Andrew Quartey d371ac7c39 Bug 792581 - part 11: Replace LL_MUL macro with multiplication operator. r=ehsan 2012-10-05 01:05:28 -04:00
Andrew Quartey 54074fe47f Bug 792581 - part 5: Replace LL_CMP macro with standard comparison. r=ehsan 2012-10-03 10:13:19 -04:00
Cameron Kaiser b76f471593 Bug 718910 - Disable Spotlight on the cache directory on Mac; r=michal.novotny, f=smichaud,josh 2012-10-02 23:05:40 -04:00
Jason Duell 2f13edfe53 Bug 786299 - Delete app-cache related to an app when uninstalled. r=honza,jduell 2012-10-02 17:39:09 -07:00
Michal Novotny 71915019ae Bug 795897 - Force NSPR logging for cache module in release build, r=biesi 2012-10-01 18:10:21 +02:00
Ed Morley da9299600b Backout bec7e68cad9a & a6228bc28958 (bug 786299) for Windows compilation errors on a CLOSED TREE 2012-09-29 01:44:30 +01:00
Jason Duell b75e7e52c9 Bug 786299 - Part 2: Delete app-cache related to an app when uninstalled. r=honza 2012-09-28 16:13:17 -07:00
Jason Duell 1a4c79869e Bug 786299 - Delete app-cache related to an app when uninstalled, part 1 r=jduell 2012-09-28 16:13:15 -07:00
Isaac Aggrey b95ab79e45 Bug 795351: Replace LL_MAXINT, LL_MININT, LL_MAXUINT with stdint versions; r=ehsan 2012-09-28 14:55:23 -05:00
Isaac Aggrey 481e7dfb0b Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
foudfou 35bc9a72e8 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).

--HG--
extra : rebase_source : 3b4f7e26690fad487dd11594449948411d4e79bc
2012-09-27 23:44:47 +02:00
Honza Bambas 62c6cf834b Bug 756717 - Implement 'appcache jar' for apps, r=tlee+jduell 2012-07-31 02:36:00 -04:00
Ehsan Akhgari 8cc30b88b2 Bug 792502 - Kill the FunctionTimer code; r=vlad 2012-09-19 16:59:38 -04:00
Michal Novotny d4b22d7ab5 Bug 695399 - Remove calls to nsICacheSession::openCacheEntry on the main thread - netwerk part, r=hurley 2012-09-18 20:06:35 +02:00
Michal Novotny 245dcc3f73 Bug 723362 - Make an asynchronous variant of nsCacheEntryDescriptor::Doom, r=hurley 2012-09-17 23:31:46 +02:00
Brian R. Bondy 96079d18bc Bug 789936 - Cache reduction telemetry now ignores doom list check due to an unrelated bug with it. r=michal 2012-09-10 10:59:41 -04:00
Josh Aas 59dde21fb2 Bug 405407: Merge nsDiskCacheStreamIO and nsDiskCacheStreamOutput. Patch originally by Alfred Kayser, updated by Josh Aas, final fix from Michal Novotny. r=michal 2012-09-06 10:10:08 -04:00
Brian R. Bondy e0bc8fa130 Bug 787576 - Refine telemetry data for how much cache corruption reduction plan would help. r=michal 2012-09-04 15:05:19 -04:00
Randell Jesup 65539ef89c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Valentin Gosu ext:(%2C%20Jason%20Duell%20%3Cjduell.mcbugs%40gmail.com%3E%2C%20Ms2ger%20%3CMs2ger%40gmail.com%3E) 05d997c6df Bug 745296 - Enable FAIL_ON_WARNINGS in more of /netwerk r=jduell 2012-08-25 11:19:00 -07:00
Nick Hurley 752d843e21 bug 783755 - Make the new default cache size stick. r=michal 2012-08-21 14:52:44 -07:00
Brian R. Bondy 28255340f8 Bug 784657 - Fix potential problem in nsDIskCacheMap timer handling. r=michal 2012-08-23 22:23:10 -04:00
Brian R. Bondy e5bc6dcf33 Bug 784414 - Ensure cache clean file is open before seeking in it. r=michal 2012-08-23 22:22:14 -04:00
Nathan Froyd 2afd43df22 Bug 781200 - fixup several cache histograms; r=bsmith,hurley 2012-08-23 13:23:03 -04:00
Ehsan Akhgari e368dc9c85 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 f1e8434c4e Back out cbb72643bbae (bug 723362) for leaking 2012-08-20 20:28:19 -07:00
Michal Novotny 0fc5116bca Bug 723362 - Make an asynchronous variant of nsCacheEntryDescriptor::Doom, r=hurley 2012-08-21 03:30:40 +02:00
Brian R. Bondy b737469453 Bug 777328 - Gather telemetry data for how much cache corruption reduction plan would help. r=michal 2012-08-20 08:08:46 -04:00
Aryeh Gregor 4e199a1679 Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Honza Bambas 15daadba69 Bug 215450: Allow uploading of files greater than 2gb in size. Involves making input streams 64-bit capable. Significant work done by Makoto Kato, finished by Honza Bambas. r=hbambas,bsmedberg,jdrew,sicking 2012-08-10 22:44:11 -04:00
Ms2ger 75ab7efb95 Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg 2012-08-09 09:09:40 +02:00
Michal Novotny 706334a7b6 Bug 746920 - Uninitialised value use in nsDiskCacheMap::FlushRecords, r=hurley 2012-08-08 12:23:15 +02:00
Michal Novotny fed01c4c70 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 8ba592bd41 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
Jason Duell 056b8973b8 bug 780750 - HTTP cache never gets used/fixed if wrong permissions on CACHE_MAP file. r=hurley 2012-08-07 15:46:33 -07:00
Mike Hommey 70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Ehsan Akhgari 3ad40dbf10 Merge the nullptr conversion from mozilla-central into mozilla-inbound 2012-07-30 10:28:15 -04:00
Aryeh Gregor d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Aryeh Gregor 587e4453db Bug 777292 - Don't use |= on nsresult; r=ehsan 2012-07-27 17:03:08 +03:00
Brian R. Bondy 0420e74079 Bug 773518 - Necko nsDeleteDir should lower IO prioritization. r=jduell 2012-07-25 10:24:25 -04:00
Brian R. Bondy 343d8a43ac Bug 774146 - Get more detail on reason for DISK_CACHE_CORRUPT failures. r=michal 2012-07-20 19:47:52 -04:00
Thinker K.F. Li a90aaede1a Bug 769184 - Update cache entry only for new. r=honzab
Update entries in offline cache device only for new ones.  It means the entries returned by BindEntry(), not FindEntry().
2012-07-16 20:38:47 -04:00
Thinker K.F. Li 5570177a07 Bug 767025 - Part 2: Track active entries in memory and refuse to delete by ignore. r=honzab,gal
The original patch is from Andreas Gal. Thinker did some bug fixing.
2012-06-29 06:27:03 +08:00
Thinker K.F. Li 1d1330f61d Bug 767025 - Part 1: Remove flags. r=honzab
The original patch is from Andreas Gal. Thinker did some bug fixing.
2012-06-29 06:26:55 +08:00
Honza Bambas 10ccc90535 Bug 767096 - Optimize nsICachingChannel interface for offline cache writing, r=sinker 2012-07-11 20:20:17 +02:00
Honza Bambas 0abfde411a 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
Ehsan Akhgari 35d6ba9c3b Bug 772523 - Remove the unused nsMemoryCacheDevice::mEvictionThreshold member; r=michal 2012-07-11 09:39:06 -04:00
Thinker K.F. Li 68ea4f962a Bug 769291 - Move nsOfflineCacheDevice::Discard() to cache IO thread. r=honzab
Discard() is called from destructor of nsApplicationCache.  Instances
of nsApplicationCache is released by last reference, it can be in main
thread.  We move Discard() tasks to cache IO thread to avoid blocking
the main thread.
2012-07-11 14:16:00 +08:00
Ryan VanderMeulen 13fc9bf9b8 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 3c33725683 Bug 767096 - Optimize nsICachingChannel interface for offline cache writing, r=sinker 2012-07-10 23:49:18 +02:00
Honza Bambas 4c04a1f793 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 f3dc77d62d Bug 772525 - Remove the unused variable on in nsCacheService::Lock; r=bsmith
DONTBUILD
2012-07-10 14:41:42 -04:00
Brian Smith aaebfde4e6 Bug 767275 - Add more detailed cache lock telemetry, r=michal, r=nfroyd
--HG--
extra : rebase_source : 60962876704a945ba83dc8ccfde938aa1957cb96
2012-06-29 16:20:34 -07:00
Brian Smith f4f627ae83 Bug 765665: Stop acquiring the cache service lock in nsICacheService::GetCacheIOTarget when on the main thread, r=michal
--HG--
extra : rebase_source : 1c364e317d11f024774952a89784609a68b8f6f2
2012-06-21 13:47:44 -07:00
Ehsan Akhgari e0f2ea75a7 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 fc7084f564 Bug 720778 - Important threads should have a name for better debugability, r=bsmith, sr=bsmedberg+glandium 2012-06-12 19:06:20 +02:00
Mark Finkle d80b2ddb63 Bug 754575 - Cache.Trash* files fill up disk space r=blassey r=jduell 2012-06-11 16:06:07 -04:00
Geoff Lankow 5cefea8480 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Honza Bambas ae90275e78 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 7650594949 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
Brian Smith 0184bfe5df Bug 746018 - Part 4 - More cache logging, r=jduell 2012-05-31 15:20:03 -07:00
Brian Smith 0499d869d8 Bug 746018 - Part 3 - Do more logging in nsInputStreamWrapper, r=jduell 2012-05-31 15:20:02 -07:00
Geoff Brown 1d11fd0b04 Bug 745340 - Improve disk cache smart sizing for mobile; r=jduell 2012-05-30 22:59:33 -04:00
Josh Matthews 447c9b5f07 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
Josh Matthews c45b403049 Bug 722845 - Part 0: Add private flag for cache entries/sessions/requests. r=michal.novotny 2012-05-24 16:31:53 +01:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Benjamin Smedberg eaa4878487 Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Brian R. Bondy 1d10d8833a Bug 753813 - Cache is disabled if you have too many old cache directories to delete
Bug 753813 - Cache is disabled if you have too many old cache directories to delete. r=jduell
2012-05-10 09:18:00 -07:00
Brian Nicholson 3529eb4647 Bug 746697 - Create nsApplicationCacheService to wrap nsOfflineCacheDevice. r=honzab 2012-04-30 10:57:09 -07:00
Nicholas Nethercote 43f329dbbd Bug 744311 (part 1) - Preliminary whitespace and code order changes. r=jlebar.
--HG--
extra : rebase_source : f700733d8aa1aed1ae1f9206b4ee9063f9a03341
2012-04-09 22:52:33 -07:00
Patrick Wong 4ccd1d2fbb Bug 745659 - Removed the nsPrintfCString constructor which takes a length and all corresponding instances that call that particular constructor. This is accomplished by removing the length component from the instantiation. r=jlebar 2012-04-24 14:43:00 -04:00
Michal Novotny d2271848cf Bug 713203 - nsMemoryCacheDevice::mTotalSize can go negative after clearing the memory cache 2012-04-25 01:11:39 +02:00
Michal Novotny 64844ac62e Bug 745200 - nsDiskCacheStreamIO::Flush() is sometimes called without holding the cache lock 2012-04-25 01:07:06 +02:00
Michal Novotny e733ddbd8d Bug 691108 - Make sure that no entry can be bound to the disk cache when nsDiskCacheDevice::ClearDiskCache() is in progress 2012-04-12 18:27:38 +02:00
Michal Novotny bba2343bce Bug 673543 - ensure that no entry is activated while the main thread is blocked by SyncWithCacheIOThread() 2012-04-12 18:24:57 +02:00
Ms2ger 4af44f872a Bug 605180 - Fix build warnings in netwerk/. r=jduell 2012-04-07 14:25:00 -07:00
Jason Duell d8e747c9ba Bug 705796 - telemetry data on how often cache is corrupt at startup. r=michal 2012-04-06 13:10:32 -07:00
Veeraya Pupatwibul 344b2b1753 Bug 741333 - Remove PRBool/PR_TRUE/PR_FALSE that crept in r=Ms2ger 2012-04-04 11:15:10 +02:00
Ryan VanderMeulen d72a2f5230 Backout bug 674728 part 3 due to missing reviews. 2012-03-31 18:18:08 -04:00
Sinker Li 84ddddcba8 Bug 674728 - Part 3: Evict cache asynchronized. r=honzab 2012-03-30 20:52:07 -04:00
Sinker Li a861ebdc6c Bug 674728 - Part 1: Pinned apps get higher priority for cache. r=honzab 2012-03-30 20:52:06 -04:00
Nick Hurley 729c70c97b bug 712914 - add some sanity checking when (de)serializing security info in the disk cache. r=michal 2012-03-30 11:21:01 +02:00
Michal Novotny 8620563b3e Bug 649194 - Abort when the cache IO thread can't be created 2012-03-27 10:20:54 +02:00
Michal Novotny 6251530d71 Bug 722033 - Invalidate cache entry in nsHttpChannel::DoInvalidateCacheEntry() asynchronously 2012-03-22 23:54:20 +01:00
Michal Novotny 19e7c0e85c Bug 722033 - Use asyncOpenCacheEntry() in nsHttpChannel when flag LOAD_BYPASS_LOCAL_CACHE_IF_BUSY is set 2012-03-22 23:53:10 +01:00
Justin Lebar 1fc1dc1879 Bug 729940 - Part 2: Stop using crappy hash functions in Gecko. r=bz
--HG--
extra : rebase_source : 6fa267a89878cc1a766d8618569debcea9b12e48
2012-03-12 18:53:18 -04:00
Nick Hurley 6d87368126 Bug 730163 - Telemetry for how long we wait to acquire the cache service lock. r=michal.novotny 2012-02-28 18:40:39 -05:00
Nathan Froyd 4349e91452 Bug 700659 - Slay nsHashSets in netwerk. r=jduell 2011-11-08 15:22:15 -05:00
Geoff Lankow ffee27c39f Bug 718255 - Merge nsIPrefBranch2 with nsIPrefBranch - Part E, remove uses of nsIPrefBranch2 in netwerk/ ; r=bsmedberg 2012-01-17 14:48:29 +13:00
Ms2ger 1e8da7ac11 Bug 726417: Signed/unsigned comparison in nsCacheMetaData::UnflattenMetaData r=jduell 2012-02-13 11:32:31 -08:00
Gijs Kruitbosch 2a27fd8d44 Bug 715098 - nsICacheMetaData shouldn't blow up in debug mode if visitor returns false. 2012-01-28 16:13:43 +01:00
Nicholas Nethercote 7559a70a04 Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
--HG--
extra : rebase_source : a65039a407daab45360a5b375b53cbf1bc05b7f6
2012-01-25 00:52:51 -08:00
bjarne@runitsoft.com 4e09b859ed Bug 673543 - crash nsDiskCacheMap::DeleteRecord r=michal.novotny 2012-01-26 12:23:45 +01:00
Geoff Brown c0d5fe5799 Bug 712277 - Avoid crash in zlib adler32 following compression failure; r=michal.novotny 2012-01-25 14:52:29 +01:00
Geoff Brown f871209d7f Bug 715198 - disable cache compression (avoid failures when new profile accessed by old software versions); r=bjarne 2012-01-17 12:51:17 +01:00
Michal Novotny a4b53eb49e Bug 716289 - crash in nsCacheService::SearchCacheDevices 2012-01-12 16:13:09 +01:00
Rafael Ávila de Espíndola e7c93a9ba8 Bug 716576 - nsCacheService closes its databases too late. r=michal.novotny.
--HG--
extra : rebase_source : 7884a6e0aa247e7a5fff39863a2d29a8fbab7a8e
2012-01-11 17:41:21 -05:00
Michal Novotny 9ae8731187 Bug 716146 - Telemetry - close disk cache output stream 2012-01-07 02:45:46 +01:00
Michal Novotny 610908a7b2 Bug 707436 - nsSetSmartSizeEvent can cause a lot of IO on the main thread 2012-01-06 16:19:10 +01:00
Phil Ringnalda e18a9fe91e Back out 8d1b087b9713 (bug 707436) for mochitest-ipcplugins leaks 2011-12-23 19:21:17 -08:00
Michal Novotny 1875c5ce30 Bug 707436 - nsSetSmartSizeEvent can cause a lot of IO on the main thread 2011-12-24 02:51:25 +01:00
Ed Morley 14d7ce0332 Backout b02402b95e5c (bug 708277) for build failures on all platforms 2011-12-22 11:07:12 +00:00
Thomas Prip Vestergaard 62e57cac37 Bug 708277 - Replace PR_MAX with NS_MAX. r=roc 2011-12-22 11:47:59 +01:00
Josh Matthews b0da6f4787 Bug 709262 - Disable disk cache if the user chooses to sanitize private data on shutdown. r=michal.novotny 2011-12-19 12:18:29 -05:00
Geoff Brown e00c78182d Bug 648429: delay pref observer destruction on shutdown to avoid crash; r=michal.novotny 2011-12-17 11:32:41 +01:00
Geoff Brown 573196b0e0 Bug 648429: HTTP cache: compress all compressible files; r=michal.novotny 2011-12-17 11:30:29 +01:00
Michal Novotny ff08b0851d Bug 695003 - Race condition when deleting cache directory 2011-12-02 18:10:57 +01:00
Nicholas Nethercote 6c6258e659 Bug 698968 - Add mallocSizeOf functions and start using them. r=jlebar,bhackett,jfkthame, sr=bz. 2011-11-27 19:03:14 -08:00
Nick Hurley 46c161085d bug 699409 - telemetry for memory used by records in the disk cache map. r=jduell 2011-11-07 23:41:52 -05:00
Nick Hurley 9d76bb72bc 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
Jonathan Watt 66f54fe5a4 Bug 695303 - Add a mozilla::clamped function to replace NS_CLAMP (so side affects of args are evaluated no more than once) and NS_MIN(max, NS_MAX(val, min)) (to make code clearer). r=bsmedberg. 2011-10-28 19:33:28 +01:00
Michal Novotny 32357727bd Bug 681546 - Avoid large cache evictions as disk fills by smoothing "smart" max cache size. 2011-10-19 14:35:57 +02:00
Ehsan Akhgari 92064e6d3f 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
Jeff Walden b5e57820bf Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Jeff Walden d0532c3e95 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden 0f30b277bf Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Geoff Brown 4b2fb5f4b5 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 d2b70213ac Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Ehsan Akhgari ace43d2150 Backout changeset d469840a370f (bug 661900) to see if it helps resolve the Mobile NoChrome Tp4 regression 2011-09-14 13:37:54 -04:00
Michal Novotny 795b4e1cc8 Bug 647391 - Increase maximum size for objects stored in disk cache. 2011-09-13 21:24:01 +02:00
Geoff Brown f47fc7a087 Bug 661900 - LRU-SP not fully implemented in memory cache; r=michal 2011-09-08 14:00:24 +02:00
bjarne@runitsoft.com aff6ae0036 Bug 667593 - Intermittent runtime abort in netwerk/test/unit/test_bug650955.js r=michal.novotny 2011-09-06 12:23:26 -04:00
Alfred Kayser 6e7615bef7 Bug 529733 - Crash in nsCacheMetaData::SetElement; r=michal,jduell 2011-08-23 17:45:10 +01:00
Michal Novotny a2acbf5621 Bug 681085 - sync cache map file after writing the header 2011-08-23 00:24:23 +02:00
Benjamin Smedberg 43c6b83772 Bug 675221 part C - Remove XPCOM proxy usage from necko, r=jduell
--HG--
extra : rebase_source : 7bf53b5ac6f52df0224f4fdad78e172762fa7c64
2011-08-19 11:47:43 -04:00
Matheus Kerschbaum b694a82634 Bug 678794 - Remove NECKO_OFFLINE_CACHE checks. r=jduell 2011-08-18 11:53:28 +02:00
Matheus Kerschbaum 9582fca43b Bug 678792 - Remove --disable-necko-disk-cache. r=khuey,jduell 2011-08-18 11:53:26 +02:00