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

25446 Коммитов

Автор SHA1 Сообщение Дата
Nick Alexander edf219ba3b 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 : 22008e9333b15c594ce26c2a52f67396d6e3ab84
extra : source : f918500d9cf5112b70bc8e0a120df435b02252b7
2017-10-26 11:00:36 -07:00
Nick Alexander e4a0492690 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 : a4ea96a49308f457a406716662d9b64d4ba749fe
extra : source : cec2b8828cc8800fa269d290ce38ea82c454b445
2017-11-15 15:02:18 -08:00
Jim Chen 4a45f5a85e Bug 1411654 - Pre: Fix CustomTabsSecurityPopup package. r=nalexander
MozReview-Commit-ID: ICTdy9WRlwG

--HG--
extra : rebase_source : 36bf354e37ac6aa447acb8f22eeb83358809ef89
extra : intermediate-source : 76085ddd5ac768b3ec8dfe9ca03283630c436681
extra : source : 805627e27bc602593349e7386ce79e7b607e153b
2018-01-09 14:59:55 -05:00
Nick Alexander f6dad2bbde 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 : 2d8a43b6697367f9fec1db760dd1e36ca12e31d0
extra : source : 2b37201606f5a921d91339e2c8a2ec86885b68e8
2017-11-14 19:32:18 -08:00
Nick Alexander 5bd03d9b73 Bug 1411654 - Pre: Fix checkstyle whitespace error in GeckoHlsPlayer. r=mcomella
MozReview-Commit-ID: 4h1p4J5B8sM

--HG--
extra : rebase_source : 3ac6e71b5b70549ed90d1db0160cd1d1233e66b5
extra : source : d0d513d1c3791cbb7ae24b22699f0663e45943d9
2018-01-04 12:26:11 -08:00
Nick Alexander 6f1f726e36 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 : 4d6bb4916cde61f198004661bed58025e91ffa9c
extra : source : 373c9a71d9451498462594b302b4fe2648431fef
2017-11-07 20:24:04 -08:00
Nick Alexander 34d3e93f29 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 : f1726d37fa285de1042fed76a722f941380cbf63
extra : source : 3dc3beab95f83b2f08ff9ff305fdd4b85cc05d9d
2017-11-07 20:18:56 -08:00
Nick Alexander 830afb59cc 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 : c6e58c6be966dd8ace6aa796b5a5e6000ee9c65e
extra : source : 22a861db1573364916ab2c5b6d0c6321ba08ff55
2017-11-08 09:47:48 -08:00
Nick Alexander b45e468335 Bug 1411654 - Pre: Teach |mach gradle| to take GRADLE_FLAGS from the command line. r=maliu
MozReview-Commit-ID: 150llND5h0j

--HG--
extra : rebase_source : 58449c7791d76441dc0068645c7c059877f8cf05
extra : source : d276d3deba053f66d74d258d964cab3fd5358a14
2017-10-25 10:22:42 -07:00
hemant 64d45d0cb9 Bug 1417937 - Remove unnecessary LoadContextInfo.jsm r=standard8
MozReview-Commit-ID: EnY0uKD4UD1

--HG--
extra : rebase_source : c968b273a8a05fb211e0fb1e1601ac1b968ca045
2018-01-31 23:16:46 +05:30
Andreea Pavel d652648d08 Merge mozilla-central to autoland a=merge on a CLOSED TREE
--HG--
rename : dom/media/webrtc/MediaEngine.h => dom/media/webrtc/MediaEnginePrefs.h
extra : rebase_source : 661454de54cac8d23010da02d0c0d68c1856500d
2018-01-31 19:39:52 +02:00
Jan Henning faa05c4265 Bug 1433715 - Make fallback folder icon content-accessible. r=Gijs
The skin used on Firefox for Android doesn't style directory listing, hence we
fall back to using the default icon from gre/res/html. As of bug 863246, this
location is no longer accessible from content as a resource://, hence the file
needs moving into the special content-accessible directory.

MozReview-Commit-ID: obtefafqul

--HG--
extra : rebase_source : 0227487abb4914a11f5749c493d215a1fec45e46
2018-01-28 23:01:42 +01:00
Andreas Pehrson 09f130fe44 Bug 1299515 - Wire up track-disabling logic to frontend APIs. r=jib, r=johannh
This modifies mediaCaptureWindowState() to say whether a camera or microphone is
actively captured or not. Note that this is not the same as the device being
on or off. If we disallow a device from being off while disabled, we still
notify chrome that we're not actively capturing.

MozReview-Commit-ID: B1taormqc3j

--HG--
extra : rebase_source : 292d323c4b9711cc242170f5c5c139bb87658c44
2017-11-17 20:13:06 +01:00
Andrew Swan 1acce175af Bug 1356331 Remove hotfix code from addons manager and related tests r=rhelmer
MozReview-Commit-ID: EjCOOgmXvVH

