Commit Graph

94 Commits

Author SHA1 Message Date
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
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
Alan Huang
155bc26448 Bug 822325: Implement an LRU pool for background app processes. The LRU app will get the smallest oom_adj and get killed last. r=khuey 2013-10-01 11:54:59 +08:00
Thinker Lee ext:(%2C%20Cervantes%20Yu%20%3Ccyu%40mozilla.com%3E)
46e38d15e3 Bug 771765 - Support template content process, part 4: Clone IPC protocol objects that will be up when the template process is ready. r=khuey, r=bent 2013-06-03 18:14:37 +08:00
Tom Schuster
195b18c157 Bug 915822 - Make GetTabChildFrom a class method on TabChild. r=smaug 2013-09-12 15:24:11 -04:00
Patrick McManus
8c2b280e9b bug 888268 - wifi tickler for mitigating 802.11 psp mode on android r=dougt
--HG--
extra : rebase_source : a767b6c10501105b3c5d22043f11745807caf2f9
2013-07-11 11:39:36 -04:00
Mike Shal
2f5d43999f Bug 868536 - Move ipdl.mk files to moz.build; r=gps
Author: Mike Shal <mshal@mozilla.com>
2013-07-01 09:56:28 -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
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
Ted Mielczarek
704e2319bc bug 604039 - Add DOM Gamepad APIs. r=smaug
--HG--
extra : rebase_source : ffffdc4549da1b25ea263b623c05ae1afb3d46a0
2011-08-03 14:12:08 -04: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
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
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
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
Marco Chen
2ff140a78a Bug 823203 - HalParent::ActorDestroy() needs to handle the UnregisterSwitchObserver() when content process is killed. r=jlebar, a=blocking-basecamp 2012-12-21 16:37:58 +08:00
Justin Lebar
897484ed78 Bug 819791 - Part 5: Remove an unnecessary TArray copy in hal/sandbox. r=mounir 2012-12-18 20:16:06 -05:00
Steven Lee
3daa512941 Bug 817919 - Remove FM radio implementations in hal_sandbox. r=cjones 2012-12-04 08:57:31 -08:00
Steven Lee
67df335bb1 Bug 809106 - RegisterSwitchObserver through hal::Sandbox. r=jlebar 2012-11-29 17:52:02 -05:00
Boris Zbarsky
69ab92b7a0 Bug 815671 part 5. Various miscellaneous fixups in dom/ and hal/ code to copy arrays only when we explicitly want to. r=jlebar 2012-11-29 11:14:14 -05:00
Kan-Ru Chen (陳侃如)
43ad18d1ee Bug 806363 - Remove wake locks on content-shutdown. r=jlebar 2012-11-17 23:05:18 +08:00
Gene Lian
49f7f7432c 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
1942917947 Bug 790393 - Add MozPower.factoryReset() for factory reset. r=cjones, r=vingtetun, sr=sicking 2012-10-04 17:28:34 +08:00
Steven Lee
e340059732 Bug 793759 - Implement HalChild::ActorDestroy and prevent HalChild calls to HalParent after ActorDestroy is called. r=cjones 2012-10-06 21:53:22 -04:00
Gene Lian
60d335c589 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
Chris Jones
fcbd8b701e Bug 794188: Check the fmradio permission at process boundaries. r=jlebar 2012-09-29 15:09:19 -07:00
Gene Lian
94eb40e12d Bug 790527 - When rebooting/powering off, go through normal gecko shutdown. r=bsmedberg,sr=cjones 2012-09-26 17:12:33 +08:00
Gene Lian
aa922bc172 Bug 794127 - hal::AdjustSystemClock should take a 64-bit value. r=cjones 2012-09-26 11:51:29 +08:00
Chris Jones
47adc85527 Bug 793479: Update C++ permission-checking API to match that of the message-manager one. r=jlebar 2012-09-25 11:52:30 -07:00
Steven Lee
bfafbca8ed Bug 792443 - hal::RegisterSystemTimeChangeObserver should register the observer through sandbox, r=jlebar 2012-09-23 13:00:32 -04:00
Steven Lee
928a3692d4 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
Ehsan Akhgari
a51e1f674c Backout bug 792109, bug 749053 and bug 779500 because of leaks in debug tests 2012-09-19 15:42:18 -04:00
Steven Lee
1566e37586 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
Justin Lebar
767acadbe2 Bug 791261 - Remove the requirement that a TabParent must be Active in order to send vibrations. Also remove TabParent::Active(). r=cjones 2012-09-19 09:48:38 -04:00
Chris Jones
1273b139d3 No bug: Update the cross-process permission checks for time permissions to match the DOM check. r=jlebar 2012-09-18 20:25:12 -07:00
Ms2ger
10ec580e54 Bug 787933 - Stop using stdin types in IPC code; r=bsmedberg+cjones sr=cjones 2012-09-17 10:37:20 +02:00
Steven Lee
b50ad6db3a Bug 714358 System time change implementation, r=mounir 2012-09-11 02:40:00 -04:00
Chris Jones
1834ac946d Bug 789130: Unregister hal observers on HalParent::ActorDestroy(), and make Unregister*() functions resilient to unregister-of-not-registered observers. r=jlebar 2012-09-06 14:58:36 -07:00
Gene Lian
468c7c6ef3 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
Chris Jones
ce51cbe36a Bug 782460: Fix hal enum serializers, make wake lock permission checking match the DOM's, and log a message when an app process fails a backstop permission check. r=gal 2012-08-25 15:38:04 -07:00
Ehsan Akhgari
8c296bbcd4 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
Chris Jones
005e04d8c2 Bug 776835: Check process capabilities in hal. r=blassey,jlebar 2012-08-16 12:34:53 -07:00
Phil Ringnalda
2400fbd6d1 Backout 5439489dc320, 983f76488e59, 7a92558a8dec (Bug 714358) for debug build assertions and leaks 2012-08-07 22:18:27 -07:00
Steven Lee
ab3e1cc85d Bug 714358: System time change implementation, r=mounir 2012-08-07 19:20:00 -04:00
Justin Lebar
20266d6b15 Bug 768832 - Set OOM adjust for background windows. r=bz,cjones 2012-08-05 01:09:39 -04:00
Gene Lian
cd33639a03 Bug 776785 - Alarm API - hal::SetAlarm takes |long|s, but should instead take PRInt32s. r=jlebar 2012-07-31 10:52:57 +08:00
Joshua Cranmer
4a5b32fae2 Bug 702877 - Replace NS_OVERRIDE with MOZ_OVERRIDE. r=ehsan
--HG--
extra : rebase_source : 1843575683c3897f96f3966cbce26140ff1a7d90
2012-07-06 13:15:45 -05:00
Gene Lian
6c4a2306fe Bug 749551 - Alarm API (Hal/Gonk). r=cjones 2012-07-06 12:42:10 +02:00
Ed Morley
2a1d58cfe5 Backout 1dba66cfad9a, ed768b821da1, 23fd9a8d0c9a, 1e90805d96aa, 07425f0e921e (bug 749551) for M3 failures 2012-07-03 11:23:54 +01:00