Commit Graph
2909 Commits
Author SHA1 Message Date
Jan Henning 33936e1057 Bug 1308946 - Part 0 - Import PanelLevel enum. r=liuche
MozReview-Commit-ID: 32Qvym2Neh1
2016-10-11 20:41:47 +02:00
Sebastian Kaspari 48ee668840 Bug 1299201 - Introduce ActivityStream.extractLabel() to extravt a label from a URL. r=Grisha
MozReview-Commit-ID: 8IM7qppwmJ6
2016-10-11 13:47:45 +02:00
Sebastian Kaspari 4e41a39cf2 Bug 1305984 - Only show "family friendly browsing" first run for restricted profiles. r=Grisha
MozReview-Commit-ID: 9TzMD6eJIxU
2016-10-06 13:53:50 +02:00
Phil Ringnalda 314d00f679 Merge m-i to m-c, a=merge
MozReview-Commit-ID: HlGgqNI8vwD
2016-10-10 19:07:58 -07:00
Eugen Sawin bdb2787ec6 Bug 1298090 - [1.6] Extract and cache native libraries on APK update. r=glandium,snorp 2016-10-10 22:59:27 +02:00
Dylan Roeh 60e4cc0788 Bug 1306742 - Use singleton EventDispatcher for ClosedTabs:Data listener. r=jchen 2016-10-04 15:46:29 -05:00
Dylan Roeh 546133ba50 Bug 1308633 - Use predefined strings for package name and class name when we cannot get the ComponentName in NotificationClient.showNotification. r=jchen 2016-10-10 15:27:14 -05:00
Mike de Boer 293fa85edc Bug 1303008 - refactor Fennec Finder.jsm integration to always show the correct match count results in the findbar. r=nalexander
MozReview-Commit-ID: KZIstsbHAyT
2016-10-10 11:53:25 +02:00
Phil Ringnalda f8b7935b04 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 6YHoSP3exdY
2016-10-08 16:48:33 -07:00
Sebastian Hengst faa4e03c25 Bug 1304829 - rename RELEASE_BUILD to RELEASE_OR_BETA: main part. r=ted,Mossop
MozReview-Commit-ID: 1lCt0xTMV5O
2016-10-08 11:14:49 +02:00
Andrzej Hunt 27bb9ec70d Bug 1306784 - Don't set a default panel during fixup migration if all panels are disabled r=sebastian
The fixup migration assumes that there must be a default panel, and sets the history panel as default if not.
This assumption is wrong in the case where no panels are visible: in this case there is no default.
Before this commit, that migration will make the history panel visible for all users who had no
visible panels, with this commit that migration will retain the all-panels-hidden state.

Note: it's impossible for us to recover the all-panels-hidden state for clients that have already
run the migration, however we can at least prevent this issue from happening for users who
have not yet migrated (i.e. in release).

MozReview-Commit-ID: 9JlmltPW2Ly
2016-10-04 09:12:37 -07:00
Kartikaya Gupta 6741b7f6c3 Bug 1235513 - Remove the old Fennec SelectionHandler now that it has been replaced by the AccessibleCaret code in platform. r=snorp
MozReview-Commit-ID: FkOmXznyESM
2016-10-06 08:07:02 -04:00
Carsten "Tomcat" Book c7df17937d merge fx-team to mozilla-central a=merge 2016-10-06 11:57:36 +02:00
Jim Chen 0044906898 Bug 1305498 - Refactor notification code to be more concise; r=sebastian
Bug 1305498 - 1. Remove NotificationClient task queue; r=sebastian

Not sure why we needed a task queue for NotificationClient actions. The
actions all go through IPC and are non-blocking, so it's perfectly fine
to perform them off of whatever thread we're on.

Bug 1305498 - 2. Integrate NotificationHandler et al into NotificationCllient; r=sebastian

There's no reason to have NotificationHandler, AppNotificationClient,
and ServiceNotificationClient all separate from the base
NotificationClient class. This patch adds the functionality of
those three classes to NotificationClient.

The notifications hash map is changed from a ConcurrentHashMap to a
regular HashMap with synchronization because I think the use case here
doesn't warrant the added performance and overhead of ConcurrentHashMap.

NotificationService is changed to match the new NotificationClient. Now
the only job for NotificationService is to set a notification as
foreground, rather than to manage all notifications like before.

NotificationHandler, AppNotificationClient, and
ServiceNotificationClient will be removed in a later patch.

Bug 1305498 - 3. Set NotificationListener in GeckoApplication; r=sebastian

Set NotificationListener once in GeckoApplication.onCreate, instead of
spreading it out in GeckoApp, BrowserApp, and GeckoService. This is
possible because there's no longer a distinction between
AppNotificationClient and ServiceNotificationClient in the new,
consolidated NotificationClient.

Bug 1305498 - 4. Remove obsolete notification classes; r=sebastian

