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

569347 Коммитов

Автор SHA1 Сообщение Дата
Gregory Szorc 69bf04fc25 Bug 1416052 - Fixup for test_clobber.py; r=me
Forgot to push the updated patch to review.

Test-only change. So self-reviewing.

CLOSED TREE

--HG--
extra : amend_source : 44bbf8748ce10982e6a3d96ff9ed42d3dc653f3f
2017-11-14 16:08:35 -08:00
Gregory Szorc fd8c53148d Bug 1416052 - Remove OBJDIR_TARGETS; r=nalexander
Now that we require mach to run client.mk and mach only invokes
client.mk for full builds (the "build" target) and configure
(the "configure" target), we should no longer have anyone using
client.mk as a proxy to make targets in the build backend.

So remove that feature.

MozReview-Commit-ID: BbaMdZHnRXy

--HG--
extra : rebase_source : 570e81a62e35cbe4ea27e011883a306f23f3024c
2017-11-09 23:31:36 -08:00
Gregory Szorc 10cdc19783 Bug 1416052 - Remove build_and_deploy target; r=nalexander
This was added before mach AFAICT. If people need this functionality,
we can add a mach command.

MozReview-Commit-ID: HL52nJE2SMQ

--HG--
extra : rebase_source : cdf67a997731e7f1f94e16aa36c3f806c09779e8
2017-11-09 23:15:03 -08:00
Gregory Szorc 2f56664d5a Bug 1416052 - Check clobber state from Python; r=nalexander
The clobber logic is already written in Python. Now that we
always use mach in front of client.mk, we can check the clobber
state before we execute client.mk.

Since we always check the clobber state, we can remove the
CLOBBER files from various dependencies in client.mk. The
clobberer code should ensure everything is in a good state.

The refactor of the clobber Python code required some changes to
its testing. We drop some support for verifying output strings.
But testing this correctly would require a bit of effort. I don't
think it is worth it.

MozReview-Commit-ID: 69CoImCgtNm

--HG--
extra : rebase_source : c925bb49fd54fe6a5abaa4ac9dc0833e139c6a57
2017-11-09 23:13:59 -08:00
Gregory Szorc ad52bc487e Bug 1416052 - Remove reference to undefined BUILD_PROJECT_ARG; r=nalexander
I'm pretty sure this was related to the now removed feature for
building multiple projects.

MozReview-Commit-ID: 4AG7lsk6BLS

--HG--
extra : rebase_source : b677a141161255ffeea57358d4f497fc05c8fb1c
2017-11-09 22:42:54 -08:00
Gregory Szorc 4c710821d7 Bug 1416052 - Remove mkdir of objdir from client.mk; r=nalexander
Now that mach is being used to invoke client.mk, we can perform
objdir directory creation there.

Removing the use of mkdir_deps meant that we could remove some
included make files which AFAICT were only used to provide
$(mkdir_deps).

MozReview-Commit-ID: 4ZRToz8xqZy

--HG--
extra : rebase_source : 8d0d2430b33863e1dec8cee84e72178307d1c6e0
extra : source : d223afd90123eba035714288d5da9394b2dbb8d8
2017-11-09 22:41:17 -08:00
Gregory Szorc 1bddd821c8 Bug 1416052 - Remove comment filtering; r=nalexander
The auto-generated make file that we include (and the `mach environment`
output that we included before that) should not contain comment lines.
I think it is safe to remove the code that filters them out.

It is possible a multi-line value in mozconfigs could contain lines
looking like comments and this may cause problems. I'm inclined to
believe that this scenario doesn't exist. If someone complains and
we need to bring back support, we could certainly do that.

MozReview-Commit-ID: 8kKw91HH4ms

--HG--
extra : rebase_source : 3fab8af7f713c91632f3d5172664832af10b555f
2017-11-09 22:26:26 -08:00
Gregory Szorc e4998a9e14 Bug 1416052 - Move export of FOUND_MOZCONFIG to Python; r=nalexander
This should have the same net result.

TBH, I'm not 100% convinced we need this export. It is only needed
to send variables to sub-makes. And the only make file reading
FOUND_MOZCONFIG is client.mk. Since the code that evals the
auto-generated make file is always executed in client.mk, we
shouldn't need this export.

All this code is going away soon anyway. So I'm inclined to cargo
cult this just in case.

