Commit Graph
2909 Commits
Author SHA1 Message Date
Michael Comella 0bb96f8063 Bug 1386902: Add URIUtils.getFormattedDomain. r=liuche
This combines getBaseDomain & getHostSecondLevel domain and allows us to be
more flexible.

MozReview-Commit-ID: 7FdWsfZvGFt
2017-08-10 15:21:42 -07:00
Eugen Sawin ade377b508 Bug 1377580 - [4.1] Implement external URI loading for standalone progressive web apps. r=snorp 2017-08-14 14:57:25 +02:00
Eugen Sawin e888734005 Bug 1377580 - [3.1] Implement external URI loading for custom tabs. r=snorp 2017-08-14 14:57:25 +02:00
Michael Comella 4d339c41a5 Bug 1301718: Use StreamPageIconLayout in Highlights. r=liuche
MozReview-Commit-ID: LLdJ9xhC4S7
2017-08-04 17:36:32 -07:00
Michael Comella a34c5c6a54 Bug 1301718: Add StreamPageIconLayout. r=liuche
This will be used by highlights, top sites, and the AS bottom sheet to set
their icons.

I chose to use centerCrop, over centerInside, because the mocks look like they
chose to do a center crop scale pattern:
https://mozilla.invisionapp.com/share/5JCHCGXPG#/screens/224085516

To my reviewer: some of this code comes from the next commit, where it is moved
from the Highlights code to this file.

MozReview-Commit-ID: 8rtTpjW8noL
2017-08-04 17:36:02 -07:00
Michael Comella b9ca55dd22 Bug 1301718: FaviconView extends AppCompatImageView. r=liuche
This change is unrelated to this bug.

According to my IDE warning:

```
This custom view should extend android.support.v7.widget.AppCompatImageView
instead.

In order to support features such as tinting, the appcompat library will
automatically load special appcompat replacements for the builtin widgets.
However, this does not work for your custom views.

Instead of extending the android.widget classes directly, you should instead
extend one of the delegate classes in android.support.v7.widget.AppCompat.
```

Seems reasonable and I don't see any documentation telling me not to. :)

MozReview-Commit-ID: H60bYGVgTIT
2017-08-04 16:06:58 -07:00
Jan Henning 22e4b15e96 Bug 1389564 - Part 2 - Test that restored (background) tabs are correctly written back to disk. r=gbrown
So far, we haven't tested session restoring and saving in combination, which led to bug 1379374 where restored background tabs weren't being written back to disk after upgrading to Firefox 55.

MozReview-Commit-ID: 7CUbis7u8fb
2017-08-11 19:57:56 +02:00
Grigory Kruglov 8426f02a5c Bug 1381359 - Hide AS Pin Site item from classic Top Sites context menu r=liuche
Our home panel context menu is shared by classic top sites, history and bookmark panels.
For acitivty stream, we've added a new context menu, and a new type of pins. However,
old context menu is still used for history and bookmarks. New style of pins allows for
items to be pinned from those panels to activity stream. This requires having both "classic"
pin buttons for old Top Sites panel, as well as the new AS Pin button.

However, initial implementation forgot to disable the new AS Pin button for the classic
Top Sites panel context menu. This caused two "pin site" menu items to appear, and the
AS one would crash the browser if it's interacted with.

We'll be unifying context menus at some point, and removing the old Top Sites code,
and so this simple patch should be sufficient.

MozReview-Commit-ID: 3cxVTv6QP8L
2017-08-11 16:56:07 -04:00
Chenxia Liu 9294046c22 Bug 1386906 - Add Pocket keys to build system. r=chmanchester
MozReview-Commit-ID: 8fjcSkn1P7P
2017-08-09 12:11:10 -07:00
Wes Kocher 1865918a1a Merge m-c to autoland a=merge
MozReview-Commit-ID: LsPv9Mdodvf
2017-08-11 13:39:17 -07:00
Wes Kocher 399a13fd39 Merge inbound to central, a=merge
MozReview-Commit-ID: GArkKmOFIVH
2017-08-11 13:15:33 -07:00
Wes Kocher 2d9a484cfa Backed out changeset 59bc932c44ea (bug 1386906) for breaking single locale fennec builds a=bustage
MozReview-Commit-ID: 4z1nq8Z9gnV
2017-08-11 12:30:22 -07:00
Jing-wei Wu 76d3ad43fc Bug 1375351 - Part 4: Remove unused resources. r=nechen,walkingice
Resources don't be used in Photon should be removed to prevent lint error.

