f04aaf38f90beac203137f3d1a92eaf8320e677b: Bug 1275198 - Part 1: Add safebrowsing protobuf related files in proto2 format. r=francois.
Henry Chang <hchang@mozilla.com> - Mon, 06 Jun 2016 23:30:00 +0200 - rev 341158
Push 6389 by raliiev@mozilla.com at Mon, 19 Sep 2016 13:38:22 +0000
Bug 1275198 - Part 1: Add safebrowsing protobuf related files in proto2 format. r=francois.
0aab68e30c0e1354f88ead24a1a75e5eab95bfa9: Bug 1276468 - Fix `sheetToUrl` function for inline style. r=jwalker
Nicolas Chevobbe <chevobbe.nicolas@gmail.com> - Mon, 06 Jun 2016 21:48:54 +0200 - rev 341157
Push 6389 by raliiev@mozilla.com at Mon, 19 Sep 2016 13:38:22 +0000
Bug 1276468 - Fix `sheetToUrl` function for inline style. r=jwalker The function was trying to access `stylesheet` parameter's ownerNode property, which is undefined when the parameter is a StyleSheetActor. In the latter case, we use nodeHref and styleSheetIndex properties to match what is done when the parameter is a StyleSheet. MozReview-Commit-ID: 7FNoKasFYLL
f87d1fde25f3a222d3c8ae9087ddd3141348e354: Bug 1251362 - Part 19 - Remove code and resources for the old Recent Tabs panel. r=liuche
Jan Henning <jh+bugzilla@buttercookie.de> - Thu, 26 May 2016 17:40:19 +0200 - rev 341156
Push 6389 by raliiev@mozilla.com at Mon, 19 Sep 2016 13:38:22 +0000
Bug 1251362 - Part 19 - Remove code and resources for the old Recent Tabs panel. r=liuche MozReview-Commit-ID: FQJ7j8YlV6E
4509c776bcaaf9b6aa4ec15602e26a201fc1539c: Bug 1251362 - Part 18 - Migrate (customised) home panel configurations. r=liuche
Jan Henning <jh+bugzilla@buttercookie.de> - Sat, 21 May 2016 14:39:15 +0200 - rev 341155
Push 6389 by raliiev@mozilla.com at Mon, 19 Sep 2016 13:38:22 +0000
Bug 1251362 - Part 18 - Migrate (customised) home panel configurations. r=liuche For people with customised home panels, we need to explicitly remove the Recent Tabs panel. We also unhide the Combined History panel if it was previously hidden and additionally turn it into the default panel if the Recent Tabs panel was the previous default panel. MozReview-Commit-ID: 5CSJUTRysQU
22f8e6c629ea0cee57c186c4280bf8771e09670f: Bug 1251362 - Part 17 - Turn reading list panel migration function into a generic panel removal function. r=liuche
Jan Henning <jh+bugzilla@buttercookie.de> - Sat, 21 May 2016 18:27:55 +0200 - rev 341154
Push 6389 by raliiev@mozilla.com at Mon, 19 Sep 2016 13:38:22 +0000
Bug 1251362 - Part 17 - Turn reading list panel migration function into a generic panel removal function. r=liuche By passing the panel types to be removed/set as new default panel as arguments instead of hard coding them, we can reuse that function for our own home panel config migration. MozReview-Commit-ID: BsMxcbInRbX
2ded136fbae5d92668e02f84a36a6005381e3e46: Bug 1251362 - Part 16 - Remove the Recent Tabs panel from the default home panel config. r=liuche
Jan Henning <jh+bugzilla@buttercookie.de> - Sun, 15 May 2016 02:22:03 +0200 - rev 341153
Push 6389 by raliiev@mozilla.com at Mon, 19 Sep 2016 13:38:22 +0000
Bug 1251362 - Part 16 - Remove the Recent Tabs panel from the default home panel config. r=liuche MozReview-Commit-ID: IX6AkBoa3Mg
e2b22babd7b3b15e21e9e325bff5ef386611adc7: Bug 1251362 - Part 15 - Redirect direct loads of the Recent Tabs panel about:home URL to the Recent Tabs folder of the Combined History panel. r=liuche
Jan Henning <jh+bugzilla@buttercookie.de> - Thu, 26 May 2016 23:04:53 +0200 - rev 341152
Push 6389 by raliiev@mozilla.com at Mon, 19 Sep 2016 13:38:22 +0000
Bug 1251362 - Part 15 - Redirect direct loads of the Recent Tabs panel about:home URL to the Recent Tabs folder of the Combined History panel. r=liuche After detecting multiple successive crashes in a row, we temporarily switch off automatic session restoring and display the Recent Tabs panel instead. As that panel is going to be removed, we intercept loads of the Recent Tabs panel about:home?panel=... URL and redirect them to the Combined History panel. We also use the facilities provided by bug 1060544 to jump directly to the Recent Tabs folder in that case. MozReview-Commit-ID: 7dQ7tW2dD1M
1060ef1606c577ac10f6686aba08925d79847cfe: Bug 1251362 - Part 14 - Add telemetry for restoring tabs. r=liuche
Jan Henning <jh+bugzilla@buttercookie.de> - Wed, 18 May 2016 19:04:49 +0200 - rev 341151
Push 6389 by raliiev@mozilla.com at Mon, 19 Sep 2016 13:38:22 +0000
Bug 1251362 - Part 14 - Add telemetry for restoring tabs. r=liuche This adds telemetry for clicking on a closed tab or the "Open all" button. Methods and extras strings are based on those used for the old Recent Tabs panel. MozReview-Commit-ID: 1Kc8fACkmIc
85eee022eb7d957112571226dbe89882a5799852: Bug 1251362 - Part 13 - Only enable swipe to refresh within the Synced devices smart folder. r=liuche
Jan Henning <jh+bugzilla@buttercookie.de> - Sat, 14 May 2016 23:38:29 +0200 - rev 341150
Push 6389 by raliiev@mozilla.com at Mon, 19 Sep 2016 13:38:22 +0000
Bug 1251362 - Part 13 - Only enable swipe to refresh within the Synced devices smart folder. r=liuche Recently closed tabs aren't synced, therefore being able to swipe to refresh within the Recent tabs folder isn't necessary. To avoid triggering a refresh by accident, we restrict swipe to refresh to the Synced devices folder itself. MozReview-Commit-ID: YwekSwQr2q
a284a1caa422a4f65755e8223e0e9e64f3e5c4fb: Bug 1251362 - Part 12 - Remember more recently closed tabs. r=liuche
Jan Henning <jh+bugzilla@buttercookie.de> - Thu, 26 May 2016 13:46:00 +0200 - rev 341149
Push 6389 by raliiev@mozilla.com at Mon, 19 Sep 2016 13:38:22 +0000
Bug 1251362 - Part 12 - Remember more recently closed tabs. r=liuche MozReview-Commit-ID: 37mYEiJKfTz
7c334cfa74a08d1a1a0219835af6e54007d65b20: Bug 1251362 - Part 11 - Directly notify the RecentTabsAdapter when clearing history. r=liuche
Jan Henning <jh+bugzilla@buttercookie.de> - Sat, 14 May 2016 21:27:23 +0200 - rev 341148
Push 6389 by raliiev@mozilla.com at Mon, 19 Sep 2016 13:38:22 +0000
Bug 1251362 - Part 11 - Directly notify the RecentTabsAdapter when clearing history. r=liuche Sessionstore.bak is only read when we are initialising the home panels, so after clearing all history from the button in the Combined History panel, the "Tabs from last time" section would still linger around until the home panels have been closed and reopened. To prevent this, we now directly notify the RecentTabsAdapter when all history has been deleted, so it can immediately clear its own copy of the last session's tabs. MozReview-Commit-ID: 3EFY2WbWqzh
ab0c1b005ffe6f628e1d4170e19ff02fa255ba1a: Bug 1251362 - Part 10 - Display a context menu for closed tab entries. r=liuche
Jan Henning <jh+bugzilla@buttercookie.de> - Sat, 14 May 2016 19:42:00 +0200 - rev 341147
Push 6389 by raliiev@mozilla.com at Mon, 19 Sep 2016 13:38:22 +0000
Bug 1251362 - Part 10 - Display a context menu for closed tab entries. r=liuche MozReview-Commit-ID: Gv2tJoNRldX
8c7176aa08d7e4baa4f7848a2e0731d893f8d66c: Bug 1251362 - Part 9 - Display a button to open all recently closed tabs. r=liuche
Jan Henning <jh+bugzilla@buttercookie.de> - Thu, 26 May 2016 16:36:25 +0200 - rev 341146
Push 6389 by raliiev@mozilla.com at Mon, 19 Sep 2016 13:38:22 +0000
Bug 1251362 - Part 9 - Display a button to open all recently closed tabs. r=liuche Depending on the History panel's PanelLevel state, we now dynamically set the panel footer button's text and determine its onClick behaviour. MozReview-Commit-ID: EjesnHsntyC
1e50a28316e7321897b9c4545049eba887192592: Bug 1251362 - Part 8 - Handle Recent Tabs in onItemClicked(). r=liuche
Jan Henning <jh+bugzilla@buttercookie.de> - Wed, 18 May 2016 18:55:32 +0200 - rev 341145
Push 6389 by raliiev@mozilla.com at Mon, 19 Sep 2016 13:38:22 +0000
Bug 1251362 - Part 8 - Handle Recent Tabs in onItemClicked(). r=liuche Clicking a tab in the list of recently closed tabs now sends the appropriate message back to the session store. MozReview-Commit-ID: KF3UJjq5zQK
26b34894a22e724ba180143f41cfed5c825ead78: Bug 1251362 - Part 7 - Update closed tabs count in the History panel main view. r=liuche
Jan Henning <jh+bugzilla@buttercookie.de> - Sat, 14 May 2016 20:35:07 +0200 - rev 341144
Push 6389 by raliiev@mozilla.com at Mon, 19 Sep 2016 13:38:22 +0000
Bug 1251362 - Part 7 - Update closed tabs count in the History panel main view. r=liuche We need to update the recent tabs count displayed by the smart folder as necessary. To do this, we copy the approach used for updating the synced devices count. MozReview-Commit-ID: BFwv5bY1DWk
6d3b17555d95b47def48b5186fed8d883b5825ec: Bug 1251362 - Part 6 - Update empty panel state when recent tabs count changes. r=liuche
Jan Henning <jh+bugzilla@buttercookie.de> - Sun, 15 May 2016 01:41:45 +0200 - rev 341143
Push 6389 by raliiev@mozilla.com at Mon, 19 Sep 2016 13:38:22 +0000
Bug 1251362 - Part 6 - Update empty panel state when recent tabs count changes. r=liuche The recent tabs count might change while the Recent Tabs folder is open, e.g. immediately after startup, once we receive the first "ClosedTabs:Data" message from the session store. Therefore, we need to hide/unhide the empty view as necessary, which is normally handled by the Combined History panel's updateEmptyView() function. Since we aren't using a cursor, we can't hinge calling that on the CursorLoader's onLoadFinished() callback, so instead, we include our own callback to the Combined History panel, modelled after the DeviceUpdateHandler used for updating the count of synced devices. MozReview-Commit-ID: GLHM9LoWk2h
9ccad5daa84c0d76e2712f137c9f33e48d97ea81: Bug 1251362 - Part 5 - Actually show recently closed tabs when opening the smart folder. r=liuche
Jan Henning <jh+bugzilla@buttercookie.de> - Thu, 02 Jun 2016 18:08:23 +0200 - rev 341142
Push 6389 by raliiev@mozilla.com at Mon, 19 Sep 2016 13:38:22 +0000
Bug 1251362 - Part 5 - Actually show recently closed tabs when opening the smart folder. r=liuche This fills the new smart folder we've previously added with life and displays the recently closed tabs as we receive them from the session store. If we can find a sessionstore.bak file (previously the "Tabs from last time"), we also add those tabs to the bottom of the list. Most of the code for communicating with the session store and reading sessionstore.bak is adapted from the original Recent Tabs panel, however unlike the previous implementation, I've opted for a cursor-less approach of storing and retrieving the recent tabs data, since the recent tabs data isn't actually powered by a database anyway. Instead, the RecentTabsAdapter maintains two arrays for storing "Recently closed tabs" (as received through messages from the Gecko session store) and "Tabs from last time" (as read from sessionstore.bak during panel initialisation). Also, as per the other Combined History panel adapters and because we're now using a RecyclerView instead of a ListView, list item types are now determined on demand through getItemTypeForPosition() instead of precalculating them during a data update and directly storing together with the tab data items in a cursor. MozReview-Commit-ID: IpoUr9f0JBP
0c997d2226360c808a63777f0e0b1bd6f21fd5a8: Bug 1251362 - Part 4 - Add a Recent Tabs folder to the Combined History panel. r=liuche
Jan Henning <jh+bugzilla@buttercookie.de> - Fri, 13 May 2016 23:52:24 +0200 - rev 341141
Push 6389 by raliiev@mozilla.com at Mon, 19 Sep 2016 13:38:22 +0000
Bug 1251362 - Part 4 - Add a Recent Tabs folder to the Combined History panel. r=liuche This folder can be opened and closed to get back to the history view, however it doesn't contain any actual content (closed tabs) yet. Its empty view is based on the original empty view of the Recent Tabs panel. For displaying the recently closed tabs count within the smart folder similarly to how we display the number of synced devices, two new strings need to be added. MozReview-Commit-ID: IAL0yDrc2Ld
7e6ccddb8b098cc88e8a615c3c37eee00d06181c: Bug 1251362 - Part 3 - Add new "Recent" icon. r=liuche
Jan Henning <jh+bugzilla@buttercookie.de> - Sat, 04 Jun 2016 12:32:02 +0200 - rev 341140
Push 6389 by raliiev@mozilla.com at Mon, 19 Sep 2016 13:38:22 +0000
Bug 1251362 - Part 3 - Add new "Recent" icon. r=liuche Bug 1277277 will track getting this icon used for the search term history, too, so we can remove the old resources (icon_most_recent_empty.png) completely. MozReview-Commit-ID: GFFovwiRokc
3fe4b60dbcd0cd9f4ff567cec72dfd97fc1e7601: Bug 1251362 - Part 2 - Import OnPanelLevelChangeListener.PanelLevel. r=liuche
Jan Henning <jh+bugzilla@buttercookie.de> - Sun, 15 May 2016 01:24:13 +0200 - rev 341139
Push 6389 by raliiev@mozilla.com at Mon, 19 Sep 2016 13:38:22 +0000
Bug 1251362 - Part 2 - Import OnPanelLevelChangeListener.PanelLevel. r=liuche OnPanelLevelChangeListener.PanelLevel.CHILD_SYNC really is a mouthful. MozReview-Commit-ID: 3uEHQjUlTxf
(0) -300000 -100000 -30000 -10000 -3000 -1000 -300 -100 -50 -20 +20 +50 +100 +300 +1000 +3000 +10000 +30000 +100000 tip