Commit Graph

4071 Commits

Author SHA1 Message Date
Julian Descottes
eace7c89ed Bug 1279210 - eslint setup: fix eslint module path;r=ahal
MozReview-Commit-ID: HL4tIwgkSau

--HG--
extra : rebase_source : 8169cbc543528a6b2a6e2bffbf4a202dfcea1a93
2016-06-09 14:40:48 +02:00
Gregory Szorc
f0ab95aa08 Bug 1277406 - Delete now-unused Mercurial setup wizard; r=glandium
The wizard has been ported to the version-control-tools repository
and in-tree consumers have been switched to consume it from there. This
code is now dead. Kill it.

References to the now-defunct code have been removed/updated.

MozReview-Commit-ID: 5fpCXdNIp8L

--HG--
extra : rebase_source : 6c1e2363793fe2cd3a506ce5d962788657871203
extra : histedit_source : c40d2203aaa54bbd48e4e2b46178e277dcdc2e3f
2016-06-09 13:20:53 -07:00
Gregory Szorc
517e7b2b60 Bug 1277406 - Move mach mercurial-setup implementation into bootstrap; r=glandium
This begins the consolidation of `mach mercurial-setup` into
`mach bootstrap`. The first step is to move the content of the
mach_commands.py file into the bootstrapper's.

I'm not crazy about adding the sys.path entry for tools/mercurial.
I intend to clean this up later.

MozReview-Commit-ID: Cq56wPG8sO1

--HG--
extra : rebase_source : 48d6d2631760c9333bf99285673430948085630e
extra : histedit_source : e062f6fbc0ae9678347801b4a1f1c9b6912afd52
2016-06-01 17:06:01 -07:00
Gregory Szorc
0da1045b72 Bug 1277406 - Remove nagging to run mach mercurial-setup from mach; r=glandium
I never really liked this. Other people had even more visceral
reactions. Let's get rid of it.

The code for touching a file when it runs has also been removed because
the only thing it was used for was the nagging feature.

MozReview-Commit-ID: ERUVkEYgkzx

--HG--
extra : rebase_source : 1c1ed9c00eb2164d19e4405f2b8becf59680d1ed
extra : histedit_source : 9f2ebc64443140c0bc853ee5a3418f4e0f03db7b
2016-06-01 16:58:01 -07:00
Andrew Halberstadt
7c3487a2d7 Bug 1277851 - [mozlint] Run flake8 directories that contain a .flake8 file separately, r=maja_zf
This is a crude workaround to get subdirectory .flake8 files working. Hopefully
this is temporary until flake8 3.0 is released with support for multiple config
files.

Note that .flake8 files that live outside of a directory that is explicitly
listed in the 'include' directive, will not be considered.

MozReview-Commit-ID: GtpUZHJKq52

--HG--
extra : rebase_source : 0294e135673a3b580316a46ec13e37749422edba
2016-06-03 10:39:32 -04:00
David Burns
c99cc3f3c1 Bug 1277672: Add Marionette Client to included directories for linting. r=ahal
MozReview-Commit-ID: 58sHBjqHpxV

--HG--
extra : rebase_source : c60b6b545551f5b567b7abc9a17e85e993b792ea
2016-06-02 21:25:24 +01:00
Andrew Halberstadt
557cd94acb Bug 1273634 - [mozlint] Create a flake8 task, r=dustin
Enables flake8 linting! To start, only these directories are actually linted:
- python/mozlint
- tools/lint

To enable new directories, add them to the 'include' directive at the bottom of:
tools/lint/flake8.lint

Edit topsrcdir/.flake8 to modify global configuration. Add a new .flake8 to a
subdirectory to override the global. The current configuration is more or less
just the default and we should tweak it to our needs.

MozReview-Commit-ID: iXbToRhm3b

--HG--
extra : transplant_source : %E7i%04%07%1C%B3%E4%FD%FF%BB%A6w%CF%27t%FFz%CD%5EE
2016-05-17 16:24:24 -04:00
Andrew Halberstadt
031698ae90 Bug 1273634 - [mozlint] Add a treeherder formatter, r=jgraham
This is a really simple and ugly formatter that is compatible with
treeherder's error highlighting mechanism. It is designed to be identical
to the current eslint output on treeherder:
https://dxr.mozilla.org/mozilla-central/rev/4d63dde701b47b8661ab7990f197b6b60e543839/tools/lint/eslint-formatter.js

Eventually eslint will also use this and we can remove that file. Once
bug 1276486 is fixed, we can make this look a little nicer. But for now
it gets the job done.

MozReview-Commit-ID: CwfWPcwWFxF

--HG--
extra : transplant_source : %F3PJ%CB%27%A5%82U%D2%CF%B3%9E%A7%9F%0F%A4%F4%E9%5D%BB
2016-05-28 23:38:30 -04:00
Carsten "Tomcat" Book
c30c6ba10e Backed out changeset c48f3b04c9de (bug 1273634) 2016-06-02 15:05:01 +02:00
Carsten "Tomcat" Book
3891fd3556 Backed out changeset 3f521a9d4d1f (bug 1273634) 2016-06-02 15:05:00 +02:00
Jeremy Chen
0350d6fe11 Bug 1277134 - Add built-in fsmonitor support for Mercurial version>=3.8. r=gps
The hgwatchman project has been renamed to fsmonitor and has been moved
into Mercurial core, as of version 3.8.
Accordingly, for Mercurial >= 3.8, we shall skip installing hgwatchman
but just set fsmonitor in hgrc file instead.

DONTBUILD (NPOTB)

MozReview-Commit-ID: 426rla5riCM

--HG--
extra : rebase_source : 359eb135a2c16361125da6f1fe97eedf9434032e
2016-06-01 16:40:55 +08:00
Andrew Halberstadt
f6bad5ec2a Bug 1273634 - [mozlint] Create a flake8 task, r=garndt
Enables flake8 linting! To start, only these directories are actually linted:
- python/mozlint
- tools/lint

To enable new directories, add them to the 'include' directive at the bottom of:
tools/lint/flake8.lint

Edit topsrcdir/.flake8 to modify global configuration. Add a new .flake8 to a
subdirectory to override the global. The current configuration is more or less
just the default and we should tweak it to our needs.

MozReview-Commit-ID: iXbToRhm3b

--HG--
extra : rebase_source : 78c4491261ba36421110b0d9fca73c1f6d1f85c3
2016-05-17 16:24:24 -04:00
Andrew Halberstadt
df97806e5f Bug 1273634 - [mozlint] Add a treeherder formatter, r=jgraham
This is a really simple and ugly formatter that is compatible with
treeherder's error highlighting mechanism. It is designed to be identical
to the current eslint output on treeherder:
https://dxr.mozilla.org/mozilla-central/rev/4d63dde701b47b8661ab7990f197b6b60e543839/tools/lint/eslint-formatter.js

Eventually eslint will also use this and we can remove that file. Once
bug 1276486 is fixed, we can make this look a little nicer. But for now
it gets the job done.

MozReview-Commit-ID: CwfWPcwWFxF

--HG--
extra : rebase_source : 8dd39aefec1064e0836c847c6d223db43df4755b
2016-05-28 23:38:30 -04:00
Chris Peterson
11ef78ae89 Bug 1275016 - Rename Endian.h to EndianUtils.h to avoid #include confusion with Android's endian.h stdlib header. r=froydnj
--HG--
rename : mfbt/Endian.h => mfbt/EndianUtils.h
2016-05-22 13:31:11 -07:00
Gregory Szorc
f1dea21d39 Bug 1267781 - Bump minimum Mercurial version on a number of extensions; r=smacleod
Our policy is to support the last 4 releases of Mercurial. 3.8 is out.
So we bump the minimum version to 3.5.

MozReview-Commit-ID: 9cftV7CscRL

--HG--
extra : rebase_source : c1875946afc0b8a586d3ec474adece7321812be7
extra : amend_source : 0fa318cd26de3dc0b73033713818f371e43ddd9c
2016-04-26 12:14:40 -07:00
Gregory Szorc
dd8c6db496 Bug 1267781 - Bump modern Mercurial version to 3.7.3; r=smacleod
These variables specify a version of Mercurial that is considered
modern and won't trigger giant warnings about being out of date.

We bump to 3.7.3 because 3.7.3 contains security fixes and it is
important for as many users as possible to get these security fixes.

We also update the messaging to indicate security issues with older
releases.

MozReview-Commit-ID: H4utKINrW0V

--HG--
extra : rebase_source : 5247fec94d7df351ef3c7bb2aa60396bb19a6196
extra : amend_source : 70b9aa52cde71d11e2b6d65a1a83567b8a0c7965
2016-04-26 12:11:29 -07:00
Gregory Szorc
64ad1bcdcd Bug 1275105 - Remove references to MQ from mach mercurial-setup; r=smacleod
MQ isn't recommended for modern Mercurial development. Stop advertising
it.

MozReview-Commit-ID: IOx3A5ZeJnJ

--HG--
extra : rebase_source : a6b49ebdba3fbdb0b0bab13fd59aae3fcdcf167c
2016-05-23 14:24:14 -07:00
L. David Baron
2579d85cb5 Bug 1274041 - Make child process write its memory map to a different file name. r=jesup
This makes the child process write its memory map to a different file
name, just like it does for the jprof log.  It tries to share the
variables between the two so that they're both connected in the code and
consistent with each other.

Note that I haven't yet written the patch to make jprof.cpp *read* the
map from that file, so this currently requires manually renaming the
generated map with the numeric suffix to jprof-map in order to run
jprof.  I should probably write that patch eventually, but I haven't
actually needed to.

This at least prevents the child process's map file from being
overwritten by the parent's a fraction of a second later.

MozReview-Commit-ID: 7L4wT9BdQYI
2016-05-20 19:57:31 -07:00
L. David Baron
2c8fb3d73a Bug 1274041 - Actually define JPROF_STATIC as it was meant to be defined. r=jesup
I've had this in my tree for a while; it just fixes what look like a
silly mistake.

