Commit Graph

4772 Commits

Author SHA1 Message Date
L. David Baron
56a377b2d2 Bug 1142352 - Add a configure test for the gcc version of the host compiler when cross compiling. r=glandium
The duplication of the code higher up is a little bit annoying, but I
don't see an easy way to avoid that.  It's also still quite far from
duplicating everything.

I tested locally with a Fennec build that if I bump the requirement from
4.6 to 4.9, I get the expected build error.
2015-03-25 08:07:09 +09:00
Axel Hecht
1ce66ccec6 Bug 940103 - Add a mach command to call compare-locales. r=gps
We're using as many defaults from the configure step as we can. We're also opinionated upon the defaults, but obviously allow most compare-locales options to be specified.

There are two exceptions:
Reference language is specified to be en-US, without optional argument. This is our in-tree command, and the reference language is known.
We always clobber the merge dir, and don't give an option not to. We default to a merge dir in the objdir, so we don't need to be that paranoid as in the standalone version.

Also, compare-locales clobbers merge-dir/browser etc, so you're not going to get / removed.

--HG--
extra : rebase_source : c0f63e566779e83201708d05966f3583ae82e4ee
2015-03-18 18:47:36 +01:00
Jim Blandy
664a32d9e7 Bug 1134039: Make SpiderMonkey standalone (JS_STANDALONE) builds use jemalloc and mozglue by default. r=glandium
JS_STANDALONE builds don't need everything in mozglue; have mozglue omit the
unneeded code for such builds.

Since the SpiderMonkey binaries are now more like the other Gecko binaries, we
can remove some special cases for JS_STANDALONE in GeckoSharedLibrary,
GeckoProgram, etc. All Gecko binaries now use mozglue, which contains mfbt, so
we no longer need mention mfbt explicitly.

Add a property to the getBuildConfiguration testing function's result that
indicates whether we're using jemalloc or not.

Include the newly necessary source directories in the SpiderMonkey source
package.
2015-03-19 02:12:53 -07:00
Mike Shal
47434653c0 Bug 1137000 - Enable SDK building on nightlies; r=glandium 2015-03-17 15:29:07 -04:00
Bob Owen
b7b394038a Bug 1144155 Part 1: Bump our minimum supported GCC version for Gecko up from 4.6 to 4.7. r=glandium 2015-03-19 10:56:13 +00:00
Victor Porof
3a6e36b016 Bug 1123815 - Merge gum into fx-team to enable the Performance++ tool, r=me 2015-03-14 16:14:37 -04:00
Carsten "Tomcat" Book
6caed0d2ed Backed out changeset e3a4467dc9df (bug 1142352) for causing arm build bustage 2015-03-13 09:43:25 +01:00
Carsten "Tomcat" Book
061fc98b65 Backed out changeset 86a5fea1cd01 (bug 1142420) 2015-03-13 09:42:30 +01:00
L. David Baron
23b631aeab Bug 1142420 - Require that the same compiler version be used for C and C++ (at the very least, so that our version checks are valid for both). r=glandium
I tested locally that both checks give the expected error if I
temporarily change the != to an =.

--HG--
extra : transplant_source : %01N%B9%8B%BC%1E%07%D6%AE%BA2%7B%87%FB%25Y%19%B6%A9%D3
2015-03-12 23:28:55 -07:00
L. David Baron
7c6b3d298f Bug 1142352 - Add a configure test for the gcc version of the host compiler when cross compiling. r=glandium
The duplication of the code higher up is a little bit annoying, but I
don't see an easy way to avoid that.  It's also still quite far from
duplicating everything.

I tested locally with a Fennec build that if I bump the requirement from
4.6 to 4.9, I get the expected build error.