MozReview-Commit-ID: IKjeeM7NecP
2017-08-09 13:25:19 +08:00
Jing-wei Wu 43bdef7b14 Bug 1375351 - Part 3: Remove SkinConfig. r=nechen,walkingice
SkinConfig is used to detect current skin is Australis or Photon at runtime.
Since we don't support Australis anymore in Nightly, this class should be removed.

MozReview-Commit-ID: 8yjTFYyQcgt
2017-08-09 14:19:28 +08:00
Sebastian Hengst c7240206e3 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-08-10 17:41:11 +02:00
Chenxia Liu f294cef014 Bug 1386906 - Add Pocket keys to build system. r=chmanchester
MozReview-Commit-ID: 8fjcSkn1P7P
2017-08-09 12:11:10 -07:00
Dylan Roeh e6fe07b95b Bug 1366770 - Implement ContentListener.onFullScreen() for custom tabs. r=snorp 2017-08-09 10:02:22 -05:00
Wes Kocher a5ac8e39ed Merge m-c to autoland a=merge
MozReview-Commit-ID: 2qLtb79Nlhs
2017-08-08 15:26:30 -07:00
Dylan Roeh 7145233ba8 Bug 1382637 - Zombify all tabs in BrowserApp.onDestroy() to stop video/audio recording when Fennec is swipe-to-killed. r=snorp 2017-08-07 12:14:35 -05:00
Sebastian Kaspari 32b1495abb Bug 1383733 - Show two rows of top sites. r=mcomella
MozReview-Commit-ID: 1EHeCejXoFf
2017-08-02 20:11:40 +02:00
Sebastian Kaspari 9d19ba5418 Bug 1383736 - Use full size icons in top sites (and highlights). r=mcomella
MozReview-Commit-ID: 39ri4ah1ned
2017-08-07 19:15:48 +02:00
Sebastian Kaspari 897c2bc279 Bug 1383735 - Activity Stream: Update highlights layout to match latest mocks. r=mcomella
This is a version that does not use ConstraintLayout. Luckily I was able
to simplify the layout nevertheless.

MozReview-Commit-ID: 36AtqfmjZN0
2017-08-07 16:30:24 +02:00
Michael Comella 4af5c99b05 Bug 1382036: Use provider in top sites tile. r=liuche
This provider is not as effective as iOS' algorithm: I filed bug 1386902.

MozReview-Commit-ID: IK1vPWEcAYz
2017-08-02 17:13:06 -07:00
Jing-wei Wu 3d826e3522 Bug 1366661 - Cover a mask on toolbar when light weight theme is applied. r=walkingice
MozReview-Commit-ID: HhZIjhgnxql
2017-08-07 16:13:07 +08:00
Sebastian Kaspari c73e3d5e16 Bug 1384021 - ActivityStream: Remove outdated constants. r=mcomella
While editing this file I noticed that those constants are unused now.
This is leftover from bug 1377287.

MozReview-Commit-ID: 2VQxfC5gq3g
2017-08-02 19:01:19 +02:00
Sebastian Kaspari df260526e3 Bug 1384021 - Enable Activity Stream for all users and remove experiment/setting. r=mcomella
MozReview-Commit-ID: NDTBevZfX1
2017-08-02 18:58:31 +02:00
Jan Henning 700621680e Bug 1266683 - Part 1 - Support IME private mode in address bar. r=jchen
We don't build with the required version of the support library yet, so in the meantime we just copy the needed options flag definition and define it ourselves.

MozReview-Commit-ID: 3wAbquE5rOT
2017-07-30 00:21:46 +02:00
Luca Greco 45e4348a78 Bug 1387026 - Fix Android browserAction corrupting legacy Addon menu items on overlapping menu item id. r=sebastian
MozReview-Commit-ID: FWkJdAWu5Td
2017-08-02 21:29:18 +02:00
Michael Kaply f69d029ce6 Bug 1207579 - Make PinSiteDialog public to ensure it can be accessed from v4.app.fragment r=snorp
MozReview-Commit-ID: 9HRASAnZkNn
2017-08-03 15:16:40 -05:00
Jing-wei Wu 23132f424a Bug 1376995 - Update status bar color while switching between normal mode and private mode. r=walkingice
MozReview-Commit-ID: 4t0QKTktpSN
2017-08-04 17:21:11 +08:00
Jing-wei Wu af64473c8d Bug 1366671 - Part 2: Support empty screen in private tabs panel. r=walkingice
MozReview-Commit-ID: KWCPJmPMPIW
2017-07-27 17:39:36 +08:00
Jing-wei Wu 1a0619c760 Bug 1366668 - Part 5: Introduce ToolbarRoundButton to support toolbar item with round rectangle background. r=nechen,walkingice
Implement a custom shaped button to describe the background of tool bar item.