--HG--
extra : rebase_source : 051c618bd73e7bac41d5dc9339972742b029a879
extra : source : 9af7407fa9309e1fa2dc590309ed2329f02dc61e
2017-12-13 12:33:52 -08:00
Sebastian Hengst 732cb1d98b merge mozilla-inbound to mozilla-central. r=merge a=merge 2018-01-31 00:22:27 +02:00
Kris Maglione 19a956c2c6 Bug 1431533: Part 5b - Fix ESLint errors left over after rewrite. r=florian
MozReview-Commit-ID: 7bVI1iM6hor

--HG--
extra : source : 0b97a30cadb1a96d3cafae6b79ef0d3ec26770cf
extra : amend_source : 09a90b29837e339eec7bdf8504f86c28e74ca3dd
extra : intermediate-source : a1eca62826a1341ca24d4d2a93d4884d4fc7ad51
extra : histedit_source : eb26e73b531f9a34d3401d39f60b533b27b78540
2018-01-18 16:27:26 -08:00
Kris Maglione 918ed6c474 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Gurzau Raul c380dfe905 Merge inbound to mozilla-central. a=merge 2018-01-30 12:01:49 +02:00
Cosmin Sabou 37bb870512 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-01-30 00:47:39 +02:00
Boris Zbarsky 5d7b053f45 Bug 1418076 part 10. Get rid of JS uses of Ci.nsIDOMHTMLDocument. r=mystor
MozReview-Commit-ID: IT2OEbCODTX
2018-01-26 01:01:38 -05:00
Cosmin Sabou 9a65a40178 Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione e050496c59 Bug 1431533: Part 5b - Fix ESLint errors left over after rewrite. r=florian
MozReview-Commit-ID: 7bVI1iM6hor

--HG--
extra : source : 0b97a30cadb1a96d3cafae6b79ef0d3ec26770cf
extra : amend_source : d0515fe4eb13b59cc490ca9d964ad9ee15ef3cd3
extra : intermediate-source : 6e56f4c8843ed134b2dba34fb007298fd55be966
extra : histedit_source : 88abf9f4ea4e740a9391278625ef07395205c3f5%2Cc14bc7a71eb413fcb573ed0d030fd7f99a1468f0
2018-01-18 16:27:26 -08:00
Kris Maglione 6476f95b13 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Nick Alexander b8d28049fd Bug 1433285: Extract classes*.dex from .ap_ --with-gradle. r=gps,snorp
Right now, we only expect classes.dex, and even --with-gradle we copy
it out of $topobjdir/mobile/android/base.  This commit changes that
for --with-gradle: we only take classes.dex from the given .ap_ file,
and we also handle multiple classesN.dex files (for future multi-dex
support).  The moz.build system stays the same.

This avoids an issue with newer Android-Gradle plugins, where the
classes.dex produced could be either in dex/ or in dexMerger/,
depending on whether any external libraries needed merging.  By
extracting classes.dex from the .ap_ file, we don't need to know what
Gradle build steps actually occur.

The classes.dex in the package-manifest.in has been irrelevant since
Bug 1260241.

MozReview-Commit-ID: FozKwjTcMzU

--HG--
extra : rebase_source : 62b18c7ffe596be73cec4c9565333eac222b018e
2018-01-24 22:09:48 -08:00
Brindusan Cristian af8879d1eb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione c276bb9375 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Kris Maglione 6b36043a0d Bug 1433708: Part 3 - Fix Fennec about:config innerHTML sanitization. r=mconley
MozReview-Commit-ID: J9tmYCGfOcB

--HG--
extra : rebase_source : 9adbee0d98ea9928377f2f8b8c3ad8be00e4d795
2018-01-26 11:21:59 -08:00
Dylan Roeh c8a5a694f9 Bug 1419463 - Add onFocusRequest to ContentListener API. r=snorp
This listens for "DOMWindowFocus" and calls onFocusRequest in the GeckoSession ContentListener whenever it is received, and implements onFocusRequest for custom tabs and PWAs.
2018-01-29 10:38:46 -06:00
Brindusan Cristian 674c27a54e Merge inbound to mozilla-central. a=merge 2018-01-27 13:04:15 +02:00
Andreea Pavel 1dcfffb058 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-01-26 19:51:43 +02:00
Andreea Pavel 38bddf549d Merge inbound to mozilla-central. a=merge 2018-01-26 19:48:13 +02:00
maliu 11b18f5d45 Bug 1372517 - Escape name before joining innerHTML, r=sebastian
MozReview-Commit-ID: 8Wh6SCuHK6F
2018-01-26 10:05:48 -06:00
Sylvestre Ledru 3a35e750f3 Bug 1433417 - Fix a bunch of typo in the doc r=ahal
MozReview-Commit-ID: LRgL0CMJdDP

