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

23179 Коммитов

Автор SHA1 Сообщение Дата
Ben Hearsum 6803270aa6 bug 1357808: switch mozilla-central fennec builds to org.mozilla.fennec_aurora id and add new builds for org.mozilla.fennec. r=aki,sylvestre,jlorenzo a=dawn
--HG--
extra : amend_source : d9338464f772e662701936d575248769cb996039
2017-05-24 10:40:07 -04:00
Alastor Wu f541431711 Bug 1364202 - increase timeout time for waiting playback status changed. r=sebastian
Because the emulator is super slow, it would need longer time to wait for the tab's playback status changed.

MozReview-Commit-ID: CLUimz6pF26

--HG--
extra : rebase_source : 11324f446dee72e813e901579614659e16d0d4d9
2017-05-17 11:33:07 +08:00
Jing-wei Wu 2b012b29d5 Bug 1359006 - Remove gecko:titlebarFill in layout to prevent panel name be wrapped. r=sebastian
MozReview-Commit-ID: JlDw0qtTm5B

--HG--
extra : rebase_source : b3c057a40bb5e38ccf6fabe0e905e5152ad3dbb3
2017-05-18 16:42:48 +08:00
Kilik Kuo d4ec7b3ded Bug 1341990 - Part 3: Include ExoPlayer in Firefox for Android builds. r=nalexander
MozReview-Commit-ID: 7fTQO9PD365

--HG--
extra : rebase_source : 395ce4decaadb7f0b27409caa3e017327bcff221
2017-05-19 10:49:44 -07:00
Kilik Kuo 207b44930e Bug 1341990 - Part 2: Make ExoPlayer (r2.4.0) build against Android SDK 23. r=nalexander
Right now, Fennec builds against Android SDK 23.  ExoPlayer expects to
build against Android SDK 24 (but targets Android platform 9 and
above).
We replace constant values introduced in Android SDK 24 with values manually copied from
https://developer.android.com/index.html and we cull unused code from CryptoInfo.java.
Together, these changes allow ExoPlayer to build against Android SDK 23.
Bug 1365543 tracks reverting these changes once Bug 1259098 lands and Fennec builds against Android SDK 24.

MozReview-Commit-ID: 7wz5qIROCN

--HG--
extra : rebase_source : 556168e1d07a2a699952262cd4abba99acd59874
2017-05-23 15:44:41 +08:00
Kilik Kuo 6c0f73e81e Bug 1341990 - Part 1: Import ExoPlayer sources (r2.4.0) without {ui/,dash/,smoothstreaming/,all/} subdirectories. r=nalexander
ExoPlayer is an application level media player for Android. It provides an alternative to Android’s MediaPlayer API for playing audio and video both locally and over the Internet. ExoPlayer supports features not currently supported by Android’s MediaPlayer API, including DASH and SmoothStreaming adaptive playbacks. Unlike the MediaPlayer API, ExoPlayer is easy to customize and extend, and can be updated through Play Store application updates.
ExoPlayer is licensed Apache 2.0, so it's fully compatible with Mozilla's MPL.
The import is the contents of d979469659/library
without {ui/,dash/,smoothstreaming/,all/} subdirectories.

MozReview-Commit-ID: 6ut5O3Yb5Tp

--HG--
extra : rebase_source : f05118ecbc9d0506f0411f160b2d14ea2508c229
2017-05-23 15:25:27 +08:00
Kilik Kuo 2b04975430 Bug 1341990 - Part 0: Add a feature flag to control source code build time coverage for ExoPlayer. r=nalexander
A feature flag named MOZ_ANDROID_HLS_SUPPORT is added.
HLS (HTTP Live Streaming) is supported on different browsers on mobile devices.
By integrating ExoPlayer's components into Fennec, we're able to play media via HLS on Fennec.

MozReview-Commit-ID: Igubn98UPjh

