Commit Graph

6222 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
b33a18dbeb Backed out changeset 1779def97af3 (bug 1367040)
--HG--
rename : testing/web-platform/tests/tools/wptrunner/wptrunner/config.json => testing/web-platform/harness/wptrunner/config.json
rename : testing/web-platform/tests/tools/wptrunner/wptrunner/testharness_runner.html => testing/web-platform/harness/wptrunner/testharness_runner.html
2017-05-31 10:47:09 +02:00
James Graham
6ece8a6da5 Bug 1367040 - Switch to using wptrunner in the tests directory, r=maja_zf
MozReview-Commit-ID: 4gyR245eRou


--HG--
rename : testing/web-platform/harness/wptrunner/config.json => testing/web-platform/tests/tools/wptrunner/wptrunner/config.json
rename : testing/web-platform/harness/wptrunner/testharness_runner.html => testing/web-platform/tests/tools/wptrunner/wptrunner/testharness_runner.html
2017-05-31 09:09:37 +01:00
rforbes
3e2112c609 Bug 1359328 - Updates for fuzzing taskcluster build r=aobreja,decoder
MozReview-Commit-ID: 1RDQYnGTE2s

--HG--
extra : rebase_source : 77d2bdd37931d2c324cd07f4d6c7b996c1845a1c
2017-05-25 15:36:21 -07:00
Andreas Tolfsen
e721ebada1 Bug 1368035 - Enable geckodriver building in automation; r=ted
geckodriver compilation was disabled by default in
https://bugzilla.mozilla.org/show_bug.cgi?id=1368084 due to issues
building it locally on Windows.

This re-enables building of geckodriver in automation, but gives
developers an option, --enable-geckodriver, to opt-in to building
it locally.

geckodriver is implied on supported platforms when MOZ_AUTOMATION is
set, but we also provide the option for developers to use.  This means
geckodriver will be built in CI by default, but not in developers'
local environments.

MozReview-Commit-ID: ACkO97ekVsi

--HG--
extra : rebase_source : 067e25911f72d80a54e662f24cc71dedde53a4e1
2017-05-27 18:51:40 +01:00
Nick Alexander
518efc8674 Bug 1365089 - Pre: Support setting default keyfile locations in moz.configure. r=nalexander
MozReview-Commit-ID: 207kgPU2TPM

--HG--
extra : rebase_source : 92d30da1d4956b159335536a46a26610a40e632b
2017-05-19 11:30:26 -07:00
Kartikaya Gupta
4d0ffe047a Bug 1342503 - Build webrender by default on OS X buildbot builds. r=froydnj
With the fix for bug 1365993, building rust code with cargo as part of the
Firefox build on OS X 10.7 builders no longer fails, so we don't need to
disable webrender there any more.

MozReview-Commit-ID: 4kulJNZjsfG

--HG--
extra : rebase_source : 3d4b4fee86490c5d9bbe41d11414f2b4d0323132
2017-05-27 15:28:38 -04:00
Sebastian Hengst
7586e917b7 Backed out changeset 026b0b69ca23 (bug 1364068) 2017-05-26 10:43:12 +02:00
Alessio Placitelli
8de8627df1 Bug 1364068 - Properly cleanup libcurl in the pingsender. r=gsvelto,jseward
This additionally changes exit() calls with |return VALUE| so
that we are sure to call the destructors and valgrind doesn't complain.

Moreover, this disables the 'new-profile' ping when Firefox is ran
on valgrind.

MozReview-Commit-ID: BlGE9w6yGCL

--HG--
extra : rebase_source : d21b7404ac8dba6f3664f0f8d375429a0dec0ee4
2017-05-24 19:27:33 +02:00
Andreas Tolfsen
e3554fa5ae Bug 1340637 - Skip geckodriver in hazard builds; r=ted
One of the Rust crates that is built as part of geckodriver's dependency
chain uses a build script to compile some C code.

Because mozbuild does not yet pass the compiler wrapper down to where
the gcc crate can find it, we need to avoid building on geckodriver when
this is the case.

When compiling the browser for the rooting hazard analysis build (labelled
H on Treeherder), the MOZ_HAZARD environment variable will be set and
available to moz.build descriptions.

MozReview-Commit-ID: GprFKtvXvOE

--HG--
extra : rebase_source : f45aa5d8c86673c8287371efcfa703755c2b2073
2017-05-23 14:59:58 +01:00
Mike Hommey
dd4c5336f3 Bug 1367267 - Pass -fPIC when compiling the -pie configure test. r=gps
--HG--
extra : rebase_source : 1f9f4638c864f5efb2d43b3a4440fceda9dd6f1d
2017-05-24 09:24:09 +09:00
Shing Lyu
65cb773340 Bug 1359288 - Enable Android reftest to resume from crashes. r=jmaher
MozReview-Commit-ID: EqTOdEwfTWi

