Граф коммитов

468419 Коммитов

Автор SHA1 Сообщение Дата
Andrea Marchesini 923a48177b Bug 1258095 - patch 3/3 - Directory tasks should use FallibleArray, r=smaug 2016-03-30 07:18:32 +01:00
Andrea Marchesini 782fdaa5ef Bug 1258095 - patch 2/3 - Implement Directory::GetPath() correctly, r=smaug 2016-03-30 07:17:56 +01:00
Andrea Marchesini 8384a107b1 Bug 1258095 - patch 1/3 - OSFileSystem should have the root == the directory root, r=smaug 2016-03-30 07:17:15 +01:00
David Anderson b20d5f6769 Add telemetry for which WMF backends are used. (bug 1259695, r=mattwoodrow) 2016-03-29 22:49:02 -07:00
Bobby Holley 3831864b3d Bug 1260310 - Create servo style contexts from ServoStyleSet. r=heycam 2016-03-29 22:16:38 -07:00
Bobby Holley 57b406bba3 Bug 1260310 - Generalize nsStyleContext to support resolving styles from either nsRuleNode or ServoComputedValues. r=heycam 2016-03-29 22:16:35 -07:00
Phil Ringnalda 4204667ede Back out 735da799e3bb (bug 1211723) for assertion failures and crashes in SharedImmutableStringsCache
CLOSED TREE
2016-03-29 21:57:51 -07:00
Timothy Nikkel adc89eea34 Bug 1251150. Add crash annotations if image visibility is re-entering. r=mats
The previous annotations only checked if the re-entrancy happened via DecrementVisibleCount.

The check in RebuildApproximateFrameVisibility is not needed because we add a check in DoUpdateApproximateFrameVisibility.

The check in ClearApproximatelyVisibleFramesList is not needed because we add checks in DoUpdateApproximateFrameVisibility and Destroy. The other caller, ClearApproximateFrameVisibilityVisited, is covered because it is only called from DoUpdateApproximateFrameVisibility.
2016-03-29 23:09:13 -05:00
Lee Salzman ac6587c152 Bug 1229946 - report GL_ARB_texture_rg extension to SkiaGL to avoid using GL_ALPHA render targets. r=jgilbert 2016-03-29 22:54:09 -04:00
Lee Salzman aefe39adfa Back out changeset 7431c1300d28 (bug 1189715) 2016-03-29 22:52:21 -04:00
Lee Salzman 29341ea574 Bug 1229975 - backport fix for Skia's GrConvexPolyEffect. r=mchang 2016-03-29 22:47:43 -04:00
Lee Salzman 24df5d41a7 Bug 1189715 - report GL_ARB_texture_rg extension to SkiaGL to avoid using GL_ALPHA render targets. r=jgilbert 2016-03-29 22:45:02 -04:00
Jeff Gilbert 0c9f6e1a95 Bug 1259449 - Require GLFeature::sync for WebGL's disjoint_timer_query. - r=jrmuizel 2016-03-29 17:32:45 -07:00
Eric Faust ef48766d83 Bug 1260577 - Fix |obj[expr] += e2| erroneously calling expr.toString() twice. (r=till) 2016-03-29 16:46:20 -07:00
Xidorn Quan dd78b29d7e Bug 1260102 - Pass isHandlingUserInput through process boundary for content menu command. r=mrbkap
MozReview-Commit-ID: FMQOFpeO6yn

--HG--
extra : rebase_source : 3b687e45d1f732b9e076f7a1d596562a56d332a2
2016-03-29 14:58:43 +11:00
Wes Kocher caea64b900 Backed out changeset 3ff2b12ffedc (bug 1254667) for upsetting the test_ocsp_caching.js gods on android CLOSED TREE
MozReview-Commit-ID: JaJXHxKEAvu
2016-03-29 16:38:18 -07:00
Mike Hommey f6cb862439 Fixup test_check_configure after bug 1260066 on a CLOSED TREE. r=me 2016-03-30 08:36:32 +09:00
Mike Hommey 9d9550f0f5 Fixup bug 1256573 to work on buggy older python on a CLOSED TREE. r=me 2016-03-30 08:15:44 +09:00
James Cheng 23a3da9399 Bug 1260377 - Fix CDMProxy::SetServerCertificate crash since null pointer. r=cpearce 2016-03-30 11:26:44 +13:00
Jordan Lund b4d512a2f0 Bug 1259525 - release promotion - add staging mozilla-release configs to mozharness, DONTBUILD a=testing r=rail
MozReview-Commit-ID: 6VfvxSaaNO0

