Commit Graph

230611 Commits

Author SHA1 Message Date
Gregory Szorc
b7addff074 Bug 1134072 - Support for sub-contexts; r=glandium
As content in moz.build files has grown, it has become clear that
storing everything in one global namespace (the "context") per moz.build
file will not scale. This approach (which is carried over from
Makefile.in patterns) limits our ability to do things like declare
multiple instances of things (like libraries) per file.

A few months ago, templates were introduced to moz.build files. These
started the process of introducing separate contexts / containers in
each moz.build file. But it stopped short of actually emitting multiple
contexts per container. Instead, results were merged with the main
context.

This patch takes sub-contexts to the next level.

Introduced is the "SubContext" class. It is a Context derived from
another context. SubContexts are special in that they are context
managers. With the context manager is entered, the SubContext becomes
the main context associated with the executing sandbox, temporarily
masking the existence of the main context. This means that UPPERCASE
variable accesses and writes will be handled by the active SubContext.
This allows SubContext instances to define different sets of variables.

When a SubContext is spawned, it is attached to the sandbox executing
it. The moz.build reader will now emit not only the main context, but
also every SubContext that was derived from it.

To aid with the creation and declaration of sub-contexts, we introduce
the SUBCONTEXTS variable. This variable holds a list of classes that
define sub-contexts.

Sub-contexts behave a lot like templates. Their class names becomes the
symbol name in the sandbox.
2015-02-24 13:05:59 -08:00
Benoit Girard
e4e94088d9 Bug 1134762 - Clean-up UseFastPath logic to avoid OOM error. r=kats 2015-02-18 15:27:40 -05:00
Benoit Girard
0c64c8efab Bug 1135677 - Deal with overflowing rects. r=bas 2015-02-23 14:09:56 -05:00
Benoit Girard
7df479061b Bug 1136389 - Fix qcms num in/out channels mismatch. r=jrmuizel 2015-02-24 19:03:25 -05:00
Mike Hommey
c21ada0d82 Bug 1135942 - Enable MMX/SSE code unconditionally in libsoundtouch, it does runtime detection anyways. r=padenot 2015-02-25 13:12:15 +09:00
Mike Hommey
34bc5f6b8c Bug 1136456 - Remove leftovers from TIERS support in mozbuild.frontend.reader. r=gps 2015-02-25 13:12:14 +09:00
Wes Kocher
9023cb7c56 Backed out 3 changesets (bug 961887) for reftest failures on a CLOSED TREE
Backed out changeset 1684d29858e1 (bug 961887)
Backed out changeset 97c8184c3058 (bug 961887)
Backed out changeset f02c5c1f7704 (bug 961887)
2015-02-24 17:32:37 -08:00
Wes Kocher
1863306dc0 Backed out changeset 58d13a71c5dc (bug 1135912) for reftest bustage on a CLOSED TREE 2015-02-24 17:32:00 -08:00
Wes Kocher
fa5303c996 Backed out 2 changesets (bug 1134891) for bc1 orange on a CLOSED TREE
Backed out changeset 7b021e23ff21 (bug 1134891)
Backed out changeset ec627a9f91c1 (bug 1134891)
2015-02-24 15:58:25 -08:00
Byron Campen [:bwc]
def936e25d Bug 1135902: Set stream id on fake media streams. r=drno 2015-02-23 15:19:17 -08:00
Chris Manchester
48813ee22a Bug 1136378 - Use a browser's outerWindowId property rather than a CPOW to identify marionette's content listeners.;r=mconley 2015-02-24 15:52:52 -08:00
Timothy Nikkel
d8485e122e Bug 1134293. Report the bounds of a tree body as needing component alpha and support disable component alpha in the text it might draw if asked. r=roc 2015-02-24 17:51:25 -06:00
Wes Kocher
204b5160b6 Merge m-c to inbound a=merge CLOSED TREE 2015-02-24 15:42:16 -08:00
Wes Kocher
3cfd0ee09a Merge fx-team to m-c a=merge 2015-02-24 15:41:09 -08:00
Wes Kocher
178b643f4a Merge b2g-inbound to m-c a=merge 2015-02-24 15:36:56 -08:00
Wes Kocher
cb0ef2f706 Merge inbound to m-c a=merge 2015-02-24 15:13:03 -08:00
Steve Fink
85ce4c2cab Bug 1133909 check-style bustage resulting in a CLOSED TREE - alphabetize the includes, a=KWierso 2015-02-24 15:09:46 -08:00
B2G Bumper Bot
2a6dc40925 Bumping manifests a=b2g-bump 2015-02-24 13:27:42 -08:00
B2G Bumper Bot
419b94012e Bumping gaia.json for 3 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/e6b6631570ea
Author: Ryan VanderMeulen <rvandermeulen@mozilla.com>
Desc: Revert "Bug 1133202 - Hide search provider select element. r=kgrandon"

