L. David Baron
e102088169
Bug 1277709 - Make threadsafe reference counting use the minimum memory sychronization needed. r=froydnj
...
This uses std::atomic rather than mozilla::Atomic since mozilla::Atomic
does not support using different memory synchronization for different
atomic operations on the same variable.
The added comments could use careful review since, while they reflect my
understanding of the issue, I don't consider myself an expert on the
topic.
MozReview-Commit-ID: 7xByCXt17Dr
2017-04-04 20:59:20 -07:00
Carsten "Tomcat" Book
382d1c7f03
Backed out changeset a52e75fdda07 (bug 1277709) for 10.10 xpcshell failures
2017-04-04 09:55:54 +02:00
L. David Baron
e2ffba37ac
Bug 1277709 - Make threadsafe reference counting use the minimum memory sychronization needed. r=froydnj
...
This uses std::atomic rather than mozilla::Atomic since mozilla::Atomic
does not support using different memory synchronization for different
atomic operations on the same variable.
The added comments could use careful review since, while they reflect my
understanding of the issue, I don't consider myself an expert on the
topic.
MozReview-Commit-ID: 7xByCXt17Dr
2017-04-03 20:43:29 -07:00
Boris Zbarsky
e31f9fb162
Bug 1348331 part 3. Change Preferences::RegisterCallback/RegisterCallbackAndCall/UnregisterCallback to do exact matching on the pref name, not prefix matching. r=froydnj.
...
MozReview-Commit-ID: GY6J62yWkfk
2017-03-21 14:59:02 -04:00
Boris Zbarsky
ad2cb7d03f
Bug 1348331 part 1. Add RegisterPrefixCallback and RegisterPrefixCallbackAndCall APIs to Preferences. r=froydnj
...
This will allow us to remove the PrefixMatch option from the public API version
of RegisterCallback/RegisterCallbackAndCall.
MozReview-Commit-ID: 6D0S35nv88Z
2017-03-21 14:59:02 -04:00
Boris Zbarsky
09dcca5362
Bug 1343677 part 1. Add a way to get the current preferences init phase in debug builds. r=billm
...
MozReview-Commit-ID: JtHhLuFDu2d
2017-03-16 17:43:17 -04:00
Brad Lassey
c91080f3e8
bug 1303096 - Stop sending sync messages soon after content process start-up r=billm
2017-02-05 00:52:38 -05:00
Sebastian Hengst
fc3db3338c
Backed out changeset e9d8a75a0dcc (bug 1303096) for failing various tests on Android 4.3 debug (e.g. test_saveHeapSnapshot_e10s_01.html). r=backout
2017-02-05 10:26:28 +01:00
Brad Lassey
c50cf62b3a
bug 1303096 - Stop sending sync messages soon after content process start-up r=billm
2017-02-05 00:52:38 -05:00
Milan Sreckovic
ab9728605f
Bug 1287215: Replace preferences gDirty global with a callback. r=aklotz,Gijs
...
MozReview-Commit-ID: 7m5d5ddMTva
2016-07-21 15:46:15 -04:00
David Anderson
3d762f8e5b
Don't initialize gfxPrefs with libpref in the GPU process. (bug 1280822 part 1, r=milan)
2016-06-26 23:33:14 -07:00
Wes Kocher
e8a95e7b8e
Backed out 4 changesets (bug 1280822) for leaking nsTArray_base
...
Backed out changeset b9a0567cd7c1 (bug 1280822)
Backed out changeset 93d483583ffa (bug 1280822)
Backed out changeset 91715d8e468f (bug 1280822)
Backed out changeset 3db77f57cef4 (bug 1280822)
2016-06-24 14:43:41 -07:00
David Anderson
a79bd8dfaf
Don't initialize gfxPrefs with libpref in the GPU process. (bug 1280822 part 1, r=milan)
2016-06-24 16:14:45 -07:00
Matt Woodrow
b1d0854b91
Bug 1267868 - Make AddXXXVarCache only match exact prefs, not prefixes. r=froydnj
2016-05-04 12:26:04 +12:00
Julian Seward
f8a03c5645
Bug 1248915 - TSan: data race on global 'mozilla::net::CacheObserver::sDiskCacheCapacity'. r=honzab.moz, n.nethercote.
2016-03-20 10:08:57 +01:00
Xidorn Quan
b0a352bfd1
Bug 1213123 - Make Preferences::SetString accept char16ptr_t instead of char16_t*. r=froydnj
2015-10-10 12:19:23 +11:00
Birunthan Mohanathas
a29151dc87
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
Andrea Marchesini
18b38ad706
Bug 1156632 - Remove unused forward class declarations - patch 4 - netwerk image and dom, r=ehsan
2015-04-22 08:29:20 +02:00
Andrea Marchesini
ad97ae68b8
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00
Ehsan Akhgari
ea41d8de48
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
Trevor Saunders
b131fddd60
bug 1059490 - mark more classes MOZ_FINAL r=froydnj
2014-08-27 14:26:48 -04:00
Birunthan Mohanathas
12b79e6293
Bug 1047877 - Flatten modules/libpref/{public,src}/ directories. r=bsmedberg
2014-08-07 21:52:04 -07:00