--HG--
extra : rebase_source : 36837b43159f484f911cf5183d81c3440d59736a
2017-05-10 10:38:48 +08:00
Alexandre Poirot
51fbee878f Bug 1363533 - Move nsIJSInspector from devtools/server/ to devtools/platform/. r=gps,jryans
MozReview-Commit-ID: 3ry7pRiqNWv

--HG--
rename : devtools/server/moz.build => devtools/platform/moz.build
rename : devtools/server/nsIJSInspector.idl => devtools/platform/nsIJSInspector.idl
rename : devtools/server/nsJSInspector.cpp => devtools/platform/nsJSInspector.cpp
rename : devtools/server/nsJSInspector.h => devtools/platform/nsJSInspector.h
rename : devtools/server/tests/unit/test_nsjsinspector.js => devtools/platform/tests/unit/test_nsjsinspector.js
extra : rebase_source : 1df23f9247d9202fc7022ae73f8bf4bcf262410b
2017-05-15 18:53:19 +02:00
Ryan VanderMeulen
acb2f518fc Merge inbound to m-c. a=merge 2017-05-19 11:46:56 -04:00
Mike Hommey
282a2bc3b8 Bug 1363811 - Replace is_nightly with milestone.is_nightly. r=cmanchester+432261
And remove is_nightly.
2017-05-19 07:05:05 +09:00
Mike Hommey
f10295dbae Bug 1363811 - Replace all uses of delayed_getattr(a, 'b') with a.b. r=cmanchester+432261
And remove delayed_getattr.
2017-05-19 07:03:40 +09:00
Wes Kocher
817c0ba31c Merge m-c to inbound, a=merge
MozReview-Commit-ID: ACHMOIFOQt2
2017-05-17 15:06:00 -07:00
Wes Kocher
0a5ec26ac6 Merge inbound to central, a=merge
UPGRADE_NSS_RELEASE

MozReview-Commit-ID: 9BuuGYyJ3RJ

--HG--
extra : amend_source : 57de84460e0ace13892ff1623451b9b9be8eaeeb
2017-05-17 14:48:30 -07:00
Carsten "Tomcat" Book
845d4f803d Merge mozilla-central to mozilla-inbound 2017-05-17 12:27:56 +02:00
Ted Mielczarek
adc89dfdd1 bug 1363774 - error if generated old-configure is empty due to broken autoconf. r=glandium
MozReview-Commit-ID: FyS67dORiuX

--HG--
extra : rebase_source : 9d9cdf93f0a0f9d1c8cce1148b3248791cb481c9
2017-05-10 18:00:11 -04:00
Mike Hommey
782725e19a Bug 1363992 - Remove jemalloc 4. r=njn
--HG--
extra : rebase_source : 9794320e96279cbb8b7b66db6720c959eaa6a95b
2017-05-11 13:23:07 +09:00
Mike Hommey
02a06f7958 Bug 1363992 - Remove support for making jemalloc4 the default. r=njn
--HG--
extra : rebase_source : 77e1c13aa329637d0ec875439d572ee06e6919fa
2017-05-11 13:16:00 +09:00
Mike Hommey
1a9d4c6f33 Bug 1363992 - Remove support for system jemalloc. r=njn
--HG--
extra : rebase_source : 9141402b6f9e84c67afc14303633d328eb5b652c
2017-05-11 13:03:20 +09:00
Nick Alexander
14dd745141 Bug 1365060 - Move MOZ_{NATIVE_DEVICES, INSTALL_TRACKING} to moz.configure. r=chmanchester
This intentionally allows to set MOZ_INSTALL_TRACKING without
reference to the milestone being release or beta.  That is, we
separate the default value (which depends on release or beta) from the
value specified, making life easier for developers.

MozReview-Commit-ID: 3vPF7KO7fEX

--HG--
extra : rebase_source : 8d5764104b5322a32e4a048bfd3222f62fed73bb
2017-05-15 14:37:54 -07:00
Steve Fink
7e29e4b949 Bug 1339989 - Add --no-build option to build-gcc.sh, r=glandium
--HG--
extra : rebase_source : c642a75ceef62cdcd973ab121fd177de770d1b24
2017-04-17 14:51:17 -07:00
Jan Beich
e3a9e4a0f1 Bug 1365633 - Add rustc target for Android x86_64. r=rillian
MozReview-Commit-ID: 8lbkRTusiMg