MozReview-Commit-ID: I7mSKXTSWqo
2016-05-20 19:57:31 -07:00
Andrew Halberstadt
464b3a9f2e Bug 1273556 - [mozlint] Better SIGINT handling, return partial results on Ctrl-C, r=jgraham
Currently a bug in python (https://bugs.python.org/issue8296) is preventing a KeyboardInterrupt from
reaching the parent process, meaning we can't kill the process with SIGINT. There is a workaround to
this bug, but instead I decided to ignore SIGINT in the parent process completely. Now, each child
process is responsible for handling SIGINT on its own. Since child processes should all shutdown
relatively quickly anyway, this effectively also ends the parent process.

The benefit of doing it this way is that each child process can return the results they have collected
to date. So when a developer hits Ctrl-C, they'll still see some (but not all) formatted lint output.
The downside is that a poorly implemented external linter could block the parent process from exiting
quickly, but if this happens we should just fix the linter.

MozReview-Commit-ID: 2tRJgtmoPYP

--HG--
extra : rebase_source : e72282bcc29c9b22690168dc973a817236cdf8ca
2016-05-17 12:24:42 -04:00
Andrew Halberstadt
b1445349ea Bug 1270506 - [mozlint] Add python flake8 linter, r=smacleod
For now, only the following two directories will be linted:
python/mozlint
tools/lint

New directories can be added by adding them to the 'include'
directive in tools/lint/flake8.lint. They all default to the
configuration specified in topsrcdir/.flake8. Subdirectories
can override this configuration by creating their own .flake8
file.

MozReview-Commit-ID: Eag48Lnkp3l

--HG--
extra : rebase_source : 6d98c9fef80055a48cc2622848aa04c3045b747e
2016-05-05 17:21:12 -04:00
Chris Peterson
353ee65255 Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium 2016-05-11 00:00:01 -07:00
Mike Shal
dbfbbfe42c Bug 1272483 - Remove MOZ_UPDATE_PACKAGING and --enable-update-packaging; r=chmanchester
MozReview-Commit-ID: A3SDJCc5eHH

--HG--
extra : rebase_source : af8d081c349b27ac0e2567b0f5863fbbeb7f98ce
2016-05-12 12:15:58 -04:00
Ralph Giles
f123b681bb Bug 1270091 - Handle missing function names. r=dminor
If the symbols file doesn't give a function name, substitute
'unnamed_function'. A more complete fix would be to catch
all ValueError exceptions and continue sensibly, but this
addresses the immediate issue with the output from `rustc -g`.

MozReview-Commit-ID: 666ruvLlJ5t
2016-05-10 16:15:17 -07:00
Henry Chang
3ca7032d96 Bug 1270002 - Use sliced array to ignore trailing tokens. r=mccr8 2016-05-04 00:17:00 -04:00
Nathan Froyd
8db25584a9 Bug 1270928 - part 4 - return a UniquePtr from GetLoggedData; r=BenWa
This change makes ownership clearer and enables us to get rid of the
last use of nsAutoPtr in tools/profiler/.
2016-05-09 10:04:50 -04:00
Nathan Froyd
73cd95dafd Bug 1270928 - part 3 - don't include nsAutoPtr.h in ThreadResponsiveness.h; r=BenWa
Do #include RefPtr.h, though, since we need that for the definition of
ThreadResponsiveness.
2016-05-09 10:04:50 -04:00
Nathan Froyd
31c3d5d2af Bug 1270928 - part 2 - use UniquePtr in GeckoTaskTracer.cpp:sTraceInfos; r=BenWa
Less nsAutoPtr usage and header bootlegging is a good thing.
2016-05-09 10:04:50 -04:00
Nathan Froyd
6b5caaf0b7 Bug 1270928 - part 1 - use UniquePtr in PROFILER_MARKER_PAYLOAD; r=BenWa
We'd like to get rid of nsAutoPtr usage, and this header doesn't even
#include nsAutoPtr.h.
2016-05-09 10:04:50 -04:00
Gregory Szorc
511e246124 Bug 1270907 - Update bitbucket.org certificate fingerprint; r=sfink
DONTBUILD (NPOTB)

MozReview-Commit-ID: Jg8FiWoLxAu

--HG--
extra : rebase_source : b3227478f5765d1de18ad7f939ddb0bfdf453eaa
2016-05-06 11:05:54 -07:00
Andrew Halberstadt
0484cb2aa7 Bug 1230962 - Create mach/build system integration for mozlint, r=smacleod
MozReview-Commit-ID: 74ma5uMOphe

--HG--
extra : rebase_source : 3b0594650a364ad598fc12cc38f3e4fd916ca26b
2016-03-18 13:54:07 -04:00
Jim Chen
0574002b30 Bug 1260208 - part 0 - correctly compare EHTable when sorting; r=froydnj
operator< for EHTable compares the LHS start PC with the RHS *end* PC.
Because the ranges are non-overlapping, this works fine for two distinct
EHTables. However, the comparison doesn't work if LHS and RHS refer to
the same EHTable; in that case operator< returns true, even though it
should return false because the two operands are identical.

The operator is used to sort a std::vector using std::sort [1].  I think
the libc++ std::sort implementation has a quirk where, if the comparison
function has the above bug, sort will sometimes get confused, and start
sorting "values" outside of the memory range that it's given.  This
results in memory corruption and subsequent unpredictable behavior.

The fix is simply to compare only the start PCs in EHTable, so that
std::sort can work on it correctly.

[1] http://mxr.mozilla.org/mozilla-central/source/tools/profiler/core/EHABIStackWalk.cpp?rev=86730d0a8209#485
2016-05-03 09:13:49 -04:00
Gregory Szorc
6f80eee720 Bug 1268573 - Pin revision in hgwatchman repo; r=smacleod
Per
https://www.mercurial-scm.org/pipermail/mercurial-devel/2016-April/083649.html
the hgwatchman repo has been blanked. We should pin to the last
changeset before the blanking so people can still run hgwatchman.

We'll also need to teach `mach mercurial-setup` to install the
fsnotifier extension. That's for a different patch and bug.

DONTBUILD (NPOTB)

MozReview-Commit-ID: GyuDMTwARqo

--HG--
extra : rebase_source : be782f0262006a29f5b48add98fddda9dd2cdbd7
2016-04-28 10:20:25 -07:00
Kyle Huey
c73656947b Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
Charles Collicutt
60a5a1819e Bug 1261392 - Define gettid for all Linux builds. r=bgirard 2016-04-11 22:49:00 +02:00
Ryan VanderMeulen
139ecf837b Backed out changeset 14eb89c4134d (bug 1261392) for Android bustage.
--HG--
extra : rebase_source : 02b744b942c4d14b43435f8762a4f56a8d5b550f
2016-04-10 16:57:26 -04:00
Charles Collicutt
239fba2186 Bug 1261392 - Define gettid for all Linux builds. r=BenWa 2016-04-09 13:40:00 -04:00
George Wright
e75c590407 Revert "Bug 1114647 - Rename "plugin-container" to "firefox-webcontent" and create a new executable target for Win32 called "firefox-plugin-container" r=ted,jhamer" because of widespread breakage due to whitelisted executable names in third parties
This reverts commit a94b5f861bd0d25043a3bb7a0c3128acf8c0b93a.


--HG--
rename : ipc/contentproc/firefox-webcontent.cpp => ipc/contentproc/plugin-container.cpp
2016-04-08 13:34:40 -04:00
Randell Jesup
d21c70dd6c Bug 1261384: Clean up warnings-as-errors nits in jprof (NPOTB) rs=me
Not enabled by default.

MozReview-Commit-ID: IASV3aPem96
2016-04-01 11:08:04 -04:00
George Wright
5c454494ce Bug 1114647 - Rename "plugin-container" to "firefox-webcontent" and create a new executable target for Win32 called "firefox-plugin-container" r=ted,jhamer
--HG--
rename : ipc/app/module.ver => ipc/app/plugin-container/module.ver
rename : ipc/contentproc/plugin-container.cpp => ipc/contentproc/firefox-webcontent.cpp
2016-04-01 02:12:59 -04:00
Gregory Szorc
b64e5f4498 Bug 1259514 - Add manifestparser and reftest to Python search path; r=chmanchester
mozbuild Python changes to test manifest processing introduced these
dependencies.

DONTBUILD (NPOTB)

MozReview-Commit-ID: 9nT3G7qt988

--HG--
extra : rebase_source : d7d560477249a8e20a162d49faea85d4a49fe113
2016-03-24 11:19:44 -07:00
Gregory Szorc
d4f4c2f840 Bug 1252765 - Always update Mercurial host fingerprints if present; r=chmanchester
Before, we didn't update host fingerprints if old values were present
and we were running a modern Mercurial and Python.

Now, we unconditionally update existing fingerprints.

DONTBUILD (NPOTB)

MozReview-Commit-ID: 1yjNGkJ6FAk

--HG--
extra : rebase_source : 12a2c6a3615b3ad4449171bcfb6f3c41cda670ed
2016-03-11 13:18:08 -08:00
Andrew Halberstadt
ca961954c9 Bug 1255567 - Sign quitter extension for valgrind-test and pgo/profileserver, r=jgriffin
MozReview-Commit-ID: HtH8z4rBSMY

--HG--
extra : rebase_source : 90a1269a6dd166cc77080d86f902c19d0a6e162c
2016-03-10 15:37:51 -05:00
Gregory Szorc
2906edb808 Bug 1252294 - Add python/futures to sys.path when building Sphinx docs; r=chmanchester
RTD is complaining that it can't find concurrent.futures. We solve this
problem on RTD by adjusting sys.path in the Sphinx config file to add
paths to the vendored packages.

Sadly, there isn't really an easy way to test this before landing. But
it should work.

MozReview-Commit-ID: FrsLrbbOQWt

--HG--
extra : rebase_source : 4debf9b1902e26babe7e9ddaee8142a14674d393
2016-02-29 16:08:34 -08:00
Eric Rahm
7a9e99d2c6 Bug 1251787 - Remove remaining references to MOZILLA_XPCOMRT_API from tools. r=mstange 2016-02-27 11:12:08 -08:00
bsilverberg
753cad635e Bug 1250965 - Enhance eslintvalidate.py to validate html files as well, r=mossop
MozReview-Commit-ID: 3rnyWYG84Uc

--HG--
extra : transplant_source : %CA%91o%D9e%B4%B2%EF%C0%24%A5O%AD%EDbq%D2G%CBX
2016-02-24 13:33:04 -05:00
Chris Manchester
7c92933074 Bug 1216681 - Add a windows version of fileid to extract a guid from windows binaries. r=jimm,ted
This patch introduces a small utility program to extract a guid from a shared library
or executable on windows to identify the correct symbol file to read in fix_stack_using_bpsyms.py.
In order for this to work correctly on windows, the library name provided by
MozDescribeCodeAddress needs to be a full path, so the LoadedImageName field
from the IMAGEHLP_MODULE64 structure is used here instead of the ModuleName
field.

MozReview-Commit-ID: 8zkfLWjKVs2
2015-10-29 13:25:03 -07:00
Phil Ringnalda
d7b348b2df Back out ff446e81eaf5 (bug 1216681) for Linux PGO bustage
CLOSED TREE
2016-02-11 20:27:36 -08:00
Chris Manchester
89842ddcd7 Bug 1216681 - Add a windows version of fileid to extract a guid from windows binaries. r=jimm,ted
This patch introduces a small utility program to extract a guid from a shared library
or executable on windows to identify the correct symbol file to read in fix_stack_using_bpsyms.py.
In order for this to work correctly on windows, the library name provided by
MozDescribeCodeAddress needs to be a full path, so the LoadedImageName field
from the IMAGEHLP_MODULE64 structure is used here instead of the ModuleName
field.

--HG--
extra : commitid : GwkhBdm81g3
2015-10-29 13:25:03 -07:00
Carsten "Tomcat" Book
6244cfb10e Backed out changeset 200da85932e9 (bug 1230862) for valgrind perma failures 2016-02-10 11:04:50 +01:00
Julien Pagès
cb348f4346 Bug 1230862 - Remove mozhttpd. r=wlach
--HG--
extra : commitid : HRDp24nhYo8
extra : rebase_source : 76443fa9938e488fcd06af7ba0676d491c9da36e
2016-02-09 03:26:43 +01:00
James Willcox
faeba278d1 Fix Fennec build on Mac, no bug, NPTOB r=ted 2016-02-08 17:45:27 -06:00
Ted Mielczarek
ea6f9a1958 bug 1069556 - sync to Breakpad c53ed143108948eb7e2d7ee77dc8c0d92050ce7c. r=glandium, benwa
This commit contains a few things:
* Update our copy of google-breakpad to upstream c53ed143108948eb7e2d7ee77dc8c0d92050ce7c
* Get rid of all but one local patch, fold a few related local patches into one
* Misc build fixup to sync with upstream--adding a few new moz.build files,
  source files
* The final bits of unhooking Breakpad from the profiler:
** Revert to only building toolkit/crashreporter if MOZ_CRASHREPORTER.
** Stop building bits of Breakpad that we only needed for the profiler.
** Remove a few bits of profiler code that were used to interface with Breakpad.
** Remove toolkit/crashreporter/breakpad-logging, which was only used to
   suppress Breakpad logging for the in-process stackwalker.
* Upstream removed their Android-compat sys/ucontext.h because the Android NDK
  added it, but the bionic we're using for Gonk builds is too old, so add a
  copy of the previous version of those files to
  toolkit/crashreporter/gonk-include to keep Gonk building.
* Consolidate moz.build files under toolkit/crashreporter/google-breakpad/client/linux

--HG--
rename : toolkit/crashreporter/google-breakpad/src/common/pathname_stripper.h => toolkit/crashreporter/google-breakpad/src/processor/pathname_stripper.h
rename : toolkit/crashreporter/google-breakpad/src/common/pathname_stripper_unittest.cc => toolkit/crashreporter/google-breakpad/src/processor/pathname_stripper_unittest.cc
extra : histedit_source : 43e65f5432657f548cac5aa7936461e58454c3b6%2C7b56ccc79d9d58ebde0583d920f3593e25212621
extra : rebase_source : f6dbfb8fb2ba5b27e63b26d57c404962679c7a76
extra : commitid : DMQlXPms868
extra : source : 09fd4f3ab6e764016fe073efb226f03b5969af59
extra : intermediate-source : 16f9d3a6d2ef6a6efd088e3b8eff0a4723daef8f
2016-01-27 09:39:53 -05:00
Gregory Szorc
0b6ca59214 Bug 1244736 - Remove mach update-uuids and related code; r=froydnj
We no longer update UUIDs when changing XPIDL interfaces. `mach
update-uuids` was invented to make this process easier. Delete the
command and related code since it is no longer needed.

--HG--
extra : commitid : GLChZKelC0Q
extra : rebase_source : f4a8f9727f1213ae4fe5d17fa1a648ed8802095f
extra : amend_source : 2fdab014f16482ae82e0cc0f9b2c2f4620001657
2016-02-01 16:10:08 -08:00
Chris H-C
843e04bb32 Bug 1238121 - Properly guard Profiler's RAII classes r=BenWa f=mystor
We can't use GuardObjects easily on the printf variant as va_list args and
default args can't play together.
2016-01-28 09:19:00 +01:00
Wes Kocher
23122402f7 Backed out changeset 65624d4c4a65 (bug 1238121) to hopefully fix the intermittent hazard failures
--HG--
extra : commitid : 6SsEbxXjwKq
2016-01-29 10:14:34 -08:00
Nathan Froyd
b1bbf96de9 Backout 24dbe7da7370:a319694b46d5 (bug 1069556) for build bustage on various platforms on a CLOSED TREE
--HG--
rename : toolkit/crashreporter/google-breakpad/src/client/linux/Makefile.in => toolkit/crashreporter/google-breakpad/src/client/linux/handler/Makefile.in
rename : toolkit/crashreporter/google-breakpad/src/processor/pathname_stripper.h => toolkit/crashreporter/google-breakpad/src/common/pathname_stripper.h
rename : toolkit/crashreporter/google-breakpad/src/processor/pathname_stripper_unittest.cc => toolkit/crashreporter/google-breakpad/src/common/pathname_stripper_unittest.cc
2016-01-29 11:55:43 -05:00
Ted Mielczarek
478ab040e0 bug 1069556 - local build changes to match up with upstream Breakpad. r=benwa,glandium
This commit contains a few things:
* Misc build fixup to sync with upstream--adding a few new moz.build files,
  source files
* The final bits of unhooking Breakpad from the profiler:
** Revert to only building toolkit/crashreporter if MOZ_CRASHREPORTER.
** Stop building bits of Breakpad that we only needed for the profiler.
** Remove a few bits of profiler code that were used to interface with Breakpad.
** Remove toolkit/crashreporter/breakpad-logging, which was only used to
   suppress Breakpad logging for the in-process stackwalker.
* Upstream removed their Android-compat sys/ucontext.h because the Android NDK
  added it, but the bionic we're using for Gonk builds is too old, so add a
  copy of the previous version of those files to
  toolkit/crashreporter/gonk-include to keep Gonk building.
* Consolidate moz.build files under toolkit/crashreporter/google-breakpad/client/linux

--HG--
rename : toolkit/crashreporter/google-breakpad/src/client/linux/handler/Makefile.in => toolkit/crashreporter/google-breakpad/src/client/linux/Makefile.in
extra : commitid : HeAH4kH17B1
extra : rebase_source : c9942aaca1d4e9555ecd44a23d7020a8a7ba1d77
extra : source : 31c98f5e107b9271be88e7c8543c4dbb4a2b6526
2016-01-27 09:39:53 -05:00
Chris H-C
dfbec1cede Bug 1238121 - Properly guard Profiler's RAII classes. r=BenWa, f=mystor
We can't use GuardObjects easily on the printf variant as va_list args and default args can't play together.

--HG--
extra : rebase_source : 418252aa8d1dcae56decd5ff99246d34578b9003
2016-01-28 09:19:00 -05:00
Carsten "Tomcat" Book
db55b0fa77 Backed out changeset 31c98f5e107b (bug 1069556)
--HG--
rename : toolkit/crashreporter/google-breakpad/src/client/linux/Makefile.in => toolkit/crashreporter/google-breakpad/src/client/linux/handler/Makefile.in
2016-01-26 14:53:02 +01:00
Ted Mielczarek
bf718146b7 bug 1069556 - local build changes to match up with upstream Breakpad. r=benwa,glandium
This commit contains a few things:
* Misc build fixup to sync with upstream--adding a few new moz.build files,
  source files
* The final bits of unhooking Breakpad from the profiler:
** Revert to only building toolkit/crashreporter if MOZ_CRASHREPORTER.
** Stop building bits of Breakpad that we only needed for the profiler.
** Remove a few bits of profiler code that were used to interface with Breakpad.
** Remove toolkit/crashreporter/breakpad-logging, which was only used to
   suppress Breakpad logging for the in-process stackwalker.
* Upstream removed their Android-compat sys/ucontext.h because the Android NDK
  added it, but the bionic we're using for Gonk builds is too old, so add a
  copy of the previous version of those files to
  toolkit/crashreporter/gonk-include to keep Gonk building.
* Consolidate moz.build files under toolkit/crashreporter/google-breakpad/client/linux

--HG--
rename : toolkit/crashreporter/google-breakpad/src/client/linux/handler/Makefile.in => toolkit/crashreporter/google-breakpad/src/client/linux/Makefile.in
extra : commitid : GR2H5y5DM7E
extra : rebase_source : 212b8f04703555658e1df026de2211ea20ac390b
2015-11-09 08:14:52 -05:00
Gregory Szorc
c550ec1795 Bug 1242678 - Disable mozext when running hg commands; r=dminor
We disable various extensions when running `hg` commands as part
of `mach mercurial-setup` because they can interfere with operations.
e.g. if the extension isn't compatible with your version of hg, you
will get an error.

For some reason "mozext" wasn't part of this list. Fix that.

DONTBUILD (NPOTB)

--HG--
extra : rebase_source : de041f677d32cc619cf38841ec76aa1adcd2b483
2016-01-25 12:15:46 -08:00
Phil Ringnalda
6aeccf0426 Merge f-t to m-c, a=merge 2016-01-23 18:11:37 -08:00
Sylvestre Ledru
ab4e3a0d42 Bug 1218816 - Remove useless semicolons. Found by coccinelle. r=Ehsan
--HG--
extra : rebase_source : 7d2cc56b6553cd7a8d848d3c660f30735bd82eec
2016-01-22 16:58:49 +01:00
Tom Tromey
5412728905 Bug 757969 - use __thread in ThreadLocal; r=froydnj 2016-01-22 10:33:44 -07:00
Nick Fitzgerald
22136ee183 Bug 1241249 - Add an SPS pseudo entry for JS stack capturing; r=shu
This commit adds SPS pseudo frame entries for
`js::SavedStacks::saveCurrentStack` with the `AutoSPSEntry` RAII class.
2016-01-20 11:32:00 +01:00
Benoit Girard
34b754c945 Bug 1239498 - Use Stackwalk64 on win x64. r=jrmuizel
--HG--
extra : commitid : 7YO11uKXKTJ
2016-01-13 15:22:01 -08:00
Jeff Muizelaar
f020f6e101 Bug 1239413. Clarify comment about the context flags. 2016-01-13 14:39:23 -05:00
Dave Townsend
a1a44cb784 Bug 1229588: Add a taskcluster test for eslint. r=dustin
Adds a new lint docker image for linting tools and adds an eslint-gecko task
that uses it to run eslint over the tree.

--HG--
extra : rebase_source : 6e3584ae9ec05ca1c45270f312d96cd026550e17
2016-01-06 13:33:30 -08:00
Andrea Marchesini
caa2f9b456 Bug 1231378 - part 4 - Fix uninitialized members of classes in netwerk/widget/storage/uriloader/memory/tools, r=smaug 2016-01-12 18:16:59 +00:00
Carsten "Tomcat" Book
3589aeeb8a Backed out changeset d6b0ffe1a7b3 (bug 1231378) 2016-01-12 15:48:54 +01:00
Andrea Marchesini
2609a149da Bug 1231378 - part 4 - Fix uninitialized members of classes in netwerk/widget/storage/uriloader/memory/tools, r=smaug 2016-01-12 13:57:37 +00:00
Nathan Froyd
523f2fa35f Bug 1237265 - use UniquePtr<T[]> instead of nsAutoArrayPtr<T> in tools/memory-profiler/; r=kanru 2015-12-06 09:28:03 -05:00
Chris Peterson
150add3f29 Bug 1236393 - Annotate intentional switch fallthrough to suppress -Wimplicit-fallthrough warning in tools/power/rapl.cpp. r=njn
tools/power/rapl.cpp:331:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
2015-11-23 22:41:07 -08:00
Nicholas Nethercote
bf641fa45d Bug 1237151 (part 4) - Turn on -Wignored-qualifiers for C++ code. r=mshal.
It's already on for C code.
2016-01-05 14:31:02 -08:00
Nicholas Nethercote
ec89bbf7f2 Bug 1237151 (part 3) - Remove ignored qualifiers in all remaining code. r=froydnj. 2016-01-05 17:08:45 -08:00
Andrew Halberstadt
d16732976a Bug 1234927 - Display fxheads in |hg wip| alias, r=gps
--HG--
extra : rebase_source : 24087d640aefb0f818b565e382b17613cfeb6edb
2015-12-23 15:38:08 -05:00
Chris Peterson
de68dcb191 Bug 1235502 - Fix -Wunreachable-code warning in tools/profiler/. r=BenWa
tools/profiler/core/shared-libraries-linux.cc:115:15: warning: code will never be executed [-Wunreachable-code]
2015-12-28 19:12:21 -07:00
Chris Manchester
58d5a05e65 Bug 1216681 - Add a fileid utility to extract the breakpad GUID from object files for identification in fix_stack_using_bpsyms. r=ted
fix_stack_using_bpsyms.py locates a .sym file based on file name only, not uuid or full path,
which causes a failure if a duplicate leaf file name is introduced. This patch introduces a
small utility program on mac and linux to extract a breakpad guid from a shared library or
executable to identify the correct symbol file when this ambiguity occurs. A subsequent commit
implements this for windows.

--HG--
extra : commitid : 2O7REfHuDus
2015-10-21 16:37:42 -07:00
Mike Conley
009f18f61a Bug 1221846 - Properly close the tasktracer property in the GeckoSampler JSON blob. r=BenWa
--HG--
extra : rebase_source : c4ef8f49ab072da6287be8cab0393cc16be9edfe
2015-12-15 19:12:17 -05:00
Mike Conley
e62894147e Bug 1221846 - Get Task Tracer building on desktop r=cyu.
--HG--
extra : rebase_source : 0666526a249c106274a4c764e325cd9810e9a2e7
2015-12-02 20:55:38 -05:00
Wes Kocher
109e665626 Backed out changeset ef3be88cb79c (bug 1216681) for breaking asan m(bc2)
--HG--
extra : commitid : Fx8GzMNeNqU
extra : rebase_source : eb9aabd133ab5fad412312947f35322aaae41898
2015-12-31 16:11:58 -08:00
Gregory Szorc
29bbc52ac7 Bug 1235921 - Update modern Mercurial version to 3.5.2; r=me
3.5.2 is what is listed in `mach mercurial-setup`. These should match.
Add a comment to each file saying to change both.

--HG--
extra : commitid : FebjTovmqGk
extra : rebase_source : 50490c1896a4c402f27cf4154b155932614da558
extra : amend_source : 73ae0ddc9f2770351d2ee2aaf5121656fb7e5750
2015-12-31 16:01:48 -08:00
Chris Manchester
10b3355fe8 Bug 1216681 - Add a fileid utility to extract the breakpad GUID from object files for identification in fix_stack_using_bpsyms. r=ted
fix_stack_using_bpsyms.py locates a .sym file based on file name only, not uuid or full path,
which causes a failure if a duplicate leaf file name is introduced. This patch introduces a
small utility program on mac and linux to extract a breakpad guid from a shared library or
executable to identify the correct symbol file when this ambiguity occurs. A subsequent commit
implements this for windows.
2015-10-21 16:37:42 -07:00
Mike Hommey
c2d36c7522 Bug 1235676 - Replace $(abspath $(DIST)) with $(ABS_DIST). r=mshal 2015-12-31 08:10:02 +09:00
Mike Hommey
ae8b4f0347 Bug 1235676 - Replace _ABS_DIST with ABS_DIST. r=mshal 2015-12-31 08:10:02 +09:00
Benoit Girard
8caf284e45 Bug 1233835 - Fix TaskTracer double init assert. r=mconley
--HG--
extra : rebase_source : 4e734a428bf22863e5ee6fa44191752c9a8cec77
2015-12-18 16:12:47 -05:00
Dave Townsend
b01d37029e Bug 1230300: Add a hg extension that rejects changesets that fail to pass eslint. r=gps
This grabs the list of changed and added files that match the set we expect to
be able to lint and runs them through eslint displaying simple messages on error.

--HG--
extra : commitid : FVxtG7pqP4a
extra : rebase_source : 49dde3431f40a395e36caa3f37819a91a65d3c90
extra : amend_source : fd3ce711f6204205f95d8e28ae1f4ca6b3e0fd25
2015-12-11 09:11:49 -05:00
Gregory Szorc
ee27b8ebce Bug 1225599 - Pull Mercurial repos with common 3rd party extensions disabled; r=dminor
Running old extensions with newer versions of Mercurial may crash `hg`
due to the old extension accessing something or doing something that has
been changed in the new release.

To minimize the risk of this happening, we disable common 3rd party
extensions when cloning or pulling as part of `mach mercurial-setup`. We
don't want to disable everything because some extensions (like
remotenames) provide features the user may want enabled as part of the
clone/update. This leaves the door open for more failures. Hopefully
this approach is sufficient. We can always revisit later.

