Commit Graph

3163 Commits

Author SHA1 Message Date
Gregory Szorc
3dbb172759 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
7e09aaf6ad Bug 1180275 - Part 1: Add a release_build mozinfo variable; r=ted 2015-07-16 14:47:52 -04:00
Andrew Halberstadt
8cffe8fa6b 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
48250e1441 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
0f501040df Bug 1180275 - Part 1: Add a release mozinfo variable; r=ted 2015-07-15 19:59:59 -04:00
Sebastian Kaspari
7fee8fcb62 Bug 1186532 - Add RecyclerView library to Robocop builds. r=jonalmeida 2015-07-23 13:27:28 +02:00
Michael Layzell
b12cf73752 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
af3069af19 Bug 1178850 - Generate naive method bindings in annotation processor; r=snorp 2015-07-10 23:41:35 -04:00
Jim Chen
5afbfdc70f Bug 1178850 - Make mozilla::jni::Param more intuitive to use; r=snorp 2015-07-10 23:41:35 -04:00
Mike Hommey
75394c4e26 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
5c2976c995 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
7ae2bb51b5 Bug 1178850 - Generate naive method bindings in annotation processor; r=snorp 2015-07-10 16:52:52 -04:00
Jim Chen
618b97e23a Bug 1178850 - Make mozilla::jni::Param more intuitive to use; r=snorp 2015-07-10 16:52:51 -04:00
Geoff Brown
9e1b74c17f Bug 1179981 - A new test harness for robocop; r=jmaher 2015-07-09 12:30:01 -06:00
Rail Aliiev
22ebba69a2 Bug 1182170 - Kill tooltool.py from the tree. r=dustin DONTBUILD 2015-07-09 14:00:02 -04:00
Julien Pagès
6a595c1c90 Bug 1091274 - Move leak log functions out of automationutils and into mozbase. r=jgriffin 2015-07-03 07:04:22 +02:00
Ehsan Akhgari
68bc2d67de 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
2eec7a5758 Bug 1180506 - Fix building the clang-plugin with ToT clang; r=mystor 2015-07-06 14:48:35 -04:00
Andrew Comminos
55b8a964cc Bug 1180745 - Fix logging test screenshotting errors. r=jgriffin 2015-07-06 08:48:00 -04:00
Sebastian Kaspari
e4df431477 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
d4f0266bdc Bug 1091284 - Remove systemMemory, environment from automationutils. r=jgriffin 2015-07-01 22:00:07 +02:00
Ryan VanderMeulen
4df39ead94 Merge m-c to fx-team. a=merge 2015-07-01 16:40:01 -04:00
Mike Shal
b873e37540 Bug 1175895 - separate tier start message for mach; r=ted 2015-06-17 16:59:20 -04:00
Mike Shal
a4f74e707c Bug 1175895 - aid greppability of MOZ_AUTOMATION_*; r=ted 2015-06-17 16:58:26 -04:00
Gijs Kruitbosch
0eeb2dc792 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
af20e84dae Bug 917999 - Part 3.1 - Prepare taskcluster for a split test package.;r=jlal 2015-06-29 11:16:51 -07:00
Chris Manchester
a2d5276e41 Bug 917999 - Part 3 - Split tests into harness specific zips.;r=ted 2015-06-29 11:16:50 -07:00
Ryan VanderMeulen
b0882698a9 Backed out changeset e2f1bf3e3dc4 (bug 1171610) for bustage.
CLOSED TREE
2015-06-30 12:35:42 -04:00
James Willcox
e73c0d098a 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
bf83d83ddb Bug 1178154 - move ShutdownLeaks and LSANLeaks from automationutils to mochitest. r=jgriffin 2015-06-29 20:09:51 +02:00
Ryan VanderMeulen
1d327165d9 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
d118520a54 Bug 917999 - Part 3.1 - Prepare taskcluster for a split test package.;r=jlal 2015-06-29 11:16:51 -07:00
Chris Manchester
26a99e1e5d Bug 917999 - Part 3 - Split tests into harness specific zips.;r=ted 2015-06-29 11:16:50 -07:00
Julien Pagès
adabf84aee Bug 1177780 - remove useless stuff in automation.py. r=jgriffin 2015-06-26 22:45:18 +02:00
Birunthan Mohanathas
fb23b6fafd Backed out changeset 58a2788fad8e (bug 1175359) 2015-06-26 12:49:12 -07:00
Ralph Giles
b8bf69af1d 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
4f2fb895aa Bug 1176642 - Use absolute_import in mach_commands.py files; r=glandium
This removes ambiguity as to which modules are being imported, making
import slightly faster as Python doesn't need to test so many
directories for file presence.

