Commit Graph

449 Commits

Author SHA1 Message Date
Michael Wu
89d5829047 Bug 1085383 - Allow FM radio tuning to be run on a separate thread, r=dhylands 2014-11-13 14:11:03 +08:00
Jed Davis
b889d2d302 Bug 1091994 - Fix syscall numbers in GonkDiskSpaceWatcher. r=dhylands
Linux syscall numbers vary by architecture, so hard-coding the ARM ones
breaks non-ARM architectures.  This patch ifdefs the hard-coding, and
uses the system headers' values if/when it provides them (on Android/B2G
the headers are often significantly older than the running kernel).

Bonus fix: warning message typo, and don't assume NS_WARNING can't set errno.
2014-10-31 12:10:00 +01:00
Michael Wu
4ec3e02003 Bug 1086987 - MOZ_CRASH if there is no fanotify support, r=dhylands 2014-10-28 12:32:11 -04:00
Mason Chang
45545e98e0 Bug 1085696. Part 1 Move widget/xpwidget to /widget. r=roc
--HG--
rename : widget/xpwidgets/ContentHelper.cpp => widget/ContentHelper.cpp
rename : widget/xpwidgets/ContentHelper.h => widget/ContentHelper.h
rename : widget/xpwidgets/GfxDriverInfo.cpp => widget/GfxDriverInfo.cpp
rename : widget/xpwidgets/GfxDriverInfo.h => widget/GfxDriverInfo.h
rename : widget/xpwidgets/GfxInfoBase.cpp => widget/GfxInfoBase.cpp
rename : widget/xpwidgets/GfxInfoBase.h => widget/GfxInfoBase.h
rename : widget/xpwidgets/GfxInfoCollector.cpp => widget/GfxInfoCollector.cpp
rename : widget/xpwidgets/GfxInfoCollector.h => widget/GfxInfoCollector.h
rename : widget/xpwidgets/GfxInfoWebGL.cpp => widget/GfxInfoWebGL.cpp
rename : widget/xpwidgets/GfxInfoWebGL.h => widget/GfxInfoWebGL.h
rename : widget/xpwidgets/GfxInfoX11.cpp => widget/GfxInfoX11.cpp
rename : widget/xpwidgets/GfxInfoX11.h => widget/GfxInfoX11.h
rename : widget/xpwidgets/InputData.cpp => widget/InputData.cpp
rename : widget/xpwidgets/PuppetWidget.cpp => widget/PuppetWidget.cpp
rename : widget/xpwidgets/PuppetWidget.h => widget/PuppetWidget.h
rename : widget/xpwidgets/ScreenProxy.cpp => widget/ScreenProxy.cpp
rename : widget/xpwidgets/ScreenProxy.h => widget/ScreenProxy.h
rename : widget/shared/SharedWidgetUtils.cpp => widget/SharedWidgetUtils.cpp
rename : widget/xpwidgets/WidgetUtils.cpp => widget/WidgetUtils.cpp
rename : widget/xpwidgets/nsAppShellSingleton.h => widget/nsAppShellSingleton.h
rename : widget/xpwidgets/nsBaseAppShell.cpp => widget/nsBaseAppShell.cpp
rename : widget/xpwidgets/nsBaseAppShell.h => widget/nsBaseAppShell.h
rename : widget/xpwidgets/nsBaseClipboard.cpp => widget/nsBaseClipboard.cpp
rename : widget/xpwidgets/nsBaseClipboard.h => widget/nsBaseClipboard.h
rename : widget/xpwidgets/nsBaseDragService.cpp => widget/nsBaseDragService.cpp
rename : widget/xpwidgets/nsBaseDragService.h => widget/nsBaseDragService.h
rename : widget/xpwidgets/nsBaseFilePicker.cpp => widget/nsBaseFilePicker.cpp
rename : widget/xpwidgets/nsBaseFilePicker.h => widget/nsBaseFilePicker.h
rename : widget/xpwidgets/nsBaseScreen.cpp => widget/nsBaseScreen.cpp
rename : widget/xpwidgets/nsBaseScreen.h => widget/nsBaseScreen.h
rename : widget/xpwidgets/nsBaseWidget.cpp => widget/nsBaseWidget.cpp
rename : widget/xpwidgets/nsBaseWidget.h => widget/nsBaseWidget.h
rename : widget/xpwidgets/nsClipboardHelper.cpp => widget/nsClipboardHelper.cpp
rename : widget/xpwidgets/nsClipboardHelper.h => widget/nsClipboardHelper.h
rename : widget/xpwidgets/nsClipboardProxy.cpp => widget/nsClipboardProxy.cpp
rename : widget/xpwidgets/nsClipboardProxy.h => widget/nsClipboardProxy.h
rename : widget/xpwidgets/nsColorPickerProxy.cpp => widget/nsColorPickerProxy.cpp
rename : widget/xpwidgets/nsColorPickerProxy.h => widget/nsColorPickerProxy.h
rename : widget/xpwidgets/nsContentProcessWidgetFactory.cpp => widget/nsContentProcessWidgetFactory.cpp
rename : widget/xpwidgets/nsFilePickerProxy.cpp => widget/nsFilePickerProxy.cpp
rename : widget/xpwidgets/nsFilePickerProxy.h => widget/nsFilePickerProxy.h
rename : widget/xpwidgets/nsHTMLFormatConverter.cpp => widget/nsHTMLFormatConverter.cpp
rename : widget/xpwidgets/nsHTMLFormatConverter.h => widget/nsHTMLFormatConverter.h
rename : widget/xpwidgets/nsIWidgetListener.cpp => widget/nsIWidgetListener.cpp
rename : widget/xpwidgets/nsIdleService.cpp => widget/nsIdleService.cpp
rename : widget/xpwidgets/nsIdleService.h => widget/nsIdleService.h
rename : widget/xpwidgets/nsNativeTheme.cpp => widget/nsNativeTheme.cpp
rename : widget/xpwidgets/nsNativeTheme.h => widget/nsNativeTheme.h
rename : widget/xpwidgets/nsPrimitiveHelpers.cpp => widget/nsPrimitiveHelpers.cpp
rename : widget/xpwidgets/nsPrimitiveHelpers.h => widget/nsPrimitiveHelpers.h
rename : widget/xpwidgets/nsPrintOptionsImpl.cpp => widget/nsPrintOptionsImpl.cpp
rename : widget/xpwidgets/nsPrintOptionsImpl.h => widget/nsPrintOptionsImpl.h
rename : widget/xpwidgets/nsPrintSession.cpp => widget/nsPrintSession.cpp
rename : widget/xpwidgets/nsPrintSession.h => widget/nsPrintSession.h
rename : widget/xpwidgets/nsPrintSettingsImpl.cpp => widget/nsPrintSettingsImpl.cpp
rename : widget/xpwidgets/nsPrintSettingsImpl.h => widget/nsPrintSettingsImpl.h
rename : widget/xpwidgets/nsScreenManagerProxy.cpp => widget/nsScreenManagerProxy.cpp
rename : widget/xpwidgets/nsScreenManagerProxy.h => widget/nsScreenManagerProxy.h
rename : widget/xpwidgets/nsTransferable.cpp => widget/nsTransferable.cpp
rename : widget/xpwidgets/nsTransferable.h => widget/nsTransferable.h
rename : widget/xpwidgets/nsXPLookAndFeel.cpp => widget/nsXPLookAndFeel.cpp
rename : widget/xpwidgets/nsXPLookAndFeel.h => widget/nsXPLookAndFeel.h
2014-10-23 10:16:45 -07:00
Michael Wu
2543c4e388 Bug 1075727 - Return success/failure in hal::EnableRDS, r=dhylands 2014-10-14 15:16:22 -04:00
Gabriele Svelto
c3993f77b6 Bug 1057261 - Cache the preferences affecting process and thread priorities. r=dhylands 2014-09-26 16:37:31 +02:00
Michael Wu
b1ee0a87f2 Followup to Bug 1041085 - Fix FM RDS HAL code on non-unified builds 2014-09-30 22:03:05 -04:00
Michael Wu
156232bf53 Bug 1041085 - FM RDS support in HAL, r=dhylands 2014-06-26 05:07:23 -04:00
Michael Wu
308cb9f55d Backed out changeset d1ad5d5bc00f (Bug 1041085) for red 2014-09-30 13:43:22 -04:00
Michael Wu
694ee2fbe3 Bug 1041085 - FM RDS support in HAL, r=dhylands 2014-06-26 05:07:23 -04:00
Gabriele Svelto
c1a68330d7 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
ebad23c206 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
9e1968d46e Backed out changeset 07c91b928cd7 (bug 932698) for causing bug 1047618. a=me 2014-08-01 16:46:21 -04:00
Ryan VanderMeulen
cde39a4083 Merge inbound to m-c. a=merge 2014-08-01 15:59:05 -04:00
Gabriele Svelto
313e4fd89e 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
2acc0fef0b 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
c796b3a015 Merge b2g-inbound to m-c. a=merge 2014-07-31 15:54:07 -04:00
Kershaw Chang
cd215e6dca Bug 1044093 - Avoid calling RegisterUeventListener in main thread, r=dhylands 2014-07-30 01:07:00 +02:00
Nathan Froyd
9ea6c585f8 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
582c8d9b3d 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
f2af660b70 Backed out changeset d77f989d6e7d (bug 938809) for bustage 2014-07-30 05:51:38 +02:00
Michael Wu
2f673e6e18 Bug 938809 - Support calling seeking/tuning functions off main thread in HAL, r=dhylands 2014-07-29 20:28:12 -04:00
Fabrice Desré
eed7739dc9 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
6d8dd4ad4b Bug 1038152 - Make the destructor of WindowsGamepad.cpp's Observer private; r=bjacob 2014-07-14 21:49:23 -04:00
Michael Wu
43ea93bfa4 Bug 1036873 - Add support for standard V4L2 FM deemphasis control, r=dhylands 2014-07-10 05:48:46 -04:00
Benoit Jacob
6bd0bb7f17 Bug 1028588 - Fix dangerous public destructors of Mac-specific reference-counted classes - r=mstange 2014-07-06 11:25:31 -04:00
Kershaw Chang
2112e77bbf 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
5959ada792 Bug 1028588 - Fix dangerous public destructors in miscellaneous places - r=ehsan 2014-06-23 18:40:03 -04:00
Birunthan Mohanathas
f475f7189b Bug 1026535 - Fix mismatched class/struct tags. r=ehsan 2014-06-18 17:57:51 -07:00
Kilik Kuo
4f5b2a0113 Bug 1017463 - Remove SetLight / GetLight from PHal.ipdl. r=dhylands 2014-06-11 18:17:23 +08:00
Michael Wu
63f6784ff2 Bug 938806 - Handle errors better in GonkFMRadio, r=dhylands 2014-06-12 14:36:20 -04:00
Kershaw Chang
8236de3765 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
6df6540048 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
392a5b1ca9 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
539dcae325 Bug 1014162 - Make Gamepad.mapping into an enum. r=smaug 2014-05-23 07:39:13 -04:00
Kyle Huey
8a1ded0d50 Bug 996133: Remove unnecessary NS_DISPATCH_NORMAL arguments to NS_DispatchToMainThread. r=ehsan 2014-05-23 12:53:17 -07:00
Alphan Chen
3a1fce7214 Bug 996996 - Move fopen into non-sanboxed process. r=mrbkap 2014-05-21 13:49:36 +08:00
Althaf Hameez
09149f8c92 Bug 1001206 - Additional regular expressions for OOM Logger r=dhylands 2014-05-16 17:16:20 -07:00
Mike Conley
e8114e93d8 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
ce5226a69f Bug 690937 - Fixed compilation on mingw
--HG--
extra : rebase_source : 3ff75ba5d6c9fe68a3f195c86176f498db0db5a4
2014-05-12 11:02:40 +02:00
Mason Chang
2ed3237efa Bug 980027 - Part 1: Provide mechanism to set thread priorities. r=gsvelto, r=dhylands 2014-05-05 11:37:00 -04:00
chiajung hung
e92efaa365 Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical 2014-04-30 21:52:00 -04:00
Ed Morley
364684e861 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
b4f7791261 Bug 993737 - Only fire shutdown notifications on main thread. r=gsvelto 2014-04-30 17:20:30 -07:00
Ted Mielczarek
7bcd35b851 bug 690937 - Add XInput support to the Windows gamepad backend. r=jimm 2014-04-16 19:43:39 -04:00
Ted Mielczarek
d820ca8a73 Bug 996078 - Replace Windows Gamepad DirectInput backend with Raw Input. r=jimm 2014-04-14 13:18:51 -04:00
Carsten "Tomcat" Book
30e4791d39 Backed out changeset a89f08f4fd3e (bug 959089) 2014-04-29 12:21:52 +02:00
chiajung hung
bb39549da2 Bug 959089 - Separate GrallocBuffer allocations from Compositor thread(part2). r=nical 2014-04-28 20:46:00 +02:00
Ted Mielczarek
dff9bd8e4c bug 852935 - Add Android gamepad backend. r=snorp, rs=smaug 2014-04-22 10:53:48 -04:00
Birunthan Mohanathas
ff8ce9bd42 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