--HG--
extra : rebase_source : 92e7d8fe227f29fc64c0f69021bd731ba762faf3
2015-12-15 10:47:33 -08:00
Gregory Szorc
9a8504bec6 Bug 1232747 - Check for ssl.SSLContext existence; r=dminor
ssl.SSLContext was added in 2.7.9. I thought it was present in earlier
versions and the extra cert foo was added in 2.7.9. Derp.

--HG--
extra : rebase_source : b7a0dd2b9181330a1f23696f46c79cc875927f66
2015-12-15 11:26:20 -08:00
Alessio Placitelli
af49ee7fbe Bug 1231965 - Change references to ./mach build-docs to ./mach doc. r=gps
--HG--
extra : rebase_source : 53012ecda93a4c823a8de4b43afab5f1fa97a241
2015-12-11 17:33:11 +01:00
Gregory Szorc
15df0b5e2b Bug 1231989 - Prompt to install hgwatchman extension; r=ahal
This can speed up performance significantly.

Only support OS X for now because on Linux we have to adjust inode
limits to support mozilla-central and I don't feel like scope bloating.

--HG--
extra : commitid : 6M3YsqJAdR8
extra : rebase_source : 042ede08de060ff16b9bb2a009727ac73b5f928f
extra : amend_source : 5c91544cf91b460d4c25ce8334759fcd56326942
extra : histedit_source : 8bdd4099ad9a1113734ecf0fc0ddaa9ec359dc56
2015-12-11 13:02:53 -05:00
Gregory Szorc
c72b0e3879 Bug 1231192 - Only install host fingerprints if not running secure Python+hg; r=smacleod
See inline comment.