--HG--
extra : transplant_source : D%D3%FE%169%05%D0X%F3KK%17%9EW%88%BCs%9B%86%5D
2015-03-12 23:28:55 -07:00
Wes Kocher
014849cca6 Merge m-c to inbound a=merge CLOSED TREE 2015-03-10 16:11:23 -07:00
Mike Shal
48668314ac Bug 1141534 - fix mulet nightly mozconfigs; r=bhearsum
We don't want uploadsymbols or update-packaging for nightly mulet
builds, but these were being set by the underlying browser mozconfigs.
2015-03-10 16:20:02 -04:00
Mike Hommey
364038011c Bug 868814 - Fold mozalloc library into mozglue. r=njn
--HG--
rename : memory/mozalloc/moz.build => memory/mozalloc/staticruntime/moz.build
2015-03-10 10:01:52 +09:00
Carsten "Tomcat" Book
58a19cdf9c Merge mozilla-central to fx-team 2015-03-10 14:05:23 +01:00
Bhargav Chippada
c4c85779d8 Bug 1112605 - FenneNativeElement "unable to find view" error should log human-readable view id. r=Margaret Leibovic 2015-03-05 04:56:00 +01:00
Chris Manchester
dc928c0e88 Bug 1109183 - Fix imports of the marionette client and remove spurious entry from sys.path provided by mach. r=ahal
--HG--
extra : rebase_source : 1c6579dfd5cd44973a74b5c0f81b14fca6f170d4
2015-03-03 17:37:19 -08:00
Mike Shal
8ced741c16 Bug 1132123 - Port mulet to mozharness+mach; r=bhearsum 2015-02-25 17:25:59 -05:00
Makoto Kato
395bb213d6 Bug 946974 - Warning spam when building ICU. r=glandium 2015-03-04 19:13:12 +09:00
Gregory Szorc
92f0b9eb58 Bug 1138283 - Fix bad documentation around wildcard patterns; r=glandium
--HG--
extra : rebase_source : 0df22844fa50658da86f6c111868ac67fda3e21a
extra : amend_source : 0f4451ce80e327382c76a49bef9e7bdb1466f00f
extra : histedit_source : 7c76ee5dca5610704342741e7cb608c2bbb6d297
2015-03-03 09:21:23 -08:00
Anish
4063a569ed Bug 958147 - Choose one of run-if or skip-if and get rid of the other.r=jmaher, mwargers 2015-03-03 08:46:37 -05:00
Wes Kocher
b9799a40ef Merge m-c to fx-team a=merge CLOSED TREE 2015-03-02 13:07:53 -08:00
Ryan VanderMeulen
a83d879253 Backed out 11 changesets (bug 1132771) for SM test bustage on a CLOSED TREE.
Backed out changeset 1cd9344eb281 (bug 1132771)
Backed out changeset 3dac1282a10f (bug 1132771)
Backed out changeset b7ec05265c33 (bug 1132771)
Backed out changeset 4cc39c54099d (bug 1132771)
Backed out changeset 7eed09d39b9f (bug 1132771)
Backed out changeset c3a0cb4b45b1 (bug 1132771)
Backed out changeset 91d34d3107fa (bug 1132771)
Backed out changeset 6c44edc8208a (bug 1132771)
Backed out changeset ed135df39575 (bug 1132771)
Backed out changeset acdd5491f10e (bug 1132771)
Backed out changeset 4013d256b591 (bug 1132771)
2015-03-02 09:48:11 -05:00
Nigel Babu
19d4481b2a Backout Bug 1132771 for spidermonkey build bustage on CLOSED TREE 2015-03-02 17:13:05 +05:30
Gregory Szorc
b931cfa945 NO BUG - Fix reStructuredText warnings
Sphinx has been complaining about a number of reStructuredText warnings
for a while. Fix all the ones in .rst files.

Not asking for review because this is docs only and changing .rst files
can't break anything important.

DONTBUILD (NPOTB)
2015-03-01 22:51:32 -08:00
Gregory Szorc
c9f8e8262b Bug 1132771 - Fix grammar nits in moz.build documentation
These were left over from a Ms2ger review and weren't seen before
landing.

DONTBUILD (NPOTB)
2015-03-01 22:15:07 -08:00
Gregory Szorc
3ee0ca43a1 Bug 1132771 - Define some bug components; r=glandium
This patch defines bug components for code that I have historically
touched.

--HG--
extra : rebase_source : 738916cf41ac11c094f5c15667925a7221e6446e
extra : histedit_source : 0f7d5cd869a7b239def58877a8858159219cdf59
2015-02-26 11:43:45 -08:00
Gregory Szorc
06e4b253b9 Bug 1132771 - Add Files to moz.build with ability to define Bugzilla component; r=glandium
The Files sub-context allows us to attach metadata to files based on
pattern matching rules.

Patterns are matched against files in a last-write-wins fashion.

The sub-context defines the BUG_COMPONENT variable, which is a 2-tuple
(actually a named tuple) defining the Bugzilla product and component for
files. There are no consumers yet. But an eventual use case will be to
suggest a bug component for a patch/commit. Another will be to
automatically suggest a bug component for a failing test.

