Commit Graph

284645 Commits

Author SHA1 Message Date
Christoph Kerschbaumer
cec3750232 Bug 1246220: Update test_bug337744 (r=mcmanus) 2016-02-12 17:18:29 -08:00
Matt Wobensmith
8562186c68 Bug 1246220 - Remove SEC_NORMAL from netwerk/test (r=ckerschb,mcmanus) 2016-02-16 16:10:14 -08:00
Mason Chang
7b8a481330 Backout 2c97c2a5dad7 bug 1249033. r=me 2016-02-17 13:19:56 -08:00
Mason Chang
339e2571a3 Bug 1249033 - Enable Subpixel AA Text on Skia for Dwrite and GDI Fonts. r=jrmuizel 2016-02-17 13:09:35 -08:00
Gregory Szorc
8ce05975a4 Bug 1249078 - Support grouping and running tasks by tag; r=garndt
We can now define a list of "tags" for a task. Specifying "-j <tag>"
in Try syntax will run all tasks having that tag.

MozReview-Commit-ID: Ih9Z0tRZ5VA
2016-02-17 11:12:40 -08:00
Ralph Giles
7b7f74dcc1 Bug 1248461 - Enable rust for win32 official builds. r=mshal
This uses a repacked version of the upstream 1.8 nightly
builds. We need 1.8 for WinXP support, but it's safe to
use nightly until this stablises because other platforms
are using stable rust and will catch any nightly-only
feature use.

For these builds I used the channel-rustc-nightly manifest instead
of the older channel-rust-* manifest, to get the separate std packages.

tar xf rustc-nightly-i686-pc-windows-msvc.tar.gz
rustc-nightly-i686-pc-windows-msvc/install.sh --prefix=rustc/

tar xf rust-std-nightly-i686-pc-windows-msvc.tar.gz
rust-std-nightly-i686-pc-windows-msvc/install.sh --prefix=rustc/

