Reuben Morais
85a3e6993b
Bug 696045 - Implement Mac backend for Battery API. r=BenWa,mounir
2012-09-21 23:36:14 -04:00
Steven Lee
928a3692d4
Bug 749053 - FM radio support: hal implementation, r=jlebar
...
Hal interface by Steven Lee (slee), gonk backend by Michael Wu (mwu).
2012-09-19 11:17:13 -04:00
Ehsan Akhgari
67e39b5c59
Backout changeset 9f16bba541cc (bug 790499) becasuse of build bustage
2012-09-21 15:57:42 -04:00
Steven Lee
08cbc6270d
Bug 790499 - Time API: Call JS_ClearDateCaches() to update Date object's timezone when the system timezone is reset, r=jlebar
...
--HG--
extra : rebase_source : ddd264047c861c3244dfdf43e695705ec675f066
2012-09-21 14:56:01 -04:00
Dave Hylands
32e1c93e8f
Bug 792682 - GonkHal vibrator code incorrectly uses a weak reference. r=qDot
2012-09-19 23:34:07 -07:00
Dave Hylands
98d4ca9914
Bug 792529 - ASSERTION: VibratorRunnable not thread-safe. r=qDot
2012-09-19 13:55:10 -07:00
Ehsan Akhgari
a51e1f674c
Backout bug 792109, bug 749053 and bug 779500 because of leaks in debug tests
2012-09-19 15:42:18 -04:00
Michael Wu
8e52887010
Fix red from broken FallbackFMRadio.cpp from bug 749053
2012-09-19 14:16:13 -04:00
Steven Lee
1566e37586
Bug 749053 - FM radio support: hal implementation, r=jlebar
...
Hal interface by Steven Lee (slee), gonk backend by Michael Wu (mwu).
2012-09-19 11:17:13 -04:00
Mounir Lamouri
38cc3be56e
Bug 787534 - Remove Portrait and Landscape special ScreenOrientation values. r=jlebar
2012-09-19 17:28:16 +01:00
Justin Lebar
767acadbe2
Bug 791261 - Remove the requirement that a TabParent must be Active in order to send vibrations. Also remove TabParent::Active(). r=cjones
2012-09-19 09:48:38 -04:00
Chris Jones
1273b139d3
No bug: Update the cross-process permission checks for time permissions to match the DOM check. r=jlebar
2012-09-18 20:25:12 -07:00
Marco Chen
505c41dc8c
Bug 788118 - Non-continuous type of sensor blocked thread on polling so the action of switching sensor can't be done on blocked thread. r=mwu
...
1. Moving switching sensor from thread to main thread.
2. Moving the control of sensor hw module from SensorDevice to GonkSensor.
Avoid the 5 seconds from Binder IPC timeout for geting Android Battery Service.
2012-09-18 10:51:35 +08:00
Steven Lee
1d2c1b3351
Bug 791682: Hal's sSystemTimeObserver should be called sSystemTimeObservers, r=jlebar
2012-09-17 08:48:00 -04:00
Ms2ger
10ec580e54
Bug 787933 - Stop using stdin types in IPC code; r=bsmedberg+cjones sr=cjones
2012-09-17 10:37:20 +02:00
Thomas Zimmermann
4c6d7cd938
Bug 785171 - Support OOM adjustment via /proc/<pid>/oom_score_adj. r=dhylands
...
The interface /proc/<pid>/oom_score_adj has been added as a replacement for /proc/<pid>/oom_adj. It
is now supported and used by default within Gonk. If oom_scrore_adj is not available, the code falls
back to the old interface.
2012-09-14 11:52:07 -07:00
Thomas Zimmermann
9ccf6066a4
Bug 785171 - Clamp OOM adjustment settings to valid range. r=dhylands
...
The supported OOM adjustment is between -1000 to 1000. If the user specifies a value outside
this range, we clamp it and output a warning.
2012-09-14 11:52:07 -07:00
Thomas Zimmermann
1f17381b82
Bug 785171 - Adopt semantics of /proc/<pid>/oom_score_adjust in preferences. r=dhylands
...
The preference settings
hal.processPriorityManager.gonk.backgroundOomAdjust,
hal.processPriorityManager.gonk.foregroundOomAdjust, and
hal.processPriorityManager.gonk.masterOomAdjust
have been replaced by
hal.processPriorityManager.gonk.backgroundOomScoreAdjust,
hal.processPriorityManager.gonk.foregroundOomScoreAdjust, and
hal.processPriorityManager.gonk.masterOomScoreAdjust.
The new settings adopt the semantics of /proc/<pid>/oom_score_adj and the default
values have been changed accordingly. The interface to the OOM killer interface is
still /proc/<pid>/oom_adj, and its input values are computed from the settings.
2012-09-14 11:52:07 -07:00
Thomas Zimmermann
0efe0ea895
Bug 785171 - Return success from WriteToFile. r=dhylands
...
For supporting multiple files in the OOM adjustment, we need to know if a file
has been successfully written to. in this case WriteToFile now returns 'true',
otherwise it returns 'false'.
2012-09-14 11:52:07 -07:00
Thomas Zimmermann
64595e0ccc
Bug 785171 - Whitespace cleanups. r=dhylands
2012-09-14 11:52:07 -07:00
Jesse Ruderman
802de982c9
Bug 790781 - fix bustage from bug 714358.
2012-09-12 17:25:55 -07:00
Steven Lee
b50ad6db3a
Bug 714358 System time change implementation, r=mounir
2012-09-11 02:40:00 -04:00
Mounir Lamouri
24745804d4
Bug 787532 - Update Android HAL backend to take into account new screen lock values. r=jlebar
2012-09-11 11:57:20 +01:00
Chris Jones
1834ac946d
Bug 789130: Unregister hal observers on HalParent::ActorDestroy(), and make Unregister*() functions resilient to unregister-of-not-registered observers. r=jlebar
2012-09-06 14:58:36 -07:00
Jan Beich
1e6a0fb020
Bug 788414 - DragonFly target doesn't use BSD suffix in uname -s
. r=landry
2012-09-06 12:01:55 +01:00
Gene Lian
468c7c6ef3
Bug 783021 - System time: listen to timezone settings changes and update system timezone (part 1). r=cjones
2012-08-23 17:00:00 +08:00
Marco Chen
bd85c6f806
Bug 773792: Remove unused field SensorStatus::data and make SensorStatus::count as a array of int[] for fixing an instance of creating/desctroying XPCOM objects from a static constructor/deconstructor. r=jlebar
2012-09-04 17:56:20 +08:00
Marshall Culpepper
3f62d234fe
Bug 784728: Make Gonk's battery observer a RefPtr, fixing an abort on process exit in debug builds. r=jlebar
2012-08-29 12:32:56 -03:00
Chris Jones
262988ed07
Bug 786573: The XPCOM thread manager can't shut down the sensor thread, so use one of our other various thread types for the sensor thread. r=bent
...
--HG--
extra : rebase_source : 07b0fc9ccd710601948c1cd10098fa2b8c681932
2012-08-29 12:26:18 -03:00
Rafael Ávila de Espíndola
fa9b9c167a
Bug 786148 - s/IPC/ipc/. r=ted.
...
This makes our builds a bit more reproducible. Without it when processing
#include "IPC/IPCMessageUtils.h
we end up in
#include "ShadowLayers.h"
which in the final XUL translates into the symbol (run nm -a to see it):
- 00 0000 SOL ../../../../gfx/layers/IPC/ShadowLayers.h
now when some file in gfx/layers/ipc does
#include "ShadowLayres.h"
the file found is the local one with the lowercase directory name and we end up
with
- 00 0000 SOL ../../../../gfx/layers/ipc/ShadowLayers.h
--HG--
extra : rebase_source : 96c68f6a3448eedaa280039960df911a9c707cac
2012-08-28 08:41:04 -04:00
Chris Jones
ce51cbe36a
Bug 782460: Fix hal enum serializers, make wake lock permission checking match the DOM's, and log a message when an app process fails a backstop permission check. r=gal
2012-08-25 15:38:04 -07:00
Chris Jones
8abbd9e7cf
Bug 785166: Protect against already-canceled vibrations. r=jlebar
2012-08-23 17:32:00 -07:00
Chris Jones
d04e5d0df7
Backed out changeset df85150b8d2f
2012-08-23 17:33:12 -07:00
Chris Jones
352812e2a0
Bug 785167: Protect against already-canceled vibrations. r=jlebar
2012-08-23 17:32:00 -07:00
Ehsan Akhgari
8c296bbcd4
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
Chris Jones
005e04d8c2
Bug 776835: Check process capabilities in hal. r=blassey,jlebar
2012-08-16 12:34:53 -07:00
Phil Ringnalda
2400fbd6d1
Backout 5439489dc320, 983f76488e59, 7a92558a8dec (Bug 714358) for debug build assertions and leaks
2012-08-07 22:18:27 -07:00
Steven Lee
ab3e1cc85d
Bug 714358: System time change implementation, r=mounir
2012-08-07 19:20:00 -04:00
Justin Lebar
20266d6b15
Bug 768832 - Set OOM adjust for background windows. r=bz,cjones
2012-08-05 01:09:39 -04:00
Mike Hommey
c1b35e7b2a
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Steven Lee
6668c8e910
Bug 745078 Get switch device states at any time, r=dhylands
2012-08-01 07:58:58 -07:00
Gene Lian
cd33639a03
Bug 776785 - Alarm API - hal::SetAlarm takes |long|s, but should instead take PRInt32s. r=jlebar
2012-07-31 10:52:57 +08:00
Aryeh Gregor
57c0ad57fb
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Jeff Muizelaar
6dca3de931
Bug 777381. Use SIGUSR1 instead of SIGUSR2 to avoid interferring with profiling. r=cjones
...
SIGUSR2 was originally chosen to avoid interferering with dalvik. We don't need
to avoid that on B2G.
--HG--
extra : rebase_source : 99098a28daee28933f379cfa520a433c44d5465d
2012-07-26 12:15:26 -04:00
Chris Jones
0020ef3dcc
Bug 777890: The cached value is valid after we synchronously Get() it, as far as we know. r=jlebar
2012-07-27 11:39:44 -07:00
Justin Lebar
56db9a6e24
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
Brian R. Bondy
66e3cf369b
Bug 774140 - Remove code duplication for IsVistaOrLater. r=bsmedberg
2012-07-25 10:23:26 -04:00
Joshua Cranmer
4a5b32fae2
Bug 702877 - Replace NS_OVERRIDE with MOZ_OVERRIDE. r=ehsan
...
--HG--
extra : rebase_source : 1843575683c3897f96f3966cbce26140ff1a7d90
2012-07-06 13:15:45 -05:00
Gervase Markham
69110ab2b1
Bug 774614 - Relicense Gonk/Gecko interface code to Apache License 2.0.
2012-07-20 10:10:44 +01:00
Rafael Ávila de Espíndola
319610caaa
Bug 774015 - Fix -Wdelete-non-virtual-dtor warning. r=justin.lebar
2012-07-15 11:13:15 -04:00
Mounir Lamouri
0a3c1cf42a
Bug 772373 - Force warnings as errors in hal/. r=jlebar
2012-07-12 21:34:18 +02:00
Reuben Morais
d387457032
Bug 772524 - Fix "data argument not used by format string" warnings in smslib.mm. r=mounir
2012-07-10 18:31:04 -04:00
Reuben Morais
81b49519fc
Bug 772351 - Fix deprecated writable strings warnings on smslib.mm. r=mounir
2012-07-10 18:31:04 -04:00
Gene Lian
6c4a2306fe
Bug 749551 - Alarm API (Hal/Gonk). r=cjones
2012-07-06 12:42:10 +02:00
Kan-Ru Chen
bf6be2fea4
Bug 768364 - Clear sLockTable on shutdown r=jlebar
2012-07-06 10:09:46 +08:00
Ed Morley
2a1d58cfe5
Backout 1dba66cfad9a, ed768b821da1, 23fd9a8d0c9a, 1e90805d96aa, 07425f0e921e (bug 749551) for M3 failures
2012-07-03 11:23:54 +01:00
Gene Lian
8bd1d9451c
Bug 749551 - Alarm API (Hal/Gonk). r=cjones
2012-07-03 11:24:13 +02:00
Justin Lebar
4c3ea02bd1
Bug 769585 - Fix vim modelines. DONTBUILD rs=mrbkap
2012-06-29 12:42:59 +02:00
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
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
Kan-Ru Chen
a1dfeed3b0
Bug 709585 - Part 5, hal code for the Power API. r=cjones
...
--HG--
extra : rebase_source : 49c8cb29be617293eb9143b3e3c760229b37943c
2012-01-31 01:08:00 -05:00
Scott Johnson
c5f8492d9e
Backout 6a4c4cb828a8 for bustage on windows.
2012-01-30 18:47:43 -06:00
Kan-Ru Chen
896e917c65
Bug 709585 - Part 5/6, hal code for the Power API. r=cjones
...
--HG--
extra : rebase_source : 689315521a72444c8a0fc92efe128d5bf3fbbada
2012-01-30 17:02:51 -06:00
Mounir Lamouri
8727971f2d
Bug 719632 - Add Network API fallback methods to the hal's gonk backend. r=cjones
2012-01-22 08:43:38 +01:00
Mounir Lamouri
5c5c80c069
Bug 713687 - Part 4 - Network API Android backend: use enable/disable notifications to prevent listening when not needed. r=dougt
2012-01-16 15:01:07 +01:00
Mounir Lamouri
b60b13293e
Bug 713687 - Part 1 - Network API Android backend: get current information. r=dougt
2012-01-16 14:44:07 +01:00
Mounir Lamouri
15d460350a
Bug 677166 - Part 6 - Add NetworkInformation handling into hal. r=jlebar
2012-01-16 14:39:57 +01:00
Marco Bonardo
89e2ac5379
Backout 789f244f34f8, 1bea53f2d067, 577cba6021d2, 4191fe602648 (bug 697641) for win build bustage
2012-01-16 15:43:46 +01:00
Dão Gottwald
51725adb51
Bug 697641, part 3: Make Sensor API available for Sandbox. r=cjones
...
Add Sensor API to PHal protocol that Sandbox can access sensors.
2012-01-16 14:37:49 +01:00
Sinker Li
c50b5856a8
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-01-16 14:37:44 +01:00
Chris Jones
6c88085d76
Bug 717155: Poke a different backlight controller. Stopgap for bug 712378. rs=jlebar
2012-01-11 11:56:23 -08:00
Philipp von Weitershausen
bef6c15bac
Bug 713149 - hal_impl has no method GetCurrentBatteryInformation. r=cjones
2011-12-24 06:03:55 +01:00
Justin Lebar
c5dcd31779
Bug 712665 - Fix GonkHal.cpp debug compile errors. r=mwu
2011-12-21 17:58:29 -08:00
Chris Jones
0eff829115
Bug 712226 - Crash when fclose(NULL)'ing a battery-status FILE*, r=mwu
2011-12-21 17:58:29 -08:00
Justin Lebar
73e59b28dd
Bug 694862 - Implement navigator.mozVibrate for Gonk, r=cjones
2011-12-21 17:58:29 -08:00
Michael Wu
37a4ba5160
Land GonkHal.cpp - Bug 696042 r=cjones, Bug 702256 r=cjones,mounir, Bug 694862 r=cjones
2011-12-20 11:31:53 -08:00
Makoto Kato
2b92464205
Bug 710178 - ASSERTION: Battery API: When charging and level at 1.0, remaining time should be 0. Please fix your backend. r=mounir
2011-12-19 12:23:13 +09:00
Mounir Lamouri
d4e2428006
Bug 709584 - Make Hal observer management a more generic. r=jlebar sr=cjones
2011-12-17 22:51:44 +01:00
Mounir Lamouri
9f9888aaa8
Bug 710793 - Move hal's private methods outside of Hal.h. r=jlebar sr=cjones
2011-12-17 22:04:51 +01:00
Mounir Lamouri
0084e4de96
Bug 710748 - Remove useless forward declaration in Hal.h. r=jlebar
2011-12-17 19:30:07 +01:00
Mounir Lamouri
f8adc3a9a1
Bug 710745 - Don't expose WindowIdentifier in Hal.h. r=jlebar sr=cjones
2011-12-17 22:04:26 +01:00
Justin Lebar
84241e428f
Bug 679966, part 2: Add mozVibrator() for "playing" a vibration pattern. r=bz
2011-11-10 16:26:36 -05:00
Justin Lebar
9d36fab46a
Bug 706958 - Add ClearOnShutdown() function which will clear a smart pointer on shutdown. r=bsmedberg
2011-12-15 10:51:11 -05:00
Andrew Quartey
e51c16190c
Bug 706010 - Remove NS_SPECIALIZE_TEMPLATE and HAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX; r=khuey a=cleanup/removal
2011-12-13 14:17:59 +00:00
Justin Lebar
15f78c78bd
Bug 702256 - "[Gonk] Add DOM API for turning screen on/off and adjusting the screen's brightness" r=cjones,mounir
2011-12-05 01:07:00 +08:00
Marco Bonardo
72eaf234fe
Backout 407fba8cbd5a (bug 702256) for build failure on Windows.
2011-12-05 13:48:59 +01:00
Justin Lebar
e33d8ba71a
Bug 702256 - "[Gonk] Add DOM API for turning screen on/off and adjusting the screen's brightness" r=cjones,mounir
...
--HG--
extra : rebase_source : 6c1f1b49d911e749da524266695e2f05d52900b2
2011-12-05 01:07:00 +08:00
Makoto Kato
0c1547e22e
Bug 696049 - Battery API: Windows backend. r=mounir,jimm
2011-12-05 19:34:27 +09:00
Mounir Lamouri
327374b6fe
Bug 707085 - Fix Battery API default values. r=sicking
2011-12-04 21:00:21 +08:00
Mounir Lamouri
16941eb201
Bug 705084 - Part B - Use kDefaultRemainingTime instead of kUnknownRemaining time when appropriate in UPower backend. r=cjones
2011-12-01 11:50:58 +01:00
Michael Wu
8ded2a05cd
Bug 703307 - Fix build/crash in gonk, r=cjones
2011-11-22 11:51:51 -08:00
Mounir Lamouri
8f3514d421
Bug 703610 - Return level=1.0 when the battery is full (Battery API UPower backend). r=cjones
2011-11-22 10:36:22 +01:00
Mounir Lamouri
a9f20cde94
Bug 700262 - Add remainingTime support to upower backend. r=cjones
2011-11-09 10:00:01 +01:00
Mounir Lamouri
d36933c757
Bug 700261 - Add .chargingTime/.dischargingTime support to hal code. r=cjones
2011-11-09 09:58:59 +01:00
Mounir Lamouri
26c7cb0c89
Bug 699742 - (3/4) battery.level should be a double (upower backend). r=cjones
2011-11-09 09:56:22 +01:00
Mounir Lamouri
fc24ef5c6c
Bug 699742 - (2/4) battery.level should be a double (hal part). r=cjones
2011-11-09 15:15:28 +01:00
Chris Jones
32b5bac310
Bug 679966, part 1: Add vibrator support for android. r=blassey,cjones
2011-09-30 00:00:48 -07:00
Mounir Lamouri
c14b03e135
Bug 696041 - Battery API backend for linux with upower. r=karlt,cjones sr=roc
2011-11-03 11:33:31 +01:00
Mounir Lamouri
81e95dc4d5
Bug 696038 - (2/3) Boilerplate code to communicate between hal and Android Java code. r=cjones
2011-11-02 16:35:11 +01:00
Mounir Lamouri
35e8988983
Bug 696038 - (1/3) Add an Android implementation for hal. r=cjones
2011-11-02 16:28:26 +01:00
Mounir Lamouri
a1fdb4f396
Bug 678694 - (6/7) hal code for the Battery API. r=cjones
2011-11-02 16:14:01 +01:00
Justin Lebar
16e435fc2f
No bug - Fix vim modelines in hal. rs=biesi DONTBUILD
2011-10-20 17:38:39 -04:00
Chris Jones
130e939216
Bug 690670, parts 1 and 2: Add a hal/ directory in which we can add device-interaction code, and build goop thereto. r=khuey sr=roc
...
--HG--
extra : rebase_source : bf3dc09f49d010ac4422150fc5300a41080af858
2011-10-05 15:15:45 -07:00