MozReview-Commit-ID: 7aJJcWgEdeh

--HG--
rename : testing/mozharness/configs/releases/postrelease_release.py => testing/mozharness/configs/releases/dev_postrelease_firefox_release.py
rename : testing/mozharness/configs/releases/updates_release.py => testing/mozharness/configs/releases/dev_updates_firefox_release.py
rename : testing/mozharness/configs/releases/postrelease_release.py => testing/mozharness/configs/releases/postrelease_firefox_release.py
rename : testing/mozharness/configs/releases/updates_release.py => testing/mozharness/configs/releases/updates_firefox_release.py
rename : testing/mozharness/configs/single_locale/mozilla-release.py => testing/mozharness/configs/single_locale/dev-mozilla-release.py
extra : rebase_source : 60b314b3dff468d98491cf107619515d646acd99
2016-03-29 11:15:04 -07:00
Mike Hommey d06322ac66 Bug 1257888 - Link chromium mutex-based atomics implementation to webrtc signaling tests. r=froydnj 2016-03-30 07:21:07 +09:00
Mike Hommey 4a243cc428 Bug 1255590 - Allow unsigned addons in /usr/{lib,share}/mozilla/extensions. r=mossop 2016-03-30 07:20:54 +09:00
Nick Fitzgerald 35e15a7ddb Bug 1211723 - Share JS source text between JSRuntimes; r=jimb
This commit adds `SharedImmutableStringsCache` which allows for de-duplication
and sharing of immutable strings between threads and JSRuntimes.

Each JSRuntime gets a SharedImmutableStringsCache member, but the accessor
always returns the parent runtime's cache. The caches in child JSRuntime's are
not wasting space, however, as initialization and allocation of the table
happens lazily within SharedImmutableStringsCache.

Furthermore, this commit removes `js::ScriptSource::Parent` and the
`CompressedSourceSet`. They are unnecessary because source text is always shared
via the parent runtime's `SharedImmutableStringsCache` now.
2016-03-29 15:15:47 -07:00
Mike Hommey f1ed025e8b Bug 1260066 - Don't allow to use sandbox primitives from anywhere but global scope and templates. r=nalexander
The initial goal of templates was to provide a way to write shorter
constructs for some generic tasks during configure. But the limitations
of the sandbox and the properties of templates made them used for more
general functions.

Consequently, this led to templates having to be available from
anywhere, which, in turn, led to difficult to introspect constructs.
With bug 1257823, we've made almost everything use set_config and
similar functions from the global scope, but we don't enforce that
those primitives are only used at the global scope.

This change does that: it enforces that primitives are only used at
the global scope. Or in templates.

Now, since templates were used for other purposes than generic uses
of other primitives, we now allow non-template functions to be declared.
Those can be used everywhere, but don't have access to the sandbox
primitives.
2016-03-30 07:08:00 +09:00
Mike Hommey 71a1b9942f Bug 1260066 - Move last uses of check_prog that weren't in the global scope to the global scope. r=nalexander 2016-03-30 07:07:58 +09:00
Mike Hommey a2652b3b0b Bug 1260066 - Move add_old_configure_arg to the global scope. r=nalexander
We've done this for set_config, set_define, imply_option, and
add_old_configure_assignment. Do it for add_old_configure_arg as well.
2016-03-30 07:07:57 +09:00
Mike Hommey 2a7c335181 Bug 1256573 - Remove the @advanced primitive. r=nalexander 2016-03-30 07:07:55 +09:00
Mike Hommey 9bf72e6993 Bug 1256573 - Switch moz.configure to use @imports instead of @advanced. r=nalexander 2016-03-30 07:07:53 +09:00
Mike Hommey 9877dc7b96 Bug 1256573 - Switch configure tests to use @imports instead of @advanced. r=nalexander 2016-03-30 07:07:52 +09:00
Mike Hommey abc3477a74 Bug 1256573 - Add a new @imports primitive that allows to import modules into the decorated functions. r=nalexander
Currently, we have @advanced, that gives the decorated functions access
to all the builtins and consequently, to the import statement.
That is a quite broad approach and doesn't allow to easily introspect
what functions are importing which modules.

This change introduces a new decorator that allows to import modules one
by one into the decorated functions.

