Commit Graph

4940 Commits

Author SHA1 Message Date
Nicholas Nethercote
160743c7c2 Bug 1144842 (part 2) - Make --enable-dmd imply --enable-profiling. r=glandium.
This requires moving the --enable-dmd code earlier, before MOZ_PROFILING starts
being used.

--HG--
extra : rebase_source : acfdc6c4c82436c0a1834e11ddc567e37318da60
2016-01-21 16:58:50 -08:00
Nicholas Nethercote
90f1bc4ecd Bug 1144842 (part 1) - Don't use MOZ_PROFILING before all the places it can be set. r=glandium.
--HG--
extra : rebase_source : 089edfe2a7303b245febec30c8ee8a5063ebb92d
2016-01-19 16:03:06 -08:00
Mike Hommey
6acbd96f93 Bug 1239217 - Enable the hybrid FasterMake+RecursiveMake backend for artifact builds. r=gps 2016-01-22 15:43:27 +09:00
Wes Kocher
da663084df Merge inbound to m-c a=merge
--HG--
extra : commitid : ATxDn3SgryS
2016-01-21 16:24:42 -08:00
Ryan VanderMeulen
cf4d89e24e Bug 1241121 - Upgrade SQLite to version 3.10.2. r=mak
--HG--
extra : rebase_source : e1aa31cfa0211da5c03ea7c92b7777bcc4c748e4
2016-01-21 08:53:39 -05:00
Carsten "Tomcat" Book
3d3ee3ca4a Merge mozilla-central to fx-team 2016-01-21 12:30:07 +01:00
Mike Hommey
bdc9ed0d4a Bug 1240990 - Define all backends in one place. r=gps
When adding a backend, we currently have to add them in three different
places so that they appear in the right places.

Instead, keep the list in a single place.
2016-01-21 13:54:03 +09:00
Jean-Yves Avenard
721fd7b736 Bug 1240630: [ffmpeg] P3. Only build FFmpeg on mac and unixes. r=kentuckyfriedtakahe
This is a partial revert of bug 1214462 part2. We don't need FFmpeg support on Android or Windows anymore; instead the functionality is provided by the FFVPX PDM.
Remove support for FFmpeg on Windows.
2016-01-19 22:00:03 +11:00
Wes Kocher
398d96e8e5 Backed out 4 changesets (bug 1240630) for asan failures in mochitest(2) and mochitest(oth) CLOSED TREE
Backed out changeset dc949ca1e1ec (bug 1240630)
Backed out changeset 06abea99a292 (bug 1240630)
Backed out changeset 9d90d4b0b928 (bug 1240630)
Backed out changeset 6162c46b32ff (bug 1240630)

--HG--
rename : dom/media/platforms/ffmpeg/FFmpegVideoDecoder.cpp => dom/media/platforms/ffmpeg/FFmpegH264Decoder.cpp
rename : dom/media/platforms/ffmpeg/FFmpegVideoDecoder.h => dom/media/platforms/ffmpeg/FFmpegH264Decoder.h
extra : commitid : 2Uwik7JWDjE
2016-01-20 13:47:41 -08:00
Nathan Froyd
c193e4e1c6 Bug 1236577 - turn off -Wignored-attributes when compiling with clang-cl; r=glandium
Several JS engine header files, notable RootingAPI.h, do:

class JS_PUBLIC_API(...) { ... };

