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
Kan-Ru Chen (陳侃如)
87e76c076e
Bug 793105 - Add a "backgroundPerceivable" class for audio-channel-content. r=jlebar,roc
2013-01-05 13:03:51 +08:00
Chris Jones
b90b649e31
Bug 823610: Make discarding GL contexts of foreground pages on memory pressure pref-able, and pref off for b2g. r=jgilbert,jlebar
2013-01-03 15:39:25 -08:00
Chris Jones
fdd82cec60
Rollup of bug 821192: Ensure that content processes don't see an inconsistent app dir. r=bent,dhylands
...
Bug 821192, part 1: Fix the watchdog timeout code. r=dhylands
Bug 821192, part 2: Add an interface to join all live content processes. r=bent
Bug 821192, part 3: Join all subprocesses before restarting the main process, when we're e.g. about to apply an update. r=dhylands
2012-12-28 01:45:16 -08:00
Chris Jones
2e53e50313
Bug 822398: Use PL_DHASH_REMOVE to remove an entry we're enumerating. r=kanru
2012-12-27 02:43:55 -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
97829d731f
Bug 821440 - Allow the B2G homescreen to run in the background with a decreased oom_score_adj compared to vanilla background apps. r=cjones
2012-12-18 21:37:35 -05: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
Thomas Zimmermann
bf3895a623
Bug 758103 - Return charging time of zero if no battery interface exists. r=mounir, r=dhylands
...
On the PandaBoard, and probably other platforms, no battery exists and
the related kernel interfaces are missing. The HAL returns 'charging' at
a battery level of 100%. The charging time is set to 'unknown'. This is
inconsistent according to the battery manager.
With this patch, the returned charging time is set to zero, which fulfills
the battery manager's requirements. The patch also cleans up and simplifies
the source code.
2012-11-29 20:18:46 +01:00
Jeff Walden
e0523203c9
Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger
2012-12-14 18:58:45 -05:00
Gregor Wagner
4b0096bfc9
Bug 820135 - Preferences: We don't save prefs when we reboot. r=cjones
2012-12-12 15:41:07 -08:00
Josh Matthews
63e92100b1
Backed out changeset ea39e0af0831 (bug 820135)
2012-12-12 02:23:10 -05:00
Gregor Wagner
012db46f14
Bug 820135 - Preferences: We don't save prefs when we reboot. r=cjones
2012-12-11 22:39:25 -08:00
Steven Lee
3daa512941
Bug 817919 - Remove FM radio implementations in hal_sandbox. r=cjones
2012-12-04 08:57:31 -08:00
Justin Lebar
7aac24a9e8
No bug: Fix whitespace error. DONTBUILD
2012-12-03 16:56:54 -05: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 (陳侃如)
21004569fc
Bug 814822 - Notify wake lock change when content crashes. r=jlebar
2012-11-27 10:28:11 +08:00
Kan-Ru Chen (陳侃如)
43ad18d1ee
Bug 806363 - Remove wake locks on content-shutdown. r=jlebar
2012-11-17 23:05:18 +08:00
Boris Zbarsky
1dc187ca64
Bug 812086 part 3. Convert internal consumers of mozHidden and mozVisibilityState to the unprefixed versions. r=smaug
2012-11-16 14:22:56 -08:00
Steven Lee
d01969e517
Bug 808983 - Don't call hal_sandbox::Vibrate when ipc is broken. r=jlebar
2012-11-08 14:35:03 -05:00
Steven Lee
c1e57fbdec
Bug 800263 - [FM Radio] Launch the FM Radio with headphone already plugged-in will cause screen freeze. r=cjones
2012-11-06 22:32:00 -05:00
Alan Huang
454ff67f83
Bug 802029 - When PollSensors() found one of its event type is SENSOR_UNKNOWN, don't create a SensorRunnable. r=mwu
2012-10-31 15:03:19 +08:00
Andrea Marchesini
70e95a96b4
Bug 703612 - Make DBUS calls asynchronous to prevent slowness because of DBus daemon being overloaded in Battery API UPower backend. r=mounir
2012-11-02 16:11:50 -04:00
Justin Lebar
8a80bd0a22
Bug 771195 - Fire memory pressure events on Gonk. r=dhylands
2012-10-31 13:29:14 -04:00
Nathan Froyd
f9b2a74082
Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan
2012-10-29 19:32:10 -04:00
Benjamin Chen
7a6895cd0b
Bug 797817 - Update the battery indicator led when receiving battery status change. r=cjones
2012-10-22 11:10:05 +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
Isaac Aggrey
e4756de38b
Bug 794510: Part 4 - Use PR_NewLogModule instead of PR_LOG_DEFINE; r=ehsan,wtc
2012-10-13 15:56:35 -05:00
Steven Lee
2e0526c0c4
Bug 790499 - Time API: Call JS_ClearDateCaches() to update Date object's timezone when the system timezone is reset, r=jlebar
2012-10-17 00:26:00 -04:00
Andreas Gal
deb7e01143
Bug 800533 - Don't handle magnetic field sensor, r=mwu
2012-10-16 01:11:06 -04: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
Gina Yeh
78c37a4bca
Bug 796300 - Final version: Set audio device BLUETOOTH_SCO_HEADSET to unavailable when disconnect Sco socket, r=qdot
2012-10-03 10:55:28 +08: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
Doug Turner
b6b2b821ab
Bug 790503 - On Mac Mini, defaultCalibration reads outside of sensors[]. r=jruderman@gmail.com,blassey
2012-10-01 20:45:32 -07:00
Chris Jones
fcbd8b701e
Bug 794188: Check the fmradio permission at process boundaries. r=jlebar
2012-09-29 15:09:19 -07:00
Vincent Chang
a0129fa495
Bug 793558 - Time API: changes does not persist after a restart. r=mwu
2012-09-28 14:38:50 +08:00
Gina Yeh
323709cc8c
Bug 794903 - Final version: BluetoothScoManager implementation, r=qdot
2012-09-29 17:39:05 +08: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
foudfou
62d7406c52
Bug 785542 - Convert usages of PR_MIN and PR_MAX to NS_MIN and NS_MAX; r=ehsan
...
Occurences of PR_MAX in layout/style/nsCSSProps.cpp and xpcom/glue/nsTArray.h
can not be converted without C++11 support (constexpr).
--HG--
extra : rebase_source : 3b4f7e26690fad487dd11594449948411d4e79bc
2012-09-27 23:44:47 +02:00
Michael Wu
d8733cbdcf
Bug 793809 - Take FM radio initialization off main thread, r=jlebar
2012-09-26 15:35:40 -04:00
Thomas Zimmermann
318aaffea1
Bug 794051 - Read battery status via fgets. r=dhylands
...
The call to fscanf for reading the battery status used an incorrect pointer in its
arguments. The code only worked because the first byte of a character array is the
first element within the array. To fix this problem, fscanf has been replaced by
fgets, which is less error prone and checks the length of the supplied array.
Additionaly, we don't want to operate on an undefined result if fgets fails. In
this case we assume that the battery is not being charged.
2012-09-26 08:45:06 -07:00