Commit Graph

576865 Commits

Author SHA1 Message Date
Martin Stransky
2f65f5a5ab Bug 1430018 - Add namespace mozilla::widget to nsNativeThemeGTK.cpp as it's needed by ScreenHelperGTK, r=jhorak
MozReview-Commit-ID: HG7Zt0LaOU8

--HG--
extra : rebase_source : cf4bf90241461a9cee3352abda93aec9efe3b6ca
2018-01-12 12:40:14 +01:00
Martin Stransky
194159f24b Bug 1430018 - Don't call gdk_flush() from expose event on Wayland as it crashes Gtk+ (Gnome BZ #773307), r=jhorak
MozReview-Commit-ID: EmwcG3VzHYn

--HG--
extra : rebase_source : 145821841dfc40002b1a951f2a2f453714cee9de
2018-01-12 11:07:23 +01:00
Martin Stransky
ff73291729 Bug 1430018 - Don't use gdk_x11_screen_supports_net_wm_hint(_NET_WM_STATE_FULLSCREEN) on Wayland, r=jhorak
MozReview-Commit-ID: 9ZmQhkftunW

--HG--
extra : rebase_source : 12a367ec4663009ab581fa8e55ab24d448eb1b0c
2018-01-12 10:47:36 +01:00
Martin Stransky
a0494bb534 Bug 1430018 - Unify GtkCompositorWidgetInitData() call for X11 and Wayland, r=jhorak
MozReview-Commit-ID: 1sv3X59dMvZ

--HG--
extra : rebase_source : 7dc00f826e05f82fae5bb42752f83a3f28c351bb
2018-01-12 10:43:31 +01:00
Martin Stransky
0581a38578 Bug 1430018 - Add runnable function name to NewRunnableFunction() calls, r=jhorak
MozReview-Commit-ID: CmN0U8WH8De

--HG--
extra : rebase_source : 464c0293c85fd32a1df9ea8d84c0cae540d6a492
2018-01-12 10:33:28 +01:00
Martin Stransky
54fb55b16f Bug 1430018 - Don't use nsWindow::IsX11Display() as it's not implemented, r=jhorak
MozReview-Commit-ID: cR6q3fBhTo

--HG--
extra : rebase_source : ab137c3fe504555155f998b7d7e4332f9f802fae
2018-01-12 10:30:38 +01:00
Nick Alexander
bbcf106cbd Bug 1411654 - Post: Cull unused variables; guard more with MOZ_BUILD_MOBILE_ANDROID_WITH_GRADLE. r=maliu
MozReview-Commit-ID: 8EGzVISIEQZ

--HG--
extra : rebase_source : 2e4d537f9dc336728c29a864a101ed2e47ee7abe
2017-11-14 15:03:52 -08:00
Nick Alexander
8b73eafa94 Bug 1411654 - Part 5c: Work through ResourceUnused lint issues. r=mcomella
MozReview-Commit-ID: 82rgLEEMQzG

--HG--
extra : rebase_source : ecb798ff7cd6c9da1e55bfd21f223099141250d8
2017-11-14 19:20:16 -08:00
Nick Alexander
9925256f15 Bug 1411654 - Part 5b: Work through WrongConstant lint issues. r=mcomella
MozReview-Commit-ID: 6zJ7EMu9rgO

--HG--
extra : rebase_source : 120657218f085fad178abcc7e7864c7db24c6692
2017-11-14 15:36:49 -08:00
Nick Alexander
425d9f6d09 Bug 1411654 - Part 6: Fix checkstyle. r=mcomella
MozReview-Commit-ID: GPRogNGKQBJ

--HG--
extra : rebase_source : f2a96c9acd918c81a4769fbc0f6f2453dcf20993
2017-11-14 09:49:27 -08:00
Nick Alexander
1ae5087753 Bug 1411654 - Part 5: Work through various new lint issues. r=mcomella
MozReview-Commit-ID: AhrT7jbztE3

--HG--
extra : rebase_source : b6d33e402a16b82c181408e3abdcb3d7726de85e
2017-11-08 10:11:25 -08:00
Nick Alexander
a31ac9c2b7 Bug 1411654 - Part 4: Use flavorDimensions to simplify {with,without}GeckoBinaries logic. r=maliu
MozReview-Commit-ID: 2rbsP6A0BY0

--HG--
extra : rebase_source : cbb33702f841134d58b1e49678bd2a402885bcb7
2017-11-09 16:47:05 -08:00
Nick Alexander
701f1ee2f2 Bug 1411654 - Part 3: Make each variant handle source from moz.build. r=maliu
The advantage of doing this per-variant is that we can really separate
the 'local' behaviour (re-generate via re-entrant |mach build|
invocations) from the 'official' behaviour (never re-generate via
re-entrance).

