Commit Graph

5091 Commits

Author SHA1 Message Date
Francois Marier
e5ccece7d7 Bug 1141352 - add a pairwise allowlist to tracking protection. r=gcp
--HG--
rename : toolkit/components/url-classifier/tests/mochitest/test_privatebrowsing_trackingprotection.html => toolkit/components/url-classifier/tests/mochitest/test_trackingprotection_whitelist.html
rename : toolkit/components/url-classifier/tests/mochitest/classifiedAnnotatedPBFrame.html => toolkit/components/url-classifier/tests/mochitest/whitelistFrame.html
2015-08-07 13:08:22 -07:00
Wes Kocher
83a7cbf448 Merge m-c to inbound, a=merge 2015-08-06 18:11:16 -07:00
Nathan Froyd
0a5095ccbf Bug 1191884 - remove now-unnecessary check for GCC PR49911; r=glandium
This PR was fixed in the GCC 4.7 development cycle.  Since we require
GCC 4.7 now, we no longer have to check for this bug.
2015-08-06 20:41:38 -04:00
Ryan VanderMeulen
6b37d9c465 Merge m-c to fx-team. a=merge 2015-08-06 15:53:46 -04:00
Mike Hommey
09e6660ab4 Bug 1181040 - Always disable sccache when doing PGO builds. r=gps 2015-08-07 06:51:56 +09:00
Mike Hommey
e5a429008e Bug 1191212 - Force a value for PKG_CONFIG when building on automation. r=mshal
When switching between Gtk+3 and Gtk+2, config.cache will contain a PKG_CONFIG
that may not be suitable for the build:
- after a Gtk+2 build, config.cache will point to the system pkg-config, which
  doesn't like the pkg-config files in the Gtk+3 tooltool package.
- after a Gtk+3 build, config.cache will point to the Gtk+3 tooltool package's
  pkg-config, which is likely not there in a Gtk+2 build.

