Commit Graph

222 Commits

Author SHA1 Message Date
Michal Novotny
46ce05e652 Bug 1038554 - fix potential wrong file offset calculation in CacheIndex::ParseRecords() and CacheIndex::ParseJournal(), r=honzab 2015-01-10 01:21:04 +01:00
Valentin Gosu
2534e0e8aa Bug 1119240 - Fix warning in CacheFile::PadChunkWithZeroes r=michal 2015-01-09 16:36:54 +02:00
Ehsan Akhgari
bd52bd3f4e Bug 1118486 - Part 1: Use = delete instead of MOZ_DELETE directly; r=Waldo
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:

#!/bin/bash

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "*/.git*" \
       ! -wholename "obj-*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -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_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Ehsan Akhgari
b3a9917cc8 Bug 1117042 follow-up: Fix the test bustage, landed on a CLOSED TREE
Removing these methods causes an infinite recursion because the equivalent
64-bit functions would end up tail-recursing.
2015-01-02 10:26:40 -05:00
Ehsan Akhgari
897c4949cc Bug 1117042 - Mark virtual overridden functions as MOZ_OVERRIDE in netwerk; r=mcmanus 2015-01-02 09:04:04 -05:00
Ehsan Akhgari
d27fba4863 Bug 1111225 - Build more files in netwerk/cache2 in unified mode; r=glandium
--HG--
extra : rebase_source : d80afcddfc5b50b7f24b5c1266810dde61b9e61f
2014-12-16 12:52:47 -05:00
Honza Bambas
76cce7097f Bug 1095281 - Open entries from a chosen appcache as read-only, r=michal 2014-11-19 18:46:10 +01:00
Michal Novotny
20a5870edd Bug 1074832 - CacheIndex merges journal with pending updates incorrectly, r=honzab 2014-10-28 15:59:53 +01:00
Ryan VanderMeulen
567a313379 Backed out changeset f156971f0f4d (bug 1074832) for Android crashes.
CLOSED TREE
2014-10-14 12:41:43 -04:00
Michal Novotny
20087db9e6 Bug 1074832 - CacheIndex merges journal with pending updates incorrectly, r=honzab 2014-10-14 16:33:06 +02:00
Michal Novotny
6b96e1b618 Bug 1066915 - Assertion failure: aEntry->IsDirty(), in mozilla::net::CacheIndex::UpdateEntryInIndex, r=honzab 2014-10-14 15:12:42 +02:00
Eric Rahm
be71a0b71a Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan 2014-10-08 13:17:32 -07:00
Wes Kocher
5000218064 Backed out 5 changesets (bug 806819) for WinXP test failures on a CLOSED TREE
Backed out changeset 009ae35b0c67 (bug 806819)
Backed out changeset 5a57f87f5061 (bug 806819)
Backed out changeset f06cd735b5b3 (bug 806819)
Backed out changeset e25a2a8d4af4 (bug 806819)
Backed out changeset 70a167982c3f (bug 806819)
2014-10-06 16:32:50 -07:00
Eric Rahm
4a41e11c21 Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan
--HG--
extra : rebase_source : c96eea1c12ea8c19314393f0e8b4b57a4316a61d
2014-10-06 13:08:20 -07:00
Michal Novotny
ef3d6dcdc1 Bug 1056919 - crash in memcpy | mozilla::net::CacheFileChunk::OnDataRead(mozilla::net::CacheFileHandle*, char*, tag_nsresult), r=honzab 2014-09-16 20:37:39 +02:00
Honza Bambas
34d6b77b2c Bug 1066726 - Concurrent HTTP cache read and write issues, r=michal+jduell 2014-09-16 15:51:50 +02:00
Honza Bambas
9c6f58fc20 Bug 1029782 - Have OPEN_SECRETLY flag for opening cache entries, r=michal 2014-09-16 15:51:50 +02:00
Honza Bambas
d7feb5510d Bug 1000338 - nsICacheEntry.lastModified not properly implemented, r=michal 2014-09-16 15:51:50 +02:00
Carsten "Tomcat" Book
1986252483 Backed out changeset ce8f00cca9dd (bug 1000338) for XPC-2 test failures 2014-09-11 14:31:54 +02:00
Carsten "Tomcat" Book
a9a158f042 Backed out changeset 25c721fd5dc6 (bug 1029782) for XPCshell bustage on a CLOSED TREE 2014-09-11 13:07:41 +02:00
Honza Bambas
518161c664 Bug 1029782 - Have OPEN_SECRETLY flag for opening cache entries, r=michal 2014-09-11 11:44:31 +02:00
Honza Bambas
f834c0c5b4 Bug 1000338 - nsICacheEntry.lastModified not properly implemented, r=michal 2014-09-11 11:44:31 +02:00
Michal Novotny
1284219ac6 Bug 1052266 - Potential deadlock detected: CacheEntry, CacheIndex.mLock, CacheStorageService at CacheEntry, r=honzab 2014-09-10 14:43:50 +02:00
Steve Workman
d67008c598 Bug 1058099 - Cancel CacheStorageService::mPurgeTimer if it's still set during shutdown r=mayhemer 2014-09-02 13:33:32 -07:00
Trevor Saunders
e1a88eb1fb bug 1059490 - mark more classes MOZ_FINAL r=froydnj 2014-08-27 14:26:48 -04:00
Ehsan Akhgari
b2f0615820 Bug 1061052 - Fix more bad implicit constructors in netwerk; r=mcmanus 2014-09-02 09:49:38 -04:00
Trevor Saunders
b6b2d4b019 bug 1047696 - mark a number of classes MOZ_FINAL to get compilers to devirtualize more r=froydnj 2014-08-05 13:33:55 -04:00
Kyle Huey
9702ddfc53 Bug 1034315: Don't use NS_DECL_NSIFOO macros without inheriting from nsIFoo in netwerk/. r=mayhemer
--HG--
extra : rebase_source : a16e530ad8aafa28f45be95641c6c0c3aac7cda6
2014-08-21 10:47:38 -07:00
Michal Novotny
7892309b8c Bug 1054425 - cache2: leak in CacheFileMetadata::WriteMetadata, r=jduell 2014-08-18 21:11:40 +02:00
Michal Novotny
bb35753e96 Bug 1042192 - Use Cache2 I/O thread for callbacks from CacheFileIOManager, r=sworkman 2014-08-18 15:36:27 +02:00
Valentin Gosu
5a8366d993 Bug 1045886 - Remove Cache directory from Android profiles r=michal 2014-08-13 16:43:45 +03:00
Andrew McCreight
14a59b9fa7 Bug 1046281 - Use the simpler version of nsTHashtable memory reporters. r=njn 2014-08-05 13:27:41 -07:00
Ehsan Akhgari
9745a79694 Bug 1048271 - Fix more bad implicit constructors in netwerk; r=mcmanus 2014-08-05 09:20:24 -04:00
Jeremy Poulin
1a2a664296 Bug 1038357 - Add automatic pruning for mForcedValidEntries in CacheStorage Service. r=honzab 2014-07-15 09:23:09 -07:00
Jeremy Poulin
00b5341e5c Bug 1020416 - Added forceValidFor() and isForcedValid attribute to nsICacheEntry. r=honzab, michal 2014-07-21 11:34:17 -07:00
L. David Baron
b3a72bfdc6 Back out the remainder of 3f6ee18b1e9d (bug 1038357), most of which was backed out in 8da875b402fe (backout of bug 1020416). 2014-07-25 17:49:36 -07:00
Brad Lassey
adf88606de back out bug 1020416 for causing hangs on Firefox for Android 2014-07-25 13:21:42 -04:00
Jeremy Poulin
54abc43e0f Bug 1038357 - Added automatic pruning for mForcedValidEntries in CacheStorage Service. r=honzab 2014-07-15 09:23:09 -07:00
Mike Hommey
9ae3c48776 Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal 2014-07-23 08:37:51 +09:00
Jeremy Poulin
e69144dffb Bug 1020416 - Added forceValidFor() and isForcedValid attribute to nsICacheEntry. r=honzab, michal 2014-07-21 11:34:17 -07:00
Carsten "Tomcat" Book
0a6b2c043a Backed out changeset a232fd36c827 (bug 1020416) for nightly startup crashed - bug 1041492 a=sheriffduty 2014-07-21 14:57:09 +02:00
Jeremy Poulin
9c78728d5e Bug 1020416 - Add forceValidFor() and isForcedValid attribute to nsICacheEntry. r=honzab, r=michal 2014-07-18 18:11:34 -07:00
Honza Bambas
957f0836c7 Bug 1037447 - Introduce nsICacheEntry nsICacheStorage.openTruncate(URL, idEnhance), r=michal 2014-07-16 16:16:30 +02:00
Honza Bambas
99df391abb Bug 1034672 - Fix order of arguments to memcpy in WriteMetadata. r=michal 2014-07-16 10:07:48 -04:00
Michal Novotny
d4fc6d5f42 Bug 1035411 - Suspect lock handling in cache2, r=honzab 2014-07-16 10:57:52 +02:00
Michal Novotny
40b2aaea52 Bug 1028415 - Cache thread gets stuck in CacheFileIOManager::OverLimitEvictionInternal loop, r=honzab 2014-07-16 10:47:02 +02:00
Benoit Girard
cb397e6eb5 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
d2503e2bb9 Bug 979900 - Avoid completely filling cache partition on Gonk, r=honzab 2014-07-11 08:25:55 +02:00
Nicholas Nethercote
ab815d0c3b Bug 1036789 - Convert the third quarter of MFBT to Gecko style. r=Ms2ger.
--HG--
extra : rebase_source : 668cd394806203ddfa34bd4f226335ff26c846b5
2014-07-10 19:10:17 -07:00
Michal Novotny
5b6c995de2 Bug 1013395 - HTTP cache v2: have a limit for write backlog, r=honzab 2014-07-10 07:59:29 +02:00