Commit Graph

269 Commits

Author SHA1 Message Date
Drew Willcoxon
433cf16c1b Bug 1467627 - Calculate origin frecency as the sum of all URL frecencies instead of the max. r=mak
MozReview-Commit-ID: KZi9C7olvsj
2018-07-04 14:01:28 -07:00
Mark Banner
4d7f6f4623 Bug 1446325 - Stop inserting the default smart bookmarks into new profiles. r=mak,lina
MozReview-Commit-ID: AGQaw1rgukO

Differential Revision: https://phabricator.services.mozilla.com/D1831
2018-07-02 16:25:09 +00:00
Doug Thayer
cc2403e3ed Bug 1340498 - Update onVisits uses to 'page-visited' r=mak
Consuming the new 'page-visited' notification was fairly trivial,
since it was already brought over to onVisits. There's not much to
say about this other than that I'm a little bit uncertain about
all the hoops we have to jump through to get a JSContext and
GlobalObject from History.cpp (which is discussed in the earlier
commit in the series).

MozReview-Commit-ID: LHaBWSylyLI
2018-02-14 09:11:49 -08:00
Dorel Luca
1dbfe28bab Backed out 5 changesets (bug 1340498) for build bustage due to conflicts with bug 1470325. a=backout
Backed out changeset 28bedb658af4 (bug 1340498)
Backed out changeset f950a2310e26 (bug 1340498)
Backed out changeset 5fcd31c65fe0 (bug 1340498)
Backed out changeset 515bb5e24dd7 (bug 1340498)
Backed out changeset 79a8619bd3e2 (bug 1340498)
2018-06-27 14:05:20 +03:00
Doug Thayer
01f61c42a3 Bug 1340498 - Update onVisits uses to 'page-visited' r=mak
Consuming the new 'page-visited' notification was fairly trivial,
since it was already brought over to onVisits. There's not much to
say about this other than that I'm a little bit uncertain about
all the hoops we have to jump through to get a JSContext and
GlobalObject from History.cpp (which is discussed in the earlier
commit in the series).

MozReview-Commit-ID: LHaBWSylyLI
2018-02-14 09:11:49 -08:00
Bogdan Tara
b9179b41dc Backed out 5 changesets (bug 1340498) for build bustages on nsDOMCSSAttrDeclaration.h CLOSED TREE
Backed out changeset 9ebcdb66ceff (bug 1340498)
Backed out changeset 63321093bb70 (bug 1340498)
Backed out changeset f8c799971f81 (bug 1340498)
Backed out changeset 21d8c1fbbbd1 (bug 1340498)
Backed out changeset fa40c179eb0d (bug 1340498)
2018-06-26 21:31:09 +03:00
Doug Thayer
2b253c73ae Bug 1340498 - Update onVisits uses to 'page-visited' r=mak
Consuming the new 'page-visited' notification was fairly trivial,
since it was already brought over to onVisits. There's not much to
say about this other than that I'm a little bit uncertain about
all the hoops we have to jump through to get a JSContext and
GlobalObject from History.cpp (which is discussed in the earlier
commit in the series).

MozReview-Commit-ID: LHaBWSylyLI
2018-02-14 09:11:49 -08:00
Chris Peterson
f7ceeaf5cf Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj
This patch is an automatic replacement of s/NS_NOTREACHED/MOZ_ASSERT_UNREACHABLE/. Reindenting long lines and whitespace fixups follow in patch 6b.

MozReview-Commit-ID: 5UQVHElSpCr
2018-06-17 22:43:11 -07:00
Marco Bonardo
17775eb7d5 Bug 1468315 - 'Last seven days' container is missing from history if there are no visits older than 2 days ago. r=Standard8
The query checking which containers should be visible is wrong and skips the day before yesterday.

Differential Revision: https://phabricator.services.mozilla.com/D1725
2018-06-21 09:26:57 +00:00
Mark Banner
47dd667387 Bug 1465347 - Remove the ability to sort results by annotation as it is no longer used. r=mak
MozReview-Commit-ID: bl588eAmkD

Differential Revision: https://phabricator.services.mozilla.com/D1662
2018-06-15 07:39:32 +00:00
Marco Bonardo
dd1581c6c2 Bug 1464454 - Expire adaptive history after 90 days and limit the number of top adaptive history matches in the Address Bar. r=adw
Reduce adaptive history domination of the Address Bar results by expiring unused
entries sooner and limiting the number of top adaptive results.

MozReview-Commit-ID: EGOs6rVYGj6
2018-05-28 17:38:11 +02:00
Mark Banner
bcb5601b9f Bug 824502 - Change folder=<id> to parent=<guid> in Places' bookmark queries. r=mak
This allows queries to be stable across devices, and requires less work to obtain the ids.

