Commit Graph

1667 Commits

Author SHA1 Message Date
Nicholas Nethercote
da878abf48 Bug 1194560 (follow-up) - Only build rapl on Linux if the arch is x86 or x86-64. r=glandium. 2015-08-20 17:02:18 -07:00
Aidin Gharibnavaz
863138e820 Bug 1190466 - tools/rb/find-leakers.pl re-written in Python r=mccr8 2015-08-20 14:18:20 -07:00
Nicholas Nethercote
1e0db96a3b Bug 1194560 - Add tools/power/rapl, a RAPL-reading program for power profiling. r=erahm,glandium. 2015-08-19 22:25:30 -07:00
Rail Aliiev
783d6e3660 Bug 1173459 - Stop generating partial MAR files and publishing complete MARs to balrog as a part of nightly automation. r=mshal 2015-08-12 09:49:03 -04:00
Birunthan Mohanathas
fd290c6aa3 Bug 1185763 - Part 3: Rename nsTArray::MoveElementsFrom to AppendElements. r=froydnj 2015-08-11 08:29:46 -07:00
Birunthan Mohanathas
0e83cd889c Bug 1185763 - Part 1: Always use mozilla::Move with nsTArray::MoveElementsFrom. r=froydnj 2015-08-11 08:29:46 -07:00
Ehsan Akhgari
c83599edca Bug 1189465 - Make LULStats constructor explicit; r=BenWa 2015-07-30 20:31:08 -04:00
Brian Smith
df9e714001 Bug 1188931 - Fix hgsetup wizard. r=gps 2015-07-29 13:59:18 -04:00
Carsten "Tomcat" Book
e62aa992fb Merge mozilla-central to mozilla-inbound 2015-07-28 16:30:58 +02:00
Gregory Szorc
fe1f8a50bc Bug 1184229 - Detect multiple version-control-tools repos in Mercurial config; r=smacleod
Having multiple version-control-tools repositories references in your
hgrc could lead to one repository importing code from another, depending
on how sys.path modification works from version-control-tools
repositories. Detect it and issue a warning.
2015-07-27 13:44:39 -07:00
Peter Elmers
392ea4dd49 Bug 1186896 - Fix import statements for mach update-uuids. r=gps 2015-07-23 08:00:02 -07:00
Wes Kocher
6fcbd64260 Merge fx-team to central, a=merge 2015-07-21 16:08:37 -07:00
Gregory Szorc
d28be73820 Bug 1185557 - Print relevant config options; r=smacleod
Users may want to know what the wizard is changing before they answer
prompts. Add the names of impacted config options to messages so people
can make more informed decisions.
2015-07-21 10:11:09 -07:00
Gregory Szorc
0360ef77e6 Bug 1185557 - Prompt about bzexport after reviewboard; r=smacleod
We want to encourage people to use reviewboard over bzexport.
2015-07-21 10:10:54 -07:00
Gregory Szorc
cdfe13a83e Bug 1185557 - Only prompt to install progress on Mercurial <3.5; r=smacleod
Progress is enabled by default in Mercurial 3.5. extensions.progress
no-ops. Don't prompt for it on newer Mercurial versions.
2015-07-21 10:10:38 -07:00
Gregory Szorc
0000c9f5dd Bug 1185562 - Print message saying the mercurial-setup failures unblock mach; r=smacleod
The messaging on this could be bikeshedded. Something is better than
nothing, that's for sure.
2015-07-21 10:09:49 -07:00
Gregory Szorc
2ff8337e5c Bug 1185112 - Don't prompt for Bugzilla username/password if cookies defined; r=smacleod
Before, we prompted for Bugzila username/password if the hgrc contained
credentials in cookie form. Don't do that.
2015-07-21 10:09:15 -07:00
Gregory Szorc
e50972c695 Bug 1185113 - Support setting more secure file permissions; r=smacleod
~/.hgrc files are likely created with the user's default umask, which
commonly gives default permissions of 644. If the hgrc config contains
sensitive information (such as Bugzilla credentials), these file
permissions could result in others stealing sensitive data.

Detect when the group and other file mode bits are set and prompt to
remove these permissions.
2015-07-21 10:08:24 -07:00
Gregory Szorc
17eb92f7c6 Bug 1185113 - Clarify language around Bugzilla credentials; r=smacleod
Bugzilla credentials are optional. Make this more obvious by adding
"optional" to the prompt.

Bugzilla credentials are stored in plain text. Explicitly call this out
in the help text so users can make informed decisions about whether to
capture the credentials.
2015-07-21 10:08:02 -07:00
Mike Conley
711844b5be Bug 1185737 - Propagate pause and resume commands to child processes. r=BenWa
When we pause the sampler in the parent, we should pause it in the child as well.
Similarly, when the parent resumes, the child should also resume.
2015-07-15 12:39:39 -04:00
Gregory Szorc
49c6fbc900 Bug 1178955 - Print line number for parse errors; r=smacleod
It helps users debug problems.
2015-07-17 10:29:22 -07:00
Gregory Szorc
b5b81141c3 Bug 1178955 - Error when semicolon comments are seen; r=smacleod
configobj doesn't support semicolon comments. Why, I don't know, since
they are pretty common in ini files.