This reverts commit 7cf43cd4ec81882564c75f522977b0f68d6d71a8.

========

https://hg.mozilla.org/integration/gaia-central/rev/cf266e4a2ade
Author: Ghislain 'Aus' Lacroix <aus@noiseport.org>
Desc: Merge pull request #28424 from nullaus/bug1136275

Bug 1136275 - Downloading via the browser context menu should use docume...

========

https://hg.mozilla.org/integration/gaia-central/rev/b5d0225bf412
Author: Ghislain 'Aus' Lacroix <aus@mozilla.com>
Desc: bug 1136275 - Downloading via the browser context menu should use documentURI from event data as referrer for 'download' method call. r=kgrandon
2015-02-24 13:25:18 -08:00
Mason Chang
5576f33565 Bug 1129133 - Clean up GeckoTouchDispatcher so that it's a real singleton. r=kats,mwu 2015-02-24 12:52:16 -08:00
B2G Bumper Bot
2c42daf7e3 Bumping manifests a=b2g-bump 2015-02-24 12:37:54 -08:00
B2G Bumper Bot
0a433f34b4 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/bc48e26bcc0f
Author: autolander <bug.autolander@gmail.com>
Desc: Bug 1135712 - merge pull request #28426 from asutherland:email-jsas-typofix to mozilla-b2g:master

========

https://hg.mozilla.org/integration/gaia-central/rev/b1a0747004bd
Author: Andrew Sutherland <asutherland@asutherland.org>
Desc: Bug 1135712 - Take updated jsas version with iterator typo fixed. r=asuth

land https://github.com/mozilla-b2g/gaia-email-libs-and-more/pull/371
2015-02-24 12:35:30 -08:00
Ryan VanderMeulen
4f50fb6782 Backed out changeset cd6461410a7a (bug 1130439) for frequent SM test timeouts/failures.
CLOSED TREE
2015-02-24 15:11:08 -05:00
B2G Bumper Bot
e5dca7cab4 Bumping manifests a=b2g-bump 2015-02-24 11:43:26 -08:00
B2G Bumper Bot
e245802e18 Bumping gaia.json for 3 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/ad24b3efa6d7
Author: Dale Harvey <dale@arandomurl.com>
Desc: Bug 1133202 - Hide search provider select element. r=kgrandon

========

https://hg.mozilla.org/integration/gaia-central/rev/d1137652331b
Author: autolander <bug.autolander@gmail.com>
Desc: Bug 1069624 - merge pull request #28127 from eeejay:bug-1069624 to mozilla-b2g:master

========

https://hg.mozilla.org/integration/gaia-central/rev/94a48af8834b
Author: Eitan Isaacson <eitan@monotonous.org>
Desc: Bug 1069624 - Make music shuffle button an ARIA toggle button.
2015-02-24 11:40:32 -08:00
Andrew Sutherland
31f1376e9e Backed out changeset 9110f18c19aa (bug 1125989) 2015-02-24 13:46:27 -05:00
B2G Bumper Bot
db76b54cc3 Bumping manifests a=b2g-bump 2015-02-24 10:44:04 -08:00
B2G Bumper Bot
2b7fff128b Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/4d549c675cf7
Author: autolander <bug.autolander@gmail.com>
Desc: Bug 1132479 - merge pull request #28182 from mwargers:email_failure to mozilla-b2g:master

========

https://hg.mozilla.org/integration/gaia-central/rev/24442f2012da
Author: Martijn Wargers <mwargers@mozilla.com>
Desc: Bug 1132479 - Fix test_IMAP_email_notification failure
2015-02-24 10:40:27 -08:00
B2G Bumper Bot
0d4fb6dcc0 Bumping manifests a=b2g-bump 2015-02-24 10:22:56 -08:00
B2G Bumper Bot
eede2a007b Bumping gaia.json for 4 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/ddb07ccd70c0
Author: autolander <bug.autolander@gmail.com>
Desc: Bug 1135692 - merge pull request #28364 from npark-mozilla:1135692 to mozilla-b2g:master

========

https://hg.mozilla.org/integration/gaia-central/rev/780f61f5fd52
Author: No-Jun Park <npark@mozilla.com>
Desc: Bug 1135692 - adding imagecompare test case that changes wallpaper using the gallery image

========