--HG--
extra : rebase_source : ea92193e33f35df71d3bc85edc2db4c86efa290c
2015-12-07 13:15:24 -08:00
Gregory Szorc
0fdce19cb8 Bug 1231192 - Offer to install hg wip; r=smacleod
--HG--
extra : rebase_source : 4fa02af4d0f723e1ffb1a5854c4bde1204bec5d7
2015-12-07 13:22:49 -08:00
Gregory Szorc
3ecb03a1a8 Bug 1231192 - Support clonebundles feature; r=smacleod
bundleclone is the Mozilla-specific precursor to the "clonebundles"
feature in Mercurial 3.6. Change the wizard to recognize when
clonebundles is available and to favor it. Activating clonebundles will
also disable bundleclone, as bundleclone is redundant with clonebundles.
(If both are enabled, bundleclone detects this and gets out of the way.)

--HG--
extra : rebase_source : 989a2ed683ca6a3cc31a3ef4e2803d0b8bf19f09
2015-12-07 13:03:17 -08:00
Gregory Szorc
985a496a77 Bug 1231192 - Bump some minimum Mercurial version; r=smacleod
We only support the last 4 releases of Mercurial. 3.6 is out, which
means we only support down to 3.3.

--HG--
extra : rebase_source : 2b097b5cdbbe87efcf2676ac83b5539298604aac
2015-12-07 12:23:56 -08:00
Gregory Szorc
041af1aae1 Bug 1231192 - Mark Mercurial 3.5.2 as oldest non-legacy version; r=smacleod
Main reason for recommending 3.5 is bundle2. The protocol is faster and
we can do things like put extra data in the server exchange. It also
enables generaldelta to be exchanged without pain.

