Commit Graph

93 Commits

Author SHA1 Message Date
Cervantes Yu
3c7724646e Bug 742226 - Refactor battery updater using uevent poller. r=cjones 2012-04-11 15:59:00 +08:00
Cervantes Yu
e8ac3dca53 Bug 742226 - Create a uevent poller implementation. r=cjones 2012-04-13 12:02:33 +08: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
Cervantes Yu
4f29a1fdfa Bug 742226 - Refactor battery updater using the uevent poller. r=cjones 2012-04-11 15:59:00 +08:00
Cervantes Yu
503521efbe Bug 742226 - Add a uevent poller implementation. r=cjones 2012-04-05 15:49:28 +08: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
Mounir Lamouri
70c4e81387 Bug 740190 - Screen Orientation API: implement locking in Android. r=dougt 2012-03-29 23:31:12 -07:00
Mounir Lamouri
d8342fc658 Bug 740188 - Screen Orientation API locking (1/3): DOM/HAL boilerplate. r=smaug sr=sicking 2012-03-29 12:43:16 -07:00
Steven Lee
df8d8f4125 Bug 734869 - Fix hang when shutting down sensors. r=mwu 2012-03-26 09:59:02 +02:00
Doug Turner
b455a8dbc5 Bug 738102 - devicemotion causes shutdown crash. r=jdm 2012-03-21 22:27:51 -07:00
Doug Turner
073b89c4c7 Bug 737462 - nsDeviceMotion leaks hal observers. r=mwu 2012-03-20 23:36:17 -07:00
Doug Turner
8a52ef48c7 Bug 735330 - move device motion from dom/system to hal. gonk cleanup. r=jdm 2012-03-20 23:36:17 -07:00
Doug Turner
e9b99834bc Bug 735330 - move device motion from dom/system to hal. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. cocoa bits. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. window/qt/linux bits. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. move accuracy into sensor data.  support compassneedscalibration. r=jdm

--HG--
rename : dom/system/cocoa/smslib.h => hal/cocoa/smslib.h
rename : dom/system/cocoa/smslib.mm => hal/cocoa/smslib.mm
2012-03-20 23:36:17 -07:00
Matt Brubeck
bb974fd0d2 Back out bug 735330, bug 737462, bug 734854 because they broke XUL Fennec
--HG--
rename : hal/cocoa/smslib.h => dom/system/cocoa/smslib.h
rename : hal/cocoa/smslib.mm => dom/system/cocoa/smslib.mm
2012-03-20 16:59:24 -07:00
Doug Turner
ccf5c979f2 Bug 737462 - nsDeviceMotion leaks hal observers. r=mwu 2012-03-20 14:50:55 -07:00
Doug Turner
627f30a32b Bug 735330 - move device motion from dom/system to hal. gonk cleanup. r=jdm 2012-03-20 14:46:37 -07:00
Doug Turner
cb66f15674 Bug 735330 - move device motion from dom/system to hal. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. cocoa bits. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. window/qt/linux bits. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. move accuracy into sensor data.  support compassneedscalibration. r=jdm

