Commit Graph

495 Commits

Author SHA1 Message Date
Michael Wu
9564a57e44 Bug 1075727 - Return success/failure in hal::EnableRDS, r=dhylands 2014-10-14 15:16:22 -04:00
Gabriele Svelto
11035913a9 Bug 1057261 - Cache the preferences affecting process and thread priorities. r=dhylands 2014-09-26 16:37:31 +02:00
Michael Wu
9348885067 Followup to Bug 1041085 - Fix FM RDS HAL code on non-unified builds 2014-09-30 22:03:05 -04:00
Michael Wu
df6a7836e3 Bug 1041085 - FM RDS support in HAL, r=dhylands 2014-06-26 05:07:23 -04:00
Michael Wu
51b31a84ca Backed out changeset d1ad5d5bc00f (Bug 1041085) for red 2014-09-30 13:43:22 -04:00
Michael Wu
19d14d5d8c Bug 1041085 - FM RDS support in HAL, r=dhylands 2014-06-26 05:07:23 -04:00
Gabriele Svelto
c3a88a5f12 Bug 1047277 - Hide HAL's logging macros from the public headers and convert all components to use them. r=dhylands 2014-09-24 15:23:18 +02:00
Jacek Caban
e8562197ec Bug 1055655 - Fix warnings turned to errors by bug 1018288 found by mingw build. r=ted,jmathies
--HG--
extra : rebase_source : 2e1d8d0ae697515994b718634f8f8ae9b26b8d80
2014-09-02 11:07:25 +02:00
Ryan VanderMeulen
79d849dd73 Backed out changeset 07c91b928cd7 (bug 932698) for causing bug 1047618. a=me 2014-08-01 16:46:21 -04:00
Ryan VanderMeulen
ca7c05bb4b Merge inbound to m-c. a=merge 2014-08-01 15:59:05 -04:00
Gabriele Svelto
64e8cda446 Bug 1045524 - Make the priority adjustment functions use HAL_LOG() instead of spamming the logcat directly. r=dhylands 2014-07-30 17:01:08 +02:00
Viral Wang
f36b43875e Bug 932698 - Hold a wakelock when we receive the powey key to wake up device. r=dhylands 2014-07-31 03:05:00 -04:00
Ryan VanderMeulen
9ff209de09 Merge b2g-inbound to m-c. a=merge 2014-07-31 15:54:07 -04:00
Kershaw Chang
43817133b5 Bug 1044093 - Avoid calling RegisterUeventListener in main thread, r=dhylands 2014-07-30 01:07:00 +02:00
Nathan Froyd
d86ff9f990 Bug 1042878 - part 2 - move MOZ_CAIRO_CFLAGS et al additions to C*FLAGS into moz.build; r=glandium 2014-07-24 11:55:33 -04:00
Michael Wu
68f5b67b31 Bug 938809 - Support calling seeking/tuning functions off main thread in HAL, r=dhylands 2014-07-29 20:28:12 -04:00
Carsten "Tomcat" Book
4f8de1e372 Backed out changeset d77f989d6e7d (bug 938809) for bustage 2014-07-30 05:51:38 +02:00
Michael Wu
d4eec5c31e Bug 938809 - Support calling seeking/tuning functions off main thread in HAL, r=dhylands 2014-07-29 20:28:12 -04:00
Fabrice Desré
0ff99653bd Bug 1037212 - [Flame] Phone is not completely erased when a ringtone is set from the Music App r=dougt,dhylands,khuey 2014-07-17 18:30:47 -07:00
Ehsan Akhgari
e2d7f9a942 Bug 1038152 - Make the destructor of WindowsGamepad.cpp's Observer private; r=bjacob 2014-07-14 21:49:23 -04:00
Michael Wu
abb7636ff1 Bug 1036873 - Add support for standard V4L2 FM deemphasis control, r=dhylands 2014-07-10 05:48:46 -04:00
Benoit Jacob
1f6562d6f3 Bug 1028588 - Fix dangerous public destructors of Mac-specific reference-counted classes - r=mstange 2014-07-06 11:25:31 -04:00
Kershaw Chang
928904ed0c Bug 964154 - To Detect Whether Headset Event is Came from Input Dev or /sys Node in Runtime Not by Property. r=dhylands 2014-07-01 19:52:00 +02:00
Benoit Jacob
3cd7e34ddb Bug 1028588 - Fix dangerous public destructors in miscellaneous places - r=ehsan 2014-06-23 18:40:03 -04:00
Birunthan Mohanathas
617866f602 Bug 1026535 - Fix mismatched class/struct tags. r=ehsan 2014-06-18 17:57:51 -07:00
Kilik Kuo
4240c1fe70 Bug 1017463 - Remove SetLight / GetLight from PHal.ipdl. r=dhylands 2014-06-11 18:17:23 +08:00
Michael Wu
886677bf35 Bug 938806 - Handle errors better in GonkFMRadio, r=dhylands 2014-06-12 14:36:20 -04:00
Kershaw Chang
3565ad549f Bug 1013097 - Remove IPC for switch event because only the chrome process can receive it. r=dhylands 2014-06-02 19:25:00 -04:00
Sean Lin
2d0cef9324 Bug 911242 - [LED] De-couple the control of screen backlight and keyboard backlight. r=dhylands, sr=sicking 2014-05-30 11:11:23 +08:00
Bhavna Sharma
0a52cde5de Bug 975667 - gecko: hal: gonk: Emit battery level/charging notification. r=dhylands
The battery level and charging flag is now emitted from nsIObserverService
via the "gonkhal-battery-notifier" topic.  This can be useful to XPCOM
components that are not statically linked to Gecko.

