Commit Graph

4576 Commits

Author SHA1 Message Date
Ehsan Akhgari
17aef44cfc Bug 1117028 - Try to look for zipalign in all of Android build tools; r=nalexander
Some Android SDK installations do not have the zipalign program in
the same directory as other Android build tools.  For example,
zipalign may be found in /build-tools/21.1.2 whereas the
rest of the build tools are in /build-tools/android-4.4.
2015-01-06 23:33:48 -05:00
Ehsan Akhgari
03981eb9bb Bug 1115426 - Fix static-analysis builds on OSX on the infrasturcture, and add a mozconfig for such builds; r=glandium
This also cleans up some of the existing mozconfig files.
2015-01-06 12:01:13 -05:00
Ehsan Akhgari
721832ff85 Bug 1117029 - Move the GCC minimum version checks to MOZ_TOOL_VARIABLES; r=glandium 2015-01-06 12:01:12 -05:00
Ms2ger
16ada4e714 Bug 1117068 - Part b: Remove checks for GCC PR 39608; r=mshal
The fix is included in GCC 4.4, which is our minimum supported version.
2015-01-05 19:18:58 +01:00
Prashant Baisla
a44cc8c44c Bug 1091269 - Removed ZipFileReader class from automationutils.py and changed automation.py.in to use zipfile.extractall. r=jgriffin 2014-12-20 14:45:48 +01:00
Ehsan Akhgari
3474c1cff3 Bug 1111269 - Enable running the clang-plugin tests as part of the build; r=glandium 2014-12-24 12:13:36 -05:00
Nathan Froyd
40f59091b1 Backout 4aa280efb6ea (bug 1114745) for various test bustage 2014-12-23 10:40:57 -05:00
Nathan Froyd
8f1cfd85fd Bug 1114745 - remove dead IS_ASAN defines from automation-build.mk; r=ted
Nothing uses IS_ASAN, likely because all relevant uses have been ported
over to mozinfo.
2014-12-22 16:00:34 -05:00
Ehsan Akhgari
3b65f212d1 Bug 1114267 - Part 1: Add an analysis to force some classes to have trivial ctors and dtors; r=jrmuizel 2014-12-22 18:15:42 -05:00
Ehsan Akhgari
4f72aaa22b Bug 773014 - Part 1: Add an analysis for marking classes as global-only; r=jrmuizel 2014-12-22 18:10:32 -05:00
Brian Smith
beff7d1c02 Bug 1111397, Part 2: Remove test_bug484111.html, r=keeler
--HG--
extra : rebase_source : 56617ea82e9028295203173d1ea5e6ccfdbf9722
2014-12-14 21:51:26 -08:00
Ehsan Akhgari
9c078e03a4 Bug 1112974 - Try to find llvm-config through clang first before looking at $PATH; r=glandium
Right now, if the LLVMCONFIG variable is not set in the .mozconfig, we
first look for the system default llvm-config and only then we ask clang
itself, which breaks building with the clang plugin if you make $CC and
$CXX point to a non-default clang binary.  This patch fixes the issue
by reversing the search order.