And of course there are tons of performance improvements and bug fixes.

--HG--
extra : rebase_source : 82e4e6416cb16d2d4b5c795cd567e766c3c8b7f7
2015-12-07 12:20:50 -08:00
Matt Howell
421eb47a4b Bug 1079858, Deal with deprecation of SHA1 (SHA-1) Authenticode signatures for Windows signing, part 2 (swap cert), r=catlee, a=lizzard
--HG--
extra : amend_source : 450203e03ee0f46929ca4b4ce1a1e43b4ea6df97
2015-12-08 16:16:55 -05:00
Wes Kocher
39967e9806 Backed out changeset 0ea0832d052d (bug 1079858) for causing bug 1230631 a=backout
--HG--
extra : commitid : GeBy210BpUB
2015-12-04 14:58:55 -08:00
Mike Conley
51d7f5de3d Bug 1193838 - Allow ProfileGatherer to gather profiles from exiting processes. r=BenWa
--HG--
extra : commitid : IhyN838vNVU
extra : rebase_source : a91c87e3f9a087cd789bdb678651ab351357092a
2015-08-18 14:57:35 -04:00
Mike Conley
9811d5b26c Bug 1193838 - Expose ProfileGatherer as an nsISupports through nsIProfiler for process parent actors. r=BenWa
We need to let ContentParent and PluginModuleParent get a reference to the ProfileGatherer
during the window of time that we're profiling so that if they start to die (the actor is
starting to go away), they have a gatherer they can send their last profile data to.

--HG--
extra : commitid : LkcpDsiXmp0
extra : rebase_source : d1c9e6e7640ff759cef25920e2bc17c0484544bd
2015-08-12 14:20:26 -04:00
Mike Conley
0069816212 Bug 1193838 - Make ProfileGatherer exist during the lifetime of a GeckoSampler. r=BenWa
--HG--
extra : commitid : GutYRbuADgV
extra : rebase_source : dc291977bb7ef43a024e26c83abb47b75a82b841
2015-12-01 13:01:27 -05:00
Alex Jordan
ca8be71591 Bug 1228580 - ./mach mercurial-setup should use ~ to set up extension paths, not my literal home directory. r=gps 2015-11-27 14:51:50 -08:00
Ben Hearsum
2658b43d3a Bug 1079858: Enable SHA2 signing for windows. r=catlee rs=rstrong
--HG--
extra : amend_source : c605389facd952635d04a60b15bb14a269d073dc
2015-12-02 14:12:37 -05:00
Bogdan Postelnicu
e98cb50956 Bug 1228339 - Initialize members in class. r=jseward 2015-12-02 02:50:00 +01:00
Nigel Babu
cda29316d8 Backed out changeset 0d6721e243d3 (bug 1228339) for build bustage
CLOSED TREE

