Commit Graph

24966 Commits

Author SHA1 Message Date
Csoregi Natalia
c79466f107 (bug 1411688) Make --with-gradle handle single-locale repack r=snorp a=reland
--HG--
extra : amend_source : d435c08a762988804bfe23251b8b5f76702eca99
2017-11-06 15:23:47 +02:00
Csoregi Natalia
aaa47364af Backed out 5 changesets (bug 1411688) for failing Android single-locale repacks. r=backout a=backout
Backed out changeset 65d5d13b4ea0 (bug 1411688)
Backed out changeset 8ba514bd8ed6 (bug 1411688)
Backed out changeset 866854a996b8 (bug 1411688)
Backed out changeset 34f83aab44e6 (bug 1411688)
Backed out changeset 2e4e139bb5d7 (bug 1411688)
2017-11-06 12:18:50 +02:00
Nick Alexander
af1a4a8366 Bug 1411688 - Part 4: Make single-locale repacks agree with underlying Nightly builds. r=aki
There's nothing that makes sense in the existing setup; we're only not
getting bitten because the set of things that _do_ depend on all of
the flags that differ between the underlying Nightly builds and
single-locale repacks is small, and nobody has complained.  For
example, about:licenses probably does not include the Adjust SDK
license for single-locale repacks.

This patch series recompiles the Java code as part of each
single-locale repack, and that means the feature flags, etc, need to
be the same between the underlying compiled code (from the underlying
Nightly build) and the fresh Java compile.  This patch tries to
harmonize the two.

MozReview-Commit-ID: 230q7HuD1vV

--HG--
extra : rebase_source : 1be8a389ed289c788add4d3e95c540f29165cf6b
extra : source : d7f794ec69ccd38d66ec5394fac7cc6658e29ce4
2017-10-23 13:50:51 -07:00
Nick Alexander
cc2129e406 Bug 1411688 - Part 1: Make --with-gradle handle single-locale repacks. r=snorp
Single-locale repacks do the following:

Download existing APK; unzip APK; update l10n resources; |mach package| with IS_LANGUAGE_REPACK=1.

This is pretty hard to accommodate, but we can try.  The key issues
here are to recognize when IS_LANGUAGE_REPACK=1 and not ask for l10n
resources (in particular, strings.xml) to be generated.

We do need to include the freshly built classes.dex when repackaging,
because newer Gradle/aapt doesn't preserve the R.java IDs.

MozReview-Commit-ID: 9FvQtmPOUjg

--HG--
extra : rebase_source : b0440ceb318662bf3c08f2139c51dae5775a6b38
2017-10-23 13:24:58 -07:00
Nick Alexander
a090e4b296 Bug 1411688 - Part 0: Make --with-gradle handle single-locale repack ABIs. r=snorp
This agrees with
http://searchfox.org/mozilla-central/rev/423b2522c48e1d654e30ffc337164d677f934ec3/mobile/android/base/generate_build_config.py#95.
It should really come from the underlying binaries for repacks, but
right now we only repack ARM builds, so this will do.

MozReview-Commit-ID: 3UvrJDV1l9a

--HG--
extra : rebase_source : e57b49e32c80906bdb513850c370d64e5a140978
2017-11-02 09:38:47 -07:00
Sebastian Hengst
07b805d165 Backed out 5 changesets (bug 1411688) for flake8 linting failure at testing/mozharness/scripts/mobile_l10n.py. r=backout on a CLOSED TREE
Backed out changeset 8ddf3257a8db (bug 1411688)
Backed out changeset c313d76f2aa5 (bug 1411688)
Backed out changeset 3df83a3b7e9c (bug 1411688)
Backed out changeset 133417cefdab (bug 1411688)
Backed out changeset a8fd33d8a2af (bug 1411688)
2017-11-04 00:49:47 +01:00
Dave Townsend
1a6bee3827 Bug 1412361: Remove unused XBL checkbox-baseline and checkbox-radio. r=nalexander
MozReview-Commit-ID: 3wHHhkcGXEC

--HG--
extra : rebase_source : a9d03c421f47b6c8ed47cf37d7a9c2ebb3900626
2017-11-02 10:28:53 -07:00
Nick Alexander
032f7f4f46 Bug 1411688 - Part 4: Make single-locale repacks agree with underlying Nightly builds. r=aki
There's nothing that makes sense in the existing setup; we're only not
getting bitten because the set of things that _do_ depend on all of
the flags that differ between the underlying Nightly builds and
single-locale repacks is small, and nobody has complained.  For
example, about:licenses probably does not include the Adjust SDK
license for single-locale repacks.