Note: by the end of the change series, @advanced will be gone.
2016-03-30 07:07:50 +09:00
Mike Hommey 0ea59bc1a8 Bug 1256573 - Add missing primitives to the ConfigureSandbox documentation. r=nalexander
Not directly related, but since this bug is about to add another primitive...
2016-03-30 07:07:48 +09:00
Mike Hommey 943acf7e2b Bug 1259351 - Properly sandbox functions that are decorated with templates. r=nalexander 2016-03-30 07:07:47 +09:00
Mike Hommey edcd74a9d7 Bug 1259381 - Move --with-ccache and --with-compiler-wrapper to moz.configure. r=chmanchester 2016-03-30 07:07:45 +09:00
Mike Hommey 78ec73cc58 Bug 1259381 - Don't add --with-ccache in mozconfigs doing --disable-compile-environment or --enable-artifact-builds. r=chmanchester
While moving the ccache flag, we're going to make it disappear when the
compiler environment is not enabled, so adding --with-ccache will fail.
2016-03-30 07:07:44 +09:00
Mike Hommey 6eee113ee8 Bug 1259960 - Make check_prog more flexible about the list of programs it will check. r=chmanchester 2016-03-30 07:07:42 +09:00
Mike Hommey 028ebf69ff Bug 1259960 - Make check_prog more flexible about the input it receives. r=chmanchester 2016-03-30 07:07:40 +09:00
Mike Hommey 18a002cd83 Bug 1259960 - Allow to pass a string to check_prog to describe what is being looked for. r=chmanchester
So far, we've been using the lowercase of the variable name, but it's
not enough for some special cases. Those special cases could do their
own business, but then, they'd have to duplicate 90% of check_prog,
which is less desirable.
2016-03-30 07:07:38 +09:00
Mike Hommey 29c3394b1b Bug 1259960 - s/DummyFunction/DependsFunction/. r=chmanchester
While DummyFunction is descriptive of what the instances are (and they
can't even be called), the various uses of isintance(obj, DummyFunction)
are kind of confusing, especially when they are in moz.configure land
(and this bug is about to add another one).
2016-03-30 07:07:37 +09:00
Mike Hommey 2baf0d3dc1 Bug 1257516 - Handle outputting the tail of config.log for old-configure failures from moz.configure. r=ted 2016-03-30 07:07:30 +09:00
Mike Hommey cbf367717b Bug 1257516 - Make check_prog opt-in to the queued debug log messages. r=ted 2016-03-30 07:07:13 +09:00
Mike Hommey 97ea49f191 Bug 1257516 - Allow to assign Exceptions in the global scope. r=ted
But do not advertise it too much.
2016-03-30 07:06:26 +09:00
Mike Hommey c7b519d6df Bug 1257516 - Make the ConfigureOutputHandler keep some debug messages to print out when an error occurs. r=ted
The feature is made opt-in by using a context manager.
2016-03-30 07:06:20 +09:00
Mike Hommey a2c9191daf Bug 1257516 - Add a unit test for check_prog(). r=ted
At the same time, shell quote the result it prints if it needs to be.
2016-03-30 07:00:22 +09:00
Mike Hommey e8721f0397 Bug 1257516 - Use the logger for virtualenv manager output. r=ted 2016-03-30 07:00:17 +09:00
Mike Hommey 0e183bb384 Bug 1257516 - Allow the log_handle given to the virtualenv manager to be a file-like object. r=ted
subprocess functions doesn't directly take file-like objects, so add a
minimalistic wrapper to do the right thing instead of subprocess.call
when given a file-like object.
2016-03-30 07:00:12 +09:00
Mike Hommey ba80937ba0 Bug 1257516 - Send the debug output from our logger to config.log. r=ted
And since the file is also used for old-configure, close our handle on
the file before spawning old-configure, and make old-configure append
there instead of truncating the file.
2016-03-30 07:00:07 +09:00
Mike Hommey 47d916d8f0 Bug 1257516 - Expose a sandboxed logger to moz.configure and use it. r=ted
This removes the warn() function and makes the die() function use the logger
instead of print.
2016-03-30 07:00:03 +09:00
Mike Hommey c15e6d00c5 Bug 1257516 - Initialize a logger for the ConfigureSandbox, and use it for the help. r=ted 2016-03-30 06:59:59 +09:00
Mike Hommey 96b6664c24 Bug 1257516 - Rename error() to die() and make it take arguments like the logging module. r=ted 2016-03-30 06:59:44 +09:00
Mike Hommey e22a5082f7 Bug 1257516 - Add a file-like class that sends writes to a callback. r=ted 2016-03-30 06:59:37 +09:00