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

21255 Коммитов

Автор SHA1 Сообщение Дата
Gurzau Raul 6675c62a6e Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-01-23 02:24:22 +02:00
Gurzau Raul 9801931bda Merge inbound to mozilla-central. a=merge 2018-01-23 02:21:47 +02:00
Dão Gottwald ded13b5888 Bug 1430647 - Remove remaining uses of -moz-border-*-colors from android themes. r=rnewman,snorp
MozReview-Commit-ID: eKGucTqWei
2018-01-15 20:36:31 +01:00
Grigory Kruglov 27652f947c Bug 1431456 - Bump url-matching regex patterns to their Android O counterparts r=nalexander
MozReview-Commit-ID: DZ1REabFyyo

--HG--
extra : rebase_source : eb3b169a1ee471abb676737a0b25ea01f3460b07
2018-01-22 16:57:57 -05:00
Grigory Kruglov 0298f7a4ed Bug 1431456 - Pre: junit4-ify weburlfinder tests, add a few extra test cases r=nalexander
MozReview-Commit-ID: 6y4zlcvBolW

--HG--
extra : rebase_source : c391076899cb2f78713bca6369ab20392e84fe80
2018-01-22 16:56:45 -05:00
Jan Henning 9358e0df96 Bug 1414928 - Part 2 - Updating the progress bar once is enough. r=nechen
We still need to explicitly set the progress when loading stops, so the progress
bar animates to completion before updateProgressState hides it, but in all other
cases calling just updateProgressState is enough to set the new progress value.

MozReview-Commit-ID: 9mQr5s83i9F

--HG--
extra : rebase_source : 7ce8751a97ea4220df7f3502c268507cd53a00dc
2017-11-06 20:36:10 +01:00
Jan Henning 3e8680bacd Bug 1414928 - Part 1 - Rename updateProgressvisibility to make its function clearer. r=nechen
MozReview-Commit-ID: 8mLUsJ0tfS3

--HG--
extra : rebase_source : e66859475406e5c1d6c64c5e0aadd0f7b63a0c51
2018-01-13 13:43:15 +01:00
Jan Henning c64da558ae Bug 1427260 - Skip deleted items when getting Activity Stream highlights. r=Grisha
All they do is clutter up the log with "HighlightsRanking: Skipping invalid
highlight item." entries, so we should just skip them in the query already.

MozReview-Commit-ID: 1ra7LcYxp4m

--HG--
extra : rebase_source : 5f150e9ed5fd293f27f110cd2973525d5b82e86d
2018-01-05 20:43:06 +01:00
Mike Conley b511744f61 Bug 888784 - Modify testFormHistory Fennec test to wait until FormHistory database is created. r=nalexander
MozReview-Commit-ID: Joysv4Qu9Li

--HG--
extra : rebase_source : b270fdc34fc4e0a37b3f946a5bec776819ad8e28
2018-01-10 17:17:31 -05:00
Mike Conley bda00666a9 Bug 888784 - Make sure Fennec's Sanitizer.jsm resolves a clearing Promise only after a data clearing attempt has finished. r=Grisha
MozReview-Commit-ID: 62JjwgozS5b

--HG--
extra : rebase_source : 6b96acf1b34168eaba681a0f400a487eba061df3
2018-01-09 15:48:33 -05:00
Narcis Beleuzu a9239fc56d Backed out 14 changesets (bug 888784) for ESlint failure on /FormHistory.jsm. on a CLOSED TREE
Backed out changeset 8c3fc3cb35b7 (bug 888784)
Backed out changeset 4f1b033d3cc0 (bug 888784)
Backed out changeset 4f7816c12e0b (bug 888784)
Backed out changeset 456d0f3e4e34 (bug 888784)
Backed out changeset 5044e2244d17 (bug 888784)
Backed out changeset 8a44ddb5f2c2 (bug 888784)
Backed out changeset 9e70d1f4489e (bug 888784)
Backed out changeset a799d6cd42e4 (bug 888784)
Backed out changeset f33b9cc53b30 (bug 888784)
Backed out changeset dc3b1653e70c (bug 888784)
Backed out changeset 53cb7d7c71da (bug 888784)
Backed out changeset 5f88a6ef1aac (bug 888784)
Backed out changeset 291e111da6ef (bug 888784)
Backed out changeset b2682e434b20 (bug 888784)
2018-01-22 18:13:06 +02:00
Mike Conley c2bcf0018f Bug 888784 - Modify testFormHistory Fennec test to wait until FormHistory database is created. r=nalexander
MozReview-Commit-ID: Joysv4Qu9Li

