Commit Graph

34 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
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
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03: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
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
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