--HG--
extra : rebase_source : 0f4004d364f6c2fe2b7f306823cb94313f4ebfe5
extra : histedit_source : 2beea807a122e08ba152a37beec2fcbe80981b64
2015-02-27 13:56:26 -08:00
Gregory Szorc
8316cdb0b8 Bug 1132771 - Support and test for reading without a config object; r=glandium
We want the ability to read data from any moz.build file without needing
a full build configuration (running configure). This will enable tools
to consume metadata by merely having a copy of the source code and
nothing more.

This commit creates the EmptyConfig object. It is a config object that -
as its name implies - is empty. It will be used for reading moz.build
files in "no config" mode.

Many moz.build files make assumptions that variables in CONFIG are
defined and that they are strings. We create the EmptyValue type that
behaves like an empty unicode string. Since moz.build files also do some
type checking, we carve an exemption for EmptyValue, just like we do for
None.

We add a test to verify that reading moz.build files in "no config" mode
works. This required some minor changes to existing moz.build files to
make them work in the new execution mode.

--HG--
extra : rebase_source : 2f39e19c2eb11f937da85d41b9a514ca810d6be0
extra : source : af07351bf2d6e85293ae3edf0fe4ae6cbc0ce246
2015-02-26 10:21:52 -08:00
Tooru Fujisawa
0a48a9926a Bug 1108382 - Part 4: Do not use non-standard flag argument of String.prototype.replace in build/pgo/. r=jandem 2015-03-01 09:51:33 +09:00
Gregory Szorc
eaf5064744 Bug 1132771 - Define some bug components; r=glandium
This patch defines bug components for code that I have historically
touched.

--HG--
extra : rebase_source : 9e670da52247a8feb149e6419e8b488e84f93333
2015-02-26 11:43:45 -08:00
Gregory Szorc
85fc3da5dc Bug 1132771 - Add Files to moz.build with ability to define Bugzilla component; r=glandium
The Files sub-context allows us to attach metadata to files based on
pattern matching rules.

Patterns are matched against files in a last-write-wins fashion.

The sub-context defines the BUG_COMPONENT variable, which is a 2-tuple
(actually a named tuple) defining the Bugzilla product and component for
files. There are no consumers yet. But an eventual use case will be to
suggest a bug component for a patch/commit. Another will be to
automatically suggest a bug component for a failing test.

--HG--
extra : rebase_source : 9489738136d929a53db7f54bbe6acf3186e0a47c
2015-03-01 22:15:07 -08:00
Gregory Szorc
6d01f694ab Bug 1132771 - Support and test for reading without a config object; r=glandium
We want the ability to read data from any moz.build file without needing
a full build configuration (running configure). This will enable tools
to consume metadata by merely having a copy of the source code and
nothing more.

This commit creates the EmptyConfig object. It is a config object that -
as its name implies - is empty. It will be used for reading moz.build
files in "no config" mode.

Many moz.build files make assumptions that variables in CONFIG are
defined and that they are strings. We create the EmptyValue type that
behaves like an empty unicode string. Since moz.build files also do some
type checking, we carve an exemption for EmptyValue, just like we do for
None.

We add a test to verify that reading moz.build files in "no config" mode
works. This required some minor changes to existing moz.build files to
make them work in the new execution mode.

