Commit Graph

1647 Commits

Author SHA1 Message Date
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
Nick Thomas
119b4be4cd Bug 1160514: Use osslsigncode for 32-bit signing r=ted 2015-06-05 12:05:14 +12:00
Shu-yu Guo
559bc8868f Bug 1171240 - Avoid copies when splicing inside ProfileJSONWriter. (r=mstange) 2015-06-05 18:43:16 -07:00
Shu-yu Guo
c712e105c9 Bug 1171208 - Fix null-terminating chunks in ChunkedJSONWriteFunc. (r=mstange) 2015-06-04 03:22:56 -07:00
Ting-Yu Chou
0ab2ddac43 Bug 1168784 - Part 1: Fix the script merging profiles to handle new profiler JSON format. r=benwa 2015-06-01 18:09:29 +08:00
Nick Thomas
c127ece33b Bug 1170913, full-update target in tools/update-packaging/ always runs automation-partial-patch, r=glandium DONTBUILD 2015-06-03 16:58:59 +12:00
Chris Manchester
e60514505c Bug 1162093 - Add "push-to-try" from version-control-tools to the mercurial setup wizard prompt.;r=gps 2015-06-02 20:41:29 -07:00
Gregory Szorc
d8aaae69e5 Bug 1168466 - Prompt to install bundleclone extension; r=smacleod
We're about to deploy this to release automation. We might as well have
normal people start using it as well. We could perhaps even have the
extension print out information on how to resume interrupted downloads
someday, so it will pay to have this enabled so they can utilize that
feature some day in the future.

DONTBUILD (NPOTB)
2015-05-26 10:07:32 -07:00
Gregory Szorc
515cf33d2f Bug 1168466 - Bump minimum Mercurial version; r=smacleod
We dropped support for Mercurial 3.0 in version-control-tools. Bump
minimum versions in extensions to reflect this.

We highly recommend people run a modern Mercurial. Bump the minimum
non-legacy version to reflect that.
2015-05-26 10:00:52 -07:00
Jim Chen
3d3adb5114 Bug 1169334 - Fix missing braces in Java thread profile; r=mstange 2015-06-02 16:31:25 -04:00
Eric Rahm
aae9776468 Bug 1167230 - Don't pack ProfileEntry on ARM. r=shu 2015-05-28 15:26:52 -07:00
Markus Stange
fdc6dbcd9a Back out bug 1150252 (using pthread_kill for OS X profiling) because of bug 1166778 and bug 1166808. r=djvj 2015-05-19 14:48:44 -04:00
Shu-yu Guo
623cc01e46 Bug 1168265 - Clean up ChunkedJSONWriteFunc. (r=mstange) 2015-05-26 22:58:40 -07:00
Shu-yu Guo
35c01fcb4f Bug 1167230 - Use nsCString instead of std::string in FrameKey in the profiler. (r=mstange) 2015-05-26 22:58:40 -07:00
Shu-yu Guo
95302871f0 Bug 1166492 - Return UniquePtr<char[]> from profiler_get_profile to avoid double copying. (r=mstange) 2015-05-26 22:58:40 -07:00
Shu-yu Guo
58d880c1fb Bug 1166492 - Remove dead code in the ProfileBuffer and ThreadProfile. (r=mstange) 2015-05-26 22:58:40 -07:00
Shu-yu Guo
bd0a1b0094 Bug 1166492 - Handle huge strings in the profile JSON writer. (r=mstange) 2015-05-26 22:58:40 -07:00
Botond Ballo
0fe06cffa0 Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj 2015-05-26 14:33:55 -04:00
Phil Ringnalda
f3d4dd7e09 Back out 3 changesets (bug 1119980) for emulator-l bustage
CLOSED TREE

Backed out changeset 12ce98475c6e (bug 1119980)
Backed out changeset bdb8d05f8870 (bug 1119980)
Backed out changeset a68a18840492 (bug 1119980)
2015-05-25 18:48:51 -07:00
Botond Ballo
9a8e8b29e8 Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj 2015-05-25 20:45:17 -04:00
Carsten "Tomcat" Book
aa59538a7b Merge mozilla-central to fx-team 2015-05-20 16:10:15 +02:00