Honza Bambas
1e445509dc
Bug 1206060 - Show pinning status at about:cache. r=michal
2015-10-30 08:12:00 +01:00
Honza Bambas
8f88fd6cdc
Bug 1032254 - Generic way to pin reasource in the HTTP cache, r=michal
...
* * *
Bug NNNNNNN - message, r=reviewer
--HG--
rename : netwerk/test/unit/test_cache2-28-concurrent_read_resumable_entry_size_zero.js => netwerk/test/unit/test_cache2-29a-concurrent_read_resumable_entry_size_zero.js
rename : netwerk/test/unit/test_cache2-29-concurrent_read_non-resumable_entry_size_zero.js => netwerk/test/unit/test_cache2-29b-concurrent_read_non-resumable_entry_size_zero.js
2015-10-22 12:11:00 +02:00
Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Honza Bambas
4bd41740d0
Bug 1165269 - Use OriginAttributes in nsILoadContextInfo, r=michal+allstars
2015-10-11 18:13:09 +02:00
Nathan Froyd
8a9abcdd4d
Bug 1156974 - mark CacheFileHandle::mIsDoomed as a release/acquire Atomic variable; r=michal
2015-08-04 00:32:36 -04:00
Nicholas Nethercote
6eb030ce06
Bug 1182961 (part 4, attempt 2) - Use nsTHashtable::Iterator in CacheFileHandles. r=michal.
2015-07-26 23:31:22 -07:00
Nicholas Nethercote
daab3fdaf7
Backout bff74cecc67c, ffe0edb2aae7, b60b7c267cef, 6da154b43265, bcf6fd3ab9bb (bug 1182961 parts 1--5) for possible intermittent failures and performance problems.
...
--HG--
extra : rebase_source : 97ab1452e462b1ff24cc77bdadf2a6e82800690d
2015-08-06 16:30:47 -07:00
Nicholas Nethercote
72530c51ab
Bug 1182961 (part 4) - Use nsTHashtable::Iterator in CacheFileHandles. r=michal.
...
--HG--
extra : rebase_source : 35c5892e4fa4c754fade81846d2d1fcb75ced93d
2015-07-26 23:31:22 -07:00
Carsten "Tomcat" Book
9fcb673926
Backed out changeset fb2a27db76bc (bug 1032254) for OS X Static Build Bustage on a CLOSED TREE
...
--HG--
rename : netwerk/test/unit/test_cache2-29a-concurrent_read_resumable_entry_size_zero.js => netwerk/test/unit/test_cache2-28-concurrent_read_resumable_entry_size_zero.js
rename : netwerk/test/unit/test_cache2-29b-concurrent_read_non-resumable_entry_size_zero.js => netwerk/test/unit/test_cache2-29-concurrent_read_non-resumable_entry_size_zero.js
2015-07-31 07:57:50 +02:00
Valentin Gosu
30be843b5b
Bug 1032254 - Provide a way to pin resources in the http cache r=honzab
...
--HG--
rename : netwerk/test/unit/test_cache2-28-concurrent_read_resumable_entry_size_zero.js => netwerk/test/unit/test_cache2-29a-concurrent_read_resumable_entry_size_zero.js
rename : netwerk/test/unit/test_cache2-29-concurrent_read_non-resumable_entry_size_zero.js => netwerk/test/unit/test_cache2-29b-concurrent_read_non-resumable_entry_size_zero.js
2015-07-30 11:40:00 +02:00
Birunthan Mohanathas
a8939590de
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Honza Bambas
326b2476af
Bug 1170534 - Remove Visual Event Tracer. r=dougt
2015-06-02 11:44:00 -04:00
Neil Rashbrook
cf42e317ab
Bug 1155963 Only allow NS_LITERAL_CSTRING to be used on compile-time literals r=froydnj,ehsan
2015-05-16 09:07:10 +01:00
Wes Kocher
3c714c42eb
Backed out changeset 17cfad44e12b (bug 1155963) for breaking b2g builds
2015-05-14 16:35:18 -07:00
Neil Rashbrook
ae441fafa2
Bug 1155963 Only allow NS_LITERAL_CSTRING to be used on compile-time literals r=froydnj,ehsan
2015-05-15 00:00:33 +01:00
Eric Rahm
25a263c237
Bug 1162336 - Part 2: Wrap expensive calls in PR_LOG_TEST. r=froydnj
...
Check that logging is enabled before performing potentially expensive
operations.
2015-05-07 12:52:45 -07:00
Eric Rahm
58dea0dee9
Bug 1162336 - Part 1: Remove instances of #ifdef PR_LOGGING in netwerk. r=froydnj
...
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-07 12:52:44 -07:00
Wes Kocher
28c02e1e6d
Backed out 2 changesets (bug 1162336) for breaking at least windows builds
...
Backed out changeset 8952a7fa4050 (bug 1162336)
Backed out changeset 0170a6c2a5be (bug 1162336)
2015-05-07 11:13:24 -07:00
Eric Rahm
b9dd7823ea
Bug 1162336 - Part 2: Wrap expensive calls in PR_LOG_TEST. r=froydnj
...
Check that logging is enabled before performing potentially expensive
operations.
2015-05-07 10:35:29 -07:00
Eric Rahm
ba22eb7fee
Bug 1162336 - Part 1: Remove instances of #ifdef PR_LOGGING in netwerk. r=froydnj
...
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-07 10:35:28 -07:00
Michal Novotny
ccf95c783e
Bug 1141555 - HTTP cache v2 generates corrupted entries, r=jduell
2015-03-26 23:05:34 +01:00
Michal Novotny
59b700c5ee
Bug 1055369 - Assertion failure: !handle || !handle->IsDoomed(). r=honzab
...
CLOSED TREE DONTBUILD
2015-02-24 11:49:46 -05:00
Ryan VanderMeulen
e6f89f97b9
Backed out changeset 12b059c5afc2 (bug 1055369) for frequent asserts across all test suites.
2015-02-24 11:40:22 -05:00
Michal Novotny
433ecb9f7d
Bug 1055369 - Assertion failure: !handle || !handle->IsDoomed(), r=honzab
2015-02-24 16:09:17 +01:00
Michal Novotny
6ba1ff0b47
Bug 1128339 - Add telemetry probes to find out impact of bug 1120945, r=jduell
2015-02-23 12:24:35 +01:00
Michal Novotny
b0c1bd1269
Bug 1130784 - FAT32 file create limit code is using a bad error number, r=honzab
2015-02-12 11:28:50 +01:00
Michal Novotny
3e9595aa5b
Bug 1119406 - HTTP cache v2: Doom cache entry when writing of metadata fails, r=honzab
2015-01-27 15:50:18 +01:00
Michal Novotny
c9459ea8d5
Bug 1120945 - HTTP cache v2: maximum number of entries is limited to 13106 on FAT32, r=honzab
2015-01-27 02:29:02 +01:00
Michal Novotny
fc4957e061
Bug 1054425 - cache2: leak in CacheFileMetadata::WriteMetadata, r=jduell
2014-08-18 21:11:40 +02:00
Michal Novotny
fc093f7b96
Bug 1042192 - Use Cache2 I/O thread for callbacks from CacheFileIOManager, r=sworkman
2014-08-18 15:36:27 +02:00
Andrew McCreight
228d194059
Bug 1046281 - Use the simpler version of nsTHashtable memory reporters. r=njn
2014-08-05 13:27:41 -07:00
Ehsan Akhgari
748c8aca19
Bug 1048271 - Fix more bad implicit constructors in netwerk; r=mcmanus
2014-08-05 09:20:24 -04:00
Michal Novotny
9e398090b9
Bug 1028415 - Cache thread gets stuck in CacheFileIOManager::OverLimitEvictionInternal loop, r=honzab
2014-07-16 10:47:02 +02:00
Benoit Girard
1465e09a99
Bug 1037691 - Fix instances where refcounted classes expose a public destructor. r=ehsan,bent,mayhemer,jrmuizel
2014-07-15 11:37:45 -04:00
Michal Novotny
a832d97bc8
Bug 979900 - Avoid completely filling cache partition on Gonk, r=honzab
2014-07-11 08:25:55 +02:00
Honza Bambas
ddf3a1c225
Bug 1024495 - crash in mozilla::net::CacheFileIOManager::GetProfilelessCacheDirectory, r=michal
2014-06-13 01:45:43 +02:00
Honza Bambas
8f57c8e341
Bug 961024 - Move HTTP cache on Android to application's cache/profile leaf name, r=michal
2014-06-03 14:35:17 +02:00
Honza Bambas
7645fc87a0
Bug 1016451 - HTTP cache v2: add shutdown time probe for sanitize case, r=michal
2014-05-29 00:52:21 +02:00
Birunthan Mohanathas
cfd62b35ad
Bug 869836 - Part 10: Use Truncate instead of `AssignLiteral("")`. r=ehsan
...
--HG--
extra : rebase_source : e75c900e72e5367518f2b923a839fd23acf29a42
2014-05-26 21:54:53 +03:00
Birunthan Mohanathas
f65339b9ff
Bug 869836 - Part 5: Use AssignLiteral instead of Assign where possible. r=ehsan
2014-05-22 06:48:51 +03:00
Michal Novotny
919d02722d
Bug 1003208 - HTTP cache v2: CacheFileHandle::mHash is accessed after the memory is freed, r=honzab
2014-05-05 15:11:39 +02:00
Honza Bambas
ec884e84a0
Bug 916052 - Adapt about:cache to the HTTP cache v2 API, r=michal+MattN
2014-05-01 13:28:12 +02:00
Honza Bambas
fcfec4dbfa
Backing out bug 916052 (2557b51a47a0) for build bustage on linux/osx, r=bustage on CLOSED TREE
2014-04-30 13:05:43 +02:00
Honza Bambas
bbabececf4
Bug 916052 - Adapt about:cache to the HTTP cache v2 API, r=michal+MattN
2014-04-30 12:39:18 +02:00
Birunthan Mohanathas
5f1fde8824
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
Honza Bambas
5418308b9c
Bug 999383 - optimize Open and Read inter-thread calls in CacheFileIOManager, r=michal
2014-04-26 18:42:07 +02:00
Michal Novotny
161817ef1f
Bug 987829 - HTTP cache v2: make disk cache smart sizing work with the new backend, r=honzab
2014-04-22 11:21:00 +02:00
Michal Novotny
993f02b514
Bug 977766 - HTTP cache v2: selective deletion of data (by load context info), r=honzab, michal
2014-04-10 12:47:20 +02:00
Michal Novotny
7f7612b2d2
Bug 920573 - HTTP cache v2: Remove all cache files during shutdown when "Clear history when Firefox closes" + "Cache" setting is checked, r=honzab
2014-04-09 10:06:59 +02:00
Honza Bambas
e0dd661ad6
Bug 968593 - HTTP cache v2: Make load context key (a.k.a key prefix) safely parsable, r=michal
2014-04-06 20:44:40 +02:00