The notification data is a IPropertyBag2 object.

Change-Id: Ia7b1faf3b66c19d6551d71ad554fd361c2614a22
2014-05-29 15:12:00 +02:00
Ted Mielczarek
634cfceb8d Bug 1014162 - Make Gamepad.mapping into an enum. r=smaug 2014-05-23 07:39:13 -04:00
Kyle Huey
941a5ee91b Bug 996133: Remove unnecessary NS_DISPATCH_NORMAL arguments to NS_DispatchToMainThread. r=ehsan 2014-05-23 12:53:17 -07:00
Alphan Chen
7082834baf Bug 996996 - Move fopen into non-sanboxed process. r=mrbkap 2014-05-21 13:49:36 +08:00
Althaf Hameez
ec805337e4 Bug 1001206 - Additional regular expressions for OOM Logger r=dhylands 2014-05-16 17:16:20 -07:00
Mike Conley
4669b66737 Bug 1001075 - Account for possible re-entry in MacPowerInformationService::StopListening to avoid crash with e10s. r=BenWa, feedback=reuben. 2014-05-12 21:07:45 -04:00
Jacek Caban
65ac64257a Bug 690937 - Fixed compilation on mingw
--HG--
extra : rebase_source : 3ff75ba5d6c9fe68a3f195c86176f498db0db5a4
2014-05-12 11:02:40 +02:00
Mason Chang
4507d4e012 Bug 980027 - Part 1: Provide mechanism to set thread priorities. r=gsvelto, r=dhylands 2014-05-05 11:37:00 -04:00
chiajung hung
aca898b7e3 Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical 2014-04-30 21:52:00 -04:00
Ed Morley
9187f47d91 Merge latest green b2g-inbound changeset and mozilla-central; r=khuey to work around bug 1002652 comment 13 2014-05-01 15:55:44 +01:00
Dave Hylands
3d394fc57a Bug 993737 - Only fire shutdown notifications on main thread. r=gsvelto 2014-04-30 17:20:30 -07:00
Ted Mielczarek
1f341a20b1 bug 690937 - Add XInput support to the Windows gamepad backend. r=jimm 2014-04-16 19:43:39 -04:00
Ted Mielczarek
a12187015f Bug 996078 - Replace Windows Gamepad DirectInput backend with Raw Input. r=jimm 2014-04-14 13:18:51 -04:00
Carsten "Tomcat" Book
a86ca68ad0 Backed out changeset a89f08f4fd3e (bug 959089) 2014-04-29 12:21:52 +02:00
chiajung hung
6fa775b03f Bug 959089 - Separate GrallocBuffer allocations from Compositor thread(part2). r=nical 2014-04-28 20:46:00 +02:00
Ted Mielczarek
feece67b5f bug 852935 - Add Android gamepad backend. r=snorp, rs=smaug 2014-04-22 10:53:48 -04:00
Birunthan Mohanathas
504b581650 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Ed Morley
654e84274f Backed out changeset 1a6ada013610 (bug 959089) 2014-04-25 17:51:15 +01:00
chiajung hung
de90a4ed73 Bug 959089 - Part 1: Implement a new protocol for manage shared buffers' allocation. r=vlad, r=gal 2014-04-25 02:28:00 -04:00
Kyle Huey
bb4b172be0 Bug 994971: Don't export nsObserverService.h. r=bsmedberg
--HG--
extra : rebase_source : cd5aa136075086a10cfa03d937743d8a5471fd6c
2014-04-14 12:04:27 -07:00
Kyle Huey
91420b7d1d Bug 991812: Remove uses of RefCounted<T> that live in Gecko. r=ehsan
--HG--
extra : rebase_source : 239ff77ec3765a3f190ed75b1645c6011e5d1dbd
2014-04-14 12:04:24 -07:00
Ryan VanderMeulen
f6d009af86 Backed out changeset e2d5b2be4142 (bug 994971) for non-unified bustage.
CLOSED TREE
2014-04-14 18:27:52 -04:00
Ryan VanderMeulen
98cf3141ca Backed out changesets ddbac34527fe and fa82f32d0c39 (bug 991812) for B2G bustage.
CLOSED TREE
2014-04-14 16:16:18 -04:00
Kyle Huey
54f8bae9b6 Bug 994971: Don't export nsObserverService.h. r=bsmedberg 2014-04-14 12:04:27 -07:00
Kyle Huey
28592e6530 Bug 991812: Remove uses of RefCounted<T> that live in Gecko. r=ehsan 2014-04-14 12:04:24 -07:00
Benoit Jacob
82a6b65cf9 Bug 987305 - Refactor EnumSerializer - r=nfroyd 2014-04-14 10:17:40 -04:00
Ted Mielczarek
6a2ebb41fe bug 980876 - null check GamepadService in case of events still in play during shutdown. r=smaug 2014-04-07 14:28:41 -04:00
Ted Mielczarek
b6182ff7e5 bug 980876 - be smarter about sending gamepad updates from the background thread. r=smaug 2014-04-07 14:28:08 -04:00
snigdha
11404d6af2 Bug 798033 - Headers should generally not do "using namespace" at file scope. r=jib, r=jmathies, r=rjesup, r=ekr, r=ncameron, r=blassey 2014-04-01 08:29:25 -04:00
John Shih
e48d8ac267 Bug 960426 - Part 2: Modifications for IDL change. r=blassey 2014-03-05 11:54:55 +08:00
Carsten "Tomcat" Book
93dadba149 merge b2g-inbound to mozilla-central 2014-03-20 14:07:58 +01:00
Wes Kocher
a5a3ec121e Backed out 3 changesets (bug 980027) for causing a serious race in hal with the pref service
Backed out changeset 5cd05df56f67 (bug 980027)
Backed out changeset 6344d6606517 (bug 980027)
Backed out changeset 098a43b537e9 (bug 980027)
2014-03-19 15:36:13 -07:00
Cervantes Yu
b22bcfe208 Bug 959966: prevent the preallocated process from being killed by the lowmem killer by rasing its priority. r=khuey,gsvelto 2014-03-13 15:24:42 +08:00
Dave Hylands
853ac30f30 Bug 964537 - Fix intermittent access through a null pointer. r=dmajor 2014-03-18 14:18:14 -07:00
Ben Kelly
6c61d68a4c Bug 980027: Part 1: Provide mechanism to set thread priority via HAL. r=gsvelto 2014-03-17 11:52:42 -04:00
Gabriele Svelto
58ebcc699d Bug 979205 - Make LMK and low-mem trigger preferences use values in KiB instead of MiB. r=fabrice 2014-03-04 11:23:00 +01:00
Ehsan Akhgari
304ca88775 Bug 977964 - Move some flags to moz.build; r=glandium 2014-03-03 21:58:37 -05:00
Ehsan Akhgari
83afc1afae Bug 935778 - Part 0.4: Spray even more MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree 2014-02-21 09:11:33 -05:00
Masatoshi Kimura
9f0004eb6e Bug 969918 - Use decltype to declare pointers for dynamic-loaded functions. r=jimm sr=roc 2014-02-18 07:32:52 +09:00
Ehsan Akhgari
e919c9ad6e Bug 968631 - Port some LOCAL_INCLUDES variables to moz.build; r=mshal 2014-02-10 13:41:02 -05:00
Birunthan Mohanathas
89f96b243e Bug 828300 - Replace NS_ARRAY_LENGTH with mozilla::ArrayLength/MOZ_ARRAY_LENGTH. r=ehsan 2014-01-30 13:26:54 -05:00
Dave Hylands
76b05a00d5 Bug 851680 - Set kernel timezone so that external sdcards get local time rather than UTC time.
--HG--
extra : rebase_source : 74745fda004671a7c02df132877db7b6be4c5d54
2014-01-28 13:33:15 -08:00
Marco Chen
21f0453e57 Bug 958963 - Headset status from input device didn't be recorded by GonkSwitch.r=dhylands. 2014-01-20 17:35:24 +08:00
Dave Hylands
0160f0ba21 Bug 939372 - Rewrite oom-msg-logger in C or C++ r=dhylands 2014-01-10 22:22:55 -08:00
Ehsan Akhgari
eaa7491d77 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Birunthan Mohanathas
58325c73be Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Birunthan Mohanathas
bd0f161288 Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo 2013-12-08 21:52:33 -05:00
Vincent Liu
2922e3e361 Bug 924729 - [Flatfish] :Socket bind() fail in UeventPoller initialization. r=dhylands 2013-12-04 10:18:14 +08:00
Ms2ger
8dc001d7ac Bug 939271 - Part a: remove a reference to hal/tests/browser_alarms.js from hal/Makefile.in to avoid running it twice; r=mounir 2013-11-28 15:03:16 +01:00
Vasanthakumar Pandurangan
d055848b17 Bug 942732 - Check for msm iris fm driver while configuring. r=mwu
Also use msmFM instead of tavarua in variable names to generalize all msm fm drivers (Ex: tavarua, iris)
2013-11-27 00:31:47 +05:30
Viral Wang
3f0ed9fd46 Bug 938035 - The definition of device orientation in firefox is not same as w3c spec. r=dougt 2013-11-26 13:58:15 -05:00
Ehsan Akhgari
4b0a488749 Bug 942334 - Build hal in unified mode; r=cjones
--HG--
extra : rebase_source : b3fae3b4456bfa8ef9920038668b403cc7c8accf
2013-11-25 14:57:18 -05:00
Chris Kitching
b3ed714288 Bug 913985: Part 6 - Remove redundant AndroidBridge::Bridge() checks. r=kats 2013-11-12 10:41:01 -08:00
Chris Kitching
43102ed4c2 Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats 2013-11-12 10:41:01 -08:00
Kyle Machulis
2d07114171 Bug 937496 - Check if libudev already loaded before trying to load symbols from it; r=ted 2013-11-19 12:52:37 -08:00
Mike Hommey
931cb49886 Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
db9e5129bc Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey
b18be7aacd Bug 939044 - Rename remaining MODULE definitions to XPIDL_MODULE. r=mshal 2013-11-19 11:47:43 +09:00
Mike Hommey
f81885e53b Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps 2013-11-19 11:47:14 +09:00
Michael Wu
c51e570fb6 Bug 852497 - Add a standard V4L2 mode to GonkFMRadio.cpp, r=dhylands 2013-11-14 15:02:30 -05:00
Nathan Froyd
ccdd4fb35d Bug 918651 - part 8 - remove redundant includes from IPDL files; r=ehsan
These include statements have been made redundant by all the qualifications
to the using statements.
2013-10-18 13:34:08 -04:00
Nathan Froyd
e2ede970d2 Bug 918651 - part 5 - qualify all IPDL using statements with required header; r=ehsan 2013-10-01 15:25:07 -04:00
Boris Zbarsky
5d7d701964 Bug 932421. Stop including windows.h (via Hal.h) in Screen.h, so we don't screw up our bindings code. r=smaug
Also stops Hal.h bootlegging Observer.h.
2013-10-31 22:07:10 -04:00
Ted Mielczarek
313430c578 bug 921565 - look for WM_DEVICECHANGE in Windows gamepad backend and rescan for devices. r=jimm 2013-10-24 15:06:19 -04:00
Mike Hommey
f1c0c07862 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Brian O'Keefe
0cbcd904c7 Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal 2013-10-02 13:17:55 -04:00
Mike Hommey
80c623bb6a Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps 2013-10-24 08:05:43 +09:00
Mike Hommey
5072f65f8c Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal 2013-10-24 08:00:23 +09:00
George Wright
e4943a763f Bug 920160 - Add prefs for SkiaGL cache size r=snorp
--HG--
extra : rebase_source : 410192610d7311dead4132d2fee8fbd3fe062951
2013-10-22 14:15:24 -05:00
Masatoshi Kimura
11b1ec2573 Bug 925599 - Introduce version test functions using VerifyVersionInfo(). r=bbondy 2013-10-19 03:14:31 +09:00
Shao Hang Kao
91b0939eac Bug 926777 - B2G system time: |time.timezone| should save the UTC value with the correct sign. r=gene 2013-10-15 16:43:53 +08:00