https://hg.mozilla.org/integration/gaia-central/rev/18aa0bed06d4
Author: autolander <bug.autolander@gmail.com>
Desc: Bug 1135747 - merge pull request #28371 from autra:bug-1135747 to mozilla-b2g:master

========

https://hg.mozilla.org/integration/gaia-central/rev/871e27a49726
Author: Augustin Trancart <augustin.trancart@phoxygen.com>
Desc: Bug 1135747 - The big letters when touching the contact list scrollbar were outside of the screen
2015-02-24 10:20:23 -08:00
B2G Bumper Bot
2c8323ac4f Bumping manifests a=b2g-bump 2015-02-24 10:13:21 -08:00
B2G Bumper Bot
66a75be0b7 Bumping gaia.json for 19 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/4195fc75864d
Author: autolander <bug.autolander@gmail.com>
Desc: Bug 1135082 - merge pull request #28362 from ADLR-es:clear-btn-test to mozilla-b2g:master

========

https://hg.mozilla.org/integration/gaia-central/rev/f28caa541c4c
Author: Adrián de la Rosa <adriantovick@gmail.com>
Desc: Bug 1135082 - Follow up bug 1132215 - Implement a CI test which check that the clear button works on the Contact's detail page

========

https://hg.mozilla.org/integration/gaia-central/rev/b3bfa9760df4
Author: autolander <bug.autolander@gmail.com>
Desc: Bug 1131338 - merge pull request #28405 from daleharvey:1131338 to mozilla-b2g:master

========

https://hg.mozilla.org/integration/gaia-central/rev/0456dacdece4
Author: Dale Harvey <dale@arandomurl.com>
Desc: Bug 1131338 - Use manifest.short_name during local app searches

========

https://hg.mozilla.org/integration/gaia-central/rev/76b574ce19fd
Author: autolander <bug.autolander@gmail.com>
Desc: Bug 1136174 - merge pull request #28418 from npark-mozilla:1136174 to mozilla-b2g:master

========

https://hg.mozilla.org/integration/gaia-central/rev/92ae941c3bb3
Author: No-Jun Park <npark@mozilla.com>
Desc: Bug 1136174 - test_lockscreen_time_check.py should run on active SIM only
Changed the manifest to only run it with active sim per bug 1133803, and moved the location of initial time collection just for safety in case turning off auto time set changes the clock time

========

https://hg.mozilla.org/integration/gaia-central/rev/d97e9af12200
Author: autolander <bug.autolander@gmail.com>
Desc: Bug 1134040 - merge pull request #28334 from autra:bug-1134040 to mozilla-b2g:master

========

https://hg.mozilla.org/integration/gaia-central/rev/74eef0688a36
Author: Augustin Trancart <augustin.trancart@phoxygen.com>
Desc: Bug 1134040 - Do not update direction on subject input field any more.

========

https://hg.mozilla.org/integration/gaia-central/rev/39442d396ec0
Author: Eli Perelman <eli@eliperelman.com>
Desc: Merge pull request #28002 from eliperelman/bug-1129041-video

Bug 1129041 - Video: remove user timing shim

========

https://hg.mozilla.org/integration/gaia-central/rev/56222b9fa2d2
Author: Eli Perelman <eli@eliperelman.com>
Desc: Bug 1129041 - Video: remove user timing shim

========

https://hg.mozilla.org/integration/gaia-central/rev/db42d769066a
Author: Eli Perelman <eli@eliperelman.com>
Desc: Merge pull request #27999 from eliperelman/bug-1129041-system

Bug 1129041 - System: remove user timing shim

========

https://hg.mozilla.org/integration/gaia-central/rev/9b008ed9549c
Author: Eli Perelman <eli@eliperelman.com>
Desc: Bug 1129041 - System: remove user timing shim

========

https://hg.mozilla.org/integration/gaia-central/rev/a1d806ae08eb
Author: Eli Perelman <eli@eliperelman.com>
Desc: Merge pull request #27998 from eliperelman/bug-1129041-sms

Bug 1129041 - SMS: remove user timing shim

========

https://hg.mozilla.org/integration/gaia-central/rev/291632bec1ff
Author: Eli Perelman <eli@eliperelman.com>
Desc: Bug 1129041 - SMS: remove user timing shim

========

https://hg.mozilla.org/integration/gaia-central/rev/57e52778e92b
Author: Eli Perelman <eli@eliperelman.com>
Desc: Merge pull request #27996 from eliperelman/bug-1129041-music

Bug 1129041 - Music: remove user timing shim

========

https://hg.mozilla.org/integration/gaia-central/rev/5d5357c05fe0
Author: Eli Perelman <eli@eliperelman.com>
Desc: Bug 1129041 - Music: remove user timing shim

========