--HG--
extra : rebase_source : 23ab716f4e220097e4c31092475dba769f4e7dfc
2014-12-19 13:13:44 -05:00
Ehsan Akhgari
ec1321f90b Bug 867348 - Part 1: Add an analysis that catches calls to certain functions involving arithmetic expressions; r=jrmuizel 2014-12-18 15:25:15 -05:00
R Kent James
e876dbbe91 Bug 1111063 - Support XPCOMBinary with msvcrt=static. r=glandium 2014-12-12 16:33:00 -05:00
Ryan VanderMeulen
3d7d4af71d Backed out changesets acb4dd16755c and 40768f723990 (bug 867348) for static analysis bustage.
CLOSED TREE
2014-12-18 15:59:51 -05:00
Ehsan Akhgari
b791aba21c Bug 867348 - Part 1: Add an analysis that catches calls to certain functions involving arithmetic expressions; r=jrmuizel
--HG--
extra : rebase_source : d89b16b9ab591479400a3e5e89b217a67319669d
2014-12-18 15:25:15 -05:00
Mike Shal
c3240b1158 Bug 1109136 - add upload artifact list to mach_build_properties.json; r=glandium 2014-12-09 16:35:42 -05:00
Ryan VanderMeulen
5be405b39f Merge m-c to inbound. a=merge
--HG--
rename : xpcom/tests/TestExpirationTracker.cpp => xpcom/glue/tests/gtest/TestExpirationTracker.cpp
2014-12-16 16:05:26 -05:00
Jed Davis
c70c01f1a7 Bug 777948 - Enable position-independent executables on B2G (>= JB 4.1). r=mwu 2014-12-12 14:33:00 -05:00
Ehsan Akhgari
828c32884e Bug 1111425 - Silence the warning about operator new returning null in TestNonHeapClass.cpp; r=jrmuizel
clang issues the following warning on this:
'operator new' should not return a null pointer unless it is declared 'throw()' or 'noexcept'
2014-12-16 00:38:21 -05:00
Ehsan Akhgari
c4df1e993f Bug 1111266 - Optimize the clang plugin a bit; r=jrmuizel
--HG--
extra : rebase_source : a716418dc06db34fe62ee08bcf33e99c41400c32
2014-12-16 12:54:06 -05:00
Ehsan Akhgari
39ece9769c Bug 1009631 - Add a static check to the clang plugin to detect bad implicit conversion constructors; r=jcranmer 2014-12-13 14:18:54 -05:00
Masatoshi Kimura
b1f989d9f1 Bug 1092835 - Tests for SSL3/RC4 only servers. r=keeler,past 2014-12-13 20:09:02 +09:00
Tom Tromey
941025cb98 Bug 1047124 - Clean up memory leaks. r=BenWa 2014-12-11 09:41:00 -05:00
Carsten "Tomcat" Book
3a0ff08d6c Backed out changeset 53adf5b021fa (bug 1047124) for Huge Memory Leaks on a CLOSED TREE 2014-12-11 11:44:11 +01:00
Tom Tromey
5b0be214c9 Bug 1047124 - clean up memory leaks. r=benwa 2014-11-25 10:45:00 +01:00
Nicholas Nethercote
98688c1a41 Bug 1100851 - Tweak DMD to account for the fact that $DMD can now be undefined. r=glandium.
Now that defining $DMD is no longer necessary to run DMD, this patch does the
following.
- Removes all the places where we set DMD=1 (test harnesses, etc.)
- Still handles DMD=1, for backwards compatibility.
- Prints "$DMD is undefined" at DMD start-up if appropriate.
- Writes a |null| value for |dmdEnvVar| in the JSON if $DMD is undefined. Bumps
  the DMD output version number accordingly.
- Changes a bunch of the test files accordingly, including changing the mode of
  script-ignore-alloc-fns.json in order to test a case where $DMD is undefined.

--HG--
extra : rebase_source : eb1ef5722410734ce6d7658465ff6f442ee4ed49
2014-11-27 21:04:46 -08:00
Ehsan Akhgari
6a31450ee5 Bug 1109246 - Support the ToT clang in the clang-plugin; r=jrmuizel 2014-12-10 10:46:10 -05:00
Gregory Szorc
7ed33002a4 Bug 1108294 - Remove python/codegen from virtualenv; r=froydnj
The python/codegen directory is empty. Remove it from the virtualenv.

--HG--
extra : rebase_source : 975806cc506631b2174c6b0304973923eda9f766
2014-12-06 15:49:25 -08:00
Ryan VanderMeulen
1bdab6fe7b Backed out changesets fb903f13f215, 9c5c712698e4, and 36d257ead3da (bug 1092835) for causing test_csp_allow_https_schemes.html permafail on Android 2.3.
CLOSED TREE
2014-12-09 14:00:47 -05:00
Masatoshi Kimura
9871309b39 Bug 1092835 - Tests for SSL3/RC4 only servers. r=keeler,past 2014-12-10 00:54:07 +09:00
Andrew Halberstadt
3ffffd9536 Bug 1108638 - Set correct installer_url buildbot property when code coverage is enabled, r=gps
--HG--
extra : rebase_source : 3a8bb8fee58047ae89161c3fd58cb2d8fb464cf3
2014-12-08 13:32:48 -05:00
Ehsan Akhgari
f783eeaa1c Bug 1108595 - Enable using libc++ in clang-plugin on OSX 10.10; r=glandium 2014-12-09 08:51:15 -05:00
Byron Campen [:bwc]
3af28ea884 Bug 1091242 - Part 6: Wiring the new JSEP handler code in. See https://github.com/unicorn-wg/gecko-dev/tree/multistream_rebase for more history. r=jesup, r=smaug 2014-11-19 16:16:29 -08:00
Phil Ringnalda
5fe54ea0fd Backed out 10 changesets (bug 1091242) for Android/b2g non-unified build bustage
CLOSED TREE

