Commit Graph

1445 Commits

Author SHA1 Message Date
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
a562b72999 Bug 1221344 - Remove Fennec Search Activity. r=gueroJeff,sebastian,snorp
MozReview-Commit-ID: L7rihfeqvzH

--HG--
extra : rebase_source : 3170b86ef2c95e642c451c3e9bbe9db83bc9edcf
2017-10-19 14:14:36 -07:00
maliu
a2f6cf439f Bug 1360587 - Part 2. Remove bouncer apk build config; source; docs, r=nalexander
MozReview-Commit-ID: C1QJcr65yWu

--HG--
extra : rebase_source : 867d143416321adc4820d488991fb4575c767cf0
2017-10-25 22:51:44 +08:00
Michael Comella
d3ff3907db Bug 1411657: Disable Pocket by default. r=liuche
From product (bug 1411657 comment 0):

Activity Stream may be pushed to a later release on desktop.  With that, we want
the Pocket stories feature to be put behind a feature flag on Firefox Android,so
we can launch the feature across all platforms simultaneously.

MozReview-Commit-ID: 3KmZir3tGPc

--HG--
extra : rebase_source : 9bb693e83ec98a8c1bae6476b2c800cf89968bd3
2017-10-25 12:05:17 -07:00
Nevin Chen
8ca3d01790 Bug 1409303 - Make PWA enable by default. r=maliu
MozReview-Commit-ID: 5jGDP1Xf1aj

--HG--
extra : rebase_source : df088cd3a04c99c04fdd25543e11ac84ad84bef5
2017-10-25 12:02:23 +08:00
Sebastian Hengst
8072106c67 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-10-23 23:55:17 +02:00
Ben Kelly
d64c111b67 Bug 1409761 Create dom.serviceWorkers.disable_open_click_delay and set it to a larger value on fennec. r=smaug 2017-10-23 14:24:31 -04:00
Jan Henning
3fe1971e3f Bug 1403653 - Part 1 - Refactor getDominantColor. r=nechen
We want to use the Palette library for getting a fallback accent colour for lightweight themes, however because of bug 1318667, we might have to continue using our own implementation of getDominantColor on x86 devices.

Therefore we move this into BitmapUtils, so we can have a central location from which to switch between our own and the Palette library implementation.

MozReview-Commit-ID: 52WsfZbW12x

--HG--
extra : rebase_source : b0eb60c25355d1a13418844b5684e4356225e8c3
2017-10-14 19:23:03 +02:00
Sebastian Hengst
b8673b6c5b Backed out changeset e40240828163 (bug 1403653) 2017-10-22 11:54:19 +02:00
Jan Henning
45de111d36 Bug 1403653 - Part 1 - Refactor getDominantColor. r=nechen
We want to use the Palette library for getting a fallback accent colour for lightweight themes, however because of bug 1318667, we might have to continue using our own implementation of getDominantColor on x86 devices.

Therefore we move this into BitmapUtils, so we can have a central location from which to switch between our own and the Palette library implementation.

MozReview-Commit-ID: 52WsfZbW12x

--HG--
extra : rebase_source : b7e66c027ef6c4a6aa01fcda6d17b6afb2e854a9
2017-10-14 19:23:03 +02:00
Michael Comella
b3504f0aa9 Bug 1410497: Remove local.properties from tree. r=nalexander
MozReview-Commit-ID: 34Pw2ULyzht

--HG--
extra : rebase_source : 8843a008b48f0561164d91457bfa57d331561ac7
2017-10-20 11:36:54 -07:00
Nevin Chen
7060d6c762 Bug 1409403 - Update badge icon for PWA. r=walkingice
MozReview-Commit-ID: IHaVLQ8xWPt

--HG--
extra : rebase_source : 7fbd0f40f936bf296811eb745567fca08c2f12d7
2017-10-19 20:45:31 +08:00
Nevin Chen(:nechen)
41b31d8778 Bug 1410338 - Incorrect color for History Panel message. r=nechen
MozReview-Commit-ID: A1QmvbFt7ok

--HG--
extra : rebase_source : 8ec9b4f087e9c54a8b3587c043df844750430945
2017-10-23 12:06:21 +08:00
Nevin Chen
8411a8a121 Bug 1396714 Remove Gecko pref 'mma.enabled' r=maliu
MozReview-Commit-ID: 8CG11OS1XlL

--HG--
extra : rebase_source : 259a398a6e4b21ec15c5f61f5edceace01b5f066
2017-09-05 13:36:49 +08:00
Jing-wei Wu
cce9fa457f Bug 1395841 - Part 1: Change page option strings fom 'add to home screen' to 'add page shortcut'. r=snorp
MozReview-Commit-ID: 9fFN9aYEI3v

--HG--
extra : rebase_source : 432207551bd4bc05d63fe5f3f5bc74f1e190fc74
2017-09-27 17:31:30 +08:00
Nevin Chen
e8188e7296 Bug 1405236 - Custom Tabs Switch under Settings -> General. r=walkingice
MozReview-Commit-ID: 5zHHXKGfMSK

--HG--
extra : rebase_source : 678e950670c7dbdd2851031b391c8c99bd5f5eba
2017-10-11 17:43:07 +08:00
Nick Alexander
f921940bbf Bug 1366644 - Part 3b: Ignore new lint warnings. r=maliu
MozReview-Commit-ID: 4bPUQkELdd

--HG--
extra : rebase_source : a0ec7eac5d1a0801d7620b65d7e708a8001d208d
2017-10-17 14:09:50 -07:00
Nick Alexander
af26e68984 Bug 1366644 - Part 3a: Update Android build-tools (25.0.3), Gradle (3.4.1), Android-Gradle (2.3.3). r=maliu
The goal is to use a newer Android-Gradle build plugin version (2.3.3
is latest stable).  That requires a modern Gradle (anything 3.3+, but
3.4.1 is the default from my Android Studio), and also a newer
build-tools (25.0.3 is latest stable).

The locations of lint output changed, and we want to use the standard
output location because it's difficult to accommodate variant details
in custom names.  We change the location of findbugs output to follow
suit.

This requires either:

- fixing lint errors
- adding to the lint whitelist
- using the new lint baseline

It's best to use the new lint baseline, which will happen in the next commit.

MozReview-Commit-ID: D19FzIDCJrE

--HG--
extra : rebase_source : 12d132c0c3e0dbe2b8873b31360ea96d612de44c
2017-10-16 15:09:15 -07:00
Sebastian Hengst
6cab3753eb merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-10-17 11:48:30 +02:00
Jon Coppeard
1b36db451a Bug 1406962 - Remove GC config for unsupported ARMv6 mobuile devices r=snorp 2017-10-17 09:40:55 +01:00
maliu
fc210a7334 Bug 1384312 - Support generating JNI wrappers under --with-gradle, r=nalexander
MozReview-Commit-ID: HECL60Ggeqn

--HG--
extra : rebase_source : 6b50e42602329db7f0fa5c4b3e89d2e44debaf33
extra : source : 9a3c4f7cd85e1007ed60708fe9c7b1cfff2afa23
2017-10-11 15:37:40 -07:00
Nevin Chen(:nechen)
dd724b9ee3 Bug 1393672 - Show PWA onboarding and confrim prompt r=jwu
MozReview-Commit-ID: Kzih56Om7NO

--HG--
extra : rebase_source : a8f24a8361dc7ea558a1ad69dd6483b7ad46e8d2
2017-09-26 15:52:36 +08:00
Phil Ringnalda
f023aa4b79 Backed out changeset 9a3c4f7cd85e (bug 1384312) for gradle-dependencies bustage
MozReview-Commit-ID: FYZ5jRQ2bOX
2017-10-13 18:31:44 -07:00
maliu
7a95a6af9e Bug 1384312 - Support generating JNI wrappers under --with-gradle, r=nalexander
MozReview-Commit-ID: HECL60Ggeqn

--HG--
extra : rebase_source : da6e1711a7722d7e781a12305a5605b379afd843
2017-10-11 15:37:40 -07:00
Sebastian Hengst
c2f23c4622 merge mozilla-central to mozilla-inbound. r=merge a=merge
--HG--
rename : browser/base/content/test/general/browser_bug585558.js => browser/base/content/test/tabs/browser_positional_attributes.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_jsterm_dollar.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_dollar.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug-621644-jsterm-dollar.html => devtools/client/webconsole/new-console-output/test/mochitest/test-jsterm-dollar.html
rename : dom/media/doctor/DDLogClass.cpp => dom/media/doctor/DDLogCategory.cpp
rename : dom/media/doctor/DDLogClass.h => dom/media/doctor/DDLogCategory.h
rename : mobile/android/app/src/main/res/drawable-hdpi/find_prev.png => mobile/android/app/src/photon/res/drawable-hdpi/find_prev.png
rename : mobile/android/app/src/main/res/drawable-hdpi/url_bar_entry_default.9.png => mobile/android/app/src/photon/res/drawable-hdpi/url_bar_entry_default.9.png
rename : mobile/android/app/src/main/res/drawable-hdpi/url_bar_entry_default_pb.9.png => mobile/android/app/src/photon/res/drawable-hdpi/url_bar_entry_default_pb.9.png
rename : mobile/android/app/src/main/res/drawable-hdpi/url_bar_entry_pressed.9.png => mobile/android/app/src/photon/res/drawable-hdpi/url_bar_entry_pressed.9.png
rename : mobile/android/app/src/main/res/drawable-hdpi/url_bar_entry_pressed_pb.9.png => mobile/android/app/src/photon/res/drawable-hdpi/url_bar_entry_pressed_pb.9.png
rename : mobile/android/app/src/main/res/drawable-large-hdpi-v11/url_bar_entry_default.9.png => mobile/android/app/src/photon/res/drawable-large-hdpi-v11/url_bar_entry_default.9.png
rename : mobile/android/app/src/main/res/drawable-large-hdpi-v11/url_bar_entry_default_pb.9.png => mobile/android/app/src/photon/res/drawable-large-hdpi-v11/url_bar_entry_default_pb.9.png
rename : mobile/android/app/src/main/res/drawable-large-hdpi-v11/url_bar_entry_pressed.9.png => mobile/android/app/src/photon/res/drawable-large-hdpi-v11/url_bar_entry_pressed.9.png
rename : mobile/android/app/src/main/res/drawable-large-hdpi-v11/url_bar_entry_pressed_pb.9.png => mobile/android/app/src/photon/res/drawable-large-hdpi-v11/url_bar_entry_pressed_pb.9.png
rename : mobile/android/app/src/main/res/drawable-large-xhdpi-v11/url_bar_entry_default.9.png => mobile/android/app/src/photon/res/drawable-large-xhdpi-v11/url_bar_entry_default.9.png
rename : mobile/android/app/src/main/res/drawable-large-xhdpi-v11/url_bar_entry_default_pb.9.png => mobile/android/app/src/photon/res/drawable-large-xhdpi-v11/url_bar_entry_default_pb.9.png
rename : mobile/android/app/src/main/res/drawable-large-xhdpi-v11/url_bar_entry_pressed.9.png => mobile/android/app/src/photon/res/drawable-large-xhdpi-v11/url_bar_entry_pressed.9.png
rename : mobile/android/app/src/main/res/drawable-large-xhdpi-v11/url_bar_entry_pressed_pb.9.png => mobile/android/app/src/photon/res/drawable-large-xhdpi-v11/url_bar_entry_pressed_pb.9.png
rename : mobile/android/app/src/main/res/drawable-large-xxhdpi-v11/url_bar_entry_default.9.png => mobile/android/app/src/photon/res/drawable-large-xxhdpi-v11/url_bar_entry_default.9.png
rename : mobile/android/app/src/main/res/drawable-large-xxhdpi-v11/url_bar_entry_default_pb.9.png => mobile/android/app/src/photon/res/drawable-large-xxhdpi-v11/url_bar_entry_default_pb.9.png
rename : mobile/android/app/src/main/res/drawable-large-xxhdpi-v11/url_bar_entry_pressed.9.png => mobile/android/app/src/photon/res/drawable-large-xxhdpi-v11/url_bar_entry_pressed.9.png
rename : mobile/android/app/src/main/res/drawable-large-xxhdpi-v11/url_bar_entry_pressed_pb.9.png => mobile/android/app/src/photon/res/drawable-large-xxhdpi-v11/url_bar_entry_pressed_pb.9.png
rename : mobile/android/app/src/main/res/drawable-xhdpi/find_prev.png => mobile/android/app/src/photon/res/drawable-xhdpi/find_prev.png
rename : mobile/android/app/src/main/res/drawable-xhdpi/url_bar_entry_default.9.png => mobile/android/app/src/photon/res/drawable-xhdpi/url_bar_entry_default.9.png
rename : mobile/android/app/src/main/res/drawable-xhdpi/url_bar_entry_default_pb.9.png => mobile/android/app/src/photon/res/drawable-xhdpi/url_bar_entry_default_pb.9.png
rename : mobile/android/app/src/main/res/drawable-xhdpi/url_bar_entry_pressed.9.png => mobile/android/app/src/photon/res/drawable-xhdpi/url_bar_entry_pressed.9.png
rename : mobile/android/app/src/main/res/drawable-xhdpi/url_bar_entry_pressed_pb.9.png => mobile/android/app/src/photon/res/drawable-xhdpi/url_bar_entry_pressed_pb.9.png
rename : mobile/android/app/src/main/res/drawable-xxhdpi/url_bar_entry_default.9.png => mobile/android/app/src/photon/res/drawable-xxhdpi/url_bar_entry_default.9.png
rename : mobile/android/app/src/main/res/drawable-xxhdpi/url_bar_entry_default_pb.9.png => mobile/android/app/src/photon/res/drawable-xxhdpi/url_bar_entry_default_pb.9.png
rename : mobile/android/app/src/main/res/drawable-xxhdpi/url_bar_entry_pressed.9.png => mobile/android/app/src/photon/res/drawable-xxhdpi/url_bar_entry_pressed.9.png
rename : mobile/android/app/src/main/res/drawable-xxhdpi/url_bar_entry_pressed_pb.9.png => mobile/android/app/src/photon/res/drawable-xxhdpi/url_bar_entry_pressed_pb.9.png
extra : rebase_source : 0cff6fa99d9ea3c6ce0bfb1604d4e9533f63ce63
2017-10-13 00:55:27 +02:00
Jing-wei Wu
e179169c10 Bug 1407923 - Adjust LWT layout/color for Photon style. r=nechen
MozReview-Commit-ID: 4PBP7L1Ch3k

