Commit Graph

3170 Commits

Author SHA1 Message Date
Gregory Szorc
9b903cbac6 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.
2015-07-14 13:53:50 -07:00
Gregory Szorc
28a09be59c 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.
2015-07-14 13:44:59 -07:00
Chris Manchester
b94ba21a39 Bug 1181342 - tooltool manifests and build-clang config for clang 3.6 r=rail 2015-07-10 10:30:37 -07:00
Chris Manchester
d19d375631 Bug 1181255 - Mozconfigs for tsan builds. r=glandium 2015-07-14 18:45:54 -07:00
Ehsan Akhgari
20a6030350 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
6fcd6defca 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
5025e11baf 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.
2015-07-07 14:18:56 -07:00
Gregory Szorc
669d096a20 Bug 1185612 - Detect closed stdin file descriptor; r=bholley
isatty() raises ValueError if the file descriptor is closed. Detect
closed file descriptors.
2015-07-20 11:17:00 -07:00
Ehsan Akhgari
d3d141e31a Bug 1180275 - Part 1: Add a release_build mozinfo variable; r=ted 2015-07-16 14:47:52 -04:00
Andrew Halberstadt
b86f120e23 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.
2015-07-16 10:38:40 -04:00
Ryan VanderMeulen
22d77db0ae 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
415ebdfa86 Bug 1180275 - Part 1: Add a release mozinfo variable; r=ted 2015-07-15 19:59:59 -04:00
Sebastian Kaspari
00a6cef428 Bug 1186532 - Add RecyclerView library to Robocop builds. r=jonalmeida 2015-07-23 13:27:28 +02:00
Michael Layzell
0eb57dfbb4 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
13e782de88 Bug 1178850 - Generate naive method bindings in annotation processor; r=snorp 2015-07-10 23:41:35 -04:00
Jim Chen
c46e55d3a0 Bug 1178850 - Make mozilla::jni::Param more intuitive to use; r=snorp 2015-07-10 23:41:35 -04:00
Mike Hommey
45ed79edc7 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
0f07ce99e1 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
6dd55e4405 Bug 1178850 - Generate naive method bindings in annotation processor; r=snorp 2015-07-10 16:52:52 -04:00
Jim Chen
328f4b5fdc Bug 1178850 - Make mozilla::jni::Param more intuitive to use; r=snorp 2015-07-10 16:52:51 -04:00
Geoff Brown
96d8502fb9 Bug 1179981 - A new test harness for robocop; r=jmaher 2015-07-09 12:30:01 -06:00
Rail Aliiev
6d538e943c Bug 1182170 - Kill tooltool.py from the tree. r=dustin DONTBUILD 2015-07-09 14:00:02 -04:00
Julien Pagès
9b331ff125 Bug 1091274 - Move leak log functions out of automationutils and into mozbase. r=jgriffin 2015-07-03 07:04:22 +02:00
Ehsan Akhgari
7505da2c29 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
fa44aad141 Bug 1180506 - Fix building the clang-plugin with ToT clang; r=mystor 2015-07-06 14:48:35 -04:00
Andrew Comminos
abd9bd59d8 Bug 1180745 - Fix logging test screenshotting errors. r=jgriffin 2015-07-06 08:48:00 -04:00
Sebastian Kaspari
0becd8e88e Bug 1180132 - android.m4: RecyclerView library should not be dependent on flag $MOZ_NATIVE_DEVICES. r=nalexander 2015-07-03 14:46:57 +02:00
Julien Pagès
0a9d51f8f3 Bug 1091284 - Remove systemMemory, environment from automationutils. r=jgriffin 2015-07-01 22:00:07 +02:00
Ryan VanderMeulen
a5ddcf5159 Merge m-c to fx-team. a=merge 2015-07-01 16:40:01 -04:00
Mike Shal
2d681ee087 Bug 1175895 - separate tier start message for mach; r=ted 2015-06-17 16:59:20 -04:00
Mike Shal
361304b682 Bug 1175895 - aid greppability of MOZ_AUTOMATION_*; r=ted 2015-06-17 16:58:26 -04:00
Gijs Kruitbosch
92cbb6df9d Bug 1170522 - expose whether or not we're in tablet mode to xul/js/css, r=jimm,ted 2015-06-16 19:51:29 +01:00
Chris Manchester
959882de28 Bug 917999 - Part 3.1 - Prepare taskcluster for a split test package.;r=jlal 2015-06-29 11:16:51 -07:00
Chris Manchester
060b38720a Bug 917999 - Part 3 - Split tests into harness specific zips.;r=ted 2015-06-29 11:16:50 -07:00
Ryan VanderMeulen
7bb2a3d66d Backed out changeset e2f1bf3e3dc4 (bug 1171610) for bustage.
CLOSED TREE
2015-06-30 12:35:42 -04:00
James Willcox
599b906a99 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
49ef4d85fa Bug 1178154 - move ShutdownLeaks and LSANLeaks from automationutils to mochitest. r=jgriffin 2015-06-29 20:09:51 +02:00
Ryan VanderMeulen
2f7c322318 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
8b12fc879e Bug 917999 - Part 3.1 - Prepare taskcluster for a split test package.;r=jlal 2015-06-29 11:16:51 -07:00
Chris Manchester
f0caa09957 Bug 917999 - Part 3 - Split tests into harness specific zips.;r=ted 2015-06-29 11:16:50 -07:00
Julien Pagès
d94a5c1827 Bug 1177780 - remove useless stuff in automation.py. r=jgriffin 2015-06-26 22:45:18 +02:00
Birunthan Mohanathas
370b5798ca Backed out changeset 58a2788fad8e (bug 1175359) 2015-06-26 12:49:12 -07:00
Ralph Giles
3abd54c0a6 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
0d16ec0cfa Bug 1176642 - Use absolute_import in mach_commands.py files; r=glandium
This removes ambiguity as to which modules are being imported, making
import slightly faster as Python doesn't need to test so many
directories for file presence.