This also uses new Android-Gradle plugin 3.0+ APIs to integrate the
generated resources and Java code.

MozReview-Commit-ID: 4pd2iw1nJSb

--HG--
extra : rebase_source : 9e62ed6adf4b0fa01bcb9a927fa24626d3ce4d29
2017-11-09 13:47:46 -08:00
Nick Alexander
d8db003c57 Bug 1411654 - Part 2: Update Robolectric to 3.5.1. r=mcomella
There were a few API changes, mostly around explicitly creating
Services/Activities/ContentProvider instances, but they were pretty
easy to address.

Sadly, Robolectric doesn't really work with the new aapt2 processing
in Android-Gradle plugin 3.0+ -- see in particular
https://github.com/robolectric/robolectric/issues/3333#issuecomment-324300418
-- so we have to opt-out of the new implementation for now.  Hopefully
plugin 3.1+ will address these issues, which are widespread.

MozReview-Commit-ID: dlbd32kMs6

--HG--
extra : rebase_source : 325bc8142ec9b8a9d5029e7820e8f990d7e1a5fd
2017-11-07 20:26:43 -08:00
Nick Alexander
47c107e74f Bug 1411654 - Part 1: Upgrade to Android-Gradle 3.0+ and build-tools;26.0.2. r=maliu
New Android-Gradle plugins pin the build-tools version, and we want to
be consistent between Gradle and moz.build.

MozReview-Commit-ID: ApWS4rHzPuH

--HG--
extra : rebase_source : 38a9781c472d858f3300cbbcbdc6d2311c465713
2017-10-26 11:00:36 -07:00
Nick Alexander
f4efb03e4e Bug 1411654 - Part 0: Add rudimentary documentation about Gradle integration. r=maliu
This sketches the flavor dimensions.  The important ones are
`audience` and `geckoBinaries`, which I think simplify the situation
greatly.  Coupled with Bug 1417232 centralizing most everything in
`mobile/android/gradle.configure`, the Gradle configuration shouldn't
be so hard to evolve.

MozReview-Commit-ID: DILjVrnLA3F

--HG--
extra : rebase_source : 2373eecc45e670ff7a5697f2e8095a8ea8fb5058
2017-11-15 15:02:18 -08:00
Jim Chen
59bbfb5a7d Bug 1411654 - Pre: Fix CustomTabsSecurityPopup package. r=nalexander
MozReview-Commit-ID: ICTdy9WRlwG

--HG--
extra : rebase_source : d11fb2b2410bf9f1e7971b3c1adf2cb1beee1f67
extra : source : 805627e27bc602593349e7386ce79e7b607e153b
2018-01-09 14:59:55 -05:00
Nick Alexander
38c81ecf69 Bug 1411654 - Pre: Remove unused HomeExpandableListView. r=mcomella
This was added for the Remote Tabs panel in Bug 785199.  That code has
now morphed into the combined history panel, which uses a
RecyclerView.

MozReview-Commit-ID: J6KsVCn8mzh

--HG--
extra : rebase_source : 8e18f57882edee2de1e9decec323ea5831d314c8
2017-11-14 19:32:18 -08:00
Nick Alexander
ff80906133 Bug 1411654 - Pre: Fix checkstyle whitespace error in GeckoHlsPlayer. r=nalexander
MozReview-Commit-ID: 4h1p4J5B8sM

--HG--
extra : rebase_source : 3703ef9e2d083761371449945117cdcb773a4878
2018-01-04 12:26:11 -08:00
Nick Alexander
ed931e36aa Bug 1411654 - Pre: Update toolchain documents for Android toolchain jobs. r=maliu
MozReview-Commit-ID: 9h0imqIYyaZ

--HG--
extra : rebase_source : 2c88689ca69f7133687e07398d62f362b58195a6
2017-11-15 13:42:53 -08:00
Nick Alexander
15545670d1 Bug 1411654 - Pre: Gradle is no longer experimental; IntelliJ not supported. r=maliu
IntelliJ should still work, but we're committed to Android Studio at
this point.

MozReview-Commit-ID: 3BaXB4dh4vA

--HG--
extra : rebase_source : 9c48f5c81613f77b32614b6f50b4e502a11fa4f0
2017-11-15 13:36:02 -08:00
Nick Alexander
88e814095b Bug 1411654 - Pre: Clear icon disk storage in test. r=mcomella
Newer versions of Robolectric seem to have different semantics about
clearing disk caches, so this is necessary.  But for older versions,
it shouldn't hurt, and is slightly more clear than relying on an
implicit clear.

MozReview-Commit-ID: LRcaEPasXj8