This patch series recompiles the Java code as part of each
single-locale repack, and that means the feature flags, etc, need to
be the same between the underlying compiled code (from the underlying
Nightly build) and the fresh Java compile.  This patch tries to
harmonize the two.

MozReview-Commit-ID: 230q7HuD1vV

--HG--
extra : rebase_source : 40bdac7073614fcb366e97b733ad98afb4f2dfb4
extra : source : d7f794ec69ccd38d66ec5394fac7cc6658e29ce4
2017-10-23 13:50:51 -07:00
Nick Alexander
9de930db2b Bug 1411688 - Part 1: Make --with-gradle handle single-locale repacks. r=snorp
Single-locale repacks do the following:

Download existing APK; unzip APK; update l10n resources; |mach package| with IS_LANGUAGE_REPACK=1.

This is pretty hard to accommodate, but we can try.  The key issues
here are to recognize when IS_LANGUAGE_REPACK=1 and not ask for l10n
resources (in particular, strings.xml) to be generated.

We do need to include the freshly built classes.dex when repackaging,
because newer Gradle/aapt doesn't preserve the R.java IDs.

MozReview-Commit-ID: 9FvQtmPOUjg

--HG--
extra : rebase_source : 6a34a8c299138ea39c6703f334c8fd5f49b03237
2017-10-23 13:24:58 -07:00
Nick Alexander
e5ebccdd4f Bug 1411688 - Part 0: Make --with-gradle handle single-locale repack ABIs. r=snorp
This agrees with
http://searchfox.org/mozilla-central/rev/423b2522c48e1d654e30ffc337164d677f934ec3/mobile/android/base/generate_build_config.py#95.
It should really come from the underlying binaries for repacks, but
right now we only repack ARM builds, so this will do.

MozReview-Commit-ID: 3UvrJDV1l9a

--HG--
extra : rebase_source : 64afca521be49b0bfb4c4a677be24886c0e7f412
2017-11-02 09:38:47 -07:00
Jean-Yves Avenard
5c22c39c36 Bug 1295886 - P6. Add ffmpeg libs to package manifest. r=snorp
MozReview-Commit-ID: EhGDbCGycLe

--HG--
extra : rebase_source : c4ebb88af27fefe77d67fef54766aba6bf20c384
2017-10-31 16:41:42 +01:00
James Cheng
590d6b160c Bug 1396698 - Part1 - Remove the dispatchTo gecko main thread attribute. r=kikuo
MozReview-Commit-ID: 9Opa894ZQMQ

--HG--
extra : rebase_source : 78807da52b2b070a0488ef2c1f673b728172e59d
2017-11-03 13:40:46 +08:00
Nick Alexander
a655304bb6 Bug 1255042 - Remove mobile/android/Makefile.in. r=ted.mielczarek
MozReview-Commit-ID: GS8SYaXPJbp

--HG--
extra : rebase_source : b5e7fb5dac1dc9d689b237366ef2c71ec3d80970
2017-11-02 13:46:54 -07:00
Nick Alexander
2662541c7e Bug 1405396 - Post: Make it easier to debug l10n builds. r=maliu
This adds the R.txt files produced by the build -- timestamped, so
they are kept in order -- to the Task Cluster artifacts, for later
comparison.

MozReview-Commit-ID: 3hj6XjFDIE4

--HG--
extra : rebase_source : 04c1bcd2bf62fd193541fa92dd8841db102f6b5a
extra : source : 5a00c3642c972385cd212fe8b15240bce6acef50
2017-10-20 11:07:21 -07:00
Nick Alexander
260954c89b Bug 1405396 - Build with Gradle by default; turn Bg (Gradle) into Bng (non-Gradle). r=maliu
This also turns the tier 2 job B(n)g into tier 1, since moz.build is
still tier 1.  It also pushes a lot of GeckoView related tasks into
the main builds, since they should run as part of Gradle builds.

This also removes unused tooltool manifests; the jobs that used these
manifests use only toolchain tasks now.

MozReview-Commit-ID: 2GmnJ7joCTT

--HG--
extra : rebase_source : 75cd2dfb51e0e1b510f5e618c2dc881cf5f22bf2
extra : source : 6b95b09d6afbb83ba89c47b237dfce6e15587bbe
2017-10-18 13:05:54 -07:00
Nick Alexander
8f5ac292c2 Bug 1405396 - Pre: Set file.encoding=utf-8 for GeckoView packaging. r=maliu
We already had a work-around in place for Gradle invocations, but
apparently that wasn't enough for the Maven deployer, which must
launch its own JVM, which doesn't have the correct file encoding on
Linux.

