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

24949 Коммитов

Автор SHA1 Сообщение Дата
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
Jan Henning 16f199cadf Bug 1405215 - Part 2 - Make new Edit Bookmark dialogue scrollable. r=jwu,nechen
Otherwise
- the keyboard pushes the toolbar with the "Save" button out of view when entering text into the last input field
- the last input field isn't even accessible in landscape orientation.

MozReview-Commit-ID: 98Si6JfLt9m

--HG--
extra : rebase_source : 108e54985938b8b8852b93b5213701e19689ee4d
2017-10-19 18:07:32 +02:00
Jan Henning ebe97b36b3 Bug 1405215 - Part 1 - Allow editing keyword in new Edit Bookmark dialogue. r=jwu
MozReview-Commit-ID: Ek6qLdux7zt

--HG--
extra : rebase_source : c6cd7e8d4f0f5c07a4d58a6cf356e7c8ddb092af
2017-10-19 17:18:59 +02:00
Attila Craciun 2ae920762e Merge mozilla-central to mozilla-autoland. r=merge a=merge CLOSED TREE 2017-10-31 12:53:23 +02:00
Jan Henning ac0a399a60 Bug 1407188 - Don't fail to send locationChange if the next URI has no host. r=walkingice
MozReview-Commit-ID: 6rRQ6K3wPwT

--HG--
extra : rebase_source : ecd7170057e3cfd5dc3fb68da09668c5adb44722
2017-10-26 15:49:38 +02:00
Jim Chen e51e2066e0 Bug 1412681 - Fix NSS dialogs; r=snorp
The context object for NSS dialogs apparently won't give us a window, so
we have to fall back to the active window.

MozReview-Commit-ID: 4cHpcE8oggL
2017-10-30 22:48:58 -04:00
Sebastian Hengst f07fc93141 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4PW6ESqLL73
2017-10-30 23:52:23 +01:00
Ted Mielczarek 3654b248ac rm mobile/android/tests/browser/robocop/roboextender/Makefile.in. r=nalexander, no bug
MozReview-Commit-ID: 23WDVZGE3lY

--HG--
extra : rebase_source : 79e1a453a0b514012ba09a6292fe73c496b9c086
2017-10-30 13:29:38 -04:00
Jim Chen 321bfe31ef Bug 1406247 - 2. Fix testInputConnection to have correct check; r=esawin
testInputConnection had a wrong check for selection offset, which would
otherwise have caught this bug.

MozReview-Commit-ID: LdkmkRxK52s
2017-10-30 12:42:30 -04:00
Jim Chen d7ddb77f0b Bug 1406247 - 1. Don't ignore selection change when Gecko text change is more than expected; r=esawin
When a Gecko text change covers more than just our expected change on
the Java side, don't ignore the subsequent selection change notification
because the Gecko selection could have moved anywhere.

MozReview-Commit-ID: 8kvz7Ws9DMM
2017-10-30 12:42:30 -04:00
Jim Chen f568e139e7 Bug 1410236 - Deny permission by default if doorhanger is dismissed; r=sebastian
Add a "defaultCallback" option to the doorhanger API that specifies a
callback to call when the doorhanger is dismissed without a button being
clicked. Use that to deny a permission in ContentPermissionPrompt.js
when the doorhanger is dismissed without explicit action.

MozReview-Commit-ID: 9kOAWirI4Ux
2017-10-30 12:42:30 -04:00
James Willcox 1ee57ae7a7 Bug 1395497 - Create SurfaceTexture in detached state, attach on first use r=jgilbert
MozReview-Commit-ID: HfkEUH9aiBo
2017-10-30 10:58:56 -05:00
Nevin Chen 4e1567ba51 Bug 1380950 - Restric Mma Deeplink only response to mma request. r=freddyb
MozReview-Commit-ID: HwQ8jPrzEzU

--HG--
extra : rebase_source : 8e615f9a925479db585475ab5c01da2f581bf5eb
2017-10-30 09:50:20 -04:00
Jan Henning bba185434e Bug 1410629 - Clear user-entered search term already after location change. r=sebastian
This is to avoid a situation where after searching and then navigating to a different URL, the user can already see the new URL (after location change), but not yet edit it (currently, the search term is only dropped after pageshow).

Because location change is too early for checking the documentURI for the presence of an error page in case the load failed, we switch to checking the request's status instead.

We still have to explicitly check for "about:neterror" as well, though, since the way our intent handling code displays an error page in case of an unknown protocol technically counts as a successful pageload.

MozReview-Commit-ID: 8e6WQlD0sf3

--HG--
extra : rebase_source : fa80f45c2bc7b87934907e0386f8c26cd998eb04
2017-10-30 14:05:32 +01:00
Jamie Nicol 21b5b6db95 Bug 1092294 - Use SurfaceTextures for painted content on android (preffed off). r=nical,snorp
Add a new TextureClientData type, AndroidNativeWindowTextureData,
backed by a SurfaceTexture in single-buffer mode. It uses the
NativeWindow API, which provides producer-side access to the buffer.
This provides a DrawTarget which can be used to paint directly in to
the SurfaceTexture, which can then be composited using a SurfaceTextureHost.

Due to API restrictions it is not possible to read from a NativeWindow
while the corresponding SurfaceTexture has ownership of the
buffer. TiledContentClient now handles that by painting the additional
region that it cannot copy from the front buffer, if required.

MozReview-Commit-ID: 1NZq6MQqwFq

--HG--
extra : rebase_source : 9d1db721d4892f3df033d43127489a85421e8863
2017-10-28 11:59:58 +01:00
Nick Alexander 5b055513a7 Bug 1249421 - Include stub AndroidManifest.xml. r=maliu
This should avoid Bug 1249421, but it will also address an
Android-Gradle plugin 3.0 issue, where the plugin requires the
manifest at Gradle configuration time.  Currently we don't provide it
until Gradle evaluation time, leading to this error, and to the plugin
failing.

MozReview-Commit-ID: 4NkiQSooLly

--HG--
extra : rebase_source : 21b11e8cb4ff990df3adf18718ec3bda869486a0
2017-10-26 10:44:35 -07:00
Nick Alexander d86b10b8e5 Bug 1411667 - Remove Spoon plugin references entirely. r=maliu
Spoon and some Gradle work allowed to run certain JUnit 3 test suites
locally.  At the time, running the various test suites was diffficult.
Fast forward, and it's easier to run these suites, and in general they
are only run in Android Studio.  This will only get better as we move
the background services tests into a separate module (Bug 1229149).

MozReview-Commit-ID: KZTWmkhwi96

--HG--
extra : rebase_source : 5244e81ffe81e8611034fea1edb07681266a7581
2017-10-26 15:49:41 -07:00
Nick Alexander d52916250a Bug 1411686 - Part 2: Don't invoke |make gradle-targets| for AB_CD=multi. r=maliu
This work-around isn't needed for the moz.build system because there's
no equivalent of the

|mach build| > |mach gradle| > |make gradle-targets|

dependency chain that "re-enters" Make processing.  That is, the
nodeps mechanism ensures that nothing in m/a/b/Makefile.in (that knows
about AB_CD) ever sees AB_CD=multi.

MozReview-Commit-ID: qZKAtlLhJw

--HG--
extra : rebase_source : b9dd2f4f4dd8af5c4d594927226c7b8230723b9f
extra : source : c965d3adbcbf35f417dbf0832b44de6c52b89535
2017-10-19 13:49:45 -07:00