Commit Graph

2718 Commits

Author SHA1 Message Date
Jan Keromnes
a031765db2 Bug 1011562 - Ship Firefox OS fonts with the simulator. r=fabrice, r=mshal 2014-10-21 12:34:00 -04:00
Ryan VanderMeulen
81da242472 Merge inbound to m-c. a=merge 2014-10-21 15:14:52 -04:00
Joshua Cranmer
0430ef3a0d 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
565f8ffb31 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
8244c100a6 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
a38c7ef1a7 Followup to bug 609976 - Build ICU as a shared library on windows. r=mshal 2014-10-18 09:28:57 +09:00
Wes Kocher
a074f0af18 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
8b85099cf1 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
e76a67393f 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
52b11ce382 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
e9903e787b Bug 609976 - Fold mozjs.dll back into xul.dll. r=ehsan 2014-10-17 08:12:27 +09:00
Mike Hommey
2e2754a2d8 Bug 922912 - Fold gkmedias.dll back into xul.dll. r=ehsan 2014-10-17 08:12:01 +09:00
Carsten "Tomcat" Book
f7c5abc02e Merge m-c to mozilla-inbound 2014-10-16 16:10:53 +02:00
Carsten "Tomcat" Book
bd3ae70590 merge mozilla-inbound to mozilla-central a=merge 2014-10-16 16:07:06 +02:00
Chris Jones
4327b3c90c 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
cb75807d6d Bug 1080910 - Add USE_ICU variable separated from ENABLE_INTL_API. r=glandium 2014-10-10 02:55:00 -04:00
Ehsan Akhgari
1615e69b3a 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
611b873bd3 Bug 1077441 - create empty performance tool under build flag. r=vp 2014-10-15 09:46:00 +02:00
Mike Hommey
3234728290 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
4f241ac97b 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
916e59d701 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
84b7abed0a 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
bf80a113ab 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
172b9cd211 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
f46a237e82 Bug 1075686, Update Mozilla 35 to use NSS 3.17.2, RTM 2014-10-10 19:16:08 +02:00
Chris Peterson
f3886513b5 Bug 1079672 - Fix -Wpointer-arith warning in GonkAudioDecoderManager.cpp. r=cpearce 2014-10-04 23:18:43 -07:00
Eric Rahm
0362ec9d3c Bug 806819 - Part 2: Enable FORCE_PR_LOG globally. r=ted 2014-10-08 13:17:29 -07:00
Chris Peterson
5211cd63b5 Bug 1076698 - Part 3: Remove -Werror=implicit-int for jemalloc3. r=ted 2014-10-08 10:25:36 -07:00
Tooru Fujisawa
79176b9175 Bug 1045958 - Enable ICU on B2G Desktop OS X build r=josh. 2014-10-08 22:43:47 +08:00
Chris Peterson
4faf8c6bc2 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
6e5ef27696 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
f6d77259d7 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
5000218064 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
f39d82e0be 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
546063e348 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
3b917517d3 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
38cd110ce5 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
cbbcb1dfee 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
91d19ee405 Merge fx-team to m-c. a=merge 2014-10-03 16:13:24 -04:00
Lucas Rocha
cb1a5a211d 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
ff14fa3eaa Bug 1072071 - disable warning C4267 on windows; r=mshal 2014-10-01 10:43:53 -04:00
Mike de Boer
61b3ef0e26 Bug 1069816: implement Google contacts import class. r=abr 2014-10-02 12:37:38 +02:00
wesj
8384f6ab46 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
7bcab5f21e merge fx-team to mozilla-central a=merge 2014-09-26 13:27:36 +02:00
Robert Strong
4c0335c89f 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
57952a8bcb Bug 1059573 - Add an option to use hardware AEC for WebRTC. r=jesup,ted 2014-09-24 19:11:58 +02:00
Jacek Caban
a0bf708504 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
afe5d7708c 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
476f1c3648 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
38fea4329e 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