Commit Graph

255 Commits

Author SHA1 Message Date
Andrea Marchesini
eff949a801 Bug 1156632 - Remove unused forward class declarations - patch 4 - netwerk image and dom, r=ehsan 2015-04-22 08:29:20 +02:00
Mike Hommey
95e047925a Bug 1138293 - Use malloc/free/realloc/calloc instead of moz_malloc/moz_free/moz_realloc/moz_calloc. r=njn
The distinction between moz_malloc/moz_free and malloc/free is not
interesting. We are inconsistent in our use of one or the other, and
I wouldn't be surprised if we are mixing them anyways.
2015-03-31 12:32:49 +09:00
Michal Novotny
6c2133969b Bug 1147973 - Detailed disk cache hit rate telemetry is wrong, r=honzab 2015-03-30 21:08:52 +02:00
Andrea Marchesini
94545cbb2e Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Michal Novotny
39713c4594 Bug 1141555 - HTTP cache v2 generates corrupted entries, r=jduell 2015-03-26 23:05:34 +01:00
Honza Bambas
d52b8ad097 Bug 1098422 - Change the HTTP cache half-life experiment values. r=jduell 2015-02-27 10:17:00 -05:00
Honza Bambas
e660be665f Bug 1132172 - Don't access CacheEntry::mFrecency on non-cache threads. r=michal 2015-03-25 14:55:00 -04:00
Trevor Saunders
473f2ceb3c bug 1146027 - more final r=froydnj 2015-03-24 17:51:43 -04:00
Ehsan Akhgari
5cccea6f0f Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
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