--HG--
extra : rebase_source : bc223d5fc85793a83b09286b7b3d4620f6a8d07b
2017-05-17 15:13:34 +00:00
Mike Hommey
ecbc3ab66c Bug 1365182 - When both clang and gcc are installed via tooltool, pick libstdc++ from gcc. r=froydnj
--HG--
extra : rebase_source : 7f5eec8e85e34c5249be11daabc466963476f279
2017-05-16 15:09:52 +09:00
Sebastian Hengst
484d2b7f51 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: Jduo3F6TzgF
2017-05-14 18:04:29 +02:00
Mike Hommey
6ddaf5ad21 Bug 1316956 - Add a when argument to check_prog. r=chmanchester
--HG--
extra : rebase_source : ce5167bbceb31e554857cba940e72181a5fa361b
2017-05-13 07:12:56 +09:00
Petr Sumbera
40f1ee9e00 Bug 1364036 - Add rustc targets for Solaris. r=ted 2017-05-11 04:40:26 -07:00
Sebastian Hengst
3105dd09f8 Backed out changeset 66513d27bc96 (bug 1359288) for throwing exceptions during Android robocop tests. r=backout 2017-05-12 09:16:24 +02:00
Shing Lyu
10b3bba051 Bug 1359288 - Enable Android reftest to resume from crashes. r=jmaher
MozReview-Commit-ID: EqTOdEwfTWi

--HG--
extra : rebase_source : ff8ceb97c0362f68eea85c1542bab85dc2e17024
2017-05-10 10:38:48 +08:00
Chris Manchester
756229ecd9 Bug 1147271 - Add ssh option to prevent hanging on password prompt in upload.py r=mshal
MozReview-Commit-ID: Lmg5SAtLuE3

--HG--
extra : rebase_source : 80f753be34759a366a6cf10847a546f9484d40ca
2017-05-11 09:40:58 -07:00
Nick Alexander
102c9bafb0 Bug 1196367 - Remove AndroidEclipse build backend. r=gps
MozReview-Commit-ID: CdrpMaggWsJ

--HG--
extra : rebase_source : f11a0f7983e9cf3131ab3189a3d2816cb86cab2c
2017-05-02 21:39:03 -07:00
Wes Kocher
02015c2300 Merge m-c to autoland a=merge CLOSED TREE
MozReview-Commit-ID: 5T8pxvbfKXv
2017-05-10 17:29:04 -07:00
Wes Kocher
1b5ad2c128 Merge inbound to central, a=merge
MozReview-Commit-ID: DfRZi0gKjit
2017-05-10 16:48:03 -07:00
Makoto Kato
b6736b3728 Bug 1362872 - Use mbcs encoding for vswhere output. r=gps
We add vswhere.exe to support VS2017.  But the description output of this command is localized, so it causes UnicodeDecodeError.

So we should use 'mbcs' encoding for this output on Windows platform. And for minor languages, we should also use replace to avoid decode error.

test_toolchain_configure.py calls vc_compiler_path without correct host.kernel, so we should check current python platform.


MozReview-Commit-ID: AkryAzrgSzs

--HG--
extra : rebase_source : 76f2584fa3890e3c11f5ee023b2359a9a19beb16
2017-05-08 15:31:44 +09:00
Mike Hommey
563880df0e Bug 1363585 - Forbid boolean operations on @depends functions. r=chmanchester
Doing something like "not foo" when foo is a @depends function is never
going to do what the user expects, while not necessarily leading to an
error (like, when used in set_config).

It is better to have an error in those cases where it's expected not to
work, at the expense of making templates a little more verbose, rather
than silently do something the user is not expecting.

--HG--
extra : rebase_source : 87ba80eccc5606322f6dd185d5cb5fc88471e51b
2017-05-10 11:35:22 +09:00
Mike Hommey
f57ed7a6e8 Bug 1363582 - Pass environment-only js_options down to old-configure through the environment. r=chmanchester
old-configure does not support being passed them as command line
arguments, so we have to pass them through the environment.

--HG--
extra : rebase_source : e51ea5cc5f95a35929ed1e619d8f04b5d39139fd
2017-05-10 11:04:00 +09:00
Ted Mielczarek
8f2c658ba3 bug 1358215 - add MOZ_PHOTON_ANIMATIONS config var/define, default enabled on nightly. r=chmanchester
MozReview-Commit-ID: JBdo2ppiJOP

--HG--
extra : rebase_source : 00e09d9d99fb52f5268c34fce73956df32581002
extra : source : 6fef5e7b5a233f43ea1e1572d2beb857295fdff0
2017-05-08 16:01:44 -04:00
Ralph Giles
f56cb16c14 Bug 1336153 - Remove MOZ_RUST. r=ted
We now have code that unconditionally requires the rust
compiler and are committed to adding more. Remove this
last vestige of conditional support.

MozReview-Commit-ID: EK6FBnAbR