--HG--
extra : rebase_source : a9740cda5e67c1a1d3ce714761bf33e441060fd8
2017-05-24 02:51:32 +08:00
Ryan VanderMeulen e096678430 Merge m-c to autoland. a=merge UPGRADE_NSS_RELEASE
--HG--
rename : dom/security/test/sri/iframe_style_crossdomain.html => dom/security/test/sri/iframe_style_crossdomain_legacy.html
rename : mobile/android/themes/core/content.css => mobile/android/themes/geckoview/content.css
rename : mobile/android/themes/core/images/accessiblecaret-normal-hdpi.png => mobile/android/themes/geckoview/images/accessiblecaret-normal-hdpi.png
rename : mobile/android/themes/core/images/accessiblecaret-normal-xhdpi.png => mobile/android/themes/geckoview/images/accessiblecaret-normal-xhdpi.png
rename : mobile/android/themes/core/images/accessiblecaret-normal-xxhdpi.png => mobile/android/themes/geckoview/images/accessiblecaret-normal-xxhdpi.png
rename : mobile/android/themes/core/images/accessiblecaret-tilt-left-hdpi.png => mobile/android/themes/geckoview/images/accessiblecaret-tilt-left-hdpi.png
rename : mobile/android/themes/core/images/accessiblecaret-tilt-left-xhdpi.png => mobile/android/themes/geckoview/images/accessiblecaret-tilt-left-xhdpi.png
rename : mobile/android/themes/core/images/accessiblecaret-tilt-left-xxhdpi.png => mobile/android/themes/geckoview/images/accessiblecaret-tilt-left-xxhdpi.png
rename : mobile/android/themes/core/images/accessiblecaret-tilt-right-hdpi.png => mobile/android/themes/geckoview/images/accessiblecaret-tilt-right-hdpi.png
rename : mobile/android/themes/core/images/accessiblecaret-tilt-right-xhdpi.png => mobile/android/themes/geckoview/images/accessiblecaret-tilt-right-xhdpi.png
rename : mobile/android/themes/core/images/accessiblecaret-tilt-right-xxhdpi.png => mobile/android/themes/geckoview/images/accessiblecaret-tilt-right-xxhdpi.png
rename : mobile/android/themes/core/images/dropmarker-right.svg => mobile/android/themes/geckoview/images/dropmarker-right.svg
rename : mobile/android/themes/core/images/dropmarker.svg => mobile/android/themes/geckoview/images/dropmarker.svg
rename : mobile/android/themes/core/images/cast-active.svg => mobile/android/themes/geckoview/images/videocontrols-cast-active.svg
rename : mobile/android/themes/core/images/cast-ready.svg => mobile/android/themes/geckoview/images/videocontrols-cast-ready.svg
rename : mobile/android/themes/core/images/exitfullscreen.svg => mobile/android/themes/geckoview/images/videocontrols-exitfullscreen.svg
rename : mobile/android/themes/core/images/fullscreen.svg => mobile/android/themes/geckoview/images/videocontrols-fullscreen.svg
rename : mobile/android/themes/core/images/mute.svg => mobile/android/themes/geckoview/images/videocontrols-mute.svg
rename : mobile/android/themes/core/images/pause.svg => mobile/android/themes/geckoview/images/videocontrols-pause.svg
rename : mobile/android/themes/core/images/play.svg => mobile/android/themes/geckoview/images/videocontrols-play.svg
rename : mobile/android/themes/core/images/scrubber.svg => mobile/android/themes/geckoview/images/videocontrols-scrubber.svg
rename : mobile/android/themes/core/images/unmute.svg => mobile/android/themes/geckoview/images/videocontrols-unmute.svg
rename : mobile/android/themes/core/scrollbar-apz.css => mobile/android/themes/geckoview/scrollbar-apz.css
rename : mobile/android/themes/core/touchcontrols.css => mobile/android/themes/geckoview/videocontrols.css
extra : rebase_source : a5b4c2c75991990af25c4686ff96c199834ff317
2017-05-23 13:41:47 -04:00
Ryan VanderMeulen 22d214ae4b Merge autoland to m-c. a=merge 2017-05-23 10:32:42 -04:00
Ryan VanderMeulen 5b4a855506 Backed out 4 changesets (bug 1341990) for Android bustage on a CLOSED TREE.
Backed out changeset 5b79baafde67 (bug 1341990)
Backed out changeset d615a9663923 (bug 1341990)
Backed out changeset 4bac6c0c03df (bug 1341990)
Backed out changeset 9b0805d8354b (bug 1341990)
2017-05-23 10:00:28 -04:00
Kilik Kuo 0fd71add1d Bug 1341990 - Part 3: Include ExoPlayer in Firefox for Android builds. r=nalexander
MozReview-Commit-ID: 7fTQO9PD365

