Commit Graph

4491 Commits

Author SHA1 Message Date
Jan Keromnes
2db002a086 Bug 1011562 - Ship Firefox OS fonts with the simulator. r=fabrice, r=mshal 2014-10-21 12:34:00 -04:00
Ryan VanderMeulen
719072f90f Merge inbound to m-c. a=merge 2014-10-21 15:14:52 -04:00
Joshua Cranmer
b4e2d4ace0 Bug 1086705: Disable -Werror=switch, r=froydnj, a=RyanVM
Gecko, for better or worse, allows non-m-c apps to define custom error codes and
use them in nsresult. This error breaks the ability to switch on those custom
error codes when an error happens. For this reason, it's not reasonable to make
this an error at present.
2014-10-21 12:23:12 -05:00
Andrew Martin McDonough
068835d9bb Bug 1014614 - Use Android MediaCodec for decoding H264 and AAC in MP4 r=cpearce,edwin
--HG--
extra : rebase_source : 7e7d1fc38d13b52e2294c0237479b78b31bdeafb
2014-10-21 08:53:01 -05:00
Chris Peterson
0a433c81f2 Bug 1081010 - Part 2: Fix -Wswitch warnings in dom/plugins and enable -Werror=switch warning-as-error. r=bsmedberg 2014-10-08 21:28:00 -07:00
Mike Hommey
23748b1072 Followup to bug 609976 - Build ICU as a shared library on windows. r=mshal 2014-10-18 09:28:57 +09:00
Wes Kocher
36939bc3c8 Backed out 9 changesets (bug 1014614) for Android mochitest bustage on a CLOSED TREE
Backed out changeset 40f99ba7f616 (bug 1014614)
Backed out changeset 8fbc3c85adfc (bug 1014614)
Backed out changeset 40dbd7c6ce65 (bug 1014614)
Backed out changeset f2b504bdd7c5 (bug 1014614)
Backed out changeset c878e29fbef9 (bug 1014614)
Backed out changeset 511dcc817f5d (bug 1014614)
Backed out changeset 2b72e71f1fdf (bug 1014614)
Backed out changeset 8b530a9a2f99 (bug 1014614)
Backed out changeset 7fa1b78de684 (bug 1014614)
2014-10-17 16:34:01 -07:00
Andrew Martin McDonough
c7c6773ec1 Bug 1014614 - Use Android MediaCodec for decoding H264 and AAC in MP4 r=cpearce,edwin,snorp
--HG--
extra : rebase_source : 5f104f687b6a68d4d4100abf8a8a28039fbb324d
extra : histedit_source : 6f609ebacd51fffcdcfec92c99329b758c6fdbce
2014-10-17 10:35:12 -05:00
Ehsan Akhgari
94a20717aa Bug 1083616 - Build on clang-cl with MSVC 2013 with fallback emulation; r=gps
We officially test MSVC2013 builds now, so it makes sense to
emulate the same compiler when building with clang-cl.  Also,
we need to build with fallback mode, since clang-cl doesn't
still support SEH.  We also need to pass these flags to NSS
too for the same reason.
2014-10-16 21:40:22 -04:00
Ehsan Akhgari
6e5f973009 Bug 1083887 - Package the clang-cl runtime library for ASAN on Windows ASAN builds; r=gps 2014-10-16 21:40:00 -04:00
Mike Hommey
2597924fe1 Bug 609976 - Fold mozjs.dll back into xul.dll. r=ehsan 2014-10-17 08:12:27 +09:00
Mike Hommey
3d87c3e63b Bug 922912 - Fold gkmedias.dll back into xul.dll. r=ehsan 2014-10-17 08:12:01 +09:00
Carsten "Tomcat" Book
e156f56b85 Merge m-c to mozilla-inbound 2014-10-16 16:10:53 +02:00
Carsten "Tomcat" Book
5cbd2e1c3c merge mozilla-inbound to mozilla-central a=merge 2014-10-16 16:07:06 +02:00
Chris Jones
54281ff17a Bug 1082997 - Add an option to explicitly disable skia-gpu and fix the build when it's disabled. r=mattwoodrow 2014-10-14 20:55:37 -07:00
Tooru Fujisawa
8189e6bc60 Bug 1080910 - Add USE_ICU variable separated from ENABLE_INTL_API. r=glandium 2014-10-10 02:55:00 -04:00
Ehsan Akhgari
a61d9465c0 Bug 1081414 - Suppress clang-cl warnings about inline 'new' and 'delete'; r=glandium
This is the clang-cl version of the fix to bug 928808.
2014-10-16 09:11:31 -04:00
Jordan Santell
f906459194 Bug 1077441 - create empty performance tool under build flag. r=vp 2014-10-15 09:46:00 +02:00
Mike Hommey
b79a0595df bug 1081034 part 4 - Remove wrapping for weak libc symbols. r=nfroyd
This effectively backs out bug 791419, a part of bug 850332, and bug 1001703.
2014-10-16 09:20:16 +09:00
Mike Hommey
3fa39f0e02 Bug 1081682 - Make --with-ccache use --with-compiler-wrapper under the hood. r=mshal
Also, avoid removing --with-ccache from all subconfigure calls. Only remove it
from NSPR's.
2014-10-15 14:47:02 +09:00
Mike Hommey
32c8131976 Bug 1080904 - Allow to pass an extra input file for folded-lib symbols through configure. r=mshal 2014-10-14 07:18:57 +09:00
Mike Hommey
59b9a6c072 Bug 1080341 - Remove --enable-wrap-malloc/--with-wrap-malloc. r=mshal
With bug 1077366, --enable-wrap-malloc is not abused anymore for android
linkage. Other than android linkage, the option has been of limited
usefulness since bug 804303 (replace-malloc), which allows runtime wrapping.

