Ehsan Akhgari
7f4b8317d0
Bug 1229950 - Increase the timeout of browser_AddonWatcher.js
2015-12-30 22:27:40 -05:00
Dave Townsend
6fcdc1e67d
Bug 1229519: Fix miscellaneous parts of toolkit to pass eslint checks. r=MattN
...
--HG--
extra : commitid : 1iLsb7ZpSpI
extra : rebase_source : ed920934f04e520f5410454ec3930cd5992aa965
2015-12-03 10:02:45 -08:00
Nathan Froyd
c381a6b86c
Bug 1218454 - part 2 - don't #include nsContentUtils.h from CallbackObject.h; r=bz
...
We used to need nsContentUtils.h here for nsCxPusher, but since that got
moved to ScriptSettings.h, we no longer need nsContentUtils.h for
anything.
2015-10-26 12:14:47 -04:00
David Rajchenbach-Teller
477881cc13
Bug 1186491 - Reworking AddonWatcher to use low-level performance watch API;r=mossop
...
--HG--
extra : transplant_source : %CD%F4D%A6%85%FDF%7F%9E%D7%CEwS%9Bq%DE%07%9B4%EC
2015-11-24 13:36:58 +01:00
David Rajchenbach-Teller
389b1ebc07
Bug 1186491 - An API for watching slow performance alerts (js-level);r=felipe
...
--HG--
extra : transplant_source : .%14%3EFg%C2%D6O%E3%2C%FAl%25%AD%F9%CCAYC%B8
2015-11-24 13:37:19 +01:00
David Rajchenbach-Teller
a5188a6c42
Bug 1186491 - An API for watching slow performance alerts (xpcom-level);r=froydnj
...
This patch introduces a new API to the nsPerformanceStatsService to register observers for slow performance. This API has several advantages:
- as it doesn't require polling, it also doesn't need to wake up the parent process every 15 seconds for the AddonWatcher;
- as it doesn't require polling, it doesn't need to wake up the child processes every time we wish to obtain data on slow performance;
- as it provides immediate data on performance alerts, it makes it possible to get rid of the complex and expensive post-processing performed by JS to merge data from all processes and attempt to extract performance alerts.
The old API is still available.
--HG--
extra : transplant_source : %84%B11%D3n%B4y%AAM%7C%B02%5E%3C%BA%B0%93%B6%FF%D5
2015-11-24 13:37:32 +01:00
David Rajchenbach-Teller
3cbbd4662e
Bug 1186491 - Splitting nsIPerformanceStats in two;r=froydnj
...
--HG--
extra : transplant_source : _%5B%8Bk%5Cn%AD%E3%1D%CB%E5f%FF%04%D2%D861%F1%83
2015-10-23 10:58:40 +02:00
Mark Banner
fbca33b0b0
Bug 1227138 - Fix browser_AddonWatcher not to fail if system add-ons are present. r=Mossop
2015-11-23 19:45:24 +00:00
Bill McCloskey
c76ae8f933
Bug 967873 - Test changes for async removeTab (r=Gijs)
2015-11-04 10:56:15 -08:00
Carsten "Tomcat" Book
7a70d4ebe3
Merge mozilla-central to fx-team
2015-11-02 12:05:19 +01:00
Birunthan Mohanathas
9985829ecc
Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj
2015-11-02 07:53:26 +02:00
Landry Breuil
12489bbca0
Bug 1220407 - include sys/resource.h for struct rusage and getrusage() on all unices, not linux only. r=yoric
2015-10-31 14:49:00 +01:00
David Rajchenbach-Teller
5d07bdc7b7
Bug 1217218 - Consolidate shutdown of nsPerformanceStatsService. r=froydnj
...
--HG--
extra : histedit_source : b4235360c5f038bbccfa13be1fcc063fca83a74b
2015-10-22 21:01:47 +02:00
David Rajchenbach-Teller
ec335abb8b
Bug 1188248 - Merge jank monitoring and CPOW monitoring (high-level);r=mossop
...
--HG--
extra : transplant_source : %7D%B7k%02.%09%9D%40%93%CB%DDm%1C%EE%27e%1D%02k%10
2015-07-30 15:21:08 +02:00
David Rajchenbach-Teller
a4275e1833
Bug 1188248 - Merge jank monitoring and CPOW monitoring (low-level);r=jandem,yoric
...
--HG--
extra : transplant_source : %60%9F%E1%0Dm%E7%7F%83H%E8%C0e%16%60%F4%E3%EF_%906
2015-09-28 12:31:31 +02:00
Birunthan Mohanathas
44936aabb2
Bug 1217320 - Remove more XPIDL signature comments in .cpp files. r=froydnj
...
Comment-only, DONTBUILD.
2015-10-27 06:54:25 +02:00
Kyle Huey
c7d3c4e21a
Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz
2015-10-26 14:37:32 -07:00
David Rajchenbach-Teller
f717d06115
Bug 1208747 - Move most of Stopwatch-related code to XPCOM-land (documentation);r=froydnj
...
--HG--
extra : transplant_source : a%9E%F3%19%20UHB%89%BB%AA%B1%EA%972%F3%97I%C0%8F
2015-10-02 12:52:49 +02:00
David Rajchenbach-Teller
f592701f52
Bug 1208747 - Move most of Stopwatch-related code to XPCOM-land (JS-level);r=felipe
...
--HG--
extra : transplant_source : %17%F9%03l%A4%E5%91y%5B%3FQ%E3%EF%C1%D5%10%B1%E4e%26
2015-09-25 18:44:34 +02:00
David Rajchenbach-Teller
3ff3f77f9e
Bug 1208747 - Move most of Stopwatch-related code to XPCOM-land (XPCOM-level + XPConnect-level);r=froydnj
...
--HG--
extra : transplant_source : %91G%19%1A%B33%A8%2C%F4%D0%D1%A3%E0%20G%86%CE%DF%A5%9D
2015-10-02 23:44:23 +02:00
Carsten "Tomcat" Book
a55a2ef59a
Backed out changeset 33afbc6c4997 (bug 1208747)
2015-10-21 11:39:22 +02:00
Carsten "Tomcat" Book
1a65e75c7e
Backed out changeset 5b288d315423 (bug 1208747)
2015-10-21 11:39:21 +02:00
Carsten "Tomcat" Book
d2d583f2e2
Backed out changeset fcc11758f25f (bug 1208747)
2015-10-21 11:39:20 +02:00
David Rajchenbach-Teller
f5d649066f
Bug 1208747 - Move most of Stopwatch-related code to XPCOM-land (documentation);r=froydnj
...
--HG--
extra : transplant_source : %FB%FF%9As%F7Z%AD%D50%F2%BE%3C%9A%B1%13%27%82%E4%03%FD
2015-10-02 12:52:49 +02:00
David Rajchenbach-Teller
583c9f37b8
Bug 1208747 - Move most of Stopwatch-related code to XPCOM-land (JS-level);r=felipe
...
--HG--
extra : transplant_source : %2A%BE%AA%DA%ED%D7%D0%16.%0D%B1dy%92%F8%E7%EB%11%BA%DC
2015-09-25 18:44:34 +02:00
David Rajchenbach-Teller
625e50b7af
Bug 1208747 - Move most of Stopwatch-related code to XPCOM-land (XPCOM-level + XPConnect-level);r=froydnj
...
--HG--
extra : transplant_source : %AD%3B%3C%98%15/%F1%CD/%FB%D7%F4%88%22%7E%3D7%7B%CB%A0
2015-10-02 23:44:23 +02:00
Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Alexandre Poirot
89cb263b54
Bug 1204812 - Keep Console.jsm in toolkit/modules/ r=jryans,Mossop
...
--HG--
rename : devtools/shared/Console.jsm => toolkit/modules/Console.jsm
2015-10-15 03:45:22 -07:00
Bill McCloskey
1b6da7ed71
Back out bug 967873 - Test changes for async removeTab
2015-10-07 11:15:11 -07:00
Carsten "Tomcat" Book
08997000eb
Backed out 2 changesets (bug 1202902
) to recking bug 1202902
to be able to reopen inbound on a CLOSED TREE
...
Backed out changeset 647025383676 (bug 1202902
)
Backed out changeset d70c7fe532c6 (bug 1202902
)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book
e7ef778c9d
Backed out 1 changesets (bug 1202902
) for causing merge conflicts to mozilla-central
...
Backed out changeset cfc1820361f5 (bug 1202902
)
--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo
d06b6030f6
Bug 1202902
- Scripted fix the world.
2015-10-06 14:00:31 -07:00
Bill McCloskey
633d4a3ecf
Bug 967873 - Test changes for async removeTab (r=Gijs)
2015-10-01 21:18:05 -07:00
David Rajchenbach-Teller
7720c9f9ca
Bug 1189799 - Make sure that about:performance displays each add-on only once (more tests);r=felipe
...
--HG--
extra : transplant_source : %08%D1%AF%23-%3C%BAd%8B%0E%F2%E0%C5%94%D8%1E%2C%989%97
2015-09-03 15:12:59 +02:00
David Rajchenbach-Teller
e28a2a27f5
Bug 1189799 - Make sure that about:performance displays each add-on only once (back-end);r=felipe
...
--HG--
extra : transplant_source : %8A%95z%C5D%DEM%94%0Ak%82%CB%F7%187%071%C1%21%9C
2015-08-25 17:05:02 +02:00
David Rajchenbach-Teller
a28b7ebc97
Bug 1205840 - Typo fixes in AddonWatcher.jsm. r=felipe
...
--HG--
extra : transplant_source : %D4%8F%A4%40%90a%25%E2%8E%DD%3Er%D5%25%1D%0B%F9%DC%3D%8A
2015-09-19 15:46:17 +02:00
J. Ryan Stinnett
efe328f1b2
Bug 912121 - Rewrite require / import to match source tree. rs=devtools
...
In a following patch, all DevTools moz.build files will use DevToolsModules to
install JS modules at a path that corresponds directly to their source tree
location. Here we rewrite all require and import calls to match the new
location that these files are installed to.
--HG--
extra : commitid : F2ItGm8ptRz
extra : rebase_source : b082fe4bf77e22e297e303fc601165ceff1c4cbc
2015-09-21 12:04:18 -05:00
Shu-yu Guo
64db2267cf
Bug 1202902
- Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff)
2015-09-15 11:19:45 -07:00
David Rajchenbach-Teller
3cb65b0a65
Bug 1200172 - AddonWatcher now discards data if the system is apparently too busy/just back from hibernation. r=mossop
...
--HG--
extra : amend_source : 6f67dfb0d6f1375c72e05274d5dbf1c581e8eb3c
extra : transplant_source : %0Ag%AFJe%0C%DB%9Er%15%99%7E%90%19%C1%AB%EBv%25%99
2015-08-31 16:03:19 +02:00
David Rajchenbach-Teller
6ed2708de0
Bug 1200138 - AddonWatcher now uses groupId to subtract between two instances of an add-on. r=felipe
...
--HG--
extra : transplant_source : %5D%E0%5D%FF%FA%BB%8D%A9%16%E4%09%BE%87P%07%E2%11f%FA%C9
2015-08-31 10:20:19 +02:00
Nicholas Nethercote
f44287005f
Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
...
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
David Rajchenbach-Teller
527747d5e6
Bug 1199603 - Don't wait for shutdown to update nsPerformanceStats Telemetry. r=Mossop
...
--HG--
extra : commitid : 1b56ctHsfyE
extra : rebase_source : 42de8403985b494eb8121a4be11d52e35df3b150
2015-08-28 12:14:01 +02:00
David Rajchenbach-Teller
33282a3867
Bug 1197966 - Fix typo when releasing content-side probes in PerformanceStats-content.js. r=felipe
2015-08-25 17:18:09 +02:00
Ryan VanderMeulen
87c869342b
Merge inbound to m-c. a=merge
2015-08-25 16:49:55 -04:00
David Rajchenbach-Teller
09be0de8cd
Bug 1198167 - nsPerformanceStatsService should wait for profile-before-change, not profile-before-shutdown. r=yoric
...
--HG--
extra : transplant_source : PL%BD%E1Q%05%7D%95%A0%13a%BA%F8%DAj%03N%C2Y%D1
2015-08-25 11:20:40 +02:00
Jonathan Griffin
cf56e85136
Bug 1136892 - Create a browser-chrome-addons tag for running addon-specific browser-chrome tests, r=chmanchester
...
--HG--
extra : commitid : HKQaOeqUMj1
2015-08-25 09:38:39 -07:00
David Rajchenbach-Teller
641046a863
Bug 1181175 - Get rid of test_compartments.js. r=yoric
...
--HG--
extra : transplant_source : %60%EA%AD_%C52%D4%0C%9EQ%849%7Dp%C0%60%13%3C%E0%17
2015-08-10 22:53:43 +02:00
David Rajchenbach-Teller
2b0451efe0
Bug 1181175 - Telemetry for finding out how often our process is rescheduled to another CPU. r=jandem, r=bsmedberg
...
--HG--
extra : transplant_source : %24q%A1%A9f%FC%81%D5%DFo%DB%E2e%25%81%11%94%19%E5%15
2015-07-29 19:01:05 +02:00
David Rajchenbach-Teller
eaa230b89d
Bug 1181175 - Use RDTSC for Performance Monitoring instead of getrusage. r=jandem
...
--HG--
extra : transplant_source : %7B%82%94E%8C%0AW%07%C2/n8%07%FD%95mt%03%EBM
2015-08-17 14:57:23 +02:00
Ryan VanderMeulen
a7ea8705c1
Backed out changesets db4294fb662d and de9ae2ccb73b (bug 1181175) for Android test_compartments.js failures.
...
CLOSED TREE
2015-08-10 15:07:27 -04:00