MozReview-Commit-ID: 5KAKKags7o9
2018-04-26 09:05:00 +01:00
Drew Willcoxon
975278327e Bug 1461753 - Add places.sqlite migration for calculating initial frecency stats. r=mak
MozReview-Commit-ID: F7fZiVkLXxW
2018-05-18 22:50:54 -07:00
Drew Willcoxon
7f75804cdb Bug 1239708: Improve awesomebar autofill. Part 4: Frecency stats. r=mak
MozReview-Commit-ID: GD8rglOocBn
2018-05-14 11:27:11 -07:00
Drew Willcoxon
3159afb64a Bug 1239708: Improve awesomebar autofill. Part 2: Non-core follow-ons. r=mak
MozReview-Commit-ID: IFm1arAhjF5
2018-05-14 11:25:33 -07:00
Drew Willcoxon
2956900b67 Bug 1239708: Improve awesomebar autofill. Part 1: Core follow-ons. r=mak
MozReview-Commit-ID: 1mfqU6mOyR9
2018-05-14 11:21:47 -07:00
Marco Bonardo
bb40ab662a Bug 1458910 - Merge nsPIPlacesDatabase into nsINavHistoryService. r=standard8
MozReview-Commit-ID: LacXKR32Jn3
2018-05-10 10:39:12 +02:00
Marco Bonardo
3c03d8e82f Bug 834541 - Remove the public History.hasHistoryEntries synchronous API. r=standard8
MozReview-Commit-ID: KJW9YNwoSZb
2018-05-08 10:26:36 +02:00
Marco Bonardo
85e774fc62 Bug 739219 - Remove nsIBrowserHistory. r=standard8
MozReview-Commit-ID: G1n44eSFWr1
2018-05-07 17:36:16 +02:00
Sebastian Hengst
d91e9954eb Backed out 4 changesets (bug 525063) on request from Andi. a=backout
Backed out changeset 516c4fb1e4b8 (bug 525063)
Backed out changeset 6ff8aaef2866 (bug 525063)
Backed out changeset bf13e4103150 (bug 525063)
Backed out changeset d7d2f08e051c (bug 525063)
2018-04-13 16:01:28 +03:00
Marco Bonardo
2c543eaafc Bug 1452660 - Tag queries pointing to an invalid folder are being rewritten as empty urls. r=standard8
MozReview-Commit-ID: FUmmYewl8Vt
2018-04-11 15:45:23 +02:00
Tristan Bourvon
6095241db8 Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan 2018-04-10 21:11:02 +02:00
Marco Bonardo
63caae06bd Bug 1452376 - Replace GetDescendantFolders with a recursive subquery. r=standard8
MozReview-Commit-ID: 7eXfqzX2qLl
2018-04-10 00:20:36 +02:00
Marco Bonardo
3382b7442d Bug 1293445 - 5 - Rename RESULTS_AS_TAG_QUERY. r=standard8
MozReview-Commit-ID: 7HwPKkGvAvv
2018-04-04 16:14:20 +02:00
Marco Bonardo
b2e8b679a0 Bug 1293445 - 4 - Remove RESULTS_AS_TAG_CONTENTS. r=standard8
MozReview-Commit-ID: rybSCGrfnf
2018-04-03 18:32:00 +02:00
Marco Bonardo
36ec58e083 Bug 1421664 - 3 - Fix the UI and tests. r=standard8
test_419731.js can be removed since it is already covered by browser_bookmarkProperties_editTagContainer.js