Setting PKG_CONFIG avoids all config.cache considerations altogether, so set it
appropriately for both cases.
2015-08-07 06:44:59 +09:00
Jacek Caban
da30b32ccd Bug 856404 - Enable libraries folding on mingw. r=glandium 2015-08-06 13:26:33 +02:00
Mark Capella
a715087aff Bug 1191161 - p1 - Merge WrapEntireClassForJNI into WrapElementForJNI, r=jchen 2015-08-06 01:55:29 -04:00
Mike Hommey
2d36214d76 Bug 1188224 - Remove stale .pyc files from the source directory at import time. r=gps 2015-08-05 15:45:45 +09:00
Mike Hommey
2f34d661ae Backed out changeset 684252f11061 (bug 1188224) for make check bustage. 2015-08-05 13:50:11 +09:00
Mike Hommey
4be11b7533 Bug 1188224 - Remove stale .pyc files from the source directory at import time. r=gps 2015-08-05 11:17:03 +09:00
Ehsan Akhgari
a2853f82dd Fix some bad variable names, no bug 2015-08-04 19:11:16 -04:00
Ryan VanderMeulen
e65de54860 Backed out revision bca1ad6cc378 (bug 1190522) for breaking OSX B2G Desktop builds.
--HG--
extra : rebase_source : 5f17fac55c77c9566e68c0de4658947034cfdc0f
2015-08-06 15:43:45 -04:00
Ted Mielczarek
109add737e bug 1190522 - Rewrite pkg-dmg as a Python script. r=gps
--HG--
extra : commitid : 4xZjKDFBFp1
extra : rebase_source : 01fa275cd594a66c523b04857b180ec7fde5b3c8
2015-08-03 15:40:04 -04:00
Mike Hommey
aecd8d231d Bug 1188780 - Include debug symbols in gtk3 tooltool package. r=mshal
(relanding of http://hg.mozilla.org/mozilla-central/rev/a9d3df6e14e0)

--HG--
extra : commitid : GDNpuogmPyb
extra : amend_source : 91e46c707c6f244f7951dc44d9313d00dd0f2b1e
2015-08-04 17:26:11 -04:00
Ryan VanderMeulen
6937c1a640 Backed out changeset a9d3df6e14e0 (bug 1188780) for causing bug 1190860. a=bustage 2015-08-04 15:21:57 -04:00
Mike Hommey
17a1270251 Bug 1186748 - Switch valgrind builds to Gtk+3. r=mshal 2015-08-04 07:05:24 +09:00
Mike Hommey
1ad743e164 Bug 1188780 - Include debug symbols in gtk3 tooltool package. r=mshal
At the same time, include a setup script to replace parts of mozconfig.gtk.
2015-08-04 07:05:23 +09:00
Mike Hommey
2d4d1ebb62 Bug 1187664 - Don't run gst-plugin-scanner through valgrind, it only leads to irrelevant errors. r=njn 2015-08-04 07:05:22 +09:00
Mike Hommey
ec6e5606d9 Bug 1187664 - Create a fontconfig cache so that Firefox doesn't have to do it itself when run on build automation. r=mshal 2015-08-04 07:05:22 +09:00
Mike Hommey
c2ba6b7aa9 Bug 1186748 - Switch hazard and root analysis builds to Gtk+3. r=mshal 2015-08-04 07:05:21 +09:00
Michael Layzell
fd765fa5fa Bug 1187073 - Add the MOZ_INHERIT_TYPE_ANNOTATIONS_FROM_TEMPLATE_ARGS annotation to clang-plugin. r=ehsan
--HG--
extra : rebase_source : ecdbc00b315c36420b066792ee3664addecb9812
2015-07-24 12:52:00 -04:00
Andrew McCreight
e0b02240a7 Bug 1074317 - Report indirect LSan leaks in mochitests. r=erahm
LeanSanitizer reports two kinds of leaks: direct and indirect. A
leaked block that is pointed to by another leaked block is an
"indirect leak", while one that isn't is a "direct leak". Often,
indirect leaks are just things entrained by the "real" leak, but if
two leaked blocks are in a cycle, then they both end up being
indirect, so we need to report them, too.

This patch makes it so that indirect LSan leaks are treated the same
as direct leaks by Mochitests, which means they will turn the tree
orange. There are a few existing indirect leaks of various severity,
so I had add some suppressions. See those bugs for more details.

--HG--
extra : rebase_source : 0269666f546b6e349bebf216771fc6dfa4d9487a
2015-08-03 06:45:00 -04:00
Carsten "Tomcat" Book
ecaa52f350 Backed out changeset d093c57c6835 (bug 1186748) for causing Bug 1190180 2015-08-03 14:36:14 +02:00
Carsten "Tomcat" Book
cd121161d6 Backed out changeset 207c45dd3c2e (bug 1187664) 2015-08-03 14:35:14 +02:00
Carsten "Tomcat" Book
a66a62bc8b Backed out changeset 695b89efecfa (bug 1187664) 2015-08-03 14:35:09 +02:00
Carsten "Tomcat" Book
9b61dabe97 Backed out changeset 2238409de271 (bug 1188780) 2015-08-03 14:35:03 +02:00
Carsten "Tomcat" Book
c9982faad7 Backed out changeset b8eacfe11fc5 (bug 1186748) 2015-08-03 14:34:57 +02:00
Mike Hommey
e0a3f050b0 Bug 1186748 - Switch valgrind builds to Gtk+3. r=mshal 2015-07-31 16:42:22 +09:00
Mike Hommey
bd1eab6809 Bug 1187649 - Add valgrind suppressions for leaks in Gtk+3, cairo and fontconfig that are not due to Gecko. r=njn 2015-07-31 16:42:20 +09:00
Mike Hommey
fca3b07577 Bug 1188780 - Include debug symbols in gtk3 tooltool package. r=mshal
At the same time, include a setup script to replace parts of mozconfig.gtk.
2015-07-31 16:42:07 +09:00
Mike Hommey
de9a071583 Bug 1187664 - Don't run gst-plugin-scanner through valgrind, it only leads to irrelevant errors. r=njn 2015-07-31 16:41:11 +09:00
Mike Hommey
3201a9bde4 Bug 1187664 - Create a fontconfig cache so that Firefox doesn't have to do it itself when run on build automation. r=mshal 2015-07-31 16:41:10 +09:00
Mike Hommey
ff7a038039 Bug 1186748 - Switch B2G desktop, hazard and root analysis builds to Gtk+3. r=mshal 2015-07-31 16:39:10 +09:00
Julien Pagès
23e4c1d4a3 Bug 1091285 - move dumpScreen in a new mozscreenshot package. r=jgriffin
This also completely remove build/automationutils.py.

--HG--
extra : commitid : 50v6EAQNEHV
extra : rebase_source : 4ac1347d73498f068979514c6afb16ac50ab4033
2015-07-29 17:50:16 +02:00
Michael Layzell
bd071c9515 Bug 1187486 - Update the clang plugin to detect templated implicit constructors; r=ehsan 2015-07-30 20:31:11 -04:00
Carsten "Tomcat" Book
19fce95294 Merge mozilla-central to fx-team 2015-08-07 13:21:30 +02:00
Mark Capella
f3a5fca399 Bug 1191161 - p3 - Rename / Shorten WrapElementForJNI to WrapForJNI, r=jchen
--HG--
rename : mobile/android/base/mozglue/generatorannotations/WrapElementForJNI.java => mobile/android/base/annotation/WrapForJNI.java
2015-08-07 02:09:08 -04:00
Ryan VanderMeulen
2ab90188e0 Backed out changeset 3e78fb4512a6 (bug 1187486) for static analysis failures. 2015-07-30 14:47:52 -04:00
Michael Layzell
5644f5a00c Bug 1187486 - Update the clang plugin to detect templated implicit constructors; r=ehsan 2015-07-30 14:03:18 -04:00
Ryan VanderMeulen
5a1391207c Backed out changesets be94d55627f4 and dfc1cb1c26d9 (bug 1187664) because they depend on bug 1186748.
--HG--
extra : histedit_source : 4457df03c37cbe457f3bd099836e519d79fd3461%2Ccab92f6adf81533aef4d5c1748451cfdb44fa08c
2015-07-30 12:07:38 -04:00
Ryan VanderMeulen
efd357143c Backed out changeset ada6cd4da281 (bug 1186748) for introducing various intermittent ASAN mochitest failures. 2015-07-30 11:52:49 -04:00
Michael Layzell
4fffaa9e34 Bug 602122 - Add a static analysis to find XPCOM classes with duplicate mRefCnt members; r=ehsan 2015-07-30 01:05:06 -04:00
Mike Hommey
56e1e067a3 Bug 1187664 - Don't run gst-plugin-scanner through valgrind, it only leads to irrelevant errors. r=njn 2015-07-30 08:49:30 +09:00
Mike Hommey
3b5bf2f68a Bug 1187664 - Create a fontconfig cache so that Firefox doesn't have to do it itself when run on build automation. r=mshal 2015-07-30 08:49:29 +09:00
Mike Hommey
5bb3772feb Bug 1186748 - Switch B2G desktop, ASan, hazard and root analysis builds to Gtk+3. r=mshal 2015-07-30 08:49:29 +09:00
Jim Chen
c723648f9d Bug 1186517 - Fix SDKProcessor API version detection; r=snorp
The API version detection functionality was broken in SDKProcessor
because we were passing in "Lpackage/Class;" as the class name rather
than just "package/Class". Also, some classes have a weird situation
where some methods were moved around in later API versions. For example,
some put* and get* methods in Bundle were moved to BaseBundle in API 21.
If we only checked BaseBundle.put*, we would think they are API 21+
only. The workaround is to check both the top-level class and the
declaring class for a member, and choose the lower API level as the
minimal API level for that member.

This patch also fixes bugs in including the right class members.
For SDKProcessor we want to include all public members of a class,
including inherited members, because the private/protected members are
not part of the public API. For AnnotationProcessor, we want to include
all the members declared in that class, including private and
protected members, because we may want to access private/protected
members of our own Java classes from C++.
2015-07-29 15:11:15 -04:00
Jim Chen
64eb7d8aff Bug 1186517 - Adjust white spacing in generated files; r=me 2015-07-29 15:11:15 -04:00
Nathan Froyd
e3c514cea5 Bug 1188499 - reformat MOZ_SUBCONFIGURE_ICU with proper indentation; r=mshal
Trying to decipher MOZ_SUBCONFIGURE_ICU given its lack of indentation is
difficult at best.  It looks like some lines have tabs, and those tabs
make everything line up right...convert everything to spaces to make
sure things line up correctly.
2015-07-28 13:46:55 -04:00
Ted Mielczarek
8b879c27f0 bug 1182519 - Put mozconfigs for cross-mac builds in tree. r=mshal
--HG--
rename : build/macosx/mozconfig.common => build/macosx/local-mozconfig.common
extra : rebase_source : a84908c556a2d7d8c64d8228d4235297c84bb204
2015-07-14 07:02:22 -04:00
Boris Zbarsky
d0799d6f5c Back out revision 6d94504b602d (bug 602122). 2015-07-28 17:19:46 -04:00
Michael Layzell
259a9c490b Bug 602122 - Add a static analysis to find XPCOM classes with duplicate mRefCnt members; r=ehsan 2015-07-28 16:55:20 -04:00
Mike Hommey
dfdf59058d Bug 1186748 - Move gtk-related things in a separate mozconfig. r=mshal
Some mozconfigs don't include mozconfig.linux*, and don't get gtk-related
definitions, so move them in a separate mozconfig. To avoid having two
files, one for 32-bit builds and one for 64-bit builds, rely on the
includer to set PKG_CONFIG_LIBDIR appropriately.

At the same time, move all the --enable-default-toolkit=cairo-gtk2 in that
new file in the case the gtk3 package wasn't pulled from tooltool.
2015-07-28 08:19:15 +09:00
Mike Hommey
a356ea8421 Bug 1187245 - Make .mozconfig.mk environment variables available to mach valgrind-test. r=gps 2015-07-28 08:19:14 +09:00
Mike Hommey
e26476c1ed Bug 1187245 - Set things up to use Gtk+3 from the tooltool package during PGO builds. r=gps
The mk_add_options exports are meant to end up in $topobjdir/.mozconfig.mk,
which is included every time make runs.
2015-07-28 08:19:13 +09:00
Mike Hommey
4275fcc9a3 Bug 1187101 - Add -Wl,-Bsymbolic to LDFLAGS for ASan builds. r=mshal 2015-07-28 08:19:12 +09:00
Andrew McCreight
ef6d1e9493 Bug 1089816 - Let ASan content processes run to completion. r=billm
There are a variety of ways that the parent and child process ensure that
the child process exits quickly in opt builds, but for AddressSanitizer
builds we want to let the child process to run to completion, so that we
can get a LeakSanitizer report.

This requires adding some addition LSan suppressions, because running
LSan in child processes detects some new leaks.
2015-07-27 12:49:48 -07:00
Ehsan Akhgari
4209f5efcd Bug 1187982 - Fix building clang-plugin with clang 3.5; r=mystor 2015-07-27 14:06:03 -04:00
Mike Hommey
9fd9265409 Bug 1187662 - Add the -v option to valgrind when running valgrind-test. r=njn
This will add more verbosity, with the intent of having the triggered
suppressions be displayed in the form:
"--23983-- used_suppression:      3 Bug 794372 /builds/slave/try-l64-valgrind-0000000000000/src/build/valgrind/cross-architecture.sup:90 suppressed: 20,736 bytes in 648 blocks"
2015-07-27 08:18:44 +09:00
Michael Layzell
bf91a08bcc Bug 1159433 - Part 1: Add an analysis to ensure that some template arguments cannot be non-memmovable types; r=ehsan 2015-07-24 19:14:37 -04:00
Michael Layzell
91c1e847d6 Bug 1123907 - Part 1: Add an analysis to ensure that a class marked MOZ_NEEDS_NO_VTABLE_TYPE cannot be instantiated by a class with a VTable; r=ehsan 2015-07-24 19:13:52 -04:00
Michael Layzell
7e6901b7fd Bug 1185044 - Unify type annotation logic between MOZ_*_CLASS and MOZ_MUST_USE; r=ehsan 2015-07-24 19:13:15 -04:00
Michael Layzell
2021b2998c Bug 1185188 - Support multiple clang-plugin annotations; r=ehsan 2015-07-24 19:12:54 -04:00
Carsten "Tomcat" Book
cbae5434a4 merge mozilla-inbound to mozilla-central a=merge 2015-07-24 12:54:13 +02:00
Mike Hommey
39841c1702 Bug 965151 - Remove unnecessary LD_LIBRARY_PATH in valgrind driver script. r=mshal 2015-07-24 06:49:44 +09:00
Mike Hommey
17ca58df7e Bug 965151 - Use tooltool in valgrind jobs. r=mshal 2015-07-24 06:49:40 +09:00
Mike Hommey
721bea8819 Bug 965151 - Move relevant parts of valgrind.sh from build/tools in-tree. r=mshal 2015-07-24 06:49:34 +09:00
Wes Kocher
808edf9e7e Merge m-c to inbound, a=merge 2015-07-21 16:11:44 -07:00
Mike Hommey
56bbd9ec72 Bug 1186003 - Switch automated builds to Gtk+3. r=mshal
The build-gtk3.sh script contains the script used to generate the tooltool
packages.
2015-07-22 07:37:01 +09:00
Gregory Szorc
7d3179c6e2 Bug 1185557 - Clarify that mach mercurial-setup doesn't make changes without prompting; r=smacleod
It's been clear from user feedback that people don't realize that `mach
mercurial-setup` doesn't make any changes unless they tell it to.
Reinforce this message in the prompts printed by mach_boostrap.py.

--HG--
extra : commitid : DmE2U8DHQ3M
extra : rebase_source : 20e5c4d6ff7610bdceef7817c5ea2854d271ccdf
2015-07-21 10:10:22 -07:00
Jed Davis
2db77cc224 Bug 1183485 - Exempt security/sandbox/chromium from MOZ_IMPLICIT enforcement. r=ehsan 2015-07-17 14:57:00 -04:00
Ryan VanderMeulen
f62f6fed08 Merge m-c to inbound. a=merge 2015-07-20 16:04:28 -04:00
Ralph Giles
129bc3aeeb Bug 1183850 - Enable rust for macosx64 Nightly and Dev. r=mshal
Add a mozconfig fragment enabling rust on mac builds.

Include it in the official integration mozconfig files only.
Developer checkouts don't require rust.
2015-07-20 12:59:26 -07:00
Paolo Amadini
a4410be9c0 Bug 1177175 - Add a UITour target inside the TP panel. r=MattN
--HG--
extra : commitid : C5lscBkw8gZ
extra : rebase_source : c529420c92e06e9c71c7d7e9a0d4b4ff4f78bb46
2015-07-20 13:44:32 +01:00
Ryan VanderMeulen
a33e05c88c Merge inbound to m-c. a=merge 2015-07-17 10:26:22 -04:00
Gregory Szorc
74ed7bcd35 Bug 1184598 - Don't perform mercurial-setup check for mach-commands command; r=smacleod
This command is used by tab completion handlers. A user reported that
hitting tab in his shell resulted in the mercurial-setup out of date
check spewing output.

--HG--
extra : commitid : 5DE199lHcn2
extra : rebase_source : 7f2ef1c325b3f0deb091798a5d21820257d6c1f6
extra : amend_source : 016428cf3d2442cc2ced24d328aec53a752619ab
2015-07-16 14:37:14 -07:00
Ryan VanderMeulen
a5652e5f76 Backed out changeset 7c44c0343564 (bug 1181020) for causing intermittent testAboutPage failures. 2015-07-16 15:11:20 -04:00
Ryan VanderMeulen
fa5776b708 Merge m-c to fx-team. a=merge 2015-07-15 13:30:09 -04:00
Ryan VanderMeulen
07e1b2ced2 Merge m-c to inbound. a=merge 2015-07-14 23:38:02 -04:00
Gregory Szorc
8b149c9e84 Bug 1182677 - Aggressively prompt to run mach mercurial-setup; r=smacleod
Having not configured or out-of-date tools benefits nobody. It slows
people down.

Version control tools are an integral part of working on Firefox. It is
important for version control tools to be configured optimally and to be
continuously updated so they stay optimal.

The `mach mercurial-setup` command exists to optimally configure
Mercurial for working on Firefox and other Mozilla projects.

This commit adds a pre-dispatch handler to mach that will verify
Mercurial is in a happy state. If `mach mercurial-setup` has never
executed, it will complain. If `mach mercurial-setup` hasn't been
executed in the past 31 days, it will complain.

Yes, aborting command execution and forcing people to context switch to
run `mach mercurial-setup` is annoying. First, we have carved out
several exceptions to this behavior, including detection for running in
automation, on the machines of curmudgeons, when Mercurial isn't being
used, and from non-interactive processes. Second, I argue that people
ignore optional notifications and that having persistently
poorly-configured tools is worse than a single context switch at most
every month. Therefore, the heavyhanded approach is justified.

In addition, if we did support a non-fatal notification, we would
introduce the problem of extra output from commands. If anyone was e.g.
parsing mach output, we could very likely break those systems. These
cases should be caught by the isatty() check or be running in a context
with MOZ_AUTOMATION set. But you never know.

--HG--
extra : commitid : 7f7JQpa953u
extra : rebase_source : 47b6304b6ac2c9d8136f2023a7d03df7d1f45e4f
extra : source : f06616ee7b2b54d63d20ee4795539514d1df8c7b
2015-07-14 14:20:03 -07:00
Gregory Szorc
30827b6f14 Backed out changeset f06616ee7b2b (bug 1182677)
TaskCluster is not amused.

--HG--
extra : commitid : CyAmoMQ15bK
extra : amend_source : 7b898d2dd2639209c205877270fbc469e3428e0c
2015-07-14 13:58:43 -07:00
Gregory Szorc
45c880523f Bug 1182677 - Aggressively prompt to run mach mercurial-setup; r=smacleod
Having not configured or out-of-date tools benefits nobody. It slows
people down.

Version control tools are an integral part of working on Firefox. It is
important for version control tools to be configured optimally and to be
continuously updated so they stay optimal.

The `mach mercurial-setup` command exists to optimally configure
Mercurial for working on Firefox and other Mozilla projects.

This commit adds a pre-dispatch handler to mach that will verify
Mercurial is in a happy state. If `mach mercurial-setup` has never
executed, it will complain. If `mach mercurial-setup` hasn't been
executed in the past 2 weeks, it will complain.

Yes, aborting command execution and forcing people to context switch to
run `mach mercurial-setup` is annoying. First, we have carved out
several exceptions to this behavior, including detection for running in
automation, on the machines of curmudgeons, when Mercurial isn't being
used, and from non-interactive processes. Second, I argue that people
ignore optional notifications and that having persistently
poorly-configured tools is worse than a single context switch at most
every 2 weeks. Therefore, the heavyhanded approach is justified.

In addition, if we did support a non-fatal notification, we would
introduce the problem of extra output from commands. If anyone was e.g.
parsing mach output, we could very likely break those systems. These
cases should be caught by the isatty() check or be running in a context
with MOZ_AUTOMATION set. But you never know.

--HG--
extra : commitid : AWLag0bpQOY
extra : rebase_source : fba19b918e9eadc6d5976c10d82974fb7e835e9d
2015-07-14 13:53:50 -07:00
Gregory Szorc
b696aaef57 Bug 1182677 - Refactor state directory lookup into own function; r=smacleod
A subsequent commit will want to access the state directory path without
possibly creating it. Make that possible by extracting path resolution
to its own function.

--HG--
extra : commitid : 60aMbblXNF9
extra : rebase_source : 5e83e36d32ff1f581e91b442005139c89f3bc3f3
2015-07-14 13:44:59 -07:00
Chris Manchester
48aa5a0ffb Bug 1181342 - tooltool manifests and build-clang config for clang 3.6 r=rail
--HG--
extra : commitid : KjFzDLPHW0g
2015-07-10 10:30:37 -07:00
Chris Manchester
073236ea96 Bug 1181255 - Mozconfigs for tsan builds. r=glandium
--HG--
extra : commitid : LIOTQcZydyU
2015-07-14 18:45:54 -07:00
Ehsan Akhgari
765caec60c Bug 1123386 - Part 2: Temporarily relax the libstdc++ symbol version requirements for Linux static analysis builds; r=glandium 2015-07-13 22:42:14 -04:00
Ehsan Akhgari
7c35af2768 Bug 1123386 - Part 1: Update the clang build script for the most recent clang; r=rail 2015-07-13 22:42:12 -04:00
Jonathan Almeida
3fa7fc6821 Bug 1181020 - Update Robocop to latest version to support RecyclerView. r=mcomella
- Removed old robotium jar in replace for the newer one.
 - Newer robotium has packaging changes which were updated in all tests.
 - Updated in build.gradle and makefile.

--HG--
extra : transplant_source : %949%F2%F6%10v%9A%CA%8B%FD%EE%05%28%D8%1E%0D%09_%BE%D3
2015-07-07 14:18:56 -07:00
Gregory Szorc
c0a2520351 Bug 1185612 - Detect closed stdin file descriptor; r=bholley
isatty() raises ValueError if the file descriptor is closed. Detect
closed file descriptors.

--HG--
extra : commitid : 3wH6lYWoPHZ
extra : rebase_source : df0f657a3b2afa6dbc710e98c0b3c31f3b8be486
extra : amend_source : 7a153ea95c7b77cf0d53116d70c7a840fbbdb92e
2015-07-20 11:17:00 -07:00
Ehsan Akhgari
c66403c220 Bug 1180275 - Part 1: Add a release_build mozinfo variable; r=ted 2015-07-16 14:47:52 -04:00
Andrew Halberstadt
2be5ff0c10 Bug 1014760 - Move mozlog.structured to mozlog; Move mozlog to mozlog.unstructured, r=jgraham
Mozlog currently has two implementations. The top level package is based on the logging module and is
deprecated. The newer structured logging implementation lives in mozlog.structured. This patch swaps the
two, so the top level mozlog module contains the recommended implementation, while mozlog.unstructured
contains the old one.

--HG--
rename : testing/mozbase/docs/mozlog_structured.rst => testing/mozbase/docs/mozlog.rst
rename : testing/mozbase/mozlog/mozlog/structured/commandline.py => testing/mozbase/mozlog/mozlog/commandline.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/__init__.py => testing/mozbase/mozlog/mozlog/formatters/__init__.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/base.py => testing/mozbase/mozlog/mozlog/formatters/base.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/errorsummary.py => testing/mozbase/mozlog/mozlog/formatters/errorsummary.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/html/__init__.py => testing/mozbase/mozlog/mozlog/formatters/html/__init__.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/html/html.py => testing/mozbase/mozlog/mozlog/formatters/html/html.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/html/main.js => testing/mozbase/mozlog/mozlog/formatters/html/main.js
rename : testing/mozbase/mozlog/mozlog/structured/formatters/html/style.css => testing/mozbase/mozlog/mozlog/formatters/html/style.css
rename : testing/mozbase/mozlog/mozlog/structured/formatters/html/xmlgen.py => testing/mozbase/mozlog/mozlog/formatters/html/xmlgen.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/machformatter.py => testing/mozbase/mozlog/mozlog/formatters/machformatter.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/tbplformatter.py => testing/mozbase/mozlog/mozlog/formatters/tbplformatter.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/unittest.py => testing/mozbase/mozlog/mozlog/formatters/unittest.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/xunit.py => testing/mozbase/mozlog/mozlog/formatters/xunit.py
rename : testing/mozbase/mozlog/mozlog/structured/handlers/__init__.py => testing/mozbase/mozlog/mozlog/handlers/__init__.py
rename : testing/mozbase/mozlog/mozlog/structured/handlers/base.py => testing/mozbase/mozlog/mozlog/handlers/base.py
rename : testing/mozbase/mozlog/mozlog/structured/handlers/bufferhandler.py => testing/mozbase/mozlog/mozlog/handlers/bufferhandler.py
rename : testing/mozbase/mozlog/mozlog/structured/handlers/statushandler.py => testing/mozbase/mozlog/mozlog/handlers/statushandler.py
rename : testing/mozbase/mozlog/mozlog/structured/logtypes.py => testing/mozbase/mozlog/mozlog/logtypes.py
rename : testing/mozbase/mozlog/mozlog/structured/reader.py => testing/mozbase/mozlog/mozlog/reader.py
rename : testing/mozbase/mozlog/mozlog/structured/scripts/__init__.py => testing/mozbase/mozlog/mozlog/scripts/__init__.py
rename : testing/mozbase/mozlog/mozlog/structured/scripts/format.py => testing/mozbase/mozlog/mozlog/scripts/format.py
rename : testing/mozbase/mozlog/mozlog/structured/scripts/logmerge.py => testing/mozbase/mozlog/mozlog/scripts/logmerge.py
rename : testing/mozbase/mozlog/mozlog/structured/scripts/unstable.py => testing/mozbase/mozlog/mozlog/scripts/unstable.py
rename : testing/mozbase/mozlog/mozlog/structured/stdadapter.py => testing/mozbase/mozlog/mozlog/stdadapter.py
rename : testing/mozbase/mozlog/mozlog/structured/structuredlog.py => testing/mozbase/mozlog/mozlog/structuredlog.py
rename : testing/mozbase/mozlog/mozlog/logger.py => testing/mozbase/mozlog/mozlog/unstructured/logger.py
rename : testing/mozbase/mozlog/mozlog/loggingmixin.py => testing/mozbase/mozlog/mozlog/unstructured/loggingmixin.py
rename : testing/mozbase/mozlog/mozlog/loglistener.py => testing/mozbase/mozlog/mozlog/unstructured/loglistener.py
extra : commitid : 3JWk75JY4N0
extra : rebase_source : 229bad7a7bf8ead013ce62d128c0896a75cad393
2015-07-16 10:38:40 -04:00
Ryan VanderMeulen
d05bc1e9af Backed out changesets 9a048b598b1e and 56e9597b1257 (bug 1180275) for OSX test_android_eclipse.py failures.
CLOSED TREE
2015-07-15 23:40:06 -04:00
Ehsan Akhgari
29da2a2523 Bug 1180275 - Part 1: Add a release mozinfo variable; r=ted 2015-07-15 19:59:59 -04:00
Sebastian Kaspari
4ec6e5acc8 Bug 1186532 - Add RecyclerView library to Robocop builds. r=jonalmeida
--HG--
extra : commitid : 11Mj6YuNxc7
extra : rebase_source : 8a9fccd3f2615964d0d2477e79f44690c19a9604
2015-07-23 13:27:28 +02:00
Michael Layzell
f3caaba03f Bug 1180993 - Part 1: Add an analysis to help catch unused return values of specific types. r=ehsan 2015-07-10 09:46:00 -04:00
Jim Chen
2a96b6bc16 Bug 1178850 - Generate naive method bindings in annotation processor; r=snorp 2015-07-10 23:41:35 -04:00
Jim Chen
42c05f4a28 Bug 1178850 - Make mozilla::jni::Param more intuitive to use; r=snorp 2015-07-10 23:41:35 -04:00
Mike Hommey
84878777a1 Bug 1181040 - Include mozconfig.cache after mozconfig.common.override. r=mshal
Enable sccache on windows b2g builds at the same time to simplify things.
2015-07-11 06:26:20 +09:00
Wes Kocher
027fd9354a Backed out 5 changesets (bug 1178850) for android build bustage CLOSED TREE
Backed out changeset 79085d3894e8 (bug 1178850)
Backed out changeset c02b603104ea (bug 1178850)
Backed out changeset d6dab7810669 (bug 1178850)
Backed out changeset 8ee5809f349b (bug 1178850)
Backed out changeset 821b22ce79e1 (bug 1178850)
2015-07-10 14:17:53 -07:00
Jim Chen
acd92bfffd Bug 1178850 - Generate naive method bindings in annotation processor; r=snorp 2015-07-10 16:52:52 -04:00
Jim Chen
92f97132f9 Bug 1178850 - Make mozilla::jni::Param more intuitive to use; r=snorp 2015-07-10 16:52:51 -04:00
Geoff Brown
65e4c8cee0 Bug 1179981 - A new test harness for robocop; r=jmaher 2015-07-09 12:30:01 -06:00
Rail Aliiev
10bac27e88 Bug 1182170 - Kill tooltool.py from the tree. r=dustin DONTBUILD 2015-07-09 14:00:02 -04:00
Julien Pagès
addba42d69 Bug 1091274 - Move leak log functions out of automationutils and into mozbase. r=jgriffin 2015-07-03 07:04:22 +02:00
Ehsan Akhgari
fb1d09e511 Bug 1180549 - Fix a startup crash when using the clang-plugin with clang>3.5; r=mystor
We were de-referencing the checker variable after having moved it into
the array, which was causing a null pointer crash.

With this fixed, the plugin can be built with more recent versions of
clang.
2015-07-06 14:48:36 -04:00
Ehsan Akhgari
6b56a248ba Bug 1180506 - Fix building the clang-plugin with ToT clang; r=mystor 2015-07-06 14:48:35 -04:00
Andrew Comminos
6af3ab8615 Bug 1180745 - Fix logging test screenshotting errors. r=jgriffin 2015-07-06 08:48:00 -04:00
Sebastian Kaspari
caaa022467 Bug 1180132 - android.m4: RecyclerView library should not be dependent on flag $MOZ_NATIVE_DEVICES. r=nalexander
--HG--
extra : commitid : 4ccus9nKM9q
extra : rebase_source : 6716d0e7d9985423533ba94dadf6f9ebdc92b379
extra : amend_source : 3f5febdbe07b0321d15cf8c5f4c8b99828ef54de
2015-07-03 14:46:57 +02:00
Julien Pagès
3af2d87e17 Bug 1091284 - Remove systemMemory, environment from automationutils. r=jgriffin
--HG--
extra : commitid : BHwyu2fUyFY
extra : rebase_source : 152496df202df4355268cb54987a587eddbe6ddc
2015-07-01 22:00:07 +02:00
Ryan VanderMeulen
d75108d3fe Merge m-c to fx-team. a=merge 2015-07-01 16:40:01 -04:00
Mike Shal
552f5f1679 Bug 1175895 - separate tier start message for mach; r=ted 2015-06-17 16:59:20 -04:00
Mike Shal
2e8d091383 Bug 1175895 - aid greppability of MOZ_AUTOMATION_*; r=ted 2015-06-17 16:58:26 -04:00
Gijs Kruitbosch
6c7bdf6516 Bug 1170522 - expose whether or not we're in tablet mode to xul/js/css, r=jimm,ted
--HG--
extra : commitid : 1L4B5pNkYee
extra : rebase_source : 46f0e98bbd152a2cca96f59cd08162c36765af01
extra : amend_source : 6c51f311f57777dd146a85d1de885468f8876271
2015-06-16 19:51:29 +01:00
Chris Manchester
45d89ea4b0 Bug 917999 - Part 3.1 - Prepare taskcluster for a split test package.;r=jlal
--HG--
extra : commitid : 5oxFfiP3bQ0
2015-06-29 11:16:51 -07:00
Chris Manchester
10708b0069 Bug 917999 - Part 3 - Split tests into harness specific zips.;r=ted
--HG--
extra : commitid : Fa3NZirrZVY
2015-06-29 11:16:50 -07:00
Ryan VanderMeulen
a4f0db6bf1 Backed out changeset e2f1bf3e3dc4 (bug 1171610) for bustage.
CLOSED TREE
2015-06-30 12:35:42 -04:00
James Willcox
6c68419fe4 Bug 1171610 - Automatically use colorized warnings and errors if available r=glandium
You can disable with --disable-color-diagnostics
2015-06-30 11:20:31 -05:00
Julien Pagès
6fc512a277 Bug 1178154 - move ShutdownLeaks and LSANLeaks from automationutils to mochitest. r=jgriffin
--HG--
extra : commitid : 1u2hg9TLMDm
extra : rebase_source : 15c838886a8630ff54a55b6e1f9b4d680f36c72c
2015-06-29 20:09:51 +02:00
Ryan VanderMeulen
a0a6937292 Backed out 3 changesets (bug 917999) for Android x86 test bustage.
Backed out changeset 58331e57de1c (bug 917999)
Backed out changeset 50f9123412c7 (bug 917999)
Backed out changeset 3b19643ec039 (bug 917999)

CLOSED TREE
2015-06-29 15:22:51 -04:00
Chris Manchester
afeccd9475 Bug 917999 - Part 3.1 - Prepare taskcluster for a split test package.;r=jlal
--HG--
extra : commitid : CzKMKHPjBvG
2015-06-29 11:16:51 -07:00
Chris Manchester
791cc48bc5 Bug 917999 - Part 3 - Split tests into harness specific zips.;r=ted
--HG--
extra : commitid : 65dFMKKGcoU
2015-06-29 11:16:50 -07:00
Julien Pagès
c1802eb571 Bug 1177780 - remove useless stuff in automation.py. r=jgriffin
--HG--
extra : commitid : 3mgWZQdnDa4
extra : rebase_source : f8b91fff719dbeda7923a7e8c2c3e01a856d9b14
2015-06-26 22:45:18 +02:00
Birunthan Mohanathas
388f8c1ef2 Backed out changeset 58a2788fad8e (bug 1175359) 2015-06-26 12:49:12 -07:00
Ralph Giles
d341eb3773 Bug 1175359 - Enable rust in linux64 builds. r=ted
Write a mozconfig fragment which makes the rust toolchain
provided by tooltool available for linux builds.

Use linux64 mozconfigs to enable rust for official builds of
that target. These aren't used outside of automation builds,
so including rust there will verify code on check-in without
requiring developers to install rust.
2015-06-26 12:27:19 -07:00
Gregory Szorc
3e949ee8fe 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.

--HG--
extra : commitid : 6tFME1KKfTD
extra : rebase_source : 78728f82f5487281620e00c2a8004cd5e1968087
2015-06-21 17:39:09 -07:00
Gregory Szorc
a19bee3a08 Bug 1176642 - Remove unused imports; r=glandium
--HG--
extra : commitid : IZ7JkH4GKW4
extra : rebase_source : 4c3301c5c353be8afed407df4a003a9cac4583e8
2015-06-25 12:16:38 -07:00
Carsten "Tomcat" Book
87e3154dff merge mozilla-inbound to mozilla-central a=merge 2015-06-22 14:03:17 +02:00
Geoff Brown
a9b255a8eb Bug 1175540 - Reduce timeouts for many adb devicemanager calls; r=mcote 2015-06-21 13:58:34 -06:00
Jonathan Almeida
11fd2b4a90 Bug 1161820 - Replace all back button presses with Solo.goBack in tests. r=liuche CLOSED TREE
--HG--
extra : amend_source : d3bdbfb4a990b187c633988f96f5bb3cc759403e
2015-06-17 17:24:48 -07:00
Ryan VanderMeulen
7b7e4f1c9b Merge inbound to m-c. a=merge
CLOSED TREE
2015-06-18 16:03:38 -04:00
Carsten "Tomcat" Book
7867665c0d Merge mozilla-central to mozilla-inbound 2015-06-18 15:34:31 +02:00
Sebastian Kaspari
1e85c546d0 Bug 1171288 - Add ability to build with RecyclerView support library. r=nalexander
--HG--
extra : rebase_source : 781c82348e9ea08183aa8560532ffb63222f8f8d
2015-06-16 19:52:44 +02:00
Nick Alexander
8d1cbf788d No bug - Make robocop.apk debuggable. r=me
--HG--
extra : commitid : 2RnxWaFxPjd
extra : rebase_source : 0f8c0841a9fc92d6c359199c664082be2241f44c
2015-06-17 09:54:47 -07:00
Mike Hommey
aac8b5bca7 Bug 1175323 - Bump stdc++compat minimum supported libstdc++ version to 4.3. r=nfroyd 2015-06-18 17:10:39 +09:00
Ehsan Akhgari
b55ee8ea8e Bug 1075758 - Do not look at the ICU version number when whitelisting the ICU namespace in the clang plugin; r=Waldo 2015-06-15 14:29:28 -04:00
Cykesiopka
cfd306a839 Bug 1171820 - Convert test_bug483440.html mochitest to an xpcshell test. r=keeler
--HG--
rename : security/manager/ssl/tests/mochitest/bugs/test_bug483440.html => security/manager/ssl/tests/unit/test_certviewer_invalid_oids.js
rename : build/pgo/certs/bug483440-attack2b.ca => security/manager/ssl/tests/unit/test_certviewer_invalid_oids/bug483440-attack2b.pem
rename : build/pgo/certs/bug483440-attack7.ca => security/manager/ssl/tests/unit/test_certviewer_invalid_oids/bug483440-attack7.pem
rename : build/pgo/certs/bug483440-pk10oflo.ca => security/manager/ssl/tests/unit/test_certviewer_invalid_oids/bug483440-pk10oflo.pem
2015-06-13 00:51:00 +02:00
Ted Mielczarek
f6af9a3909 bug 1163828 - build system changes to support building for iOS. r=glandium
--HG--
extra : commitid : EAxgCmmuwAx
extra : rebase_source : 854a55e62573e59e042a326d62450fa3fbf2db18
2015-06-10 11:10:40 -04:00
Carsten "Tomcat" Book
989624d484 Merge mozilla-central to fx-team 2015-06-10 15:25:21 +02:00
Mike Hommey
d2f37fb969 bug 1172632 - Move some allocator related configure checks in a common location for both top-level and js/src to use. r=mshal 2015-06-10 10:49:22 +09:00
Chris Manchester
7c8e569eaf Bug 1149670 - Add a mach command to find tests in specified directories and prepare a commit to push them to try.;r=ahal
--HG--
extra : commitid : EDP1u6cliJy
2015-05-28 15:57:21 -07:00
Wes Kocher
41e334cea0 Merge m-c to fx-team, a=merge 2015-06-09 19:30:16 -07:00
Michael LoPiccolo
f5afeff402 Bug 1168808 - Remove superflous call to getNextView(). r=mcomella 2015-05-29 13:24:05 -05:00
Ehsan Akhgari
94b37a9fb9 Bug 1164397 - Part 9: Add a test case for the service worker for an app:// URI responding with a redirected HTTPS response; r=jdm 2015-06-05 15:57:53 -04:00
Botond Ballo
b197e46728 Backed out d952a7d6bfb4 (bug 1170388) on a CLOSED TREE for static analysis bustage. r=bustage 2015-06-05 00:14:14 -04:00
Botond Ballo
f03fd8179e Bug 1170388 - Restrict the static analysis error given about raw pointers to refcounted objects inside a lambda, to the case where the raw pointer is captured. r=ehsan
--HG--
extra : rebase_source : c76a1dbb2942a07788ec1e87bc5edab79bfee3f5
extra : source : 4abfbfd822789a609c5a7c8c7eef499c776ba489
2015-06-03 16:51:36 -04:00
Ryan VanderMeulen
b3caa9d676 Merge fx-team to m-c. a=merge 2015-06-04 09:24:15 -04:00
Ryan VanderMeulen
3f344dd200 Merge m-c to fx-team. a=merge 2015-06-03 16:06:53 -04:00
Nick Alexander
97786c5695 Bug 1169476 -- Implement |mach robocop --serve|. r=gbrown
This adds a flag to |mach robocop| that does everything to run a
Robocop test except launch the actual test.  Instead of launching the
test, it starts the mochi.test server and launches Fennec with a test
profile; then it sits and waits forever.

This allows regular Java IDEs (IntelliJ, but previously Eclipse) to
run Robocop tests like regular instrumentation tests, "injecting" them
into the prepared testing environment.  It's quite nice!

--HG--
extra : rebase_source : a5ab08222110a20291aebe70ef1fda0d340dbe7d
extra : source : e91ac9a35f86928fcd519911476ee7d68d06f921
2015-05-29 17:18:07 -07:00
James Willcox
1da727fb41 Bug 1165460 - Prefer GCC 4.9 for Fennec builds r=glandium 2015-06-03 10:26:17 -05:00
Eric Rahm
c8cabc45e1 Bug 1165515 - Part 15: Reduce log level of WebRTC during testing. r=jesup 2015-06-03 15:26:07 -07:00
Geoff Brown
354ba1f4fb Bug 1169503 - Allow sutagent to build on Android M; r=snorp 2015-05-29 14:42:59 -06:00
Andrew Halberstadt
601518ec18 Bug 1169714 - Add requests to mach bootstrap SEARCH_PATH, r=jgriffin
--HG--
extra : rebase_source : 7936ffa21f1429338566c2371e8683ef8b0367fc
2015-05-29 14:01:25 -04:00
Ryan VanderMeulen
2e35b1209f Merge inbound to m-c. a=merge 2015-05-29 09:32:46 -04:00
David Keeler
a83c753047 bug 1166976 - generate some PSM xpcshell test certificates at build time r=Cykesiopka,mgoodwin,froydnj 2015-05-20 16:35:16 -07:00
Sylvestre Ledru
1d3004ee80 Bug 1168805 - "Useless call ".toLowerCase()" in SUTAgentAndroid.java". r=jmaher 2015-05-27 05:29:00 +02:00
Juan Gomez
6bb99c65f3 Bug 1164610 - Increase ANDROID_VERSION to 18 in icu.m4 checks because 17 (JB4.2) doesn't compile. r=Waldo 2015-05-17 09:18:00 -04:00
Botond Ballo
63b921afe7 Bug 1170388 - Restrict the static analysis error given about raw pointers to refcounted objects inside a lambda, to the case where the raw pointer is captured. r=ehsan
--HG--
extra : rebase_source : 28cd2aa684abf505edbcdbc449c8cf056d3b0ee6
extra : source : 28c2862d29b8a2cb0d03cf38430f17abc269225b
2015-06-03 16:51:36 -04:00
Mike Hommey
806e0220a2 Bug 991983 - Use objdir-relative SOURCES instead of GENERATED_SOURCES. r=gps 2015-05-28 07:34:16 +09:00
Jonathan Griffin
4feab373ba Bug 1163833 - Add integration with browsermob-proxy, r=dburns 2015-05-27 10:00:09 -07:00
Mike Hommey
9acae632d9 Bug 1167474 - Remove ELFHACK_BUILD hack. r=mshal
It used to be necessary because of how elfhack was built in the past, but it
happens to be unnecessary nowadays.
2015-05-26 16:17:55 +09:00
ISHIKAWA, Chiaki
4c6363c62a Bug 1165733 - Avoid evaluating empty $ANDROID_VERSION in condition where integer is expected, r=glandium
CLOSED TREE
2015-05-20 17:13:00 -07:00
Jonathan Griffin
479984afe5 Bug 1149618 - Remove SpecialPowers from Marionette, r=dburns 2015-05-18 16:36:15 -07:00
Jonathan Griffin
8824722da9 Backout cc15c275b1e3 (Bug 1149618) on a CLOSED TREE for suspected debug emulator bustage, a=bustage 2015-05-19 19:35:38 -07:00
Jonathan Griffin
ac2f6d8d6e Bug 1149618 - Remove SpecialPowers from Marionette, r=dburns 2015-05-18 16:36:15 -07:00
Andrew Halberstadt
6a55c03d43 Bug 1058923 - Package mach in tests.zip; create bootstrap script for test package, r=gps
--HG--
extra : rebase_source : 9f988171182a0abd54724e0cc2906fe678da318f
extra : source : 7923a0c837b56efcd1376b95318fe4cdce03d5e8
2015-05-01 12:20:55 -04:00
Mike Shal
b064769a72 Bug 1155349 - set packageFilename in mach properties; r=glandium 2015-05-13 14:26:53 -04:00
Chris Manchester
95c63446e0 Bug 917999 - Part 1 - Write out and upload a manifest of test archives and the harnesses that depend on them.;r=ted 2015-05-15 11:30:24 -07:00
Ehsan Akhgari
6532f9f013 Bug 1156084 - Disallow AddRef() and Release() calls on the return value of methods returning XPCOM objects; r=jrmuizel
When a method returns type D derived from RefCounted type B, there is an
ImplicitCastExpr (or an ExplicitCastExpr, if there is an explicit cast
to the base type in the code) in the AST between the CallExpr and
MemberExpr, which we didn't take into account before.  This caused the
analysis to not work on common patterns such as
nsCOMPtr<nsIXPCOMInterface>.
2015-05-15 08:39:55 -04:00
Nathan Froyd
81521abb68 Bug 1164657 - delete dead code for MOZ_ANDROID_LIBSTDCXX flags determination; r=nalexander
We require ndk-r8e, so we don't need to support paths for all the other
NDKs prior to that now.  Also took the opportunity to clean the paths up
so things fit on a reasonable screen.
2015-05-13 15:24:32 -04:00
Nathan Froyd
6415da1d81 Bug 1164619 - delete bit of android.m4 for older NDKs; r=nalexander
We require version r8e of the NDK, so bits handling r8a or before are no
longer necessary.
2015-05-13 15:03:15 -04:00
Mike Hommey
fe90037862 Bug 1043692 - Add a DIST_INSTALL variable to moz.build, and replace NO_DIST_INSTALL with it. r=gps 2015-05-12 07:55:21 +09:00
Mike Hommey
8a1bd09c71 Bug 1162779 - Move NO_EXPAND_LIBS to moz.build. r=mshal 2015-05-12 07:26:42 +09:00
Birunthan Mohanathas
03b012b21e Bug 1163029 - Use NamedDecl::getName instead of expensive NamedDecl::getNameAsString. r=ehsan 2015-05-08 09:29:11 -07:00
Nikhil Marathe
4c2d6784e1 Bug 1080109 - Clear ServiceWorkers when clearing history or forgetting about site. r=baku,ehsan
--HG--
extra : rebase_source : 41417b60ed6603d613b65cd7e96a5ba8121b05e5
2015-03-05 17:37:49 -08:00
Mike Hommey
bfe476e5f9 Bug 1128037 - Minimalist support for wildcards in jar manifests. r=gps 2015-05-05 09:25:24 +09:00
Geoff Brown
51f4882b20 Bug 1156425 - Allow Android test jobs to run for up to 75 minutes; r=ryanvm 2015-05-04 10:32:46 -06:00
Nick Alexander
18a7f571b3 Bug 938659 - Part 2: build system changes. r=mfinkle
--HG--
extra : rebase_source : 75b5b060d9c2733efbd56580a5828b3feac7c417
2015-05-01 17:33:03 -07:00
Geoff Brown
baa77da218 Bug 1160393 - Enable webrtc logging for android; r=bwc 2015-05-01 16:34:36 -06:00
Nick Alexander
6337397a38 Bug 1160030 - Use TEST_HARNESS_FILES to install Robocop ini files. r=froydnj
--HG--
extra : rebase_source : 3f03344ba9613049033266e0a639dd66f3f6cc5b
2015-04-30 10:13:13 -07:00
Nick Alexander
358d953389 Bug 1160030 - Use TEST_HARNESS_FILES to install Robocop test files. r=froydnj
--HG--
extra : rebase_source : 3dff590c5c40213b5c800e5fd111c77c0d3c32c5
2015-04-29 21:40:21 -07:00
Nick Alexander
4eb93bd3a9 Bug 1159390 - Set sharedUserId in robocop.apk. r=gbrown
--HG--
extra : rebase_source : cb36a632051f69d01e676a130e2ec1cc78ad3c50
2015-04-28 11:29:18 -07:00
Ehsan Akhgari
3e88d83106 Bug 892973 - Add support for the YouCompleteMe vim plugin; r=gps 2015-04-27 13:08:43 -04:00
Qiang Lu
e037edf4f5 Bug 1106958 - Use android.media.MediaCodec for decoding in WebRTC stack. r=snorp, r=gcp, r=ted
--HG--
extra : rebase_source : 104976d4e5c82047f24d39f46ec3913e8c0aa6fd
2014-12-10 11:06:06 +08:00
Nathan Froyd
4f01adc46e Bug 1158227 - part 2 - set TSAN_OPTIONS environment variable in automationutils.py for TSan; r=jmaher 2015-04-24 11:42:54 -04:00
Ted Mielczarek
4c86423908 bug 1085557 - Add Socorro symbol upload token file to linux mozconfigs. r=coop
--HG--
extra : rebase_source : d30d0cd32c99de4a2b24896094eeca33aa203ba8
2015-03-30 07:35:28 -04:00
Makoto Kato
375749b0b9 Bug 866301 - Part 3. Use system ICU for gonk-JB or later. r=glandium 2015-04-24 11:22:14 +09:00
Kartikaya Gupta
cd5b55f8d6 Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong 2015-04-23 15:10:30 -04:00
Andrew McCreight
43a628f9e3 Bug 1156982 - Add separators to BloatView output. r=froydnj
This will ensure we properly parse class names containing spaces.

Note that if a class name somehow ends up containing operator| then this will end up again silently failing.
2015-04-22 11:06:50 -07:00
Geoff Brown
7d7b8dc617 Bug 1156422 - Improve robustness of logcat collection in checkForCrashes; r=bc
--HG--
extra : rebase_source : ab02b6f2c7007a42c4205ff5f1d41db4da7b134a
2015-04-21 16:44:42 -06:00
Ehsan Akhgari
399276d5fc Bug 1153348 - Add an analysis to prohibit operator bools which aren't marked as either explicit or MOZ_IMPLICIT; r=jrmuizel
This is the counterpart to the existing analysis to catch
constructors which aren't marked as either explicit or
MOZ_IMPLICIT.
2015-04-21 21:40:49 -04:00
Wes Kocher
638b28b8e0 Backed out changeset 02e6a50741a9 (bug 1153348) to hopefully fix the static bustage CLOSED TREE 2015-04-21 15:47:40 -07:00
Wes Kocher
78060d2f53 Backed out changeset 8b99d282cd87 (bug 1156084) for static bustage CLOSED TREE 2015-04-21 14:23:56 -07:00
Ehsan Akhgari
3d21a05904 Bug 1153348 - Add an analysis to prohibit operator bools which aren't marked as either explicit or MOZ_IMPLICIT; r=jrmuizel
This is the counterpart to the existing analysis to catch
constructors which aren't marked as either explicit or
MOZ_IMPLICIT.
2015-04-21 16:31:58 -04:00
Ehsan Akhgari
3f4737e49a Bug 1156084 - Disallow AddRef() and Release() calls on the return value of methods returning XPCOM objects; r=jrmuizel
When a method returns type D derived from RefCounted type B, there is an
ImplicitCastExpr (or an ExplicitCastExpr, if there is an explicit cast
to the base type in the code) in the AST between the CallExpr and
MemberExpr, which we didn't take into account before.  This caused the
analysis to not work on common patterns such as
nsCOMPtr<nsIXPCOMInterface>.
2015-04-21 16:24:41 -04:00
Patrick McManus
499947932e no bug - change mdn link in comment to be https. r=comment-only DONTBUILD 2015-04-21 16:20:56 -04:00
Makoto Kato
7d22b3ec0a Bug 866301 - Part 2. Use in-tree ICU source code for gonk. r=glandium 2015-04-21 17:31:38 +09:00
Nathan Froyd
d876b3e545 Bug 870891 - move DIST_FILES to moz.build; r=mshal 2015-04-15 16:04:49 -04:00
Mike Hommey
555935f70d Bug 1154596 - Build elfhack tests with -fno-lto. r=nfroyd
LTO changes in GCC5 make it break the assumptions made in the test-ctors
source. The simplest and more correct thing to do is to just force the
test files never to be built with LTO. They are meant to have a particular
layout that LTO might break at any time anyways.
2015-04-16 14:35:13 +09:00
Mike Hommey
769b5c8f4f Bug 1153154 - Add stdc++-compat hack for std::string::_S_compare and std::runtime_error::runtime_error. r=nfroyd 2015-04-16 14:35:12 +09:00
Ehsan Akhgari
be34868969 Bug 1153304 follow-up: Fix the build bustage 2015-04-14 21:15:53 -04:00
Ehsan Akhgari
ac6176637b Bug 1153304 - Add an analysis to prohibit the usage of pointers to refcounted types inside C++ lambdas; r=jrmuizel 2015-04-14 20:55:05 -04:00
Mike Hommey
6d051ab201 Bug 1154187 - Improve the build-gcc.sh script to build GCC snapshots. r=tbsaunde 2015-04-15 09:21:23 +09:00
Wes Kocher
68ebc60aef Backed out changeset 5f48890c23c1 (bug 1153304) 2015-04-14 16:32:42 -07:00
Ehsan Akhgari
b98cfc5a8e Bug 1153304 - Add an analysis to prohibit the usage of pointers to refcounted types inside C++ lambdas; r=jrmuizel 2015-04-14 18:34:46 -04:00
Alexandre Poirot
c5e3c63860 Bug 1147031 - Write mach command for luciddream. r=jgriffin 2015-04-09 11:46:00 -04:00
Makoto Kato
125a6e2f73 Bug 1128365 - MOZ_TOOLS is unnecessary. r=glandium 2015-04-09 19:24:02 +09:00
Ryan VanderMeulen
720e898086 Backed out changeset a209d4d37f8f (bug 1147031) for Luciddream bustage. 2015-04-07 11:48:46 -04:00
Alexandre Poirot
72aa4edbeb Bug 1147031 - Write mach command for luciddream. r=jgriffin 2015-04-02 10:55:00 -04:00
Jacek Caban
0178c95f4c Bug 1147839 - Fixed building installer on mingw. r=glandium 2015-04-01 12:50:44 +02:00
ijdt.editor@gmail.com
3258816e9c Bug 1139429 - Fix ICU configuration for SunOS/OpenSolaris. r=glandium 2015-03-31 13:28:00 +02:00
Ben Turner
c200992dcd Revert unintentional change to crash reporting infra in changeset ce2692d64bcf DONTBUILD 2015-03-31 15:51:24 -07:00
Ben Turner
056431018e Bug 1071360 - Fix async storage connection closing when open fails, r=asuth. 2015-03-27 22:45:28 -07:00
Mike Hommey
26b3c4f285 Bug 1138293 - Remove moz_malloc/moz_free/moz_realloc/moz_calloc. r=njn
We need to use _impl variants within mozalloc.h when they are defined because
of how mozglue.dll is linked on Windows, where using malloc/free would use
the symbols from the MSVCRT instead of ours.
2015-03-31 12:32:49 +09:00
Ted Mielczarek
633f9ad0e7 bug 1085557 - Add Socorro symbol upload token file to mac and windows mozconfigs. r=coop
--HG--
extra : rebase_source : 6a647aac8b6be453a7c6fb624d02865abf413dc0
extra : source : 3c62d97274352feb330eaa8721c0c364e2dbfc8c
2015-02-27 08:58:57 -05:00
Victor Porof
e50a9999eb Bug 1148463 - Temporarily disable the new performance tools for the Aurora uplift by backing out changeset 2ae4dac8f094, r=jsantell 2015-03-27 20:20:11 -04:00
Hector Zhao
f516cc8b09 Bug 1146869 - Make AM_PATH_{NSPR,NSS} compatible with input version in the form of major.minor. r=glandium 2015-03-24 06:45:38 +08:00
Ryan VanderMeulen
0f0c55ff2e Backed out changeset e3d23172f0fe (bug 1085557) for nightly symbol upload failures. a=me 2015-03-25 13:42:46 -04:00
Ted Mielczarek
f66ee346e8 bug 1085557 - Add Socorro symbol upload token file to mozconfigs. r=coop
--HG--
extra : rebase_source : a34863a40c87c3cc63ab0b34ebb8028261b4ec5d
extra : source : 3c62d97274352feb330eaa8721c0c364e2dbfc8c
2015-02-27 08:58:57 -05:00
L. David Baron
6760f2e797 Bug 1142420 - Require that the same compiler version be used for C and C++ (at the very least, so that our version checks are valid for both). r=glandium
I tested locally that both checks give the expected error if I
temporarily change the != to an =.
2015-03-25 08:07:14 +09:00
L. David Baron
56a377b2d2 Bug 1142352 - Add a configure test for the gcc version of the host compiler when cross compiling. r=glandium
The duplication of the code higher up is a little bit annoying, but I
don't see an easy way to avoid that.  It's also still quite far from
duplicating everything.

I tested locally with a Fennec build that if I bump the requirement from
4.6 to 4.9, I get the expected build error.
2015-03-25 08:07:09 +09:00
Axel Hecht
1ce66ccec6 Bug 940103 - Add a mach command to call compare-locales. r=gps
We're using as many defaults from the configure step as we can. We're also opinionated upon the defaults, but obviously allow most compare-locales options to be specified.

There are two exceptions:
Reference language is specified to be en-US, without optional argument. This is our in-tree command, and the reference language is known.
We always clobber the merge dir, and don't give an option not to. We default to a merge dir in the objdir, so we don't need to be that paranoid as in the standalone version.

Also, compare-locales clobbers merge-dir/browser etc, so you're not going to get / removed.

--HG--
extra : rebase_source : c0f63e566779e83201708d05966f3583ae82e4ee
2015-03-18 18:47:36 +01:00
Jim Blandy
664a32d9e7 Bug 1134039: Make SpiderMonkey standalone (JS_STANDALONE) builds use jemalloc and mozglue by default. r=glandium
JS_STANDALONE builds don't need everything in mozglue; have mozglue omit the
unneeded code for such builds.

Since the SpiderMonkey binaries are now more like the other Gecko binaries, we
can remove some special cases for JS_STANDALONE in GeckoSharedLibrary,
GeckoProgram, etc. All Gecko binaries now use mozglue, which contains mfbt, so
we no longer need mention mfbt explicitly.

Add a property to the getBuildConfiguration testing function's result that
indicates whether we're using jemalloc or not.

Include the newly necessary source directories in the SpiderMonkey source
package.
2015-03-19 02:12:53 -07:00
Mike Shal
47434653c0 Bug 1137000 - Enable SDK building on nightlies; r=glandium 2015-03-17 15:29:07 -04:00
Bob Owen
b7b394038a Bug 1144155 Part 1: Bump our minimum supported GCC version for Gecko up from 4.6 to 4.7. r=glandium 2015-03-19 10:56:13 +00:00
Victor Porof
3a6e36b016 Bug 1123815 - Merge gum into fx-team to enable the Performance++ tool, r=me 2015-03-14 16:14:37 -04:00
Carsten "Tomcat" Book
6caed0d2ed Backed out changeset e3a4467dc9df (bug 1142352) for causing arm build bustage 2015-03-13 09:43:25 +01:00
Carsten "Tomcat" Book
061fc98b65 Backed out changeset 86a5fea1cd01 (bug 1142420) 2015-03-13 09:42:30 +01:00
L. David Baron
23b631aeab Bug 1142420 - Require that the same compiler version be used for C and C++ (at the very least, so that our version checks are valid for both). r=glandium
I tested locally that both checks give the expected error if I
temporarily change the != to an =.

--HG--
extra : transplant_source : %01N%B9%8B%BC%1E%07%D6%AE%BA2%7B%87%FB%25Y%19%B6%A9%D3
2015-03-12 23:28:55 -07:00
L. David Baron
7c6b3d298f Bug 1142352 - Add a configure test for the gcc version of the host compiler when cross compiling. r=glandium
The duplication of the code higher up is a little bit annoying, but I
don't see an easy way to avoid that.  It's also still quite far from
duplicating everything.

I tested locally with a Fennec build that if I bump the requirement from
4.6 to 4.9, I get the expected build error.

--HG--
extra : transplant_source : D%D3%FE%169%05%D0X%F3KK%17%9EW%88%BCs%9B%86%5D
2015-03-12 23:28:55 -07:00
Wes Kocher
014849cca6 Merge m-c to inbound a=merge CLOSED TREE 2015-03-10 16:11:23 -07:00
Mike Shal
48668314ac Bug 1141534 - fix mulet nightly mozconfigs; r=bhearsum
We don't want uploadsymbols or update-packaging for nightly mulet
builds, but these were being set by the underlying browser mozconfigs.
2015-03-10 16:20:02 -04:00
Mike Hommey
364038011c Bug 868814 - Fold mozalloc library into mozglue. r=njn
--HG--
rename : memory/mozalloc/moz.build => memory/mozalloc/staticruntime/moz.build
2015-03-10 10:01:52 +09:00
Carsten "Tomcat" Book
58a19cdf9c Merge mozilla-central to fx-team 2015-03-10 14:05:23 +01:00
Bhargav Chippada
c4c85779d8 Bug 1112605 - FenneNativeElement "unable to find view" error should log human-readable view id. r=Margaret Leibovic 2015-03-05 04:56:00 +01:00
Chris Manchester
dc928c0e88 Bug 1109183 - Fix imports of the marionette client and remove spurious entry from sys.path provided by mach. r=ahal
--HG--
extra : rebase_source : 1c6579dfd5cd44973a74b5c0f81b14fca6f170d4
2015-03-03 17:37:19 -08:00
Mike Shal
8ced741c16 Bug 1132123 - Port mulet to mozharness+mach; r=bhearsum 2015-02-25 17:25:59 -05:00
Makoto Kato
395bb213d6 Bug 946974 - Warning spam when building ICU. r=glandium 2015-03-04 19:13:12 +09:00
Gregory Szorc
92f0b9eb58 Bug 1138283 - Fix bad documentation around wildcard patterns; r=glandium
--HG--
extra : rebase_source : 0df22844fa50658da86f6c111868ac67fda3e21a
extra : amend_source : 0f4451ce80e327382c76a49bef9e7bdb1466f00f
extra : histedit_source : 7c76ee5dca5610704342741e7cb608c2bbb6d297
2015-03-03 09:21:23 -08:00
Anish
4063a569ed Bug 958147 - Choose one of run-if or skip-if and get rid of the other.r=jmaher, mwargers 2015-03-03 08:46:37 -05:00
Wes Kocher
b9799a40ef Merge m-c to fx-team a=merge CLOSED TREE 2015-03-02 13:07:53 -08:00
Ryan VanderMeulen
a83d879253 Backed out 11 changesets (bug 1132771) for SM test bustage on a CLOSED TREE.
Backed out changeset 1cd9344eb281 (bug 1132771)
Backed out changeset 3dac1282a10f (bug 1132771)
Backed out changeset b7ec05265c33 (bug 1132771)
Backed out changeset 4cc39c54099d (bug 1132771)
Backed out changeset 7eed09d39b9f (bug 1132771)
Backed out changeset c3a0cb4b45b1 (bug 1132771)
Backed out changeset 91d34d3107fa (bug 1132771)
Backed out changeset 6c44edc8208a (bug 1132771)
Backed out changeset ed135df39575 (bug 1132771)
Backed out changeset acdd5491f10e (bug 1132771)
Backed out changeset 4013d256b591 (bug 1132771)
2015-03-02 09:48:11 -05:00
Nigel Babu
19d4481b2a Backout Bug 1132771 for spidermonkey build bustage on CLOSED TREE 2015-03-02 17:13:05 +05:30
Gregory Szorc
b931cfa945 NO BUG - Fix reStructuredText warnings
Sphinx has been complaining about a number of reStructuredText warnings
for a while. Fix all the ones in .rst files.

Not asking for review because this is docs only and changing .rst files
can't break anything important.

DONTBUILD (NPOTB)
2015-03-01 22:51:32 -08:00
Gregory Szorc
c9f8e8262b Bug 1132771 - Fix grammar nits in moz.build documentation
These were left over from a Ms2ger review and weren't seen before
landing.

DONTBUILD (NPOTB)
2015-03-01 22:15:07 -08:00
Gregory Szorc
3ee0ca43a1 Bug 1132771 - Define some bug components; r=glandium
This patch defines bug components for code that I have historically
touched.

--HG--
extra : rebase_source : 738916cf41ac11c094f5c15667925a7221e6446e
extra : histedit_source : 0f7d5cd869a7b239def58877a8858159219cdf59
2015-02-26 11:43:45 -08:00
Gregory Szorc
06e4b253b9 Bug 1132771 - Add Files to moz.build with ability to define Bugzilla component; r=glandium
The Files sub-context allows us to attach metadata to files based on
pattern matching rules.

Patterns are matched against files in a last-write-wins fashion.

The sub-context defines the BUG_COMPONENT variable, which is a 2-tuple
(actually a named tuple) defining the Bugzilla product and component for
files. There are no consumers yet. But an eventual use case will be to
suggest a bug component for a patch/commit. Another will be to
automatically suggest a bug component for a failing test.

--HG--
extra : rebase_source : 0f4004d364f6c2fe2b7f306823cb94313f4ebfe5
extra : histedit_source : 2beea807a122e08ba152a37beec2fcbe80981b64
2015-02-27 13:56:26 -08:00
Gregory Szorc
8316cdb0b8 Bug 1132771 - Support and test for reading without a config object; r=glandium
We want the ability to read data from any moz.build file without needing
a full build configuration (running configure). This will enable tools
to consume metadata by merely having a copy of the source code and
nothing more.

This commit creates the EmptyConfig object. It is a config object that -
as its name implies - is empty. It will be used for reading moz.build
files in "no config" mode.

Many moz.build files make assumptions that variables in CONFIG are
defined and that they are strings. We create the EmptyValue type that
behaves like an empty unicode string. Since moz.build files also do some
type checking, we carve an exemption for EmptyValue, just like we do for
None.

We add a test to verify that reading moz.build files in "no config" mode
works. This required some minor changes to existing moz.build files to
make them work in the new execution mode.

--HG--
extra : rebase_source : 2f39e19c2eb11f937da85d41b9a514ca810d6be0
extra : source : af07351bf2d6e85293ae3edf0fe4ae6cbc0ce246
2015-02-26 10:21:52 -08:00
Tooru Fujisawa
0a48a9926a Bug 1108382 - Part 4: Do not use non-standard flag argument of String.prototype.replace in build/pgo/. r=jandem 2015-03-01 09:51:33 +09:00
Gregory Szorc
eaf5064744 Bug 1132771 - Define some bug components; r=glandium
This patch defines bug components for code that I have historically
touched.

--HG--
extra : rebase_source : 9e670da52247a8feb149e6419e8b488e84f93333
2015-02-26 11:43:45 -08:00
Gregory Szorc
85fc3da5dc Bug 1132771 - Add Files to moz.build with ability to define Bugzilla component; r=glandium
The Files sub-context allows us to attach metadata to files based on
pattern matching rules.

Patterns are matched against files in a last-write-wins fashion.

The sub-context defines the BUG_COMPONENT variable, which is a 2-tuple
(actually a named tuple) defining the Bugzilla product and component for
files. There are no consumers yet. But an eventual use case will be to
suggest a bug component for a patch/commit. Another will be to
automatically suggest a bug component for a failing test.

--HG--
extra : rebase_source : 9489738136d929a53db7f54bbe6acf3186e0a47c
2015-03-01 22:15:07 -08:00