Commit Graph
5079 Commits
Author SHA1 Message Date
Phil Ringnalda dea249bc26 Backed out changeset 349a316ed0f7 (bug 1316735) for build packaging failures
CLOSED TREE
2016-12-13 10:48:40 -08:00
Jack Bates 651d894238 Bug 1316735 - Relative symlinks in the dist directory. r=gps
Make the symlinks in the dist directory relative instead of absolute.

MozReview-Commit-ID: HS7KL4JwSbV
2016-11-10 22:24:38 +00:00
Mark Banner 3a4b416cf9 Bug 1278812 - Change default mac filename to be 'mac' rather than 'mac64' now that bug 1295375 has moved us away from universal builds. r=gps
MozReview-Commit-ID: 4z5lozKd9tI
2016-12-13 10:11:59 +00:00
Henrik Skupin 620e1de054 Bug 1320073 - Rename marionette-client to marionette-harness and release version 4.0.0. r=gps,maja_zf,mtseng,SingingTree
MozReview-Commit-ID: L6V3b5h8RWm
2016-12-12 13:05:34 +01:00
Phil Ringnalda 24bab31d9a Merge m-i to m-c, a=merge
MozReview-Commit-ID: BnSh8kutBaR
2016-12-10 08:27:52 -08:00
Ralph Giles 52c2b4be6f Bug 1324040 - mozboot: Download rustup without SNI. r=froydnj
It seems older Python (e.g. 2.7 from Ubuntu 14.04) doesn't
support SNI, so we get a TLS error with the canonical
https://static.rust-lang.org/ url even when using the
`requests` module.

Fall back to the no-CNAME host instead which is ugly but works.

Thanks to Simon Sapin for the suggestion.

MozReview-Commit-ID: I6V5ASijuKi
2016-12-16 10:21:35 -08:00
Ryan VanderMeulen f9c05d1a2b Bug 1319901 - Enforce Visual Studio 2015 Update 3 as the minimum supported compiler version for Windows builds. r=ted 2016-12-15 19:27:03 -05:00
Dan Minor d2e2c4c2a4 Bug 1317714 - port mediaconduit_unittests to xul gtest; r=jesup, glandium
The test results were updated to match current behaviour. The
TestDummyAudioWithTransport and TestDummyVideoWithTransports are disabled due
to shutdown crashes and intermittent failures that show up in automation.
A follow up bug has been filed to fix these. The GMP test was removed
completely as it seems unlikely that it will be practical to test that from a
gtest.

MozReview-Commit-ID: 2pOb7u2Qp7v
2016-11-18 08:17:36 -05:00
Kartikaya Gupta 23c60e5edd Bug 1313446 - Detect a git repository when inside a git worktree. r=glandium
MozReview-Commit-ID: 8ngY6kNcp05
2016-12-08 08:28:36 -10:00
Mike Shal 9f8b0aede7 Bug 1319227 - Support ObjdirFiles in tup; r=chmanchester
MozReview-Commit-ID: 5AXDZUzlg4t
2016-12-06 19:39:01 -05:00
Mike Shal e28924b686 Bug 1322301 - Add flags to GeneratedFiles in the tup backend; r=chmanchester
MozReview-Commit-ID: 5N6jm6RMitD
2016-12-06 19:35:12 -05:00
Nathan Froyd 6d9b9636b3 Bug 1319156 - part 3 - tests for Rust library features, frontend and backend; r=chmanchester
This commit also adds an overdue test for plain Rust libraries in the
recursivemake backend, but said test also serves to ensure that we don't
emit features for a library if none were defined in moz.build.
2016-12-02 11:39:15 -05:00
Nathan Froyd a2621f1cb7 Bug 1319156 - part 2 - handle Rust library features in the recursivemake backend; r=chmanchester 2016-12-02 11:39:15 -05:00
Nathan Froyd 6ad1a5ab76 Bug 1319156 - part 1 - add features to RustLibrary objects and moz.build definitions; r=chmanchester
Ideally, people will just use the extra argument to RustLibrary to
define features for their library.
2016-12-02 11:39:15 -05:00
Phil Ringnalda a19d006370 Merge autoland to m-c, a=merge
MozReview-Commit-ID: ZxgsQWdyOP
2016-11-30 19:17:54 -08:00
Wes Kocher 1fd1893083 Merge inbound to central, a=merge 2016-11-30 16:12:21 -08:00
Mike Conley 7926486c29 Bug 1321312 - Add --enable-crash-reporter to ./mach run. r=gps
MozReview-Commit-ID: KzYW2X1aGnk
2016-11-30 11:15:27 -05:00
Phil Ringnalda b6c64855d6 Backed out changeset 10bb1ad646cd (bug 1321065) for ASan gtest failures
CLOSED TREE
2016-11-29 20:50:19 -08:00
Mike Hommey ce17c55f3e Bug 1321065 - Default to --enable-profiling for nightly milestones. r=gps 2016-11-30 06:47:38 +09:00
Mike Hommey a71728b346 Bug 1321065 - Default to --enable-profiling for nightly milestones. r=gps 2016-11-30 06:47:38 +09:00
Benjamin Smedberg f6682f5437 Followup to bug 1313752 - remove all the netwerk/test binaries from the XPCOM glue whitelist 2016-11-30 09:36:47 -05:00
Henrik Skupin 862b5abdcc Bug 1319705 - Move Puppeteer to testing/marionette and make it available for Marionette tests in test packages. r=gps
MozReview-Commit-ID: 521o0fV72SQ
2016-11-24 17:02:52 +01:00
Mike Hommey 370091441f Bug 1317504 - Warn that LD is not used by the build system. r=chmanchester
It turns out that, in practice, the LD variable is not used by the build
system, except on Windows, where it's used to feed the default for LINK,
which is then re-injected as LD.

