Nicholas Nethercote
a7e68f09c8
Bug 1276488 - Add diagnostics about Prefs startup failures. r=froydnj.
2017-09-06 15:17:05 +10:00
Masatoshi Kimura
3a683891af
Bug 1374847 - Remove nsIPrefBranch2 and nsIPrefBranchInternal. r=njn
...
MozReview-Commit-ID: 2LFhKNVspko
2017-08-04 17:12:58 +09:00
Nicholas Nethercote
09493fcbcf
Bug 1384835 (part 3, attempt 2) - Remove the Preferences::Get*CString() variants that return nsAdoptingCString. r=froydnj.
2017-07-31 14:28:48 +10:00
Nicholas Nethercote
a222153d9c
Bug 1384835 (part 2, attempt 2) - Remove the Preferences::Get*String() variants that return nsAdoptingString. r=froydnj.
2017-07-31 14:23:50 +10:00
Nicholas Nethercote
636397db95
Bug 1384835 (part 1, attempt 2) - Use nsA[C]String references instead of pointers for outparams of Get*String() pref functions. r=froydnj.
2017-07-31 10:52:51 +10:00
Benjamin Smedberg
251b00e475
Bug 1382817 - Prefs shouldn't start out dirty or be written almost immediately after being read, r=milan
...
MozReview-Commit-ID: BFLMsMQjn9w
2017-07-20 16:19:39 -04:00
Benjamin Smedberg
52bbf161ce
Bug 981818 followup - initialize member variable for correctness and valgrind happiness, r=trivial
2017-07-17 15:12:13 -04:00
Benjamin Smedberg
21d0e55716
Bug 981818 - Save preferences every time they are dirty on an timer for batching (only enabled when async pref writes are enabled) r=milan
...
MozReview-Commit-ID: 8O96jQIBsrb
2017-06-15 14:15:25 -04:00
Benjamin Smedberg
2d53b5dd88
Bug 1372988 part A - Warn when user prefs are set after the profile is dead, because the prefs won't get saved anyway. r=milan
...
MozReview-Commit-ID: IfwL5yYtLcF
2017-06-21 11:17:01 -04:00
Benjamin Smedberg
9db7895288
Bug 1367813 - 1) Add telemetry for prefs.js not existing or being corrupted, and the presence of a user.js file. 2) Rename and change the nsIPrefService.readUserPrefs API. The new API reads user prefs from a file but doesn't remember that location or save changed preferences to that location. r=milan data-r=rweiss
...
MozReview-Commit-ID: FD5npJlB24W
2017-06-21 15:26:10 -04:00
Phil Ringnalda
c64cad4109
Backed out changeset 4f0ee0f75a30 (bug 1367813) for Windows opt permaorange in test_worker_basic.html
...
MozReview-Commit-ID: 2k693yFa28r
2017-06-22 20:43:11 -07:00
Phil Ringnalda
be59e1915e
Backed out changeset 93e8c43340e4 (bug 1372988) for Windows opt permaorange in test_worker_basic.html
...
MozReview-Commit-ID: 6S8P6nsha0X
2017-06-22 20:42:40 -07:00
Benjamin Smedberg
004b69db2a
Bug 1372988 part A - Warn when user prefs are set after the profile is dead, because the prefs won't get saved anyway. r=milan
...
MozReview-Commit-ID: IfwL5yYtLcF
2017-06-21 11:17:01 -04:00
Benjamin Smedberg
d6e744168b
Bug 1367813 - 1) Add telemetry for prefs.js not existing or being corrupted, and the presence of a user.js file. 2) Rename and change the nsIPrefService.readUserPrefs API. The new API reads user prefs from a file but doesn't remember that location or save changed preferences to that location. r=milan data-r=rweiss
...
MozReview-Commit-ID: FD5npJlB24W
2017-06-21 15:26:10 -04:00
Gijs Kruitbosch
8d8c657317
Bug 789945: Part 1. Extract preference write functionality into a separate method/class and add interrupt callback functionality. Add methods to explicitly ask for main or off main thread save (inactive.) r=bsmedberg
...
MozReview-Commit-ID: FzI51oapEsL
2016-01-01 12:39:02 +00:00
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