Michal Novotny
3c03e746b7
Bug 1369051 - Assertion failure: !entry || !entry->IsFresh() in CacheIndex::UpdateIndex, r=honzab
2017-08-11 12:30:59 +02:00
Junior Hsu
59fa90e20f
Bug 1380909 - Try to solve crash: move GetElement out of lambda. r=michal
2017-07-14 00:13:00 -04:00
Michal Novotny
d46ad48efb
Bug 1369009 - Intermittent layout/style/test/browser_newtab_share_rule_processors.js. r=honzab
2017-07-07 04:58:00 -04:00
Bill McCloskey
ce42826bdf
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Carsten "Tomcat" Book
238bf154d5
Backed out changeset 4f6302a98ae4 (bug 1372405)
2017-06-21 13:59:26 +02:00
Bill McCloskey
67e8af4720
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Carsten "Tomcat" Book
bbe9441993
Backed out changeset 9846de3bd954 (bug 1372405)
2017-06-20 08:27:02 +02:00
Bill McCloskey
f69608368b
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
Mats Palmgren
0a00d304f8
Bug 1372431 - Use RemoveEntry(EntryType*) instead of RemoveEntry(KeyType) to avoid another hashtable lookup. r=michal
...
MozReview-Commit-ID: 7zOWbhd8MnN
2017-06-14 17:27:25 +02:00
Michal Novotny
f20916b55e
Bug 1350256 - Handle null entry values more gracefully. r=mayhemer
2017-04-15 04:49:00 -04:00
Valentin Gosu
7ab7fa7d0e
Bug 1325341 - Query the cache index to get if the entry has alt data and its fileSize r=michal
...
MozReview-Commit-ID: 6wqsexqJq3u
2017-04-10 14:22:23 +03:00
Junior Hsu
388210848c
Bug 1325088 - Part 1: Add net-response-time-onstart/onstop to cache index. r=michal
2017-03-28 11:40:21 +08:00
Junior Hsu
b2dba038b5
Bug 1325091 - Add flag indicating presence of alternative data in the cache entry to cache index. r=michal
2017-03-06 18:21:59 +08:00
Tom Tromey
a4b717ab39
Bug 1060419 - make log_print use Printf.h, r=froydnj
...
MozReview-Commit-ID: BIZ1GQEZ1vs
2016-12-15 20:16:31 -07:00
Tim Huang
f3e7f2b8ba
Bug 1312954 - part 2: Add a new interface nsICacheStorageService.asyncVisitAllStorages() to allow visiting every cache entry. r=mayhemer
2017-02-02 22:15:00 -05:00
Andrew McCreight
209d4ee048
Bug 1323042 - forbid MOZ_COUNT_{CTOR,DTOR} for nsISupports classes; r=froydnj
2016-12-12 09:27:58 -05:00
Nathan Froyd
f2d50c26f4
Backout aba6c73511a2 (bug 1307961) for massive test bustage resulting in a CLOSED TREE; r=alltheorange
2016-12-12 08:45:46 -05:00
Andrew McCreight
2f93d6e48d
Bug 1307961 - require consistent bloatview reporting for nsISupports classes; r=froydnj
2016-12-12 07:58:33 -05:00
Michal Novotny
8e27e9090f
Bug 1320894 - Fixed serialization of cache index, r=valentin
2016-12-02 16:21:35 +01:00
Michal Novotny
783475431c
Bug 1201042 - Update HTTP cache index format to work with OriginAttributes' suffix, r=honzab
2016-11-08 21:11:30 +01:00
Carsten "Tomcat" Book
aebc351802
Backed out changeset bd16c2fde4bf (bug 1201042) for bc test failures
2016-11-07 12:58:23 +01:00
Michal Novotny
88915b4c5d
Bug 1201042 - Update HTTP cache index format to work with OriginAttributes' suffix, r=honzab
2016-11-07 10:28:46 +01:00
Michal Novotny
1b15ad7d86
Bug 1310205 - remove MOZ_ASSERT(entry->mRec->mFrecency == 0 || entry->mRec->mFrecency > mOldFrecency)), r=honzab
2016-10-17 15:39:57 +02:00
Michal Novotny
5642360a6c
Bug 1249304 - Optimize sorting of CacheIndex::mFrecencyArray, r=honzab
2016-10-06 11:23:52 +02:00
Michal Novotny
0ec75bbb16
Bug 1277826 - Crash in shutdownhang | mozilla::net::CacheIndex::WriteLogToDisk, r=honzab
2016-09-04 02:39:49 +02:00
Kan-Ru Chen
a9b19d0584
Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
...
The patch is generated from following command:
rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,
MozReview-Commit-ID: AtLcWApZfES
2016-08-24 14:47:04 +08:00
Andrew McCreight
a30768d792
Bug 1287623, part 4 - Make CacheIndex::gInstance a StaticRefPtr. r=mayhemer
2016-07-21 09:54:17 -07:00
Wes Kocher
971937eaaf
Backed out 5 changesets (bug 1287623) for static build bustage CLOSED TREE
...
Backed out changeset a48daec87ec9 (bug 1287623)
Backed out changeset 248153344e15 (bug 1287623)
Backed out changeset 8aa409c9b1ce (bug 1287623)
Backed out changeset 602d4d88e806 (bug 1287623)
Backed out changeset 114da8bdc0b0 (bug 1287623)
2016-07-20 15:40:33 -07:00
Andrew McCreight
824f361a41
Bug 1287623, part 4 - Make CacheIndex::gInstance a StaticRefPtr. r=mayhemer
2016-07-20 15:19:00 -07:00
Honza Bambas
ea78b38c18
Bug 1274585 - Push HTTP cache index build when asked for disk cache size, r=michal
2016-05-30 04:48:00 +02:00
Honza Bambas
f8811e0d2c
Bug 1267195 - Correctly update HTTP cache size in UI only after we actually clear the cache. r=michal
2016-05-12 07:57:00 -04:00
Michal Novotny
1dcb4c8a2f
Bug 1253883 - Do not release mRWBuf until pending read/write operation finishes, r=honzab
2016-05-11 10:48:28 +02:00
Nathan Froyd
971b65eda7
Bug 1263197 - part 1 - use temporary variables in CacheIndex logging; r=michal.novotny
...
Using temporary variables here makes the code a bit clearer by not
repeating the readUint32 call. A temporary variable also avoids the
compiler complaining about not using the result of readUint32 (which is
a MOZ_MUST_USE function) for the upcoming logging disabling patch.
2016-05-06 09:11:17 -04:00
Kyle Huey
b972c94d0f
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-05-05 01:45:00 -07:00
Carsten "Tomcat" Book
aadd508ffe
Backed out changeset 85ce8cb0639a (bug 1268313)
2016-04-29 14:21:16 +02:00
Kyle Huey
e62a0823c9
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-04-28 14:08:25 -07:00
Honza Bambas
4038797d13
Bug 1066970 - Show 'calculating' during HTTP cache cleaning process in preferences window, r=michal
2016-04-05 05:59:00 +02:00
J. Ryan Stinnett
f6d23d0dde
Bug 1238160 - Rename OriginAttributes.mInBrowser and associated methods. r=bz,mayhemer
...
This change renames OriginAttributes.mInBrowser to mInIsolatedMozBrowser and
nsIPrincipal::GetIsInBrowserElement to GetIsInIsolatedMozBrowserElement. Other
methods that pass these values around also have name changes.
Tokens such as "inBrowser" have previously been serialized into cache keys, used
as DB column names, stored in app registries, etc. No changes are made to any
serialization formats. Only runtime method and variable names are updated.
No behavior changes are made in this patch, so some renamed methods may have
nonsensical implementations. These are corrected in subsequent patches
focused on behavior.
MozReview-Commit-ID: 66HfMlsXFLs
2016-03-02 10:35:56 -06:00
Michal Novotny
7672278b09
Bug 1248958 - CacheIndex mRWBuf ownership too fragile, read-after-free, r=honzab
2016-02-18 11:43:20 +01:00
Michal Novotny
6b7353b910
Bug 1248389 - Cache index causing CPU loops, r=honzab
2016-02-17 11:47:47 +01:00
Chris Peterson
dab3fbc2f4
Bug 1235298 - Annotate intentional switch fallthroughs to suppress -Wimplicit-fallthrough warnings in netwerk/. r=mcmanus
2015-11-22 21:58:33 -08:00
Nicholas Nethercote
a800713bdd
Bug 1187134 (part 3) - Replace nsBaseHashtable::Enumerate() calls in netwerk/cache{,2}/ with iterators. r=valentin.
2015-12-03 14:00:02 -08:00
Michal Novotny
3f5bea0df4
Bug 1190951 - TSan: data race netwerk/cache2/CacheIndex.cpp:1397 CacheIndex::IsUpToDate, r=valentin.gosu
2015-11-12 11:07:48 +01:00
Birunthan Mohanathas
ac37dec517
Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj
2015-11-02 07:53:26 +02:00
Honza Bambas
88d540ea21
Bug 1032254 - Generic way to pin reasource in the HTTP cache, r=michal
...
* * *
Bug NNNNNNN - message, r=reviewer
2015-10-22 12:11:00 +02:00
Nathan Froyd
4e6d8f6705
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
2015-10-18 01:24:48 -04:00
Honza Bambas
213ca181dd
Bug 1165269 - Use OriginAttributes in nsILoadContextInfo, r=michal+allstars
2015-10-11 18:13:09 +02:00
Nicholas Nethercote
8e65255ab4
Bug 1209351 (part 4) - Optimize nsTHashTable::RemoveEntry() usage in netwerk/. r=michal.novotny.
2015-09-24 19:10:37 -07:00
Honza Bambas
e977121dbd
Bug 1082735 - Don't use InsertElementSorted in HTTP cache, r=michal
2015-08-17 15:18:59 -07:00
Nicholas Nethercote
509ee32a16
Bug 1182961 (part 2, attempt 2) - Use nsTHashtable::Iterator in CacheIndex. r=michal.
2015-07-26 20:15:36 -07:00