MozReview-Commit-ID: 4z1IEZBmLaz

--HG--
extra : rebase_source : 951bb4c75ecba0d83cb86e728e1164dda99a6a08
extra : source : 6dd2abe095b82ed1a0fed4e687a7bbf3a5e036de
2017-10-18 19:04:10 -07:00
Nevin Chen
7ac62982d7 Bug 1413114 - Enable full bookmark management features by default. r=jwu,maliu
MozReview-Commit-ID: GgqloikZnF8

--HG--
extra : rebase_source : d4784f5ad61880487b3c8f88b9f58be95137af49
2017-10-31 16:15:50 +08:00
Jim Chen
4b2b6c27bf Bug 1412872 - 10. Follow-up to fix Gradle robocop failures; r=me
Pass the application Context rather than the test Context to Clipboard to avoid
failure caused by using the wrong Context.

MozReview-Commit-ID: IDzCwjb5rrF
2017-11-01 22:47:29 -04:00
Ryan VanderMeulen
15033615f1 Merge m-c to inbound. a=merge 2017-11-01 21:55:34 -04:00
L10n Bumper Bot
9a8b5aa16a no bug - Bumping Fennec l10n changesets DONTBUILD r=release a=l10n-bump
bn-BD -> ['android', 'android-api-16', 'android-multilocale']
ne-NP -> ['android', 'android-api-16', 'android-multilocale']
2017-11-01 15:40:42 -07:00
Sebastian Hengst
4ff29d14f8 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: GSDYk9wLOAM

--HG--
rename : browser/base/content/test/general/browser_bug561636.js => browser/modules/test/browser/formValidation/browser_form_validation.js
rename : browser/base/content/test/general/browser_bug595507.js => browser/modules/test/browser/formValidation/browser_validation_iframe.js
rename : browser/modules/test/browser/browser_bug1319078.js => browser/modules/test/browser/formValidation/browser_validation_invisible.js
2017-11-01 22:55:12 +01:00
Nick Alexander
6041444540 Bug 1412984 - Strip 'vars' debugging from Fennec in "official" audience flavour dimension. r=maliu
MozReview-Commit-ID: 6BEn52ARHQS

--HG--
extra : rebase_source : 8f3d66ae261036beeea9af5e5474a04a971c9f73
extra : source : 6abdc197ce71c269370ea120995125f039cb3474
2017-10-30 13:24:21 -07:00
Nick Alexander
c1a631a475 Bug 1413332 - Make geckoview's BuildConfig under --with-gradle include computed values. r=maliu,snorp
There's already a secret dependency where
mobile/android/base/Makefile.in (and generated AppConstants.java)
depends on $topobjdir/buildid.h, so this shouldn't be much worse than
what we have.

MozReview-Commit-ID: 2hkAGE9uT10

--HG--
extra : rebase_source : 090b7a5f2063a4e0cc20252703e6575e6716448a
2017-10-31 14:29:39 -07:00
Jim Chen
db34ad5809 Bug 1412872 - 8. Remove GeckoAppShell dependency in gecko-view; r=snorp
In the future, GeckoAppShell will only be part of the service process
library, and will not be part of the app process library. Therefore, we
should minimize GeckoAppShell usage in any GeckoView code that will
likely end up in the app process library.

In particular, AndroidGamepadManager and Clipboard are made to accept
Context as arguments, instead of using
GeckoAppShell.getApplicationContext() for getting the Context.

MozReview-Commit-ID: G9SC815H5Ku
2017-11-01 14:54:04 -04:00
Jim Chen
843d67f245 Bug 1412872 - 7. Move background events to GeckoApplication; r=nechen
Move the "Bookmark:Insert" and "Image:SetAs" events from GeckoApp to
GeckoApplication. These events are global to the application, and they
operate on the background thread, which will no longer be an option for
the GeckoView event dispatcher.

MozReview-Commit-ID: 8kesv8sJ8At
2017-11-01 14:54:04 -04:00
Jim Chen
e6d6cbb51a Bug 1412872 - 6. Remove default prompt delegate support; r=snorp
Remove support for a default prompt delegate in GeckoView. Instead, all
prompts without a known window will go to the active GeckoView if
available.

MozReview-Commit-ID: C62V6jtgDCl
2017-11-01 14:54:03 -04:00
Jim Chen
e8b3470987 Bug 1412872 - 5. Move GeckoAccessibility out of gecko-view; r=snorp
Move GeckoAccessibility out of gecko-view and into gecko-browser.
GeckoAccessibility as-is is currently only good for Fennec and is not
suitable for generic GeckoView use.