--HG--
extra : rebase_source : b99364bb96c1501a674a1726a3b5fdf0664a8e4f
2018-01-26 12:50:07 +01:00
Jan Henning 41d8089df7 Bug 1432619 - Remove DawnHelper. r=nechen
It was only used in the 55 Nightly and never meant to stay around.

MozReview-Commit-ID: JDJr9WC4V5M

--HG--
extra : rebase_source : af52eb24c4d599651a4cbde7b00049272448c9e6
2018-01-23 22:37:51 +01:00
arthur.iakab 39d63fc827 Merge mozilla-central to autoland 2018-01-26 02:31:18 +02:00
Geoff Brown f9aaea1460 Bug 1432598 - Do not show first-run screens during android tests; r=snorp 2018-01-25 11:59:38 -07:00
Nick Alexander 86c34ffd3d Bug 1419581 - Part 6: Add Android build configuration --without-google-play-services. r=dustin
MozReview-Commit-ID: 526BCiQwlm6

--HG--
rename : mobile/android/config/mozconfigs/android-api-16/nightly-artifact => mobile/android/config/mozconfigs/android-api-16/nightly-without-google-play-services
rename : testing/mozharness/configs/builds/releng_sub_android_configs/64_api_16.py => testing/mozharness/configs/builds/releng_sub_android_configs/64_api_16_without_google_play_services.py
extra : rebase_source : 4de338a5f8442159b3e80f492b9ff0f46f5635d9
extra : intermediate-source : 7f41dd3bbc2d25f937fa24a54612c25bc839f5ab
extra : source : bd1e3857b5bac3dc710521a5eb7377a1168b56ac
2018-01-04 15:45:56 -08:00
Nick Alexander c1ee58eb7f Bug 1419581 - Part 5: Add --without-google-play-services. r=chmanchester
Historically, we used MOZ_NATIVE_DEVICES to proxy for Google Play
Services.  (MOZ_NATIVE_DEVICES was the first GPS-consuming feature in
Fennec.)  With Python moz.configure, we can easily add the real
top-level flag that distributions like F-Droid actually want, which is
to build without (non-free) Google Play Services entirely.

MozReview-Commit-ID: 7YJKw3G1lQA

--HG--
extra : rebase_source : 17a25d2a15868f3661248a06b9048741e5a1dca5
extra : intermediate-source : d4d42899e5cd4255df3bfb4332532936e42ebf43
extra : source : be888fa125dc1948fc073ed69aa8116f47e22877
2018-01-04 15:37:15 -08:00
Kris Maglione aec63e140c Backed out 3 changesets (bug 1431533) for Android mochitest bustage. CLOSED TREE
MozReview-Commit-ID: 5ubE9EMQpZ9

--HG--
extra : histedit_source : df68d7595925c07d9d6e8bacc2c46e69556f479a%2C72b768b9825e20ede6603ead75f871c50dc041f7
2018-01-24 22:04:59 -08:00
Kris Maglione 30b3a49bfd Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
MozReview-Commit-ID: 8V1ZT53ReiP

--HG--
extra : rebase_source : 12b5f8c3e125111db7382eb3d7d20a99fb2c35b3
extra : absorb_source : e99fa7f6eee02e7e6cadeb898c7fcf6dac9c902a
extra : histedit_source : d0dfc31fadc2b81d341c9d0cd1efec02923c003b
2018-01-24 15:48:47 -08:00
Gabriele Svelto 511b8b49c6 Bug 1407557 - Add crash pings to Fennec; r=jchen
Besides adding a new ping builder for 'crash' type pings this patch modifies
part of the Java telemetry to accomodate for it: a new store has been added
for holding crash pings and the URL used to submit has been updated to pass
the 'v' parameter (crash pings are in the telemetry version 4 format).

MozReview-Commit-ID: CZzw7xv6YoS

--HG--
extra : source : 1089cb510d173dee2fe6d0e1a172af46808d52fa
2017-12-07 11:40:44 +01:00
Ian Moody 945e2dc862 Bug 1284548 - Use 'Share Audio' label for sharing audio played in <video>. r=snorp?
Vary the 'Share [...]' label depending on the actual use of the <video> tag, as
is done for the 'Save [...]' label.

MozReview-Commit-ID: Ga6RqV5dCby

--HG--
extra : rebase_source : 8a146d032d4fc9185fd197bb2ad737e62a17cb5b
2017-12-03 22:49:49 +00:00
Ian Moody 968dfff2c0 Bug 1284548 - Put logic classifying <video> element based on content in a function and reuse it. r=snorp?
MozReview-Commit-ID: 8ken4L8fEqq