--HG--
extra : rebase_source : 5a3761099283863cf36aff64b7fd8edf61ef6219
extra : source : 1bbedbc67f8ffca9a9ffe01cd52ad63f8cf602ba
2017-10-12 17:05:54 +08:00
Jing-wei Wu
2823a2a9a6 Bug 1405710 - Adjust find in page layout to fit Photon style. r=nechen
MozReview-Commit-ID: HrU4WuFqZgq

--HG--
rename : mobile/android/app/src/main/res/drawable-hdpi/find_prev.png => mobile/android/app/src/photon/res/drawable-hdpi/find_prev.png
rename : mobile/android/app/src/main/res/drawable-hdpi/url_bar_entry_default.9.png => mobile/android/app/src/photon/res/drawable-hdpi/url_bar_entry_default.9.png
rename : mobile/android/app/src/main/res/drawable-hdpi/url_bar_entry_default_pb.9.png => mobile/android/app/src/photon/res/drawable-hdpi/url_bar_entry_default_pb.9.png
rename : mobile/android/app/src/main/res/drawable-hdpi/url_bar_entry_pressed.9.png => mobile/android/app/src/photon/res/drawable-hdpi/url_bar_entry_pressed.9.png
rename : mobile/android/app/src/main/res/drawable-hdpi/url_bar_entry_pressed_pb.9.png => mobile/android/app/src/photon/res/drawable-hdpi/url_bar_entry_pressed_pb.9.png
rename : mobile/android/app/src/main/res/drawable-large-hdpi-v11/url_bar_entry_default.9.png => mobile/android/app/src/photon/res/drawable-large-hdpi-v11/url_bar_entry_default.9.png
rename : mobile/android/app/src/main/res/drawable-large-hdpi-v11/url_bar_entry_default_pb.9.png => mobile/android/app/src/photon/res/drawable-large-hdpi-v11/url_bar_entry_default_pb.9.png
rename : mobile/android/app/src/main/res/drawable-large-hdpi-v11/url_bar_entry_pressed.9.png => mobile/android/app/src/photon/res/drawable-large-hdpi-v11/url_bar_entry_pressed.9.png
rename : mobile/android/app/src/main/res/drawable-large-hdpi-v11/url_bar_entry_pressed_pb.9.png => mobile/android/app/src/photon/res/drawable-large-hdpi-v11/url_bar_entry_pressed_pb.9.png
rename : mobile/android/app/src/main/res/drawable-large-xhdpi-v11/url_bar_entry_default.9.png => mobile/android/app/src/photon/res/drawable-large-xhdpi-v11/url_bar_entry_default.9.png
rename : mobile/android/app/src/main/res/drawable-large-xhdpi-v11/url_bar_entry_default_pb.9.png => mobile/android/app/src/photon/res/drawable-large-xhdpi-v11/url_bar_entry_default_pb.9.png
rename : mobile/android/app/src/main/res/drawable-large-xhdpi-v11/url_bar_entry_pressed.9.png => mobile/android/app/src/photon/res/drawable-large-xhdpi-v11/url_bar_entry_pressed.9.png
rename : mobile/android/app/src/main/res/drawable-large-xhdpi-v11/url_bar_entry_pressed_pb.9.png => mobile/android/app/src/photon/res/drawable-large-xhdpi-v11/url_bar_entry_pressed_pb.9.png
rename : mobile/android/app/src/main/res/drawable-large-xxhdpi-v11/url_bar_entry_default.9.png => mobile/android/app/src/photon/res/drawable-large-xxhdpi-v11/url_bar_entry_default.9.png
rename : mobile/android/app/src/main/res/drawable-large-xxhdpi-v11/url_bar_entry_default_pb.9.png => mobile/android/app/src/photon/res/drawable-large-xxhdpi-v11/url_bar_entry_default_pb.9.png
rename : mobile/android/app/src/main/res/drawable-large-xxhdpi-v11/url_bar_entry_pressed.9.png => mobile/android/app/src/photon/res/drawable-large-xxhdpi-v11/url_bar_entry_pressed.9.png
rename : mobile/android/app/src/main/res/drawable-large-xxhdpi-v11/url_bar_entry_pressed_pb.9.png => mobile/android/app/src/photon/res/drawable-large-xxhdpi-v11/url_bar_entry_pressed_pb.9.png
rename : mobile/android/app/src/main/res/drawable-xhdpi/find_prev.png => mobile/android/app/src/photon/res/drawable-xhdpi/find_prev.png
rename : mobile/android/app/src/main/res/drawable-xhdpi/url_bar_entry_default.9.png => mobile/android/app/src/photon/res/drawable-xhdpi/url_bar_entry_default.9.png
rename : mobile/android/app/src/main/res/drawable-xhdpi/url_bar_entry_default_pb.9.png => mobile/android/app/src/photon/res/drawable-xhdpi/url_bar_entry_default_pb.9.png
rename : mobile/android/app/src/main/res/drawable-xhdpi/url_bar_entry_pressed.9.png => mobile/android/app/src/photon/res/drawable-xhdpi/url_bar_entry_pressed.9.png
rename : mobile/android/app/src/main/res/drawable-xhdpi/url_bar_entry_pressed_pb.9.png => mobile/android/app/src/photon/res/drawable-xhdpi/url_bar_entry_pressed_pb.9.png
rename : mobile/android/app/src/main/res/drawable-xxhdpi/url_bar_entry_default.9.png => mobile/android/app/src/photon/res/drawable-xxhdpi/url_bar_entry_default.9.png
rename : mobile/android/app/src/main/res/drawable-xxhdpi/url_bar_entry_default_pb.9.png => mobile/android/app/src/photon/res/drawable-xxhdpi/url_bar_entry_default_pb.9.png
rename : mobile/android/app/src/main/res/drawable-xxhdpi/url_bar_entry_pressed.9.png => mobile/android/app/src/photon/res/drawable-xxhdpi/url_bar_entry_pressed.9.png
rename : mobile/android/app/src/main/res/drawable-xxhdpi/url_bar_entry_pressed_pb.9.png => mobile/android/app/src/photon/res/drawable-xxhdpi/url_bar_entry_pressed_pb.9.png
extra : rebase_source : be8dcbbe93910c5cd160481730a7b0e65fe425fd
extra : source : ece7123dcb78ad805e320a79ead1b565b57b12b3
2017-10-12 09:07:35 +08:00
Jim Chen
ea127a6715 Bug 1357191 - 1. Use Gecko controls for Fennec date/time fields; r=jessica r=nechen
Right now, date/time fields in Fennec appear as regular text fields,
which display the date/time values without formatting. This patch makes
the fields use the Gecko controls, which do support formatting. This
only changes the appearance of the fields; we still display the native
date/time pickers when the fields are tapped on. The reset button is
hidden in the controls because the Fennec date/time picker provides
a separate "clear" button.

MozReview-Commit-ID: 75QyKmolNuf
2017-10-12 12:20:14 -04:00
Botond Ballo
8639d6de37 Bug 1409129 - Have the APZ frame delay ride the trains on Fennec. r=kats
MozReview-Commit-ID: GSFXNxWQwSm

--HG--
extra : rebase_source : b16807458f9725f3ef157feae081acad7c1de64e
2017-10-16 14:58:57 -04:00
Jing-wei Wu
557826defc Bug 1406874 - Show a color indicator for the selected tab strip on tablet. r=nechen
MozReview-Commit-ID: 9vYGxkI9swX

--HG--
extra : rebase_source : 16675eebb01b46765ca69f9131667b6e255adc32
2017-10-09 17:48:19 +08:00
Jing-wei Wu
dc6fd8c2de Bug 1406828 - Update back/forward icons for RTL on tablet. r=nechen
MozReview-Commit-ID: DidBVCe4h1m