which sticks __declspec(dllimport) on the type.  clang-cl warns us that
it doesn't implement that, but since we're compiling with clang-cl as an
interesting side project, rather than shipping releases with it, we can
ignore that warning.
2016-01-04 11:30:22 -05:00
Jean-Yves Avenard
b7a1533658 Bug 1240630: [ffmpeg] P3. Only build FFmpeg on mac and unixes. r=kentuckyfriedtakahe
This is a partial revert of bug 1214462 part2. We don't need FFmpeg support on Android or Windows anymore; instead the functionality is provided by the FFVPX PDM.
Remove support for FFmpeg on Windows.
2016-01-19 22:00:03 +11:00
Carsten "Tomcat" Book
c63e75b8bf Backed out changeset 1f5356e9679e (bug 1240630)
--HG--
extra : rebase_source : 92e8835d2c1f40058be44339163b390e01b617c9
2016-01-20 16:10:49 +01:00
Jean-Yves Avenard
040ca072ee Bug 1240630: [ffmpeg] P3. Only build FFmpeg on mac and unixes. r=kentuckyfriedtakahe
This is a partial revert of bug 1214462 part2. We don't need FFmpeg support on Android or Windows anymore; instead the functionality is provided by the FFVPX PDM.
Remove support for FFmpeg on Windows.
2016-01-20 23:55:36 +11:00
Ryan VanderMeulen
c36e4d1d07 Bug 1237324 - Upgrade SQLite to version 3.10.1. r=mak 2016-01-04 22:54:15 -05:00
Chris Peterson
8a76954155 Bug 1239539 - Enable clang's -Wclass-varargs warnings. r=glandium 2015-12-25 22:32:49 -07:00
Ralph Giles
019f175b5f Bug 1239366 - Remove leading 'v' from detected versions. r=mshal
The leading 'v' was intended to distinguish the detected from
the literal version string, but this is non-obvious, and could
be confused with the git tag convention.

Instead, make the strings match, but put the detected version
first since it's what configure is likely to act on.
2016-01-13 11:20:00 -08:00
Ralph Giles
922b41e613 Bug 1224408 - Print yasm version. r=mshal
Report the detected yasm version so logs show what was present.
2016-01-13 09:06:46 -08:00
Jed Davis
f45414c2f0 Bug 1133073 - Use PR_DuplicateEnvironment to avoid post-fork malloc on all Linux platforms. r=dhylands 2016-01-11 14:17:01 -08:00
Jed Davis
64f3bc56b6 Back out 7f6bb9f7e60d (bug 1133073) for bustage. Sorry about that. 2016-01-11 13:29:53 -08:00
Jed Davis
a73c98c3e5 Bug 1133073 - Use PR_DuplicateEnvironment to avoid post-fork malloc on all Linux platforms. r=dhylands 2016-01-11 12:46:50 -08:00
Gijs Kruitbosch
7e16352e77 Bug 1236111 - part 1: avoid configure.in Windows-only goop when running with disable-compile-environment, r=gps
--HG--
extra : commitid : 4G0HmyMMKZ4
extra : rebase_source : 484a3a94bb8d86946695f45f645f0692da9326dc
2016-01-05 14:45:19 +00:00
Robert Strong
9bac630b8a Bug 1237040 - Add configure.in support for NSIS 3.0b3 and remove support for NSIS 2.46u and NSIS 3.0a1. r=gps 2016-01-08 07:01:25 -08:00
Nicholas Nethercote
bf641fa45d Bug 1237151 (part 4) - Turn on -Wignored-qualifiers for C++ code. r=mshal.
It's already on for C code.
2016-01-05 14:31:02 -08:00
Jean-Yves Avenard
0830385b17 Bug 1214462: P5. Enable ffvpx compilation and use. r=glandium 2016-01-06 23:03:53 +11:00
Nicholas Nethercote
a9f31c44eb Bug 1232219 (part 4) - Enable -Wunused for C code, except where it's too annoying. r=glandium.
--HG--
extra : rebase_source : febc9aac7ec5e3699742e728065c370dcee4f0f3
2015-12-16 22:59:42 -08:00
Chris Peterson
c9b006d167 Bug 1235717 - Enable clang's -Wunreachable-code warnings. r=glandium 2015-12-28 00:17:02 -07:00
Mike Conley
e62894147e Bug 1221846 - Get Task Tracer building on desktop r=cyu.
--HG--
extra : rebase_source : 0666526a249c106274a4c764e325cd9810e9a2e7
2015-12-02 20:55:38 -05:00
Nicholas Nethercote
6d93e1b2e4 Bug 1232224 - Streamline setting of compile warnings in configure.in. r=glandium,cpeterson.
The main changes are to the warnings, which are as follows.

- Kept -Wall.

