Commit Graph

5993 Commits

Author SHA1 Message Date
Ehsan Akhgari
9d0fe5c3d4 Bug 1332022 - Part 2: Update clang-tidy config files to LLVM r292415; r=mystor
This revision includes the changes needed in run-clang-tidy.py
(https://reviews.llvm.org/D28334).
2017-01-18 23:04:11 -05:00
Ehsan Akhgari
9e44ebaa16 Bug 1332022 - Part 1: Use the libc++ headers from the libc++ project being built; r=mystor
LLVM relies on new libc++ features that may not be present in
the system headers.
2017-01-18 23:04:10 -05:00
Wes Kocher
1d57cf3099 Backed out changeset bfcc3984fa6c (bug 1332022) for Clang-Tidy bustage a=backout
MozReview-Commit-ID: 42w843ZSidA
2017-01-18 13:27:01 -08:00
Ehsan Akhgari
4178bf325e Bug 1332022 - Update clang-tidy config files to LLVM r292415; r=mystor
This revision includes the changes needed in run-clang-tidy.py
(https://reviews.llvm.org/D28334).
2017-01-18 13:12:02 -05:00
Mike Hommey
71106c149c Bug 1330875 - Remove MOZ_APP_STATIC_INI. r=mshal
It's now always set, even on comm-central, so we can just remote it.

--HG--
extra : rebase_source : 8687e2f3b8636fb79564d074d2cce2e088570413
2017-01-13 14:51:07 +09:00
Gregory Szorc
63044cae98 Bug 1331062 - Add pytoml to mach's search path; r=froydnj
This was accidentally overlooked in 1e0bcb0402b5 (bug 1231764).

MozReview-Commit-ID: IYxrRV9G5iW

--HG--
extra : rebase_source : 7ee0619fecc5b06e1dd6f1d2ef4ab23c21ce686c
2017-01-13 12:11:52 -08:00
Andrew Halberstadt
79791a2cff Bug 1330772 - Remove all b2g related code from reftests, r=jmaher
MozReview-Commit-ID: HY1XbcliTNA

--HG--
extra : rebase_source : f02093222f1cc619e328c877382361950f83329d
2017-01-12 16:37:37 -05:00
Carsten "Tomcat" Book
3ad97e202a merge mozilla-inbound to mozilla-central a=merge 2017-01-12 10:14:43 +01:00
Eric Rahm
453cad2d83 Bug 1322735 - Enable frame pointers on 32-bit windows builds. r=glandium
This universally disables FPO on win32.

MozReview-Commit-ID: AT9ozxGN0C5

--HG--
extra : rebase_source : 425284addb1a36843a2821dce23d3678a80bd203
2017-01-11 17:54:18 -08:00
Jonathan Kew
3d478b5e48 Bug 1324739 - patch 2 - Enable use of sfntly in Skia-PDF to subset fonts. r=lsalzman,glandium 2017-01-07 22:20:25 +00:00
aleth
094f1aba88 Bug 1329320 - Followup to use TOOLTOOL_DIR for makecab. r=gps 2017-01-11 18:00:24 +01:00
Carsten "Tomcat" Book
ccfe5b9092 Merge mozilla-central to mozilla-inbound 2017-01-11 16:37:37 +01:00
Carsten "Tomcat" Book
a712d69adb merge mozilla-inbound to mozilla-central a=merge 2017-01-11 16:23:39 +01:00
Ryan VanderMeulen
eef71c204d Bug 1322027 - Don't disable hugepage support since it no longer causes PGO issues. 2017-01-11 09:04:48 -05:00
Jan Beich
37441c2712 Bug 1325246 - Unbreak build --with-system-icu after bug 1270146. r=glandium
MozReview-Commit-ID: Dob5wTmHgxn

--HG--
extra : rebase_source : 7505163d23978c4cbb308314ba78a7063199face
2016-12-22 01:42:19 +00:00
Phil Ringnalda
1c2d0d367f Backed out 3 changesets (bug 1322735) for ASan leaks and xpcshell/selftest.py failures
CLOSED TREE

Backed out changeset 01cfc71ce542 (bug 1322735)
Backed out changeset 84c729c41230 (bug 1322735)
Backed out changeset b419aaefae95 (bug 1322735)
2017-01-10 20:17:34 -08:00
Eric Rahm
d2ab17a31d Bug 1322735 - Enable frame pointers on 32-bit windows builds. r=glandium
This universally disables FPO on win32.

MozReview-Commit-ID: AT9ozxGN0C5

--HG--
extra : rebase_source : 01eb5ba4ca12d6fe2f1c85743edf9b5e56fafd09
2017-01-10 18:51:22 -08:00
Daniel Stenberg
692bf2631c Bug 1329272 - add bracket for sed 4.3 compliance, r=glandium
--HG--
extra : rebase_source : aac991847d3c66a6cfb00b83f88d1ffa27ef9bb0
2017-01-09 23:25:00 +01:00
Ted Mielczarek
72abec04a5 bug 1329320 - replace makecab with rust-makecab in symbolstore. r=gps
It turns out that running makecab to compress PDB files takes a significant
amount of time in the buildsymbols step. I wrote an implementation of
makecab in Rust that implements only the subset of features we use and
it's significantly faster:
https://github.com/luser/rust-makecab

This patch adds a makecab check to moz.configure, adds a release build of
the makecab binary to the Windows tooltool manifests, points the build at
it from mozconfig.win-common, and changes symbolstore.py to use MAKECAB
from substs instead of calling `makecab.exe` directly.

MozReview-Commit-ID: 76FHLIZFCXS

--HG--
extra : rebase_source : af4cf2e4db4607ec9329b2811cc0175d3e113b66
2017-01-06 05:57:10 -05:00
Ryan VanderMeulen
7d537bf11a Bug 1322027 - Update jemalloc 4 to version 4.4.0. r=glandium
--HG--
extra : rebase_source : acad2186ad3ace467a626fcf38659aaf6708c96b
2017-01-10 22:50:36 -05:00
Sylvestre Ledru
b68ae46ad6 No bug - Add a space in the configure script. We are currently showing 'Mozillaautomation' r=trivial
MozReview-Commit-ID: KDn1ob7Pt6q
2017-01-09 10:12:45 +01:00
Ryan VanderMeulen
1e6f972917 Merge inbound to m-c. a=merge 2017-01-07 11:22:47 -05:00
Chris Manchester
3223e363c4 Bug 1325801 - Fix intermittent failure staging cppunittests. r=mshal
Dumping symbols can interfere with staging cppunittests in case calling
objcopy from the symbol dumping script coincides exactly with calling
objcopy when staging cppunittests when the two are run in parallel. This
patch prevents symbol dumping from happening while tests are being packaged.

MozReview-Commit-ID: Hgi1zyIZE7K

--HG--
extra : rebase_source : 5fac1ff8aeacde38e27ca0ca7f33ed9a594dc06b
2017-01-06 15:41:22 -08:00
Geoff Brown
839ad41abf Bug 1319196 - Call dumpsys less during Android tests; r=jmaher
Android tests use dumpsys to determine the current "top activity";
if Firefox is not in the foreground, tests are considered complete.
But dumpsys is heavy-weight and can fail, for reasons unknown. With
this patch, test harnesses continue to use dumpsys to determine the
top activity, but call it much less often: If the harness has just
received new test output, the harness assumes that tests are in
progress and does not check the top activity.
2017-01-06 16:35:29 -07:00
Ehsan Akhgari
b8b6926a81 Bug 1329307 - Only package the clang-tidy binaries for the clang-tidy builds; r=mystor 2017-01-06 16:02:23 -05:00
Ehsan Akhgari
b212e8e44a Bug 1329306 - Also clobber the CMakeFiles directory; r=mystor
This directory can include variables for the toolchain path names,
for example, which are different from run to run on Windows TaskCluster
workers.
2017-01-06 16:02:23 -05:00
Ehsan Akhgari
1393c469d1 Bug 1328184 follow-up: Fix a typo 2017-01-05 00:51:47 -05:00
Ehsan Akhgari
f0a8a24920 Bug 1328199 - Part 2: Add a TaskCluster job to build clang-tidy for OSX on Linux; r=dustin 2017-01-04 16:50:09 -05:00
Ehsan Akhgari
38f9ae4b7f Bug 1328199 - Part 1: Add support for cross-compiling clang for OS X on Linux; r=mystor 2017-01-04 16:50:08 -05:00
Ehsan Akhgari
e877f28154 Bug 1324488 - Add a TaskCluster job to build clang-tidy on Linux; r=dustin 2017-01-04 16:50:08 -05:00
Ehsan Akhgari
2ffc60ec46 Bug 1328457 - Link clang statically against the MSVCRT on Windows; r=mystor 2017-01-04 12:25:57 -05:00
Ehsan Akhgari
56683af3e7 Bug 1328200 - Add TaskCluster jobs to build clang-tidy for Win32 and Win64; r=dustin 2017-01-03 17:04:29 -05:00
Ehsan Akhgari
d8db8fb565 Bug 1328184 - Part 2: Deal better with an existing build directory being found; r=mystor
Instead of relying on the assumption that a previous run of CMake was
using the same arguments, remove the CMake cache file and re-run it.
This way the script is robust no matter what kind of build directory
existed from before.
2017-01-03 16:59:56 -05:00
Ehsan Akhgari
b27938cfd1 Bug 1328184 - Part 1: Deal better with an existing source checkout; r=mystor
Since individual config files have different source repos declared,
it's better to deal with each individual source directory separately.
Also make sure to revert any of the existing changes in each directory
so that attempts to apply patches to the source directory or import
our static analysis checks into clang-tidy are guaranteed to always
succeed.
2017-01-03 16:59:56 -05:00
Phil Ringnalda
f26dcf9b33 Backed out changeset b12680f82f7a (bug 1324488) since the thing it depended on was backed out
MozReview-Commit-ID: 9Z36fqcH5v6
2016-12-31 08:55:47 -08:00
Ehsan Akhgari
9a3fcec28c Bug 1324488 - Add a TaskCluster job to build clang-tidy on Linux; r=dustin 2016-12-30 11:51:00 -05:00
Ehsan Akhgari
442fce9f66 Fix a non-unified build bustage, no bug 2016-12-29 22:06:11 -05:00
Wes Kocher
2045ef4aab Merge m-c to inbound, a=merge
MozReview-Commit-ID: ESXuJFW2Tgr
2016-12-29 12:08:05 -08:00
Wes Kocher
0747771468 Merge inbound to central, a=merge
MozReview-Commit-ID: 1rhhMOnW569
2016-12-29 12:03:47 -08:00
Ehsan Akhgari
880f7fac36 Bug 1324328 follow-up: Make hasCustomAnnotation's second argument a StringRef 2016-12-28 21:20:43 -05:00
Ehsan Akhgari
65c49d82e4 Bug 1324320 follow-up: Fix a mistake that breaks the build 2016-12-28 21:19:30 -05:00
Ehsan Akhgari
21f0768c95 Bug 1324328 - Remove MozChecker and some unused code; r=mystor 2016-12-28 21:14:51 -05:00
Ehsan Akhgari
2f3ebccb92 Bug 1324325 - Port the muse-use check to the clang-tidy compatible framework; r=mystor 2016-12-28 21:14:49 -05:00
Ehsan Akhgari
cd93cff857 Bug 1324320 - Port the must-override check to the clang-tidy compatible framework; r=mystor 2016-12-28 21:14:39 -05:00
Ehsan Akhgari
ed92149615 Bug 1324315 - Add support for building clang-tidy with Mozilla static analysis checks to build-clang.py; r=mystor 2016-12-28 20:47:49 -05:00
Ehsan Akhgari
371365724c Bug 1324315 - Refactor the clang plugin to use a framework similar to clang-tidy's; r=mystor 2016-12-28 20:47:47 -05:00
Ehsan Akhgari
3ddb346120 Bug 1324239 - Refactor the clang plugin; r=mystor
This patch mostly just splits up clang-plugin.cpp into separate files for
different classes or helpers.
2016-12-28 20:17:48 -05:00
Wes Kocher
2903c33754 Merge inbound to central, a=merge
MozReview-Commit-ID: 3AlcRAsPF0s
2016-12-28 16:08:44 -08:00
Carsten "Tomcat" Book
5615a8aaba Bug 1323901 - Bustage fix from glandium 2016-12-28 09:29:31 +01:00
Mike Hommey
74f8bb6e5e Bug 1323901 - Force which to use lowercase extensions on Windows. r=cmanchester+432261
--HG--
extra : rebase_source : 1932e63f7e02a80e5c83ee6bc0963d2c98d7fdd9
2016-12-23 06:28:03 +09:00