--HG--
extra : amend_source : 68000631ca959f6ac64d1ed9d01fe091f933370a
2015-12-02 14:09:40 +05:30
Bogdan Postelnicu
b33bbc96f1 Bug 1228339 - initialize memebers in class. r=jseward
--HG--
extra : rebase_source : e66d5752d36299c357a8ca1fdb737ef010fc67ba
2015-11-26 07:03:00 +01:00
Mike Hommey
3a7b31cfb5 Bug 1228444 - Rename DIST_FILES to FINAL_TARGET_PP_FILES. r=gps
This makes it clearer that really it's the same thing as FINAL_TARGET,
with preprocessing.
We still keep DIST_FILES in backend.mk because it's shorter and doesn't
really matter.
2015-12-01 08:25:22 +09:00
Mike Hommey
655579a1fa Bug 1228444 - Don't silence "no preprocessor directives found" warnings for DIST_FILES. r=gps
and move files without preprocessor directives to FINAL_TARGET_FILES.
2015-12-01 08:25:22 +09:00
Mike Conley
26dff43ec9 Bug 1103094 - Start profiling subprocesses if the parent process is already profiling. r=BenWa
--HG--
extra : commitid : 5WuS9Ur4Lmn
extra : rebase_source : ec3fd280607c5b13090d3c4e902b47ffd5617ec3
2015-08-11 14:26:27 -04:00
Mike Conley
6439f951dc Bug 1103094 - Add accessor for nsIProfilerStartParams to nsIProfiler. r=BenWa
--HG--
extra : commitid : LMGmwgJA3uM
extra : rebase_source : 8d44cc8166996fb31ff4e256a5e050ad45c06611
2015-08-11 14:26:09 -04:00
Mike Hommey
5ab167c3b0 Bug 1224490 - Kill LIBXUL_DIST. r=mshal 2015-11-17 10:00:19 +09:00
Benoit Girard
58a6a87af1 Bug 989499 - Part 2: Use FramePointerStackwalk on windows. r=rjmuizel
--HG--
extra : commitid : ILgHveuWaET
2014-03-28 16:31:15 -04:00
Jeff Muizelaar
1a0db79ef4 Bug 989499 - Part 1: Add a way to get the stack top. r=BenWa
--HG--
extra : commitid : FeZ1v6oPxGh
2014-03-28 16:18:24 -04:00
Andreas Tolfsen
34b2c0c28f Bug 1223459: Serve documentation over HTTP in mach doc
Introduces new flag --http [ADDRESS] that spins up an HTTPD serving
`outdir'.  By default it will spin up a server on 0.0.0.0:6666.

r=ahal

--HG--
extra : commitid : EP5vOiGxJM7
extra : rebase_source : e6a8c4c44ccf45eb3a570d6e0575999c72465fec
2015-11-10 20:37:38 +00:00
Chris Peterson
7d76083902 Bug 1223262 - Fix -Wunreachable-code warning in tools/profiler. r=BenWa
tools/profiler/core/platform-linux.cc:363:11: warning: code will never be executed [-Wunreachable-code]
2015-11-11 21:18:20 -08:00
Chris Peterson
3193160487 Bug 1222887 - Suppress -Wunreachable-code warning in tools/power. r=njn
tools/power/rapl.cpp:844:5 [-Wunreachable-code] code will never be executed

clang reports a -Wunreachable-code warning for sigemptyset() because Darwin's sigemptyset() is a macro that always returns 0. Thus `if (sigemptyset(&sa.sa_mask) < 0)` is always false and `Abort("sigemptyset() failed")` is never called. Linux's sigemptyset() can return 0 or -1. The extra parens around (0) suppress the clang warning.
2015-11-09 01:03:54 -08:00
Andrew Halberstadt
157819bf8d Bug 1220789 - Generalize |mach build-doc| for any arbitrary sphinx projects; rename to |mach doc|, r=gps
Now, running |mach doc <path/to/project>| will generate the sphinx based docs of the project and open them
in the default browser. Mulitple doc paths can be supplied at a time. E.g:
./mach doc testing/mozbase

--HG--
extra : commitid : IOguvvudLzw
extra : rebase_source : c53788d259c7f69be997426227778820ec99dd26
extra : amend_source : 5fa5069d1c7c8d5d93fefb56563af9bd28286b90
2015-11-03 15:39:50 -05:00
Gregory Szorc
202a3968b4 Bug 1213959 - Set SHELL in Read the Docs environment; r=ted
The Read the Docs environment doesn't have SHELL defined. This causes
mach.mixin.process's import to fail, as it insists on finding an active
shell. While we could fix mach.mixin.process to not raise if the
variable is not set, this is a bit more work and has wider build system
and mach implications. So we employ a quick hack instead.

DONTBUILD (NPOTB)

--HG--
extra : commitid : 23fRi9TQht4
extra : rebase_source : 4b3d0833f789a73fee67c0cadcf525434f08f78b
2015-11-04 08:26:26 -08:00
Birunthan Mohanathas
9985829ecc Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
Wes Kocher
2db3a9d1ce Bug 1218903 - Update bmo fingerprint. r=fubar, a=Tomcat
--HG--
extra : rebase_source : 111d7f0a25f4822c91a03163dcf13994a2f60559
2015-10-27 10:50:45 -07:00
Kan-Ru Chen
036b83665f Bug 1216970 - Make the copying more obvious in ProfilerImpl::GetStacktrace. r=froydnj 2015-10-23 11:43:00 +08: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
Nathan Froyd
583afa0965 Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
This commit was generated using the following script, executed at the
top level of a typical source code checkout.

 # Don't modify select files in mfbt/ because it's not worth trying to
 # tease out the dependencies currently.
 #
 # Don't modify anything in media/gmp-clearkey/0.1/ because those files
 # use their own RefPtr, defined in their own RefCounted.h.
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    grep -v 'mfbt/RefPtr.h' | \
    grep -v 'mfbt/nsRefPtr.h' | \
    grep -v 'mfbt/RefCounted.h' | \
    grep -v 'media/gmp-clearkey/0.1/' | \
    xargs perl -p -i -e '
 s/mozilla::RefPtr/nsRefPtr/g; # handle declarations in headers
 s/\bRefPtr</nsRefPtr</g; # handle local variables in functions
 s#mozilla/RefPtr.h#mozilla/nsRefPtr.h#; # handle #includes
 s#mfbt/RefPtr.h#mfbt/nsRefPtr.h#;       # handle strange #includes
'

 # |using mozilla::RefPtr;| is OK; |using nsRefPtr;| is invalid syntax.
find . -name '*.cpp' -o -name '*.mm' | xargs sed -i -e '/using nsRefPtr/d'

 # RefPtr.h used |byRef| for dealing with COM-style outparams.
 # nsRefPtr.h uses |getter_AddRefs|.
 # Fixup that mismatch.
find . -name '*.cpp' -o -name '*.h'| \
    xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-18 00:40:10 -04:00
Nicholas Nethercote
557e2db669 Bug 1214924 - Add "WindowServer" and "kernel" processes to |mach power|'s output. r=BenWa.
--HG--
extra : rebase_source : c85d0c6b92c82c32b5e194143358956479a477b9
2015-10-16 14:01:22 +11:00
Gregory Szorc
8004ebf048 Bug 1212427 - Reference extra Python paths in Sphinx config; r=mshal
f6d18678498b / bug 1212427 introduced a few more dependencies. Add them
to sys.path in the Sphinx config so Sphinx works on Read the Docs.

--HG--
extra : commitid : I2WmZNyGBLu
extra : rebase_source : 61b7a66c558321fc6550453411744c12fdd49f60
extra : amend_source : 8020e34f6c8a809fb1c323180b3a96433bbc2d2f
2015-10-09 13:03:52 -07:00
Julien Pagès
bc8d5d3358 Bug 1209772 - 'mozregression was installed. please re-run your command.' when running ./mach mozregression. r=ahal 2015-10-05 22:08:35 +02:00
Nick Fitzgerald
5808084085 Bug 121027 - Stop manually adding null entries to the profiler's JSON output; r=shu 2015-10-05 14:19:00 +02:00
Xidorn Quan
e573430f7d Bug 1186745 part 4 - Make TracedRunnable accept an already_AddRefed instead of a raw pointer. r=froydnj
--HG--
extra : source : 0a748a541a5425602ed0af670ffdb031c11dd627
2015-10-06 13:00:59 +11:00
Wes Kocher
c0ddea6e1b Backed out changeset 8f489e406701 (bug 822135) for m(dt) failures CLOSED TREE 2015-10-02 16:07:43 -07:00
Nick Fitzgerald
0066e77f7c Bug 1209779 - Ensure that all null elements are written when streaming profiler JSON; r=shu
--HG--
extra : commitid : 1WUhRQd8QZA
2015-10-02 14:27:40 -04:00
Benoit Girard
9e72c16a5c Bug 822135 - Fix nsProfiler observer strong reference. r=ehsan
--HG--
extra : commitid : 9RUq4o2tH4K
2015-10-02 10:57:03 -04:00
Wes Kocher
1d312920f4 Backed out 6 changesets (bug 1186745) for android Cpp failures
Backed out changeset 237a6acf0709 (bug 1186745)
Backed out changeset 7b530871783a (bug 1186745)
Backed out changeset 73f73b531fc8 (bug 1186745)
Backed out changeset e36909748ddf (bug 1186745)
Backed out changeset 3a31df8787f0 (bug 1186745)
Backed out changeset df9cb8f5f0a5 (bug 1186745)
2015-10-02 10:35:09 -07:00
Xidorn Quan
d148f6ae66 Bug 1186745 part 4 - Make TracedRunnable accept an already_AddRefed instead of a raw pointer. r=froydnj
--HG--
extra : source : 343cc4075627fb4dc7c78e8cef590a82e8ef044c
2015-10-03 00:18:24 +10:00
Benoit Girard
af526bfc6d Bug 875605 - Add tests to check-moz-style. r=ms2ger
--HG--
rename : tools/check-moz-style/check-moz-style => tools/check-moz-style/checkmozstyle.py
extra : commitid : ASOuDmW8fdP
extra : rebase_source : f39b3c59f62f03dad13f7a9ca9e0353f76657aa0
2013-05-26 09:42:31 -04:00
Benoit Girard
a95517121f Bug 875605 - Add HG + update style rules for moz-check-style. r=ms2ger
--HG--
extra : commitid : 5T6M5vDpgg1
extra : rebase_source : 8a7475de4a9694f73a4a654abc96c839fc6ed32c
2013-05-25 19:33:36 -04:00
Benoit Girard
f463e140e0 Bug 875605 - Import check-webkit-style. r=ms2ger
--HG--
extra : commitid : 3S2i7teMyIJ
extra : rebase_source : 4765f7a61244696a42a52ab9205a5e46ab16065a
2013-05-25 19:23:47 -04:00
Ted Mielczarek
dc4944233c bug 543111 - Fix Mac Breakpad host tools to build in Linux cross-compile. r=mento,glandium
--HG--
rename : toolkit/crashreporter/google-breakpad/src/tools/mac/dump_syms/dump_syms_tool.mm => toolkit/crashreporter/google-breakpad/src/tools/mac/dump_syms/dump_syms_tool.cc
extra : commitid : 1MeVskegqFV
extra : rebase_source : 99fae330b3917e46c380e0c83054790ecd661ea5
2015-10-01 15:04:27 -04:00
Carsten "Tomcat" Book
d325d6fc78 Backed out 4 changesets (bug 543111) for mac bustage on a CLOSED TREE
Backed out changeset 81f6fdc25862 (bug 543111)
Backed out changeset d1a73eaa6113 (bug 543111)
Backed out changeset 08c7f9ed5970 (bug 543111)
Backed out changeset 3b323ed3b20a (bug 543111)

--HG--
rename : toolkit/crashreporter/google-breakpad/src/tools/mac/dump_syms/dump_syms_tool.cc => toolkit/crashreporter/google-breakpad/src/tools/mac/dump_syms/dump_syms_tool.mm
2015-10-01 14:32:11 +02:00
Ted Mielczarek
c3b97accbb bug 543111 - Fix Mac Breakpad host tools to build in Linux cross-compile. r=mento,glandium
--HG--
rename : toolkit/crashreporter/google-breakpad/src/tools/mac/dump_syms/dump_syms_tool.mm => toolkit/crashreporter/google-breakpad/src/tools/mac/dump_syms/dump_syms_tool.cc
extra : commitid : 9ALTpfdqmnH
extra : rebase_source : 67000f6e4027b895df096a48f3255e864ac10167
2015-10-01 06:24:58 -04:00
Phil Ringnalda
c096566a7e Back out 6 changesets (bug 1186745) for cpptest failure in runnable_utils_unittest, nrappkit_unittest, test_nr_socket_unittest
Backed out changeset c6142b815de0 (bug 1186745)
Backed out changeset d8f740ef2430 (bug 1186745)
Backed out changeset edc0b56d81fa (bug 1186745)
Backed out changeset 383f8ac033ea (bug 1186745)
Backed out changeset ce960a661987 (bug 1186745)
Backed out changeset 3e9783023fb2 (bug 1186745)

--HG--
extra : rebase_source : 4681d6abaaa927ddb863f944efc87e6c6f6c2e26
2015-09-28 19:05:02 -07:00
Xidorn Quan
33369f9d5f Bug 1186745 part 4 - Make TracedRunnable accept an already_AddRefed instead of a raw pointer. r=froydnj
--HG--
extra : source : 8ed5530cadd2199943b073f372d6568ee5d88267
2015-09-29 09:28:22 +10:00
Victor Porof
2c7d6ec854 Bug 1196947 - Performance tools should display a message in private browsing, r=jsantell 2015-09-26 06:21:09 +02:00
Nathan Froyd
5761751aa3 Bug 1207245 - part 1 - move RefCounted<T> to its own file
Various bits depend on RefPtr.h to provide RefCounted<T> and RefPtr<T>.
It will be easier to manage an automatic conversion from RefPtr<T> to
nsRefPtr<T> if we split out the dependency on RefCounted<T> first.
2015-09-22 21:27:34 -04:00
Dylan Roeh
ee309b2869 Bug 1189881 - Move GeckoJavaSampler::getProfilerTime out of AndroidJNI.cpp. r=jchen 2015-09-17 16:17:26 -05:00
Nick Fitzgerald
8098307c50 Bug 1204584 - Ensure that entries created by AutoSPSEntry propogate their category information; r=djvj
This commit renames ProfileEntry::set{Js,Cpp}Frame methods to
ProfileEntry::init{Js,Cpp}Frame to highlight the fact that they are intended to
initialize the entry, and that setting other flags should happen after one of
these calls.
2015-09-19 11:19:07 +02:00
sajitk
9aabf6aa5a Bug 1203477 - Moved Mozilla specific files to glue directory, and third party files to hyphen directory. Adjusted moz.build files. r=glandium
--HG--
rename : intl/hyphenation/hnjalloc.h => intl/hyphenation/glue/hnjalloc.h
rename : intl/hyphenation/hnjstdio.cpp => intl/hyphenation/glue/hnjstdio.cpp
rename : intl/hyphenation/moz.build => intl/hyphenation/glue/moz.build
rename : intl/hyphenation/nsHyphenationManager.cpp => intl/hyphenation/glue/nsHyphenationManager.cpp
rename : intl/hyphenation/nsHyphenationManager.h => intl/hyphenation/glue/nsHyphenationManager.h
rename : intl/hyphenation/nsHyphenator.cpp => intl/hyphenation/glue/nsHyphenator.cpp
rename : intl/hyphenation/nsHyphenator.h => intl/hyphenation/glue/nsHyphenator.h
rename : intl/hyphenation/COPYING => intl/hyphenation/hyphen/COPYING
rename : intl/hyphenation/COPYING.LGPL => intl/hyphenation/hyphen/COPYING.LGPL
rename : intl/hyphenation/COPYING.MPL => intl/hyphenation/hyphen/COPYING.MPL
rename : intl/hyphenation/README => intl/hyphenation/hyphen/README
rename : intl/hyphenation/README.compound => intl/hyphenation/hyphen/README.compound
rename : intl/hyphenation/README.hyphen => intl/hyphenation/hyphen/README.hyphen
rename : intl/hyphenation/README.nonstandard => intl/hyphenation/hyphen/README.nonstandard
rename : intl/hyphenation/hyphen.c => intl/hyphenation/hyphen/hyphen.c
rename : intl/hyphenation/hyphen.h => intl/hyphenation/hyphen/hyphen.h
rename : intl/hyphenation/moz.build => intl/hyphenation/hyphen/moz.build
2015-09-16 21:01:00 +02:00
Nicholas Nethercote
de59a42fb1 Bug 1204787 - Add |mach power|. r=glandium.
This extracts the most useful browser-related measurements from rapl and
powermetrics.

--HG--
extra : rebase_source : 81ce14acc6c6e1bc7ac6c34bf119d8e619956dd1
2015-09-15 16:23:45 +10:00
Carsten "Tomcat" Book
ba9aec3116 Backed out 1 changesets (bug 1189881) for bustage on a CLOSED TREE
Backed out changeset e0b666c198dd (bug 1189881)

--HG--
extra : rebase_source : 56db9306aa89588c795d03f08c7b5ea29a5fb3fd
2015-09-17 14:07:04 +02:00
Dylan Roeh
0ad2686c67 Bug 1189881 - Move GeckoJavaSampler::getProfilerTime out of AndroidJNI.cpp. r=jchen 2015-09-15 11:54:56 -05:00
James Willcox
1f8b781e7f Bug 1205074 - Enable EHABI stack walking on Android r=BenWa 2015-09-16 13:23:28 -05:00
Kan-Ru Chen
4efb6ef006 Bug 1123237 - Part 11. Don't use STL in memory-profiler. r=BenWa,cervantes 2015-09-16 10:31:13 +08:00
Kan-Ru Chen
5c8dec0a0e Bug 1123237 - Part 8. Tracking the memory events. r=BenWa,terrence
Based on patch from Ting-Yuan Huang <laszio.bugzilla@gmail.com>
2015-09-16 10:31:12 +08:00
Kan-Ru Chen
008c01bd6c Bug 1123237 - Part 7. XPCOM interface for memory profiler. r=smaug
Based on patch from Ting-Yuan Huang <laszio.bugzilla@gmail.com>
2015-09-16 10:31:12 +08:00
Kan-Ru Chen
b4ef7f369b Bug 1123237 - Part 6. A new API to get backtrace without allocating memory in profiler. r=mstange
Based on patch from Ting-Yuan Huang <laszio.bugzilla@gmail.com>
2015-09-16 10:31:11 +08:00
Gregory Szorc
f99d0b9b59 Bug 1200461 - Prompt for Bugzilla API Key instead of password; r=smacleod
All extensions in version-control-tools should support Bugzilla API Keys
now. MozReview requires them. We'll likely remove support for passwords
and cookie auth in the future. This commit transitions the Mercurial
setup wizard to API Keys exclusively.

DONTBUILD (NPOTB)

--HG--
extra : commitid : DM33vGsljQz
extra : rebase_source : 047cd10eb976719ce94478a9a08363dbcd86ae68
2015-09-15 15:57:40 -07:00
sajitk
2b31623cab Bug 1200065 - Split Mozilla specific code from extensions/spellcheck/hunspell directory to glue directory and adjusted moz.build files. r=glandium
--HG--
rename : extensions/spellcheck/hunspell/src/PRemoteSpellcheckEngine.ipdl => extensions/spellcheck/hunspell/glue/PRemoteSpellcheckEngine.ipdl
rename : extensions/spellcheck/hunspell/src/RemoteSpellCheckEngineChild.cpp => extensions/spellcheck/hunspell/glue/RemoteSpellCheckEngineChild.cpp
rename : extensions/spellcheck/hunspell/src/RemoteSpellCheckEngineChild.h => extensions/spellcheck/hunspell/glue/RemoteSpellCheckEngineChild.h
rename : extensions/spellcheck/hunspell/src/RemoteSpellCheckEngineParent.cpp => extensions/spellcheck/hunspell/glue/RemoteSpellCheckEngineParent.cpp
rename : extensions/spellcheck/hunspell/src/RemoteSpellCheckEngineParent.h => extensions/spellcheck/hunspell/glue/RemoteSpellCheckEngineParent.h
rename : extensions/spellcheck/hunspell/src/hunspell_alloc_hooks.h => extensions/spellcheck/hunspell/glue/hunspell_alloc_hooks.h
rename : extensions/spellcheck/hunspell/src/hunspell_fopen_hooks.h => extensions/spellcheck/hunspell/glue/hunspell_fopen_hooks.h
rename : extensions/spellcheck/hunspell/src/moz.build => extensions/spellcheck/hunspell/glue/moz.build
rename : extensions/spellcheck/hunspell/src/mozHunspell.cpp => extensions/spellcheck/hunspell/glue/mozHunspell.cpp
rename : extensions/spellcheck/hunspell/src/mozHunspell.h => extensions/spellcheck/hunspell/glue/mozHunspell.h
rename : extensions/spellcheck/hunspell/src/mozHunspellAllocator.h => extensions/spellcheck/hunspell/glue/mozHunspellAllocator.h
rename : extensions/spellcheck/hunspell/src/mozHunspellDirProvider.cpp => extensions/spellcheck/hunspell/glue/mozHunspellDirProvider.cpp
rename : extensions/spellcheck/hunspell/src/mozHunspellDirProvider.h => extensions/spellcheck/hunspell/glue/mozHunspellDirProvider.h
2015-09-11 07:44:00 +02:00
Michael Layzell
0097c41e01 Bug 1201190 - Part 3: Mark every consumer of GUARD_OBJECT as MOZ_RAII, r=ehsan 2015-09-12 16:53:33 -04:00
Nicholas Nethercote
a919a2d114 Bug 1203811 - Clarify two error messages in tools/power/rapl. r=heycam. 2015-09-10 23:12:31 -07:00
Nicholas Nethercote
c93125fd60 Bug 1203834 - Fix's rapl's handling of unsupported power domains. r=glandium.
The "gpu" and "ram" domains aren't supported by all platforms. rapl has a
special constant |kUnsupported_j| to represent this on Linux, but I
accidentally have a minus sign in front of it in several places, which means
that instead of printing "n/a" for unsupported planes we always print "1.0".

I think this happened because I used to hardwire -1 in there and then I later
changed it to a constant but forgot to remove the minus signs.

It sure would be nice to have automated testing for this stuff, but I don't see
how to do it.
2015-09-10 23:12:20 -07:00
Julien Pagès
785505aafb Bug 1200293 - mach target for mozregression. r=ahal 2015-09-05 18:27:23 +02:00
Wes Kocher
2c5f95092c Backed out changeset e1833c2684f0 (bug 1079858) for windows xpcshell failures CLOSED TREE 2015-09-08 12:58:03 -07:00
Ben Hearsum
176963d18e bug 1079858: switch to SHA-2 authenticode signatures. r=catlee 2015-09-08 10:44:17 -04:00
Nicholas Nethercote
51b5ca14d4 Bug 1201811 (part 2) - Don't print distribution stats if there was only 1 sample. r=erahm.
--HG--
extra : rebase_source : aa6b26441c5ca285a15d58d97a62f064e891d09b
2015-09-04 01:45:13 -07:00
Nicholas Nethercote
21be35d70a Bug 1201811 (part 1) - Don't use integer arithmetic when summing totals in rapl. r=erahm.
--HG--
extra : rebase_source : 2c800587f4bc49a492fb85be1e7d6c0c7885052e
2015-09-04 01:04:46 -07:00
Chris Peterson
bb3240f4f5 Bug 1200450 - Add libffi, dtoa, openaes, and android/thirdparty to ThirdPartyPaths.txt. r=ehsan 2015-08-31 12:00:35 -07:00
Gregory Szorc
7c77cbc5d3 Bug 1195445 - Update host key fingerprint for bugzilla.mozilla.org
The certificate was updated to a SHA-2 certificate.

DONTBUILD (NPOTB)

--HG--
extra : commitid : 11QMFkjpCTa
extra : rebase_source : b9e005c278ef223066a58d78029ccbb4a1c1c9e4
extra : amend_source : bb1bcd8003fa644ce4c8876ec2aa7ac20790ad9e
2015-09-01 17:52:46 -07:00
Xidorn Quan
5264de316d Bug 1200458 - Skip permission check for .hgrc on Windows in hgsetup wizard. r=gps DONTBUILD
--HG--
extra : source : 8fa50ca328f1204bf5f4a51cf3d74de3200c3c0f
2015-09-01 10:22:45 +10: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
Nicholas Nethercote
4e53819fec Bug 1198334 (part 0) - Tighten up warnings-as-errors usage in tools/power/. r=glandium.
--HG--
extra : rebase_source : a8239fd2911e57820eba3c1759365627f669b9d2
2015-08-27 20:40:44 -07:00
Benoit Girard
fb86861381 Bug 1122721 - Don't call pthread_get_stackaddr_np during sampling. r=mstange
--HG--
extra : commitid : REhZnhBQ3J
extra : rebase_source : bf4bbc42cb75faa5d2028340396873b78210e52b
2015-08-25 18:03:32 -04:00
Nicholas Nethercote
33d3e011d3 Bug 1198137 (follow-up) - Add a missing #include to unbreak Mac OS builds on a CLOSED TREE. r=me
--HG--
extra : rebase_source : 9704e746704ef614b48b9ebcdb0afd3e729258ad
2015-08-26 11:48:08 +10:00
Nicholas Nethercote
cdcc41338a Bug 1198137 - Add some summary stats to tool/power/rapl's output. r=erahm.
"mean" is most useful, then "min" and "max". The rest are moderately useful.

--HG--
extra : rebase_source : 03fda0e0d32081024abd5cdf859f16dac60bbc19
2015-08-25 18:11:03 -07:00
Jim Chen
4149622c41 Bug 1196845 - Fix invalid JSON in saved Java thread profile; r=BenWa
Saved Java thread profiles are missing a pair of braces. As a result,
the output is invalid JSON.
2015-08-25 14:52:16 -04:00
Kan-Ru Chen
4a1f512a13 Backed out 8 changesets (bug 1123237) CLOSED TREE
Backed out changeset 64692c772052 (bug 1123237)
Backed out changeset ed0f3a0186ad (bug 1123237)
Backed out changeset 2ad3b7f12a66 (bug 1123237)
Backed out changeset d069c69c234b (bug 1123237)
Backed out changeset d2c543173155 (bug 1123237)
Backed out changeset 3b8fb02e68ff (bug 1123237)
Backed out changeset 1c97e19f2f5d (bug 1123237)
Backed out changeset a80502c372f1 (bug 1123237)

--HG--
extra : commitid : L05R6SBqcU9
2015-08-25 12:42:01 +08:00
Kan-Ru Chen
e1fa14415d Bug 1123237 - Part 8. Tracking the memory events. r=BenWa,terrence
Based on patch from Ting-Yuan Huang <laszio.bugzilla@gmail.com>
2015-08-25 12:10:34 +08:00
Kan-Ru Chen
10b9f95c15 Bug 1123237 - Part 7. XPCOM interface for memory profiler. r=smaug
Based on patch from Ting-Yuan Huang <laszio.bugzilla@gmail.com>
2015-08-25 12:06:43 +08:00
Kan-Ru Chen
be8d03c8ee Bug 1123237 - Part 6. A new API to get backtrace without allocating memory in profiler. r=mstange
Based on patch from Ting-Yuan Huang <laszio.bugzilla@gmail.com>
2015-08-25 12:06:42 +08:00
Nicholas Nethercote
b7f77af473 Bug 1197694 - fflush() rapl output so it always appears immediately. r=erahm.
--HG--
extra : rebase_source : 2de1c517202616e6daad6e578cfbe89b65cdce0f
2015-08-24 15:59:37 -07:00
Birunthan Mohanathas
bc29413b87 Bug 1197527 - Consolidate obtaining hg path into mozversioncontrol.get_hg_path; r=gps
DONTBUILD

--HG--
extra : commitid : LsREOYJSAa7
extra : amend_source : 6f19087188d9c6c009a817c3499c7fd9165bfc6a
extra : histedit_source : 36aa6d1a3e78367d50a3e65ac6f61872b7a635d4
2015-08-24 14:37:42 -04:00
Birunthan Mohanathas
578bb09fd5 Bug 1197527 - Always clone version-control-tools in MercurialSetupWizard; r=gps
--HG--
extra : commitid : EFt8PQR3B2S
extra : histedit_source : 0bea4cef45799c3ce688f4f0caea966b237abcbc
2015-08-24 10:31:55 -07:00
Birunthan Mohanathas
467f93f8fd Bug 1197527 - Don't unnecessarily attempt to create extensions directory in MercurialUpdater; r=gps
--HG--
extra : commitid : 9RzrDPQc3oG
extra : histedit_source : 9b9c33161c67af1b7f577f2a8faeaf196e63f02b
2015-08-22 13:50:05 -07:00
Nicholas Nethercote
b83cd56ff9 Bug 1194560 (follow-up) - Only build rapl on Linux if the arch is x86 or x86-64. r=glandium.
--HG--
extra : rebase_source : c115f898cb1ce8129657e3435881e4f220eca566
2015-08-20 17:02:18 -07:00
Aidin Gharibnavaz
17b4bfd61a Bug 1190466 - tools/rb/find-leakers.pl re-written in Python r=mccr8 2015-08-20 14:18:20 -07:00
Nicholas Nethercote
68c09ac436 Bug 1194560 - Add tools/power/rapl, a RAPL-reading program for power profiling. r=erahm,glandium.
--HG--
extra : rebase_source : 7303d7209f6c9ae8bbd911a379078343b7cb5a7b
2015-08-19 22:25:30 -07:00
Rail Aliiev
90cf18ab5a 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
2b4a52cf2e Bug 1185763 - Part 3: Rename nsTArray::MoveElementsFrom to AppendElements. r=froydnj 2015-08-11 08:29:46 -07:00
Birunthan Mohanathas
edbcd5e014 Bug 1185763 - Part 1: Always use mozilla::Move with nsTArray::MoveElementsFrom. r=froydnj 2015-08-11 08:29:46 -07:00
Ehsan Akhgari
08955238cb Bug 1189465 - Make LULStats constructor explicit; r=BenWa 2015-07-30 20:31:08 -04:00
Brian Smith
af289e29eb Bug 1188931 - Fix hgsetup wizard. r=gps
--HG--
extra : rebase_source : cecc4d721d77467dfbe384a9bbd0fc6ace3ba6a3
2015-07-29 13:59:18 -04:00
Carsten "Tomcat" Book
36fe6b281d Merge mozilla-central to mozilla-inbound
--HG--
rename : browser/themes/osx/tabbrowser/connecting@2x.png => browser/themes/windows/tabbrowser/connecting@2x.png
rename : browser/themes/osx/tabbrowser/loading@2x.png => browser/themes/windows/tabbrowser/loading@2x.png
rename : browser/themes/windows/tabbrowser/tab-background-end.png => browser/themes/windows/tabbrowser/tab-background-end-preWin10.png
rename : browser/themes/windows/tabbrowser/tab-background-end@2x.png => browser/themes/windows/tabbrowser/tab-background-end-preWin10@2x.png
rename : browser/themes/windows/tabbrowser/tab-background-middle.png => browser/themes/windows/tabbrowser/tab-background-middle-preWin10.png
rename : browser/themes/windows/tabbrowser/tab-background-middle@2x.png => browser/themes/windows/tabbrowser/tab-background-middle-preWin10@2x.png
rename : browser/themes/windows/tabbrowser/tab-background-start.png => browser/themes/windows/tabbrowser/tab-background-start-preWin10.png
rename : browser/themes/windows/tabbrowser/tab-background-start@2x.png => browser/themes/windows/tabbrowser/tab-background-start-preWin10@2x.png
extra : rebase_source : f873d375eae8f1ee22151e5891b4fc3cc576d599
2015-07-28 16:30:58 +02:00
Gregory Szorc
b5154c4df4 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.

--HG--
extra : commitid : 2rfQARjGfu9
extra : rebase_source : 01d221cdc4b462cb52041d1d18f121e09b23125c
extra : amend_source : bac3fd876d6c8f0a3a94f4ae25950f5971dcb869
2015-07-27 13:44:39 -07:00
Peter Elmers
4864ee7269 Bug 1186896 - Fix import statements for mach update-uuids. r=gps 2015-07-23 08:00:02 -07:00
Wes Kocher
8dc017722b Merge fx-team to central, a=merge 2015-07-21 16:08:37 -07:00
Gregory Szorc
93e629ca43 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.

--HG--
extra : commitid : 6p2kijj68zV
extra : rebase_source : 6468ab56fad7292ac9811c546882693aee8b5922
2015-07-21 10:11:09 -07:00
Gregory Szorc
c0dc074f70 Bug 1185557 - Prompt about bzexport after reviewboard; r=smacleod
We want to encourage people to use reviewboard over bzexport.

--HG--
extra : commitid : 4SacVKrLjxU
extra : rebase_source : 8a466b026d273a10e09184a21d14870cfb89b959
2015-07-21 10:10:54 -07:00
Gregory Szorc
e9eb7e6445 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.

--HG--
extra : commitid : 5zyqyanQ64o
extra : rebase_source : 9fe52282b715949b8565683ffce9a7538325b3c6
2015-07-21 10:10:38 -07:00
Gregory Szorc
dc31130b11 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.

--HG--
extra : commitid : BIflUCCjwsg
extra : rebase_source : 72913ca7cfeadaf6f3efd1a277282a6786d2ba66
2015-07-21 10:09:49 -07:00
Gregory Szorc
af7dd87352 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.

--HG--
extra : commitid : 1aGcwtZzsDM
extra : rebase_source : e7a1355f44b641337adb6cefd3c90ef1bf077fbd
2015-07-21 10:09:15 -07:00
Gregory Szorc
1d8ac6998b 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.

--HG--
extra : commitid : 6vVKQNd9yLi
extra : rebase_source : 860379bfbf8fdb4eef70b069e41a41239d93e40f
2015-07-21 10:08:24 -07:00