Commit Graph

602 Commits

Author SHA1 Message Date
Eric Rahm
f82c0e7caf Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 14:31:01 -07:00
Julian Seward
5db797db1b Bug 1125084 - Uninitialised value use in mozilla::hal_impl::SetScreenBrightness(double). r=dhylands. 2015-05-29 13:21:36 +02:00
Julian Seward
c46d573f85 Bug 1167581 - Inconsistent pre-zeroing of ioctl buffers in gecko/hal/gonk/GonkFMRadio.cpp. r=mwu. 2015-05-28 15:02:41 +02:00
Julian Seward
5c409379a6 Bug 1123628 - mozilla::hal_impl::PriorityClass::~PriorityClass() closes not-open files. r=dhylands.
--HG--
extra : rebase_source : 672e15f1238948b9053da8dcf098f787fc6655aa
2015-05-26 19:36:51 +02:00
Fabrice Desré
2600fa2b93 Bug 1167817 - Switch back to printf_stderr in GonkDiskSpaceWatcher.cpp r=dhylands 2015-05-25 21:34:44 -07:00
JerryShih
19b89aae4e Bug 1167535 - Fix fanotify 4g size limit. r=fabrice 2015-05-22 11:20:00 -04:00
Eric Rahm
3925a960aa Bug 1165515 - Part 1: Convert PR_LOG to MOZ_LOG. r=froydnj 2015-05-21 13:22:04 -07:00
Eric Rahm
4879ae86f4 Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj 2015-05-19 11:15:34 -07:00
Gabriele Svelto
03442c33ca Bug 1157030 - Stop special-casing the homescreen in the process priority manager. r=khuey, r=dhylands 2015-04-30 13:12:21 +02:00
Zibi Braniecki
c29571c802 Bug 1163245 - [Battery][Gonk] Implementation of battery discharging remaining time. r=dhylands 2015-05-13 09:35:57 -07:00
Sotaro Ikeda
e2d6f1ea99 Bug 1091037 - Raise ImageBridge thread priority r=gsvelto,nical 2015-05-07 06:53:47 -07:00
Sotaro Ikeda
ed293afca5 Bug 1157874 - Remove screen related global variables from nsWindow.cpp r=mwu 2015-04-29 20:17:57 -07:00
Kyle Machulis
358e55b5b7 Bug 852944 - Gamepad API IPC; r=ted, r=baku
--HG--
extra : rebase_source : 34ca0c1e1b7fcc312b5d7c97d5bd2086af2bc7ce
2015-04-23 15:05:29 -07:00
Ehsan Akhgari
399276d5fc Bug 1153348 - Add an analysis to prohibit operator bools which aren't marked as either explicit or MOZ_IMPLICIT; r=jrmuizel
This is the counterpart to the existing analysis to catch
constructors which aren't marked as either explicit or
MOZ_IMPLICIT.
2015-04-21 21:40:49 -04:00
Wes Kocher
638b28b8e0 Backed out changeset 02e6a50741a9 (bug 1153348) to hopefully fix the static bustage CLOSED TREE 2015-04-21 15:47:40 -07:00
Ehsan Akhgari
3d21a05904 Bug 1153348 - Add an analysis to prohibit operator bools which aren't marked as either explicit or MOZ_IMPLICIT; r=jrmuizel
This is the counterpart to the existing analysis to catch
constructors which aren't marked as either explicit or
MOZ_IMPLICIT.
2015-04-21 16:31:58 -04:00
Nicolas Silva
cfff5e52c5 Bug 1155621 - Make nsIntRect and nsIntPoint typedefs of mozilla::gfx::IntRect and mozilla::gfx::IntPoint. r=Bas 2015-04-21 17:04:57 +02:00
Vladimir Vukicevic
32d8dbc20e Bug 1144674; Implement HAL support for ROTATION_VECTOR and GAME_ROTATION_VECTOR sensors; r=snorp 2015-04-01 16:02:20 -04:00
Randall Barker
afe92a9008 Bug 1107801 - Improve gamepad support on MacOS. r=ted
--HG--
extra : rebase_source : 1da3cd8bce051b3b77a015b54ce337f393ea51bf
2015-03-23 17:06:56 -07:00
Wes Kocher
3b29bb5855 Backed out changeset 03eeae957008 (bug 1107801) for gamepad test failures CLOSED TREE 2015-03-23 16:25:32 -07:00
Randall Barker
73b57fa9ec Bug 1107801 - Improve gamepad support on MacOS. r=ted 2015-03-23 09:21:00 -04:00
Ehsan Akhgari
883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Gabriele Svelto
243ffd8828 Bug 892371 - Adjust oom_score_adj values for foreground processes according to an LRU policy. r=dhylands, r=khuey 2015-02-25 09:37:38 +01:00
dannyliang
4c9fd552c7 Bug 1116368 - Implementation of battery charging remaining time. r=dhylands 2015-03-10 23:41:00 -04:00
Thomas Zimmermann
b863aa329a Bug 1137151: Marked destructors of ref-counted GonkHAL classes as protected, r=dhylands 2015-03-10 13:44:02 +01:00
Gabriele Svelto
1f8afa872a Bug 1119277 - Remove the process CPU priority parameter and simplify all the associated code. r=khuey, r=dhylands 2015-02-26 12:43:22 +01:00
Dave Hylands
c5ff7b0427 Bug 1082290 - Add memory cgroup support to FxOS process control. r=gsvelto 2015-01-12 14:19:00 -05:00
Kan-Ru Chen (陳侃如)
0c04d0ee7e Bug 1114890 - Use TabParent::GetFrom everywhere. r=billm 2015-02-05 17:18:22 +08:00
Gabriele Svelto
d800fbc91b Bug 1081871 - part 2 - Use cgroups instead of nice values to implement application priorities. r=dhylands 2015-01-08 15:39:43 +01:00
Gabriele Svelto
72bb309318 Bug 1081871 - part 1 - Remove dead code and do some minor code style cleanups. r=dhylands 2015-01-08 15:39:38 +01:00
Gijs Kruitbosch
abcc5051f6 Bug 1124127 - round power percentage to whole number before passing on, r=gsvelto
--HG--
extra : rebase_source : 69c55368a10c076e9726db9894f2d355326d9aad
2015-01-21 14:06:40 +00:00
Ryan VanderMeulen
83b898f175 Backed out changesets 59452425e446 and a13166f0d914 (bug 1081871) for causing bug 1122119. 2015-01-27 09:47:18 -05:00
Ryan VanderMeulen
e6acb1c0c4 Backed out changeset f9625445803a (bug 1082290) because it depends on bug 1081871, which was backed out. 2015-01-27 09:46:32 -05:00
Kevin Chen
2edc1deab7 Bug 1023837 - Move LightType,LightMode,FlashMode from HalTypes.h to GonkHal.cpp. r=dhylands 2015-01-21 22:36:00 -05:00
Kyle Huey
7c82e6dd0a Bug 1121673: Use move references in IPDL. r=bent 2015-01-16 11:58:52 -08:00
Dave Hylands
088b97b45b Bug 1082290 - Add memory cgroup support to FxOS process control. r=gsvelto 2015-01-13 12:12:32 -08:00
Ehsan Akhgari
1e88271572 Bug 1119268 - Mark virtual overridden functions as MOZ_OVERRIDE in misc code; r=bsmedberg 2015-01-12 23:26:30 -05:00
Wes Kocher
4a8e595770 Backout c034dba7a417 2015-01-12 14:46:48 -08:00
Ehsan Akhgari
d517a30886 Bug 1119268 - Mark virtual overridden functions as MOZ_OVERRIDE in misc code; r=bsmedberg 2015-01-12 16:35:06 -05:00
Jim Chen
db34c64f29 Bug 1116589 - Use templated JNI classes in generated bindings; r=snorp 2015-01-09 19:33:57 -05:00
Gabriele Svelto
b173507d67 Bug 1081871 - Part 2 - Use cgroups instead of nice values to implement application priorities. r=dhylands 2015-01-08 15:39:43 +01:00
Gabriele Svelto
9833d61e79 Bug 1081871 - Part 1 - Remove dead code and do some minor code style cleanups. r=dhylands 2015-01-08 15:39:38 +01:00
Botond Ballo
edd363abd6 Bug 1073003 - Fix more -Wunused-variable and -Wunused-but-set-variable warnings. r=ehsan
--HG--
extra : rebase_source : bb768dd07c19dc39994d5cca6e0f59048d12130a
2014-12-17 18:05:28 -05:00
Michael Wu
a62bb17df4 Bug 1113200 - Use sysconf to get the page size. r=dhylands 2014-12-17 11:20:09 -05:00
Carsten "Tomcat" Book
70b3e47b2d merge b2g-inbound to mozilla-central a=merge 2014-12-17 12:57:09 +01:00
Kai-Zhen Li
50ba65ffc8 Bug 1103798 - Include the correct header file for api level >= 21. r=mwu 2014-12-03 17:44:16 -08:00
Botond Ballo
74fa635918 Bug 1073081 - Remove an old preprocessor #else branch. r=dhylands
--HG--
extra : source : 3def1452028894b4a91415a43e4edb1655592761
2014-11-24 20:01:41 -05:00
Botond Ballo
870235958c Bug 1073081 - Fix -Wunused-result, -Wunused-variable, and -Wunused-but-set-variable warnings. r=ehsan
--HG--
extra : source : a1ac7acfcf14207706eca29be3a20c576c8fae06
2014-11-26 18:13:49 -05:00
Botond Ballo
40dadf0d08 Bug 1073081 - Fix -Wsign-compare and -Wsign-conversion warnings. r=ehsan
--HG--
extra : source : 88c58a8cc276a4691ed23fd8b8f2f6c0713b50fd
2014-11-24 19:54:33 -05:00
Botond Ballo
7b85bd5de5 Bug 1073081 - Fix -Wdelete-non-virtual-dtor warnings by marking some classes as MOZ_FINAL. r=ehsan
--HG--
extra : source : 7a909c534cf723b252ea5b0a225a6656399b5b2e
2014-11-24 18:38:23 -05:00
Wes Kocher
a269def446 Bug 1107923 - Followup to fix non-unified bustage a=me 2014-12-16 13:26:42 -08:00
Oleksiy Avramchenko
625804e99a Bug 1107923 - Use powerctl for reboot & shutdown. r=gsvelto
Android KK and later supports sys.powerctl property to reboot or shutdown device via the init. This allows to:
- hook up on these events from the rc scripts to perform some actions
- remount all fs to ro in android_reboot() before calling the kernel
2014-12-12 06:18:00 -05:00
Alexandre Poirot
cd42d11736 Bug 1100964 - Reset phone while enabling unrestricted devtools mode. r=fabrice, r=sicking
--HG--
extra : amend_source : 905e0ea7680baad061c66a0b6dc77dbf23258218
2014-11-26 06:46:00 -05:00
Michael Wu
be43a4ea81 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
59b510b887 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
a49d119934 Bug 1086987 - MOZ_CRASH if there is no fanotify support, r=dhylands 2014-10-28 12:32:11 -04:00
Mason Chang
8180f9229c 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
9ebcb66989 Bug 1075727 - Return success/failure in hal::EnableRDS, r=dhylands 2014-10-14 15:16:22 -04:00
Gabriele Svelto
19a4834e59 Bug 1057261 - Cache the preferences affecting process and thread priorities. r=dhylands 2014-09-26 16:37:31 +02:00
Michael Wu
fed09fcf41 Followup to Bug 1041085 - Fix FM RDS HAL code on non-unified builds 2014-09-30 22:03:05 -04:00
Michael Wu
846b6645bf Bug 1041085 - FM RDS support in HAL, r=dhylands 2014-06-26 05:07:23 -04:00
Michael Wu
610334f023 Backed out changeset d1ad5d5bc00f (Bug 1041085) for red 2014-09-30 13:43:22 -04:00
Michael Wu
86e3b61ea2 Bug 1041085 - FM RDS support in HAL, r=dhylands 2014-06-26 05:07:23 -04:00
Gabriele Svelto
eee9e26b8b 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
cd7ba96e9d 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
00471b3504 Backed out changeset 07c91b928cd7 (bug 932698) for causing bug 1047618. a=me 2014-08-01 16:46:21 -04:00
Ryan VanderMeulen
e953ea9c38 Merge inbound to m-c. a=merge 2014-08-01 15:59:05 -04:00
Gabriele Svelto
6c7ded4a5e 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
12cb20a9ef 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
d153061805 Merge b2g-inbound to m-c. a=merge 2014-07-31 15:54:07 -04:00
Kershaw Chang
e18bc2dc93 Bug 1044093 - Avoid calling RegisterUeventListener in main thread, r=dhylands 2014-07-30 01:07:00 +02:00
Nathan Froyd
12c76f15f7 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
b63474122c 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
65ab6b303b Backed out changeset d77f989d6e7d (bug 938809) for bustage 2014-07-30 05:51:38 +02:00
Michael Wu
11b9a78792 Bug 938809 - Support calling seeking/tuning functions off main thread in HAL, r=dhylands 2014-07-29 20:28:12 -04:00
Fabrice Desré
bb4f218464 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
13533598f5 Bug 1038152 - Make the destructor of WindowsGamepad.cpp's Observer private; r=bjacob 2014-07-14 21:49:23 -04:00
Michael Wu
c66cc7a979 Bug 1036873 - Add support for standard V4L2 FM deemphasis control, r=dhylands 2014-07-10 05:48:46 -04:00
Benoit Jacob
9b83c2d49b Bug 1028588 - Fix dangerous public destructors of Mac-specific reference-counted classes - r=mstange 2014-07-06 11:25:31 -04:00
Kershaw Chang
83e7e18fc5 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
dd08a67adb Bug 1028588 - Fix dangerous public destructors in miscellaneous places - r=ehsan 2014-06-23 18:40:03 -04:00
Birunthan Mohanathas
bc0233fe47 Bug 1026535 - Fix mismatched class/struct tags. r=ehsan 2014-06-18 17:57:51 -07:00
Kilik Kuo
7fde2154a4 Bug 1017463 - Remove SetLight / GetLight from PHal.ipdl. r=dhylands 2014-06-11 18:17:23 +08:00
Michael Wu
86b31f629b Bug 938806 - Handle errors better in GonkFMRadio, r=dhylands 2014-06-12 14:36:20 -04:00
Kershaw Chang
f2fa1b8497 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
08364d3403 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
9e7cf58a54 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
9ca7ade729 Bug 1014162 - Make Gamepad.mapping into an enum. r=smaug 2014-05-23 07:39:13 -04:00
Kyle Huey
8c5cca136c Bug 996133: Remove unnecessary NS_DISPATCH_NORMAL arguments to NS_DispatchToMainThread. r=ehsan 2014-05-23 12:53:17 -07:00
Alphan Chen
3682d6b662 Bug 996996 - Move fopen into non-sanboxed process. r=mrbkap 2014-05-21 13:49:36 +08:00
Althaf Hameez
74155c7fd7 Bug 1001206 - Additional regular expressions for OOM Logger r=dhylands 2014-05-16 17:16:20 -07:00
Mike Conley
870e39b558 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
70d3d7939f Bug 690937 - Fixed compilation on mingw
--HG--
extra : rebase_source : 3ff75ba5d6c9fe68a3f195c86176f498db0db5a4
2014-05-12 11:02:40 +02:00
Mason Chang
da2b2f344d Bug 980027 - Part 1: Provide mechanism to set thread priorities. r=gsvelto, r=dhylands 2014-05-05 11:37:00 -04:00
chiajung hung
098a829ab1 Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical 2014-04-30 21:52:00 -04:00
Ed Morley
f080a62903 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
9e3b673303 Bug 993737 - Only fire shutdown notifications on main thread. r=gsvelto 2014-04-30 17:20:30 -07:00
Ted Mielczarek
ef5ccd9de9 bug 690937 - Add XInput support to the Windows gamepad backend. r=jimm 2014-04-16 19:43:39 -04:00
Ted Mielczarek
873a726a19 Bug 996078 - Replace Windows Gamepad DirectInput backend with Raw Input. r=jimm 2014-04-14 13:18:51 -04:00
Carsten "Tomcat" Book
201692bdbe Backed out changeset a89f08f4fd3e (bug 959089) 2014-04-29 12:21:52 +02:00
chiajung hung
01c16a7afc Bug 959089 - Separate GrallocBuffer allocations from Compositor thread(part2). r=nical 2014-04-28 20:46:00 +02:00
Ted Mielczarek
1dc00c5f8c bug 852935 - Add Android gamepad backend. r=snorp, rs=smaug 2014-04-22 10:53:48 -04:00
Birunthan Mohanathas
5f1fde8824 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
20dd87ee29 Backed out changeset 1a6ada013610 (bug 959089) 2014-04-25 17:51:15 +01:00
chiajung hung
c0cf680819 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
d001ae7759 Bug 994971: Don't export nsObserverService.h. r=bsmedberg
--HG--
extra : rebase_source : cd5aa136075086a10cfa03d937743d8a5471fd6c
2014-04-14 12:04:27 -07:00
Kyle Huey
384121563d 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
40b49517d3 Backed out changeset e2d5b2be4142 (bug 994971) for non-unified bustage.
CLOSED TREE
2014-04-14 18:27:52 -04:00
Ryan VanderMeulen
d3859c597c Backed out changesets ddbac34527fe and fa82f32d0c39 (bug 991812) for B2G bustage.
CLOSED TREE
2014-04-14 16:16:18 -04:00
Kyle Huey
46e8243a6d Bug 994971: Don't export nsObserverService.h. r=bsmedberg 2014-04-14 12:04:27 -07:00
Kyle Huey
675439ca71 Bug 991812: Remove uses of RefCounted<T> that live in Gecko. r=ehsan 2014-04-14 12:04:24 -07:00
Benoit Jacob
e8b418c5f5 Bug 987305 - Refactor EnumSerializer - r=nfroyd 2014-04-14 10:17:40 -04:00
Ted Mielczarek
bddbb12352 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
ec6a7031f0 bug 980876 - be smarter about sending gamepad updates from the background thread. r=smaug 2014-04-07 14:28:08 -04:00
snigdha
9cc482da68 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
697caff053 Bug 960426 - Part 2: Modifications for IDL change. r=blassey 2014-03-05 11:54:55 +08:00
Carsten "Tomcat" Book
e9c7dd6611 merge b2g-inbound to mozilla-central 2014-03-20 14:07:58 +01:00
Wes Kocher
847958cbab 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
53aa9fe207 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
3eb57cc81f Bug 964537 - Fix intermittent access through a null pointer. r=dmajor 2014-03-18 14:18:14 -07:00
Ben Kelly
d5eb9aeb05 Bug 980027: Part 1: Provide mechanism to set thread priority via HAL. r=gsvelto 2014-03-17 11:52:42 -04:00
Gabriele Svelto
ad2edb9639 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
eecde05734 Bug 977964 - Move some flags to moz.build; r=glandium 2014-03-03 21:58:37 -05:00
Ehsan Akhgari
7e41f47adf 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
8ddf7de8a5 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
2369fdc788 Bug 968631 - Port some LOCAL_INCLUDES variables to moz.build; r=mshal 2014-02-10 13:41:02 -05:00
Birunthan Mohanathas
02d0812720 Bug 828300 - Replace NS_ARRAY_LENGTH with mozilla::ArrayLength/MOZ_ARRAY_LENGTH. r=ehsan 2014-01-30 13:26:54 -05:00
Dave Hylands
e5402936a4 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
e531ad5bf0 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
a44a01e0be Bug 939372 - Rewrite oom-msg-logger in C or C++ r=dhylands 2014-01-10 22:22:55 -08:00
Ehsan Akhgari
1b83407ce9 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
3440613a39 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
68b00083fd Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo 2013-12-08 21:52:33 -05:00
Vincent Liu
ae149c62c8 Bug 924729 - [Flatfish] :Socket bind() fail in UeventPoller initialization. r=dhylands 2013-12-04 10:18:14 +08:00
Ms2ger
8ed77b8ee2 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
905a3ab9dc 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
a94c34b750 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
322dd501b7 Bug 942334 - Build hal in unified mode; r=cjones
--HG--
extra : rebase_source : b3fae3b4456bfa8ef9920038668b403cc7c8accf
2013-11-25 14:57:18 -05:00
Chris Kitching
f7dde79803 Bug 913985: Part 6 - Remove redundant AndroidBridge::Bridge() checks. r=kats 2013-11-12 10:41:01 -08:00
Chris Kitching
36c7d139c0 Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats 2013-11-12 10:41:01 -08:00
Kyle Machulis
a44135afa5 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
2812d11fce 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
e06d795c71 Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey
26bc04d200 Bug 939044 - Rename remaining MODULE definitions to XPIDL_MODULE. r=mshal 2013-11-19 11:47:43 +09:00
Mike Hommey
ffe0380912 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
354c63f3e7 Bug 852497 - Add a standard V4L2 mode to GonkFMRadio.cpp, r=dhylands 2013-11-14 15:02:30 -05:00
Nathan Froyd
ec839c62b4 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
ebcc1e1abf Bug 918651 - part 5 - qualify all IPDL using statements with required header; r=ehsan 2013-10-01 15:25:07 -04:00
Boris Zbarsky
f365773955 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
817ac2fa3a bug 921565 - look for WM_DEVICECHANGE in Windows gamepad backend and rescan for devices. r=jimm 2013-10-24 15:06:19 -04:00