Commit Graph

58 Commits

Author SHA1 Message Date
Oleg Romashin
bef2790ef8 Bug 826586 - Add a AddFloatVarCache() API to libpref. r=bz 2013-01-09 22:10:52 -08:00
Scott Johnson
e1ad9f3f46 Bug 828296: Rev the IID of nsIPrefBranch.idl. [r=bsmedberg] 2013-01-09 14:43:13 -06:00
Justin Lebar
7bef45ba1a Bug 819791 - Part 3: Make typeof nsTArray == typeof InfallibleTArray. r=bz
Also make typeof nsAutoTArray == typeof AutoInfallibleTArray and switch
files to using nsTArrayForwardDeclare.h.
2012-12-18 20:16:06 -05:00
Nathan Froyd
06dac85136 Bug 765244 - add a memory reporter for preferences; r=njn
--HG--
extra : rebase_source : 1be2d7c4e2f4d1747afdb025392009532bc71add
2012-10-11 11:36:21 -04:00
Scott Johnson
e7cec36f2e Bug 790374: Add a GetFloat() API to libpref which uses a string preference as storage. [r=bsmedberg] 2012-09-26 15:53:37 -05:00
Isaac Aggrey
b33410feb2 Bug 789847 - Remove PR_CALLBACK usage from tree 2012-09-25 11:18:38 -05:00
Scott Johnson
4622da3332 Bug 789962: Change comment in Preferences.h to refer to correct file, DONTBUILD because NPOTB. [r=bsmedberg] 2012-09-14 17:42:35 -05:00
Chris Jones
7256c960fe Bug 783184: Ensure that child-process pref state always is the same as its parent's. r=bsmedberg 2012-08-22 13:00:21 -07:00
Ehsan Akhgari
0fd9123eac Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Geoff Lankow
00f3a215c9 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Masayuki Nakano
198aeb4f07 Bug 668157 part.1 Add Preferences::GetType() and Preferences::GetDefaultType() r=roc 2012-04-04 13:06:27 +09:00
Serge Gautherie
e3fab38561 Bug 735573. (Av1) Document UseDefaultPrefFile() and fix its nsresult value. r=bsmedberg. 2012-03-23 02:13:20 +01:00
Geoff Lankow
baa4881110 Bug 718255 - Merge nsIPrefBranch2 with nsIPrefBranch - Part B, remove uses of nsIPrefBranch2 in modules/libpref/ ; r=bsmedberg 2012-01-16 21:47:13 +13:00
Geoff Lankow
909101e444 Bug 718255 - Merge nsIPrefBranch2 with nsIPrefBranch - Part A, merge interfaces; r=bsmedberg, sr=gavin 2012-01-16 21:47:13 +13:00
Michael Wu
8c568e3281 Bug 712789 - Put packed xpi extensions in the extension lists, r=bsmedberg 2012-02-13 13:57:28 -05:00
Matthew Noorenberghe
ad086574ef Bug 294260 - Safe Mode: Auto detect previous start-up failure and offer to start in safe mode r=bsmedberg,Mossop
--HG--
rename : toolkit/components/startup/tests/Makefile.in => toolkit/components/startup/tests/browser/Makefile.in
extra : rebase_source : 8df6b163173362ae80832eb3667e04bb817280b3
2011-11-07 21:20:42 -08:00
Neil Rashbrook
bb4bc16e61 Bug 698217 Simplify new static Preference methods r=roc 2011-11-06 19:27:56 +00:00
Neil Rashbrook
b3f03a8649 Bug 698217 DeCOMtaminate nsIPrefServiceInternal r=roc 2011-11-02 14:51:39 +00:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Michael Wu
927aee119a Bug 671190 - Stop using BOGUS_DEFAULT_*_PREF_VALUE in prefapi.cpp and cleanup PRBool abuse, r=bsmedberg 2011-08-22 19:15:52 -07:00
Masayuki Nakano
629e43938d Bug 664917 Add Preferences API for getting default pref values r=roc, feedback=bz 2011-06-22 15:39:10 +09:00
Masayuki Nakano
59142e247a Bug 663036 part.2 Implement GetComplex() and SetComplex() in Preferences r=roc 2011-06-12 11:30:15 +09:00
Masayuki Nakano
1388f97eb0 Bug 663036 part.1 Make Preferences instance with service constructor r=roc 2011-06-12 11:30:15 +09:00
Masayuki Nakano
a66443b161 Bug 660640 part.1 RemoveObserver(), RemoveObservers() and UnregisterCallback() shouldn't output warnings if it failed after shutdown r=roc 2011-06-03 15:01:02 +09:00
Masayuki Nakano
319f614cd9 Bug 660742 accessible should use mozilla::Preferences r=roc+davidb 2011-06-03 15:01:02 +09:00
Masayuki Nakano
9718f5996b Bug 660742 back out f81b4d9534f5 2011-06-02 21:30:35 +09:00
Masayuki Nakano
aa6ba96502 Bug 660742 accessible should use mozilla::Preferences r=roc+davidb 2011-06-02 10:05:12 +09:00
Masayuki Nakano
85c451e309 Bug 660121 Remove all pref related methods from nsContentUtils r=roc 2011-05-29 08:42:57 +09:00
Masayuki Nakano
badc923975 Bug 659913 part.2 Implement AddObservers and RemoveObservers r=roc 2011-05-29 08:39:27 +09:00
Masayuki Nakano
2b6aea130f Bug 660401 Re-land the previous backed out patch 2011-05-28 16:03:00 +09:00
Masayuki Nakano
4dede19235 Bug 660401 temporary backout the patches for bug 659820 and bug 659821 for investigating talos regression 2011-05-28 13:50:19 +09:00
Masayuki Nakano
626032a54d Bug 659820 part.3 Refactor char/string/localizedstring pref methods of Preferences r=roc 2011-05-27 13:53:03 +09:00
Masayuki Nakano
43ebfa06ca Bug 659820 part.2 Add Preferences::GetLocalizedString() for nsACString r=roc 2011-05-27 13:53:03 +09:00
Masayuki Nakano
c37d6bf95d Bug 659820 part.1 Change the string params of Preferences class from ns*String to nsA*String r=roc 2011-05-27 13:53:03 +09:00
Masayuki Nakano
2c22152882 Bug 659536 part.1 Implement Preferences::GetUint() r=roc 2011-05-25 15:31:59 +09:00
Masayuki Nakano
84b430b91e Bug 656826 part.3 Implement static utility methods for Preferences r=roc 2011-05-23 23:54:03 +09:00
Masayuki Nakano
b13439a769 Bug 656826 part.2 Rename nsPrefService.cpp and move nsPrefService.h to public r=roc+bsmedberg
--HG--
rename : modules/libpref/src/nsPrefService.h => modules/libpref/public/Preferences.h
rename : modules/libpref/src/nsPrefService.cpp => modules/libpref/src/Preferences.cpp
2011-05-23 23:54:03 +09:00
Dão Gottwald
4ac8291c1d Bug 487059 - clearUserPref shouldn't throw if a pref doesn't have a default or user value. r+sr=bsedberg 2011-04-17 21:53:25 +02:00
Chris Jones
85d09be020 Bug 616414: Notify content processes when a pref has been cleared. r=dwitte 2011-01-05 22:54:47 -06:00
timeless@mozdev.org
21e1e178d2 Bug 584969 Remove references to nsIFileSpec from the "supported" set in nsIPrefBranch
r=dveditz a=bsmedberg
2011-01-05 14:11:56 -08:00
Chris Jones
703c658a1c Bug 562424: Switch IPDL interfaces to infallible TArray. r=bent a=blocking 2010-11-08 20:49:00 -06:00
Chris Jones
28d67e6217 Bug 550611: Make nsTArray optionally infallible. sr=bsmedberg a=blocking
--HG--
rename : xpcom/glue/nsTArray.cpp => xpcom/glue/nsTArray-inl.h
2010-11-08 20:48:59 -06:00
Mike Kristoffersen
18266960c0 Bug 599545 - Investigate remote-prefs serialization performance. r=dwitte, a=blocking-fennec2.0b2+ 2010-10-19 22:35:08 +02:00
Doug Turner
d845537c4d Bug 600110 - Pref follow up patch. Remove dead code, fix observers. r=dwitte. a=blocking-fennec
--HG--
extra : rebase_source : dd0861639f346b0c0f6103c25586f6136aa125f3
2010-09-28 10:02:37 -07:00
Doug Turner
f96b653ce0 Bug 589905 - Cache remote-preferences to improve performance. r=dwitte. a=blocking-fennec
--HG--
extra : rebase_source : 327ae1b240a0535c2ec61eb3bce15df302d83987
2010-09-27 14:23:35 -07:00
Michael Wu
d08db42494 Bug 533038 - 3. Support reading preferences from arbitrary jars, r=dwitte a=blocking-beta6 2010-09-08 20:38:12 -07:00
Mitchell Field
eb1e793da7 Remove @status FROZEN and @status UNDER_REVIEW. r=bsmedberg
--HG--
extra : rebase_source : 7fab31a6b7898e05ff828482390846cc9ce2854d
2010-07-02 10:27:06 -04:00