Do a static check for semicolon comments and print a more actionable
error message.
2015-07-17 10:29:09 -07:00
Gregory Szorc
38d404cbc3 Bug 1178955 - Print config path on failure; r=smacleod
Actionable error messages are useful.
2015-07-17 10:28:55 -07:00
Gregory Szorc
f2c8048c64 Bug 1178955 - Refactor config path selection; r=smacleod
An upcoming commit will display the path of the config file in the error
message. In order to do this, the calling scope needs to know the path
to the config file.
2015-07-17 10:28:29 -07:00
Gregory Szorc
8eeccdd33f Bug 1178955 - Don't pass config paths to updater; r=smacleod
They aren't needed.
2015-07-17 10:28:12 -07:00
Gregory Szorc
c4a2bcd2b4 Bug 1183982 - Ensure state directory exists before touching state file; a=me
The creation of the directory used to be handled by the running of the
wizard. Now, since we touch the state file first, we need to create the
directory manually. Derp.
2015-07-15 00:42:03 -07:00
Gregory Szorc
9d05a6e264 Bug 1182677 - Add doctstring for mach mercurial-setup; r=smacleod
Mach grew support for docstrings in `mach help` output a few weeks ago.
Add a docstring for `mach mercurial-setup`.
2015-07-14 13:44:08 -07:00
Gregory Szorc
51d9d0fcb8 Bug 1182677 - Touch last check file before main command invocation; r=smacleod
While not common, there are a few cases where `mach mercurial-setup`
fails. When checking the last time this command was executed, it is
sufficient to record the intent to run the command, not the fact that it
executed to completion.
2015-07-14 13:42:02 -07:00
Birunthan Mohanathas
dff815a45c Bug 1183143 - Add tools/rewriting/ThirdPartyPaths.txt file. r=ehsan
Many of the directories were discovered by searching for README and LICENSE
files.

DONTBUILD
2015-07-13 20:30:26 -07:00
Birunthan Mohanathas
e52329c788 Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Benoit Girard
92942ec46d Bug 1178892 - Split the profiler into Core & Gecko files and break apart monolithic headers. r=mstange 2015-06-30 15:03:45 -04:00
Julian Seward
a38d8e01cc Bug 1173847 - Remove EXIDX unwinding functionality from LUL. r=mstange. 2015-07-03 11:51:07 +02:00
Shu-yu Guo
d4113da79e Revert "Bug 1172157 - Save malformed profile JSON to file to help debug." (r=BenWa) 2015-07-01 14:57:55 -07:00
Shu-yu Guo
f3721f04a1 Bug 1172186 - Followup: revert accidental changes to ProfileJSONWriter.cpp (r=me) 2015-07-01 14:57:55 -07:00
James Willcox
bbaff81386 Bug 1178961 - Restore the std::string fix from bug 1167230 r=BenWa 2015-07-01 08:47:46 -05:00
Julian Seward
37124b97f6 Bug 1157194 - Make LUL able to deal with Dwarf expressions in CFI unwind info. r=jimb. 2015-06-30 16:02:27 +02:00
Andrew McCreight
6a9afe005e Bug 886459, part 1 - Remove unused includes of nsIJSRuntimeService.h. r=bholley 2015-06-26 18:44:13 -07:00
Gregory Szorc
63296e8c59 Bug 1176642 - Defer import of urllib2; r=chmanchester
This prevents 8 module imports from occurring at mach startup time.

As part of this, I discovered a redundant import of "sys" and eliminated
it.
2015-06-25 12:12:15 -07:00
Gregory Szorc
4f2fb895aa Bug 1176642 - Use absolute_import in mach_commands.py files; r=glandium
This removes ambiguity as to which modules are being imported, making
import slightly faster as Python doesn't need to test so many
directories for file presence.

All files should already be using absolute imports because mach command
modules aren't imported to the package they belong to: they instead
belong to the "mach" package. So relative imports shouldn't have been
used.
2015-06-21 17:39:09 -07:00
Gregory Szorc
88efe94ba4 Bug 1176642 - Remove unused imports; r=glandium 2015-06-25 12:16:38 -07:00
Eric Rahm
e5a0754a5a Bug 1167230 - Don't pack ProfileEntry on ARM. r=shu 2015-05-28 15:26:52 -07:00
Benoit Girard
fb4fa8ec7c Bug 1172186 - Make the profiler build standalone. r=mstange 2015-06-18 01:05:42 -04:00
Benoit Girard
fa09f0548c Bug 1172216 - Move nsStackwalk to mozglue. r=glandium 2015-06-10 16:32:45 -04:00
Tom Tromey
8e0c0d3382 Bug 1159486 - Make profiler use the process creation time. r=shu, r=jsantell 2015-06-16 22:28:00 -04:00
Shelly Lin
da24650cb8 Bug 1113562 - Expected delay time of tasks should not be the latency of those kind. r=sinker 2015-06-16 10:57:19 +08:00
Mike Shal
f454d21c10 Bug 1173998 - use localized package for previous mar; r=nthomas 2015-06-15 10:45:17 -04:00
Julian Seward
47fdd0561a Bug 1165833 - LUL testing: import gtest/gmock based Dwarf CFI tests from toolkit/crashreporter/google-breakpad. r=jimb. 2015-06-15 15:47:43 +02:00
Mike Conley
80ab8ee0d7 Bug 1116188 - Add async ProfileGatherer as the mechanism for gathering profiles from subprocesses. r=bgirard,bz 2015-06-10 17:58:30 -04:00
Shu-yu Guo
b988f92a12 Bug 1167895 - Escape JS engine SPS profile strings to UTF8 properly. (r=djvj) 2015-06-11 18:30:39 -07:00
Shu-yu Guo
2567702449 Bug 1172157 - Save malformed profile JSON to file to help debug. (r=BenWa) 2015-06-08 12:21:58 -07:00