All files should already be using absolute imports because mach command
modules aren't imported to the package they belong to: they instead
belong to the "mach" package. So relative imports shouldn't have been
used.
2015-06-21 17:39:09 -07:00
Gregory Szorc
88efe94ba4 Bug 1176642 - Remove unused imports; r=glandium 2015-06-25 12:16:38 -07:00
Carsten "Tomcat" Book
135b0588cd merge mozilla-inbound to mozilla-central a=merge 2015-06-22 14:03:17 +02:00
Geoff Brown
2d1b56f32d Bug 1175540 - Reduce timeouts for many adb devicemanager calls; r=mcote 2015-06-21 13:58:34 -06:00
Jonathan Almeida
fabbc0c392 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
725ca1c6fb Merge inbound to m-c. a=merge
CLOSED TREE
2015-06-18 16:03:38 -04:00
Carsten "Tomcat" Book
1abb9a9ada Merge mozilla-central to mozilla-inbound 2015-06-18 15:34:31 +02:00
Sebastian Kaspari
3576e0eee7 Bug 1171288 - Add ability to build with RecyclerView support library. r=nalexander 2015-06-16 19:52:44 +02:00
Nick Alexander
ce6f8441c5 No bug - Make robocop.apk debuggable. r=me 2015-06-17 09:54:47 -07:00
Mike Hommey
4433139353 Bug 1175323 - Bump stdc++compat minimum supported libstdc++ version to 4.3. r=nfroyd 2015-06-18 17:10:39 +09:00
Ehsan Akhgari
ed25606ef3 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
b81b757b1e Bug 1171820 - Convert test_bug483440.html mochitest to an xpcshell test. r=keeler 2015-06-13 00:51:00 +02:00
Ted Mielczarek
ef3cd4dce9 bug 1163828 - build system changes to support building for iOS. r=glandium 2015-06-10 11:10:40 -04:00
Carsten "Tomcat" Book
8bd8e55f0c Merge mozilla-central to fx-team 2015-06-10 15:25:21 +02:00
Mike Hommey
555150fd1b 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
bd96d46ee4 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
de4a71ed75 Merge m-c to fx-team, a=merge 2015-06-09 19:30:16 -07:00
Michael LoPiccolo
00e081c592 Bug 1168808 - Remove superflous call to getNextView(). r=mcomella 2015-05-29 13:24:05 -05:00
Ehsan Akhgari
f9346bc83c 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
e90e955195 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
3431dc395b 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
d2ccbf448a Merge fx-team to m-c. a=merge 2015-06-04 09:24:15 -04:00
Ryan VanderMeulen
fc4ff6cdab Merge m-c to fx-team. a=merge 2015-06-03 16:06:53 -04:00
Nick Alexander
ebe9712b0b 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
31e6ab664c Bug 1165460 - Prefer GCC 4.9 for Fennec builds r=glandium 2015-06-03 10:26:17 -05:00
Eric Rahm
a99c52f192 Bug 1165515 - Part 15: Reduce log level of WebRTC during testing. r=jesup 2015-06-03 15:26:07 -07:00
Geoff Brown
646cf49d72 Bug 1169503 - Allow sutagent to build on Android M; r=snorp 2015-05-29 14:42:59 -06:00
Andrew Halberstadt
d39a778dac Bug 1169714 - Add requests to mach bootstrap SEARCH_PATH, r=jgriffin 2015-05-29 14:01:25 -04:00
Ryan VanderMeulen
90fcd7d1ec Merge inbound to m-c. a=merge 2015-05-29 09:32:46 -04:00
David Keeler
91a9bcaf77 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
bd88f251ce Bug 1168805 - "Useless call ".toLowerCase()" in SUTAgentAndroid.java". r=jmaher 2015-05-27 05:29:00 +02:00
Juan Gomez
d7a32ab071 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
9c4f84f7ac 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
d03760e105 Bug 991983 - Use objdir-relative SOURCES instead of GENERATED_SOURCES. r=gps 2015-05-28 07:34:16 +09:00
Jonathan Griffin
943a9030d5 Bug 1163833 - Add integration with browsermob-proxy, r=dburns 2015-05-27 10:00:09 -07:00
Mike Hommey
49e4fef21e 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
51cbbd11a5 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
6de678a759 Bug 1149618 - Remove SpecialPowers from Marionette, r=dburns 2015-05-18 16:36:15 -07:00
Jonathan Griffin
a68f9f6666 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
0e5292a487 Bug 1149618 - Remove SpecialPowers from Marionette, r=dburns 2015-05-18 16:36:15 -07:00
Andrew Halberstadt
7938903b88 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
1ace684ee5 Bug 1155349 - set packageFilename in mach properties; r=glandium 2015-05-13 14:26:53 -04:00
Chris Manchester
5170d3f465 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
123f153e5a 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
6a97b88640 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
80448c8da1 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
ec07b959e5 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
c4edef7b2b Bug 1162779 - Move NO_EXPAND_LIBS to moz.build. r=mshal 2015-05-12 07:26:42 +09:00
Birunthan Mohanathas
24ee07fb04 Bug 1163029 - Use NamedDecl::getName instead of expensive NamedDecl::getNameAsString. r=ehsan 2015-05-08 09:29:11 -07:00
Nikhil Marathe
d00e1f0428 Bug 1080109 - Clear ServiceWorkers when clearing history or forgetting about site. r=baku,ehsan 2015-03-05 17:37:49 -08:00
Mike Hommey
f27bf48865 Bug 1128037 - Minimalist support for wildcards in jar manifests. r=gps 2015-05-05 09:25:24 +09:00
Geoff Brown
ed56333d56 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
f0175e5217 Bug 938659 - Part 2: build system changes. r=mfinkle 2015-05-01 17:33:03 -07:00
Geoff Brown
866e26fd0c Bug 1160393 - Enable webrtc logging for android; r=bwc 2015-05-01 16:34:36 -06:00
Nick Alexander
7a05994247 Bug 1160030 - Use TEST_HARNESS_FILES to install Robocop ini files. r=froydnj 2015-04-30 10:13:13 -07:00
Nick Alexander
81757a73f4 Bug 1160030 - Use TEST_HARNESS_FILES to install Robocop test files. r=froydnj 2015-04-29 21:40:21 -07:00
Nick Alexander
fd76318d7c Bug 1159390 - Set sharedUserId in robocop.apk. r=gbrown 2015-04-28 11:29:18 -07:00
Ehsan Akhgari
7b1c0384ea Bug 892973 - Add support for the YouCompleteMe vim plugin; r=gps 2015-04-27 13:08:43 -04:00
Qiang Lu
369ac82eca 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
6fdfa45672 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
f467d23887 bug 1085557 - Add Socorro symbol upload token file to linux mozconfigs. r=coop 2015-03-30 07:35:28 -04:00
Makoto Kato
f0b4cd36ed Bug 866301 - Part 3. Use system ICU for gonk-JB or later. r=glandium 2015-04-24 11:22:14 +09:00
Kartikaya Gupta
8ec41da08a Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong 2015-04-23 15:10:30 -04:00
Andrew McCreight
f1a841402e 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
d864243fa2 Bug 1156422 - Improve robustness of logcat collection in checkForCrashes; r=bc 2015-04-21 16:44:42 -06:00
Ehsan Akhgari
d278570d19 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
01d294be4b Backed out changeset 02e6a50741a9 (bug 1153348) to hopefully fix the static bustage CLOSED TREE 2015-04-21 15:47:40 -07:00
Wes Kocher
bb85f7a5bc Backed out changeset 8b99d282cd87 (bug 1156084) for static bustage CLOSED TREE 2015-04-21 14:23:56 -07:00
Ehsan Akhgari
74f43d26e8 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
69a1633117 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
b033accd88 no bug - change mdn link in comment to be https. r=comment-only DONTBUILD 2015-04-21 16:20:56 -04:00
Makoto Kato
dbf7c56ffd Bug 866301 - Part 2. Use in-tree ICU source code for gonk. r=glandium 2015-04-21 17:31:38 +09:00
Nathan Froyd
1d766b1f34 Bug 870891 - move DIST_FILES to moz.build; r=mshal 2015-04-15 16:04:49 -04:00
Mike Hommey
e2db6cada4 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
8f3544df50 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
897e09b883 Bug 1153304 follow-up: Fix the build bustage 2015-04-14 21:15:53 -04:00
Ehsan Akhgari
ee87bda2a2 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
eb8ed57205 Bug 1154187 - Improve the build-gcc.sh script to build GCC snapshots. r=tbsaunde 2015-04-15 09:21:23 +09:00
Wes Kocher
9b5bcb1185 Backed out changeset 5f48890c23c1 (bug 1153304) 2015-04-14 16:32:42 -07:00
Ehsan Akhgari
5c8f4eb0c9 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
ba761dc695 Bug 1147031 - Write mach command for luciddream. r=jgriffin 2015-04-09 11:46:00 -04:00
Makoto Kato
d7ce2f788a Bug 1128365 - MOZ_TOOLS is unnecessary. r=glandium 2015-04-09 19:24:02 +09:00
Ryan VanderMeulen
634a5a9321 Backed out changeset a209d4d37f8f (bug 1147031) for Luciddream bustage. 2015-04-07 11:48:46 -04:00
Alexandre Poirot
3cd4d298bd Bug 1147031 - Write mach command for luciddream. r=jgriffin 2015-04-02 10:55:00 -04:00
Jacek Caban
3d912c4d3d Bug 1147839 - Fixed building installer on mingw. r=glandium 2015-04-01 12:50:44 +02:00
ijdt.editor@gmail.com
8b2892364d Bug 1139429 - Fix ICU configuration for SunOS/OpenSolaris. r=glandium 2015-03-31 13:28:00 +02:00
Ben Turner
6424c1255f Revert unintentional change to crash reporting infra in changeset ce2692d64bcf DONTBUILD 2015-03-31 15:51:24 -07:00
Ben Turner
4e377455b4 Bug 1071360 - Fix async storage connection closing when open fails, r=asuth. 2015-03-27 22:45:28 -07:00
Mike Hommey
dc0e825e45 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
b35979c0d3 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
dc1d510282 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
e315209812 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
18ea8db274 Backed out changeset e3d23172f0fe (bug 1085557) for nightly symbol upload failures. a=me 2015-03-25 13:42:46 -04:00
Ted Mielczarek
2bede85789 bug 1085557 - Add Socorro symbol upload token file to mozconfigs. r=coop 2015-02-27 08:58:57 -05:00
L. David Baron
7203656bb1 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
d8cc8345c2 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
a3e314eada 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
1f8998c1b5 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
f349606940 Bug 1137000 - Enable SDK building on nightlies; r=glandium 2015-03-17 15:29:07 -04:00
Bob Owen
5e8ac8a55d 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
d2f862fa9c 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
240408f708 Backed out changeset e3a4467dc9df (bug 1142352) for causing arm build bustage 2015-03-13 09:43:25 +01:00
Carsten "Tomcat" Book
ebde70eaa6 Backed out changeset 86a5fea1cd01 (bug 1142420) 2015-03-13 09:42:30 +01:00
L. David Baron
6a329cb271 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
ca883cf28c 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
f87c38fe16 Merge m-c to inbound a=merge CLOSED TREE 2015-03-10 16:11:23 -07:00
Mike Shal
835eca6757 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
e4b247f703 Bug 868814 - Fold mozalloc library into mozglue. r=njn 2015-03-10 10:01:52 +09:00
Carsten "Tomcat" Book
4cf0656fa3 Merge mozilla-central to fx-team 2015-03-10 14:05:23 +01:00
Bhargav Chippada
bd71b83701 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
2633d459e9 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
9b131867af Bug 1132123 - Port mulet to mozharness+mach; r=bhearsum 2015-02-25 17:25:59 -05:00
Makoto Kato
2e0bb6e221 Bug 946974 - Warning spam when building ICU. r=glandium 2015-03-04 19:13:12 +09:00
Gregory Szorc
98b3807628 Bug 1138283 - Fix bad documentation around wildcard patterns; r=glandium 2015-03-03 09:21:23 -08:00
Anish
b9d3be97ea 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
50789ffa1a Merge m-c to fx-team a=merge CLOSED TREE 2015-03-02 13:07:53 -08:00
Ryan VanderMeulen
400277fd76 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
efd4454ae7 Backout Bug 1132771 for spidermonkey build bustage on CLOSED TREE 2015-03-02 17:13:05 +05:30
Gregory Szorc
886d400168 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
a1b5250803 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
6ad26eb327 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
1e851af0da 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
f818edcfa2 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
04e043ce47 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
85dc822c42 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
0f1b6ef394 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
84c01c942b 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
ef5b90cdda bug 1135700 - Import the Python requests module. r=gps 2015-02-23 11:27:50 -05:00
Mike Hommey
1fd4acad03 Bug 1137000 - Add support for SDK building to moz-automation.mk. r=mshal 2015-02-26 09:54:19 +09:00
David Burns
e328f77205 Bug 1107336: update build and test targets to use new marionette driver; r=jgriffin 2015-02-23 14:45:50 +00:00
Nathan Froyd
c2ae68c069 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
76ae0b504a 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
ee5691a049 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
02bc2657b6 Bug 1135654 - part 1 - move backtrace conversion scripts to FINAL_TARGET_FILES; r=mshal 2015-02-20 13:26:59 -05:00
Andrew McCreight
70d5a0bb34 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
f760a2e848 Bug 1123990 - installer needs voucher.bin; r=glandium, r=cpearce, a=RyanVM 2015-02-19 10:04:16 -05:00
Kevin K.
ceff8a147e 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
32ed7a2bf6 Backout 1ffecdc47c6d for OSX and Windows docShell leaks. CLOSED TREE 2015-02-15 21:26:19 -08:00
Andrew McCreight
eb177fe773 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
0df0305fae Merge inbound to m-c. a=merge
CLOSED TREE
2015-02-12 17:53:41 -05:00
Phil Ringnalda
eda9b0c75f Back out f543e83304e9 (bug 1123990) for nightly build bustage
CLOSED TREE
2015-02-11 22:12:49 -08:00
Randell Jesup
fafce09a24 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
a502827c68 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)