https://hg.mozilla.org/integration/gaia-central/rev/d41a3978fd64
Author: Eli Perelman <eli@eliperelman.com>
Desc: Merge pull request #27995 from eliperelman/bug-1129041-gallery

Bug 1129041 - Gallery: remove user timing shim

========

https://hg.mozilla.org/integration/gaia-central/rev/cdcc966c2d6f
Author: Eli Perelman <eli@eliperelman.com>
Desc: Bug 1129041 - Gallery: remove user timing shim

========

https://hg.mozilla.org/integration/gaia-central/rev/c4e7294b51fa
Author: Julien Wajsberg <felash@gmail.com>
Desc: Bug 1082618 - [Messages] add a README file r=schung,azasypkin,cmills
2015-02-24 10:10:27 -08:00
B2G Bumper Bot
9ee2f68173 Bumping manifests a=b2g-bump 2015-02-24 08:32:51 -08:00
B2G Bumper Bot
b36c075c23 Bumping gaia.json for 4 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/4d3b064442ca
Author: lissyx <lissyx+github@lissyx.dyndns.org>
Desc: Merge pull request #28411 from lissyx/bug1119294

Bug 1119294 - Add logshake ID to keep multiple notifications around r=janx

========

https://hg.mozilla.org/integration/gaia-central/rev/21281e4a9c3a
Author: Alexandre Lissy <lissyx+github@lissyx.dyndns.org>
Desc: Bug 1119294 - Add logshake ID to keep multiple notifications around r=janx

Users may want to keep multiple logshake notifications around, so lets
generate a tag that is dependant on the timestamp to provide this. We
use the current time when receiving the capture start event, and keep it
until we receive either a success or a failure event, at which point we
reset it to null.

========

https://hg.mozilla.org/integration/gaia-central/rev/454f027fa0da
Author: lissyx <lissyx+github@lissyx.dyndns.org>
Desc: Merge pull request #28412 from lissyx/bug1135860

Bug 1135860 - Change LogShake activity to share r=janx

========

https://hg.mozilla.org/integration/gaia-central/rev/08b1f66624c7
Author: Alexandre Lissy <lissyx+github@lissyx.dyndns.org>
Desc: Bug 1135860 - Change LogShake activity to share r=janx

To be able to handle sharing with a bugzilla client, we need to change
the activity triggered by LogShake, since name "new" and type "email" is
really intended to limit to the Email client. We make use of the "share"
activity.
2015-02-24 08:30:26 -08:00
Andrew Sutherland
b6795ba3ab Bug 1125989 - Avoid OS.File request lossage during worker shutdown, r=yoric
OS.File requests like OS.File.stat would potentially be lost on b2g during
auto-shutdown/auto-killing of the worker thread.  This patch corrects the
queue management so races with killing are not possible.  A test is added that
fails without the fix and passes with it.  See the comments in the test and
test for further details.  Also, the bug is nice.
2015-02-24 10:59:46 -05:00
B2G Bumper Bot
f8ad3ba4f1 Bumping manifests a=b2g-bump 2015-02-24 07:22:42 -08:00
B2G Bumper Bot
793791e0bd Bumping gaia.json for 7 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/486086a9c609
Author: Dave Hunt <dave.hunt@gmail.com>
Desc: Bug 1135721 - Modify test_that_device_info_is_populated to support running on devices with no SIM cards. r=gmealer

========

https://hg.mozilla.org/integration/gaia-central/rev/315321fbf0d6
Author: Staś Małolepszy <stas@mozilla.com>
Desc: Merge pull request #27915 from stasm/1101632-buildtime-qps

Bug 1101632 - Allow pseudolocales to be built on buildtime. r=rickychien r=gandalf

========

https://hg.mozilla.org/integration/gaia-central/rev/75cd003e21ee
Author: Staś Małolepszy <stas@mozilla.com>
Desc: Bug 1101632 - Allow pseudolocales to be built on buildtime. r=rickychien r=gandalf

========

https://hg.mozilla.org/integration/gaia-central/rev/1e1adea89b15
Author: Guillaume C. Marty <gmarty@users.noreply.github.com>
Desc: Merge pull request #28302 from gmarty/Bug-1133402-Add-a-script-to-optimise-SVG-images-tool

Bug 1133402 - Add a script to optimise SVG images

========

https://hg.mozilla.org/integration/gaia-central/rev/4e04d3889015
Author: Guillaume Marty <edo999@gmail.com>
Desc: Bug 1133402 - Add a script to optimise SVG images

========