In fact, chances are --enable-wrap-malloc breaks things with jemalloc
integration.

This doesn't, however, remove those options from standalone js builds,
although it's not clear they're any useful there either.
2014-10-14 07:17:29 +09:00
Mike Hommey
b77d0f1d19 Bug 1077366 - Remove most symbol wrapping from Android builds. r=nfroyd
Since essentially everything is linked to libmozglue and libmozglue takes
precedence in symbol resolution in our dynamic linker, there is no need
to wrap most symbols. PR_GetEnv/PR_SetEnv still needs wrapping because
there's no other way to actually wrap the calls from NSPR itself and NSS,
as well as the symbols wrapped because our dynamic linker can't find them
in system libraries on some devices because they're weak.
2014-10-14 07:17:13 +09:00
Chris Peterson
ddfb721db5 Bug 1081208 - Disable -Wparentheses warnings-as-errors because extra parens are expected in preprocessed files. r=bz 2014-10-10 11:25:11 -07:00
Kai Engert
2251b66f13 Bug 1075686, Update Mozilla 35 to use NSS 3.17.2, RTM 2014-10-10 19:16:08 +02:00
Chris Peterson
6344d3ecf3 Bug 1079672 - Fix -Wpointer-arith warning in GonkAudioDecoderManager.cpp. r=cpearce 2014-10-04 23:18:43 -07:00
Eric Rahm
aee0114fd5 Bug 806819 - Part 2: Enable FORCE_PR_LOG globally. r=ted 2014-10-08 13:17:29 -07:00
Chris Peterson
788b67aaf6 Bug 1076698 - Part 3: Remove -Werror=implicit-int for jemalloc3. r=ted 2014-10-08 10:25:36 -07:00
Tooru Fujisawa
90f9cf6c63 Bug 1045958 - Enable ICU on B2G Desktop OS X build r=josh. 2014-10-08 22:43:47 +08:00
Chris Peterson
4ffe578250 Bug 1076698 - Part 2: Treat some individual gcc/clang warnings as errors in all directories. r=ted 2014-09-19 15:41:20 -07:00
Chris Peterson
7888f929d8 Bug 1076698 - Part 1: Remove unnecessary MOZ_*_SUPPORTS_WARNING checks for warnings supported by gcc 4.4+ and clang. r=ted 2014-09-23 19:48:47 -07:00
Chris Peterson
06fd088e9f Bug 1076698 - Part 0: Clean up configure.in's list of gcc/clang warnings. r=ted 2014-09-23 19:48:47 -07:00
Wes Kocher
445e1466e9 Backed out 5 changesets (bug 806819) for WinXP test failures on a CLOSED TREE
Backed out changeset 009ae35b0c67 (bug 806819)
Backed out changeset 5a57f87f5061 (bug 806819)
Backed out changeset f06cd735b5b3 (bug 806819)
Backed out changeset e25a2a8d4af4 (bug 806819)
Backed out changeset 70a167982c3f (bug 806819)
2014-10-06 16:32:50 -07:00
Eric Rahm
9fb6db7302 Bug 806819 - Part 2: Enable FORCE_PR_LOG globally. r=ted
--HG--
extra : rebase_source : 926d988f0e50abcd07c223b62d367b22ac242344
2014-10-06 13:08:02 -07:00
Mike Hommey
ce2e710e2e Bug 1077214 - Don't export DLLFLAGS from main configure. r=mshal
DLLFLAGS was exported from main configure so that it would be picked by NSPR
configure, allowing to pass down flags to link NSPR against mozglue. With
MOZ_FOLD_LIBS always enabled on MSVC builds, that is not necessary anymore
since the NSPR build system doesn't build any shared library anymore.
2014-10-04 10:34:13 +09:00
Mike Hommey
ca69fe623e Bug 1077212 - Move MOZ_FOLD_LIBS to configure. r=mshal
Setting MOZ_FOLD_LIBS should stop being an opt-in for individual applications,
which also makes them responsible for doing the right thing, which happens not
to be the case for B2G Desktop Linux builds.

