Commit Graph
51 Commits
Author SHA1 Message Date
Nikhil Marathe dd892e7441 Bug 867868 - Implement nsITimer based alarms in HAL fallback. r=jlebar 2013-06-04 13:30:03 -07:00
Fabrice Desré 6bcb3490d5 Bug 853350 - Implement a notification system to monitor disk space r=bent 2013-05-09 15:57:31 -07:00
Justin Lebar 9760d3b6cf Bug 870181 - Part 1: Add an additional LowCPUPriority argument to hal::SetProcessPriority. r=bent
This patch also makes it an error to call hal::SetProcessPriority from a child process.
2013-05-09 16:27:06 -04:00
Ted Mielczarek 8a2ebe0370 bug 604039 - Add DOM Gamepad APIs. r=smaug 2011-08-03 14:12:08 -04:00
Gene Lian 0211a070a2 Bug 801096 - [settings] Set-Automatically for time should take effect *immediately* instead of waiting on next NITZ coming (part 1). r=jlebar 2012-10-23 15:15:43 +08:00
Shih-Chiang Chien eb6192832d Bug 790393 - Add MozPower.factoryReset() for factory reset. r=cjones, r=vingtetun, sr=sicking 2012-10-04 17:28:34 +08:00
Gene Lian a42615518c 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 a4767f3054 Bug 794127 - hal::AdjustSystemClock should take a 64-bit value. r=cjones 2012-09-26 11:51:29 +08:00
Steven Lee 592bfca960 Bug 792443 - hal::RegisterSystemTimeChangeObserver should register the observer through sandbox, r=jlebar 2012-09-23 13:00:32 -04:00
Steven Lee c420479a2b 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
Gene Lian 965beed0b7 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
Ehsan Akhgari 243c878d26 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
Justin Lebar 42be4855ad Bug 768832 - Set OOM adjust for background windows. r=bz,cjones 2012-08-05 01:09:39 -04:00
Gene Lian 3689ee04b9 Bug 776785 - Alarm API - hal::SetAlarm takes |long|s, but should instead take PRInt32s. r=jlebar 2012-07-31 10:52:57 +08:00
Gene Lian 58c879ced1 Bug 749551 - Alarm API (Hal/Gonk). r=cjones 2012-07-06 12:42:10 +02:00
Ed Morley 09ea4c3c9b Backout 1dba66cfad9a, ed768b821da1, 23fd9a8d0c9a, 1e90805d96aa, 07425f0e921e (bug 749551) for M3 failures 2012-07-03 11:23:54 +01:00
Gene Lian 19779baa71 Bug 749551 - Alarm API (Hal/Gonk). r=cjones 2012-07-03 11:24:13 +02:00
Justin Lebar 04a44bda80 Bug 769585 - Fix vim modelines. DONTBUILD rs=mrbkap 2012-06-29 12:42:59 +02:00
Ms2ger bd867a9461 Bug 712910 - Use stdint types in HAL; r=cjones 2012-05-25 09:18:30 +02:00
Gervase Markham cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Chris Jones 9f900a0b6a Bug 745145, part 4: Rename some things. r=mounir 2012-05-08 14:36:07 -07:00
Chris Jones 08bc295eab 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
Mounir Lamouri 633ef89c85 Bug 749645 - Use fallback files in hal/ when a backend isn't implemneted instead of having randomly defined methods. r=cjones 2012-05-03 12:05:32 +02:00
Steven Lee e2dc778d3c Bug 736939 - Audio routing support. r=cjones, a=b2g-only 2012-04-22 14:09:22 -04:00
Kan-Ru Chen 59aaef5e4f Bug 739913 - Add cpuSleepAllowed attribute to mozPower. r=cjones 2012-04-16 18:35:33 -04:00
Mounir Lamouri 44f3cf2417 Bug 740188 - Screen Orientation API locking (1/3): DOM/HAL boilerplate. r=smaug sr=sicking 2012-03-29 12:43:16 -07:00
Mounir Lamouri 546689ba61 Bug 720794 - Part 1 (HAL) - Implement reading and event parts of Screen Orientation API. r=cjones 2012-03-13 17:42:46 +01:00
Mark Finkle 335c2f59ce 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 a050658fe3 Bug 720794 - Part 1 (HAL) - Implement reading and event parts of Screen Orientation API. r=cjones 2012-03-13 17:42:46 +01:00
Vincent Chang 7e7e723215 Bug 717150: Support adjust system clock and set timezone APIs in hal layer r=cjones. 2012-02-17 02:44:00 -08:00
Ms2ger 3346edb69a Bug 712378 followup - Fix incorrect license headers; r=sparky 2012-02-10 11:04:44 +01:00
Jim Straus f2eee0a2ff 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 3d9732b2f2 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 6811dc0b43 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 079709ee4f 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 b7d1449c53 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 a0f8ffaaef Bug 709585 - Part 5, hal code for the Power API. r=cjones 2012-01-31 01:08:00 -05:00
Scott Johnson 69a38c86a7 Backout 6a4c4cb828a8 for bustage on windows. 2012-01-30 18:47:43 -06:00
Kan-Ru Chen 2829ddd08a Bug 709585 - Part 5/6, hal code for the Power API. r=cjones 2012-01-30 17:02:51 -06:00
Mounir Lamouri bd3b3a0552 Bug 677166 - Part 6 - Add NetworkInformation handling into hal. r=jlebar 2012-01-16 14:39:57 +01:00
Marco Bonardo 3f7ebf48c6 Backout 789f244f34f8, 1bea53f2d067, 577cba6021d2, 4191fe602648 (bug 697641) for win build bustage 2012-01-16 15:43:46 +01:00
Sinker Li c21ed9d4ea 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
Justin Lebar 3dcde4d38a 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 5c2568d9e0 Backout 407fba8cbd5a (bug 702256) for build failure on Windows. 2011-12-05 13:48:59 +01:00
Justin Lebar 0fd476e25d 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
Mounir Lamouri 0446c4abe8 Bug 707085 - Fix Battery API default values. r=sicking 2011-12-04 21:00:21 +08:00
Mounir Lamouri ff82cb25b7 Bug 700261 - Add .chargingTime/.dischargingTime support to hal code. r=cjones 2011-11-09 09:58:59 +01:00
Chris Jones 4e0abf2d51 Bug 679966, part 1: Add vibrator support for android. r=blassey,cjones 2011-09-30 00:00:48 -07:00
Mounir Lamouri 67f913dca3 Bug 678694 - (6/7) hal code for the Battery API. r=cjones 2011-11-02 16:14:01 +01:00
Justin Lebar b7282378fd No bug - Fix vim modelines in hal. rs=biesi DONTBUILD 2011-10-20 17:38:39 -04:00