--HG--
extra : rebase_source : 5a6625b2a293cda44d40b81ccae15094eb6d0e21
2018-01-10 17:17:31 -05:00
Mike Conley c3aa7b7896 Bug 888784 - Make sure Fennec's Sanitizer.jsm resolves a clearing Promise only after a data clearing attempt has finished. r=Grisha
MozReview-Commit-ID: 62JjwgozS5b

--HG--
extra : rebase_source : c0b544898754fb8d3b0bcaa64bbb5dea4310359d
2018-01-09 15:48:33 -05:00
Geoff Brown 884a28894a Bug 1394170 - Try to make testSettingsPages more reliable; r=me, a=test-only
When checking settings categories, if category not found, scroll down; if still
not found, scroll up. This allows for the (apparently rare) case where settings
are initially rendered scrolled down, obscuring the top choice(s).
2018-01-20 07:41:53 -07:00
Shane Caraveo d78ea2931e Bug 1423725 add event, query and details for hidden status, r=Gijs,rpl
MozReview-Commit-ID: AMcmbh4m8lK

--HG--
extra : rebase_source : 6e8c246cbe69e4d298de031361e10276ddbf7551
2018-01-18 16:37:11 -07:00
Ciure Andrei 89bed92d39 Backed out changeset df5c47596915 (bug 1424252) for causing bug 1429757 a=backout 2018-01-18 23:57:56 +02:00
Geoff Brown 5fcd0c98f8 Bug 1395086 - Increase max wait time to avoid intermittent failure in testAudioFocus; r=alwu 2018-01-18 11:25:45 -07:00
Jim Chen 99b85681c5 Bug 1426244 - Follow-up to use notimestamp; r=me
Add a notimestamp option to not add timestamps to javadoc.
2018-01-18 12:12:31 -05:00
Tiberius Oros 0f3b1d6ace Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-01-18 00:28:57 +02:00
Tiberius Oros 25b2d642db Merge autoland to mozilla-central. a=merge 2018-01-17 23:46:17 +02:00
Ryan VanderMeulen ac18fd5152 Backed out 20 changesets (bug 1411654) for incorrect android:debuggable. r=nalexander, a=RyanVM
Backed out changeset cfad693be918 (bug 1411654)
Backed out changeset 55776829a744 (bug 1411654)
Backed out changeset c5bf85d56fed (bug 1411654)
Backed out changeset c270f97bb0da (bug 1411654)
Backed out changeset fde9bf9c14c3 (bug 1411654)
Backed out changeset 01836fd98c63 (bug 1411654)
Backed out changeset 730a70767743 (bug 1411654)
Backed out changeset 690e265c684c (bug 1411654)
Backed out changeset f918500d9cf5 (bug 1411654)
Backed out changeset cec2b8828cc8 (bug 1411654)
Backed out changeset 76085ddd5ac7 (bug 1411654)
Backed out changeset 2b37201606f5 (bug 1411654)
Backed out changeset d0d513d1c379 (bug 1411654)
Backed out changeset e7b0cc801cf1 (bug 1411654)
Backed out changeset 901b304603d9 (bug 1411654)
Backed out changeset 373c9a71d945 (bug 1411654)
Backed out changeset 3dc3beab95f8 (bug 1411654)
Backed out changeset 22a861db1573 (bug 1411654)
Backed out changeset 0850b319efd4 (bug 1411654)
Backed out changeset d276d3deba05 (bug 1411654)