- Part of -Wall or on by default; remove all mentions:
  * -Waddress
  * -Wchar-subscripts
  * -Wcomment
  * -Wconversion-null
  * -Wendif-labels
  * -Wenum-compare
  * -Wimplicit-function-declaration
  * -Wint-to-pointer-cast
  * -Wmissing-braces
  * -Wmultichar
  * -Wnonnull
  * -Wparentheses
  * -Wpointer-sign
  * -Wpointer-to-int-cast (C only)
  * -Wreorder
  * -Wreturn-type
  * -Wsequence-point
  * -Wsign-compare (C++ only)
  * -Wswitch
  * -Wtrigraphs
  * -Wuninitialized
  * -Wunknown-pragmas
  * -Wunused-label
  * -Wunused-value
  * -Wwrite-strings (C++ only)

- Part of -Wextra; kept where present, added where missing:
  * -Wempty-body
  * -Wignored-qualifiers (not added for C++ code; many fixes needed to enable)
  * -Wtype-limits

- Part of -pedantic; kept where present, added where missing:
  * -pointer-arith

- C++ only, kept:
  * -Wno-invalid-offsetof
  * -Woverloaded-virtual

- Clang-only, kept:
  * -Wnon-literal-null-conversion (affected by a clang bug; see the big comment
    in the code)
  * -Wrange-loop-analysis (C++ only)
  * -Wno-unused-local-typedef

- This no longer exists?  I kept it to be safe:
  * -Winline-new-delete

A consequence of this is that, when --enable-warnings-as-errors is on, in
directories which have ALLOW_COMPILER_WARNINGS specified we no longer have any
fatal warnings. (We previously did have all the explicitly-mentioned
-Werror=foo ones.) This is a sensible change; if we are going to allow warnings
in a directory we should allow all of them, not just some of them.

Other changes:

- Some C warnings incorrectly used the CXX macros. Fixes that.

- Moves comments about warnings closer to the lines where they are defined, to
  make it easier to keep the comments consistent with the code.

- Reorders things a little, e.g. so that all enabled warnings are before all
  disabled warnings.

The C and C++ warnings are now very similar, in both configure.in and
js/src/configure.in.

--HG--
extra : rebase_source : 6f8db0fecda1315504a29fbcafb6fdee3053d8a5
2015-12-16 18:39:50 -08:00
Felix Janda
c40483da3d Bug 1203272 - Fix build of nsMemoryReporterManager on linux systems without mallinfo(). r=glandium,njn.
--HG--
extra : rebase_source : 704d0eb36b63810b890361b1785b5bf3f6e8e324
2016-01-01 11:10:54 +01:00
Ryan VanderMeulen
f93b41b27c Merge inbound to m-c. a=merge 2016-01-01 19:29:16 -05:00
Nick Alexander
d29d7963fa Bug 1207890 - Post: Hacks to make --disable-compile-environment work on Mac OS X. r=glandium
--HG--
extra : commitid : BJ6pEARC8bF
extra : rebase_source : 6fb8638fc55c0f402fbe011b8fd10904a4681d13
2015-12-23 16:50:47 -08:00
Nick Alexander
38656b9cc3 Bug 1216817 - Part 4: Add --enable-artifact-builds and MOZ_ARTIFACT_BUILDS. r=glandium
This is a clear statement of intent, where-as
--disable-compile-environment has other, non-artifact build, uses.

--HG--
extra : commitid : 9ODHf76bY2E
extra : rebase_source : 82183d639abb70018d0b0a8e72b14ab0d585db9f
2015-10-30 13:35:35 -07:00
Lee Salzman
f72ad5d158 Bug 1234494 - part 2 - disable Skia GPU support by default on certain *BSDs, r=glandium 2015-12-30 12:17:06 -05:00
Phil Ringnalda
33c7af5cab Back out 6 changesets (bug 1214462) for Win PGO build bustage, reftest failures and mochitest failures
CLOSED TREE

Backed out changeset 803dba2adb27 (bug 1214462)
Backed out changeset e1b318c9c1db (bug 1214462)
Backed out changeset 3a421412b161 (bug 1214462)
Backed out changeset 2b388a17f4be (bug 1214462)
Backed out changeset 6a290f27f9bc (bug 1214462)
Backed out changeset 3dbf22bf17a4 (bug 1214462)
2015-12-30 20:37:08 -08:00
Jean-Yves Avenard
5aa2f09698 Bug 1214462: P5. Enable ffvpx compilation and use. r=glandium 2015-12-31 13:17:24 +11:00
Mike Hommey
d5c0c5233a Bug 1235733 - Use absolute paths for include paths. r=gps
Limit ourselves to include paths for now, because there are tricky things
involved in making this globally.