Remove AppNotificationClient, ServiceNotificationClient, and
NotificationHandler, now that they've all been replaced by the new,
consolidated NotificationClient.

Bug 1305498 - 5. Use NotificationReceiver for web notification callbacks; r=sebastian

Previously, web notification callbacks went to GeckoApp directly, but
that presented some problems such as not being able to implement the
on-close callback, because we don't want to launch GeckoApp when the
notification is closed by swiping. This patch makes us use
NotificationReceiver for callbacks, and let NotificationReceiver launch
GeckoApp if necessary.

Bug 1305498 - 6. Don't keep notification cookie in native code; r=sebastian

Keep the notification cookie a single location (in the notification
intent itself), and simplify the native notification handling code.

Bug 1305498 - 7. Use NotificationReceiver for persistent notifications; r=sebastian

Currently, persistent notification callbacks go through a different code
path, but it'd be more consistent and correct to let persistent
notification callbacks go through NotificationReceiver as well.

This takes care of some housekeeping work that was missing for
persistent notifications, such as deleting the mNotifications entry when
the notification is closed.
2016-10-05 21:52:32 -04:00
Alastor Wu 72153e1137 Bug 1305430 - part2 : replace action checking with isMediaPlaying(). r=sebastian
MozReview-Commit-ID: F2WyASzWAMJ
2016-10-06 14:02:03 +08:00
Alastor Wu ac79c54cbe Bug 1305430 - part1 : send the notification again after tab got its favicon. r=sebastian
Sometimes the tab doesn't get its favicon yet when we send the notification.
Therefore, we would listen the FAVICON event and then re-send the notification again if we used the default cover icon in previous notification.

MozReview-Commit-ID: JSphLBEhGy2
2016-10-06 14:01:43 +08:00
Tushar Saini (:shatur) 75462f42df Bug 1261041 - Remove feature11Plus-feature15Plus flags. r=sebastian
MozReview-Commit-ID: J4uXtUrjuKr
2016-09-22 21:20:23 +05:30
Sebastian Kaspari 39a27c4757 Bug 1301715 - BrowserApp: Receive metadata from event. r=ahunt
MozReview-Commit-ID: 7rND7R09Pj6
2016-09-08 10:20:44 +02:00
Wes Kocher 1a366fa551 Merge inbound to central, a=merge 2016-10-04 17:32:01 -07:00
Kartikaya Gupta de4a2eeb8e Bug 1307098 - Fix the positioning of the floating toolbar so that it doesn't overlap the selection and carets. r=rbarker
MozReview-Commit-ID: SY9c4X4QUf
2016-10-04 13:24:22 -04:00
Dylan Roeh 81b4f6d5e4 Bug 1306743 - Make PushService use the singleton EventDispatcher. r=jchen 2016-09-30 17:33:56 -05:00
Andrzej Hunt d1217ca7a5 Bug 1307779 - Only start long-press timer for back button r=sebastian
Huge oversight in my original patch. Pressing any hardware button will result
in the history list being shown after the long-press delay (regardless of long-pressing).

MozReview-Commit-ID: KO8u0NzTxaO
2016-10-05 18:14:12 +02:00
Phil Ringnalda d964fa65dd Merge m-i to m-c, a=merge 2016-09-30 23:24:52 -07:00
Gregory Szorc cc57eb7c99 Backed out changesets cc4bdd6afea0, abc52d4c5f87, and 25e1ca942799 (bug 1267884) for Android bustage
CLOSED TREE
2016-09-30 15:01:13 -07:00
Phil Ringnalda 31ed29be45 Bug 1278581 followup, placate checkstyle
CLOSED TREE

MozReview-Commit-ID: Apt89thqPfX
2016-09-30 08:21:55 -07:00
Phil Ringnalda 3b6279afa3 Bug 1278581 followup, placate checkstyle 2016-09-30 08:21:55 -07:00
Kevin Lam 032e1eb405 Bug 1219393 - Left aligned search icons only when there are less icons than required to fill the search icon bar. r=sebastian
MozReview-Commit-ID: JXBGJuT2bN0
2016-09-30 09:56:55 -04:00
Sebastian Kaspari a33c687b61 Bug 1301466 - Make Activity Stream highlights clickable. r=ahunt
MozReview-Commit-ID: 1kVxu8aCdiC
2016-10-05 20:19:29 +02:00
Sebastian Kaspari 6cb1edf764 Bug 1306609 - Rename CompactItem to HighlightsItem. r=ahunt
MozReview-Commit-ID: JX76g6HnG7g
2016-10-05 14:19:49 +02:00
Sebastian Kaspari d916c72d18 Bug 1306609 - Remove unused HighlightsItem. r=ahunt
Going forward there will be just one highlights item/layout with an optional image.