--HG--
rename : mobile/android/app/src/main/res/values-v17/themes.xml => mobile/android/base/resources/values-v17/themes.xml
2018-01-17 15:55:38 -05:00
Ryan VanderMeulen f40d9dac13 Backed out changeset f5c4825b6ae8 (bug 1430417) for incorrect android:debuggable. r=nalexander 2018-01-17 15:54:42 -05:00
Ryan VanderMeulen 8ac2db0699 Backed out 7 changesets (bug 1419581) for incorrect android:debuggable. r=nalexander
Backed out changeset bd1e3857b5ba (bug 1419581)
Backed out changeset be888fa125dc (bug 1419581)
Backed out changeset 44bcb609e721 (bug 1419581)
Backed out changeset a7d75667c58b (bug 1419581)
Backed out changeset 2ea82ff4a757 (bug 1419581)
Backed out changeset 8f1655752d43 (bug 1419581)
Backed out changeset 65195aae48d8 (bug 1419581)
2018-01-17 15:54:22 -05:00
Noemi Erli 1c9bbfbebc Backed out 2 changesets (bug 1403519) for bustage on \python\mozbuild\mozbuild\test\frontend\test_reader.py on a CLOSED TREE
Backed out changeset f53f8adcd578 (bug 1403519)
Backed out changeset 5b293bcd3fc7 (bug 1403519)
2018-01-17 07:23:40 +02:00
Dustin J. Mitchell 26d48b3202 Bug 1403519 - only build docs when necessary r=gps
This marks **/docs/** as exclusively docs, and code that is autodoc'd as
inclusively docs.

That means that a change that purely modifies documentation files will *only*
run `docs` tasks, while a change that modifies autodoc'd source code will
*additionaly* run `docs` tasks.  The tasks do not run by default.

MozReview-Commit-ID: G9tOK0AwtrI

--HG--
extra : rebase_source : 8dd971e5c9b0eb5f47895664a4ea49442f303ecb
extra : source : 0881de9b2b5e36ec37cc866f1d4af109da57a919
2017-10-02 18:22:56 +00:00
Dustin J. Mitchell 00f03c413e Bug 1403519 - only build docs when necessary r=gps
This marks **/docs/** as exclusively docs, and code that is autodoc'd as
inclusively docs.

That means that a change that purely modifies documentation files will *only*
run `docs` tasks, while a change that modifies autodoc'd source code will
*additionaly* run `docs` tasks.  The tasks do not run by default.

MozReview-Commit-ID: G9tOK0AwtrI

--HG--
extra : rebase_source : 8dd971e5c9b0eb5f47895664a4ea49442f303ecb
extra : source : 0881de9b2b5e36ec37cc866f1d4af109da57a919
2017-10-02 18:22:56 +00:00
Nick Alexander 31f8c86b25 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 : b33d56c9c80a39129de525661dec459b7a40f09b
2018-01-04 15:45:56 -08:00
Nick Alexander 8aeea642d5 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 : 04a8e4b89153a2a11e8a793e893a2e626cbc877a
2018-01-04 15:37:15 -08:00
Nick Alexander 589fd13270 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 : 009c13d53663553ded4d3645c926f12ecee9da0b
2017-11-22 09:48:02 -08:00
Nick Alexander e7b25fe604 Bug 1419581 - Part 2: Guard media Fennec JNI primitives with MOZ_NATIVE_DEVICES. r=jchen
MozReview-Commit-ID: 3NWZ6BL5Tlr

--HG--
extra : rebase_source : 1cb20642addc0fde9e535bd3c0fc928bcf314109
2017-12-06 20:28:04 -08:00
Tad 99aa60a088 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 : 4184f40d82bcd44c2bb380d1a8ab534967818af5
2018-01-12 15:03:37 -08:00
Nick Alexander d5f1dc0020 Bug 1419581 - Pre: Add missing excludes when building without MOZ_NATIVE_DEVICES. r=nalexander
MozReview-Commit-ID: BXNFBEs2017

--HG--
extra : rebase_source : be0d0eb238151ad589529a2e5e088d275c2b2895
2018-01-04 14:49:58 -08:00
Margareta Eliza Balazs b61bd7a503 Backed out 7 changesets (bug 1419581) for B bustage on /builds/worker/workspace/build/src/widget/android/nsWindow.h:0 on a CLOSED TREE
Backed out changeset 1af5a54e829d (bug 1419581)
Backed out changeset c9aef37de282 (bug 1419581)
Backed out changeset 8d0855cb17b7 (bug 1419581)
Backed out changeset d0eba5853ab6 (bug 1419581)
Backed out changeset bc4cda1cc57c (bug 1419581)
Backed out changeset 93547276fba8 (bug 1419581)
Backed out changeset 45b5309a73cb (bug 1419581)
2018-01-17 00:03:19 +02:00
Margareta Eliza Balazs 757c55dc4f Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-01-16 23:49:24 +02:00
Nick Alexander 8adb3071f9 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 : 1eeffc4381f335fe56e380070852e363e6431eb7
2018-01-04 15:45:56 -08:00
Nick Alexander aaf5da4a9e 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 : 1a6f7414c0b8108862701dca896befd815d2ac16
2018-01-04 15:37:15 -08:00
Eugen Sawin 0b2fc75fce Bug 1430203 - [1.0] Ignore anchor elements with missing href when determining context menu type. r=nechen 2018-01-16 16:55:08 +01:00
Nick Alexander 0ea29cca03 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 : 63e4eaab1cf81b765503750c9b356fcc4a2470dd
2017-11-22 09:48:02 -08:00
Nick Alexander d61bdc9e40 Bug 1419581 - Part 2: Guard media Fennec JNI primitives with MOZ_NATIVE_DEVICES. r=jchen
MozReview-Commit-ID: 3NWZ6BL5Tlr

--HG--
extra : rebase_source : 7db66ec51c0a3337527c76d02109db71804d23f8
2017-12-06 20:28:04 -08:00
Tad a056b461cc 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 : 0547c79ecf404688972fc55658f09bdfce07b613
2018-01-12 15:03:37 -08:00
Nick Alexander 4d89e3b968 Bug 1419581 - Pre: Add missing excludes when building without MOZ_NATIVE_DEVICES. r=nalexander
MozReview-Commit-ID: BXNFBEs2017

--HG--
extra : rebase_source : 46977618d002691b1f0add847faaec47d1b15404
2018-01-04 14:49:58 -08:00
Jan Henning 6622ab0540 Bug 1430414 - Remove unused package-manifest.in references. r=nalexander
Those are all remnants of APIs that are now gone for good.

MozReview-Commit-ID: 266GvgbES3s

--HG--
extra : rebase_source : d160f559bfcb805ecf02f53784777534ede943f4
2018-01-13 18:48:39 +01:00
Nick Alexander ba75165470 Bug 1430313 - Don't take brand.dtd from object directory. r=mshal
This thorn in my side turns out to be unnecessary!  For reasons
unknown, brand.dtd is not localized for mobile/android/ in the way it
is for browser/.  That means we can just pull from the branding
directory, which avoids a frustrating issue where single-locale
repacks couldn't actually produce strings.xml since the subtle
dependency on the branding directory being built first wasn't
satisfied.

MozReview-Commit-ID: CBBaxfj5lMW

--HG--
extra : rebase_source : f020c82a78bb2d14760ba6cfb5d586795471bd8d
2017-11-16 14:45:13 -08:00
Nick Alexander 9932883508 Bug 1430417 - Do not include LeakCanary in automation builds. r=jchen
This got mixed up by Bug 1411654, which migrated to Android-Gradle
3.0+.  However, it's also much easier to fix due to the changes in the
new version!  This patch uses the new audience flavor dimension to
control the version of LeakCanary included.

Note that this turns off LeakCanary for builds produced by |mach
build|, because |mach build| always builds the official audience
flavor dimension.  We could use MOZILLA_OFFICIAL to differentiate, but
it's not worth it: local developers who care about LeakCanary
will/should be running a local audience flavor dimension from Android
Studio.

MozReview-Commit-ID: ASgxhNOMsWc

--HG--
extra : rebase_source : a5de2b6fdaf92a1d91739ca0b480a9d04d434b8c
2018-01-16 10:50:23 -08: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