--HG--
extra : rebase_source : 45d31bd06b3c6d5280df90d9793c7915b796fd42
2017-05-19 10:49:44 -07:00
Kilik Kuo 8c5a7b3d0a Bug 1341990 - Part 2: Make ExoPlayer (r2.4.0) build against Android SDK 23. r=nalexander
Right now, Fennec builds against Android SDK 23.  ExoPlayer expects to
build against Android SDK 24 (but targets Android platform 9 and
above).
We replace constant values introduced in Android SDK 24 with values manually copied from
https://developer.android.com/index.html and we cull unused code from CryptoInfo.java.
Together, these changes allow ExoPlayer to build against Android SDK 23.
Bug 1365543 tracks reverting these changes once Bug 1259098 lands and Fennec builds against Android SDK 24.

MozReview-Commit-ID: 7wz5qIROCN

--HG--
extra : rebase_source : cb4f39699a3c6b6d8f2390091bd22b536e69e843
2017-05-23 15:44:41 +08:00
Kilik Kuo 650c3cc2d8 Bug 1341990 - Part 1: Import ExoPlayer sources (r2.4.0) without {ui/,dash/,smoothstreaming/,all/} subdirectories. r=nalexander
ExoPlayer is an application level media player for Android. It provides an alternative to Android’s MediaPlayer API for playing audio and video both locally and over the Internet. ExoPlayer supports features not currently supported by Android’s MediaPlayer API, including DASH and SmoothStreaming adaptive playbacks. Unlike the MediaPlayer API, ExoPlayer is easy to customize and extend, and can be updated through Play Store application updates.
ExoPlayer is licensed Apache 2.0, so it's fully compatible with Mozilla's MPL.
The import is the contents of d979469659/library
without {ui/,dash/,smoothstreaming/,all/} subdirectories.

MozReview-Commit-ID: 6ut5O3Yb5Tp

--HG--
extra : rebase_source : 787d349b9fb349e62c2f7a641e2b53e64c8c50c7
2017-05-23 15:25:27 +08:00
Kilik Kuo 2046796a22 Bug 1341990 - Part 0: Add a feature flag to control source code build time coverage for ExoPlayer. r=nalexander
A feature flag named MOZ_ANDROID_HLS_SUPPORT is added.
HLS (HTTP Live Streaming) is supported on different browsers on mobile devices.
By integrating ExoPlayer's components into Fennec, we're able to play media via HLS on Fennec.

MozReview-Commit-ID: Igubn98UPjh

--HG--
extra : rebase_source : 5cf98ae4ac962c5e42ba2f67f984a9b6483a88b2
2017-05-17 15:13:43 +08:00
James Cheng 0c3fc26fc7 Bug 1362921 - Block GT-I9515 for adaptive playback. r=jolin
MozReview-Commit-ID: 3fmF1VYDKia

--HG--
extra : rebase_source : be4142b13ae2555c05577d3e98fefcbaa035ceb1
2017-05-23 10:28:04 +08:00
John Lin 068b62b621 Bug 1363210 - use MediaCodec async API for Lollipop MR1 (API 22) and later. r=jya
Workaround for stagefright bug in Android 5.0/Lollipop.

MozReview-Commit-ID: AYiEff0nGoj

--HG--
extra : rebase_source : fb42c483b774900ec9e933d4b9cbca37386c9d61
2017-05-19 15:49:52 +08:00
John Lin 9c6a744295 bug 1364341 - part 2: try next codec when configuration fails. r=jya
MozReview-Commit-ID: 7FUVfO4nhq8