Backed out changeset 7f72b55c5de7 (bug 1091242)
Backed out changeset f1501aa24397 (bug 1091242)
Backed out changeset 7fde5994aee5 (bug 1091242)
Backed out changeset 59b415714087 (bug 1091242)
Backed out changeset dadb65fedc08 (bug 1091242)
Backed out changeset 21be81424e4e (bug 1091242)
Backed out changeset 498fb1dafba5 (bug 1091242)
Backed out changeset 8d0653eb85ab (bug 1091242)
Backed out changeset c82d484e135a (bug 1091242)
Backed out changeset 3e0c8932f1b1 (bug 1091242)
2014-12-08 20:53:07 -08:00
Byron Campen [:bwc]
bb404e8254 Bug 1091242 - Part 6: Wiring the new JSEP handler code in. See https://github.com/unicorn-wg/gecko-dev/tree/multistream_rebase for more history. r=jesup, r=smaug 2014-11-19 16:16:29 -08:00
Geoff Brown
9105a62d43 Bug 1093137 - Log stack trace for Robocop exceptions; r=chmanchester 2014-12-01 20:37:09 -08:00
James Willcox
9496c78f68 Bug 1099345 - Add more descriptive debugging output to the Android SDK code generator r=nalexander
--HG--
extra : rebase_source : 47d675ebe19db1a488498a19834674fe2fd8dc4f
2014-11-26 15:16:08 -06:00
Georg Koppen
144cfd9761 Bug 1067893 - Detect OTOOL in configure. r=glandium 2014-11-25 05:12:00 -05:00
Carsten "Tomcat" Book
351cb789a0 merge fx-team to mozilla-central a=merge 2014-11-25 12:51:23 +01:00
Nick Alexander
ef888e008b Bug 1103121 - Add |mach gradle| command for building Fennec Gradle. r=gps
I went with gradle instead of gradlew because it's more likely to be
what users consider.  And mach helpfully fixes up the uncommon typo.

This is a little hard-coded right now but I don't think it's likely
any other Gradle consumer will arise in the short term.

--HG--
extra : source : 67ce3d7591f944fa458758d97f443651f0e40dac
extra : amend_source : d10846e845deda5d368bdfdbb5b3d68706038992
extra : histedit_source : fb30750f389444a9619778d4c690d7de5e5fcbc1
2014-11-21 12:40:00 -08:00
Mike Hommey
67932112a9 Bug 1102602 - Avoid moz.build errors when passing a mozglue argument to Gecko* templates. r=gps 2014-11-21 09:38:08 +09:00
Mike Shal
e626e77286 Bug 1091668 - Make/sign EME voucher; r=ted 2014-11-03 11:26:58 -05:00
Carsten "Tomcat" Book
c7343ddfa9 Merge mozilla-central to mozilla-inbound 2014-11-21 13:00:50 +01:00
Wes Kocher
ae7f9a4094 Merge m-c to fx-team a=merge CLOSED TREE 2014-11-20 18:06:48 -08:00
Margaret Leibovic
51f24d29b2 Bug 786638 - Create basic framework for testing reading list pages. r=bnicholson,nalexander
--HG--
rename : mobile/android/base/tests/robocop_article.html => mobile/android/base/tests/reader_mode_pages/basic_article.html
2014-11-20 17:47:00 -08:00
Nazma Panjwani
9bd7bfc683 Bug 1091280 - moved options from AutomationUtils.addCommonOptions to runreftest.py, mochitest_options.py, runxpcshelltests.py and removed the addCommonOptions from automationUtils and automation.py.in, r=ahal 2014-11-19 12:31:45 -08:00
Wes Kocher
c86c58697d Merge actual fx-team (previous merge push was a mislabeled inbound merge) to m-c a=merge 2014-11-19 18:49:45 -08:00
Nick Alexander
3cab90a5de Bug 1099501 - Export and use ANDROID_TOOLS where appropriate. r=snorp,bnicholson
In certain configurations, in particular when installing the Android SDK
using HomeBrew, one sees a configuration with symlinks like:

    [brian@brian-macbook git]$ ls -l /usr/local/Cellar/android-sdk/23.0.2/
    total 72
    ...
    lrwxr-xr-x   1 brian  admin    38 Nov 14 16:39 platforms -> ../../../var/lib/android-sdk/platforms
    ...
    drwxr-xr-x  26 brian  admin   884 Nov 14 17:43 tools

In this case, we have
ANDROID_SDK=/usr/local/Cellar/android-sdk/23.0.2/platforms/android-21.

It is an anti-pattern to use ANDORID_SDK/.. to find other paths in the
tree.  This pattern is used in at least two places:

1) When we try to find
/usr/local/Cellar/android-sdk/23.0.2/platforms/android-21/../../tools,
we end up in the /usr/local/var/lib subtree.  This patch works around
that by exporting and using ANDROID_TOOLS; ANDROID_TOOLS itself is
extracted using path matching, rather than following .. through the
filesystem.

2) We also need to use ANDROID_SDK_ROOT rather than
ANDROID_SDK/../.. through-out.

--HG--
extra : rebase_source : 5e0323a94f2b80550f17a624e16f338cdeec406d
2014-11-17 11:12:00 -08:00
Nicholas Nethercote
1ee08165ec Bug 1069695 - Use --trace-children=yes in |mach valgrind-test|. r=jseward.
--HG--
extra : rebase_source : 3514fc02297fea921c13df7c8c02ab07c54616ab
2014-11-11 20:47:00 -08:00