MozReview-Commit-ID: Fek8fLJNC6F

--HG--
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoAccessibility.java => mobile/android/base/java/org/mozilla/gecko/GeckoAccessibility.java
rename : mobile/android/geckoview/src/thirdparty/java/com/googlecode/eyesfree/braille/selfbraille/ISelfBrailleService.java => mobile/android/thirdparty/com/googlecode/eyesfree/braille/selfbraille/ISelfBrailleService.java
rename : mobile/android/geckoview/src/thirdparty/java/com/googlecode/eyesfree/braille/selfbraille/SelfBrailleClient.java => mobile/android/thirdparty/com/googlecode/eyesfree/braille/selfbraille/SelfBrailleClient.java
rename : mobile/android/geckoview/src/thirdparty/java/com/googlecode/eyesfree/braille/selfbraille/WriteData.java => mobile/android/thirdparty/com/googlecode/eyesfree/braille/selfbraille/WriteData.java
2017-11-01 14:54:03 -04:00
Jim Chen
7496680254 Bug 1412872 - 4. Handle negate scroll pref in native code; r=rbarker
Handle the negate_wheel_scroll pref in native code so we don't depend on
PrefsHelper in NativePanZoomController.

MozReview-Commit-ID: 14YCcrDlObz
2017-11-01 14:54:03 -04:00
Jim Chen
453375471c Bug 1412872 - 3. Remove native GeckoView loadUri call; r=snorp
Remove the native GeckoView loadUri call because it's Fennec-only.
Replace the call with a Fennec-only "Tab:OpenUri" event.

MozReview-Commit-ID: 7xZW9aceoPL
2017-11-01 14:54:03 -04:00
Jim Chen
08bc532bbe Bug 1412872 - 2. Implement Parcelable for GeckoViewSettings; r=snorp
Make GeckoViewSettings implement Parcelable so we can serialize it to
save settings.

MozReview-Commit-ID: HoxqbewtJko
2017-11-01 14:54:02 -04:00
Jim Chen
78a5bdee25 Bug 1412872 - 1. Implement Parcelable for GeckoBundle; r=snorp
Implement Parcelable interface for GeckoBundle so it can be marshalled
across processes over Bundle, AIDL, etc. Also, add a stub for a
`GeckoBundle.put` method that suggests alternatives to use.

MozReview-Commit-ID: IArNL7LYUPZ
2017-11-01 14:54:02 -04:00
Jim Chen
5f70c0bf46 Bug 1406168 - 3. Remove AndroidJavaWrappers; r=snorp
Remove AndroidJavaWrappers. Convert nsJNIString usages to use
jni::String and AndroidMotionEvent usages to use java::sdk::MotionEvent.
Move key code constants to GeckoEditableSupport.cpp.

MozReview-Commit-ID: CwcGGADWCNv
2017-11-01 14:48:48 -04:00
Jim Chen
d19eceacd5 Bug 1406168 - 1. Remove JNI.jsm; r=sebastian
Remove JNI.jsm. Convert code that used JNI.jsm to the equivalent using
EventDispatcher.

MozReview-Commit-ID: JQdCubcTBAR
2017-11-01 14:48:48 -04:00
Makoto Kato
f2055ece85 Bug 1413041 - Don't set LLVM_CONFIG on beta and release. r=gps
LLVM_CONFIG is only allowed when building stylo.  If not building it, it causes invalid option error.

mozconfigs doesn't have same value for milestone.is_nightly of moz.configure.
So, to detect nightly version, I analyze milestone.txt.

MozReview-Commit-ID: Iq1FvxymKEc

--HG--
extra : rebase_source : e07aaf1ee82e7459d97e6558f95967ac7972af9f
2017-11-01 17:12:43 +09:00
Michael Kaply
685298ea4c Bug 1412126 - ACTION_EXTERNAL_APPLICATIONS_AVAILABLE no longer needed for Stumbler. r=snorp
MozReview-Commit-ID: 8qGk7nok7Hy

--HG--
extra : rebase_source : 65c23e47b20963a67bb13eb62cd83b5d44e64db5
2017-11-01 07:25:09 -05:00
Michal Stanke
faeeb6c079 Bug 1403108 - [cs] Unify mobile search engines list with browser, r=delphine,flod
MozReview-Commit-ID: 27CapGDp6pY