--HG--
extra : rebase_source : 18477cb97a0e07017cbe0fcc3ff1df051c235c09
2017-05-15 17:56:19 +08:00
John Lin d164c3edbb bug 1364341 - part 1: release all resources used by existing codec when re-configure. r=jya
MozReview-Commit-ID: JLZ0vSBTg6X

--HG--
extra : rebase_source : 2b26e8156a5e0402130efd045550d3fee0cf8738
2017-05-15 16:43:49 +08:00
Wes Kocher 9a8d52f7af Merge m-c to autoland, a=merge
MozReview-Commit-ID: AVwPRGa5re9
2017-05-22 16:38:46 -07:00
Nevin Chen f4108311cc Bug 1358946 - Strip about:reader in intent data uri. r=maliu
MozReview-Commit-ID: AQ8txBAbtUr

--HG--
extra : amend_source : 5128c93b4796f3d9c568bf55aaa743c4493a0a84
2017-05-18 19:39:00 -04:00
Eugen Sawin 26a0f7ac24 Bug 1356893 - Reject opening intents with file data schemes. r=sebastian, r=nalexander
--HG--
extra : rebase_source : 1f764df3309b3641f124915b1a1204afbbd8354a
2017-05-22 09:50:40 -04:00
Jan Henning dc8e9d0635 Bug 1359531 - Part 8 - Handle tabs selected while all GeckoApps were in background. r=sebastian,walkingice
Activity switching is now handled by the currently active GeckoApp instance, which obviously doesn't work if all of them are currently backgrounded.

To fix this, we track for each tab whether its selection was handled by a foregrounded GeckoApp instance. If it wasn't, we catch up with any possibly necessary activity switches during the next resume.

MozReview-Commit-ID: JEjQUuDJw5Q

--HG--
extra : rebase_source : b7a9f5a4ad4811c1c9e9d24eaae61f3757c64442
2017-05-05 21:07:29 +02:00
Jan Henning 0ba05f0abf Bug 1359531 - Part 7 - Don't ignore last selected tab for Intent.ACTION_MAIN. r=sebastian,walkingice
Normally, receiving a new intent means we want to switch tabs/open a new tab, so we need to turn off our "last selected tab in this activity" logic, however this is not true when we receive a simple Intent.ACTION_MAIN, e.g. when we're being brought into the foreground from a launcher icon (as opposed to the activity/task switcher).

MozReview-Commit-ID: ExiM3c8iaEA

--HG--
extra : rebase_source : c2c60a07c1cbbd6d3e1d16557721e975ae932a55
2017-05-05 20:31:15 +02:00
Julian_Chu 4886a7a2bb Bug 1357781 - Enable function of edit site settings in SiteIdentity r=sebastian
The SiteIdentityPopup has a clickable-text to show a dialog to edit
permission for the browsring-site. Its visibility is decided by message
from EventDispatcher("Permission:CheckResult").

Now register listener by visibility of ActionBar.(or Activity, actually).

MozReview-Commit-ID: CUU1gCKqh02

--HG--
extra : rebase_source : d5efe854a544a0529abe3030ba73fea2bcce0c2d
2017-05-18 16:38:01 +08:00
Julian_Chu 120f3c37ca Bug 1357780 - Fix tint problem in Android 4.4 r=sebastian
Use this way to wrap drawable to make tinting works.

MozReview-Commit-ID: rbblrr3ysy

--HG--
extra : rebase_source : cf0a90e9244e58bc0e6423dcb738b16f88437164
2017-05-18 10:48:44 +08:00
Julian_Chu 087e7fbd30 Bug 1357780 - CustomTabs get rid of dark theme r=sebastian
Now we only use Light theme, and its look and feel more close to
Full-Browser. Hopefully when we re-use gecko widgets will have less
visual issue.

In ActionBar, the tint color follows text color. And the text color is
decided by Top toolbar background.

MozReview-Commit-ID: JrFAdLmk3Fk

--HG--
extra : rebase_source : 638fe6b3e5c7bbd37a58b21df9de266743c8d597
2017-05-20 01:10:04 +08:00
Jan Henning faaae1600a Bug 1359531 - Part 6 - Remove manual setting of current activity. r=sebastian,walkingice
Switching between different GeckoApp instances in response to tab selection no longer requires the GeckoActivityMonitor for getting the current activity, so we no longer need to manually set the current activity for the benefit of code that executes early during onCreate/onNewIntent.


