Commit Graph

2720 Commits

Author SHA1 Message Date
Hiroyuki Ikezoe
7aa8403525 Bug 1084997 - Replace '\' in MOZ_BUILD_APP with '/' to eliminate the difference between windows and others. r=glandium 2014-10-22 07:18:00 +02:00
Panos Astithas
bb949c4017 Bug 1024110 - Change Aurora's default profile behavior to use channel-specific profiles. r=bsmedberg f=gavin,markh 2014-09-23 21:49:03 +03:00
Jan Keromnes
23ed99d959 Bug 1011562 - Ship Firefox OS fonts with the simulator. r=fabrice, r=mshal 2014-10-21 12:34:00 -04:00
Ryan VanderMeulen
cb0bff9736 Merge inbound to m-c. a=merge 2014-10-21 15:14:52 -04:00
Joshua Cranmer
4400b2a22f 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
e6fdc3e284 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
2e13c67070 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
1ab54a1b10 Followup to bug 609976 - Build ICU as a shared library on windows. r=mshal 2014-10-18 09:28:57 +09:00
Wes Kocher
7c26086f75 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
d1679cdb9c 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
c3f6508440 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
fa53abc047 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
24c79e15e0 Bug 609976 - Fold mozjs.dll back into xul.dll. r=ehsan 2014-10-17 08:12:27 +09:00
Mike Hommey
b681b23188 Bug 922912 - Fold gkmedias.dll back into xul.dll. r=ehsan 2014-10-17 08:12:01 +09:00
Carsten "Tomcat" Book
e6a9ddaca8 Merge m-c to mozilla-inbound 2014-10-16 16:10:53 +02:00
Carsten "Tomcat" Book
c3f8f98b4e merge mozilla-inbound to mozilla-central a=merge 2014-10-16 16:07:06 +02:00
Chris Jones
e3d70da1dd 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
dbd0aadeb5 Bug 1080910 - Add USE_ICU variable separated from ENABLE_INTL_API. r=glandium 2014-10-10 02:55:00 -04:00
Ehsan Akhgari
4e75b08de6 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
d25d54933b Bug 1077441 - create empty performance tool under build flag. r=vp 2014-10-15 09:46:00 +02:00
Mike Hommey
3bdc381f46 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
d2f7286d95 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
143fd413ed 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
7198a50710 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
b08088c7c1 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
4720f6fef2 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
486d122683 Bug 1075686, Update Mozilla 35 to use NSS 3.17.2, RTM 2014-10-10 19:16:08 +02:00
Chris Peterson
32977903f2 Bug 1079672 - Fix -Wpointer-arith warning in GonkAudioDecoderManager.cpp. r=cpearce 2014-10-04 23:18:43 -07:00
Eric Rahm
46ba903bec Bug 806819 - Part 2: Enable FORCE_PR_LOG globally. r=ted 2014-10-08 13:17:29 -07:00
Chris Peterson
ab88e89f3c Bug 1076698 - Part 3: Remove -Werror=implicit-int for jemalloc3. r=ted 2014-10-08 10:25:36 -07:00
Tooru Fujisawa
457a6d17e3 Bug 1045958 - Enable ICU on B2G Desktop OS X build r=josh. 2014-10-08 22:43:47 +08:00
Chris Peterson
0b6fd76362 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
d943611ddc 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
38bb9255d0 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
5d7f3c7007 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
bd73b23136 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
2cf4e5103f 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
608d70771a 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
b4265f0fa8 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
0406c0c45e 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
d222e46ad3 Merge fx-team to m-c. a=merge 2014-10-03 16:13:24 -04:00
Lucas Rocha
020b188c14 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
94fd463d11 Bug 1072071 - disable warning C4267 on windows; r=mshal 2014-10-01 10:43:53 -04:00
Mike de Boer
b7328204e1 Bug 1069816: implement Google contacts import class. r=abr 2014-10-02 12:37:38 +02:00
wesj
5b33ccde26 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
e8c52fe173 merge fx-team to mozilla-central a=merge 2014-09-26 13:27:36 +02:00
Robert Strong
25f34aaa79 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
2d486eeb3a Bug 1059573 - Add an option to use hardware AEC for WebRTC. r=jesup,ted 2014-09-24 19:11:58 +02:00
Jacek Caban
fc9cce0e16 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
dd9c48f685 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