--HG--
extra : rebase_source : 6ae9d814e6a011820a2e116da3209ce431f2eeda
2017-10-13 09:19:14 +02:00
Delphine Lebédel
0637e40fe5 Bug 1411117 - Add 'bn-BD' and 'ne-NP' to Fennec maemo-locales for multi-locale builds, r=flod
MozReview-Commit-ID: 6FVNSayLD52

--HG--
extra : rebase_source : 778a583c269b74d30592a544684a3cb513ede19c
2017-10-31 15:32:40 -07:00
Phil Ringnalda
4700232b13 Backed out changeset 83a7ad25941e (bug 1412437) for robocop testAccessibleCarets bustage
CLOSED TREE

MozReview-Commit-ID: Lg1GSdLDyin
2017-10-31 20:07:15 -07:00
Michael Comella
dc259d83a8 Bug 1410221 - review: Make names of openContextMenu unique. r=mcomella
r=trivial (IDE assisted :)

MozReview-Commit-ID: DNgY5v4zp2c

--HG--
extra : rebase_source : f3e6b74e74a2c3e3353d98a144cada41c96188c1
2017-10-31 19:41:51 -07:00
Michael Comella
23257556b9 Bug 1410221: Rm duplicated code in openContextMenu. r=liuche
I verified this worked by checking the UITelemetry logs.

MozReview-Commit-ID: IlD8CuxsUSA

--HG--
extra : rebase_source : 6d3716f1a1b3499177f1619f5ecbf857e1622386
2017-10-23 15:06:03 -07:00
Michael Comella
8fa0c8c21f Bug 1410221: Rm unnecessary context param from ActivityStreamContextMenu.show. r=liuche
MozReview-Commit-ID: LvPCaFbwGEV

--HG--
extra : rebase_source : fb85df4bacd6a308692dcc64171f2e496394c254
2017-10-23 14:57:57 -07:00
Michael Comella
49b8059e89 Bug 1410221: Move TopSite openContextMenu to StreamRecyclerAdapter with listener. r=liuche
We do this so we can bind the listener to the `parent` View argument in
onCreateViewHolder.

This is the last commit required to fix this bug.

In practice, top sites should never cause a crash because they should never be
off-screen on rotation but this is just for correctness/safety.

MozReview-Commit-ID: 5P1HiR6woTH

--HG--
extra : rebase_source : 207a2eda79398f880332391c4559763fff2d51ae
2017-10-23 14:50:17 -07:00
Michael Comella
ee26d1248c Bug 1410221: Rm unused StreamHighlightItemRowContextMenuListener. r=liuche
MozReview-Commit-ID: LgPtdDMdjVV

--HG--
extra : rebase_source : 906036ec63861906b94f75697b7de3c2576d0057
2017-10-23 14:22:39 -07:00
Michael Comella
8f9170abd4 Bug 1410221: Pass in parent snackbarAnchor for WebpageItemRow. r=liuche
MozReview-Commit-ID: 76VLKcEPQWF

--HG--
extra : rebase_source : e2890904f2e057877568e0729cf7bd6ff0299eaf
2017-10-23 14:05:39 -07:00
Kyle Machulis
41f2111481 Bug 1412437 - Remove nsIDOMHTMLTextAreaElement r=bz
MozReview-Commit-ID: JAON7Rd7IAo

--HG--
extra : rebase_source : 7bdc51676a4a834f1736b0c5f269bc26ca94e610
2017-10-30 16:14:51 -07:00
Sebastian Hengst
2470a9a87b merge mozilla-central to autoland. r=merge a=merge 2017-11-01 00:38:25 +01:00
Sebastian Hengst
7a0f790c30 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4CDH6A5NT2U
2017-11-01 00:36:12 +01:00
Dylan Roeh
6be475a0a3 Bug 1410235 - Only launch a custom tab from a PWA for http(s) URIs, otherwise just fire an ACTION_VIEW intent. r=snorp 2017-10-26 11:37:37 -05:00
Jan Henning
82d83e2c1d Bug 1409803 - Copy logic to prevent spaces in keywords to new Edit Bookmark dialogue. r=jwu
MozReview-Commit-ID: JXF0zwxhVv4

--HG--
extra : rebase_source : 336e5a31e691ab175f75370727b0f1f856bc9088
2017-10-18 22:34:14 +02:00
Nevin Chen
307d98ad95 Bug 1412823 - Change the message to display when deleting a bookmark folder/item r=maliu
MozReview-Commit-ID: Hg5AR2FT78a

--HG--
extra : rebase_source : 04de840dec96d05b8007c870dc1ed2d7838287cc
2017-10-31 14:46:15 +08:00