MozReview-Commit-ID: DqF1BU702A

--HG--
extra : rebase_source : 31859c0d4bb6ceb06367bf0ca554d79d57d2d0c3
2017-11-09 22:23:14 -08:00
Gregory Szorc 5da7c49fc4 Bug 1416052 - Generate a make file to include in client.mk; r=nalexander
Currently, client.mk calls `mach environment` to obtain a make file
to be evaluated in the context of client.mk. The reason it is
implemented this way is because client.mk could be an entrypoint to
the build system.

With recent changes that require the use of mach to use client.mk,
we are now guaranteed to have Python code running before client.mk
is invoked. This means we don't need to invoke `mach` from client.mk.

This commit ports the code for generating a client.mk suitable make
file from `mach environment` to the build dispatcher. We now write out
a new .mozconfig-client-mk file in the objdir. client.mk is changed
to cat this file and to include it as a native make file.

The OBJDIR environment variable is also set so client.mk knows where
to read the auto-generated file from.

This commit should be backwards compatible.

Hopefully it is obvious, but this new make file is only temporary.
As soon as the remaining mozconfig logic is moved out of client.mk,
we should be able to simplify down to a single "include" in client.mk.

MozReview-Commit-ID: BEfWo76Z1qA

--HG--
extra : rebase_source : 752df93f816b95bda108a3c787d7f4941b136bbb
2017-11-09 22:27:16 -08:00
Gregory Szorc 550570a148 Bug 1416052 - Remove references to MOZ_CURRENT_PROJECT; r=nalexander
Actual uses of this variable were removed by 5fb427c50ca3
(bug 1412431). This is dead code.

MozReview-Commit-ID: GsDqpXZol2L

--HG--
extra : rebase_source : ce6eb799aa8a20e7a9af0587167bf05a6095b8df
2017-11-09 21:47:43 -08:00
Gregory Szorc 7a18a1aaf7 Bug 1416052 - Move config.guess logic to Python; r=nalexander
Instead of evaluating config.guess in client.mk, we evaluate it
in Python. The Python code also looks for CONFIG_GUESS in the
mozconfig. This still happens in client.mk courtesy of evaling
the mozconfig's relevant parts.

MozReview-Commit-ID: 87NmQiB2ccX

--HG--
extra : rebase_source : 368bc7bf1375a3943ce62fbb77458c40091a7092
2017-11-09 16:17:35 -08:00
Gregory Szorc bf68f14cc2 Bug 1416052 - Remove make validation from client.mk; r=nalexander
MozbuildObject._run_make() also invokes baseconfig.mk as part of
validating the make binary that will be executed.

Since mach calls this Python code and mach is now required to
invoke client.mk, the validation in client.mk is redundant and can
be removed.