All files should already be using absolute imports because mach command
modules aren't imported to the package they belong to: they instead
belong to the "mach" package. So relative imports shouldn't have been
used.
2015-06-21 17:39:09 -07:00
Gregory Szorc
97fe4bc7c7 Bug 1176642 - Remove unused imports; r=glandium 2015-06-25 12:16:38 -07:00
Carsten "Tomcat" Book
8b1114a78a merge mozilla-inbound to mozilla-central a=merge 2015-06-22 14:03:17 +02:00
Geoff Brown
8532faf776 Bug 1175540 - Reduce timeouts for many adb devicemanager calls; r=mcote 2015-06-21 13:58:34 -06:00
Jonathan Almeida
d3c669a643 Bug 1161820 - Replace all back button presses with Solo.goBack in tests. r=liuche CLOSED TREE 2015-06-17 17:24:48 -07:00
Ryan VanderMeulen
9523eff4f2 Merge inbound to m-c. a=merge
CLOSED TREE
2015-06-18 16:03:38 -04:00
Carsten "Tomcat" Book
c60dd2e473 Merge mozilla-central to mozilla-inbound 2015-06-18 15:34:31 +02:00
Sebastian Kaspari
202877b136 Bug 1171288 - Add ability to build with RecyclerView support library. r=nalexander 2015-06-16 19:52:44 +02:00
Nick Alexander
3687e06ac5 No bug - Make robocop.apk debuggable. r=me 2015-06-17 09:54:47 -07:00
Mike Hommey
4a22c4f7a8 Bug 1175323 - Bump stdc++compat minimum supported libstdc++ version to 4.3. r=nfroyd 2015-06-18 17:10:39 +09:00
Ehsan Akhgari
dc533a8281 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
e70c89f67a Bug 1171820 - Convert test_bug483440.html mochitest to an xpcshell test. r=keeler 2015-06-13 00:51:00 +02:00
Ted Mielczarek
da4276d0ce bug 1163828 - build system changes to support building for iOS. r=glandium 2015-06-10 11:10:40 -04:00
Carsten "Tomcat" Book
6c8a8426ae Merge mozilla-central to fx-team 2015-06-10 15:25:21 +02:00
Mike Hommey
85ff53f3f0 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
edcfca9dfd Bug 1149670 - Add a mach command to find tests in specified directories and prepare a commit to push them to try.;r=ahal 2015-05-28 15:57:21 -07:00
Wes Kocher
8a0f50f15d Merge m-c to fx-team, a=merge 2015-06-09 19:30:16 -07:00
Michael LoPiccolo
5f05149e92 Bug 1168808 - Remove superflous call to getNextView(). r=mcomella 2015-05-29 13:24:05 -05:00
Ehsan Akhgari
1342f561c3 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
9cbfb04730 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
75fa4313c2 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 2015-06-03 16:51:36 -04:00
Ryan VanderMeulen
7257de3293 Merge fx-team to m-c. a=merge 2015-06-04 09:24:15 -04:00
Ryan VanderMeulen
dead186069 Merge m-c to fx-team. a=merge 2015-06-03 16:06:53 -04:00
Nick Alexander
f73748e75a 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!
2015-05-29 17:18:07 -07:00
James Willcox
39f7d01780 Bug 1165460 - Prefer GCC 4.9 for Fennec builds r=glandium 2015-06-03 10:26:17 -05:00
Eric Rahm
00626b59ab Bug 1165515 - Part 15: Reduce log level of WebRTC during testing. r=jesup 2015-06-03 15:26:07 -07:00
Geoff Brown
2d888e2ddc Bug 1169503 - Allow sutagent to build on Android M; r=snorp 2015-05-29 14:42:59 -06:00
Andrew Halberstadt
0db949da0d Bug 1169714 - Add requests to mach bootstrap SEARCH_PATH, r=jgriffin 2015-05-29 14:01:25 -04:00
Ryan VanderMeulen
19dc73f937 Merge inbound to m-c. a=merge 2015-05-29 09:32:46 -04:00
David Keeler
674b31b75a 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
e4c737aab3 Bug 1168805 - "Useless call ".toLowerCase()" in SUTAgentAndroid.java". r=jmaher 2015-05-27 05:29:00 +02:00
Juan Gomez
c42d9daaa9 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
77d3b666a0 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 2015-06-03 16:51:36 -04:00
Mike Hommey
e3f13a0ddb Bug 991983 - Use objdir-relative SOURCES instead of GENERATED_SOURCES. r=gps 2015-05-28 07:34:16 +09:00
Jonathan Griffin
ba5f63636c Bug 1163833 - Add integration with browsermob-proxy, r=dburns 2015-05-27 10:00:09 -07:00
Mike Hommey
707a0443d8 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
6e9c756e6a 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
46f72e36a5 Bug 1149618 - Remove SpecialPowers from Marionette, r=dburns 2015-05-18 16:36:15 -07:00
Jonathan Griffin
c1efbce967 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
831992c796 Bug 1149618 - Remove SpecialPowers from Marionette, r=dburns 2015-05-18 16:36:15 -07:00
Andrew Halberstadt
ce8faf73ea Bug 1058923 - Package mach in tests.zip; create bootstrap script for test package, r=gps 2015-05-01 12:20:55 -04:00
Mike Shal
2774348ee2 Bug 1155349 - set packageFilename in mach properties; r=glandium 2015-05-13 14:26:53 -04:00
Chris Manchester
8007ebd07c 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
aee7f7274a 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
1de85b3b89 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
b73d1dd791 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
23fb4c1447 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
2051207a14 Bug 1162779 - Move NO_EXPAND_LIBS to moz.build. r=mshal 2015-05-12 07:26:42 +09:00
Birunthan Mohanathas
e0adbad231 Bug 1163029 - Use NamedDecl::getName instead of expensive NamedDecl::getNameAsString. r=ehsan 2015-05-08 09:29:11 -07:00
Nikhil Marathe
a5f604fd62 Bug 1080109 - Clear ServiceWorkers when clearing history or forgetting about site. r=baku,ehsan 2015-03-05 17:37:49 -08:00
Mike Hommey
bd61b51f2d Bug 1128037 - Minimalist support for wildcards in jar manifests. r=gps 2015-05-05 09:25:24 +09:00
Geoff Brown
e44553ec05 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
1646b86ded Bug 938659 - Part 2: build system changes. r=mfinkle 2015-05-01 17:33:03 -07:00
Geoff Brown
e3d343f370 Bug 1160393 - Enable webrtc logging for android; r=bwc 2015-05-01 16:34:36 -06:00
Nick Alexander
379976a013 Bug 1160030 - Use TEST_HARNESS_FILES to install Robocop ini files. r=froydnj 2015-04-30 10:13:13 -07:00
Nick Alexander
b3a8987155 Bug 1160030 - Use TEST_HARNESS_FILES to install Robocop test files. r=froydnj 2015-04-29 21:40:21 -07:00
Nick Alexander
5adeac18ee Bug 1159390 - Set sharedUserId in robocop.apk. r=gbrown 2015-04-28 11:29:18 -07:00
Ehsan Akhgari
583f4bd680 Bug 892973 - Add support for the YouCompleteMe vim plugin; r=gps 2015-04-27 13:08:43 -04:00
Qiang Lu
e4dba5af2b Bug 1106958 - Use android.media.MediaCodec for decoding in WebRTC stack. r=snorp, r=gcp, r=ted 2014-12-10 11:06:06 +08:00
Nathan Froyd
9087e72c67 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
93f1224c99 bug 1085557 - Add Socorro symbol upload token file to linux mozconfigs. r=coop 2015-03-30 07:35:28 -04:00
Makoto Kato
a7ace5e2d4 Bug 866301 - Part 3. Use system ICU for gonk-JB or later. r=glandium 2015-04-24 11:22:14 +09:00
Kartikaya Gupta
69c50300c9 Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong 2015-04-23 15:10:30 -04:00
Andrew McCreight
615ee2a3ef 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
2eb0898b78 Bug 1156422 - Improve robustness of logcat collection in checkForCrashes; r=bc 2015-04-21 16:44:42 -06:00
Ehsan Akhgari
0915a15420 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
5c13924153 Backed out changeset 02e6a50741a9 (bug 1153348) to hopefully fix the static bustage CLOSED TREE 2015-04-21 15:47:40 -07:00
Wes Kocher
6fdfd8574e Backed out changeset 8b99d282cd87 (bug 1156084) for static bustage CLOSED TREE 2015-04-21 14:23:56 -07:00
Ehsan Akhgari
783d64de67 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
e1d91cf3c6 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
e846bcb0a5 no bug - change mdn link in comment to be https. r=comment-only DONTBUILD 2015-04-21 16:20:56 -04:00
Makoto Kato
09fcacf57f Bug 866301 - Part 2. Use in-tree ICU source code for gonk. r=glandium 2015-04-21 17:31:38 +09:00
Nathan Froyd
4ac32b4479 Bug 870891 - move DIST_FILES to moz.build; r=mshal 2015-04-15 16:04:49 -04:00
Mike Hommey
6a81b0cab5 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
e3995bb3eb 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
b0b0910942 Bug 1153304 follow-up: Fix the build bustage 2015-04-14 21:15:53 -04:00
Ehsan Akhgari
9802480ddd 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
36956dc640 Bug 1154187 - Improve the build-gcc.sh script to build GCC snapshots. r=tbsaunde 2015-04-15 09:21:23 +09:00
Wes Kocher
1865543dc8 Backed out changeset 5f48890c23c1 (bug 1153304) 2015-04-14 16:32:42 -07:00
Ehsan Akhgari
cd486ddb02 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
70bf4d60c2 Bug 1147031 - Write mach command for luciddream. r=jgriffin 2015-04-09 11:46:00 -04:00
Makoto Kato
85bc4ebd86 Bug 1128365 - MOZ_TOOLS is unnecessary. r=glandium 2015-04-09 19:24:02 +09:00
Ryan VanderMeulen
0c14f2ccf1 Backed out changeset a209d4d37f8f (bug 1147031) for Luciddream bustage. 2015-04-07 11:48:46 -04:00
Alexandre Poirot
a7fb68a73f Bug 1147031 - Write mach command for luciddream. r=jgriffin 2015-04-02 10:55:00 -04:00
Jacek Caban
2b4329a1bb Bug 1147839 - Fixed building installer on mingw. r=glandium 2015-04-01 12:50:44 +02:00
ijdt.editor@gmail.com
216cf6aa3b Bug 1139429 - Fix ICU configuration for SunOS/OpenSolaris. r=glandium 2015-03-31 13:28:00 +02:00
Ben Turner
28f83ae71a Revert unintentional change to crash reporting infra in changeset ce2692d64bcf DONTBUILD 2015-03-31 15:51:24 -07:00
Ben Turner
ca471c4188 Bug 1071360 - Fix async storage connection closing when open fails, r=asuth. 2015-03-27 22:45:28 -07:00
Mike Hommey
f7b038d8be 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
6fb69c3e66 bug 1085557 - Add Socorro symbol upload token file to mac and windows mozconfigs. r=coop 2015-02-27 08:58:57 -05:00
Victor Porof
e4101cdb25 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
ac06d9394b 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
cd76f3cb3f Backed out changeset e3d23172f0fe (bug 1085557) for nightly symbol upload failures. a=me 2015-03-25 13:42:46 -04:00
Ted Mielczarek
45782da505 bug 1085557 - Add Socorro symbol upload token file to mozconfigs. r=coop 2015-02-27 08:58:57 -05:00
L. David Baron
a62e5adfb8 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
03ef817ddc 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
9b632f5fa6 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.
2015-03-18 18:47:36 +01:00
Jim Blandy
3245acc086 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
f7a7ec1dd8 Bug 1137000 - Enable SDK building on nightlies; r=glandium 2015-03-17 15:29:07 -04:00
Bob Owen
ecd52abb67 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
c5b24c6192 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
9c97a2fcfc Backed out changeset e3a4467dc9df (bug 1142352) for causing arm build bustage 2015-03-13 09:43:25 +01:00
Carsten "Tomcat" Book
fa10c23d03 Backed out changeset 86a5fea1cd01 (bug 1142420) 2015-03-13 09:42:30 +01:00
L. David Baron
4743ce14ba 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-12 23:28:55 -07:00
L. David Baron
eadb9df4a1 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-12 23:28:55 -07:00
Wes Kocher
4562de3097 Merge m-c to inbound a=merge CLOSED TREE 2015-03-10 16:11:23 -07:00
Mike Shal
1306181eb5 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
d84d9950a3 Bug 868814 - Fold mozalloc library into mozglue. r=njn 2015-03-10 10:01:52 +09:00
Carsten "Tomcat" Book
fea756a473 Merge mozilla-central to fx-team 2015-03-10 14:05:23 +01:00
Bhargav Chippada
33988b36fd 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
a198da353d Bug 1109183 - Fix imports of the marionette client and remove spurious entry from sys.path provided by mach. r=ahal 2015-03-03 17:37:19 -08:00
Mike Shal
46e92db314 Bug 1132123 - Port mulet to mozharness+mach; r=bhearsum 2015-02-25 17:25:59 -05:00
Makoto Kato
69b87a887e Bug 946974 - Warning spam when building ICU. r=glandium 2015-03-04 19:13:12 +09:00
Gregory Szorc
acfa1f0f55 Bug 1138283 - Fix bad documentation around wildcard patterns; r=glandium 2015-03-03 09:21:23 -08:00
Anish
9b39f2745a 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
9285676936 Merge m-c to fx-team a=merge CLOSED TREE 2015-03-02 13:07:53 -08:00
Ryan VanderMeulen
fefc1ff63b 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
a294ca4245 Backout Bug 1132771 for spidermonkey build bustage on CLOSED TREE 2015-03-02 17:13:05 +05:30
Gregory Szorc
714d70c1e7 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
75ef306b9a 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
0f6e399080 Bug 1132771 - Define some bug components; r=glandium
This patch defines bug components for code that I have historically
touched.
2015-02-26 11:43:45 -08:00
Gregory Szorc
965b77df33 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.
2015-02-27 13:56:26 -08:00
Gregory Szorc
a0ed178d7a 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.
2015-02-26 10:21:52 -08:00
Tooru Fujisawa
e52cf55788 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
fd862b30ce Bug 1132771 - Define some bug components; r=glandium
This patch defines bug components for code that I have historically
touched.
2015-02-26 11:43:45 -08:00
Gregory Szorc
49fd3da675 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.
2015-03-01 22:15:07 -08:00
Gregory Szorc
adf19d10b9 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.
2015-02-26 10:21:52 -08:00
Ted Mielczarek
ea4d0d14c9 bug 1135700 - Import the Python requests module. r=gps 2015-02-23 11:27:50 -05:00
Mike Hommey
9285bfb98f Bug 1137000 - Add support for SDK building to moz-automation.mk. r=mshal 2015-02-26 09:54:19 +09:00
David Burns
e7ad6e5298 Bug 1107336: update build and test targets to use new marionette driver; r=jgriffin 2015-02-23 14:45:50 +00:00
Nathan Froyd
fca6e496c4 Bug 1135654 - part 4 - remove libs:: rule for installing Valgrind suppressions in favor of INSTALL_TARGETS; r=mshal 2015-02-23 08:38:50 -05:00
Nathan Froyd
7024138a7b Bug 1135654 - part 3 - move installation of MOZ_CLANG_RT_ASAN_LIB_PATH to moz.build; r=mshal 2015-02-23 08:29:12 -05:00
Nathan Froyd
dc74b51352 Bug 1135654 - part 2 - move FINAL_TARGET's .gdbinit to FINAL_TARGET_FILES; r=mshal 2015-02-23 08:27:45 -05:00
Nathan Froyd
6ee110dbc6 Bug 1135654 - part 1 - move backtrace conversion scripts to FINAL_TARGET_FILES; r=mshal 2015-02-20 13:26:59 -05:00
Andrew McCreight
4112532be1 Bug 1073352, part 1 - Make the DOMWINDOW and DOCSHELL leak detector work with e10s. r=jmaher
This reworks how the Mochitest DOMWINDOW and DOCSHELL leak detector works. Rather than
collecting immediately in the top-level script, it sends a message to all processes
telling them to carry out collections. Each process prints out a message when it has
finished the collections. This message is used by the test harness to decide when windows
and docshells for that process should be have been destroyed.