--HG--
extra : rebase_source : f701417f83dfa4e196e39182f8d0a6fea46c6fbb
extra : source : af07351bf2d6e85293ae3edf0fe4ae6cbc0ce246
2015-02-26 10:21:52 -08:00
Ted Mielczarek
be5d687375 bug 1135700 - Import the Python requests module. r=gps
--HG--
extra : rebase_source : 006da9e865e18df3d9ded6edbc00a96fec672dad
2015-02-23 11:27:50 -05:00
Mike Hommey
c20933cdda Bug 1137000 - Add support for SDK building to moz-automation.mk. r=mshal 2015-02-26 09:54:19 +09:00
David Burns
e9b13c916c Bug 1107336: update build and test targets to use new marionette driver; r=jgriffin
--HG--
extra : rebase_source : 6f68fe231f117fe7a1b2ddcc0841acc7c4023403
2015-02-23 14:45:50 +00:00
Nathan Froyd
ba7d45b74a Bug 1135654 - part 4 - remove libs:: rule for installing Valgrind suppressions in favor of INSTALL_TARGETS; r=mshal 2015-02-23 08:38:50 -05:00
Nathan Froyd
e4206bd308 Bug 1135654 - part 3 - move installation of MOZ_CLANG_RT_ASAN_LIB_PATH to moz.build; r=mshal 2015-02-23 08:29:12 -05:00
Nathan Froyd
99f8c6b73a Bug 1135654 - part 2 - move FINAL_TARGET's .gdbinit to FINAL_TARGET_FILES; r=mshal 2015-02-23 08:27:45 -05:00
Nathan Froyd
8033df00f9 Bug 1135654 - part 1 - move backtrace conversion scripts to FINAL_TARGET_FILES; r=mshal 2015-02-20 13:26:59 -05:00
Andrew McCreight
cc7daba0dd Bug 1073352, part 1 - Make the DOMWINDOW and DOCSHELL leak detector work with e10s. r=jmaher
This reworks how the Mochitest DOMWINDOW and DOCSHELL leak detector works. Rather than
collecting immediately in the top-level script, it sends a message to all processes
telling them to carry out collections. Each process prints out a message when it has
finished the collections. This message is used by the test harness to decide when windows
and docshells for that process should be have been destroyed.

In non-e10s mode, the shutdown leak detector is only run in the parent process, to work
around various issues with leak detection in the thumbnail process tests.
2015-02-24 13:00:54 -08:00
Mike Shal
f92e932543 Bug 1123990 - installer needs voucher.bin; r=glandium, r=cpearce, a=RyanVM 2015-02-19 10:04:16 -05:00
Kevin K.
c232a70058 Bug 1057600 - Don't require MOZILLA_OFFICIAL to include build revisions in build. Add MOZ_INCLUDE_SOURCE_INFO variable as an alternate way to include build revisions without setting MOZILLA_OFFICIAL. r=glandium 2015-02-17 22:10:03 -05:00
Andrew McCreight
d20d59ce3f Backout 1ffecdc47c6d for OSX and Windows docShell leaks. CLOSED TREE 2015-02-15 21:26:19 -08:00
Andrew McCreight
e0a76a26b8 Bug 1073352, part 1 - Make the DOMWINDOW and DOCSHELL leak detector work with e10s. r=jmaher
This reworks how the Mochitest DOMWINDOW and DOCSHELL leak detector works. Rather than
collecting immediately in the top-level script, it sends a message to all processes
telling them to carry out collections. Each process prints out a message when it has
finished the collections. This message is used by the test harness to decide when windows
and docshells for that process should be have been destroyed.
2015-02-14 11:43:45 -08:00
Ryan VanderMeulen
7f41ae0d0e Merge inbound to m-c. a=merge
CLOSED TREE
2015-02-12 17:53:41 -05:00
Phil Ringnalda
91c0a0aa64 Back out f543e83304e9 (bug 1123990) for nightly build bustage
CLOSED TREE
2015-02-11 22:12:49 -08:00
Randell Jesup
687807441c Bug 1132193: Re-enable AEC debug logging in getUserMedia r=pkerr
Temporarily disabled by landing for upstream webrtc branch 40.  Also saves
as .wav format now
2015-02-12 07:46:59 -05:00
Ryan VanderMeulen
999b92a3a5 Backed out 12 changesets (bug 1107336) for Marionette harness bustage on a CLOSED TREE.
Backed out changeset 5075f0063d70 (bug 1107336)
Backed out changeset 9ef91d4fcf3b (bug 1107336)
Backed out changeset 995911340bf7 (bug 1107336)
Backed out changeset 4817d3cd3810 (bug 1107336)
Backed out changeset dad798a5e595 (bug 1107336)
Backed out changeset 4f60c437140c (bug 1107336)
Backed out changeset f92a5c6256fa (bug 1107336)
Backed out changeset 399a436c6e5f (bug 1107336)
Backed out changeset 0d04801bb2f0 (bug 1107336)
Backed out changeset 60d9d4d20971 (bug 1107336)
Backed out changeset 9c4b171c23be (bug 1107336)
Backed out changeset a07bb95eb209 (bug 1107336)