--HG--
rename : mobile/android/app/src/main/res/drawable-ldrtl-large-hdpi/ic_menu_back.png => mobile/android/app/src/photon/res/drawable-ldrtl-large-hdpi/ic_menu_back.png
rename : mobile/android/app/src/main/res/drawable-ldrtl-large-hdpi/ic_menu_forward.png => mobile/android/app/src/photon/res/drawable-ldrtl-large-hdpi/ic_menu_forward.png
rename : mobile/android/app/src/main/res/drawable-ldrtl-large-xhdpi/ic_menu_back.png => mobile/android/app/src/photon/res/drawable-ldrtl-large-xhdpi/ic_menu_back.png
rename : mobile/android/app/src/main/res/drawable-ldrtl-large-xhdpi/ic_menu_forward.png => mobile/android/app/src/photon/res/drawable-ldrtl-large-xhdpi/ic_menu_forward.png
rename : mobile/android/app/src/main/res/drawable-ldrtl-large-xxhdpi/ic_menu_back.png => mobile/android/app/src/photon/res/drawable-ldrtl-large-xxhdpi/ic_menu_back.png
rename : mobile/android/app/src/main/res/drawable-ldrtl-large-xxhdpi/ic_menu_forward.png => mobile/android/app/src/photon/res/drawable-ldrtl-large-xxhdpi/ic_menu_forward.png
extra : rebase_source : c7ca6c08fdbef5a06411aa1f62c01775205a8193
2017-10-09 13:36:13 +08:00
Jing-wei Wu
4bcdd48869 Bug 1406338 - Part 2: Show favicons in tabs tray page. r=nechen
MozReview-Commit-ID: BXOFuxwI0sl

--HG--
extra : rebase_source : 24060ab31fb3df81fa341f54b0aa969b31e4564c
2017-10-09 11:02:52 +08:00
Jan Henning
f3c2c7d40d Bug 1406410 - Use URI input type when editing a bookmark's URL. r=jwu
MozReview-Commit-ID: IqhMAByb0mx

--HG--
extra : rebase_source : 12e6349ffa237598025d422a76bc325d06a73cee
2017-10-06 17:15:35 +02:00
Nevin Chen(:nechen)
da23228565 Bug 1403132 - Orange color when tapping Get started button. r=jwu
MozReview-Commit-ID: BffcsiT1wrF

--HG--
extra : rebase_source : 23ce73c8576a52e6a99ff47cbe24353f1809a0e1
2017-10-06 14:00:51 +08:00
Nevin Chen(:nechen)
1272df551e Bug 1403728 - Remove unwanted padding. r=jwu
MozReview-Commit-ID: lMO3l83226

--HG--
extra : rebase_source : 52f9bfe70deb08936d27bf6e4f014904fc84228c
2017-10-06 13:02:09 +08:00
Jing-wei Wu
f0f3ef74b9 Bug 1405954 - Part 3: Change placeholder colors on URL bar. r=nechen
MozReview-Commit-ID: 1ulc7LS906Q

--HG--
extra : rebase_source : 4ed7d466bb3a8b68eac659169af61681ce19cd66
2017-10-05 11:16:50 +08:00
Jing-wei Wu
fbffb7af70 Bug 1405954 - Part 2: Change status bar background color to #F9F9FA. r=nechen
MozReview-Commit-ID: 2vrGayqw5zp

--HG--
extra : rebase_source : 1158ed902c789691f9dc32fea0a1807f77e4c051
extra : source : cbc0cf3ca81d441400ee5a3cb47d1e3b50eecbe3
2017-10-02 14:39:52 +08:00
Jing-wei Wu
cfa7021a0b Bug 1405954 - Part 1: Increase progress bar height from 2dp to 3dp. r=nechen
MozReview-Commit-ID: CKLzo7SWKiX

--HG--
extra : rebase_source : be3fec6b9991e3f099078d2515b1f7545a042e03
extra : source : bf1902fc85abcbe3fa0203bf06d2f5f5e6f46571
2017-10-02 14:39:00 +08:00
Nevin Chen
54cb0f1ee2 Bug 1403980 - Hide Splash screen in new tab opened from the search widget. r=jwu
MozReview-Commit-ID: 9RBOfHe80CW

--HG--
extra : rebase_source : 120ed1e18b58a63fbeba6b12e1810c494bf2d4f7
2017-10-01 03:53:30 +08:00
Jing-wei Wu
502459d05d Bug 1403596 - Adjust menu buttons position on tabs panel. r=nechen
MozReview-Commit-ID: 3i5rP6YLO0e

--HG--
extra : rebase_source : 3c83ca4eebce7a06e5de1e736ca894e8af070234
extra : source : c16582a1b32007ae27f12d90ebab6173c3f99c5d
2017-10-05 14:39:19 +08:00
Nevin Chen
fcfb4b1f6d Bug 1405287 - Change splash screen image. r=jwu
MozReview-Commit-ID: 9RH2XLj6LRq

--HG--
extra : rebase_source : 555b44b0493b65713a7728e2bb3b1749428e0bcd
2017-10-03 06:02:00 -04:00
Jing-wei Wu
a556345663 Bug 1402882 - Update firstrun welcome image for nightly/beta/release. r=nechen
MozReview-Commit-ID: AzV4Sl8iGc5

--HG--
extra : rebase_source : 8c8ffc53936432da7cac9ecddbe76c5ba9f9130f
2017-10-03 15:18:04 +08:00
Michael Comella
0b27441da0 Bug 1404460: Hide Pocket preference if Pocket not available in locale. r=liuche
When changing locales, an open dialog will not refresh but clicking on the
"Top sites" preference again (to display the dialog) will show the correct
dialog for the current locale.

MozReview-Commit-ID: 6UJvDIJZJtc

--HG--
extra : rebase_source : 777d0f4bc34829c8aacdeaac42fc0e27c3e7afd6
2017-10-02 17:35:03 -07:00
Wes Kocher
1674eb3e4f Merge inbound to m-c a=merge
MozReview-Commit-ID: 7zOjePOWzOM
2017-09-28 16:56:44 -07:00
Hugh Wu
5317a6d9c6 Bug 1381747 - Removed browser.display.history.maxresults from mobile.js. r=JanH
MozReview-Commit-ID: EBfNr65hiaR

--HG--
extra : rebase_source : a4cf3165928f2ea1d86248b695b82583062b59c3
2017-09-15 18:23:11 -04:00
Francois Marier
a6e2599b6e Bug 1394017 - Default to Safe Browsing V4 on Fennec.r=dimi
MozReview-Commit-ID: 5SPHH82pJBE

--HG--
extra : rebase_source : 59834eab341082064dfa75c7145ea43d32bc5230
2017-09-25 16:44:27 -07:00
James Willcox
3505666b54 Bug 1372926 - Revert bug 1394356, allowing "add to homescreen" again on Android O r=nechen
MozReview-Commit-ID: B7cYUu1Wa6c
2017-09-28 09:09:52 -05:00
Jing-wei Wu
135f2e07c7 Bug 1388679 - Replace Fennec Nightly icons. r=nechen
MozReview-Commit-ID: 9btxIijjZz2

--HG--
extra : rebase_source : b9210c01868eb7dd6a360142878630da1387ec94
extra : source : 74756878a17441be098d544a87a5418aba79b158
2017-09-26 13:27:15 +08:00
Michael Comella
d1ac60c027 Bug 1402005: Add a learn more link to Top Sites. r=liuche
Explanation of our motivations are added in code comments.

In testing locally, the link I was sent to was:
- https://support.mozilla.org/1/mobile/58.0a1/Android/en-US/activity-stream

Existing code does not use a referrer so I didn't add one:
http://searchfox.org/mozilla-central/rev/56ad02e34d0d36ca4d5ccaa885d26aff270b8ff7/mobile/android/base/java/org/mozilla/gecko/preferences/LinkPreference.java#44

MozReview-Commit-ID: GTY1ku07uWy

--HG--
extra : rebase_source : fea160fdf5cff0ee5bfb99604b0e5ebe59d86ffb
2017-09-22 17:04:53 -07:00
Jim Chen
2216a28dff Bug 1396951 - 1. Add and use HapticFeedbackDelegate; r=snorp
Instead of using `getLayerView()` to perform haptic feedback, this patch
adds a `HapticFeedbackDelegate`, which `GeckoApplication` implements to
call `performHapticFeedback()` on the active view. Also, use
HapticFeedbackDelegate elsewhere in the Fennec codebase where we want to
perform haptic feedback.

MozReview-Commit-ID: GAArA6yJFNF

--HG--
extra : rebase_source : 683520b1b314ff0376a6fc843415a8485650e80b
2017-09-22 14:35:22 -04:00
Sebastian Hengst
79326d87c8 Backed out changeset 5e5ce5633017 (bug 1396951) for frequently failing robocop's testSettingsPages. r=backout a=backout
MozReview-Commit-ID: AGZMQKL3eft
2017-09-22 11:49:14 +02:00
Michael Comella
8d66e7dcec Bug 1401743: Disable importance for accessibility of pocket MORE arrow. r=liuche
The proper solution here is to put MORE and the arrow in a single focusable
container but this needs to get uplifted so I went with the simpler change.

For non-visual users, there is no difference. For visual users, the only "more"
is focused, rather than "more" and the arrow in one container. The code as it
is slightly more complex because we have to hide and add click listeners to
multiple objects.

MozReview-Commit-ID: JZFLc8jvXII

--HG--
extra : rebase_source : e31aa207b204ace35871acbded1e753fdb636874
2017-09-21 13:20:18 -07:00
Jim Chen
d96a907c4c Bug 1396951 - 1. Add and use HapticFeedbackDelegate; r=snorp
Instead of using `getLayerView()` to perform haptic feedback, this patch
adds a `HapticFeedbackDelegate`, which `GeckoApplication` implements to
call `performHapticFeedback()` on the active view. Also, use
HapticFeedbackDelegate elsewhere in the Fennec codebase where we want to
perform haptic feedback.

MozReview-Commit-ID: GAArA6yJFNF

--HG--
extra : rebase_source : c9ac6e28584ca2b6c6fb707444cca8dc08abe649
2017-09-21 17:36:02 -04:00
Andrew Swan
74fb7fe693 Bug 1392176 Implement prompts for browser.permissions.request() on Android r=kmag,sebastian
MozReview-Commit-ID: Dufy1pRFtgK

--HG--
extra : rebase_source : a50bf649d5c2d8ffc0ad143ea7041f34ca28af07
2017-09-12 19:06:45 -07:00
Julian_Chu
61b790f58d Bug 1329152 - Enable custom tabs by default r=sebastian
Remove related options, just use CustomTabs directly.

MozReview-Commit-ID: DdcMHnsfAU1

--HG--
extra : rebase_source : bc46d5d71d53acadc2cb0415790e9560eeda2c8a
2017-04-10 17:32:16 +08:00
Michael Comella
9ff55b4d26 Bug 1401394: Add missing gecko:itemType to non-phone configurations. r=liuche
I don't know the greater context of this code and if this will cause any problems: I'm just following the patterns in Android menus to fix this code.