--HG--
extra : rebase_source : 6efda10a74f9ca0482304c2b1ffe6941e42138f8
2017-05-09 11:36:13 -07:00
Lee Salzman
20ac00c192 Bug 1350262 - implement prime rehash policy compat for unordered_map and unordered_set in libstdc++. r=glandium
MozReview-Commit-ID: 1zlGjRMKcBM
2017-05-09 22:15:18 -04:00
Mike Hommey
7971d3d14f Bug 1356683 - Use new tooltool wrapper for valgrind builds. r=chmanchester
--HG--
extra : rebase_source : a0d1152ff3f61c0e771ac67159d64936841d7707
2017-04-12 17:45:52 +09:00
Wes Kocher
58582c5053 Backed out changeset 042c7c020a3b (bug 1362872) for build failures in test_toolchain_configure.py a=backout CLOSED TREE
MozReview-Commit-ID: DwmjdL7C5VX

--HG--
extra : amend_source : 7499f887d0ec66151537768175d84227d87985b4
2017-05-08 14:45:58 -07:00
Makoto Kato
0ce2bd7615 Bug 1362872 - Use mbcs encoding for vswhere output. r=gps
We add vswhere.exe to support VS2017.  But the description output of this command is localized, so it causes UnicodeDecodeError.

So we should use 'mbcs' encoding for this output. And for minor languages, we should also use replace to avoid decode error.

MozReview-Commit-ID: AkryAzrgSzs

--HG--
extra : rebase_source : 8413c623902b04785b43eb77047ed436bf82a5aa
2017-05-08 15:31:44 +09:00
Jim Chen
055a903128 Bug 1360291 - Detect NDK version number; r=nalexander
Detect the NDK major/minor version numbers, and feed that to Breakpad.
For AArch64, some Breakpad headers try to workaround NDK oddities by
checking the ANDROID_NDK_MAJOR_VERSION and ANDROID_NDK_MINOR_VERSION
macros.
2017-05-04 19:19:31 -04:00
Jim Chen
5a39ae87ca Bug 1360291 - Set minimum NDK platform version to 21 for 64-bit builds; r=nalexander
64-bit is only supported in android-21 and above in the NDK.
2017-05-04 19:19:30 -04:00
Jim Chen
6723035d5c Bug 1352177 - 2. Introduce new config file format for SDK bindings; r=snorp
Instead of specifying a class name per line, the new format uses the
.ini format, with each section name specifying the class, and each
property name specifying a member of the class. WrapForJNI options can
be specified with each class or member. Comments can be specified with
';' or '#'. For example,

 # Generate bindings for Bundle using default options:
 [android.os.Bundle]

 # Generate bindings for Bundle using class options:
 [android.os.Bundle = exceptionMode:nsresult]

 # Generate bindings for Bundle using method options:
 [android.os.Bundle]
 putInt = stubName:PutInteger

 # Generate bindings for Bundle using class options with method override:
 # (note that all options are overriden at the same time.)
 [android.os.Bundle = exceptionMode:nsresult]
 # putInt will have stubName "PutInteger", and exceptionMode of "abort"
 putInt = stubName:PutInteger
 # putChar will have stubName "PutCharacter", and exceptionMode of "nsresult"
 putChar = stubName:PutCharacter, exceptionMode:nsresult

 # Overloded methods can be specified using its signature
 [android.os.Bundle]
 # Skip the copy constructor
 <init>(Landroid/os/Bundle;)V = skip:true

 # Generic member types can be specified
 [android.view.KeyEvent = skip:true]
 # Skip everything except fields
 <field> = skip:false

 # Skip everything except putInt and putChar
 [android.os.Bundle = skip:true]
 putInt = skip:false
 putChar =

 # Avoid conflicts in native bindings
 [android.os.Bundle]
 # Bundle(PersistableBundle) native binding can conflict with Bundle(ClassLoader)
 <init>(Landroid/os/PersistableBundle;)V = stubName:NewFromPersistableBundle

 # Generate a getter instead of a literal for certain runtime constants
 [android.os.Build$VERSION = skip:true]
 SDK_INT = noLiteral:true
2017-05-03 11:36:18 -04:00
Jim Chen
f915e1bd65 Bug 1352177 - 1. Add a "noLiteral" option for WrapForJNI; r=snorp
For static final fields, generate a getter instead of a literal when
specified. Used to generate bindings for runtime constants whose values
are unknown at compile time.
2017-05-03 11:36:18 -04:00
Alex Gaynor
9ca18555b2 Bug 1360299 - When --enable-hardening is used, --enable-pie will be automatically enabled r=froydnj
r=froydnj

MozReview-Commit-ID: 7QFOTzSlXSj

--HG--
extra : rebase_source : 3dfde8102bdaf5afcd3fb4c9b5e9b78023e2d779
2017-05-01 15:00:50 -04:00
Wes Kocher
4120535ec8 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 6eRu2UC1Xmg
2017-05-01 16:01:52 -07:00