MozReview-Commit-ID: K0LFuTptWyW
2018-03-22 14:13:07 +01:00
milindl
669c5896c7 Bug 1421664 - 2 - Change SelectAsTag to use place: tag queries. r=mak
MozReview-Commit-ID: JauduB7A5TZ
2018-03-20 17:27:44 +01:00
milindl
ad09ac583a Bug 1421664 - 1 - Force any tag queries to have query result type bookmarks. r=mak
MozReview-Commit-ID: KG1mGZD5PNy
2018-03-20 16:42:04 +01:00
Marco Bonardo
076d488966 Bug 1447929 - Fix a few interface/concrete smart pointers in Places. r=standard8
MozReview-Commit-ID: IEoPxZseoyw
2018-03-22 11:17:58 +01:00
Marco Bonardo
d5c51cbe2d Bug 1446951 - 9 - Move EvaluateQueryForNode. r=standard8
MozReview-Commit-ID: 5YfaRfhcbxY
2018-03-20 12:24:05 +01:00
Marco Bonardo
fc61b0aea0 Bug 1446951 - 8 - Reduce the number of query node constructors to one. r=standard8
MozReview-Commit-ID: ICDxftFlePN
2018-03-20 11:29:54 +01:00
Marco Bonardo
fdad30e63f Bug 1446951 - 7 - Remove some internal use of GetHas* APIs. r=standard8
MozReview-Commit-ID: E4JudYNzLFT
2018-03-20 01:07:01 +01:00
Marco Bonardo
87ad90c95d Bug 1446951 - 6 - Change internal results code to support a single query. r=standard8
MozReview-Commit-ID: 5ceutaSM6Vk
2018-03-19 11:58:35 +01:00
Marco Bonardo
b18d35da18 Bug 1446951 - 5 - Remove QueryStringToQueryArray. r=standard8
MozReview-Commit-ID: H6nMhiXgDKA
2018-03-16 21:36:02 +01:00
Marco Bonardo
1e6e04064a Bug 1446951 - 3 - Make AsyncExecuteLegacyQueries singular. r=standard8
MozReview-Commit-ID: KyYw92tzyN6
2018-03-16 18:10:09 +01:00
Marco Bonardo
6925512606 Bug 1446951 - 1 - Remove nsINavHistory::ExecuteQueries. r=standard8
MozReview-Commit-ID: ATQLGKzMtnn
2018-03-16 15:38:05 +01:00
Mark Banner
bd36d1f655 Bug 1446672 - Correctly handle insertion of L10n strings into Places' built-in virtual queries for all bookmarks/left-pane. r=mak
MozReview-Commit-ID: 6wzdoJl5Sjo
2018-03-19 12:43:22 +00:00
Mark Banner
f190c32a0e Bug 1437516 - Remove nsINavHistoryService/nsINavBookmarksService::runInBatchMode. r=mak
MozReview-Commit-ID: D1H3xdjpMAx
2018-03-13 16:19:33 +00:00
Mark Banner
8bda7e6d85 Bug 1310295 - Make left pane queries virtual in the Places Library window. r=kitcambridge,mak
MozReview-Commit-ID: DcEMAlrXu8R
2018-02-16 20:30:04 +00:00
Dorel Luca
37af71af05 Backed out 2 changesets (bug 1310295) for Mochitest and TV failures on browser/components/places/tests/browser/browser_bookmark_folder_moveability.js
Backed out changeset a277657bfffa (bug 1310295)
Backed out changeset b1af75c617ea (bug 1310295)
2018-03-14 18:23:46 +02:00
Mark Banner
60c4119b69 Bug 1310295 - Make left pane queries virtual in the Places Library window. r=kitcambridge,mak
MozReview-Commit-ID: DcEMAlrXu8R
2018-02-16 20:30:04 +00:00
Kit Cambridge
8592094f9a Bug 1435446 - Use immediate transactions by default in Places. r=mak
MozReview-Commit-ID: L2rCMwqZZkQ
2018-02-28 23:32:57 -08:00
Mark Banner
4c2cffce71 Bug 1437250 - Bookmark url queries shouldn't return folder shortcuts. r=mak
URL queries don't need to return queries not shortcuts, as that isn't what the invoker is expecting.

MozReview-Commit-ID: 74LvXqc40Ps
2018-02-20 20:34:09 +00:00
Mark Banner
d4f537f98d Bug 1436966 - Remove the bookmark-observers & history-observers category listeners. r=mak
MozReview-Commit-ID: 2dsyxZG98IR
2018-02-09 11:21:14 +00:00
Mark Banner
7b945e40de Bug 1423896 - Make the new All Bookmarks folder query only update on the mobile folder status change for better performance. r=mak
MozReview-Commit-ID: 4sIR6d0ZabJ
2018-02-05 17:19:26 +00:00
Mark Banner
00472aedd4 Bug 1423896 - Make the All Bookmarks folder for the left pane of the Library a virtual query. r=mak
MozReview-Commit-ID: HzJ9y1fiEz1
2017-12-07 14:15:39 +00:00
Mark Banner
71b93930f8 Bug 1423896 - When excluding queries within places queries, we shouldn't exclude folder shortcuts. r=mak
MozReview-Commit-ID: 810igliCov8
2018-01-12 16:15:25 +00:00
Coroiu Cristina
8fb5593ad1 Backed out 5 changesets (bug 1423896) for bustage at /src/toolkit/components/places/nsNavHistoryResult.cpp on a CLOSED TREE
Backed out changeset 4012bc74e900 (bug 1423896)
Backed out changeset 12239646395f (bug 1423896)
Backed out changeset abf61cd5fb77 (bug 1423896)
Backed out changeset 569173c95238 (bug 1423896)
Backed out changeset 6401e950298d (bug 1423896)
2018-02-07 14:07:31 +02:00
Mark Banner
e6086011ae Bug 1423896 - Make the new All Bookmarks folder query only update on the mobile folder status change for better performance. r=mak
MozReview-Commit-ID: 4sIR6d0ZabJ
2018-02-05 17:19:26 +00:00
Mark Banner
2339900150 Bug 1423896 - Make the All Bookmarks folder for the left pane of the Library a virtual query. r=mak
MozReview-Commit-ID: HzJ9y1fiEz1
2017-12-07 14:15:39 +00:00