Commit Graph

123 Commits

Author SHA1 Message Date
Cervantes Yu
bfa936860d Bug 764773: Fix memory leak in UeventPoller. r=cjones 2012-06-18 12:13:30 +02:00
Ryan VanderMeulen
b74e4a29db Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
061d4c2616 Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00
Steven Lee
f87cdd3b31 Bug 761796 Fixed the assertion failure. r=mwu 2012-06-07 10:00:26 -07:00
Landry Breuil
7257d139f1 Bug 758849 - UPower isn't linux-only, give it a chance to build on BSDs at least. Add a section taking them into account. r=mounir 2012-05-29 10:57:15 +02:00
Landry Breuil
bdff27768c Bug 712910 - Use stdint types in sandbox/PHal.ipdl too, fixes build on OpenBSD - r=Ms2ger 2012-05-26 09:33:51 -04:00
Ms2ger
2d6f04146c Merge m-c to m-i. 2012-05-25 11:15:32 +02:00
Ms2ger
cd52b67ce6 Bug 712910 - Use stdint types in HAL; r=cjones 2012-05-25 09:18:30 +02:00
Cervantes Yu
bd6bfa30f7 Bug 758096: don't use NS_INLINE_DECL_REFCOUNTING() for classes to be passed between threads. r=mwu 2012-05-24 17:09:05 +08:00
Cervantes Yu
ddd21ace5a Bug 758097: fix false warnings in debug build when reading switch uevent. r=mwu 2012-05-25 15:56:03 +08:00
Dave Hylands
7cbc07a2bb Bug 737153 - Enable mounting storage through USB from a host machine - Add the AutoMounter, sr=cjones r=qDot 2012-05-24 21:03:34 -07:00
Cervantes Yu
eaffe6413a Bug 755546: fix incorrect deletion of the sensor observer list in unregistration of one observer. r=cjones 2012-05-21 18:12:03 +08:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Michael Wu
fb6913bd3f Bug 755142 - Use ssize_t to store length of the sensor list, patch by an anonymous silicon vendor contributor, r=mwu 2012-05-16 14:52:00 -04:00
Kartikaya Gupta
eb91f83ddf Bug 757025 - Guard against a null mObservers which is possible due to a race condition on some platforms. r=cjones 2012-05-24 13:53:40 -04:00
Michael Wu
4d5c363c02 Bug 753521 - Use libhardware_legacy to turn off screen, r=jlebar 2012-05-09 14:30:22 -07:00
Etienne Segonzac
6af99b97a0 Bug 752683 - Always broadcasting the sensor events. r=dougt 2012-05-09 13:35:14 -07:00
Cervantes Yu
9e34e52e44 Bug 743638: Implement orientation API backend in gonk. r=mwu 2012-04-20 19:43:25 +08:00
Chris Jones
1f66b60c34 Bug 745145, part 4: Rename some things. r=mounir
--HG--
rename : hal/fallback/FallbackScreenOrientation.cpp => hal/fallback/FallbackScreenConfiguration.cpp
2012-05-08 14:36:07 -07:00
Chris Jones
03cf24ab29 Bug 745145, part 2: Implement the ScreenConfiguration hal for gonk. r=mounir 2012-05-08 14:36:07 -07:00
Chris Jones
234136e0ea Bug 745145, part 1: Generalize ScreenOrientation into ScreenConfiguration, and add screen rect and color+pixel depth to it. r=mounir 2012-05-08 14:36:07 -07:00
Steven Lee
54757fadc3 Bug 751423 - Wait for IO thread to finish setup. r=cjones 2012-05-04 15:16:27 +08:00
Doug Turner
9eaa2d7486 Bug 738465 - implement device light sensor. r=smaug 2012-05-02 09:43:45 -07:00
Doug Turner
f158836867 Bug 738131 - implement device proximity. r=smaug
* * *
Bug 738131 - implement device proximity. gonk implementation. r=mwu
2012-05-02 09:43:45 -07:00
Mounir Lamouri
a51ab096d6 Bug 749645 - Use fallback files in hal/ when a backend isn't implemneted instead of having randomly defined methods. r=cjones
--HG--
rename : hal/fallback/ScreenOrientationFallback.cpp => hal/fallback/FallbackScreenOrientation.cpp
rename : hal/linux/Power.cpp => hal/linux/LinuxPower.cpp
2012-05-03 12:05:32 +02:00
Makoto Kato
de8d701b2a Bug 625664 - accelerometer support using Windows 7 Sensor API. r=dougt 2012-05-01 12:04:30 +09:00
Steven Lee
aac1e868e2 Bug 736939 - Audio routing support. r=cjones, a=b2g-only 2012-04-22 14:09:22 -04:00
Kyle Machulis
8d6a060fd5 Bug 747545: Uevent Poller causes compile error when built debug due to ScopedClose member change - r=mwu a=b2g-only 2012-04-20 18:43:25 -07:00
Michael Wu
c3f60daae2 Bug 746728 - Add sensor index fallback for qemu, r=gal a=b2g-only 2012-04-18 17:18:08 -04:00
Kan-Ru Chen
aa08af3ddb Bug 739913 - Add cpuSleepAllowed attribute to mozPower. r=cjones 2012-04-16 18:35:33 -04:00
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