The upcoming changes are going to normalize the use of LD/LINK.
2016-11-24 15:07:01 +09:00
Carsten "Tomcat" Book 9ffca9592c Merge mozilla-central to autoland 2016-11-29 11:50:17 +01:00
Nathan Froyd f8630d7e1e Bug 1293253 - part 10 - emit {Host,}RustProgram objects from the frontend; r=chmanchester 2016-11-28 11:20:38 -05:00
Nathan Froyd 0bbe02da6a Bug 1293253 - part 9 - handle {Host,}RustProgram objects in the recursivemake backend; r=chmanchester 2016-11-28 11:20:39 -05:00
Nathan Froyd 8ff9930194 Bug 1293253 - part 8 - factor out a unique binary check function; r=chmanchester
We'll need this for Rust programs as well.
2016-11-28 11:20:39 -05:00
Nathan Froyd 826a9ae00c Bug 1293253 - part 7 - factor out a Cargo.toml-for-context parsing function; r=chmanchester
We'll need a function to do this for Rust program definitions, so we
might as well use one that's already there for Rust library definitions.
2016-11-28 11:20:39 -05:00
Nathan Froyd 7e45c899b1 Bug 1293253 - part 4 - add frontend objects for Rust programs; r=chmanchester 2016-11-28 11:20:39 -05:00
Nathan Froyd e15ac258ba Bug 1293253 - part 2 - split out cargo_target_directory; r=chmanchester
We're going to need this functionality for Rust programs as well as Rust
libraries, so we might as well move the functionality out of RustLibrary
into a separate function.
2016-11-28 11:20:39 -05:00
Sebastian Hengst 0643a8fe29 Backed out changeset 626c5d74b74c (bug 1315976) for breaking Mac L10n nightlies. r=backout a=backout
MozReview-Commit-ID: 8mie8tWYrcz
2016-11-28 14:19:47 +01:00
Ralph Giles 21262efee7 Bug 1319860 - mozboot: Prompt to add rust to PATH after install. r=nalexander
We were checking for success installing rust with the same code
we checked for upgrade success, but in the case of a clean install
this will likely fail because the binaries installed by rustup
won't be in path. Instead, print the help message about adding
them after installation completes.

MozReview-Commit-ID: xa5PKIDKzZ
2016-11-25 14:09:38 -08:00
Carsten "Tomcat" Book fd3bf4211d merge mozilla-inbound to mozilla-central a=merge 2016-11-25 15:36:56 +01:00
Ralph Giles df02b32bcd Bug 1320596 - mozboot: Handle old rustc but not rustup. r=gps
Always report if we found an out-of-date rustc.

This is better when an older rustc is installed, but not rustup,
and it's shadowing the version we install in $CARGO_HOME.

MozReview-Commit-ID: 43io6uISMNI
2016-11-28 16:43:22 -08:00
Chris Manchester b33251b774 Bug 1306614 - Correctly detect when a conflicting version of a python package is found by the build system's virtualenv. r=gps
The pip function `check_if_exists` returns True if any version of the named
package exists, and sets attributes on the requirement object based on
whether the correct version exists. Prior to this patch, we were interpreting
a `True` result from `check_if_exists` to mean the named package did not need
to be installed or updated at all, causing the build system virtualenv to use
incorrect dependency versions and fail in some cases. This was found in the
case of attempting an artifact build on a system where mozregression was
installed locally, resulting in an incompatible version of the taskcluster
client being used by the artifact code.

MozReview-Commit-ID: 5Q54PsUIrKR
2016-11-28 13:05:19 -08:00
Ralph Giles 6ae0c0ff92 Bug 1320397 - mozboot: Install dbus-glib on Fedora. r=gps
This is needed on Fedora as well as CentOS, at least on Fedora 25
where it's evidently not part of the "GNOME Software Development"
group.

