Cervantes Yu
b22bcfe208
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
853ac30f30
Bug 964537 - Fix intermittent access through a null pointer. r=dmajor
2014-03-18 14:18:14 -07:00
Ben Kelly
6c61d68a4c
Bug 980027: Part 1: Provide mechanism to set thread priority via HAL. r=gsvelto
2014-03-17 11:52:42 -04:00
Gabriele Svelto
58ebcc699d
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
83afc1afae
Bug 935778 - Part 0.4: Spray even more MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree
2014-02-21 09:11:33 -05:00
Birunthan Mohanathas
89f96b243e
Bug 828300 - Replace NS_ARRAY_LENGTH with mozilla::ArrayLength/MOZ_ARRAY_LENGTH. r=ehsan
2014-01-30 13:26:54 -05:00
Dave Hylands
76b05a00d5
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
21f0453e57
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
0160f0ba21
Bug 939372 - Rewrite oom-msg-logger in C or C++ r=dhylands
2014-01-10 22:22:55 -08:00
Ehsan Akhgari
eaa7491d77
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
Vincent Liu
2922e3e361
Bug 924729 - [Flatfish] :Socket bind() fail in UeventPoller initialization. r=dhylands
2013-12-04 10:18:14 +08:00
Vasanthakumar Pandurangan
d055848b17
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
3f0ed9fd46
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
Michael Wu
c51e570fb6
Bug 852497 - Add a standard V4L2 mode to GonkFMRadio.cpp, r=dhylands
2013-11-14 15:02:30 -05: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
Fabrice Desré
6866b5672d
Bug 917602 - Fix some shutdown crashes r=bent
2013-09-18 10:53:07 -07:00
Vasanthakumar (Vasanth) Pandurangan
48a132e8a2
Bug 911294 - Fix FM UI showing previously tuned frequency. r=pzhang, r=mwu
2013-09-10 01:39:38 -07:00
Alan Huang
c53c54ab8f
Bug 914728 - Make ProcessPriorities/OomScoreAdjusts and KillUnderMB two different sets and enlarge OomScoreAdjusts. r=gsvelto
2013-09-11 15:12:56 +08:00
Boris Zbarsky
d201003d5f
Bug 909645 part 2. Don't include ipdl headers in Hal.h. r=ms2ger
2013-08-28 00:14:57 -04:00
Tapas Kundu
4d6d5b66fd
Bug 788975 - Orientation Observer uses accelerometer sensor. r=mwu
2013-08-27 20:10:57 -07:00
Birunthan Mohanathas
8d67bc95f2
Bug 784739 - Switch from NULL to nullptr in hal/. r=ehsan
2013-08-23 15:51:15 -04:00
Joshua Cranmer
a90a9797ad
Bug 884061 - Part 3j: Use NS_DECL_THREADSAFE_ISUPPORTS in hal/, r=jlebar
...
--HG--
extra : rebase_source : a3fa50183c82ffaa68a32ce13a314698a4bd495b
2013-07-18 21:23:31 -05:00
Tapas Kundu
6b0a399e06
Bug 892037 - Update Date/Time even if hardware RTC fails to update. r=mwu
2013-07-11 14:27:12 -07:00
Thomas Zimmermann
aaf7ec7dcc
Bug 891259: Set discharging time to 'Infinity', r=mounir
...
If the discharging time is unknown, the W3C Battery Status API
requires its value to be 'Infinity'. The current code returns a
discharging time of 0 when discharging the battery. This patch
fixes the problem.
2013-07-10 15:47:30 +02:00
Alan Huang
526360a5df
Bug 887192 - Let GonkHal write lowmemorykiller parameters in increasing order and add assertion when someone breaks the rule. r=jlebar
2013-06-29 12:14:02 +08:00
Justin Lebar
09d2312322
Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
cab87a0cce
Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
This is a mechanical change made with sed. Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Steven Lee
a22845cafb
Bug 880162 - Do not callback FM_RADIO_OPERATION_ENABLE when disabling FM radio. r=jlebar
2013-06-11 08:21:25 -04:00
Justin Lebar
6478e634ac
Bug 879529 - Fix thread priorities in B2G child processes. r=gsvelto
...
Previously, suppose we were changing a process's priority from 18 to 1.
If a task had priority 19, that should have changed to 2. But instead
we changed it to 18! That's totally wrong.
2013-06-05 07:55:01 -04: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
Michael Wu
bce75998cc
Bug 870198 - Support basic display functions on gonk-JB, r=vlad
2013-05-07 23:58:22 -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
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
Vasil Dimov
0753d90653
Bug 819016 - Create some helper functions for reading /sys files. r=bsmedberg
2013-03-27 11:19:09 -04: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
c24d48d121
Bug 836654 - Part 2: Add PROCESS_PRIORITY_FOREGROUND_HIGH. r=cjones
2013-02-14 15:41:30 -05: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
Thinker K.F. Li
5f96d8a4b7
Bug 817939 - restart ioctl with EINTR for FMRadio. r=jlebar
2013-01-09 10:13:46 +01: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
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
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