--HG--
rename : dom/system/cocoa/smslib.h => hal/cocoa/smslib.h
rename : dom/system/cocoa/smslib.mm => hal/cocoa/smslib.mm
2012-03-20 14:46:14 -07:00
Takanori MATSUURA
2d011f7263 Bug 736836 - Fix include so that hal/sandbox/PHal.ipdl can build with system NSPR. r=cjones 2012-03-20 17:21:56 -04:00
Mounir Lamouri
71d5cfc5d5 Bug 720795 - Screen Orientation API reading and event implementation in Android. r=dougt 2012-03-20 14:09:45 +01:00
Mounir Lamouri
ac6517508b Bug 735778 - Call MOZ_ASSERT if RemoveObserver is called with an observer that is not present. r=jlebar 2012-03-19 16:49:39 +01:00
Mounir Lamouri
3cf8a02b87 Bug 720794 - Part 1 (HAL) - Implement reading and event parts of Screen Orientation API. r=cjones 2012-03-13 17:42:46 +01:00
Mounir Lamouri
988ee9a733 Bug 725951 - Don't abort if mObservers is null when removing an observer from ObserversManager. r=jlebar 2012-03-14 19:18:26 +01:00
Mark Finkle
2f256bcc57 Backout 7e28d1a2c648, 330b210f503d, 2421d39e0ab3, aa978ffa44bc, 38a71ae7e06d, b94319584a7a, 7e8278f5e814, 0b4e3c7608ab, 329c07609ca8, 0d61a0d8dba4, Due to Ts regression on Android 2012-03-17 21:51:39 -04:00
Mounir Lamouri
6ea2bd057f Bug 735778 - Call MOZ_ASSERT if RemoveObserver is called with an observer that is not present. r=jlebar 2012-03-16 19:32:11 +01:00
Mounir Lamouri
a2418c5fd8 Bug 720795 - Screen Orientation API reading and event implementation in Android. r=dougt 2012-03-16 19:43:10 +01:00
Mounir Lamouri
20cefe61d8 Bug 720794 - Part 1 (HAL) - Implement reading and event parts of Screen Orientation API. r=cjones 2012-03-13 17:42:46 +01:00
Mounir Lamouri
df9ca2853c Bug 725951 - Don't abort if mObservers is null when removing an observer from ObserversManager. r=jlebar 2012-03-14 19:18:26 +01:00
Doug Turner
99adfcf041 Bug 734324 - implement device motion - rotation rate and acceleration. r=jdm 2012-03-13 16:57:51 -07:00
Ed Morley
72b4537851 Backout 8b74d5ae78c3 & c619bbb2951f (bug 734391), 772c994fa869 (bug 734324), fd23ff0f9dd1 (bug 734325), d1e037a9390e (bug 733653), 3a7bf79b5b2d (bug 733650) & 9d9392fce538 (bug 733652) for OS X M1 & M3 orange 2012-03-13 22:29:29 +00:00
Doug Turner
dd357ccffe Bug 734324 - implement device motion - rotation rate and acceleration. r=jdm 2012-03-13 10:00:02 -07:00
Mounir Lamouri
1d82de162c Bug 733696 - Hal's CachingObservers shouldn't cache when GetCurrentInformation is called. r=jlebar 2012-03-07 19:26:38 +01:00
Fabrice Desré
bc2cd6dad8 Bug 730363 - startup slowdown waiting for batteryinfo [r=cjones] 2012-03-07 08:27:09 -08:00
Rafael Ávila de Espíndola
bbdce63084 Bug 733721 - Fix lookup into dependent base class. r=jlebar.
--HG--
extra : rebase_source : be77ad9f7b833f32c8b6a0efe389836abc758bd4
2012-03-07 12:44:05 -03:00
Kan-Ru Chen
3ec5d137a8 Bug 697132 - Implement wakelock interfaces. r=jlebar 2012-03-07 12:03:25 +01:00
Richard Newman
200c9a86f4 Merge last win pgo-green changeset from m-i to m-c. 2012-02-23 18:35:17 -08:00
Masatoshi Kimura
8cea90b046 Bug 699247 - Remove Win2K related code. r=jimm, sr=neil 2012-02-23 08:53:55 -06:00
Mark Capella
7c9075ff14 Bug 721496 - Remove MOZ_WINSDK_TARGETVER ifdefs for pre-Windows 7 SDKs. r=jimm 2012-02-23 01:33:19 +01:00
Vincent Chang
116aaa5731 Bug 717150: Support adjust system clock and set timezone APIs in hal layer r=cjones. 2012-02-17 02:44:00 -08:00
Chris Jones
fd940540cc Bug 722953 - "Cause hardware buttons to illuminate when button is pressed" [r=gal] 2012-02-14 19:24:00 -08:00
Fabrice Desré
3f105d381f Bug 727287 - Battery support for akami devices [r=mounir] 2012-02-16 14:40:43 -08:00
Ben Francis
dc37a99bf7 Bug 726612 - Gonk Battery API backend doesn't mark the device as charging when plugged to AC. r=mounir 2012-02-15 13:10:15 -05:00
Ms2ger
3953c27825 Bug 712378 followup - Fix incorrect license headers; r=sparky 2012-02-10 11:04:44 +01:00
Jim Straus
e873ad365e Bug 712378: Add an interface to control lights, and use it for the screen backlight on Gonk. r=cjones 2012-02-01 22:09:00 -08:00
Steven Lee
558004c794 Bug 714413 - Sensor support for gonk [r=cjones] 2012-02-05 18:41:15 -08:00
Sinker Li
19bdb8bf7b Bug 697641, part 3: Make Sensor API available for Sandbox. r=cjones
Add Sensor API to PHal protocol that Sandbox can access sensors.
2012-02-05 19:51:06 +00:00
Sinker Li
67386c06c9 Bug 697641, part 2: Add a hal API for sensor access. r=cjones
With this API, Gecko code can access sensors provied by system.  This
patch include an implementation for Android.
2012-02-05 19:51:06 +00:00
Ed Morley
c427e1b142 Backout 90f7f032757f, 6695904a4a70, 50e98f67df1b & d26e8631514c (bug 697641) for native Android failures and 20289eb83e51 (bug 712378) because it conflicted with the backout CLOSED TREE 2012-02-02 10:09:40 +00:00
Jim Straus
87d44b9f14 Bug 712378: Add an interface to control lights, and use it for the screen backlight on Gonk. r=cjones 2012-02-01 22:09:00 -08:00
Sinker Li
e29f046042 Bug 697641, part 3: Make Sensor API available for Sandbox. r=cjones
Add Sensor API to PHal protocol that Sandbox can access sensors.
2012-02-01 22:47:55 -08:00
Sinker Li
42001268cb Bug 697641, part 2: Add a hal API for sensor access. r=cjones
With this API, Gecko code can access sensors provied by system.  This
patch include an implementation for Android.
2012-02-01 22:47:53 -08:00