:aswan is expected to test this patch for me (or provide me steps to test
whether or not it's working correctly).

MozReview-Commit-ID: 9WrqUokwmXT

--HG--
extra : rebase_source : f79940d29d68989efc6ad5e3ccd5ab5590933938
2017-09-19 16:10:14 -07:00
Chenxia Liu
47171b5bc9 Bug 1400950 - Update title font size and spacing. r=mcomella
MozReview-Commit-ID: Ajd5fhI0Y0y

--HG--
extra : rebase_source : b72cd2342bc77705de134601400b9bc188a169cf
2017-09-19 18:10:50 -07:00
Chenxia Liu
6a2a97d0b6 Bug 1395792 - Hide Highlights empty state when Highlights are disabled. r=mcomella
MozReview-Commit-ID: FMFTAFuWLqh

--HG--
extra : rebase_source : 5011e07a5f604cd57f4708b4fff064308b558b7b
2017-09-19 17:49:41 -07:00
Chenxia Liu
f199571a85 Bug 1395792 - Add show/hide to onBindVH. r=mcomella
MozReview-Commit-ID: H4bAlcaVCld

--HG--
extra : rebase_source : 5dbdec18a8a47ca1967a3d43ec63b1a7516cab30
2017-09-18 19:55:41 -07:00
Nevin Chen
eb785983d9 Bug 1400804 - First run tour - the Sync button is not visible. r=jwu
MozReview-Commit-ID: 65OnlR8MgnM

--HG--
extra : rebase_source : 0211c2dd0e60e9ab34555e0b874e343efc42b632
2017-09-18 18:02:50 +08:00
Jing-wei Wu
1630b22632 Bug 1400858 - Introduce class CheckableFadedSingleColorTextView for supporting 'Checkable' status. r=nechen
MozReview-Commit-ID: ILGByeZdyV8

--HG--
extra : rebase_source : 1a3ef22c6b20e76d34579b656a6c79298844c8fc
2017-09-20 17:09:34 +08:00
Jing-wei Wu
c98ff484c0 Bug 1401457 - Update the logo icon for search activity. r=nechen
MozReview-Commit-ID: J9gGwCyFvOw

--HG--
extra : rebase_source : 812d3f1416e530223a9494d4a90d1aac6e5a82ae
2017-09-20 14:20:08 +08:00
Michael Comella
c182ec9d6a Bug 1401385: Add Pin to Top Sites to missing configurations. r=liuche
When I implemented this, I forgot to add it to non-phone configurations.

MozReview-Commit-ID: 4zTrYZm5tXR

--HG--
extra : rebase_source : ea0a8606d8bd9cc82c020102a25f2f59724be1f6
2017-09-19 15:53:44 -07:00
Jing-wei Wu
6d01f21ded Bug 1400159 - Part 2: Update the QR code icons. r=nechen
MozReview-Commit-ID: 9SGKZDsto5g

--HG--
extra : rebase_source : fb027c93380cf35ebf511ed7e960d735e164948c
2017-09-19 14:11:05 +08:00
Jing-wei Wu
7e5e42f97a Bug 1400159 - Part 1: Update the notification icons. r=nechen
MozReview-Commit-ID: A7kX27auv1j

--HG--
rename : mobile/android/app/src/photon/res/drawable-hdpi-v11/ic_status_logo.png => mobile/android/app/src/photon/res/drawable-hdpi/ic_status_logo.png
rename : mobile/android/app/src/photon/res/drawable-xhdpi-v11/ic_status_logo.png => mobile/android/app/src/photon/res/drawable-xhdpi/ic_status_logo.png
rename : mobile/android/app/src/photon/res/drawable-xxhdpi-v11/ic_status_logo.png => mobile/android/app/src/photon/res/drawable-xxhdpi/ic_status_logo.png
rename : mobile/android/app/src/photon/res/drawable-xxxhdpi-v11/ic_status_logo.png => mobile/android/app/src/photon/res/drawable-xxxhdpi/ic_status_logo.png
extra : rebase_source : 6e6b8bdd297d94c61fb94ae0cb7878fdb5a96522
2017-09-19 13:58:53 +08:00
Botond Ballo
6c1b30b670 Bug 1400440 - Re-enable apz.frame_delay.enabled on Fennec Nightly. r=kats
MozReview-Commit-ID: E7Ukb76vMep

--HG--
extra : rebase_source : 5cfeccb1e21959e5614d0da70f60bf9ad548154f
2017-09-15 19:48:03 -04:00
Sebastian Hengst
1d35d25f21 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 1Wa3jV6n7Wj
2017-09-16 11:35:02 +02:00
Chenxia Liu
1aeee1113f Bug 1393174 - Rename FirstrunRegular.Link to Link. r=mcomella
MozReview-Commit-ID: 6UEGfBcdB1M

--HG--
extra : rebase_source : 844dc1a7b970b9194621dec7978d3c1645aa2c79
2017-09-14 17:59:28 -07:00
Chenxia Liu
cee66cd729 Bug 1393174 - Add "More" link to Pocket AS title. r=mcomella
MozReview-Commit-ID: kromR87f43

--HG--
extra : rebase_source : f063e6f541b3593e660a7dd0a148370b212f0e06
2017-09-14 17:54:50 -07:00
Ethan
a14a582ea5 Bug 1397938 - Download protection whitelist and blacklist are not available for the Android platform. r=francois 2017-09-14 14:26:18 +08:00
Sebastian Hengst
ec66bbd3e1 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4dRrVdftJVy
2017-09-15 11:05:11 +02:00
Sebastian Hengst
09dd8ba13f merge mozilla-central to mozilla-inbound. r=merge a=merge on a CLOSED TREE
--HG--
extra : amend_source : ee605ac050c0532521f96bdeda5ef20fb0099519
2017-09-15 00:18:43 +02:00
Jim Chen
0b84fb8f13 Bug 1398409 - 3. Add FormAssistPopup to custom tabs; r=snorp
Add and use FormAssistPopup in custom tabs to show autocomplete lists
and form validation messages.

MozReview-Commit-ID: AvK70MLQNVN
2017-09-14 17:50:57 -04:00
Andrew Swan
7fa115cedc Bug 1391579 Part 3: Add update indicator to top-level Add-ons menu entry r=jwu,sebastian
MozReview-Commit-ID: 937Zsd6yfBO

--HG--
extra : rebase_source : e54d9942148d5dcba420f119f4acd6e805acea77
2017-09-11 10:31:51 -07:00
Michael Comella
d6da7aa96e Bug 1397888 - review: Rename topsite_pin -> as_pin_with_background. r=mcomella
MozReview-Commit-ID: 60KvwxhSmKN

--HG--
rename : mobile/android/app/src/photon/res/drawable-hdpi/topsite_pin.png => mobile/android/app/src/photon/res/drawable-hdpi/as_pin_with_background.png
rename : mobile/android/app/src/photon/res/drawable-xhdpi/topsite_pin.png => mobile/android/app/src/photon/res/drawable-xhdpi/as_pin_with_background.png
rename : mobile/android/app/src/photon/res/drawable-xxhdpi/topsite_pin.png => mobile/android/app/src/photon/res/drawable-xxhdpi/as_pin_with_background.png
extra : rebase_source : e399ac698285c57c804d8ca3c20c8476f5fecd84
2017-09-14 12:33:52 -07:00
Michael Comella
594582be11 Bug 1397888: Display pin icon in top-left of top sites card if pinned. r=liuche
I don't scale the pin size/margins based on the dynamic tile size. This could
mean we get into situations where the pin crowds out the top site tile but I
don't know if this would happen in practice.

MozReview-Commit-ID: Ct8EP3dPr6N

--HG--
extra : rebase_source : b527cff1faf5a565d1cf309ce3063b8d23553150
2017-09-13 17:16:40 -07:00
Michael Comella
955004429a Bug 1397888: Add top site pin assets. r=liuche
MozReview-Commit-ID: IeBj25W9Jde

--HG--
extra : rebase_source : 66d7af40cd1270ebfbe3c3442b067ce1f1ff1fce
2017-09-13 17:04:15 -07:00
Julian_Chu
740dec1693 Bug 1391579 Part 2: Add MenuItemIcon r=jwu,sebastian
GeckoMenu always create view from MenuItemDefault. Now lets adding a
new type for MenuItem which will display a Drawable in right side.

MozReview-Commit-ID: F7zVDze0RaP

--HG--
extra : rebase_source : c913ef385aaf99c948edb252136c2b7f39526730
extra : intermediate-source : 2c098c90a58faee8b928eb1cec5cb841897c57e2
extra : source : b107e0b122445393a804116d763e2f13da6b6036
2017-08-24 01:15:22 -07:00
Julian_Chu
1442ca8565 Bug 1391579 Part 1: add attribute itemType to GeckoMenuItem r=jwu,sebastian
MozReview-Commit-ID: CelYcXveCvO

--HG--
extra : rebase_source : ec74a1e70148ce4a3d37241d26c0ed293abb8cfa
extra : intermediate-source : 6150b75bc69304b66fa16c50c65ac89dad59d453
extra : source : 85f5d95bb32284a8ae589f2019a955f2941d9209
2017-08-24 01:15:04 -07:00
Nevin Chen
23c6850fa7 Bug 1399014 - Allow 'enable tracking protection in normal browsing' for release and beta channel. r=maliu
In Android,  "privacy.trackingprotection.state" is not a "real" pref name, but it's used in the setting menu and browser.js.
 "privacy.trackingprotection.state" and "privacy.trackingprotection.pbmode.enabled"(deleted) in Android is init in Helper.getPrefs and  passed to browser.js when changed.
The real pref for tacking protection are two Gecko pref in browser.js. They are:
           "privacy.trackingprotection.pbmode.enabled"
           "privacy.trackingprotection.enabled"
All prefs in Android are delegated to them. The Android setting UI simply reflects the single source of truth (Gecko pref).
That's the reason why the two Android perfs use android:persistent="false"

MozReview-Commit-ID: 5ehBhtNM2Tx

--HG--
extra : rebase_source : 02ad1f3f778589ce05529f22d7d7bee03e5970e5
2017-09-14 15:16:55 +08:00
Sebastian Hengst
5a4ef70adc Backed out changeset 1bc5e32dd5f6 (bug 1399014) for failing android lint. r=backout 2017-09-14 12:29:35 +02:00
Nevin Chen
a12e2ace91 Bug 1399014 - Alow 'enable tracking protection in normal browsing' for release and beta channel. r=maliu
In Android,  "privacy.trackingprotection.state" is not a "real" pref name, but it's used in the setting menu and browser.js.
 "privacy.trackingprotection.state" and "privacy.trackingprotection.pbmode.enabled"(deleted) in Android is init in Helper.getPrefs and  passed to browser.js when changed.
The real pref for tacking protection are two Gecko pref in browser.js. They are:
           "privacy.trackingprotection.pbmode.enabled"
           "privacy.trackingprotection.enabled"
All prefs in Android are delegated to them. The Android setting UI simply reflects the single source of truth (Gecko pref).
That's the reason why the two Android perfs use android:persistent="false"

MozReview-Commit-ID: 5ehBhtNM2Tx

--HG--
extra : rebase_source : ef38ab9ac20408cbe0a0ad9ccd12c097e2ee6861
2017-09-14 15:16:55 +08:00
Sebastian Hengst
65bd75b8f9 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 6nttXoSo3Fh
2017-09-14 11:04:14 +02:00
Wes Kocher
ff68b95b87 Merge inbound to central, a=merge
MozReview-Commit-ID: ClVRh99eIUo
2017-09-14 00:03:28 -07:00
James Willcox
2278d059f8 Bug 1393504 - Ellipsize URL in Custom Tabs in the middle r=nechen
MozReview-Commit-ID: B6SqqP0TAE8
2017-09-13 15:36:41 -05:00
Jing-wei Wu
3bcdf661d6 Bug 1399384 - Part 3: Adjust edit layout padding and move values from layout to different styles.xml. r=nechen
MozReview-Commit-ID: BgSPLIrMpdT

--HG--
extra : rebase_source : 10cd9c699019395e4d239b8f7aabf23174b21395
2017-09-13 17:25:30 +08:00
Jing-wei Wu
4dab895a82 Bug 1399384 - Part 2: Status bar color refinements. r=nechen
We would like to change the status bar color based on different situation:

- For mobile, the status bar color is
  #F7FAFC in normal mode,
  #38383D in private mode, and
  #272727 in tabs tray page

- For tablet, the status bar color is always #272727

MozReview-Commit-ID: Ala5ZOYJ8Ad

--HG--
extra : rebase_source : f49de0c48ec45b210cea092eb0cdce6f1d9e3d39
2017-09-13 17:17:25 +08:00
Jing-wei Wu
4e282e5040 Bug 1399384 - Part 1: Change placeholder text color from #737373 to #B2B2B2. r=nechen
MozReview-Commit-ID: 2tnxN3Jp6ZQ

--HG--
extra : rebase_source : 964fc9d14ca42001d5865ac177ac123ef0a04ac9
extra : source : f6f5859bd6934713893eccfe0a6986b5dce7720e
2017-08-29 13:57:53 +08:00
Andrew Swan
350c06a6b8 Bug 1391401 Disable legacy extensions by default on Android r=kmag
MozReview-Commit-ID: 9InGShBHQag

--HG--
extra : rebase_source : 93d5609f38d25bde7e6827b317be5f84807f79c2
2017-09-13 13:26:59 -07:00
sajattack
ab03c2b33f Bug 1397005 - Set size of panel text r=liuche
MozReview-Commit-ID: Ik6PFbF5Loc

--HG--
extra : rebase_source : 8e424826d0fd4c83883a7f2177d4228a8a16d009
2017-09-11 17:33:53 -07:00
Francois Marier
6401ced9e2 Bug 1397930 - Use the same Safe Browsing client ID on all official builds. r=gcp
MozReview-Commit-ID: 5der4PiHWyv

--HG--
extra : rebase_source : 913cdabe319f11877e4f3cfa411b488d298ffcec
2017-09-13 14:04:26 -07:00
Sebastian Hengst
e128df9e6a Backed out changeset 956163f1fa0e (bug 1397930) on request from francois. r=backout 2017-09-13 23:00:27 +02:00
Michael Comella
6777cf4615 Bug 1398361 - review: Add comment how as_contextmenu_divider is similar for ltr and rtl. r=mcomella
MozReview-Commit-ID: 5Irg4FvH6xa

--HG--
extra : rebase_source : 7de1ffddebfd1616b50ca6312b36f9be07d47c57
2017-09-13 13:29:35 -07:00
Sebastian Kaspari
7e4cd8bf41 Bug 1398361 - as_contextmenu_divider: Remove symlink and move ltr drawable from drawable-ldlrtl/ to drawable/. r=mcomella
MozReview-Commit-ID: 4rVUdSxbU89

--HG--
extra : rebase_source : c6d96f7caf3973d83ef40ed48c3571a99f6d30a1
2017-09-13 21:03:23 +02:00
Francois Marier
5e04ed0e16 Bug 1397930 - Use the same Safe Browsing client ID on all official builds. r=gcp
Also use the UA name on all non-official builds, not just Fennec.

MozReview-Commit-ID: 4pKVz1mFnEl

--HG--
extra : rebase_source : d87cc290ad400c386c0a418289aba746eba63c65
2017-09-07 17:40:52 -07:00
Jan Henning
a1632b557b Bug 1399148 - Check we actually have an Editable before searching for a span. r=jwu
MozReview-Commit-ID: EiUO8wWSyLB

--HG--
extra : rebase_source : f1775d6082e43f3984086143081681f4d6a3e5bc
2017-09-12 19:20:50 +02:00
Michael Comella
3b87250c54 Bug 1398834: Add Pin to Top Sites page menu item. r=liuche
MozReview-Commit-ID: 3YK2V7zrUDC

--HG--
extra : rebase_source : 44c9cd398c60e9fed9b2d25a8e761872e748fc92
2017-09-12 15:31:15 -07:00
Jing-wei Wu
ddba8104f7 Bug 1398657 - Part 2: Remove redundant drawables. r=nechen
MozReview-Commit-ID: JlIsM8Fr9j7

--HG--
extra : rebase_source : 828a741b5ab4d4d032c487aa5591980be84a1054
extra : source : 631f869ba2bd3fcd9a3de62ea0af38acad65a3c5
2017-09-12 16:42:08 +08:00
Jing-wei Wu
50acf01d7d Bug 1398657 - Part 1: Remove mdpi drawables. r=nechen
MozReview-Commit-ID: IvHdQELuIGt

--HG--
extra : rebase_source : 80870a4254ef37c2f4de2eb05cd6a892caf91d8b
extra : source : 1814487fa3359aa2014c8eb104f38629823b7d30
2017-08-29 17:35:43 +08:00
Michael Comella
b24ecca8ea Bug 1395761: Remove layout_gravity=center in webpage_item_row. r=liuche
This has the effect of:
- Aligning the webpage item row with top sites (both 10dp margins)
- Making the icons not cut off

Unfortunately, I don't know why this solved the problem considering the size of
the container did not change. However, the layout_gravity was extraneous and
given all the other work we have to do, I'm fine not researching further.

One thing I noticed is that with layout_gravity, there was an additional
non-colored space in the "Show Layout Bounds" mode with layout_gravity than
there was with out it.

MozReview-Commit-ID: KTZRi1s32gx

--HG--
extra : rebase_source : 3484fc8a0257323c51d805c57979b0904e596483
2017-09-11 10:09:10 -07:00
Botond Ballo
cb97473493 Bug 1398858 - Have apz.frame_delay.enabled ride the trains on desktop. r=kats
MozReview-Commit-ID: HAOFPBlqEq0

--HG--
extra : rebase_source : 3df9ddd8590d9f168f8f2f1f7f2d44b66aa4cef9
2017-09-11 13:33:54 -04:00
Jing-wei Wu
ec6a9f05ea Bug 1398655 - Remove unused color resources in colors.xml. r=nechen
MozReview-Commit-ID: 6lPno8C3GhE

--HG--
extra : rebase_source : 0ba91dcdd07f1d474f6e1358575ebd1f044a1e37
extra : source : 867cb5c5dacbf7cbfe0d4a4507651837052f0f83
2017-08-29 15:08:43 +08:00
Nevin Chen
a2f0a2765b Bug 1396465 - Make onboarding images smaller. r=jwu
MozReview-Commit-ID: LKFOlBd5bdv

--HG--
extra : rebase_source : 60411f2f01aa943711794116ad6f8f94311f6a7a
2017-09-04 10:16:05 +08:00
Jan Henning
8530a2979b Bug 1271998 - Part 3 - Scroll the URL to focus the origin for overlength URLs. r=jwu
If the domain is long enough that it doesn't fully fit within the URL bar, we scroll it such that the end of the domain aligns with the right side of the URL bar, taking any possible fadingEdge effect into account. That way, we always try to show as much of the most important part of the origin as possible.

Chrome uses a similar approach, although their URL bar neither fades nor allows scrolling.

MozReview-Commit-ID: Ep4H4kO4MRH

--HG--
extra : rebase_source : 2ef619e8e756627e8ff55ef394f483ce12505ddd
2017-08-24 22:09:56 +02:00
Jan Henning
9e84d48ea6 Bug 1271998 - Part 2 - Make our URL bar scrollable. r=jwu
Limited space for URLs on mobile browsers has given rise to a class of phishing attacks that rely on a carefully crafted URL with a long subdomain being cut off such as to give the impression of another, legitimate URL [1]. We've experimented in the past with avoiding this by showing only the base domain or the EV certificate owner, but had to revert to the old behaviour because of users complaining about not being able to see as much of the URL as formerly possible.

Making the displayed URL scrollable is therefore a nice solution: It allows us to choose the initial scroll position such as to put the focus on the base domain, while giving users the freedom to easily view all the rest of the URL without having to enter editing mode.

To make the URL scrollable, we wrap the TextView with a HorizontalScrollView. Alternatively, it would have been possible to use a ScrollingMovementMethod with the TextView, however that way
- flinging the text doesn't work out of the box
- dragging the text around is still detected as a normal long-press as well and triggers the context menu


[1]. E.g. https://manage-myaccount.paypal.com-webapps.verifcheck.com/signin/ (see https://twitter.com/ericlaw/status/900429796240277504 for an example screenshot).

MozReview-Commit-ID: LPEXQA2kBvD

--HG--
extra : rebase_source : dc5a9428a64cb8961b5783505f67599fa1e22f34
2017-08-27 17:31:13 +02:00
Jan Henning
39dd7dd7d7 Bug 1271998 - Part 0 - Clean up imports. r=JanH
MozReview-Commit-ID: 5y5C77jFYUg

--HG--
extra : rebase_source : e875e54bf1dcf787c582fa8ffea771309bdb6704
2017-08-27 19:58:16 +02:00
Jing-wei Wu
903a88d66e Bug 1394404 - Part 2: Keep AnimatedProgressBar has same height in both BrowserApp and CustomTabsActivity. r=walkingice
MozReview-Commit-ID: EWXn98emP2g

--HG--
extra : rebase_source : 5dc125883779926a78e6ffac67380f7bb6dc1d1f
2017-09-08 18:16:50 +08:00
Chenxia Liu
2f4e269a50 Bug 1396054 - Filter highlight candidates based on settings. r=mcomella
MozReview-Commit-ID: 8e36KZsuh27

--HG--
extra : rebase_source : a23dfbf4d98e0c81334da558ba579e5491169241
2017-09-03 09:35:01 -07:00
Jan Henning
96f846e8fb Bug 1396076 - Part 4 - Revert TabsLayoutItemView padding changes for the "close tab" button. r=jwu
We're using Touch- and HoverDelegates to increase the effective clickable area, so there's no need to actually pad the button itself, which disturbs the layout and eats into the space available for displaying the tab's title.

MozReview-Commit-ID: CKS2OIoS1xr

--HG--
extra : rebase_source : 1e67c7a4c9014156d4e21424cae805dc30d35608
2017-09-01 19:17:33 +02:00
Sebastian Hengst
9a6b5140c4 merge mozilla-central to autoland. r=merge a=merge 2017-09-08 11:03:59 +02:00
Sebastian Hengst
e52b8eb6e4 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: E6LQYNHgmiv
2017-09-08 10:53:26 +02:00
Mike Hommey
ca43d9e078 Bug 1398033 - Free dirty pages on memory pressure. r=njn
Free dirty pages appear as "page-cache" in about:memory reports, but
when minimizing memory, and more generally, on memory pressure, they're
currently not force-free()ed on desktop, while they are on mobile.
There doesn't seem to be much reason not to do it on desktop as well,
and it should help reduce the noise in "explicit" allocations measurements
on CI, too.

--HG--
extra : rebase_source : e477532dda5e72eb8797b5bcdc9060ca46106275
2017-09-08 14:50:42 +09:00
Nevin Chen
171beb013a Bug 1397184 - Add MMA doc to index. r=liuche
MozReview-Commit-ID: FyO2E35p4rF

--HG--
extra : rebase_source : f781009ac9821d6a877af34df5da8b7f62e5ca58
2017-09-06 16:48:12 +08:00
Wes Kocher
2ec453d1bb Backed out 2 changesets (bug 1379833) for android lint failures a=backout
Backed out changeset 8bbf531110dd (bug 1379833)
Backed out changeset c06bc2f7acd3 (bug 1379833)

MozReview-Commit-ID: 5iCJ3qsMC1Q
2017-09-07 16:25:50 -07:00
Andrew Swan
c489cd113c Bug 1379833 Part 2: Display permissions dialog during extension install on Android r=sebastian,walkingice
MozReview-Commit-ID: 721i0B0lC4n

--HG--
extra : rebase_source : 2aadb34cc8f901181a1d894f2d823420b602487e
extra : intermediate-source : facd660f3c054d2d082bed635df5af312ec9773f
extra : source : 95aaed050f22ef61d3bedbb5b47d043d10624eeb
2017-08-15 08:35:11 -07:00
Michael Comella
c47fd6b64c Bug 1394641: AS FaviconView shares styles; add distribution comments. r=sebastian
MozReview-Commit-ID: 7d2aXNDTxZs

--HG--
extra : rebase_source : 66b5480fd4fe52d6a61eb2976917c216d920d08b
2017-09-05 16:16:53 -07:00
Jan Henning
0fcabce1fe Bug 1396604 followup - Remove unused drawable resources. r=JanH
MozReview-Commit-ID: 1gxY4DHoGZV

--HG--
extra : rebase_source : 0dc935b69d99a56c33681c1b0ef90085832a20ae
2017-09-07 19:51:54 +02:00
Sebastian Kaspari
aecdc4c5ab Bug 1396604 - Remove content notifications code. r=JanH,nechen
MozReview-Commit-ID: 5H45Vjnzt5Z

--HG--
extra : rebase_source : dbbcf4a4e402ad3550461bc61d1770961082b839
2017-09-04 16:51:07 +02:00
Jing-wei Wu
2d894cb091 Bug 1389092 - Adjust TwoLinePageRow layout. r=nechen
Adjust icon position and increase text size of title field.

MozReview-Commit-ID: F0eb8m7dvHY

--HG--
extra : rebase_source : ee7f8464ac857bbdfb39eb96b7a9902c09e58066
2017-09-05 18:14:33 +08:00
Jing-wei Wu
3b58594210 Bug 1395920 - Remove vertical dividers in tabs tray page. r=nechen
MozReview-Commit-ID: HZQcuSLbuOm

--HG--
extra : rebase_source : 12c789109e6ccfeb35b83e8f21fd81d9815e6e4a
2017-09-05 11:23:50 +08:00
Jing-wei Wu
40f05e98c2 Bug 1395917 - Update reading list folder icon on bookmark panel. r=nechen
MozReview-Commit-ID: LGdn9KfZkcn

--HG--
extra : rebase_source : 2222faf21bb66140568273390d4739aab04f8137
2017-09-05 11:04:24 +08:00
Michael Comella
196f5f016f Bug 1388377: Add highlights empty state. r=liuche
MozReview-Commit-ID: 1M1nqWSoER3

--HG--
extra : rebase_source : 4c84e431baac1a64876bede36d05c0d3399b0f63
2017-08-31 15:21:43 -07:00
Michael Comella
b4266caa6c Bug 1388377: Rm WelcomePanelRow. r=liuche
We show a message:
1) On first run
2) When there are no highlights

