Commit Graph

246 Commits

Author SHA1 Message Date
Daniel Holbert
2416fccac8 Bug 1142841: Convert all nsRefPtr<nsIRunnable> to nsCOMPtr<nsIRunnable>. r=ehsan
This patch was generated by a script.  Here's the source of the script for
future reference:

find . \( -iname "*.cpp" -o -iname "*.h" \) | \
  xargs -n 1 sed -i "s/nsRefPtr<nsIRunnable>/nsCOMPtr<nsIRunnable>/g"
2015-03-17 09:29:17 -07:00
Honza Bambas
7523879097 Bug 1139924 - Dooming an unloaded HTTP cache entry by its URL may fail. r=michal 2015-03-05 08:42:00 -05:00
Michal Novotny
95ad438b95 Bug 1139014 - Optimize memory allocations in CacheFileMetadata, r=honzab 2015-03-06 15:49:04 +01:00
Honza Bambas
b35d18a3c9 Bug 1136897 - Don't evict expired entries from disk. r=michal 2015-03-03 07:58:00 +01:00
Michal Novotny
0a80f3730f Bug 1133739 - HTTP cache v2: Add telemetry probes to find out the best initial read size of the metadata (fixed missing initialization of mFirstRead in one constructor), r=jseward 2015-02-25 17:46:51 +01:00
Michal Novotny
72068c4ac6 Bug 1055369 - Assertion failure: !handle || !handle->IsDoomed(). r=honzab
CLOSED TREE DONTBUILD
2015-02-24 11:49:46 -05:00
Ryan VanderMeulen
817fe1a62f Backed out changeset 12b059c5afc2 (bug 1055369) for frequent asserts across all test suites. 2015-02-24 11:40:22 -05:00
Michal Novotny
1c0c2fd7ca Bug 1055369 - Assertion failure: !handle || !handle->IsDoomed(), r=honzab 2015-02-24 16:09:17 +01:00
Honza Bambas
93fd6a7e99 Bug 1076366 - HTTP cache v2: Hand out CacheEntry to read-only callback demanding re-validation, r=michal 2015-02-20 12:50:00 +01:00
Michal Novotny
ab7c1d6f0c Bug 1133739 - HTTP cache v2: Add telemetry probes to find out the best initial read size of the metadata, r=jduell 2015-02-23 16:13:02 +01:00
Michal Novotny
b710607af4 Bug 1131600 - Add telemetry probes to get detailed disk cache hit rate, r=mcmanus 2015-02-23 12:26:06 +01:00
Michal Novotny
1430239aa3 Bug 1128339 - Add telemetry probes to find out impact of bug 1120945, r=jduell 2015-02-23 12:24:35 +01:00
Honza Bambas
be85db587f Bug 1132109 - Make CacheEntry::mSortingExpirationTime atomic/relaxed. r=michal
CLOSED TREE
2015-02-13 07:59:00 -05:00
Honza Bambas
441838c510 Bug 1131092 - Place mFileStatus=NS_OK after CacheFile.Init() call in CacheEntry::Load(). r=michal 2015-02-13 07:58:00 -05:00
Honza Bambas
0e252bb74b Bug 1120631 - CacheEntry::mFileStatus made atomic/rel_acq. r=nfroyd, r=michal 2015-02-13 07:55:00 -05:00
Honza Bambas
b92c04b4a3 Bug 1079789 - Don't doom expired entries in the HTTP cache intermediate memory pool. r=michal
CLOSED TREE
2015-02-12 14:00:00 -05:00
Michal Novotny
e3878b45bc 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
cdc4849d47 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
9e0728ef38 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
Honza Bambas
845bc50083 Bug 1123840 - "crash in libsystem_platform.dylib@0x51e0". r=honzab.moz 2015-01-22 13:51:00 +01:00
James Kitchener
0463ec8f7b Bug 1100184 - Use absolute paths in /network local includes. r=gps 2015-01-16 20:41:06 +10:30
James Kitchener
6a912052bb Bug 1100184 - Flatten netwerk/base/{public,src}/ directories. r=mcmanus, r=poiru 2015-01-20 03:58:00 -05:00
Jeff Muizelaar
4a40f4c6b0 Bug 1114999 - Part 3: Use automatic memory management for mObjsToRelease; r=novotny 2015-01-15 18:19:26 -05:00
Michal Novotny
bea6151fe1 Bug 1117585 - Disk consumption observers could get released on the cache thread, r=jduell 2015-01-14 15:38:27 +01:00
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