Commit Graph

12 Commits

Author SHA1 Message Date
Masatoshi Kimura
c761e06faa Bug 826231 - Enable FAIL_ON_WARNINGS on MSVC in xpcom/tests. r=ehsan 2013-01-04 12:49:25 +09:00
Saurabh Anand
15f0c5068c Bug 818817 - Fix some compiler warnings, r=Ms2ger 2012-12-09 22:53:19 +05:30
Gregor Wagner
6f3ad40389 Bug 811414 - nsISettingsServiceCallback shouldn't use [implicit_jscontext]. r=bholley 2012-11-14 13:46:38 -08:00
Gregor Wagner
9ea17e55d2 Backout Bug 811414 for breaking B2G 2012-11-14 13:09:21 -08:00
Gregor Wagner
a8978a4ac2 Bug 811414 - nsISettingsServiceCallback shouldn't use [implicit_jscontext]. r=bholley 2012-11-14 13:00:51 -08:00
Gregor Wagner
dd7c3bba53 Bug 788561 - SettingsAPI: Use createLock instead of getLock. r=bent 2012-09-05 17:33:03 -07:00
Gene Lian
5a59597c46 Bug 785298 - Tests for carrying a customized message to notify "mozsettings-changed" observers. r=gwagner 2012-08-30 17:29:00 +08:00
Gene Lian
97b768a569 Bug 785298 - Settings API: set() can carry a customized message to notify "mozsettings-changed" observers. r=gwagner 2012-08-31 15:37:43 +08:00
Ehsan Akhgari
243c878d26 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
Ehsan Akhgari
dca68168ef Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (more xpcom parts); blanket-r=bzbarsky 2012-07-18 11:54:26 -04:00
Daniel Holbert
2ddef0219a Bug 758735: Remove unused variable 'gFunction' from new file TestSettingsAPI.cpp. r=gwagner 2012-05-25 12:29:05 -07:00
Gregor Wagner
39c835b340 Bug 743336 - Settings API Service Tests. r=fabrice 2012-05-08 11:28:59 -07:00