However, these are actually the same case (there are no highlights) so I wanted
to defer to that situation.

I felt it was easier to rm the WelcomePanel and rewrite it than it was to try
to morph it into an empty state for the highlights.

MozReview-Commit-ID: CrRbzA0NoRx

--HG--
extra : rebase_source : ed21103350ea13813062e214d3aec22805cfa7d7
2017-08-31 14:39:40 -07:00
Gregory Szorc
54ce1a0575 Backed out changeset 512562477a1e, c5b310c419c4 (bug 1388377) for Android build bustage
--HG--
extra : histedit_source : 45a7c9ad2418f3fbf1f6b3d544806e43e337749e%2C73fe36a02238f02dcac1d1010504fb42a2008701
2017-09-01 17:07:21 -07:00
Michael Comella
c256431aed Bug 1388377: Add highlights empty state. r=liuche
MozReview-Commit-ID: 1M1nqWSoER3

--HG--
extra : rebase_source : d3047131d6e5fa9bc7a6973bd7d8a78065d1901e
2017-08-31 15:21:43 -07:00
Michael Comella
291c25858a Bug 1388377: Rm WelcomePanelRow. r=liuche
We show a message:
1) On first run
2) When there are no highlights

However, these are actually the same case (there are no highlights) so I wanted
to defer to that situation.

