Commit Graph

278 Commits

Author SHA1 Message Date
Phil Ringnalda
e12e2009ff Merge m-c to a CLOSED TREE birch 2013-05-27 11:47:01 -07:00
Fernando Jiménez
80a2a84f6f Bug 874148 - crash in libxul.so!mozilla::hal_impl::GonkDiskSpaceWatcher::OnFileCanReadWithoutBlocking [GonkDiskSpaceWatcher.cpp : 238 + 0x4]. r=fabrice 2013-05-27 18:35:27 +02:00
Mike Shal
6f32ddf61c Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
David Zbarsky
66e862daca Bug 864206 - Use dom::Touch instead of nsIDOMTouch where possible r=Ms2ger 2013-05-17 13:17:53 -07:00
Michael Wu
bce75998cc Bug 870198 - Support basic display functions on gonk-JB, r=vlad 2013-05-07 23:58:22 -04:00
Justin Lebar
35f8a21258 Bug 870480 - Follow-up: Try to fix a warning-as-error.
> error: suggest parentheses around comparison in operand of '!='
2013-05-10 11:58:09 -04:00
Justin Lebar
e39827c3d4 Bug 870480 - Notify wake lock listeners when a process adds or removes a wake lock, even if the wake lock itself doesn't change state. r=kanru
This also fixes two other bugs:

1) If a process crashed while holding a wake lock, we'd send a wake lock changed notification without including the list of locking processes.  This could cause us to incorrectly believe that no processes were holding the lock.

2) If a process crashed while holding a wake lock on topic X, and if no other process held a wake lock on that topic, and there were no wake lock listeners registered, we wouldn't remove X from our hashtable of wake lock topics.  We would correctly record the fact that the lock was not held, so this bug was benign.
2013-05-10 11:20:52 -04:00
Fernando Jiménez
4ed17e145d Bug853350 - Followup. error: 'aService' was not declared in this scope. r=me 2013-05-10 13:57:26 +02:00
Fabrice Desré
559e6dfd4a Bug 853350 - Implement a notification system to monitor disk space r=bent 2013-05-09 15:57:31 -07:00
Justin Lebar
65994031f8 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
Gene Lian
f3ee828a67 Bug 866366 - [Buri][Alarm]it will not start alarm until light up the LCD. r=jlebar a=tef+ 2013-05-02 18:33:58 +08:00
Ms2ger
a9a8f91052 Bug 866600 - Avoid using nsIDOMDocument::GetHidden; r=mounir 2013-05-05 09:03:15 +02:00
Michael Wu
43eb22d2fd Bug 868150 - Add basic support for identifying and building for JB, r=glandium 2013-05-02 11:42:52 -04:00
Justin Lebar
d31b7f65ff Bug 861441 - When changing a proces's CPU priority, call setpriority() on all threads, not just the main thread. r=gsvelto
It turns out that setpriority() on Linux sets the priority of just one
thread.  If you call setpriority() on a pid, you're setting the priority
of only the main thread in that process.
2013-04-25 20:53:27 -04:00
Justin Lebar
6af614d8d4 Bug 864527 - Convert a static nsRefPtr to static StaticRefPtr in GonkHal. r=mounir 2013-04-23 11:30:25 -04:00
Mike Shal
24b4056720 Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Ted Mielczarek
d793625bb3 bug 690938 - Get vendor id and product id on Linux for bluetooth gamepads. r=karlt 2013-04-09 08:43:24 -04:00
Ehsan Akhgari
aa3139644f Bug 579517 follow-up: Remove NSPR types that crept in 2013-04-02 20:59:27 -04:00
Kyle Machulis
f5e3aadf0b Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
d2b6e6e01a Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
5663b98bc5 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Jan Beich
9c2cbfd7f2 Bug 854152 - Make sure GLIB_CFLAGS are passed for LinuxGamepad.cpp. r=ted 2013-03-27 21:20:27 -04:00
Michael Vines
2e05ebb7af Bug 851721 - Emit system-reboot/system-power-off events for Gonk backend. r=kchen 2013-03-23 19:26:50 -07:00
Vasil Dimov
0753d90653 Bug 819016 - Create some helper functions for reading /sys files. r=bsmedberg 2013-03-27 11:19:09 -04:00
Ted Mielczarek
838ee76456 bug 604039 - Linux gamepad backend. r=karlt
--HG--
extra : rebase_source : 32d47af727b9a6209d321a8622a2f3ecb7a44d25
2011-08-03 14:12:08 -04:00
Ted Mielczarek
fa5904a1e2 bug 604039 - Windows gamepad backend using DirectInput. r=bas
--HG--
extra : rebase_source : 9a4e13dea21f6f57a8ca2bf677ff0a2f0a0dc4eb
2011-08-03 14:12:08 -04:00
Jason Orendorff
e85cf0f9c9 Bug 604039 - Mac gamepad backend. r=smichaud
--HG--
extra : rebase_source : bd58cfd041c9d72a23798fa221bdfbdc3f33e862
2011-08-03 08:06:00 -04:00
Ted Mielczarek
704e2319bc bug 604039 - Add DOM Gamepad APIs. r=smaug
--HG--
extra : rebase_source : ffffdc4549da1b25ea263b623c05ae1afb3d46a0
2011-08-03 14:12:08 -04:00
Mike Shal
ea1d9b8ba7 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Gregory Szorc
629b5d86c6 Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Gregory Szorc
795c5eeeff Bug 818246 - Part 1: Remove unncessary definitions of XPIDL_MODULE; r=glandium
XPIDL_MODULE defaults to MODULE. These Makefile.in were setting
XPIDL_MODULE to the same value as MODULE.

