Justin Lebar
b9b9b91ceb
Bug 844323 - Part 2 (The Main Event): Move ProcesPriorityManager to the main process. r=bent,khuey
2013-04-25 20:53:26 -04:00
Justin Lebar
c73b99561e
Bug 844323 - Part 1: Move process preallocation logic out of ContentParent and into a new file, PreallocatedProcessManager. r=bent
...
Also make the PreallocatedProcessManager respond to pref changes. This allows us to write a test involving the preallocated process. Making this change was the main motivation for this patch; I moved the logic out of ContentParent because with the pref-watching code it was becoming unweildy.
2013-04-25 20:53:26 -04:00
David Zbarsky
9e176d3804
[Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 7 r=Ms2ger
2013-04-21 21:25:28 -04:00
David Zbarsky
fac86787ae
Bug 857884 - Use dom::EventTarget more in content/ and dom/ Part 4 r=Ms2ger
2013-04-19 18:18:32 -04:00
Ryan VanderMeulen
0c3a721fee
Backed out changesets a550dadafa30 and 315f6b451d07 (bug 857884) for mochitest failures on a CLOSED TREE.
2013-04-11 13:59:02 -04:00
David Zbarsky
899ae8e46f
Bug 857884 - Use dom::EventTarget more in content/ and dom/ Part 4 r=Ms2ger
2013-04-11 12:24:47 -04:00
Blake Kaplan
7de6360cc3
Bug 846067 - Add a missing interface to the QI impl. r=jlebar
...
--HG--
extra : rebase_source : 3f2d51ba19092cb85a1f481bdfe75a8a5d2dbd9e
2013-02-28 14:36:55 -08:00
Justin Lebar
5386132d2f
Bug 844970 - Use a grace period for all process priority downgrades. r=cjones
2013-02-27 14:28:57 -05:00
Justin Lebar
6b640c9515
Bug 842679 - Part 3: Wait for a tab-child to be created before modifying priorities in the ProcessPriorityManager. r=cjones
2013-02-22 23:24:28 -05:00
Justin Lebar
d4e696a9c0
Bug 841563 - Actually set PROCESS_PRIORITY_FOREGROUND_HIGH when we want to. r=cjones
2013-02-15 08:40:01 -05:00
Justin Lebar
4f1627e9e7
Bug 836654 - Part 6: If a process is "critical" and holds the "cpu" or "high-priority" wake lock, give it priority FOREGROUND_HIGH. r=cjones
2013-02-14 15:41:30 -05:00
Justin Lebar
b264db7208
Bug 835563 - When an iframe mozbrowser's embedder calls setVisible(false), immediately send the relevant process into the background (if none of its other frames are in the foreground). r=cjones
2013-02-14 15:41:29 -05:00
Justin Lebar
306bf90c91
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
Justin Lebar
cb341cafa3
Bug 838625 - Add logcat logging to ProcessPriorityManager. r=cjones
...
The logging is placed behind an #if 0 guard.
--HG--
extra : rebase_source : 9105e7225a2e64138c4d6fb2ea62209fc7f29ca2
2013-02-08 14:32:23 +00:00
Justin Lebar
185cd851c6
Bug 836735 - Add interface to QI implementation for ProcessPriorityManager. r=bent
2013-01-31 14:44:12 -05:00
Andrea Marchesini
3f200030f7
Bug 828283 - Apps playing sound should not be muted when the screen is put to sleep., r=sicking
2013-01-28 12:47:18 +01:00
Justin Lebar
0f0d04a754
Bug 834059 - Send processses into the foreground when they first launch, so they don't get killed quite so quickly. r=cjones
...
This patch also sends the preallocated process into the background immediately after it's launched.
2013-01-26 16:14:01 -05:00
Trevor Saunders
138e996dfc
no bug - remove a bunch of extra ';'s to make -pedantic happy
2013-01-11 05:14:04 -05:00
Justin Lebar
c208b810b4
Bug 827217 - Fix null-pointer crash with webgl.can-lose-context-in-foreground=false.
2013-01-07 09:44:22 +01:00
Kan-Ru Chen (陳侃如)
f34bb3f29c
Bug 793105 - Add a "backgroundPerceivable" class for audio-channel-content. r=jlebar,roc
2013-01-05 13:03:51 +08:00
Chris Jones
3b5768770c
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
Justin Lebar
3a8354869f
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
Gabriele Svelto
ba62bce29e
Bug 814771 - Add a cancelable runnable and use it to cancel a pending memory minimization procedure when an application is brought to the foreground r=jlebar
2012-12-11 19:13:29 +01:00
Boris Zbarsky
2cd0f8f7b1
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
Boris Zbarsky
6d9ddce866
Bug 812086 part 2. Convert internal consumers of mozvisibilitychange events to the unprefixed version. r=smaug
2012-11-16 14:22:56 -08:00
Nathan Froyd
4c61ef9ec5
Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan
2012-10-29 19:32:10 -04:00
Justin Lebar
46036e9207
Bug 800166 - Fire a low-memory notification when a B2G process is backgrounded. r=gwagner,bent
2012-10-22 15:40:19 -04:00
Koosha Khajeh Moogahi
dcf81f4fb0
Bug 788242: Implement and make use of void versions of NS_ENSURE_* macros; r=ehsan,bsmedberg
2012-09-14 14:30:31 +04:30
Ehsan Akhgari
e368dc9c85
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
Justin Lebar
f54d116fea
Bug 768832 - Set OOM adjust for background windows. r=bz,cjones
2012-08-05 01:09:39 -04:00