--HG--
extra : rebase_source : 3b26f65d455c049b6190a9c481f8a4bec4e06dfd
2017-11-07 20:24:04 -08:00
Nick Alexander
95a99b4b2a Bug 1411654 - Pre: Remove unused PerProfileDatabaseProvider. r=mcomella
No idea what is going on with this hierarchy, but this isn't used and
isn't helping anything.

MozReview-Commit-ID: Ir3LxLYHR6M

--HG--
extra : rebase_source : c883a3fa60d1a47b19b53f2bbc7a9c2f0e2cf711
2017-11-07 20:18:56 -08:00
Nick Alexander
39c11c49d5 Bug 1411654 - Pre: Fix dangling resource. r=mcomella
This is just wrong.

MozReview-Commit-ID: EBtKTD07aNu

--HG--
rename : mobile/android/base/resources/values-v17/themes.xml => mobile/android/app/src/main/res/values-v17/themes.xml
extra : rebase_source : 01df9bd8ff4f2d700999ee5d2045890f8acb51ac
2017-11-08 09:47:48 -08:00
Nick Alexander
e6080c2ce7 Bug 1411654 - Pre: Don't block Google's maven repository. r=maliu
Turns out Google's maven repository doesn't publish checksums.  I
can't imagine why not, but there it is.  We have to think more about
whether to trust the artifacts downloaded from maven.google.com.

MozReview-Commit-ID: CdWijorq1IV

--HG--
extra : rebase_source : a884971e51ce7b1ff993754b130f462c476646ab
2017-10-27 14:50:27 -07:00
Nick Alexander
f866b2dcc8 Bug 1411654 - Pre: Teach |mach gradle| to take GRADLE_FLAGS from the command line. r=maliu
MozReview-Commit-ID: 150llND5h0j

--HG--
extra : rebase_source : 3c1859be6497dddf4cb9f05af7749cdd485776b7
2017-10-25 10:22:42 -07:00
Kartikaya Gupta
805ae43226 Bug 1430645 - Fix win64 compilation of mozsearch-plugin. r=emilio
MozReview-Commit-ID: 6xrnnZeYmFy

--HG--
extra : rebase_source : dd2e92b7179ac35baf5c39ecfb70952a21b87141
2018-01-15 14:33:04 -05:00
Nick Alexander
c033a8d02c Bug 1430309 - Remove classycle from the tree. r=froydnj
This was added in Bug 1096627 to enforce the baseline GeckoView
layering that we had at that time.  Now that GeckoView is a separate
Gradle project, that layering is automatically enforced.  It's time
for this to go.

MozReview-Commit-ID: Ly35QhgBdWM

--HG--
extra : rebase_source : 2a1807b3b06e332ca7d0980c01aa1e343f4df5d9
2017-11-16 09:58:51 -08:00
Coroiu Cristina
5081234fee Backed out 1 changesets (bug 1430309) for build bustage because of unused rule in mobile/android/moz.build after file removals on a CLOSED TREE
Backed out changeset 0b0cab4592d9 (bug 1430309)
2018-01-15 21:08:48 +02:00
Aaron Klotz
5d885fec06 Bug 1418131: Part 3 - Add Windows Security Center info to telemetry environment; r=gfritzsche
MozReview-Commit-ID: 3Cw7XIrROTn

--HG--
extra : rebase_source : 00e2fde11a5f635e970f456edf1544a354269db0
2017-11-16 18:10:41 -07:00
Aaron Klotz
63e4dc80e0 Bug 1418131: Part 2 - Add security software section to about:support; r=jimm
MozReview-Commit-ID: 2hJkpPxFakp

--HG--
extra : rebase_source : 97996fe0ee3cd7e9f38bf4a482d5deaf61e386f2
2017-11-18 13:59:45 -07:00
Aaron Klotz
b62e509838 Bug 1418131: Part 1 - Add Windows Security Center info to nsSystemInfo; r=erahm,jimm
MozReview-Commit-ID: 7XUAIesDpRu

--HG--
extra : rebase_source : 2dbd3592e1fd31aae2c0d9946a7146b3a472d3fa
2017-11-16 17:59:51 -07:00
Nick Alexander
6550a090f6 Bug 1430309 - Remove classycle from the tree. r=froydnj
This was added in Bug 1096627 to enforce the baseline GeckoView
layering that we had at that time.  Now that GeckoView is a separate
Gradle project, that layering is automatically enforced.  It's time
for this to go.

MozReview-Commit-ID: Ly35QhgBdWM