--HG--
rename : testing/marionette/driver/marionette_driver/application_cache.py => testing/marionette/client/marionette/application_cache.py
rename : testing/marionette/driver/marionette_driver/by.py => testing/marionette/client/marionette/by.py
rename : testing/marionette/driver/marionette_driver/date_time_value.py => testing/marionette/client/marionette/date_time_value.py
rename : testing/marionette/driver/marionette_driver/decorators.py => testing/marionette/client/marionette/decorators.py
rename : testing/marionette/driver/marionette_driver/errors.py => testing/marionette/client/marionette/errors.py
rename : testing/marionette/driver/marionette_driver/expected.py => testing/marionette/client/marionette/expected.py
rename : testing/marionette/driver/marionette_driver/geckoinstance.py => testing/marionette/client/marionette/geckoinstance.py
rename : testing/marionette/driver/marionette_driver/gestures.py => testing/marionette/client/marionette/gestures.py
rename : testing/marionette/driver/marionette_driver/keys.py => testing/marionette/client/marionette/keys.py
rename : testing/marionette/driver/marionette_driver/marionette.py => testing/marionette/client/marionette/marionette.py
rename : testing/marionette/driver/marionette_driver/selection.py => testing/marionette/client/marionette/selection.py
rename : testing/marionette/driver/marionette_driver/wait.py => testing/marionette/client/marionette/wait.py
2015-02-11 12:15:22 -05:00
David Burns
a2fdd3122f Bug 1107336: Update mach for newly created MarionetteDriver; r=jgriffin
--HG--
extra : rebase_source : 2cbbe28e94e54e2b13bcf8c9cd4c9300018d18e4
extra : source : e6d21c2fa111a6cf906cdc27bf0a38d5c78f285f
2014-12-09 20:14:23 +00:00
Mike Shal
a85e0b393f Bug 1123990 - installer needs voucher.bin; r=glandium, r=cpearce 2015-01-21 18:27:20 -05:00
Chris Manchester
d6b9291e2f Bug 1114474 - Unbreak some mach consumers of marionette.r=ahal 2015-02-10 13:55:33 -08:00
Andrew McCreight
e49abf82f8 Bug 1129226 - Update LSan suppression for fixPlainObjectGroup. rs=ryanvm
CLOSED TREE
2015-02-06 10:02:44 -08:00
Carsten "Tomcat" Book
29a43ff3f6 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
2a844c3f32 Bug 1125930 - Rename LSan suppression. r=bhackett 2015-02-02 12:08:42 -08:00
Mike Shal
e8673eb664 Bug 1123990 - installer needs voucher.bin; r=glandium, r=cpearce 2015-01-21 18:27:20 -05:00
Mike Hommey
824818ee98 Bug 1126593 - Add a global fallible instance, so that using fallible works directly, everywhere. r=njn
--HG--
rename : memory/mozalloc/fallible.h => memory/fallible/fallible.h
2015-02-02 09:56:13 +09:00
Brian Smith
4c32f66183 Bug 1119072, Parts 1, 2, 4, 9, 17: Update build system to support MSVC 2015, r=glandium
--HG--
extra : rebase_source : fc8ac588acaa4fc4c7d9cd2216671e43db25ede3
2015-01-29 17:36:39 -08:00
Randell Jesup
9a1b12fa1d 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
855e7f4116 Bug 1109248: gyp changes to adapt to webrtc.org 40 update r=ted 2015-01-29 18:33:36 -05:00
James Lal
5a27e03e0c Bug 1068653 - Part 2 add taskcluster trygraph commands r=wcosta, garndt, mdas
--HG--
extra : rebase_source : 4d2c484bc780bd20c13b9bca129bd173ac66624a
extra : source : 630a93355767c7813dc7b761309f6728a79c2c80
2014-11-26 10:11:28 -08:00
Ehsan Akhgari
b0661f5ce2 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
865fb769cb Backed out changeset e6d21c2fa111 (bug 1107336) for breaking Web Platform Reftests on a CLOSED TREE 2015-01-21 16:14:03 +01:00
David Burns
1762802157 Bug 1107336: Update mach for newly created MarionetteDriver; r=jgriffin
--HG--
extra : rebase_source : 1ca3a7047dbaec3f29ec28e7914db1c9760a6f11
2014-12-09 20:14:23 +00:00
Carsten "Tomcat" Book
547f782a47 merge mozilla-inbound to mozilla-central a=merge 2015-01-21 14:21:49 +01:00
Akos Kiss
7795aa71ce Bug 1122111 - Change pattern in autoconf/android.m4 to recognize arm-unknown-linux-androideabi target string returned by recent config.sub. r=glandium 2015-01-16 02:08:00 -05:00
Ehsan Akhgari
83072ce6aa Bug 1122931 - Don't overwrite the AS variable in toolchain.m4; r=glandium
It looks like overwriting AS here is not intentional.  Before this patch,
it is impossible to override AS through mozconfig for anything that runs
past this stage in configure.
2015-01-20 09:42:06 -05:00
Ehsan Akhgari
d89604a3ea Bug 1123459 - Add an informational note to the diagnostic explaining to use the explicit keyword; r=jrmuizel 2015-01-19 16:39:29 -05:00
Ehsan Akhgari
73eae9b894 Bug 1123429: Allow implicit conversions on abstract C++ classes; r=jrmuizel
Such classes cannot be constructed at all, so worrying about how their
constructors can be invoked is pointless.
2015-01-19 16:38:38 -05:00
Ehsan Akhgari
c2bf626dfe Bug 927430 - Add a static analysis to detect is-NaN testing using |x == x| or |x != x|; r=jrmuizel
--HG--
extra : rebase_source : d80c866ecc7e5f415c83db757e82bd4bac299b67
2014-12-21 12:33:25 -05:00