--HG--
extra : rebase_source : e96bd34d5949d0ab94cecbec35d6c9f4bffec01e
2013-03-07 05:03:51 -08:00
Gregory Szorc
803629b9c6 Merge mozilla-central into build-system
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Gregory Szorc
76dcf5dfa9 Bug 784841 - Part 18v: Convert misc remaining parts; f=Ms2ger rs=ted 2013-02-25 12:47:23 -08:00
Jorge Luis Mendez
8d0e59a887 Bug 793728 - Implement OS X backend for the Ambient Light API. r=BenWa, r=dougt, r=bz 2013-02-22 00:39:42 -05:00
Justin Lebar
924a0396b5 Bug 842679 - Part 2: Add PROCESS_PRIORITY_UNKNOWN to hal. r=cjones 2013-02-22 23:24:28 -05:00
Justin Lebar
57da7526a6 Bug 841563 - Actually set PROCESS_PRIORITY_FOREGROUND_HIGH when we want to. r=cjones 2013-02-15 08:40:01 -05:00
Justin Lebar
f1f9579558 Bug 836654 - Part 4: Add PowerManagerService::NewWakeLockOnBehalfOfProcess. r=cjones 2013-02-14 15:41:30 -05:00
Justin Lebar
11d5a89e4e Bug 836654 - Part 3: Modify hal to accept a ContentParent ID in ModifyWakeLock(). r=cjones
Also return the list of processes holding the lock in GetWakeLockInfo
and in the wake-lock changed notification.
2013-02-14 15:41:30 -05:00
Justin Lebar
c24d48d121 Bug 836654 - Part 2: Add PROCESS_PRIORITY_FOREGROUND_HIGH. r=cjones 2013-02-14 15:41:30 -05:00
Justin Lebar
cf31adf45a Bug 836654 - Part 1: Don't require the "power" permission to do GetWakeLockInfo from a child process. r=cjones 2013-02-14 15:41:29 -05:00
Justin Lebar
81e5bc4c3f Bug 836654 - Part 0: Add constants CONTENT_PROCESS_{UNKNOWN_ID,MAIN_ID} to HalTypes.h and remove the equivalent constants from ContentParent.h. r=cjones 2013-02-14 15:41:29 -05:00
Justin Lebar
83fcd3e9a5 Bug 837856 - Rename hal_sandbox::IsHalChildLive() to HalChildDestroyed(). r=mounir
The return value stays the same (that is, the function was mis-named).
2013-02-11 23:09:25 -05:00
Justin Lebar
0d683ee58a Bug 838625 - Add hal::ProcessPriorityToString and use it in ProcessPriorityManager logging. r=cjones
--HG--
extra : rebase_source : 0a9ecf848a9c6c3ba37acafa24c775154ccb417f
2013-02-08 14:32:23 +00:00
Alan Huang
9c9c1cdb68 Bug 839312 - Specify gonk low-memory-killer priorityClasses in the correct order and fix typo in b2g.js which was preventing us from giving the kernel one of the necessary priority classes. r=jlebar 2013-02-08 14:09:26 +00:00
Marco Chen
4f75cb4530 Bug 827707 - [GonkSensor] Sensor field in sensors_event_t doesn't mean the index of sensors list from HAL. r=mwu 2013-01-24 10:45:07 +08:00
Mats Palmgren
d5826be6d7 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Philipp von Weitershausen
692690df94 Bug 823798 - Route FM radio through analog path. r=mwu a=blocking-b2g 2013-01-14 22:06:41 -08:00
Trevor Saunders
a6e1ca0693 no bug - mark several classes final to avoid warnings about deleting objects of polymorphic type 2013-01-11 04:43:29 -05:00
Thinker K.F. Li
5f96d8a4b7 Bug 817939 - restart ioctl with EINTR for FMRadio. r=jlebar 2013-01-09 10:13:46 +01:00
Gene Lian
0c82742df4 Bug 821671 - Check alarm API parameters in the parent (part 1, provide .AssertAppProcess() with different types). r=sicking 2012-12-22 19:53:38 +08:00