In non-e10s mode, the shutdown leak detector is only run in the parent process, to work
around various issues with leak detection in the thumbnail process tests.
2015-02-24 13:00:54 -08:00
Mike Shal
bd078b1a11 Bug 1123990 - installer needs voucher.bin; r=glandium, r=cpearce, a=RyanVM 2015-02-19 10:04:16 -05:00
Kevin K.
e86af6d167 Bug 1057600 - Don't require MOZILLA_OFFICIAL to include build revisions in build. Add MOZ_INCLUDE_SOURCE_INFO variable as an alternate way to include build revisions without setting MOZILLA_OFFICIAL. r=glandium 2015-02-17 22:10:03 -05:00
Andrew McCreight
a65c121f9f Backout 1ffecdc47c6d for OSX and Windows docShell leaks. CLOSED TREE 2015-02-15 21:26:19 -08:00
Andrew McCreight
3b2344e915 Bug 1073352, part 1 - Make the DOMWINDOW and DOCSHELL leak detector work with e10s. r=jmaher
This reworks how the Mochitest DOMWINDOW and DOCSHELL leak detector works. Rather than
collecting immediately in the top-level script, it sends a message to all processes
telling them to carry out collections. Each process prints out a message when it has
finished the collections. This message is used by the test harness to decide when windows
and docshells for that process should be have been destroyed.
2015-02-14 11:43:45 -08:00
Ryan VanderMeulen
2f4dbdf783 Merge inbound to m-c. a=merge
CLOSED TREE
2015-02-12 17:53:41 -05:00
Phil Ringnalda
54bec5f223 Back out f543e83304e9 (bug 1123990) for nightly build bustage
CLOSED TREE
2015-02-11 22:12:49 -08:00
Randell Jesup
461b8bc71e Bug 1132193: Re-enable AEC debug logging in getUserMedia r=pkerr
Temporarily disabled by landing for upstream webrtc branch 40.  Also saves
as .wav format now
2015-02-12 07:46:59 -05:00
Ryan VanderMeulen
ab385272c1 Backed out 12 changesets (bug 1107336) for Marionette harness bustage on a CLOSED TREE.
Backed out changeset 5075f0063d70 (bug 1107336)
Backed out changeset 9ef91d4fcf3b (bug 1107336)
Backed out changeset 995911340bf7 (bug 1107336)
Backed out changeset 4817d3cd3810 (bug 1107336)
Backed out changeset dad798a5e595 (bug 1107336)
Backed out changeset 4f60c437140c (bug 1107336)
Backed out changeset f92a5c6256fa (bug 1107336)
Backed out changeset 399a436c6e5f (bug 1107336)
Backed out changeset 0d04801bb2f0 (bug 1107336)
Backed out changeset 60d9d4d20971 (bug 1107336)
Backed out changeset 9c4b171c23be (bug 1107336)
Backed out changeset a07bb95eb209 (bug 1107336)
2015-02-11 12:15:22 -05:00
David Burns
abdb285077 Bug 1107336: Update mach for newly created MarionetteDriver; r=jgriffin 2014-12-09 20:14:23 +00:00
Mike Shal
f60fc5e1a7 Bug 1123990 - installer needs voucher.bin; r=glandium, r=cpearce 2015-01-21 18:27:20 -05:00
Chris Manchester
4d1abba092 Bug 1114474 - Unbreak some mach consumers of marionette.r=ahal 2015-02-10 13:55:33 -08:00
Andrew McCreight
6a5dab0c66 Bug 1129226 - Update LSan suppression for fixPlainObjectGroup. rs=ryanvm
CLOSED TREE
2015-02-06 10:02:44 -08:00
Carsten "Tomcat" Book
3b10c226b9 Backed out changeset 2742651b0cd9 (bug 1123990) for suspicion that this broke the nightly builds a=sheriffduty 2015-02-03 13:49:17 +01:00
Andrew McCreight
6fe7b137ff Bug 1125930 - Rename LSan suppression. r=bhackett 2015-02-02 12:08:42 -08:00
Mike Shal
53696d3159 Bug 1123990 - installer needs voucher.bin; r=glandium, r=cpearce 2015-01-21 18:27:20 -05:00
Mike Hommey
50e6916b40 Bug 1126593 - Add a global fallible instance, so that using fallible works directly, everywhere. r=njn 2015-02-02 09:56:13 +09:00
Brian Smith
c042df95a0 Bug 1119072, Parts 1, 2, 4, 9, 17: Update build system to support MSVC 2015, r=glandium 2015-01-29 17:36:39 -08:00
Randell Jesup
1f481c70e6 Bug 1109248: Temporarily disable webrtc AEC debug dump until some rework is done rs=jesup 2015-01-29 18:33:36 -05:00
Randell Jesup
971df42891 Bug 1109248: gyp changes to adapt to webrtc.org 40 update r=ted 2015-01-29 18:33:36 -05:00
James Lal
c16afe0c9d Bug 1068653 - Part 2 add taskcluster trygraph commands r=wcosta, garndt, mdas 2014-11-26 10:11:28 -08:00
Ehsan Akhgari
c8068bb9d7 Bug 1114999 - Part 1: Create an analysis for disallowing calling AddRef and Release on the return value of functions; r=jrmuizel 2015-01-22 17:54:54 -05:00
Carsten "Tomcat" Book
c6c8ae3dfe Backed out changeset e6d21c2fa111 (bug 1107336) for breaking Web Platform Reftests on a CLOSED TREE 2015-01-21 16:14:03 +01:00