MozReview-Commit-ID: BmtUTtanjJr
2016-10-05 14:14:40 +02:00
Sebastian Kaspari 8e2ebca272 Bug 1306609 - Show source label next to highlights (Visited, Bookmarked). r=ahunt
MozReview-Commit-ID: BRGESCA5sbq
2016-10-05 14:00:19 +02:00
Sebastian Kaspari 29ad1f17aa Bug 1306609 - BrowserProvider.getHighlights(): Reorder columns. r=ahunt
The UNION operator requires the two result sets to have the columns in the same order.

MozReview-Commit-ID: JRtw0LDZ5ib
2016-10-05 13:46:31 +02:00
Andrzej Hunt e493bb1ba1 Bug 1267884 - Add empty updateVisuals() to GeckoCustomTabsService to match customtabs-23.4 r=sebastian
MozReview-Commit-ID: FCDCqOLJDDt
2016-09-30 09:18:10 -07:00
Ting-Yu Lin 84aa62a324 Bug 1307100 - Add handlesOffset only if height > 0. r=sebastian
Per bug 1307100 comment 3, we use "height equals to 0" to hide the floating
toolbar so we only need to adjust the handlesOffset when height > 0.

MozReview-Commit-ID: AdIOxIFUrI
2016-10-05 13:47:11 +08:00
Andrzej Hunt 67b1abb62b Bug 1267884 - Add empty updateVisuals() to GeckoCustomTabsService to match customtabs-23.4 r=sebastian
MozReview-Commit-ID: FCDCqOLJDDt
2016-09-30 09:18:10 -07:00
Andrzej Hunt a87db06307 Bug 1306140 - Pre: make HomeConfig VERSION package-private to allow access for testing r=sebastian
MozReview-Commit-ID: LT5E22L009Y
2016-09-30 10:14:01 -07:00
Andrzej Hunt 9b4f46baee Bug 1306140 - Pre: move HomeConfig migration loop into separate method to help with testing r=sebastian
MozReview-Commit-ID: 4CDdqXPAae0
2016-09-29 11:32:51 -07:00
Andrzej Hunt 2050d209eb Bug 1304688 - Implement long-press timer to workaround broken onKeyLongPress on Android N r=sebastian
Note: we also change the return value of a long-press when the tab history fragment is showing:
we want to completely ignore long-presses in this case, previously we used to return false in this
case, which suggests that we didn't handle the event - however we explicitly consider this a no-op,
so should return a value reflecting that (in reality: no one else handles the long-press, so this
makes no effective difference).

MozReview-Commit-ID: FYrCVsNHfjv
2016-09-27 09:42:44 -07:00
Carsten "Tomcat" Book 8ec316a2dc merge mozilla-inbound to mozilla-central a=merge 2016-09-30 12:02:16 +02:00
Andrzej Hunt 73128fa3ce Bug 1298783 - Pre: add notificationUri to highlights query r=Grisha
This ensures that a DB modification will trigger a refresh of any clients
using getHighlights().

MozReview-Commit-ID: Cauc89ryDHr
2016-09-08 16:54:43 -07:00
Andrzej Hunt 28510f79fc Bug 1298783 - Implement expiry for activity stream blocklist r=Grisha
MozReview-Commit-ID: CfBIvX1ml05
2016-09-21 14:57:11 -07:00
Andrzej Hunt 21397d13ef Bug 1298783 - Implement adding pages to highlights blocklist r=Grisha
MozReview-Commit-ID: 5dCLHx2UJ5
2016-09-21 12:12:06 -07:00
Andrzej Hunt 615703258c Bug 1298783 - Exclude blocklist sites from highlights query r=Grisha
MozReview-Commit-ID: 9xBX9zZApfT
2016-09-27 12:30:08 -07:00
Andrzej Hunt 882374303b Bug 1298783 - Add highlights blocklist table r=Grisha
MozReview-Commit-ID: 6Cng37HFCLO
2016-09-28 14:56:23 -07:00
Carsten "Tomcat" Book 63402ac422 merge mozilla-inbound to mozilla-central a=merge 2016-09-29 11:44:58 +02:00
Carsten "Tomcat" Book e127ce1d06 merge fx-team to mozilla-central a=merge 2016-09-29 11:43:57 +02:00
Phil Ringnalda 0a1b996af8 No bug, placate Android checkstyle test 2016-09-28 19:56:49 -07:00
Tuhina a7b7710971 Bug 1270162 - Empty view flashes when navigating to history panel. r=JanH 2016-09-26 00:59:19 +05:30
Carsten "Tomcat" Book d3896c257f merge mozilla-inbound to mozilla-central a=merge 2016-09-28 15:56:33 +02:00
Dylan Roeh 45a079c5d5 Bug 1294821 - De-singletonize EventDispatcher and make it application-specific. r=jchen 2016-09-27 11:07:24 -05:00