--HG--
rename : testing/marionette/driver/marionette_driver/application_cache.py => testing/marionette/client/marionette/application_cache.py
rename : testing/marionette/driver/marionette_driver/by.py => testing/marionette/client/marionette/by.py
rename : testing/marionette/driver/marionette_driver/date_time_value.py => testing/marionette/client/marionette/date_time_value.py
rename : testing/marionette/driver/marionette_driver/decorators.py => testing/marionette/client/marionette/decorators.py
rename : testing/marionette/driver/marionette_driver/errors.py => testing/marionette/client/marionette/errors.py
rename : testing/marionette/driver/marionette_driver/expected.py => testing/marionette/client/marionette/expected.py
rename : testing/marionette/driver/marionette_driver/geckoinstance.py => testing/marionette/client/marionette/geckoinstance.py
rename : testing/marionette/driver/marionette_driver/gestures.py => testing/marionette/client/marionette/gestures.py
rename : testing/marionette/driver/marionette_driver/keys.py => testing/marionette/client/marionette/keys.py
rename : testing/marionette/driver/marionette_driver/marionette.py => testing/marionette/client/marionette/marionette.py
rename : testing/marionette/driver/marionette_driver/selection.py => testing/marionette/client/marionette/selection.py
rename : testing/marionette/driver/marionette_driver/wait.py => testing/marionette/client/marionette/wait.py
2015-02-11 12:15:22 -05:00
David Burns
b6314914e6 Bug 1107336: Update mach for newly created MarionetteDriver; r=jgriffin
--HG--
extra : rebase_source : 2cbbe28e94e54e2b13bcf8c9cd4c9300018d18e4
extra : source : e6d21c2fa111a6cf906cdc27bf0a38d5c78f285f
2014-12-09 20:14:23 +00:00
Mike Shal
15b689645a Bug 1123990 - installer needs voucher.bin; r=glandium, r=cpearce 2015-01-21 18:27:20 -05:00
Chris Manchester
88ee2578a8 Bug 1114474 - Unbreak some mach consumers of marionette.r=ahal 2015-02-10 13:55:33 -08:00
Andrew McCreight
8781b7b74c Bug 1129226 - Update LSan suppression for fixPlainObjectGroup. rs=ryanvm
CLOSED TREE
2015-02-06 10:02:44 -08:00
Carsten "Tomcat" Book
1ae8d449ac Backed out changeset 2742651b0cd9 (bug 1123990) for suspicion that this broke the nightly builds a=sheriffduty 2015-02-03 13:49:17 +01:00
Andrew McCreight
e59559ca29 Bug 1125930 - Rename LSan suppression. r=bhackett 2015-02-02 12:08:42 -08:00
Mike Shal
510f551561 Bug 1123990 - installer needs voucher.bin; r=glandium, r=cpearce 2015-01-21 18:27:20 -05:00
Mike Hommey
a35dbaeebf Bug 1126593 - Add a global fallible instance, so that using fallible works directly, everywhere. r=njn
--HG--
rename : memory/mozalloc/fallible.h => memory/fallible/fallible.h
2015-02-02 09:56:13 +09:00
Brian Smith
0947929dd6 Bug 1119072, Parts 1, 2, 4, 9, 17: Update build system to support MSVC 2015, r=glandium
--HG--
extra : rebase_source : fc8ac588acaa4fc4c7d9cd2216671e43db25ede3
2015-01-29 17:36:39 -08:00
Randell Jesup
74c5d9f4af Bug 1109248: Temporarily disable webrtc AEC debug dump until some rework is done rs=jesup 2015-01-29 18:33:36 -05:00
Randell Jesup
ead017e967 Bug 1109248: gyp changes to adapt to webrtc.org 40 update r=ted 2015-01-29 18:33:36 -05:00
James Lal
4eaf9e1e54 Bug 1068653 - Part 2 add taskcluster trygraph commands r=wcosta, garndt, mdas
--HG--
extra : rebase_source : 4d2c484bc780bd20c13b9bca129bd173ac66624a
extra : source : 630a93355767c7813dc7b761309f6728a79c2c80
2014-11-26 10:11:28 -08:00
Ehsan Akhgari
a84e5979ce Bug 1114999 - Part 1: Create an analysis for disallowing calling AddRef and Release on the return value of functions; r=jrmuizel 2015-01-22 17:54:54 -05:00
Carsten "Tomcat" Book
4d0b9273e4 Backed out changeset e6d21c2fa111 (bug 1107336) for breaking Web Platform Reftests on a CLOSED TREE 2015-01-21 16:14:03 +01:00
David Burns
cb7df25aff Bug 1107336: Update mach for newly created MarionetteDriver; r=jgriffin
--HG--
extra : rebase_source : 1ca3a7047dbaec3f29ec28e7914db1c9760a6f11
2014-12-09 20:14:23 +00:00
Carsten "Tomcat" Book
a2f9315326 merge mozilla-inbound to mozilla-central a=merge 2015-01-21 14:21:49 +01:00
Akos Kiss
250212e129 Bug 1122111 - Change pattern in autoconf/android.m4 to recognize arm-unknown-linux-androideabi target string returned by recent config.sub. r=glandium 2015-01-16 02:08:00 -05:00
Ehsan Akhgari
b7a9931db3 Bug 1122931 - Don't overwrite the AS variable in toolchain.m4; r=glandium
It looks like overwriting AS here is not intentional.  Before this patch,
it is impossible to override AS through mozconfig for anything that runs
past this stage in configure.
2015-01-20 09:42:06 -05:00
Ehsan Akhgari
b2262a1e39 Bug 1123459 - Add an informational note to the diagnostic explaining to use the explicit keyword; r=jrmuizel 2015-01-19 16:39:29 -05:00
Ehsan Akhgari
a402464ce0 Bug 1123429: Allow implicit conversions on abstract C++ classes; r=jrmuizel
Such classes cannot be constructed at all, so worrying about how their
constructors can be invoked is pointless.
2015-01-19 16:38:38 -05:00
Ehsan Akhgari
7afb1a818c Bug 927430 - Add a static analysis to detect is-NaN testing using |x == x| or |x != x|; r=jrmuizel
--HG--
extra : rebase_source : d80c866ecc7e5f415c83db757e82bd4bac299b67
2014-12-21 12:33:25 -05:00
Ehsan Akhgari
fb8a584ff5 Backed out changeset fae8ad41a604 (bug 927430) because of build bustage on a CLOSED TREE 2015-01-18 19:04:23 -05:00
Ehsan Akhgari
c63941d33e Bug 927430 - Add a static analysis to detect is-NaN testing using |x == x| or |x != x|; r=jrmuizel 2015-01-18 18:44:43 -05:00
Abhishek Bhattacharya
cec7cbbd44 Bug 1119921 - Fix "$ANDROID_VERSION" comparison tests. r=nalexander
--HG--
extra : amend_source : 50fa678c38bac71807cd09991d1b4239b5f666b9
2015-01-17 16:42:04 -08:00
Nikhil Marathe
fe2215618d Bug 1119021 - Implement fetch() redirects correctly. r=bkelly
--HG--
extra : rebase_source : 763d1052fae35a101a6859548b9cb137066dd1c6
2015-01-07 13:47:18 -08:00
Carsten "Tomcat" Book
db958a2de5 merge fx-team to mozilla-central a=merge 2015-01-13 14:27:06 +01:00
Richard Newman
39348a0b7d Bug 1077590 - Part 0: minor sanity fixes in FennecNativeDriver. r=gbrown 2015-01-11 17:18:14 -08:00
Mike Shal
d0c2ece498 Bug 1118774 - Add retries to ssh/scp in upload.py; r=gps
Previously, buildbot was responsible for the retrying logic. Now that
'make upload' is part of mach build, we need to add retries here.
2015-01-07 15:48:13 -05:00
Mike Shal
8f19bc0b8e Bug 1118774 - Import python redo library; r=gps 2015-01-07 14:18:20 -05:00
Masatoshi Kimura
bf312ad056 Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00
Wes Kocher
09febf6c77 Merge m-c to inbound a=merge 2015-01-09 21:00:13 -08:00
Trevor Saunders
bf4448d426 Bug 1077549 - Only support gcc 4.6+. r=glandium 2015-01-08 20:21:37 -05:00
Jim Chen
db34c64f29 Bug 1116589 - Use templated JNI classes in generated bindings; r=snorp 2015-01-09 19:33:57 -05:00
Mike Hommey
2973a15fbe Bug 1119571 - Update stlport to the latest from Android NDK. r=nfroyd 2015-01-10 06:52:33 +09:00
Mike Hommey
7d528797be Bug 1119571 - Backout the part of bug 1073003 touching stlport 2015-01-10 06:52:04 +09:00
Wes Kocher
f88bfbf94c Merge mozilla-inbound to mozilla-central a=merge 2015-01-08 17:08:12 -08:00
Dave Hylands
a6ca66e530 Bug 1073003 - Create an stlport modifications patch and update README.mozilla r=nfroyd (on a CLOSED TREE) 2015-01-08 13:52:22 -08:00
Dave Hylands
cd8a210555 Bug 1073003 - Fix warnings in stlport causing errors in emulator build. r=bzbarsky 2015-01-08 13:52:20 -08:00
Ehsan Akhgari
42db4dcf46 Bug 1119225 - Emulate Visual C++ 2013 Update 3 when using clang-cl; r=ted 2015-01-08 10:33:21 -05:00
Mike Hommey
a4f26488bc Bug 1091377 - Don't use -static-libstdc++ when building with stlport. r=mshal
It turns out that while it may have been needed at the time it was added (which,
retrospectively, I'm not even sure was the case), it definitely isn't needed
anymore.
2015-01-08 10:44:40 +09:00
Ted Mielczarek
9a6971c4f8 bug 1117900 - Explicitly require Update 3 for MSVC 2013. r=glandium 2015-01-08 08:23:28 -05:00
Nicholas Nethercote
97b5d348cc Bug 1014341 (part 1) - Remove trace-malloc. r=dbaron,glandium.
--HG--
extra : rebase_source : 771710c5427141d738eef112fab00951eb8e20e3
2015-01-07 16:13:03 -08:00
Mark Goodwin
3e0221da03 Bug 1096197 - Ensure SSL Error reports work when there is no failed certificate chain. r=keeler
--HG--
rename : browser/base/content/test/general/browser_bug846489.js => browser/base/content/test/general/browser_ssl_error_reports.js
rename : browser/base/content/test/general/browser_bug846489_content.js => browser/base/content/test/general/browser_ssl_error_reports_content.js
2015-01-07 02:28:00 -05:00
Ryan VanderMeulen
51d06e05f4 Bug 1114577 - Miscellaneous build system cleanups now that Windows SDK 8.1 is the minimum supported version. r=glandium 2015-01-07 11:32:07 -05:00
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
Nicholas Nethercote
464d8fa62a Bug 1123527 - Initialized some locals in TestNoArithmeticExprInArgument.cpp. r=ehsan.
I think these undefined variables don't matter because it's a static analysis
input, but defining them does stop cppcheck from complaining.

--HG--
extra : rebase_source : 9f663aad5c939af6798cb9a080d25256c3d105fe
2015-01-15 22:16:38 -08:00
Brian Smith
33a1219ee6 Bug 1119072: Backout cset bc297ccecb13 (parts 1, 2, 4, 9, 17) because I broke the build, a=backout 2015-01-20 16:59:52 -08:00
Brian Smith
7a02ba7054 Bug 1119072, Parts 1, 2, 4, 9, 17: Update build system to make MSVC2015 build succeed, r=glandium
--HG--
extra : rebase_source : 385a279690c1658915bffb348221b5142210bb31
2015-01-13 22:47:16 -08:00
Andrew McCreight
41cbe773bd Bug 1118852 - Print out information about leaked DOM windows and doc shells. r=chmanchester 2015-01-12 16:09:06 -08: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
Jan de Mooij
5d69afce1b Bug 1096280 part 2 - Add Octane to the PGO profile. r=h4writer
--HG--
rename : js/src/octane/base.js => build/pgo/js-input/octane/base.js
rename : js/src/octane/box2d.js => build/pgo/js-input/octane/box2d.js
rename : js/src/octane/code-load.js => build/pgo/js-input/octane/code-load.js
rename : js/src/octane/crypto.js => build/pgo/js-input/octane/crypto.js
rename : js/src/octane/deltablue.js => build/pgo/js-input/octane/deltablue.js
rename : js/src/octane/earley-boyer.js => build/pgo/js-input/octane/earley-boyer.js
rename : js/src/octane/gbemu-part1.js => build/pgo/js-input/octane/gbemu-part1.js
rename : js/src/octane/gbemu-part2.js => build/pgo/js-input/octane/gbemu-part2.js
rename : js/src/octane/mandreel.js => build/pgo/js-input/octane/mandreel.js
rename : js/src/octane/navier-stokes.js => build/pgo/js-input/octane/navier-stokes.js
rename : js/src/octane/pdfjs.js => build/pgo/js-input/octane/pdfjs.js
rename : js/src/octane/raytrace.js => build/pgo/js-input/octane/raytrace.js
rename : js/src/octane/regexp.js => build/pgo/js-input/octane/regexp.js
rename : js/src/octane/richards.js => build/pgo/js-input/octane/richards.js
rename : js/src/octane/splay.js => build/pgo/js-input/octane/splay.js
rename : js/src/octane/typescript-compiler.js => build/pgo/js-input/octane/typescript-compiler.js
rename : js/src/octane/typescript-input.js => build/pgo/js-input/octane/typescript-input.js
rename : js/src/octane/typescript.js => build/pgo/js-input/octane/typescript.js
rename : js/src/octane/zlib-data.js => build/pgo/js-input/octane/zlib-data.js
rename : js/src/octane/zlib.js => build/pgo/js-input/octane/zlib.js
2014-11-19 15:10:55 +01:00
Jan de Mooij
82a6d16159 Bug 1096280 part 1 - Move sunspider files in build/pgo/js-input to a new sunspider directory. r=ted
--HG--
rename : build/pgo/js-input/3d-cube.html => build/pgo/js-input/sunspider/3d-cube.html
rename : build/pgo/js-input/3d-morph.html => build/pgo/js-input/sunspider/3d-morph.html
rename : build/pgo/js-input/3d-raytrace.html => build/pgo/js-input/sunspider/3d-raytrace.html
rename : build/pgo/js-input/access-binary-trees.html => build/pgo/js-input/sunspider/access-binary-trees.html
rename : build/pgo/js-input/access-fannkuch.html => build/pgo/js-input/sunspider/access-fannkuch.html
rename : build/pgo/js-input/access-nbody.html => build/pgo/js-input/sunspider/access-nbody.html
rename : build/pgo/js-input/access-nsieve.html => build/pgo/js-input/sunspider/access-nsieve.html
rename : build/pgo/js-input/bitops-3bit-bits-in-byte.html => build/pgo/js-input/sunspider/bitops-3bit-bits-in-byte.html
rename : build/pgo/js-input/bitops-bits-in-byte.html => build/pgo/js-input/sunspider/bitops-bits-in-byte.html
rename : build/pgo/js-input/bitops-bitwise-and.html => build/pgo/js-input/sunspider/bitops-bitwise-and.html
rename : build/pgo/js-input/bitops-nsieve-bits.html => build/pgo/js-input/sunspider/bitops-nsieve-bits.html
rename : build/pgo/js-input/controlflow-recursive.html => build/pgo/js-input/sunspider/controlflow-recursive.html
rename : build/pgo/js-input/crypto-aes.html => build/pgo/js-input/sunspider/crypto-aes.html
rename : build/pgo/js-input/crypto-md5.html => build/pgo/js-input/sunspider/crypto-md5.html
rename : build/pgo/js-input/crypto-sha1.html => build/pgo/js-input/sunspider/crypto-sha1.html
rename : build/pgo/js-input/date-format-tofte.html => build/pgo/js-input/sunspider/date-format-tofte.html
rename : build/pgo/js-input/date-format-xparb.html => build/pgo/js-input/sunspider/date-format-xparb.html
rename : build/pgo/js-input/math-cordic.html => build/pgo/js-input/sunspider/math-cordic.html
rename : build/pgo/js-input/math-partial-sums.html => build/pgo/js-input/sunspider/math-partial-sums.html
rename : build/pgo/js-input/math-spectral-norm.html => build/pgo/js-input/sunspider/math-spectral-norm.html
rename : build/pgo/js-input/regexp-dna.html => build/pgo/js-input/sunspider/regexp-dna.html
rename : build/pgo/js-input/string-base64.html => build/pgo/js-input/sunspider/string-base64.html
rename : build/pgo/js-input/string-fasta.html => build/pgo/js-input/sunspider/string-fasta.html
rename : build/pgo/js-input/string-tagcloud.html => build/pgo/js-input/sunspider/string-tagcloud.html
rename : build/pgo/js-input/string-unpack-code.html => build/pgo/js-input/sunspider/string-unpack-code.html
rename : build/pgo/js-input/string-validate-input.html => build/pgo/js-input/sunspider/string-validate-input.html
2014-11-19 15:10:52 +01:00
Jan Keromnes
076ea83cab Bug 1011562 - Enable the packaging of MOZTT fonts on all build targets. r=fabrice 2014-11-15 03:10:00 +01:00
David Rajchenbach-Teller
150445534a Bug 1044020 - Add libdl.so to lsan_suppressions.txt. r=froydnj 2014-11-02 18:35:23 +01:00