I felt it was easier to rm the WelcomePanel and rewrite it than it was to try
to morph it into an empty state for the highlights.

MozReview-Commit-ID: CrRbzA0NoRx

--HG--
extra : rebase_source : da48e11003d8decb8216d1439a9ca475f56cbb7e
2017-08-31 14:39:40 -07:00
Chenxia Liu
7cdb649f7f Bug 1386735 - Add additional preferences to Top Sites settings. r=mcomella
MozReview-Commit-ID: ADwLLbO41RN

--HG--
extra : rebase_source : 519e230f5feaa10cb08a1eeb2de72f014894ad40
2017-08-30 20:01:48 -07:00
Michael Comella
1f0ddb4e0b Bug 1393274 - bustage: Add gravity=start where textAlignment to appease lint. r=mcomella
Lint passes locally.

MozReview-Commit-ID: 8f6hBwjzoYJ

--HG--
extra : rebase_source : 4b5c4b03e97c529e8cba61794adf87bdc1721dfe
2017-08-31 13:07:32 -07:00
Michael Comella
522237f620 Bug 1393274: Correct webpage RTL padding/margins. r=liuche
Previously, I added a comment to explain why the explicit 0dp padding/margins
are necessary for RTL but since it's required everywhere padding/margins are
used, it's unsustainable and I chose not to do it here.

MozReview-Commit-ID: H7H9xgeLy8b

--HG--
extra : rebase_source : b011a5ce0247abe3f88ce73bfcf113afc1df52af
2017-08-30 13:27:20 -07:00
Michael Comella
69ee4c888f Bug 1393274: Align webpage item row text to right in RTL, left in LTR. r=liuche
MozReview-Commit-ID: 6VSF73V6Mda

--HG--
extra : rebase_source : 5657b1f2032d543c0c39b562ebc2130dbadf8b4a
2017-08-30 13:24:46 -07:00
Michael Comella
e3133ba7e5 Bug 1393274: Rename card_history_item -> webpage_item_row & friends. r=liuche
Unrelated to RTL changes but these names are awful and gotta go!

MozReview-Commit-ID: Kud6tgfEGkk

--HG--
rename : mobile/android/app/src/main/res/layout/activity_stream_card_history_item.xml => mobile/android/app/src/main/res/layout/activity_stream_webpage_item_row.xml
extra : rebase_source : 9a2b980a8f00ddb2cb28a24ab85d684df04b05b7
2017-08-30 11:45:27 -07:00
Wes Kocher
cf2f541ad3 Backed out 3 changesets (bug 1393274) for android lint failures a=backout
Backed out changeset 52e7fa268a65 (bug 1393274)
Backed out changeset 29e8bf6a34c1 (bug 1393274)
Backed out changeset 03063f77c3f5 (bug 1393274)

MozReview-Commit-ID: 5BOV55zQaFf

--HG--
rename : mobile/android/app/src/main/res/layout/activity_stream_webpage_item_row.xml => mobile/android/app/src/main/res/layout/activity_stream_card_history_item.xml
2017-08-31 11:40:09 -07:00
Michael Comella
41c0b98adf Bug 1393274: Correct webpage RTL padding/margins. r=liuche
Previously, I added a comment to explain why the explicit 0dp padding/margins
are necessary for RTL but since it's required everywhere padding/margins are
used, it's unsustainable and I chose not to do it here.

MozReview-Commit-ID: H7H9xgeLy8b

--HG--
extra : rebase_source : 82c012534ed4d5105cead580c9d7daed82b04b9b
2017-08-30 13:27:20 -07:00
Michael Comella
821599f2b0 Bug 1393274: Align webpage item row text to right in RTL, left in LTR. r=liuche
MozReview-Commit-ID: 6VSF73V6Mda

--HG--
extra : rebase_source : d0cd6eae039f76ed3b09668892e47d4368b4122f
2017-08-30 13:24:46 -07:00
Michael Comella
d581fb44db Bug 1393274: Rename card_history_item -> webpage_item_row & friends. r=liuche
Unrelated to RTL changes but these names are awful and gotta go!

MozReview-Commit-ID: Kud6tgfEGkk

--HG--
rename : mobile/android/app/src/main/res/layout/activity_stream_card_history_item.xml => mobile/android/app/src/main/res/layout/activity_stream_webpage_item_row.xml
extra : rebase_source : 9369fd07eb959caf800cad58b37e543b83402b08
2017-08-30 11:45:27 -07:00
Nevin Chen
5798b572bc Bug 1394356 - Temporary remove add to home screen for Android O. r=jwu
MozReview-Commit-ID: 8Uz9QM7i4SD

--HG--
extra : rebase_source : 3db8d29843af5b0b720b9d15dc7e71784703c679
2017-08-29 17:53:56 +08:00
Nevin Chen
e25a8bdf4f Bug 1394361 - Tab title is cropped and not align to close button. r=jwu
MozReview-Commit-ID: JDqgSulYqAx

--HG--
extra : rebase_source : b013868e4f06a8f28bd0de152df1278d9407e4f9
2017-08-29 15:12:21 +08:00
Michael Comella
f84b2e0535 Bug 1385934: Use RTL layout attr in activity_stream_topsites_page. r=liuche
MozReview-Commit-ID: EdQzg01FbmS

--HG--
extra : rebase_source : 4286bdae7b2f1710e44185fe4684903e6e8566a8
2017-08-29 16:57:29 -07:00
Michael Comella
6b30ac06b5 Bug 1385934: Add license to activity_stream_topsites_page.xml. r=liuche
MozReview-Commit-ID: EqaukZxvcmH

--HG--
extra : rebase_source : df40010625ba5683417a377d2690b80c96726074
2017-08-29 16:33:38 -07:00
Michael Comella
2327c4c112 Bug 1388379: Use new suggestedsites assets for restricted profile. r=liuche
MozReview-Commit-ID: DXugwOekBVJ

--HG--
extra : rebase_source : 4e4f8068a772ff7b5cc8086d5e2673e745dd7ca5
2017-08-28 17:56:51 -07:00
Michael Comella
485f4fbea6 Bug 1388379: Use new suggestedsites assets for default profile. r=liuche
MozReview-Commit-ID: KCafeCJpNh8

--HG--
extra : rebase_source : ef1836967148e4e783f8dd1bd6b66844b9e2612f
2017-08-28 17:40:08 -07:00
Michael Comella
e46d523922 Bug 1388379: Rm xxxhdpi/suggestedsites_twitter. r=liuche
This is the only suggested site in xxxhdpi and is thus inconsistent.

MozReview-Commit-ID: F9HvsXKsFSq

--HG--
extra : rebase_source : f7b42c5818c1e6c6012386e56f3c224c29de0966
2017-08-28 17:45:53 -07:00
Wes Kocher
de530c1ea6 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 5c1Pgm4aVKe
2017-08-29 16:17:50 -07:00
Sebastian Hengst
558aede67b merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-08-29 20:36:12 +02:00
James Willcox
92360654c3 Bug 1394552 - UI improvements for Custom Tabs launched from PWA r=esawin
MozReview-Commit-ID: LVAQN9Tp9DN
2017-08-29 10:31:41 -05:00
Jan Henning
bf6a3ea142 Bug 1385695 - Propagate "app" debug/release build type to dependencies. r=sebastian
Even when building the "app" module in debug mode, by default Gradle still chooses to build all dependencies in release mode, which means that all of our own source files that reside in such a library (geckoview, respectively thirdparty) will e.g. be missing debug info for local variables.

MozReview-Commit-ID: owZr9yKtYI

--HG--
extra : rebase_source : ae09795ebe70bf4213cd3d145efa355712c702a0
2017-07-30 13:55:11 +02:00
Sebastian Kaspari
7e1a1b0496 Bug 1389710 - Search engine preference: Use "favicon_small_size" (like in two_line_page_row.xml). r=mcomella
MozReview-Commit-ID: IDF07Cxux29