--HG--
extra : rebase_source : 83c2c84683544a6d7e883fb40ea3202fa6312cbc
2017-12-03 23:29:33 +00:00
Jan Henning 16cb25481a Bug 1310491 - Part 2 - Abort speculative download if user backs out of our App Chooser dialogue. r=esawin
MozReview-Commit-ID: 1YsD2WZsats

--HG--
extra : rebase_source : aac970456b9bd9aaa1fbef707494455321c22324
2018-01-27 13:34:23 +01:00
Jan Henning bbadde1743 Bug 1310491 - Part 1 - Always properly clear speculative downloads when forwarding a download. r=esawin
If we have to forward a download that we cannot handle ourselves to the Android
download manager, then the speculative download started by Firefox needs to be
aborted no matter whether forwarding succeeded or not.

MozReview-Commit-ID: B6zCk28ci1P

--HG--
extra : rebase_source : 1a051afa7eab3426d397e362bc5d26a6a7886917
2018-01-27 13:29:38 +01:00
Nick Alexander 0f67bd1add Bug 1419581 - Part 4: Allow setting MOZ_ANDROID_GCM in mozconfig. r=chmanchester
This also verifies that we have Google Play Services (via
MOZ_NATIVE_DEVICES=1) if we ask to build with GCM.  This was just an
oversight earlier.

MozReview-Commit-ID: BvJi7Sfo4pu

--HG--
extra : rebase_source : c02766104281a895ab57e58079a1f651e1b9f832
extra : intermediate-source : 78828bf781d737b03c249de3dd41dc9edec788fc
extra : source : 44bcb609e721598135a19bf41ba7ff94f3051553
2017-11-22 09:48:02 -08:00
Nick Alexander b2dc9043ec Bug 1419581 - Part 2: Guard media Fennec JNI primitives with MOZ_NATIVE_DEVICES. r=jchen
MozReview-Commit-ID: 3NWZ6BL5Tlr

--HG--
extra : rebase_source : 8cc4621269ac24abe889494ccfa80e6f90c7f428
extra : intermediate-source : 072108d165905e8e6dfdc6720512b6610e30cd68
extra : source : 2ea82ff4a757a0aeb7bdd8cff611d5b92dec14eb
2017-12-06 20:28:04 -08:00
Tad 5545cfcfe1 Bug 1419581 - Part 1: Simplify MMA GCM sender IDs logic. r=nechen
Right now, the MMA glue is built into constants.jar.  constants.jar is
the home of preprocessed Java code; it's built very early in the build
process and intended to be a tiny kernel of shared definitions.  The
fact that the MMA glue has to live there is just a sad consequence of
the non-Gradle build system, which makes dependency injection
difficult.  Unfortunately, another consequence is that it's not
possible to move reference org.mozilla.gecko.{gcm,push} in the MMA
glue, because those packages are built after constants.jar.

Instead, this patch lifts some of the logic into AppConstants, which
is part of constants.jar.  We had grown a twisty maze of indirection
around the GCM sender IDs and it just wasn't necessary; this just
lifts the static pieces up a level and removes a bunch of interface
indirection.

What surprises me is that asking Google's InstanceId.getToken for a
GCM token with a "comma,separated,list" of GCM sender IDs works -- and
indeed, has worked since we added the second MMA sender ID.  I didn't
expect that and can't explain it, but this doesn't change that logic
and local testing (both of the existing APKs, and APKs with this
modification) looks good.


MozReview-Commit-ID: 3hObfAwNlPH
***
a0c07e53 o draft Bug 1419581 - Part 1: Move MMA setGcmSenderID from MmaDelegate to MmaLeanplumImp. r=nechen

MozReview-Commit-ID: A4hrk6pVqGW

--HG--
extra : rebase_source : ce7c1585529e61491a0133633b976b27083c2372
extra : intermediate-source : f8b3e95f18e4082ab8404187508d09eadba8612e
extra : source : 8f1655752d43af33356d497d559888a967bbf6a0
2018-01-12 15:03:37 -08:00
Nick Alexander 3ce208316e Bug 1419581 - Pre: Add missing excludes when building without MOZ_NATIVE_DEVICES. r=nalexander
MozReview-Commit-ID: BXNFBEs2017

--HG--
extra : rebase_source : 0ab618268eb680ca7dc0eb9911dc05e7e9b1ac77
extra : intermediate-source : 5f7645a19bf1ff9aa822314135f8e702f57b3771
extra : source : 65195aae48d88edc3c23f88083cf77251d9556fe
2018-01-04 14:49:58 -08:00
Robert Helmer 77d3af2651 Bug 1260213 - enable system add-on updates for Fennec r=snorp
MozReview-Commit-ID: LH4oPseLBpp

--HG--
extra : rebase_source : 7dc5867e15b128c5cf631c597deb8e15935bddaa
2018-01-24 11:11:10 -08:00