--HG--
extra : rebase_source : 8b7b6c5f3386804209bccca48a1549cc74cd0836
2017-11-16 09:58:51 -08:00
Csoregi Natalia
c131521de7 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-01-15 19:28:35 +02:00
Csoregi Natalia
41925c0b6c Merge inbound to mozilla-central. a=merge 2018-01-15 19:26:43 +02:00
Csoregi Natalia
79e1264320 Merge autoland to mozilla-central. a=merge 2018-01-15 19:25:30 +02:00
Csoregi Natalia
1c62bb4d0b Backed out 5 changesets (bug 1418425) requested per comment #83. on a CLOSED TREE a=backout
Backed out changeset 0ecc98bd0822 (bug 1418425)
Backed out changeset 7b7725d1d3c3 (bug 1418425)
Backed out changeset 2e95ebdcae6d (bug 1418425)
Backed out changeset 47fbcaf5ad05 (bug 1418425)
Backed out changeset 142001babb39 (bug 1418425)

--HG--
extra : source : 492a154a477f9f38122a5214367a95b76c82b560
2018-01-15 15:30:30 +02:00
Nicolas Chevobbe
dc1f2c73ac Bug 1430547 - devtools-reps v0.19.0: update reps bundle from GitHub;r=Honza."
MozReview-Commit-ID: HEzrPsSBiXx

--HG--
extra : rebase_source : 47b871b34d714514030ec5feada2d7f828b0e00b
extra : source : 268285d243be7c18aec084ad61ba4de86ff99c77
2018-01-15 11:38:20 +01:00
Gurzau Raul
e0cb05876d Merge inbound to mozilla-central. a=merge 2018-01-15 11:57:47 +02:00
Nicolas Chevobbe
f61189c897 Bug 1405341 - Enable browser_webconsole_hsts_invalid-headers.js in new console frontend;r=Honza."
MozReview-Commit-ID: JeAMdv3MpK7

--HG--
extra : rebase_source : b35bcb1546621b7afe6a5647af3fbbb4835084e5
2018-01-15 10:15:17 +01:00
Jessica Jong
bf1d5c0073 Bug 1429656 - Implement ShadowRoot.activeElement. r=smaug 2018-01-15 14:42:47 +08:00
Jessica Jong
20d2281c59 Bug 1429982 - cloneNode on ShadowRoot interface should throw NotSupportedError. r=smaug
The spec changed in order to align with the error thrown by importNode.

--HG--
rename : dom/tests/mochitest/webcomponents/test_bug1176757.html => dom/tests/mochitest/webcomponents/test_shadowroot_clonenode.html
2018-01-15 14:42:43 +08:00
Ekanan Ketunuti
83243e6444 Bug 1423678 - Add words to en-US dictionary. r=jet 2018-01-14 11:07:31 +07:00
arai
3d4967a6e0 Bug 1265174 - do not restore "onclose" attribute to null value in print preview window, when there was none at the start. r=smaug 2018-01-13 10:16:00 +02:00
Andreas Tolfsen
2861122a4c Bug 1430109 - Combine assert.window and assert.contentBrowser. r=maja_zf
The forthcoming window tracking refactoring introduces the new
abstractions ContentContext and ChromeContext that to a large extent
share the same interface.  They make it possible to interact with
both types of browsing context in a uniform manner.

Marionette currently has a lot of convoluted if-conditions to
paper over the differences between ChromeWindow, <xul:browser>,
and browser.Context.  Examples of this includes the assert.window
and assert.contentBrowser assertions: they essentially perform the
same job, but does not share the same API because the underlying
APIs they call are different.

In an effort to prepare Marionette for the window tracking refactoring,
this patch adds a bit of glue to combine them both into one assertion
called assert.open.  This checks that the browsing context has not
been discarded.

MozReview-Commit-ID: K5e7Sr1mq0
2018-01-15 14:02:39 +00:00
Andreas Tolfsen
f92c007d89 NO BUG - Regenerate Marionette API docs. r=me
DONTBUILD

MozReview-Commit-ID: KfKG7XfphNb
2018-01-15 14:01:32 +00:00
Andreas Tolfsen
ca71f397cc NO BUG - Correct README inclusion in Marionette API docs. r=me
DONTBUILD

MozReview-Commit-ID: KAElMSRZgnp
2018-01-15 14:01:00 +00:00
Nicolas Silva
b5d400cfab Bug 1377321 - Only use WebRender for top-level windows and remote content. r=kats 2018-01-15 14:38:19 +01:00
sotaro
8ebc9420bc Bug 1429997 - Add RenderCompositor to wrap platform dependent code r=nical 2018-01-15 22:22:15 +09:00
Georg Fritzsche
e415abb416 Bug 1429510 - Make last shutdown time a scalar. r=chutten 2018-01-15 13:22:56 +01:00