MozReview-Commit-ID: 1wmDCdzb2XZ
2017-08-04 12:52:33 +08:00
Jing-wei Wu 8ead9e3544 Bug 1366668 - Part 4: Apply tint color for bookmark icon on toolbar. r=nechen,walkingice
MozReview-Commit-ID: 6gQp8yX5iSE
2017-08-01 17:02:48 +08:00
jwu 9bb5f01842 Bug 1366668 - Part 2: Apply new toolbar visual design on tablet. r=nechen,walkingice
MozReview-Commit-ID: DikmnNSpTQt
2017-08-04 14:47:10 +08:00
Jing-wei Wu b31bbba16c Bug 1366668 - Part 1: Duplicates awesome bar resources. r=nechen,walkingice
MozReview-Commit-ID: 7tY3ugTATxh
2017-08-01 09:55:48 +08:00
Sebastian Hengst 6bd3c2bc0e Backed out changeset 4ecb1be113cb (bug 1363520) for Android build bustage at DownloadContentService.java:137: cannot find symbol. r=backout on a CLOSED TREE 2017-08-04 11:29:21 +02:00
Sebastian Kaspari 3a76f4e560 Bug 1363520 - Run CleanupAction from DownloadContentService. r=Grisha
MozReview-Commit-ID: FvnIYStD25u
2017-05-10 09:59:31 -07:00
Chenxia Liu 71df0eaabb Bug 1380804: Access Pocket API through loader. r=mcomella
MozReview-Commit-ID: AzYi5oEJ1p
2017-08-02 16:40:41 -07:00
Wes Kocher df8bcfb77d Merge m-c to autoland a=merge CLOSED TREE
MozReview-Commit-ID: Ko3lhAvzMJN
2017-08-03 18:22:09 -07:00
Wes Kocher 8382b157bc Merge inbound to central, a=merge
MozReview-Commit-ID: DlSLhaepjeU
2017-08-03 18:06:53 -07:00
Sebastian Kaspari a6e2bfdfbc Bug 1386755 - Enable compact tabs by default. r=mcomella
MozReview-Commit-ID: Eeue25LE8eJ
2017-08-02 20:21:03 +02:00
Nevin Chen 6cf395ca95 Bug 1384480 - Move MMA event to UI code. r=sebastian
MozReview-Commit-ID: FzrLqWVFWO0
2017-07-26 17:49:58 +08:00
Edouard Oger 3772920392 Bug 1351104 part 2 - Filter the clients list in Send Tab with the FxA device list. r=Grisha
MozReview-Commit-ID: KqSyWVfwva3
2017-06-07 16:24:30 -04:00
Mehdi Soleimannejad 301080c2bc Bug 1349797 - Make domain autocompletion case-insensitive. r=JanH
MozReview-Commit-ID: EQy9qbTnBFQ
2017-07-26 18:41:36 +04:30
Luca Greco 687d8e6bb0 Bug 1375857 - Fix browserAction Android menu items corrupting addon menu items cache. r=sebastian
MozReview-Commit-ID: C3uVEY6mnJM
2017-07-27 20:27:36 +02:00
Wes Kocher 3f50b11fc9 Merge m-c to inbound, a=merge
MozReview-Commit-ID: BgPWEtPV0sy
2017-07-31 17:49:47 -07:00
James Willcox 8692a70cf1 Bug 1381916 - Remove frontend support for plugins in Fennec r=nechen
MozReview-Commit-ID: Gkqe8Y5AMPV
2017-07-31 12:25:16 -05:00
Dylan Roeh 1c1e215af6 Bug 1381536 - Replace GeckoBundle passed to ProgressListener.onSecurityChanged with a class. r=jchen
This adds a new class, GeckoView.ProgressListener.SecurityInformation, which provides an API for accessing the information passed to GeckoView in GeckoView:SecurityChange messages. GeckoView then passes this object to ProgressListener in onSecurityChanged() calls. Also updates CustomTabsActivity and GeckoViewActivity to reflect the new API and removes the old integer security status param from onSecurityChanged.
2017-07-28 17:14:01 -05:00
Michael Comella d6197aee83 Bug 1369604: Add additional comments to Highlights performance changes. r=mcomella
MozReview-Commit-ID: A5uzxbKisWF
2017-07-28 18:06:48 -07:00
Michael Comella 50c62103ee Bug 1369604 - review: rm comment from WONTFIX'd bug. r=mcomella
MozReview-Commit-ID: 5zgonuODZHQ
2017-07-28 17:58:05 -07:00