Commit Graph

20 Commits

Author SHA1 Message Date
Mike Habicher
4f1885c23e Bug 776934 - Add permissions check to camera API. r=jlebar 2012-09-21 06:32:18 -04:00
Ehsan Akhgari
8c296bbcd4 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
982100775b Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Kan-Ru Chen (陳侃如)
b72b615e48 Bug 781353 - Hook up "power" to Permission Manager. r=jlebar 2012-08-11 19:40:43 +08:00
Aryeh Gregor
5662d18449 Bug 780469 - Reduce unnecessary includes in some content/ header files; r=bz 2012-08-06 15:02:08 +03:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Kan-Ru Chen
aa08af3ddb Bug 739913 - Add cpuSleepAllowed attribute to mozPower. r=cjones 2012-04-16 18:35:33 -04:00
Ryan VanderMeulen
0dae59a989 Back out entire dd28759eba7b push (bug 739913 and bug 742226) due to OSX 10.7 and b2g bustage. r=shouldausedtry 2012-04-12 20:00:57 -04:00
Kan-Ru Chen
b8b1c82e13 Bug 739913 - Use kernel wake lock when the "cpu" topic is locked. r=cjones 2012-04-12 19:24:20 -04:00
Kan-Ru Chen
bcddd7d2c9 Bug 710135 - Move screen.enabled/brightness to mozPower. r=jlebar,mounir sr=cjones,sicking 2012-04-03 01:51:00 -04:00
Kan-Ru Chen
06afe18c21 Bug 739019: Allow chrome code to use PowerManager. r=cjones 2012-03-25 00:11:00 -07:00
Kan-Ru Chen
3ec5d137a8 Bug 697132 - Implement wakelock interfaces. r=jlebar 2012-03-07 12:03:25 +01:00
Kan-Ru Chen
bd0bec8497 Bug 709585 - Part 6, Connect DOM and hal. r=sicking
--HG--
extra : rebase_source : 8c205b3d2cd706996f92604816013b4d7b41b3c7
2012-01-19 22:25:00 -05:00
Kan-Ru Chen
92318b5737 Bug 709585 - Part 4, Dummy PowerManager DOM code. r=sicking
--HG--
extra : rebase_source : 57ff9f770d39551bf72f421166acbe21dc38ac23
2012-01-19 22:24:00 -05:00
Scott Johnson
bb8bd93fdc Backout 656500fc5e79 for windows bustage. 2012-01-30 18:48:33 -06:00
Scott Johnson
e3eac1cad1 Backout 10b455909e94 for bustage on windows. 2012-01-30 18:46:41 -06:00
Scott Johnson
d25fcc09aa Backed out changeset 5d81f5f84779 2012-01-30 18:44:40 -06:00
Scott Johnson
cf0c79a661 Backout 561e1013aba0:10b455909e94 for bustage on Windows. 2012-01-30 18:41:25 -06:00
Kan-Ru Chen
bb429b659b Bug 709585 - Part 6/6, Connect DOM and hal. r=sicking
--HG--
extra : rebase_source : e8810a8ad310b888cf6e329fce5e0ddcbd94070f
2012-01-30 17:02:53 -06:00
Kan-Ru Chen
73051480d4 Bug 709585 - Part 4/6, Dummy PowerManager DOM code. r=sicking
--HG--
extra : rebase_source : f83eef1e296a6c006032a7e30e26bd7ca32b4490
2012-01-30 17:02:49 -06:00