Commit Graph

12 Commits

Author SHA1 Message Date
Masatoshi Kimura
2bd7ff970c Bug 1353936 - Use PREF_RegisterPriorityCallback from Add*VarCache. r=froydnj
MozReview-Commit-ID: LOxPTBqol9X
2017-04-12 00:17:52 +09: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
Milan Sreckovic
11e493fbf0 Bug 1249157 - prefapi enums into class enums, explicit conversion, cleanup. r=bsmedberg 2016-02-22 09:15:00 +01:00
Wes Kocher
ae635353f0 Backed out changeset dd911452e3f7 (bug 1249157) for build bustage CLOSED TREE 2016-02-22 09:05:21 -08:00
Milan Sreckovic
99fb6d585a Bug 1249157: prefapi enums into class enums, explicit conversion, cleanup. r=bsmedberg
MozReview-Commit-ID: nvvOD8ajV4
2016-02-18 13:27:06 -05:00
Nicholas Nethercote
d47efd4fdb Bug 1248521 - Pack PrefHashEntry better. r=froydnj.
This reduces sizeof(PrefHashEntry) from 40 bytes to 32 bytes on 64-bit
platforms, which reduces the entry storage of |gHashTable| from 160 KiB to 128
KiB in every process.
2016-02-16 15:36:55 +11:00
Nicholas Nethercote
2087a666fc Bug 1201135 - Rename pldhash.{h,cpp} to PLDHashTable.{h,cpp}. r=mccr8. 2015-09-15 20:49:53 -07:00
Nicholas Nethercote
9e2cc08e4a Bug 1171309 - Remove PREF_Init()'s return value. r=bsmedberg.
This is now possible because PLDHashTable initialization is infallible.
2015-06-04 16:14:48 -07:00
Mark Hammond
3159e9000c Bug 1098343 (part 1) - support 'sticky' preferences, meaning a user value is retained even when it matches the default. r=bsmedberg 2015-04-30 17:13:40 +10:00
Nicholas Nethercote
1ce96de5ae Back out changesets 2fcef6b54be7, 2be07829fefc, 66dfe37b8532, df3fcd2be8fd, 0a436bce77a6 (bug 1050035) for causing intermittent crashes and assertion failures. 2015-02-10 14:39:49 -08:00
Nicholas Nethercote
071d261bc7 Bug 1050035 (part 2) - Remove the fallible version of PL_DHashTableInit(). r=froydnj,mrbkap.
Because it's no longer needed now that entry storage isn't allocated there.
(The other possible causes of failures are much less interesting and simply
crashing is a reasonable thing to do for them.)

This also makes PL_DNewHashTable() infallible.
2015-02-01 20:19:08 -08:00
Birunthan Mohanathas
12b79e6293 Bug 1047877 - Flatten modules/libpref/{public,src}/ directories. r=bsmedberg 2014-08-07 21:52:04 -07:00