MozReview-Commit-ID: E9BQhRclDfS

--HG--
extra : rebase_source : 7fd279d5450c95d00d1df93b84b7a0679f686305
2017-04-28 22:28:55 +02:00
Jan Henning cb97123df9 Bug 1359531 - Part 5 - Trigger activity switching from GeckoApp. r=sebastian,walkingice
To avoid the need for tracking the currently active activity, we just respond from the activity itself by using GeckoApp's tab event listener.

As replacement for the "closeTabNoActivitySwitch()" function, we set a flag on the activity instead before closing the tab.

MozReview-Commit-ID: LdmyJ5i10jZ

--HG--
extra : rebase_source : c960b58eae3c862f89fef188022f8d71c88f06c6
2017-04-29 15:20:19 +02:00
Jan Henning e3dc81f127 Bug 1359531 - Part 4 - Import Tab intent extra key definitions. r=sebastian,walkingice
MozReview-Commit-ID: DXZGscSpRtd

--HG--
extra : rebase_source : f0cfa6a9e2b8c2f8ef9f3f61c6447dfefe6a96f2
2017-04-28 22:58:51 +02:00
Jan Henning 3b04fed8de Bug 1359531 - Part 3 - Creating new intents is a job for IntentHelper. r=sebastian,walkingice
MozReview-Commit-ID: 9s7aP35Q0AJ

--HG--
extra : rebase_source : 5aa49ae74fd7cbdb222aba2f9c9fffb36ff2a8a9
2017-04-28 22:35:29 +02:00
Jan Henning 0e2261b98f Bug 1359531 - Part 2 - Move some tab switch functionality to the tab object. r=sebastian,walkingice
These methods already take a tab object as their argument, so we just turn them into Tab member functions.

MozReview-Commit-ID: 7fp7bzDbRja

--HG--
extra : rebase_source : 801ee697138cdda8f82402583ee5348b74625197
2017-04-28 22:35:57 +02:00
Jan Henning 469769a9db Bug 1359531 - Part 1 - Call GeckoApp's tab event handler from web apps/custom tabs, too. r=sebastian,walkingice
We want to move the activity switching code into the activity (i.e. GeckoApp) itself and run it from its onTabChanged handler in response to the appropriate events (at the moment that's only SELECTED), so we need to ensure that this will actually be called within custom tabs/web apps as well.

Additionally, there's no need to separately register the tab events listener from the CustomTabs/WebAppActivity as well if our parent class already does it for us.

MozReview-Commit-ID: 6PIq1KncDcA

--HG--
extra : rebase_source : ba6448d214b26f966bccf1deb6f87c931dac2ec1
2017-04-28 20:16:19 +02:00
Teng-pao Yu 23032a9245 Bug 1365878 - Change severity of NewApi lint checks from warning to error; r=nalexander
Change severity of newapi to error and white list current not fixed newapi problems
So future unchecked NewApi issues will be blocked

MozReview-Commit-ID: LglV50mILn4

--HG--
extra : rebase_source : 9191d61c3cc934212153346e017e1c37c1972b20
2017-05-16 17:10:10 +08:00
Sebastian Hengst af0f9643cf merge mozilla-central to autoland. r=merge a=merge 2017-05-20 18:53:36 +02:00
Sebastian Hengst 79f625ac56 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: EqC7wKnn6Jt
2017-05-20 18:48:53 +02:00
Wes Kocher 8b07ba2a07 Merge m-c to inbound a=merge
a=release IGNORE BAD COMMIT MESSAGES
2017-05-19 15:18:51 -07:00
Wes Kocher 15edcfd962 Merge inbound to central, a=merge
MozReview-Commit-ID: EI67EKp8ykS
2017-05-19 15:14:19 -07:00
Ben Kelly 0c0a1ef46b Bug 1343912 P5 Removed the fixed limit on consecutive Timeout callbacks. r=ehsan 2017-05-19 13:45:55 -07:00
Randall Barker 0c9253b86d Bug 1365161 - Ensure dynamic toolbar static snapshot visibility stays in sync with the real toolbar chrome r=botond,jchen
There were two issues that prevented the static snapshot toolbar and
real chrome toolbar from staying in sync.

1) When a page would resize such as when going fullscreen, if the
root content document was not scrollable, the animator would not receive
root composition page size updates. The page resize is used by the
animator to hide the static snapshot, so it would remain visible while
the real chrome toolbar would be hidden.