--HG--
extra : rebase_source : 46db2c65c144ccf1d35385f96801a0949ca0324b
2017-08-28 16:30:43 +02:00
Sebastian Hengst
9769c22d10 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: AeoHOxZLi6m
2017-08-28 16:53:53 +02:00
John Lin
77f0ffe52a Bug 842782 - p4: enable fullscreen video orientation lock for Fennec nightly. r=jwwang
MozReview-Commit-ID: 5rYK7mjJrBr
2017-08-28 18:16:06 +08:00
Jing-wei Wu
3fb42e9edd Bug 1388490 - Cancel animation set if necessary before re-start it. r=walkingice
MozReview-Commit-ID: F1pDOxZp1SI

--HG--
extra : rebase_source : f7f5a1cdcef5ee91c519f2c3c1c5414bbfb793a7
2017-08-28 15:04:39 +08:00
Sebastian Hengst
2bdbd85010 Backed out changeset b3005c73d7ad (bug 842782) 2017-08-28 09:59:00 +02:00
John Lin
56439aeab2 Bug 842782 - p4: enable fullscreen video orientation lock for Fennec nightly. r=jwwang
MozReview-Commit-ID: 5rYK7mjJrBr

--HG--
extra : rebase_source : c0cd58f2a56b08db923d9cd8f9fdff4b74404a76
2017-08-25 14:26:51 +08:00
Jing-wei Wu
61419e0e10 Bug 1389164 - Support new lightweight theme design on Photon. r=nechen,walkingice
We use an extra mask for url bar to make url text more clear.

MozReview-Commit-ID: D4ngrRdAof6

--HG--
extra : rebase_source : 4654058e6d966a033c816c3b47140ac8f607d7ed
extra : source : 0608e38913d521899ecc3d907167984ef22816cd
2017-08-28 11:41:20 +08:00
Jing-wei Wu
0dc15e318d Bug 1391177 - Part 9: Change indicator height in tabs tray page to 4dp. r=nechen,walkingice
MozReview-Commit-ID: JWzkvs0xJEo

--HG--
extra : rebase_source : 5220b635279ec8187751e819402f41db94c65d4f
2017-08-22 14:12:59 +08:00
Jing-wei Wu
352d2d1c0e Bug 1391177 - Part 8: Adjust layout for menu icons on toolbar. r=nechen,walkingice
MozReview-Commit-ID: 46l5Uw3zhO5

--HG--
extra : rebase_source : 71875cbd67ff3f3d674a4020481b3f9f81bd6b1d
2017-08-28 09:20:19 +08:00
Jing-wei Wu
fec51f2213 Bug 1391177 - Part 7: TabCounter refinements. r=nechen,walkingice
1. Ratio of one digit is changed from 0.7 to 0.5.
2. Decorate text with 'sans-serif-medium' & 'bold'.
3. Change border thinkness from 2.5dp to 2.3dp.

MozReview-Commit-ID: 9ghdkBAFx9r

--HG--
extra : rebase_source : cfb825233ff34729aba5bbf2fd6c6b8583a9c9cb
2017-08-21 18:31:09 +08:00
Jing-wei Wu
1abc892fb7 Bug 1391177 - Part 6: Change the primary blue from #00A2FE to #0A84FF. r=nechen,walkingice
MozReview-Commit-ID: CnUuCtGLAU5

--HG--
extra : rebase_source : e9aad4db9a938296a2bd421263248ee04c0dddc1
extra : intermediate-source : 80481e5fc6301733ad6ccb33a8b3cefe7d971ceb
extra : source : 4eccaa8a53b455b63be544cbfefff46379ac7c75
2017-08-14 14:41:58 +08:00
Jing-wei Wu
5d1e0e73ed Bug 1391177 - Part 5: Remove vertical dividers in tabs tray page. r=nechen,walkingice
MozReview-Commit-ID: 3QXKlmJmg7R

--HG--
extra : rebase_source : 5d33a5b3e139e32c6f71ecfecd810b3a3af5816a
extra : intermediate-source : 720407bcd509fefb65dfa5e0c90999b22615917d
extra : source : 119c08e61355e37ec9f0764a5f75f92cf1f11418
2017-08-14 14:11:14 +08:00
Jing-wei Wu
501afe48ba Bug 1391177 - Part 4: Change text selection color to primary color + 30% alpha. r=nechen,walkingice
MozReview-Commit-ID: Gm7nGDZeWyA

--HG--
extra : rebase_source : 24d5a9dc4ffe7b1d29e045c178ac7efc708ae4d5
extra : intermediate-source : 3c9d54bf3f19ff4af3cae776bddfa17370a5ca78
extra : source : 43c6c11b2fa6bb5b53a63b1b62c216ac82981314
2017-08-14 14:05:24 +08:00
Jing-wei Wu
8467324208 Bug 1391177 - Part 3: Update icons for mobile photon. r=nechen,walkingice
Update a few icons received from designer and remove mdpi images.

MozReview-Commit-ID: 87Hc3GqtZm9

--HG--
rename : mobile/android/app/src/main/res/drawable-hdpi/home_tab_menu_strip.9.png => mobile/android/app/src/photon/res/drawable-hdpi/home_tab_menu_strip.9.png
rename : mobile/android/app/src/main/res/drawable-hdpi/tab_indicator_background.9.png => mobile/android/app/src/photon/res/drawable-hdpi/tab_indicator_background.9.png
rename : mobile/android/app/src/main/res/drawable-hdpi/tab_indicator_selected.9.png => mobile/android/app/src/photon/res/drawable-hdpi/tab_indicator_selected.9.png
rename : mobile/android/app/src/main/res/drawable-hdpi/tab_indicator_selected_focused.9.png => mobile/android/app/src/photon/res/drawable-hdpi/tab_indicator_selected_focused.9.png
extra : rebase_source : cd193c88e3650f134190d3e55843396a0b3f8b5f
extra : source : 31ed050ebe02273ea1e75341634bf32065d117f9
2017-08-25 15:05:23 +08:00
Jing-wei Wu
b569b8cde2 Bug 1391177 - Part 2: Change text yes/no in search suggestion prompt to capitals. r=nechen,walkingice
MozReview-Commit-ID: LTiVMsPdO88

--HG--
extra : rebase_source : 1dc6c135b27aa717f94d13d324f24d0199f690ea
extra : intermediate-source : b7685ff3c2221da093dec2c0b5bd57dbfa704d5c
extra : source : 0b66e4a3c93bdf6a753907bc07b0b13494db32b4
2017-08-14 15:07:22 +08:00
Jing-wei Wu
6fafdf0bbc Bug 1391177 - Part 1: Change URL text(except domain) color in toolbar from #B2B2B2 to #737373. r=nechen,walkingice
MozReview-Commit-ID: dK4hDxx9iv

--HG--
extra : rebase_source : eb5e191b27a567db9a44e1394ec44bb37d247c35
extra : source : aca501b3f1ad86fa10c5580c0d02f9f82550004f
2017-08-17 16:13:54 +08:00
Sebastian Hengst
2c2ca2ccd3 Backed out changeset 007265934857 (bug 1391177) for Android bustage at mobile/android/app/src/photon/res/layout/toolbar_edit_layout.xml:25: unbound prefix during XML parsing. r=backout on a CLOSED TREE 2017-08-25 16:41:18 +02:00
Sebastian Hengst
e0a3447dce Backed out changeset 8cd707f86455 (bug 1391177) 2017-08-25 16:40:21 +02:00
Sebastian Hengst
2c21256b84 Backed out changeset f1151c03aeb8 (bug 1391177)
--HG--
rename : mobile/android/app/src/photon/res/drawable-hdpi/home_tab_menu_strip.9.png => mobile/android/app/src/main/res/drawable-hdpi/home_tab_menu_strip.9.png
rename : mobile/android/app/src/photon/res/drawable-hdpi/tab_indicator_background.9.png => mobile/android/app/src/main/res/drawable-hdpi/tab_indicator_background.9.png
rename : mobile/android/app/src/photon/res/drawable-hdpi/tab_indicator_selected.9.png => mobile/android/app/src/main/res/drawable-hdpi/tab_indicator_selected.9.png
rename : mobile/android/app/src/photon/res/drawable-hdpi/tab_indicator_selected_focused.9.png => mobile/android/app/src/main/res/drawable-hdpi/tab_indicator_selected_focused.9.png
2017-08-25 16:40:15 +02:00
Sebastian Hengst
8c14af2d9a Backed out changeset 1f2d1bdf4b08 (bug 1391177) 2017-08-25 16:40:09 +02:00
Sebastian Hengst
cb4e1067f1 Backed out changeset df1d70886d09 (bug 1391177) 2017-08-25 16:40:03 +02:00
Sebastian Hengst
ce0beb7003 Backed out changeset 054791914057 (bug 1391177) 2017-08-25 16:39:58 +02:00
Sebastian Hengst
8fa375a6bd Backed out changeset dda991278dc4 (bug 1391177) 2017-08-25 16:39:52 +02:00
Sebastian Hengst
baf5543c91 Backed out changeset 483e66c92c6b (bug 1391177) 2017-08-25 16:39:47 +02:00
Sebastian Hengst
7ddd2a4ab5 Backed out changeset ed482ad5d31f (bug 1391177) 2017-08-25 16:39:41 +02:00
Jing-wei Wu
1da86e673f Bug 1390735 - Support tint color for page action button. r=nechen,sebastian,walkingice
Use tint to provide two colors for page action icon in normal/private mode.

We would not tint icons that already have their own colors(for example: ic_readermode_on.png or casting_active.png)
or are came from 3-party addons.

MozReview-Commit-ID: 8uuMucKGLw5

--HG--
extra : rebase_source : 7d213e2b96fab8389b2b2c69e1fdb8ecfe569f20
extra : intermediate-source : ee7c5cecab194ae54317d77de05b2e2f84e1122e
extra : source : a97a2b9700a27e944691536adec6112451ff1f24
2017-08-25 16:24:18 +08:00
Jing-wei Wu
d0e85b25fd Bug 1394310 - Change fennec primary color from orange to blue. r=nechen,sebastian,walkingice
MozReview-Commit-ID: 3K34WEtpcqz

--HG--
extra : rebase_source : f468f50c388673fd8465e5e7077787509b85b3db
2017-08-28 11:01:42 +08:00
Chenxia Liu
938fa20547 Bug 1393720 - Remove unused dimen desired_tile_height. r=liuche
MozReview-Commit-ID: 2LKF5rHn9zz

--HG--
extra : rebase_source : b8ae544812dc44d6f134189f416c323da19eb609
2017-08-25 02:15:54 -07:00
Chenxia Liu
29f5602d05 Bug 1380808 - Add Pocket to new tab with placeholders. r=mcomella
MozReview-Commit-ID: 7yqmBF1qlLR

--HG--
rename : mobile/android/app/src/main/res/drawable/ic_as_bookmarked.xml => mobile/android/app/src/main/res/drawable/ic_as_trending.xml
rename : mobile/android/base/java/org/mozilla/gecko/activitystream/homepanel/stream/HighlightsTitleRow.java => mobile/android/base/java/org/mozilla/gecko/activitystream/homepanel/stream/StreamTitleRow.java
rename : mobile/android/base/java/org/mozilla/gecko/activitystream/homepanel/stream/HighlightItemRow.java => mobile/android/base/java/org/mozilla/gecko/activitystream/homepanel/stream/WebpageItemRow.java
extra : rebase_source : 4db18bd50d8a56201531fd464ed0cae5cebf164d
2017-08-17 19:05:44 -07:00
Michael Comella
1b88e1c159 Bug 1393225: Losslessly compress png assets in photon/ dir. r=nechen
I used ImageOptim and drag-and-dropped all drawable* folders.