tar cjf rustc.tar.bz2 rustc/*
2016-02-15 11:41:00 -08:00
Hannes Verschore
e3b3df7437 Bug 1241087: SharedStubs: Enable shared stubs by default for ion, r=jandem 2016-02-17 15:05:59 -05:00
Hannes Verschore
470c16c6d0 Bug 1242578: IonMonkey - Mark as succesfull when taking a binary arith optimization path, r=shu 2016-02-17 15:04:27 -05:00
Jonas Sicking
a430e129db Bug 1243337: Indicate the correct context for the generate-id function. r=peterv 2016-02-17 11:46:50 -08:00
aleth
01b00f6909 Bug 1093012 - Set plugins-path for mozmill tests run via mozharness. r=jlund 2016-02-13 01:32:51 +01:00
Terrence Cole
8d7ddd760c Backout 7acb1edc3f91 (bug 1244956) for regressing tpaint. 2016-02-17 09:00:47 -08:00
Wes Kocher
063fedf378 Merge m-c to inbound, a=merge 2016-02-17 11:14:33 -08:00
Wes Kocher
8114ad6468 Backed out changeset 3dce92c9562d (bug 1232042) for causing Win7 slaves to apparently crash and lock up a=backout 2016-02-17 11:11:10 -08:00
Gregory Szorc
fc0890decd Bug 1245953 - Support for only running tasks when certain files change; r=garndt
Firefox's automation currently tends to run all the jobs all the time.
It is wasteful to do this. For example, running ESLint when the commit
only changes a .cpp file adds no value.

This commit adds support for only running tasks when certain files
change. The new-style tasks introduced by the previous commit have been
taught a "when" dictionary property that defines conditions that should
hold for the task to be executed. We define a "file_patterns" list that
defines lists of mozpack path matching expressions that will be matched
against the set of files changed by the changesets relevant to the
changeset being built. The eslint task has been updated to only run if
files related to it change.

Because conditions may not be accurate, we add a CLI argument to ignore
conditions and force all would-be-filtered tasks to run.

MozReview-Commit-ID: 3OeBSKAQAeg
2016-02-17 10:25:54 -08:00
Gregory Szorc
9e640d08b5 Bug 1245953 - Support defining non-build/test Task Cluster tasks; r=garndt
Currently, tasks are either "build" or "test" tasks. And "test" tasks
are dependent on "build" tasks, so they are effectively an extension of
"build" tasks.

Not everything is a "build" task. Not everything is associated with a
specific platform.

This commit introduces support for defining non-build "tasks" under the
"tasks" top-level element of a jobs YAML file. Interally, they are
treated as "build" tasks but are declared differently.

By default, all these tasks run.

The -j/--job argument has been added to the try syntax parser. It
specifies an opt-in list of these non-build tasks to run. By default, it
runs all of them.

The eslint-gecko "build" task has been moved to this new mechanism.

Documentation for the new task type have been added.

There is definitely some wonkiness in this implementation. For example,
there are references to "build_name," "build_type," and "build_product,"
which arguably are no longer relevant to generic tasks. However, they
appear to be so integrated into task processing (including route names)
that I'm a bit scared to change them.

MozReview-Commit-ID: BY219tLFb6Z
2016-02-17 10:25:25 -08:00
Gregory Szorc
032fb504de Bug 1245953 - Convert TaskCluster docs to Sphinx; r=garndt
It is possible to hook up in-tree documentation to Sphinx. Convert the
one-off README.md to ReStructuredText and add it to the Sphinx docs.

I added a moz.build file under testing/ because I don't think it is
appropriate for the Sphinx directive to live in the root moz.build file.

MozReview-Commit-ID: 90tCb7mA63C
2016-02-17 10:24:06 -08:00
Carsten "Tomcat" Book
3e9ea9b4fc Backed out changeset bc3e37b63def (bug 1246918) for fix frequent android c1 test failures 2016-02-17 14:35:10 +01:00
Carsten "Tomcat" Book
e1f5a23454 Backed out changeset 10e71da98b14 (bug 1246918) 2016-02-17 14:34:49 +01:00
Carsten "Tomcat" Book
05fbdd5951 merge fx-team to mozilla-central a=merge 2016-02-17 12:07:39 +01:00
Kris Maglione
bc7cd438f0 Bug 1248855 - [webext] Add "object-curly-spacing" ESLint rule and auto-fix errors. r=billm
MozReview-Commit-ID: BAZ2rRl7eSM
2016-02-16 20:10:00 -08:00
Brian Grinstead
9447b8a728 Bug 1247962 - Get rid of CPOW in browser_webconsole_live_filtering_on_search_strings.js;r=linclark
MozReview-Commit-ID: EyBMJ3dqZSW
2016-02-16 17:30:12 -08:00
Drew Willcoxon
4440844edb Bug 1247641 - When loading a background thumbnail, load about:blank asynchronously when a load fails to avoid endless redirects. r=markh 2016-02-16 16:34:25 -08:00
Gregory Szorc
b667c06d4d Bug 1245953 - Print info on commits influencing scheduling; r=garndt
We're about to introduce a mechanism to influence which tasks run based
on what files change. To help debug what's happening, print out the list
of commits that influence the task selection.

MozReview-Commit-ID: Kfj2pf1PSIS
2016-02-16 15:00:52 -08:00
Gregory Szorc
4561640e83 Bug 1245953 - Query automationrelevance API instead of pushlog; r=garndt
Over in bug 1247802 we deployed a new JSON web API on hg.mozilla.org
that returns JSON metadata for changesets that are relevant for build
automation. It returns a superset of what is returned by the pushlog
JSON API. So we switch to it.

MozReview-Commit-ID: 6X3NANo1mgq
2016-02-16 16:01:39 -08:00
Gregory Szorc
fb1bce3baa Bug 1245953 - Rename "push info" to "vcs info"; r=garndt
In preparation for adding more content that isn't strictly related to
pushlog info.

MozReview-Commit-ID: I4c8KAutUDm
2016-02-16 12:19:44 -08:00
Gregory Szorc
09f7aba878 Bug 1245953 - Fail fast if no VCS info defined; r=garndt
Before, we attempted to build and query a URL that potentially had
"None" in it. This printed some wonky messages in the log and may have
contributed to added latency due to the HTTP request that was doomed to
fail.

MozReview-Commit-ID: JrR5PK33vCn
2016-02-16 12:19:13 -08:00
Gregory Szorc
22d492c349 Bug 1245953 - Use requests for performing HTTP request; r=garndt
requests should *always* be used for performing HTTP requests because it
has a better API *and* has sane security defaults compared to the HTTP
request APIs in the Python standard library. Although, Python 2.7.9+
does have slightly saner defaults in the standard library. I still trust
requests more.

MozReview-Commit-ID: GqohpfYYGBw
2016-02-16 12:18:51 -08:00
Gregory Szorc
99e7263872 Bug 1245953 - Rename query_pushinfo to query_vcsinfo; r=garndt
The function will soon query something that isn't limited to pushlog
info. Rename it accordingly.

MozReview-Commit-ID: 68UrMmLYARD
2016-02-16 12:18:41 -08:00
Jakob Stoklund Olesen
ac0d44513a Bug 1248503 - Fix initial heap assertion. r=nbp
Two MSimdBox instructions with the same SimdType must have identical template
objects, but they do not need to have identical initial heaps. One could
represent a pre-tenured SIMD object allocation.

MozReview-Commit-ID: ITymizUKjlN
2016-02-17 10:17:49 -08:00
Jakob Stoklund Olesen
cf6ccc0ea3 Bug 1248503 - Improve log output for MSimdBox and MSimdUnbox. r=nbp
Add a function SimdTypeToString used for logging purposes only.

Include the exact SimdType and initial heap when logging MSimdBox and
MSimdUnbox instructions.

MozReview-Commit-ID: 1WbwaQgMLqm
2016-02-17 10:17:49 -08:00
Patrick Brosset
22b2841052 Bug 1248360 - Set eslint version to 1.10.3 when setting it up via mach
MozReview-Commit-ID: LmKsvGzj3fo
2016-02-16 10:01:11 +01:00
Lin Clark
0970bd7a11 Bug 1245667 - Use standard license boilerplate in framework js files. r=bgrins
MozReview-Commit-ID: 31xbv6rirPg
2016-02-16 16:14:53 -08:00
Kit Cambridge
667d2d8695 Back out changeset 4357fe5a9d22 (bug 1206560) for M-e10s(bc4) failures.
MozReview-Commit-ID: 1J0li7PNBWN
2016-02-16 16:13:38 -08:00
Brian Grinstead
d524f9936c Bug 1246733 - Remove stylesheet references of 'devtools/skin/common.css' and instead import it in theme files;r=ntim,r=ochameau
MozReview-Commit-ID: AwS9aJ4dypm
2016-02-16 16:10:25 -08:00
Kit Cambridge
c3073ddeea Bug 1224785, Part 3 - Don't include ShowWith{Icon}Backend on Android. r=me 2016-02-16 15:52:15 -08:00
Dave Townsend
696bd05e96 Bug 1245916: Turn on no-undef in toolkit/mozapps/extensions. r=rhelmer
Mostly just declaring globals that Cu.imports defines but there are some actual
bugs here that have been fixed as well as one test that just never ran because
of a hidden exception.

MozReview-Commit-ID: J6uIpYp8ANx
2016-02-03 22:48:48 -08:00
Dave Townsend
aba4ac788b Bug 1245916: Import more head files for xpcshell tests. r=pbrosset
xpcshell tests used to use head_*.js files so this adds those for global
discovery.

MozReview-Commit-ID: BOsoGIpwdgu
2016-02-05 13:23:40 -08:00
Dave Townsend
88e90d7767 Bug 1245916: Add additional default globals. r=felipe
This defines a few additional globals but also turns on the browser environment
for everything in browser and toolkit. This may lead to some false negatives
but we have lots of code that runs in a browser context so in the name of
getting rules turned on I think this is a useful step.

MozReview-Commit-ID: BdWouZGK6d
2016-02-05 12:12:30 -08:00
Dave Townsend
39095f0ee1 Bug 1245916: Add additional browser window scripts to eslint globals. r=felipe
This adds more of the scripts that browser.js relies on and also makes
browser-chrome head files import the browser.js globals.

The MOZ_JSDOWNLOADS block in contentAreaUtils only seems to hide a single
function, I don't see any need to keep hiding that now we're on by default.

MozReview-Commit-ID: 5zvF3JtJrZG
2016-02-05 12:16:39 -08:00
Dave Townsend
e10f46b2fb Bug 1245916: XBL bindings should support global declarations in comments. r=miker
To properly lint XBL files we need to support things like import-globals-from
and other ESlint comment directives so we have to pass comments through to the
code blocks that ESlint parses. Unfortunately the way the XBL processor works
now is by passing a separate code block for every method/property/etc. in the
XBL and ESlint doesn't retain state across the blocks so we would have to prefix
every block with every comment. Instead this change makes us output just a
single block that roughly looks like this:

<comments>
var bindings = {
  "<binding-id>": {
    <binding-part-name>: function() { ... }
  }
}

This has some interesting bonuses. Defining the same ID twice will cause a lint
failure. Same for the same field in a binding. The line mapping is a little
harder and there are still a few lines that won't map directly back to the
original file but they should be rare cases. The only downside is that since
some bindings have the same binding declared differently for different platforms
we have to exclude those from linting for now.

MozReview-Commit-ID: CAsPt5dtf6T
2016-02-05 12:13:34 -08:00
Dave Townsend
4c45c258f1 Bug 1245916: Unify eslint global discovery rules. r=pbrosset
While working on turning on no-undef I discovered that the various rules we
have for defining globals are a little inconsistent in whether the files they
load recurse through import-globals-from directives and none of them imported
eslint globals directives.

I think we're better off putting all this global parsing code in a single place
rather than spread across multiple rules. Have one rule to turn it on for
parsed files and one function to load globals from other files and make them
share most of the code so we won't get inconsistent. If we find us needing to
turn on/off individual features we can figure out a way to do that in the
future.

This patch does that, the globals.js file does all global parsing with a shared
object that receives events from the AST, either through from an ESlint rule
or from a simple AST walker using estraverse.

MozReview-Commit-ID: 9KQZwsNNOUl
2016-02-05 11:37:50 -08:00
Randell Jesup
3e7a35097a Bug 1237816: count open input sources for MediaStreams to release inputs on Destroy() r=roc,padenot
MozReview-Commit-ID: LkCBqPXAWBP
2016-02-03 21:12:51 -05:00
Randell Jesup
8ef948e0a9 Bug 1245216: Avoid reallocating and leaking AudioPacketizer output buffer r=padenot
MozReview-Commit-ID: JAeodWyowex
2016-02-17 13:19:02 -05:00
Randell Jesup
7c1ffd059c Bug 1245216: white-list the fake 440Hz audio source used in automation for getUserMedia enumeration r=padenot
MozReview-Commit-ID: Gor7DsJlI2r
2016-02-17 13:19:02 -05:00
Randell Jesup
a213ff0f47 Bug 1245216: Fix getUserMedia input in full_duplex mode coming from the wrong place r=padenot
Also cleanup of an leftover overrridden interface, and re-add a line lost in merges

MozReview-Commit-ID: 7sjtbbtq1RG
2016-02-17 13:19:02 -05:00
Randell Jesup
d021db4af3 Bug 1245216: plumb preferred sample rate from full_duplex cubeb through NotifyInput/Output r=padenot
MozReview-Commit-ID: 4F9LwSIZ5OA
2016-02-17 13:19:01 -05:00
Bobby Holley
02494c4ce1 Bug 1248784 - Followup to add requested comment. r=froydnj DONTBUILD 2016-02-17 10:16:47 -08:00
Bobby Holley
dc6e78bbf2 Bug 1248784 - Extract the AddRef/Release calls into a non-inner helper trait. r=froydnj 2016-02-17 10:15:19 -08:00
Bobby Holley
766144b644 Bug 1248784 - Rename the existing AddRefTraits to ConstRemovingRefPtrTraits. r=froydnj 2016-02-17 10:15:17 -08:00
Nicolas B. Pierron
4c3dce6465 Bug 1247889 - Ensure enough ballast space in CodeGenerator::generateBody. r=h4writer 2016-02-17 18:12:14 +00:00