While here, use shell_quote instead of manual quoting for those paths.
2015-12-31 08:10:02 +09:00
Mike Hommey
969f681cbc Bug 1235743 - Move compiler flags used for dependency generation to a separate variable. r=gps
This might seem like going in the opposite direction of what we tend to do
to move to moz.build land, but those flags are irrelevant in many situations
and are better separated out.
2015-12-31 07:35:04 +09:00
Birunthan Mohanathas
658dd7bd4b Bug 1204752 - Disable thread-safe statics on VS2015 to fix WinXP startup crash. r=glandium
VS2015 added thread-safe statics, but it causes a startup crash on XP. The
suggested workaround provided by Microsoft is to disable the feature enitrely:
https://connect.microsoft.com/VisualStudio/feedback/details/1789709/visual-c-2015-runtime-broken-on-windows-server-2003-c-11-magic-statics

Note that thread-safe statics were not available in VS2013 so disabling them
should not be considered a regression.

With this patch, Firefox runs fine in XP SP2 and XP SP3.

DONTBUILD because VS2015-only change.
2015-12-29 10:21:07 +02:00
Ryan VanderMeulen
9a3523097f Merge fx-team to m-c. a=merge 2015-12-25 20:33:39 -05:00
Nathan Froyd
7526b032e1 Bug 1232772 - suppress numerous clang-style warnings when using clang-cl; r=glandium
Suppressing these warnings significantly cuts down the warning spam on
clang-cl builds.
2015-12-15 15:35:27 -05:00
Carsten "Tomcat" Book
719ce6825c merge mozilla-inbound to mozilla-central a=merge 2015-12-23 12:00:09 +01:00
Nick Alexander
8ab48d3b86 Bug 1220500 - Set ANDROID_PACKAGE_NAME correctly from MOZ_APP_NAME. r=glandium
--HG--
extra : commitid : DY47SlsDH8P
extra : rebase_source : 5f8aefc02167fa76444209e1b863da0477659282
extra : histedit_source : 16261118943f7d729e2e19353b18002fecf14da3
2015-12-21 20:07:30 -08:00
Mike Hommey
725ee3aec1 Bug 1234106 - Avoid symbolic links in various directories used by the build system. r=gps
This doesn't change calls to pwd on Windows or for subdirectories of the
directories already using pwd -P.
2015-12-22 07:55:47 +09:00
Carsten "Tomcat" Book
6e77ecb62f Backed out changeset 8b4bffb2ce7c (bug 1133073) for bustage on Android 2015-12-21 11:07:48 +01:00
Jed Davis
d93d9fdb20 Bug 1133073 - Use PR_DuplicateEnvironment to avoid post-fork malloc on all Linux platforms. r=dhylands
This removes the Android-only in-Gecko version of PR_DuplicateEnvironment from bug 773414.
2015-12-17 10:10:00 +01:00
Chris Peterson
90c0e0da61 Bug 1232223 - Part 3: Remove MOZ_WAVE #ifdefs because Wave is always supported. r=jya 2015-12-18 00:51:16 -08:00
Chris Peterson
6ef290e177 Bug 1232223 - Part 2: Remove MOZ_VPX #ifdefs because VPx is always supported, though not necessarily enabled. r=jya 2015-12-12 13:21:55 -05:00
Chris Peterson
88051371a9 Bug 1232223 - Part 1: Remove MOZ_WEBM #ifdefs because WebM is always supported, though not necessarily enabled. r=jya r=glandium 2015-12-12 13:49:07 -05:00
Swaroop Rao
1ae80adb05 Bug 1222607 - Remove MOZ_ANDROID_TAB_QUEUE build flag. r=sebastian 2015-12-17 08:58:00 +01:00
Jean-Yves Avenard
6e4f29cac8 Bug 1234092: P2. Remove GStreamer check from configure. r=glandium 2015-12-23 01:14:23 +11:00