Commit Graph

23 Commits

Author SHA1 Message Date
Shih-Chiang Chien
3a4a9e32aa Bug 790393 - Add MozPower.factoryReset() for factory reset. r=cjones, r=vingtetun, sr=sicking 2012-10-04 17:28:34 +08:00
Phil Ringnalda
0dda65f068 Back out 0fc318454f2b (bug 790393) for bustage on a CLOSED TREE 2012-10-16 20:10:40 -07:00
Shih-Chiang Chien
6b7b4abb12 Bug 790393 - Add MozPower.factoryReset() for factory reset. r=cjones, r=vingtetun, sr=sicking 2012-10-04 17:28:34 +08:00
Mike Habicher
e695772791 Bug 776934 - Add permissions check to camera API. r=jlebar 2012-09-21 06:32:18 -04: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
0923bf00ef Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Kan-Ru Chen (陳侃如)
f2d58c0e08 Bug 781353 - Hook up "power" to Permission Manager. r=jlebar 2012-08-11 19:40:43 +08:00
Aryeh Gregor
f41637535d Bug 780469 - Reduce unnecessary includes in some content/ header files; r=bz 2012-08-06 15:02:08 +03:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Kan-Ru Chen
c0b3125379 Bug 739913 - Add cpuSleepAllowed attribute to mozPower. r=cjones 2012-04-16 18:35:33 -04:00
Ryan VanderMeulen
27a4e0dcb6 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
0bcf5a8211 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
99047503ac 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
e1064ff503 Bug 739019: Allow chrome code to use PowerManager. r=cjones 2012-03-25 00:11:00 -07:00
Kan-Ru Chen
255811e424 Bug 697132 - Implement wakelock interfaces. r=jlebar 2012-03-07 12:03:25 +01:00
Kan-Ru Chen
6d33b4a107 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
faa9dbdd99 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
71fdb90d5d Backout 656500fc5e79 for windows bustage. 2012-01-30 18:48:33 -06:00
Scott Johnson
c43be1e05e Backout 10b455909e94 for bustage on windows. 2012-01-30 18:46:41 -06:00
Scott Johnson
6156151bb3 Backed out changeset 5d81f5f84779 2012-01-30 18:44:40 -06:00
Scott Johnson
198c79f60d Backout 561e1013aba0:10b455909e94 for bustage on Windows. 2012-01-30 18:41:25 -06:00
Kan-Ru Chen
1fd380c81a 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
c3d70d243a Bug 709585 - Part 4/6, Dummy PowerManager DOM code. r=sicking
--HG--
extra : rebase_source : f83eef1e296a6c006032a7e30e26bd7ca32b4490
2012-01-30 17:02:49 -06:00