MozReview-Commit-ID: KMW8FUsvJcv
2016-11-25 15:35:12 -08:00
Mike Hommey 62a95876ba Bug 1320006 - Shell-quote the flags used for file_generate commands. r=mshal
Ideally, we'd shell-quote more arguments, but that would also require
different quoting for the make dependencies and the command line
arguments, so go for the immediate need.
2016-11-24 16:17:34 +09:00
Dan Minor 42c96267d7 Bug 1317726 - sdp_file_parser should not depend on xpcom glue; r=drno
MozReview-Commit-ID: KDv3RzGurQx
2016-11-15 11:53:47 -05:00
Phil Ringnalda a4d9100a8c Merge m-c to autoland 2016-11-22 21:33:35 -08:00
Phil Ringnalda bf34d7ef12 Merge m-i to m-c, a=merge
MozReview-Commit-ID: EDVoIcyWOhi
2016-11-22 20:03:03 -08:00
Mike Hommey d31a3f9cfb Bug 1319637 - Transform ObjDir*Files into FinalTarget*Files. r=gps
While the recursive make backend needs to handle ObjDir*Files separately
for now, other backends can handle them just as FinalTarget*Files instead,
simplifying their implementation.
2016-11-23 11:51:09 +09:00
Andrew McCreight 21307f7838 Bug 1318494 - Add IPDL unit tests to ALLOWED_XPCOM_GLUE. r=glandium
MozReview-Commit-ID: HIugK0W61do
2016-11-22 11:09:43 -08:00
Nicholas Nethercote 9994803f5a Bug 1315138 - gtestify storage/test/*.cpp. r=mak,erahm.
This change is mostly straightforward, except for the following.

- It removes all the printing from the do_check_* macros because gtest macros
  do appropriate printing.

- test_StatementCache.cpp needs some special gtest magic for the type
  parameterization.

- It merges the four tests in test_unlock_notify.cpp because they rely on being
  executed in order, and so aren't independent.

- storage_test_harness_tail.h is no longer necessary because gtest provides the
  test looping functionality.

- It uses #include and the preprocessor to remove the duplication between
  test_deadlock_detector.cpp and xpcom/tests/DeadlockDetector.cpp.

- It makes the test in test_service_init_background_thread.cpp a death test to
  force it to be the first storage gtest, because it fails otherwise.

- It adds code to undo the SQLite mutex hooking as necessary, so that tests
  don't interfere with each other.

- It de-virtualizes Spinner's destructor (as identified in bug 1318282).
2016-11-11 09:59:23 +11:00
Mike Hommey f8901eaa33 Bug 1319345 - Change how application.ini and application.ini.h are generated. r=mshal
The current way they are generated makes it so that it's not trivial for
the backends to figure that one depends on the other. While we should
eventually make things such that using FINAL_TARGET_PP_FILES works for
that, it's currently simpler to just use GENERATED_FILES.
2016-11-02 17:16:56 +09:00
Mike Hommey 52a10e3b70 Bug 1319345 - Add flags to GENERATED_FILES. r=mshal 2016-11-03 10:40:17 +09:00
Kris Maglione 870d184924 Bug 994255: Add included and parent test manifest files to backend inputs list. r=gps
MozReview-Commit-ID: EvMt0ojZGFr
2016-11-18 14:52:54 -08:00
Ralph Giles 7db60aad4f Bug 1286799 - mozboot: Fix rust detection on windows. r=gps
WindowsBootstrapper overrides BaseBootstrapper.which() to append
the Windows 'exe' filename extension, so which() finds rustc.exe
and rustup.exe properly. However, our other code which constructs
the program name in _parse_version or looks for the files in
CARGO_HOME didn't take this into account, making the script think
it couldn't find rust.

Don't use os.path.join to construct urls, since on windows this
inserts the backslash '\' path separator instead of the normal
forward slash.

MozReview-Commit-ID: HWJjwCDHuNK
2016-11-21 11:18:59 -08:00
Ralph Giles 81d75e6f7d Bug 1286799 - mozboot: Use requests to download rustup manifest. r=gps
Python urllib2 doesn't validate https origins in all versions.
During actual bootstrap the static hash values act as an out-of-bound
validatation channel.

However, that doesn't help when doing the initial download and hash
generation when invoked as `python rust.py [--update]`. Fortunately
we don't expect to be called this way in standalone mode, so we can
use the in-tree requests module to fetch things properly.

MozReview-Commit-ID: KZTtIXDfWTB
2016-11-18 13:02:25 -08:00
Ralph Giles d75b98f1fc Bug 1286799 - mozboot: Unbuffer stdout. r=gps
Reopen sys.stdout in unbuffered mode so we can correctly print
'Checking foo... Result' in two parts without calling sys.stdout.flush()
everywhere.

Although we import print_function from the future, the python 2 version
does not support the python 3 flush=True argument.

MozReview-Commit-ID: SjliWeoSa3
2016-11-17 15:21:39 -08:00
Ralph Giles 8b787cd4fe Bug 1286799 - mozboot: Add a script to fetch rust installer hashes. r=gps
Make the mozboot.rust module invokable as a utility. E.g.

  python rust.py --update

When called with the --update option it downloads and generates
checksums for the latest version of the installer on supported
platforms, suitable for updating the values coded in the script.

When invoked without the --update option, it verifies the
current version and checksums against the server.

MozReview-Commit-ID: 2NVFf0ptvbM
2016-11-17 14:23:41 -08:00