https://hg.mozilla.org/integration/gaia-central/rev/a7617a50e167
Author: Guillaume C. Marty <gmarty@users.noreply.github.com>
Desc: Merge pull request #28237 from gmarty/Bug-1133402-Add-a-script-to-optimise-SVG-images

Bug 1133402 - Optimise SVG assets

========

https://hg.mozilla.org/integration/gaia-central/rev/dbaad5c4b512
Author: Guillaume Marty <edo999@gmail.com>
Desc: Bug 1133402 - Optimise SVG assets
2015-02-24 07:17:58 -08:00
Jacek Caban
deb134ef3b Bug 1136177 - Amount by mouse wheel scrolling is wrong. r=jimm 2015-02-24 09:07:00 -05:00
Ulrich Schoepp
5fcf7bf81e Bug 1047529 - Move caller field from MResumePoint to MBasicBlock. r=nbp 2015-02-24 14:30:02 -05:00
Ryan VanderMeulen
85a9cdd003 Backed out 7 changesets (bug 1075670) for e10s browser_586068-browser_state_interrupted.js crashes.
Backed out changeset 4ca74b217fe8 (bug 1075670)
Backed out changeset 83199cfc333f (bug 1075670)
Backed out changeset 065b859e6525 (bug 1075670)
Backed out changeset a3e8329610d9 (bug 1075670)
Backed out changeset ced9055e0bcc (bug 1075670)
Backed out changeset e6d6f0c11133 (bug 1075670)
Backed out changeset b823c6c95030 (bug 1075670)

CLOSED TREE
2015-02-24 11:53:34 -05:00
Michal Novotny
72068c4ac6 Bug 1055369 - Assertion failure: !handle || !handle->IsDoomed(). r=honzab
CLOSED TREE DONTBUILD
2015-02-24 11:49:46 -05:00
Ryan VanderMeulen
cb005a585b Backed out changeset 12b059c5afc2 (bug 1055369) for frequent asserts across all test suites. 2015-02-24 11:40:22 -05:00
Ryan VanderMeulen
817fe1a62f Backed out changeset 12b059c5afc2 (bug 1055369) for frequent asserts across all test suites. 2015-02-24 11:40:22 -05:00
Jon Coppeard
b856730e30 Backed out changeset 4d1ffad0a2fd (bug 1133759) for octane-splay regression 2015-02-24 16:33:06 +00:00
Carsten "Tomcat" Book
9d183af4eb Merge mozilla-central to b2g-inbound 2015-02-24 13:32:05 +01:00
Carsten "Tomcat" Book
63460e2101 merge fx-team to mozilla-central a=merge 2015-02-24 13:15:43 +01:00
Carsten "Tomcat" Book
2bad2860c9 merge mozilla-inbound to mozilla-central a=merge 2015-02-24 12:54:34 +01:00
B2G Bumper Bot
c61e340c1e Bumping manifests a=b2g-bump 2015-02-24 02:43:46 -08:00
B2G Bumper Bot
fc6beb5c48 Bumping gaia.json for 6 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/2b5e7ccd2599
Author: Arthur Chen <crh0716@gmail.com>
Desc: Merge pull request #28065 from crh0716/1123567

Bug 1123567 - Init the state machine with the current storage status and consider the Mount-Fail case r=alive

========

https://hg.mozilla.org/integration/gaia-central/rev/a476c7128e28
Author: Arthur Chen <crh0716@gmail.com>
Desc: Bug 1123567 - Init the state machine with the current storage status and consider the Mount-Fail case

========

https://hg.mozilla.org/integration/gaia-central/rev/845990a7ad19
Author: autolander <bug.autolander@gmail.com>
Desc: Bug 1126082 - merge pull request #28360 from albertopq:1126082-sim-airplane-dismiss to mozilla-b2g:master

========

https://hg.mozilla.org/integration/gaia-central/rev/5d02e213e0c3
Author: albertopq <albert.pastor@gmail.com>
Desc: Bug 1126082 - Dismiss PIN dialog on airplane mode

========

https://hg.mozilla.org/integration/gaia-central/rev/51c43d1cd605
Author: Staś Małolepszy <stas@mozilla.com>
Desc: Merge pull request #28395 from stasm/1136025-unhide-get-more-languages

Bug 1136025 - Un-hide Get More Languages in Settings. r=arthurcc

========

https://hg.mozilla.org/integration/gaia-central/rev/c05938c45b85
Author: Staś Małolepszy <stas@mozilla.com>
Desc: Bug 1136025 - Un-hide Get More Languages in Settings. r=arthurcc
2015-02-24 02:40:28 -08:00
B2G Bumper Bot
f756ef0281 Bumping manifests a=b2g-bump 2015-02-24 01:11:10 -08:00