autoconf.mk includes baseconfig.mk. So even once we eliminate
client.mk, the make backend itself will still validate make.
We should probably move this validation to moz.configure (if it
isn't already there). But that can be done another time.

MozReview-Commit-ID: DPCBdz253S6

--HG--
extra : rebase_source : 8588738c517bd636039555299095981c71722600
2017-11-13 14:38:40 -08:00
Gregory Szorc 6440692f13 Bug 1416052 - Pass TOPSRCDIR into client.mk; r=nalexander
MozReview-Commit-ID: B5TfneZRan7

--HG--
extra : rebase_source : 60f70e7ea656d58658fc5b609a36ada0b3fbbc02
2017-11-09 15:50:32 -08:00
Gregory Szorc dcc5195a28 Bug 1416052 - Add a wrapper to invoke client.mk; r=nalexander
We're about to start moving logic from client.mk into Python.

The transition will require doing things like setting
environment variables when we invoke client.mk. Prepare for
this by factoring the "call client.mk" logic into a reusable
function.

The function will obviously be temporary until client.mk is
no more. I'm not sure what the end state will be yet. But surely
having equivalent code in Python is better than having it in
make.

MozReview-Commit-ID: F15DxXSV8V3

--HG--
extra : rebase_source : e04815201652cd90a6e5e1b105be761c21169aa6
2017-11-09 15:50:37 -08:00
Jim Chen 4fc4969b9b Bug 1415994 - 8. Update auto-generated bindings; r=jchen
MozReview-Commit-ID: 2r1V6Hvl5Pb

--HG--
extra : rebase_source : c0347e4d915d3f585a6971fc3048d1f658490ec6
2017-11-14 18:18:36 -05:00
Jim Chen c9c8f7024a Bug 1415994 - 7. Migrate existing gfx code to use LayerSession; r=snorp
Remove most of the Compositor and Surface management code in LayerView.
And use LayerSession.Compositor in rest of the gfx code.

MozReview-Commit-ID: 5E9pj3eGHlv

--HG--
extra : rebase_source : 0b0a64113db58aaf376c98d5480f5cf31174a3d3
2017-11-14 18:18:35 -05:00
Jim Chen db59a90277 Bug 1415994 - 6b. Track GeckoDisplay origin changes; r=snorp
Add a `screenOriginChanged` callback to GeckoDisplay.Listener, which
informs Gecko of changes in the origin of the display. The origin
translates to coordinates for web APIs like screenX/screenY and certain
other calculations.

Also, make GeckoDisplay listen to layout changes in the view tree (by
overriding gatherTransparentRegion as an optimization), and call
`screenOriginChanged` accordingly.

MozReview-Commit-ID: C72EHCkbV3T

--HG--
extra : rebase_source : 240c5c8fb3c2938ae966f40e86f7c5a0ca66526c
2017-11-14 18:18:35 -05:00
Jim Chen eb9152fe63 Bug 1415994 - 6. Implement GeckoDisplay in GeckoView; r=snorp
Make GeckoView implement GeckoDisplay for its own SurfaceView, and use
that with GeckoSession.

MozReview-Commit-ID: LXllQGlCxaB

--HG--
extra : rebase_source : 1b41e411b2c293797d572d584c4f2b7036e83b23
2017-11-14 18:18:35 -05:00
Jim Chen ff6c25061a Bug 1415994 - 5. Use LayerSession from GeckoSession; r=snorp
Make GeckoSession inherit from LayerSession, and connect its Compositor
to native code as part of the GeckoSession routine.

MozReview-Commit-ID: wQaH1A0a7z

--HG--
extra : rebase_source : ee4ae96e974d15c8cb9ad569ea9abf0ace4d0fa5
2017-11-14 18:18:35 -05:00
Jim Chen e029f5ee64 Bug 1415994 - 4. Use LayerSession in native code; r=snorp
Make native code use LayerSession::Compositor instead of
LayerView::Compositor. Also, make some callbacks happen on the UI thread
to make the Java code cleaner.

MozReview-Commit-ID: KhuHel7Zfdn

--HG--
extra : rebase_source : 040442539fd7cc1af8e13e4be1d9ebfb1625f778
2017-11-14 18:18:35 -05:00
Jim Chen 3ef19c1765 Bug 1415994 - 3. Add LayerSession; r=snorp
Add a LayerSession class that's split off LayerView. Currently,
LayerSession takes over Surface management and the Compositor class from
LayerView. Eventually, all of LayerView will migrate to LayerSession.

MozReview-Commit-ID: F1ozOfZGY2g

--HG--
extra : rebase_source : eaf42122db1238c99b0da1e689bc365180a2835f
2017-11-14 18:18:34 -05:00
Jim Chen 915defe322 Bug 1415994 - 2. Introduce GeckoDisplay; r=snorp
Introduce a GeckoDisplay interface for interaction with GeckoSession.

MozReview-Commit-ID: 13prgWaPqKU

--HG--
extra : rebase_source : 282b27a1f7c11cf4e559b1f25946c3f4574e900a
2017-11-14 18:18:34 -05:00
Jim Chen 11dc67a595 Bug 1415994 - 1. Don't report screen size in GeckoLayerClient; r=rbarker
We don't actually use the screen size through GeckoLayerClient anymore.
Getting rid of it lets us get rid of the Context field in
GeckoLayerClient as well.

MozReview-Commit-ID: GM1jlhAZm4T

--HG--
extra : rebase_source : 04827eb61d6304d4782a7a935d5528013255726f
2017-11-14 18:18:34 -05:00
btara dc38bb2f52 Backed out 2 changesets (bug 1416284) for failing e.g. /webdriver/tests/minimize_window.py r=backout
on a CLOSED TREE
Backed out changeset dff6393650df (bug 1416284)
Backed out changeset b1474e3a2e94 (bug 1416284)

--HG--
extra : rebase_source : 0877a744252fdb0aeb022fc99fd8b117bdd2b628
2017-11-15 01:14:08 +02:00
Keith Yeung d7e9e3c9c2 servo: Merge #19211 - Move text-decoration-line out of mako (from KiChjang:text-decoration-line); r=emilio
Part of #19015.

Source-Repo: https://github.com/servo/servo
Source-Revision: 6f1d9a198fa3f060f3eae28f13ac248b0b1186ce

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 67e4b73b154a8ae116473b27f8c6b5f4650dc509
2017-11-14 15:34:10 -06:00
Christian Holler d794d62acf Bug 1416456 - Fix --enable-gczeal build bustage in JS engine. r=jandem
MozReview-Commit-ID: 7o5pRbwBZ14

--HG--
extra : rebase_source : d3df2c931fa54ac7ce8f7278f29a372fa3ff53b1
2017-11-11 11:21:32 +01:00
Masatoshi Kimura bc80676578 Bug 1416465 - Fix PATTERN_LINK and PATTERN_COPY entries of install manifests. r=mshal
MozReview-Commit-ID: DNVk40ISour

--HG--
extra : rebase_source : 4a9f45674152196ffd743dab2ddf615dec09a743
2017-11-12 00:06:22 +09:00
Mike Hommey d89bedbf1e Bug 1416989 - Remove mfbt_staticruntime. r=froydnj
The library was added in bug 1160285 for webapprt, and webapprt was
removed in bug 1238079.

--HG--
extra : rebase_source : 8e47523263eb53707b0d916cc550418f1bc646ef
2017-11-14 15:55:53 +09:00
Grigory Kruglov 2c2f325436 Bug 1408585 - Remove RepositorySession createSession delegates r=rnewman
MozReview-Commit-ID: KezYHeSWDiL

--HG--
extra : rebase_source : c63f69a7d5b16d152fa809560a70c14ae1da5715
2017-11-14 14:37:05 -05:00
Grigory Kruglov 45de7880f9 Bug 1408585 - Remove RepositorySession begin delegates r=rnewman
'begin' now throws in case things go wrong.

MozReview-Commit-ID: 8jcxYiPcsii

--HG--
extra : rebase_source : 3a6cd6b5dd68f8674d4de827a4228f1e3807724a
2017-11-13 14:29:49 -05:00
David Burns 7ef9d1e0fd Bug 1416284: Update WDSpec tests expectations. r=ato
MozReview-Commit-ID: HrikhmLgamY

--HG--
extra : rebase_source : be7d9904ca40eafc00d1900c2b0d9a3770e176c0
2017-11-10 19:46:40 +00:00
David Burns 45d2ccaa1d Bug 1416284: Dismiss alerts when we hit an UnexpectedAlertOpen error. r=ato
The Browser Testing and Tools group agreed that the webdriver endpoint, when
asserting for a modal, that it clears the modal on the screen and raises an
an Unexpected Alert Open error.

See https://github.com/w3c/webdriver/pull/1145

MozReview-Commit-ID: 1OnT1AMM0tY

--HG--
extra : rebase_source : dab2d8b96f3dc1dddb7b22127faf30e9e744b0bc
2017-11-10 17:25:50 +00:00
Dave Townsend 9b2e25316e Bug 1414406: Remove the inline options feature for add-ons. r=aswan
MozReview-Commit-ID: 4ycTaMzqWgx

--HG--
extra : rebase_source : 9176d61244a140a5c4fde953302e9fb72aebff5a
2017-11-13 15:09:00 -08:00
Dave Townsend e7eb1e3bb2 Bug 1414406: Remove inline options from talos tabswitch test add-on. r=mconley
MozReview-Commit-ID: 4XTJgkBdBsa

--HG--
extra : rebase_source : b511b2fc1a42171eac1f132f27a8ea927eacaaf6
2017-11-14 08:54:08 -08:00
Dave Townsend b184ffe5e8 Bug 1414406: Switch plugins to use inline browser options. r=aswan
MozReview-Commit-ID: 2hE7lYny6li

--HG--
extra : rebase_source : 0e5c7a3171b19cc78ef91d136130b7a3ab8248ff
2017-11-13 15:08:34 -08:00
Ed Lee 7da9e15ced Bug 1412505 - Background thumbnail request of go.twitch.tv strains CPU. r=adw
MozReview-Commit-ID: 9z20fvHMtcD

--HG--
extra : rebase_source : 59894811281b5b52ff863885af6414f2ea2300da
2017-11-13 16:09:00 -08:00
Nick Alexander 0d056acc9a Bug 1415778 - Part 3: Fix up Gradle. r=jchen
This patch makes the :geckoview Gradle project only use
o.m.geckoview.BuildConfig, and makes the :app Gradle project use all
of the preprocessed code coming from the moz.build system.
Eventually, we'll reduce that set of preprocessed code to only
o.m.gecko.BuildConfig, which will then be produced by Gradle.

MozReview-Commit-ID: Dnkde7axyZL

--HG--
extra : rebase_source : dc0b7f9fa542cbfd9c665bfac761d45f5957f7b8
2017-11-09 09:44:40 -08:00
Nick Alexander 4d8546e06b Bug 1415778 - Part 2: Move AppConstants to o.m.geckoview.BuildConfig. r=jchen
Some of these make no sense for GeckoView, but perfect is the enemy of
the good here.

MozReview-Commit-ID: 9MwRkc61v9P

--HG--
extra : rebase_source : 8e7fa8102c615f34dbd76394fb6877188007c3c7
2017-11-08 21:14:44 -08:00
Nick Alexander 26c00638a1 Bug 1415778 - Part 1: Stop using AppConstants.Versions. r=jchen
Versions is no more efficient than checking android.os.Build, and it
actually interferes with the Android lint that checks API
compatibility.

MozReview-Commit-ID: Cl1227uHWKZ

--HG--
extra : rebase_source : 91ceba45906ad5fbb47d55c982ecbb65569a3f00
2017-11-08 20:41:57 -08:00
Nick Alexander 6f9dfe6900 Bug 1415778 - Pre: Don't use ANDROID_PACKAGE_NAME in GeckoView. r=jchen
MozReview-Commit-ID: FswHnEIBM35

--HG--
extra : rebase_source : 0dcccaab5e907dfb415a3626cc353ff7de823ea3
2017-11-08 21:15:12 -08:00
Markus Stange ff02ca90b1 Bug 1417197 - Create constants for hardcoded theme fill colors. r=jrmuizel
MozReview-Commit-ID: KnRKm3TyHIE

--HG--
extra : rebase_source : 8d419344dd67dad5692506c31763e9c3c3d4d968
2017-11-14 16:01:32 -05:00
Markus Stange a25f1fafb3 Bug 1417197 - Create nsITheme::CreateWebRenderCommands in order to optimize simple theme fills, and add a Mac implementation. r=jrmuizel
MozReview-Commit-ID: 1G9NHPwd5ST

--HG--
extra : rebase_source : 74189f1bad32600979b099663bae27cd24d1f0ec
2017-11-14 15:34:56 -05:00
Markus Stange 457af832c8 Bug 1415203 - Don't refuse to create WebRender commands due to -moz-border-*-colors on border sides that don't have a border. r=jrmuizel
MozReview-Commit-ID: DPQQgds3GOk

--HG--
extra : rebase_source : 8fd44cb73619f475accd0ae5eb098b317cb958de
2017-11-14 15:47:53 -05:00
btara 986d32eb92 Merge mozilla-central to autoland r=merge a=merge on a CLOSED TREE 2017-11-14 22:40:50 +02:00
btara d95e1d710b Merge inbound to mozilla-central r=merge a=merge 2017-11-14 22:37:02 +02:00
btara 9607440bf8 Merge autoland to mozilla-central r=merge a=merge 2017-11-14 22:31:54 +02:00
ffxbld 7af6788dd0 No bug, Automated HPKP preload list update from host bld-linux64-spot-038 - a=hpkp-update 2017-11-14 11:51:23 -08:00
ffxbld 1d90c326d7 No bug, Automated HSTS preload list update from host bld-linux64-spot-038 - a=hsts-update 2017-11-14 11:51:19 -08:00
ffxbld 986813daef No bug, Automated blocklist update from host bld-linux64-spot-030 - a=blocklist-update 2017-11-14 10:58:40 -08:00
ffxbld e943551045 No bug, Automated HPKP preload list update from host bld-linux64-spot-030 - a=hpkp-update 2017-11-14 10:58:36 -08:00