Enforcing MOZ_FOLD_LIBS to be set on the relevant platforms in configure ensures
everything is setup up correctly, and also allows to stop caring about supporting
now hypothetical e.g. MSVC builds without MOZ_FOLD_LIBS (which require to pass
DLLFLAGS down to the nspr build system to make nspr built against mozglue which
would now be unnecessary)
2014-10-04 10:33:46 +09:00
Mike Hommey
8c10235da0 Bug 1077151 - Always use expandlibs descriptors when they exist. r=mshal
Currently, when there is both an expandlibs descriptor and an actual static
library, expandlibs picks the static library. This has the side effect that
if there are object files in the static library that aren't directly used,
they're dropped when linking, even when they export symbols that would be
exported in the final linked binary.

In most cases in the code base, files are not dropped that way. The most
notable counter-example is xpcomglue, where actually not dropping files
leads to link failure because of missing symbols those files reference
(yes, that would tend to say the glue is broken in some way).

On the opposite side, there is mozglue, which does have both a descriptor
and a static library (the latter being necessary for the SDK), and that
linking as a static library drops files that shouldn't be dropped (like
jemalloc). We're currently relying on -Wl,--whole-archive for those files
not to be dropped, but that won't really be possible without much hassle
in a world where mozglue dependencies live in moz.build land.

Switching expandlibs to use descriptors when they exist, even when there
is a static library (so, the opposite of the current behavior) allows to
drop -Wl,--whole-archive and prepare for a better future. However, as
mentioned, xpcomglue does still require to be linked through the static
library, so we need to make it a static library only.

