Commit Graph

4924 Commits

Author SHA1 Message Date
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
Nathan Froyd
b491c675df Bug 1233542 - re-export variables prior to running JS subconfigure; r=glandium
We need to do this for the same reason we do it for ICU: msys messes
with environment variables (as suggested in build/subconfigure.py).
2015-12-17 16:25:25 -05:00
Mike Hommey
a3e3b0838f Bug 1232912 - Remove leftovers from bug 758595 after bug 1047584. r=mshal
Bug 758595 added a MOZ_SIGNING AC_DEFINE, used in the package manifest for
mac builds. Bug 1047584 changed mac signing in a way that removed the use
of MOZ_SIGNING, but the AC_DEFINE was left in configure.in, where it is now
unused. Remove it.
2015-12-18 15:57:12 +09:00
Botond Ballo
1cb64f6960 Bug 1228597 - Remove the MOZ_SINGLE_PROCESS_APZ define. r=tn
Code previously guarded by this (added in bug 1224015) will now run
unconditionally.

--HG--
extra : source : ce0f51f55572334002ddf1878db447540d4c9b82
2015-11-27 21:39:07 -05:00
Ralph Giles
b9bb7645ac Bug 1228703 - Support rust on 32-bit Intel MacOS X. r=mshal
When we build universal binaries, we effectively cross-compile
from 64 to 32 bit darwin. Check for this and add the appropriate
target triplet to the definition of RUSTC.

Move the MacOS X 10.6 linkage check to after HAVE_64BIT_BUILD is defined.
2015-12-09 11:08:48 -05:00
Carsten "Tomcat" Book
8d69e722ff merge mozilla-inbound to mozilla-central a=merge 2015-12-04 11:57:23 +01:00
Sebastian Kaspari
cea7faa939 Bug 1197720 - Introduce background service for downloadable content. r=rnewman
This patch introduces a background service for downloading content from a
catalog (bug 1200291). This catalog ships with the application and contains
only fonts in this first version (MOZ_ANDROID_EXCLUDE_FONTS).

For now this service is disabled by default (MOZ_ANDROID_DOWNLOAD_CONTENT_SERVICE).

--HG--
extra : commitid : 7v0q886zR9q
extra : rebase_source : cf877b0ab7d286d1f973daebc8c004b320e426c7
2015-12-02 20:28:00 +01:00
Chris Peterson
46bb7c80dd Bug 1228947 - Replace mfbt/Constants.h with math.h. r=roc
--HG--
extra : rebase_source : 4ab2c4a917ea90055e48bd6adcb53904f2266ee0
2015-11-27 20:49:55 -08:00
Carsten "Tomcat" Book
df451fe7b0 merge mozilla-inbound to mozilla-central a=merge 2015-12-03 12:00:42 +01:00
Nick Alexander
3e1c5ea1e5 Bug 1220892 - Part 1: Remove MOZ_ANDROID_NATIVE_ACCOUNTS_UI. r=mcomella
--HG--
extra : commitid : 3drJfjq0uyX
extra : rebase_source : 67a2e524b90f78e8f719e1f8efc9a84a6f9a19dd
extra : histedit_source : 68805f753e785e2d935ee221ba5243597ec24f92
2015-11-30 14:32:17 -08:00
Mike Hommey
826f769939 Bug 1229541 - Turn NSPR_CFLAGS, NSS_CFLAGS, MOZ_JPEG_CFLAGS, MOZ_PNG_CFLAGS and MOZ_ZLIB_CFLAGS into AC_SUBST_LISTs. r=mshal 2015-12-02 11:24:34 +09:00
Kit Cambridge
c7aea57412 Bug 821291 - Move libmozgnome into libxul. r=glandium,karlt
--HG--
extra : commitid : 99eCKOxuHHi
extra : rebase_source : 7e148e7b3b72ffd4687df5ba342599c55fd41280
2015-11-24 12:16:33 -08:00
Carsten "Tomcat" Book
f3e1aec951 merge mozilla-inbound to mozilla-central a=merge 2015-12-01 15:25:14 +01:00
Dave Townsend
c872ff3d33 Bug 1226386: Remove most of the preprocessing from the add-ons manager. r=gps
For build speed, for correct line numbers in errors, for faster development, for so many reasons.
Still a couple of cases left mostly in XUL files for different strings on Windows.

Bonus: The new lexical scope means ADDON_SIGNING and REQUIRE_SIGNING can just
be declared as regular constants and outside code can't get to them easily.

--HG--
extra : commitid : Kj8khjuCwG2
extra : rebase_source : 2e0a3143900c0c414cda43254306f0c070f8e621
2015-11-19 15:30:47 -08:00
Kalpesh Krishna
bd090743b5 Bug 1148028 - Remove MOZ_ANDROID_SHARE_OVERLAY. r=vivek,nalexander
Fennec ships the Share Overlay everywhere.

--HG--
extra : commitid : 5BjYeDt7odR
extra : rebase_source : 8f8b97ee70161312a3c4ba7add801a1b2d340d23
2015-11-27 12:51:02 -08:00
Mike Hommey
54278f48fa Bug 1227385 - Avoid make variable references in VISIBILITY_FLAGS and STL_FLAGS. r=mshal 2015-12-01 08:25:22 +09:00