According to ImageOptim: "Saved 139 KB out of 303 KB. 45.4% per file on average
(up to 68.3%)."

MozReview-Commit-ID: 8Z3Eb5XjvKm

--HG--
extra : rebase_source : 13b51193f9b826f1d0274662a315065a434bf157
2017-08-23 14:26:57 -07:00
Nevin Chen
631e3c6a5f Bug 1390670 - Tabs tray close tab button is very small. r=jwu
MozReview-Commit-ID: LwM2G6nxT9H

--HG--
extra : rebase_source : 2418f4c52b02d6c350d246cf5a3cb08b9cdb52b9
2017-08-23 18:06:34 +08:00
Jing-wei Wu
17b83d29cf Bug 1366672 - part7: Remove unused resources to make lint happy r=nechen
MozReview-Commit-ID: 9RKUi4tVRvs

--HG--
extra : rebase_source : 8978a9d6ca8945278a489fd7f77a4cbf1f06e39e
2017-08-17 17:03:12 +08:00
Julian_Chu
b306246dca Bug 1366672 - part5: CustomTabs use AnimatedProgressBar r=jwu,sebastian
MozReview-Commit-ID: JxF9vlLPgb4

--HG--
extra : rebase_source : a6a08ef7599cbd7cbd8cb57543da79e942c84124
2017-08-12 23:15:08 +08:00
Julian_Chu
d1f7c2f359 Bug 1366672 - part4: use Photon design for ProgressBar r=jwu,sebastian
MozReview-Commit-ID: IMFeVV0Km2i

--HG--
extra : rebase_source : 035308e08354628fcc3a1aa30260d3430687395c
2017-08-05 16:51:39 +08:00
Julian_Chu
5e19b97442 Bug 1366672 - Part3: use AnimatedProgressBar to replace ProgressView r=jwu,sebastian
MozReview-Commit-ID: KTr4ce5UvIq

--HG--
extra : rebase_source : feb2232eefc431fa10d96ebcd64f6490cb329e44
2017-08-05 13:59:35 +08:00
Julian_Chu
96d96fa63c Bug 1366672 - part2: Add new custom widgets r=jwu,sebastian
* DrawableWrapper - a class similiar to DrawableWrapper in Android v23.
* ShiftDrawable - provide shif-animation for its child drawable
* AnimatedProgressBar - ProgressBar.setProgress(int, boolean) involved
    since API v24. This is an implementation for animation.

MozReview-Commit-ID: HjLAXXQdZKO

--HG--
extra : rebase_source : fbe4b6252fa41c337875ee28e8e998d6ef64a394
2017-08-05 13:53:44 +08:00
Nevin Chen
0277dd355e Bug 1392917 - Compress and change a smaller icon to save APK size. r=jwu,walkingice
MozReview-Commit-ID: 8P1jzyatWJu

--HG--
extra : rebase_source : 9c5d90a53234c0d7d3a228a0ab551df7e5bfb1da
2017-08-23 14:20:09 +08:00
Nevin Chen
2ac23f6797 Bug 1392917 - fix photon layout bug. r=jwu,walkingice
MozReview-Commit-ID: Ad9PS8Xks1r

--HG--
extra : rebase_source : afc48dfc7561a1b30a3206bc0df67b67fad22435
2017-08-23 14:17:13 +08:00
Michael Comella
c7cda7bd82 Bug 1315201: Dismiss -> Remove in AS context menu. r=liuche
MozReview-Commit-ID: 5avMlzXbGDk

--HG--
extra : rebase_source : cb553cff3c4928fb40dea359a1604832718b793d
2017-08-23 12:01:52 -07:00
Michael Comella
78d8dc1a5f Bug 1315201: Add activity_stream_welcome_dismiss str. r=liuche
activity_stream_dismiss was being used to dismiss the welcome screen before but
this string is intended to be used in a different location for a different
purpose and thus should never have been set to the same string.

It's necessary to change the String here so we can modify the contents of the
activity_stream_dismiss String.

MozReview-Commit-ID: 87zaHQ5TJjN

--HG--
extra : rebase_source : c20167ccb9cdba1350b81094cb1a4ffea7b842a9
2017-08-23 11:59:43 -07:00
Michael Comella
8e0fdb8069 Bug 1315201: Override AS context menu a11y title. r=sebastian
MozReview-Commit-ID: HeX7hTpVtEP

--HG--
extra : rebase_source : 8d3b24fa3654102ad421e8fcc73fcede0dc85eca
2017-08-21 18:13:34 -07:00
Michael Comella
bfe9364e23 Bug 1315201: Do not focus AS context menu titles in Talkback. r=sebastian
MozReview-Commit-ID: GuFjd3XRMoS

--HG--
extra : rebase_source : 408a34e0974d263432ed7f4e50996b4fca61b52b
2017-08-21 14:40:30 -07:00
Michael Comella
7f2bdcca15 Bug 1315201: Add license header to bottomsheet. r=sebastian
MozReview-Commit-ID: Iaafq67csMV

--HG--
extra : rebase_source : c901e82c9bda8ba9c29a6c41548ff4ca6f3db10f
2017-08-16 13:53:31 -07:00
Michael Comella
83a4f5d443 Bug 1390356: Use StreamOverridablePageIconLayout in BottomSheetContextMenu. r=liuche
MozReview-Commit-ID: FPM8WUtVviM

--HG--
extra : rebase_source : a0ce0cb638a985a7c41ecac89014e9b4e22c70a4
2017-08-15 14:21:31 -07:00
Michael Comella
7ade444f47 Bug 1390356: StreamPageIconLayout -> StreamOverridablePageIconLayout. r=liuche
Now it doesn't imply it's used everywhere for page icons in activity stream.

MozReview-Commit-ID: F7Z2HrhHsss

--HG--
rename : mobile/android/app/src/main/res/layout/activity_stream_page_icon_layout.xml => mobile/android/app/src/main/res/layout/activity_stream_overridable_page_icon_layout.xml
rename : mobile/android/base/java/org/mozilla/gecko/activitystream/homepanel/stream/StreamPageIconLayout.java => mobile/android/base/java/org/mozilla/gecko/activitystream/homepanel/stream/StreamOverridablePageIconLayout.java
extra : rebase_source : 8e5d6fe665f315da80c11a53fe5a63b85fa45c98
2017-08-15 13:33:09 -07:00
Wes Kocher
0d6630af13 Backed out 3 changesets (bug 1390356) for android build bustage in testActivityStreamContextMenu.java a=backout
Backed out changeset 864d9c092eaf (bug 1390356)
Backed out changeset e4d9551839b6 (bug 1390356)
Backed out changeset 72a0d4fe9278 (bug 1390356)

MozReview-Commit-ID: CI51AdMUIYn

--HG--
rename : mobile/android/app/src/main/res/layout/activity_stream_overridable_page_icon_layout.xml => mobile/android/app/src/main/res/layout/activity_stream_page_icon_layout.xml
rename : mobile/android/base/java/org/mozilla/gecko/activitystream/homepanel/stream/StreamOverridablePageIconLayout.java => mobile/android/base/java/org/mozilla/gecko/activitystream/homepanel/stream/StreamPageIconLayout.java
extra : rebase_source : 44f628789a1c1c64bac0019655ba31564f37b168
2017-08-23 14:08:34 -07:00
Wes Kocher
3ce0ddebd5 Backed out 9 changesets (bug 1315201) to help back out another patch a=backout
Backed out changeset 29a2d717c525 (bug 1315201)
Backed out changeset bfa1c7a361ba (bug 1315201)
Backed out changeset a0882ffc12ac (bug 1315201)
Backed out changeset 13fc2d5116f6 (bug 1315201)
Backed out changeset c59592e98081 (bug 1315201)
Backed out changeset c1a476999fd4 (bug 1315201)
Backed out changeset c4d8e0ccc2ba (bug 1315201)
Backed out changeset 11668ca7abeb (bug 1315201)
Backed out changeset 4bbea68eee6a (bug 1315201)

MozReview-Commit-ID: 3BZlqWFmXdu

--HG--
extra : rebase_source : 066b5b013954c2cd2da7f3755e42c7d91da7fdf2
2017-08-23 14:07:53 -07:00
Michael Comella
a78eb89328 Bug 1315201: Dismiss -> Remove in AS context menu. r=liuche
MozReview-Commit-ID: 5avMlzXbGDk

--HG--
extra : rebase_source : b0a7c6e5aaa2f7946ee72fe41f43fb2c0a8f0aae
2017-08-23 12:01:52 -07:00
Michael Comella
0460681302 Bug 1315201: Add activity_stream_welcome_dismiss str. r=liuche
activity_stream_dismiss was being used to dismiss the welcome screen before but
this string is intended to be used in a different location for a different
purpose and thus should never have been set to the same string.

It's necessary to change the String here so we can modify the contents of the
activity_stream_dismiss String.

MozReview-Commit-ID: 87zaHQ5TJjN

--HG--
extra : rebase_source : 98b7fcc041063668df57d0f51f36ddd7e30da5e3
2017-08-23 11:59:43 -07:00
Michael Comella
cdf455e1bb Bug 1315201: Override AS context menu a11y title. r=sebastian
MozReview-Commit-ID: HeX7hTpVtEP

--HG--
extra : rebase_source : afccf0e06bb8b1ac86ae7b0a47eda8f562bf9c55
2017-08-21 18:13:34 -07:00
Michael Comella
161765b336 Bug 1315201: Do not focus AS context menu titles in Talkback. r=sebastian
MozReview-Commit-ID: GuFjd3XRMoS

--HG--
extra : rebase_source : e920fe034e2d9b5d9a066645c075532bcbf98d82
2017-08-21 14:40:30 -07:00
Michael Comella
957efea1da Bug 1315201: Add license header to bottomsheet. r=sebastian
MozReview-Commit-ID: Iaafq67csMV

--HG--
extra : rebase_source : 804e1fbb6c8da9a0eca697dc149b41b836918d38
2017-08-16 13:53:31 -07:00
Michael Comella
5d0af9f992 Bug 1390356: Use StreamOverridablePageIconLayout in BottomSheetContextMenu. r=liuche
MozReview-Commit-ID: FPM8WUtVviM

--HG--
extra : rebase_source : a0ce0cb638a985a7c41ecac89014e9b4e22c70a4
2017-08-15 14:21:31 -07:00
Michael Comella
b0cf9b49a1 Bug 1390356: StreamPageIconLayout -> StreamOverridablePageIconLayout. r=liuche
Now it doesn't imply it's used everywhere for page icons in activity stream.

MozReview-Commit-ID: F7Z2HrhHsss

--HG--
rename : mobile/android/app/src/main/res/layout/activity_stream_page_icon_layout.xml => mobile/android/app/src/main/res/layout/activity_stream_overridable_page_icon_layout.xml
rename : mobile/android/base/java/org/mozilla/gecko/activitystream/homepanel/stream/StreamPageIconLayout.java => mobile/android/base/java/org/mozilla/gecko/activitystream/homepanel/stream/StreamOverridablePageIconLayout.java
extra : rebase_source : 8e5d6fe665f315da80c11a53fe5a63b85fa45c98
2017-08-15 13:33:09 -07:00