Eric Rahm
f5003d5120
Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
...
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
PR_LOG_ERROR -> LogLevel::Error
PR_LOG_WARNING -> LogLevel::Warning
PR_LOG_WARN -> LogLevel::Warning
PR_LOG_INFO -> LogLevel::Info
PR_LOG_DEBUG -> LogLevel::Debug
PR_LOG_NOTICE -> LogLevel::Debug
PR_LOG_VERBOSE -> LogLevel::Verbose
Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.
Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 22:17:33 -07:00
Wes Kocher
2a7ed059f1
Backed out 14 changesets (bug 1165515) for b2g mochitest-6 permafail CLOSED TREE
...
Backed out changeset 9b97e2aa2ed9 (bug 1165515)
Backed out changeset 150606c022a2 (bug 1165515)
Backed out changeset 4e875a488349 (bug 1165515)
Backed out changeset 467e7feeb546 (bug 1165515)
Backed out changeset d6b6cc373197 (bug 1165515)
Backed out changeset 0615265b593c (bug 1165515)
Backed out changeset fafd1dce9f08 (bug 1165515)
Backed out changeset d1df869245f9 (bug 1165515)
Backed out changeset 6876a7c63611 (bug 1165515)
Backed out changeset b7841c94a9a3 (bug 1165515)
Backed out changeset e5e3617f7c73 (bug 1165515)
Backed out changeset 39be3db95978 (bug 1165515)
Backed out changeset 0ec74176f8de (bug 1165515)
Backed out changeset 5b928dd10d71 (bug 1165515)
2015-06-01 17:57:58 -07:00
Eric Rahm
0baf91e33f
Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
...
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
PR_LOG_ERROR -> LogLevel::Error
PR_LOG_WARNING -> LogLevel::Warning
PR_LOG_WARN -> LogLevel::Warning
PR_LOG_INFO -> LogLevel::Info
PR_LOG_DEBUG -> LogLevel::Debug
PR_LOG_NOTICE -> LogLevel::Debug
PR_LOG_VERBOSE -> LogLevel::Verbose
Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.
Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 14:31:01 -07:00
Eric Rahm
5b59cf4e0b
Bug 1165515 - Part 1: Convert PR_LOG to MOZ_LOG. r=froydnj
2015-05-21 13:22:04 -07:00
Eric Rahm
ddc8ac650b
Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj
2015-05-19 11:15:34 -07:00
Gabriele Svelto
46b9ac9667
Bug 1157030 - Stop special-casing the homescreen in the process priority manager. r=khuey, r=dhylands
2015-04-30 13:12:21 +02:00
Gabriele Svelto
962ba4dc61
Bug 1157030 - Prevent visibility changes from affecting the process priority when the screen is off. r=khuey
2015-05-11 23:03:42 +02:00
Gabriele Svelto
1ab6d98ea4
Bug 1157030 - Revert bug 1142806. r=khuey
2015-04-30 11:25:29 +02:00
Eric Rahm
06d4f75aa8
Bug 1163201 - Part 1: Remove instances of #ifdef PR_LOGGING in dom/. r=froydnj
...
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-14 10:13:23 -07:00
Andrew McCreight
92010d3e4c
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Kan-Ru Chen (陳侃如)
952270ac76
Bug 1142806 - Try to keep at least one foreground process at any time. r=gsvelto
2015-04-13 16:25:09 +08:00
Ehsan Akhgari
ea41d8de48
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Gabriele Svelto
2c38bf9d96
Bug 852925 - Freeze priority changes when the screen is turned off. r=khuey
2015-03-09 16:33:33 +01:00
Gabriele Svelto
43dd3c35fa
Bug 892371 - Adjust oom_score_adj values for foreground processes according to an LRU policy. r=dhylands, r=khuey
2015-02-25 09:37:38 +01:00
Chris Peterson
683330d38c
Bug 1138198 - Remove unused/undefined member function ParticularProcessPriorityManager::OnChannelConnected. r=khuey
2015-02-28 22:49:57 -08:00
Gabriele Svelto
6213e9e4d0
Bug 1119277 - Remove the process CPU priority parameter and simplify all the associated code. r=khuey, r=dhylands
2015-02-26 12:43:22 +01:00
Ting-Yu Chou
04a068dab8
Bug 1127189 part 1 - Avoid redundant observers from ParticularProcessPriorityManager. r=khuey
2015-02-10 11:12:26 +08:00
Kan-Ru Chen (陳侃如)
4d157a60e2
Bug 1114890 - Use TabParent::GetFrom everywhere. r=billm
2015-02-05 16:47:32 -05:00
Ryan VanderMeulen
f90c1c2e5f
Backed out changeset ab7fbaca9fdd (bug 1114890) for being the likely cause of bug 1124046.
2015-02-05 14:35:35 -05:00
Kan-Ru Chen (陳侃如)
4b95fd5436
Bug 1114890 - Use TabParent::GetFrom everywhere. r=billm
2015-02-05 17:18:22 +08:00
Kershaw Chang
a84becc0df
Bug 1020172 - Patch 1: Replace process id with ContentParentId type - v3. r=khuey
2014-10-24 02:28:00 +02:00
Wes Kocher
1d0d87283c
Backed out 4 changesets (bug 1020172) for causing bug 1089542 a=backout
...
Backed out changeset 176ca4363517 (bug 1020172)
Backed out changeset 90714be8e689 (bug 1020172)
Backed out changeset 9d8c09e711f5 (bug 1020172)
Backed out changeset f895938013ff (bug 1020172)
2014-10-27 16:56:45 -07:00
Kershaw Chang
60c3c5bd52
Bug 1020172 - Part 1: Replace process id with ContentParentId type. r=khuey
2014-10-24 02:28:00 -04:00
Ehsan Akhgari
6be3d83434
Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku
2014-09-01 20:49:25 -04:00
Phil Ringnalda
36b0901dec
Backed out 6 changesets (bug 1060982, bug 1061058, bug 1060987, bug 1061060, bug 1060930) for build bustage
...
CLOSED TREE
Backed out changeset c23b8418e6be (bug 1060987)
Backed out changeset a8cddc6bdffc (bug 1061060)
Backed out changeset b5af5cbdac3f (bug 1060982 )
Backed out changeset 4912d451011a (bug 1060930)
Backed out changeset bdacbf453238 (bug 1061058)
Backed out changeset da6c71a8f5ae (bug 1060987)
2014-09-01 16:48:51 -07:00
Ehsan Akhgari
b781feb7c0
Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku
2014-09-01 18:00:53 -04:00
Randy Lin
d9bf95150c
Bug 1055920 - [B2G][AudioChannel] Avoid to create unnecessary AudioChannel instance on child process. r=baku
2014-08-29 14:10:16 +08:00
Ting-Yu Chou
d63c20317f
Bug 1054208 - Assert priority only on non-Nuwa process. r=gsvelto
2014-08-29 11:53:49 +08:00
Kyle Huey
e335e1ea81
Back out bug 874353, which is suspected of causing bug 1046956. r=me a=backout
2014-08-01 11:02:55 -07:00
Sean Lin
d73540000d
Bug 874353 - Remove CPU wake lock control from ContentParent. r=gene, khuey
2014-06-24 10:51:48 +08:00
Benoit Jacob
7bbd89e2ca
Bug 1028588 - Fix dangerous public destructors in the rest of dom/ - r=ehsan
2014-06-23 15:56:07 -04:00
"Kan-Ru Chen (陳侃如)"
a1ad170ee4
Bug 879475 - Part 001. Add an nsIContentParent api r=jlebar
...
Based on original patch by David Zbarsky <dzbarsky@gmail.com >
2014-06-11 13:44:03 +08:00
Gabriele Svelto
0197f8b3b7
Bug 1011493 - Assign the correct priority to the keyboard app. r=khuey
2014-05-30 15:29:43 +02:00
Birunthan Mohanathas
9f41043f62
Bug 869836 - Part 3: Use Append('c') instead of AppendLiteral("c"). r=ehsan
2014-05-22 06:48:51 +03:00
Gabriele Svelto
304430e3ea
Bug 999327 - Consider the wake-locks held by the main process when computing priorities. r=fabrice
2014-05-01 15:47:26 +02:00
Birunthan Mohanathas
eeb9aaaa94
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
Patrick Wang (Chih-Kai Wang)
3894e50b12
Bug 994560: Compute CPU priority based on priority that is going to be set r=gsvelto
2014-04-18 14:28:14 +08:00
Gabriele Svelto
0d43b66585
Bug 873284 - When a content process is running at high priority do not send memory-pressure events. r=khuey
2014-02-17 17:45:29 +01:00
Cervantes Yu
037a241ec0
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
Mark Hammond
7c213dada5
Bug 935793 (part 2) - rename browser-shown notifications and send them for all frames. r=smaug
2014-02-21 09:19:18 +11:00
Gabriele Svelto
f78fa9e835
Bug 971728 - Use memory-pressure events instead of minimization when sending an app to the background. r=khuey
2014-02-12 16:50:39 +01:00
Gabriele Svelto
b17a412875
Bug 968297 - Prevent the priority manager from changing the Nuwa process priority. r=khuey
2014-02-06 19:28:21 +01:00
Ben Kelly
b0a18d63a8
Bug 957346: Extend grace period for perceivable background processes. r=fabrice
2014-01-15 18:17:59 -05:00
Ehsan Akhgari
68bfe70f09
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
Alan Huang
2ccc653408
Backed out changesets 21b77163bf9f and ebcfdf7200db (bug 922919) because the logging code is no longer needed. r=khuey
2013-12-10 11:25:01 +08:00
Ryan VanderMeulen
07fe219986
Backed out changesets a7fc463961ce and 65061e971eb8 (bug 935793) for breaking Travis testing (bug 950441).
2013-12-15 12:47:09 -05:00
Mark Hammond
7e24037c75
Bug 935793 (part 2) - rename browser-shown notifications and send them for all frames. r=smaug
2013-12-13 14:24:37 +11:00
Ehsan Akhgari
3e65edba24
Bug 947736 - Build modules/libpref/ in unified mode; r=bsmedberg
2013-12-10 18:10:01 -05:00
Alan Huang
55bc9e4d2f
Bug 942040 - Remove a process from BackgroundProcessLRUPool in ParticularProcessPriorityManager only if it is indeed a background process. r=khuey
2013-11-22 17:10:30 +08:00
Alan Huang
9d10135b73
Bug 922919 - Remove unnecessary FireTestOnlyObserverNotification calls to avoid intermittent test timeouts. r=khuey
2013-11-15 14:50:22 +08:00