Commit Graph

52 Commits

Author SHA1 Message Date
Masatoshi Kimura
9a4812e054 Bug 824247 - Part 3: Disable FAIL_ON_WARNINGS on not-yet-warning-free directories on MSVC. r=ted 2013-01-03 00:56:38 +09:00
Chris Jones
fb825fe86d Rollup of bug 821192: Ensure that content processes don't see an inconsistent app dir. r=bent,dhylands
Bug 821192, part 1: Fix the watchdog timeout code. r=dhylands
Bug 821192, part 2: Add an interface to join all live content processes. r=bent
Bug 821192, part 3: Join all subprocesses before restarting the main process, when we're e.g. about to apply an update. r=dhylands
2012-12-28 01:45:16 -08:00
Gregor Wagner
06088ea2ad Bug 820135 - Preferences: We don't save prefs when we reboot. r=cjones 2012-12-12 15:41:07 -08:00
Josh Matthews
284b9ead7e Backed out changeset ea39e0af0831 (bug 820135) 2012-12-12 02:23:10 -05:00
Gregor Wagner
498ce0f2fa Bug 820135 - Preferences: We don't save prefs when we reboot. r=cjones 2012-12-11 22:39:25 -08:00
Boris Zbarsky
2cd0f8f7b1 Bug 812086 part 3. Convert internal consumers of mozHidden and mozVisibilityState to the unprefixed versions. r=smaug 2012-11-16 14:22:56 -08:00
Boris Zbarsky
6d9ddce866 Bug 812086 part 2. Convert internal consumers of mozvisibilitychange events to the unprefixed version. r=smaug 2012-11-16 14:22:56 -08:00
Kan-Ru Chen (陳侃如)
992f15a60c Bug 809671 - Don't change wake lock state if visibility doesn't change. r=jlebar 2012-11-09 16:00:26 -05:00
Martijn Wargers
72e9c813de Bug 802312 - test_power_basics.html is failing on b2g mochitest, r=kchen 2012-10-21 05:19:00 -07:00
Shih-Chiang Chien
ff8dcd1bcd Bug 790393 - Add MozPower.factoryReset() for factory reset. r=cjones, r=vingtetun, sr=sicking 2012-10-04 17:28:34 +08:00
Phil Ringnalda
91f30605f6 Back out fe90dfc8a30a (bug 802312) for M3 orange in test_power_basics.html
on a CLOSED TREE
2012-10-18 21:13:23 -07:00
Martijn Wargers
f7d4a20ac1 Bug 802312 - Fix test_power_basics.html to work on b2g. r=kchen 2012-10-18 21:44:15 -04:00
Phil Ringnalda
33c8f88e39 Back out 0fc318454f2b (bug 790393) for bustage on a CLOSED TREE 2012-10-16 20:10:40 -07:00
Shih-Chiang Chien
e818a85bc7 Bug 790393 - Add MozPower.factoryReset() for factory reset. r=cjones, r=vingtetun, sr=sicking 2012-10-04 17:28:34 +08:00
Gene Lian
56e7808397 Bug 793970 - Reuse nsAppStartup's watchdog to compulsively power-off/reboot/quit Gecko if profile synchronizing hangs. r=cjones 2012-10-02 15:26:32 +08:00
Gene Lian
51e816576c Bug 790527 - When rebooting/powering off, go through normal gecko shutdown. r=bsmedberg,sr=cjones 2012-09-26 17:12:33 +08:00
Mike Habicher
5b69de0f54 Bug 776934 - Add permissions check to camera API. r=jlebar 2012-09-21 06:32:18 -04:00
Ms2ger
e734d6f1a2 Bug 792343 - Enable FAIL_ON_WARNINGS in some more of dom/ (second batch); r=mounir 2012-09-20 09:55:36 +02:00
Ehsan Akhgari
e368dc9c85 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
4e199a1679 Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Kan-Ru Chen (陳侃如)
ba4db0438e Bug 781353 - Hook up "power" to Permission Manager. r=jlebar 2012-08-11 19:40:43 +08:00
Aryeh Gregor
2fbc523d8e Bug 780469 - Reduce unnecessary includes in some content/ header files; r=bz 2012-08-06 15:02:08 +03:00
Mike Hommey
70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Justin Lebar
a9916a6e83 Bug 772987 - Part 2: Use Static{Auto,Ref}Ptr where appropriate. r=mounir
--HG--
extra : rebase_source : 4e3e72ba53cd0177160f80231eebeb4972119eec
2012-07-26 15:33:45 -04:00
Nathan Froyd
bfff055672 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Michael Wu
c76fdd881b Bug 759013 - Convert more makefiles to use TEST_DIRS, r=khuey 2012-05-27 23:25:22 -04:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Masatoshi Kimura
473d12ee2a Bug 745498 - Add testcases for DOM4 exception types. r=sicking 2012-04-26 09:42:26 -07:00
Kan-Ru Chen
c3b3e39fdb Bug 739913 - Add cpuSleepAllowed attribute to mozPower. r=cjones 2012-04-16 18:35:33 -04:00
Ryan VanderMeulen
0f578d67d8 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
14c301c057 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
8bb62e5b2e 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
f4f6b1f114 Bug 739019: Allow chrome code to use PowerManager. r=cjones 2012-03-25 00:11:00 -07:00
Kan-Ru Chen
da32eeb89d Bug 697132 - Use nsCOMPtr constructor. r=Ms2ger 2012-03-14 18:00:29 -04:00
Kan-Ru Chen
c026ffddbc Bug 697132 - Implement wakelock interfaces. r=jlebar 2012-03-07 12:03:25 +01:00
Kan-Ru Chen
6651530141 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
235274ffbd Bug 709585 - Part 4, Dummy PowerManager DOM code. r=sicking
--HG--
extra : rebase_source : 57ff9f770d39551bf72f421166acbe21dc38ac23
2012-01-19 22:24:00 -05:00
Kan-Ru Chen
d42ad48efb Bug 709585 - Part 3, Plug mozPower into navigator object. r=sicking
--HG--
extra : rebase_source : 8382e9c044feca9b2e511e022a3bb4fe64ca0d4b
2012-01-19 22:24:00 -05:00
Kan-Ru Chen
ef82d0e3bd Bug 709585 - Part 2, PowerManager interface. r=sicking
--HG--
extra : rebase_source : 2635a9c85ee58c27b8bbf8bf2118b3dd07a8928a
2012-01-19 22:23:00 -05:00
Kan-Ru Chen
1c48c9acfc Bug 709585 - Part 1, Makefile boilerplate. r=sicking, sr=gal
--HG--
extra : rebase_source : 6260b13608efd50d78676fb0c09d36b2ba84f8ae
2012-01-19 22:23:00 -05:00
Scott Johnson
a4fce75ee6 Backout 561e1013aba0 for bustage on windows. 2012-01-30 18:50:40 -06:00
Scott Johnson
60e42c4a24 Backout 828713f89601 for bustage on windows. 2012-01-30 18:50:05 -06:00
Scott Johnson
b5cb5bd196 Backout 648e5e5b9dd3 for bustage on windows. 2012-01-30 18:49:33 -06:00
Scott Johnson
565881aed0 Backout 656500fc5e79 for windows bustage. 2012-01-30 18:48:33 -06:00
Scott Johnson
869cd7c9c0 Backout 10b455909e94 for bustage on windows. 2012-01-30 18:46:41 -06:00
Scott Johnson
52158f7aba Backed out changeset 5d81f5f84779 2012-01-30 18:44:40 -06:00
Scott Johnson
7e0b3614d9 Backout 561e1013aba0:10b455909e94 for bustage on Windows. 2012-01-30 18:41:25 -06:00
Kan-Ru Chen
078fefdb85 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
62efe83243 Bug 709585 - Part 4/6, Dummy PowerManager DOM code. r=sicking
--HG--
extra : rebase_source : f83eef1e296a6c006032a7e30e26bd7ca32b4490
2012-01-30 17:02:49 -06:00
Kan-Ru Chen
2d4cb73073 Bug 709585 - Part 3/6, Plug mozPower into navigator object. r=sicking
--HG--
extra : rebase_source : ec26dca3f0adf92da1940a42e80b6dc4398bf12b
2012-01-30 17:02:46 -06:00