To achieve that, we make NO_EXPAND_LIBS now actually mean no expandlibs
and use that to build the various different xpcomglues.
2014-10-04 10:33:00 +09:00
Mike Hommey
53ac2c146b Bug 1077132 - Force ELF hash style to System V when building with MOZ_LINKER. r=nfroyd 2014-10-04 10:32:27 +09:00
Ryan VanderMeulen
4b07046320 Merge fx-team to m-c. a=merge 2014-10-03 16:13:24 -04:00
Lucas Rocha
48bdbd6cb3 Bug 1065494 - Put the new tablet UI behind a build flag (r=nalexander)
--HG--
rename : mobile/android/base/resources/color-large-v11/new_tablet_tab_strip_item_title.xml => mobile/android/base/newtablet/res/color-large-v11/new_tablet_tab_strip_item_title.xml
rename : mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_default_favicon.png => mobile/android/base/newtablet/res/drawable-large-hdpi-v11/new_tablet_default_favicon.png
rename : mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_ic_menu_back.png => mobile/android/base/newtablet/res/drawable-large-hdpi-v11/new_tablet_ic_menu_back.png
rename : mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_ic_menu_forward.png => mobile/android/base/newtablet/res/drawable-large-hdpi-v11/new_tablet_ic_menu_forward.png
rename : mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_ic_menu_reload.png => mobile/android/base/newtablet/res/drawable-large-hdpi-v11/new_tablet_ic_menu_reload.png
rename : mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_menu.png => mobile/android/base/newtablet/res/drawable-large-hdpi-v11/new_tablet_menu.png
rename : mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_tabs_count.png => mobile/android/base/newtablet/res/drawable-large-hdpi-v11/new_tablet_tabs_count.png
rename : mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_tabs_count_foreground.png => mobile/android/base/newtablet/res/drawable-large-hdpi-v11/new_tablet_tabs_count_foreground.png
rename : mobile/android/base/resources/drawable-large-mdpi-v11/new_tablet_default_favicon.png => mobile/android/base/newtablet/res/drawable-large-mdpi-v11/new_tablet_default_favicon.png
rename : mobile/android/base/resources/drawable-large-mdpi-v11/new_tablet_ic_menu_back.png => mobile/android/base/newtablet/res/drawable-large-mdpi-v11/new_tablet_ic_menu_back.png
rename : mobile/android/base/resources/drawable-large-mdpi-v11/new_tablet_ic_menu_forward.png => mobile/android/base/newtablet/res/drawable-large-mdpi-v11/new_tablet_ic_menu_forward.png
rename : mobile/android/base/resources/drawable-large-mdpi-v11/new_tablet_ic_menu_reload.png => mobile/android/base/newtablet/res/drawable-large-mdpi-v11/new_tablet_ic_menu_reload.png
rename : mobile/android/base/resources/drawable-large-mdpi-v11/new_tablet_menu.png => mobile/android/base/newtablet/res/drawable-large-mdpi-v11/new_tablet_menu.png
rename : mobile/android/base/resources/drawable-large-mdpi-v11/new_tablet_tabs_count.png => mobile/android/base/newtablet/res/drawable-large-mdpi-v11/new_tablet_tabs_count.png
rename : mobile/android/base/resources/drawable-large-mdpi-v11/new_tablet_tabs_count_foreground.png => mobile/android/base/newtablet/res/drawable-large-mdpi-v11/new_tablet_tabs_count_foreground.png
rename : mobile/android/base/resources/drawable-large-v11/new_tablet_tab_strip_divider.xml => mobile/android/base/newtablet/res/drawable-large-v11/new_tablet_tab_strip_divider.xml
rename : mobile/android/base/resources/drawable-large-v11/new_tablet_tab_strip_item_bg.xml => mobile/android/base/newtablet/res/drawable-large-v11/new_tablet_tab_strip_item_bg.xml
rename : mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_default_favicon.png => mobile/android/base/newtablet/res/drawable-large-xhdpi-v11/new_tablet_default_favicon.png
rename : mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_ic_menu_back.png => mobile/android/base/newtablet/res/drawable-large-xhdpi-v11/new_tablet_ic_menu_back.png
rename : mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_ic_menu_forward.png => mobile/android/base/newtablet/res/drawable-large-xhdpi-v11/new_tablet_ic_menu_forward.png
rename : mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_ic_menu_reload.png => mobile/android/base/newtablet/res/drawable-large-xhdpi-v11/new_tablet_ic_menu_reload.png
rename : mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_menu.png => mobile/android/base/newtablet/res/drawable-large-xhdpi-v11/new_tablet_menu.png
rename : mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_tabs_count.png => mobile/android/base/newtablet/res/drawable-large-xhdpi-v11/new_tablet_tabs_count.png
rename : mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_tabs_count_foreground.png => mobile/android/base/newtablet/res/drawable-large-xhdpi-v11/new_tablet_tabs_count_foreground.png
rename : mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_default_favicon.png => mobile/android/base/newtablet/res/drawable-large-xxhdpi-v11/new_tablet_default_favicon.png
rename : mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_ic_menu_back.png => mobile/android/base/newtablet/res/drawable-large-xxhdpi-v11/new_tablet_ic_menu_back.png
rename : mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_ic_menu_forward.png => mobile/android/base/newtablet/res/drawable-large-xxhdpi-v11/new_tablet_ic_menu_forward.png
rename : mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_ic_menu_reload.png => mobile/android/base/newtablet/res/drawable-large-xxhdpi-v11/new_tablet_ic_menu_reload.png
rename : mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_menu.png => mobile/android/base/newtablet/res/drawable-large-xxhdpi-v11/new_tablet_menu.png
rename : mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_tabs_count.png => mobile/android/base/newtablet/res/drawable-large-xxhdpi-v11/new_tablet_tabs_count.png
rename : mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_tabs_count_foreground.png => mobile/android/base/newtablet/res/drawable-large-xxhdpi-v11/new_tablet_tabs_count_foreground.png
rename : mobile/android/base/resources/layout-large-v11/new_tablet_browser_toolbar.xml => mobile/android/base/newtablet/res/layout-large-v11/new_tablet_browser_toolbar.xml
rename : mobile/android/base/resources/layout-large-v11/new_tablet_tab_strip.xml => mobile/android/base/newtablet/res/layout-large-v11/new_tablet_tab_strip.xml
rename : mobile/android/base/resources/layout-large-v11/new_tablet_tabs_counter.xml => mobile/android/base/newtablet/res/layout-large-v11/new_tablet_tabs_counter.xml
rename : mobile/android/base/resources/layout-large-v11/tab_strip.xml => mobile/android/base/newtablet/res/layout-large-v11/tab_strip.xml
rename : mobile/android/base/resources/layout-large-v11/tab_strip_item.xml => mobile/android/base/newtablet/res/layout-large-v11/tab_strip_item.xml
rename : mobile/android/base/resources/layout-large-v11/tab_strip_item_view.xml => mobile/android/base/newtablet/res/layout-large-v11/tab_strip_item_view.xml
2014-10-03 11:47:46 +01:00
Nathan Froyd
4523144dc7 Bug 1072071 - disable warning C4267 on windows; r=mshal 2014-10-01 10:43:53 -04:00
Mike de Boer
9aa1b91cc1 Bug 1069816: implement Google contacts import class. r=abr 2014-10-02 12:37:38 +02:00
wesj
b57116e585 Bug 1071091 - Restrict the system download manager to non-release builds for now. r=nalexander 2014-09-24 22:29:00 -07:00
Carsten "Tomcat" Book
9f76561203 merge fx-team to mozilla-central a=merge 2014-09-26 13:27:36 +02:00
Robert Strong
f59a64baf8 Bug 1070428 - NSIS version check uses undefined REQ_NSIS_MAJOR_VER in output messages. r=ted 2014-09-25 13:29:01 -07:00
Gian-Carlo Pascutto
6f90e2262a Bug 1059573 - Add an option to use hardware AEC for WebRTC. r=jesup,ted 2014-09-24 19:11:58 +02:00
Jacek Caban
ee32d45c08 Bug 1060401 - NSS and NSPR libs can't be found in mingw builds. r=glandium 2014-09-23 11:51:36 +02:00
Timothy Arceri
7f81beb570 b=1068964 Bump GTK required version to 2.18.0 r=karlt
Now that Seamonkey is building with CentOS 6
we can bump the gtk version ready for some code tidy ups.

--HG--
extra : transplant_source : q%B0%27%5By%171%F2%21%04Q%B4%07s%0A%9C%BC%19%3C%8B
2014-09-18 08:17:11 +10:00
Terrence Cole
1c6b675dce Bug 987666 - Remove root-analysis build option from root configure.in; r=sfink
--HG--
extra : rebase_source : b6fb9f8f13feddbb94b57cb65403519703cc37e0
2014-09-25 16:56:44 -07:00
David Keeler
e6fff35ba9 bug 1053565 - update minimum system NSS requirement in configure.in (it is now 3.17.1) r=glandium 2014-09-11 16:12:14 -07:00