2) Certain places in UI java code would toggle the chrome state directly
instead of going through the animator to change the state.

MozReview-Commit-ID: DCQgRFS0UAO
2017-05-19 10:50:02 -07:00
Ryan VanderMeulen acb2f518fc Merge inbound to m-c. a=merge 2017-05-19 11:46:56 -04:00
Wes Kocher e9b5549946 Merge m-c to autoland a=merge
a=release IGNORE BAD COMMIT MESSAGES
2017-05-19 15:21:13 -07:00
cnevinc e20c89db7b Bug 1351585 - Part 3. Add proguard for leanplum. r=maliu
MozReview-Commit-ID: L2wpreGGYDP

--HG--
extra : rebase_source : f2852989744e1bce0ee77a94eba92891acc9b256
2017-05-13 13:37:27 -07:00
cnevinc e272eb73ae Bug 1351585 - Part 2. Add build flag and change our existing build system to inject leanplum implementation r=nalexander
MozReview-Commit-ID: uN7imeGYcj

--HG--
extra : rebase_source : 215b3c9b2df20d2fbc5f8679568509c3cc430a48
2017-05-13 14:08:57 -07:00
cnevinc bd3cffad0a Bug 1351585 - Part 1. Add Leanplum SDK source code to thirdparty module r=maliu
MozReview-Commit-ID: 6r7ZGpAww2n

--HG--
extra : rebase_source : 66659717f9e5815f9f4ea0f1e5534b5ae2cc93ed
2017-05-13 14:05:09 -07:00
Mike Hommey 282a2bc3b8 Bug 1363811 - Replace is_nightly with milestone.is_nightly. r=cmanchester+432261
And remove is_nightly.
2017-05-19 07:05:05 +09:00
Mike Hommey a79246698a Bug 1365477 - Use default=is_nightly instead of default=delayed_getattr(...). r=chmanchester
Per bug 1363811 comment 1, it's actually a bug that the linter doesn't
complain about it like it did in bug 1358215.

--HG--
extra : rebase_source : 68f0d022fb4f2c4e2de38edbafa314db42b7e103
2017-05-17 12:08:33 +09:00
Matthew Wein 880ae24e61 Bug 1360448 - Only ignore OPTIONS_TYPE_INLINE_BROWSER instead of ignoring all types which aren't OPTIONS_TYPE_INLINE r=mixedpuppy
MozReview-Commit-ID: Ks3Yryy22lL

--HG--
extra : rebase_source : 7708bddba429871ca02a894fca4e8f1b452ad12c
2017-05-10 22:54:40 -04:00
Shih-Chiang Chien 0131b8b831 Bug 1363421 - Part 2, delay the initialization of UserAgentOverrides.jsm until first nsHttpChannel is created. r=mcmanus
UAOverridesBootstrapper.js is introduced to delay the initialization of
UserAgentOverrides.jsm until the creation of the first nsHttpChannel.
Uninit will be triggered at profile-change-net-teardown because no network
traffice after this point.


MozReview-Commit-ID: F8Lpn6RyZEm

--HG--
extra : rebase_source : 7c3649b50ad8594dc0968961fbbd2766d0d98b0a
2017-05-16 12:11:12 +08:00
maliu 38e1603a4d Bug 1357356 - Open aurora transition page once user upgrade from aurora to nightly, r=sebastian
MozReview-Commit-ID: HEV06stuwm5

--HG--
extra : rebase_source : 19fb67225efb1b32de81c4132003760fa4d08ba6
2017-04-20 19:10:49 +08:00
Ryan VanderMeulen 96eca59299 Merge m-c to autoland. a=merge 2017-05-19 12:26:48 -04:00