Commit Graph

143 Commits

Author SHA1 Message Date
David Zbarsky
20dd453dbf Bug 914944 - Move PowerManager to mozilla::dom r=Ms2ger 2013-09-11 10:35:04 -04:00
David Zbarsky
80f9a49a06 Bug 911603 - Convert MozPowerManager to WebIDL r=Ms2ger
--HG--
rename : dom/power/nsIDOMPowerManager.idl => dom/webidl/MozPowerManager.webidl
2013-09-10 19:03:56 -04:00
Mike Hommey
f8bc7fa754 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Benoit Jacob
a6e069788d Bug 839452 - Add helpful logging of DOM calls resulting in reboot/poweroff - r=sicking 2013-09-04 08:14:54 -04:00
Boris Zbarsky
c713072098 Bug 909645 part 2. Don't include ipdl headers in Hal.h. r=ms2ger 2013-08-28 00:14:57 -04:00
Brian O'Keefe
d118b95a0d Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal 2013-08-15 09:02:09 -04:00
Boris Zbarsky
169d28c38a Back out revisions 042d50591265:69f4af72765c (bug 909645) due to Windows bustage causing a CLOSED TREE. 2013-08-28 01:46:00 -04:00
Boris Zbarsky
6a10c247ac Bug 909645 part 2. Don't include ipdl headers in Hal.h. r=ms2ger 2013-08-28 00:14:57 -04:00
Ms2ger
4fb1aa6786 Bug 883284 - Part c: Move LIBXUL_LIBRARY into moz.build (d-e); r=mshal 2013-08-22 08:56:00 +02:00
Ms2ger
4807f1c86c Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Brian O'Keefe
61565e4086 Bug 896177 - Remove useless config.mk includes; r=gps 2013-07-17 16:06:53 -04:00
Andrew McCreight
b8d6a21d48 Bug 888389 - Cycle collect PowerManager. r=smaug 2013-07-18 09:07:28 -07:00
Brian O'Keefe
f4815f2203 Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps 2013-07-04 08:28:43 -04:00
Boris Zbarsky
90497723d2 Bug 838146 part 1. Implement WebIDL API on Navigator for the parts that are specified or are in nsIDOMNavigator. r=smaug, sr=sicking 2013-07-12 10:35:35 -04:00
Trevor Saunders
f33ade0d68 bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal 2013-07-11 11:06:34 -04:00
Justin Lebar
3e059c7221 Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
051c5b560a Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else

This is a mechanical change made with sed.  Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Mike Shal
5169c0a913 Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
David Zbarsky
45aa3d2bde Bug 864206 - Use dom::Touch instead of nsIDOMTouch where possible r=Ms2ger 2013-05-17 13:17:53 -07:00
Andrea Marchesini
51905450be Bug 868943 - HTMLMediaElement::mWakeLock has to be unlocked and not just set to null. r=jlebar
--HG--
rename : content/media/test/bug461281.ogg => content/html/content/test/wakelock.ogg
2013-05-07 10:54:16 -04:00
David Zbarsky
720289e06b Bug 861729 - Remove nsPIDOMWindow::GetExtantDocument r=Ms2ger 2013-04-24 00:22:37 -04:00
David Zbarsky
9e176d3804 [Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 7 r=Ms2ger 2013-04-21 21:25:28 -04:00
Masatoshi Kimura
60f0e6df40 Bug 859020 - Remove the MSVC exemption for FAIL_ON_WARNINGS in dom. r=bz 2013-04-21 05:36:43 +09:00
David Zbarsky
fc2920533d Backout 2201d650ac90 for not building on Windows on a CLOSED TREE 2013-04-19 18:57:56 -04:00
David Zbarsky
71130e2248 Bug 861729 - Remove nsPIDOMWindow::GetExtantDocument r=Ms2ger 2013-04-19 18:18:33 -04:00
David Zbarsky
fac86787ae Bug 857884 - Use dom::EventTarget more in content/ and dom/ Part 4 r=Ms2ger 2013-04-19 18:18:32 -04:00
Mike Shal
df7deac25b Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Ryan VanderMeulen
0c3a721fee Backed out changesets a550dadafa30 and 315f6b451d07 (bug 857884) for mochitest failures on a CLOSED TREE. 2013-04-11 13:59:02 -04:00
David Zbarsky
899ae8e46f Bug 857884 - Use dom::EventTarget more in content/ and dom/ Part 4 r=Ms2ger 2013-04-11 12:24:47 -04:00
Kyle Machulis
72a717a860 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
43628a7867 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
334c0800cf Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Luqman Aden
2d3277f7d7 Bug 854028 - New mochitests for Power API. r=kchen
--HG--
rename : dom/power/test/browser_bug697132.js => dom/power/test/browser_wakelocks.js
2013-03-25 10:57:26 -07:00
David Clarke
93774df352 Bug 843893 - Fix alarm and power mochitests, r=gene.lian 2013-03-25 16:50:06 -07:00
Phil Ringnalda
4767c2a3be Back out bc8eeacc3c8a (bug 843893) for (at least) desktop bustage in test_power_basics.html 2013-03-19 14:27:55 -07:00
David Clarke
bd699f3392 Bug 843893 - Fix alarm and power tests to work with current gaia, r=gene.lian 2013-03-07 12:48:34 -08:00
Nathan Froyd
cdcd9fd8f3 Bug 844331 - part 5 - add profile-before-change2 notification; r=bsmedberg 2013-03-01 15:11:21 -05:00
Mike Shal
cd4191e248 Bug 818246 - Part 7: Move XPIDL_MODULE to moz.build; rs=gps 2013-03-11 22:00:00 -07:00
Gregory Szorc
c865547d94 Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Gregory Szorc
a0e24e2250 Bug 784841 - Part 18k: Convert /dom; f=Ms2ger rs=khuey 2013-02-25 12:47:20 -08:00
Justin Lebar
e8a7bef2e4 Bug 836654 - Part 4: Add PowerManagerService::NewWakeLockOnBehalfOfProcess. r=cjones 2013-02-14 15:41:30 -05:00
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
Kan-Ru Chen
59608c6f1a Bug 709585 - Part 2/6, PowerManager interface. r=sicking
--HG--
extra : rebase_source : 09836fa8ddd2c663eb1436ab411814ab832fb58e
2012-01-30 17:02:43 -06:00
Kan-Ru Chen
6d1752b875 Bug 709585 - Part 1/6, Makefile boilerplate. r=sicking, sr=gal
--HG--
extra : rebase_source : 5a3631addac30d66d7f7b5c426704027b10f7182
2012-01-30 17:02:41 -06:00