Граф коммитов

273 Коммитов

Автор SHA1 Сообщение Дата
Drew Willcoxon c972b1f32b Bug 1476674 - Fix crash in nsNavHistory::RecalculateOriginFrecencyStats r=mak
Differential Revision: https://phabricator.services.mozilla.com/D2232

--HG--
extra : moz-landing-system : lando
2018-07-19 17:15:02 +00:00
Drew Willcoxon df91e88f35 Bug 1476103 - Remove nsNavHistory::invalidateFrecencies since it's now unused. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D2170

--HG--
extra : moz-landing-system : lando
2018-07-17 07:59:45 +00:00
Mark Banner 19a4447068 Bug 1474638 - Remove nsIDownloadHistory::removeAllDownloads. r=mak
Depends on D2056

Differential Revision: https://phabricator.services.mozilla.com/D2057

--HG--
extra : moz-landing-system : lando
2018-07-11 18:10:22 +00:00
Lina Cambridge 5daa4014be Bug 1463938 - Recalculate frecency in chunks on idle. r=mak
MozReview-Commit-ID: 7Mp0hT3Ziw5

--HG--
extra : rebase_source : 76db4d423004b95a0f75b582725053912dacfe2e
2018-07-04 18:29:25 -07:00
Drew Willcoxon b6ae98cf37 Bug 1467627 - Calculate origin frecency as the sum of all URL frecencies instead of the max. r=mak
MozReview-Commit-ID: KZi9C7olvsj

--HG--
extra : rebase_source : e95bf70b9de576fe464d21f17aa0eeb27decb60b
2018-07-04 14:01:28 -07:00
Mark Banner acb2be40d6 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

--HG--
extra : moz-landing-system : lando
2018-07-02 16:25:09 +00:00
Doug Thayer abe46fa52a 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

--HG--
extra : rebase_source : ef8fa174f902e6abd397fb80294e83843120aa81
2018-02-14 09:11:49 -08:00
Dorel Luca d296624690 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 0a912f9667 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

--HG--
extra : rebase_source : fd064e53e8645c3914188c05e71c8800d6f2174b
2018-02-14 09:11:49 -08:00
Bogdan Tara d2fb3a8812 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 4dd5940382 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

--HG--
extra : rebase_source : 1190d4f127453cdcb692deb5982e92a93e236b9e
2018-02-14 09:11:49 -08:00
Chris Peterson 2afd829d0f 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

--HG--
extra : rebase_source : 4c1b2fc32b269342f07639266b64941e2270e9c4
extra : source : 907543f6eae716f23a6de52b1ffb1c82908d158a
2018-06-17 22:43:11 -07:00
Marco Bonardo 8b73e27320 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 a801c17c04 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 bf4c38050e 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

--HG--
rename : toolkit/components/places/tests/unit/test_adaptive.js => toolkit/components/places/tests/unifiedcomplete/test_adaptive.js
rename : toolkit/components/places/tests/unit/test_adaptive_bug527311.js => toolkit/components/places/tests/unifiedcomplete/test_adaptive_behaviors.js
extra : rebase_source : 490d6373b2001101b961e4d2d12b6c02272300a4
2018-05-28 17:38:11 +02:00
Mark Banner 11e49d2982 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

--HG--
extra : rebase_source : 22c01cf5b24468dd76dabe63fa9d1033d4138e54
2018-04-26 09:05:00 +01:00
Drew Willcoxon 69302b1d31 Bug 1461753 - Add places.sqlite migration for calculating initial frecency stats. r=mak
MozReview-Commit-ID: F7fZiVkLXxW

--HG--
extra : rebase_source : 34ba8dabd7305af07d6af7b9bf57f2820385cdd5
2018-05-18 22:50:54 -07:00
Drew Willcoxon 4550909346 Bug 1239708: Improve awesomebar autofill. Part 4: Frecency stats. r=mak
MozReview-Commit-ID: GD8rglOocBn

--HG--
extra : rebase_source : 8813e9c6d0ce597a7488d668706f0a07f9d300c6
2018-05-14 11:27:11 -07:00
Drew Willcoxon cd74785cab Bug 1239708: Improve awesomebar autofill. Part 2: Non-core follow-ons. r=mak
MozReview-Commit-ID: IFm1arAhjF5

--HG--
extra : rebase_source : f1d8c838e2b690de30bfbc688926aba62880509e
2018-05-14 11:25:33 -07:00
Drew Willcoxon 093e6d0259 Bug 1239708: Improve awesomebar autofill. Part 1: Core follow-ons. r=mak
MozReview-Commit-ID: 1mfqU6mOyR9

--HG--
extra : rebase_source : 0750532c3e7cc1a3488387091afbfb68279a46b8
2018-05-14 11:21:47 -07:00
Marco Bonardo c77855f4fe Bug 1458910 - Merge nsPIPlacesDatabase into nsINavHistoryService. r=standard8
MozReview-Commit-ID: LacXKR32Jn3

--HG--
extra : rebase_source : 27f7d939ab9acab6eb4896e8fc1348e74aee35cf
2018-05-10 10:39:12 +02:00
Marco Bonardo 1c9f0c12b7 Bug 834541 - Remove the public History.hasHistoryEntries synchronous API. r=standard8
MozReview-Commit-ID: KJW9YNwoSZb

--HG--
extra : rebase_source : c379c145386478eb0cadfefe20c881f8652e6c2d
2018-05-08 10:26:36 +02:00
Marco Bonardo ad2c103055 Bug 739219 - Remove nsIBrowserHistory. r=standard8
MozReview-Commit-ID: G1n44eSFWr1

--HG--
extra : rebase_source : 5329ed861c6f46ed5534ab775f69ed4e3fe447be
2018-05-07 17:36:16 +02:00
Sebastian Hengst 0819f35e51 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 2963c44842 Bug 1452660 - Tag queries pointing to an invalid folder are being rewritten as empty urls. r=standard8
MozReview-Commit-ID: FUmmYewl8Vt

--HG--
extra : rebase_source : 6f5d940bd1ae519ee54f3acf5b93a244d12b0db9
2018-04-11 15:45:23 +02:00
Tristan Bourvon a3a77c0312 Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan 2018-04-10 21:11:02 +02:00
Marco Bonardo 06df983ba2 Bug 1452376 - Replace GetDescendantFolders with a recursive subquery. r=standard8
MozReview-Commit-ID: 7eXfqzX2qLl

--HG--
extra : rebase_source : 3e0c4e6049d137b15ae1391ea854f7096212a7ee
2018-04-10 00:20:36 +02:00
Marco Bonardo a68b7f8aea Bug 1293445 - 5 - Rename RESULTS_AS_TAG_QUERY. r=standard8
MozReview-Commit-ID: 7HwPKkGvAvv

--HG--
extra : rebase_source : e8c8bb963061c23907bacc68082d4e70a609bbf2
2018-04-04 16:14:20 +02:00
Marco Bonardo df5bf9e86f Bug 1293445 - 4 - Remove RESULTS_AS_TAG_CONTENTS. r=standard8
MozReview-Commit-ID: rybSCGrfnf

--HG--
extra : rebase_source : 86105516beb29be7adb941c8039093451864b44b
2018-04-03 18:32:00 +02:00
Marco Bonardo d666e0fda1 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

--HG--
extra : rebase_source : 10066aa0bdb6a598fc6af638fed455d58422b7fb
2018-03-22 14:13:07 +01:00
milindl 66117a6abe Bug 1421664 - 2 - Change SelectAsTag to use place: tag queries. r=mak
MozReview-Commit-ID: JauduB7A5TZ

--HG--
extra : rebase_source : e943690591ad87b256323bfe1b40f7bfca6c6beb
2018-03-20 17:27:44 +01:00
milindl 38c26245f5 Bug 1421664 - 1 - Force any tag queries to have query result type bookmarks. r=mak
MozReview-Commit-ID: KG1mGZD5PNy

--HG--
extra : rebase_source : c8e1174f77e5b4c15b09eacecae06a54b7fb5f4e
2018-03-20 16:42:04 +01:00
Marco Bonardo 86ace87a86 Bug 1447929 - Fix a few interface/concrete smart pointers in Places. r=standard8
MozReview-Commit-ID: IEoPxZseoyw

--HG--
extra : rebase_source : 9f4e25a2174b4b179bb45807da4263ca225970bf
2018-03-22 11:17:58 +01:00
Marco Bonardo 2adede362f Bug 1446951 - 9 - Move EvaluateQueryForNode. r=standard8
MozReview-Commit-ID: 5YfaRfhcbxY

--HG--
extra : rebase_source : d3e123271879d08c639db7b7be432bbc887aec2d
2018-03-20 12:24:05 +01:00
Marco Bonardo c340c25882 Bug 1446951 - 8 - Reduce the number of query node constructors to one. r=standard8
MozReview-Commit-ID: ICDxftFlePN

--HG--
extra : rebase_source : 81b47fe3358ab0f6f69f4c29bc27160eff1656a8
2018-03-20 11:29:54 +01:00
Marco Bonardo fc82abaf16 Bug 1446951 - 7 - Remove some internal use of GetHas* APIs. r=standard8
MozReview-Commit-ID: E4JudYNzLFT

--HG--
extra : rebase_source : 726ef80d87cf10119b3ce156d176eeac13af9e32
2018-03-20 01:07:01 +01:00
Marco Bonardo 8657a476be Bug 1446951 - 6 - Change internal results code to support a single query. r=standard8
MozReview-Commit-ID: 5ceutaSM6Vk

--HG--
extra : rebase_source : 1de38692f1acc5569745d3b6d8aa02c4fd62c229
2018-03-19 11:58:35 +01:00
Marco Bonardo 7ad7257a84 Bug 1446951 - 5 - Remove QueryStringToQueryArray. r=standard8
MozReview-Commit-ID: H6nMhiXgDKA

--HG--
extra : rebase_source : 4ef80310c588ea6ae6e7fd5ae4b9ef201a3ab4bd
2018-03-16 21:36:02 +01:00
Marco Bonardo 36e5d86043 Bug 1446951 - 3 - Make AsyncExecuteLegacyQueries singular. r=standard8
MozReview-Commit-ID: KyYw92tzyN6

--HG--
extra : rebase_source : 0c31233d251c7b0062047ab12b52d25fbc9510f5
2018-03-16 18:10:09 +01:00
Marco Bonardo 240b8426bf Bug 1446951 - 1 - Remove nsINavHistory::ExecuteQueries. r=standard8
MozReview-Commit-ID: ATQLGKzMtnn

--HG--
extra : rebase_source : 17fe8abde9832bd475137eb9b629096bc4d0d1a8
2018-03-16 15:38:05 +01:00
Mark Banner b78d405de6 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

--HG--
extra : rebase_source : 013cf8c9e47ec01ffce68e7f870c6d783fcef7bb
2018-03-19 12:43:22 +00:00
Mark Banner 5d0c2063f4 Bug 1437516 - Remove nsINavHistoryService/nsINavBookmarksService::runInBatchMode. r=mak
MozReview-Commit-ID: D1H3xdjpMAx

--HG--
extra : rebase_source : 3ad1d72758c20bf0b4964d212565c720654984e0
2018-03-13 16:19:33 +00:00
Mark Banner 2155e56144 Bug 1310295 - Make left pane queries virtual in the Places Library window. r=kitcambridge,mak
MozReview-Commit-ID: DcEMAlrXu8R

--HG--
extra : rebase_source : c98e6a50702ef0c238d036fa2a26f4a6ac9f15af
2018-02-16 20:30:04 +00:00
Dorel Luca 7065341d2f 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)

--HG--
extra : rebase_source : cb7317f5afa7c828ec3b6d9b7679b474fa9cf5da
2018-03-14 18:23:46 +02:00
Mark Banner 80abee119b Bug 1310295 - Make left pane queries virtual in the Places Library window. r=kitcambridge,mak
MozReview-Commit-ID: DcEMAlrXu8R

--HG--
extra : rebase_source : a956958f5c9adde0ee775e9bc918a8970564bbb7
2018-02-16 20:30:04 +00:00
Kit Cambridge c4df118de3 Bug 1435446 - Use immediate transactions by default in Places. r=mak
MozReview-Commit-ID: L2rCMwqZZkQ

--HG--
extra : rebase_source : 9201889b82bc52ebc2d3c9e2d5c36c78016faa1b
2018-02-28 23:32:57 -08:00
Mark Banner 2fb06c3ba2 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

--HG--
extra : rebase_source : d25b78fb73d9319989a52b30b4439ccdd1f999b1
2018-02-20 20:34:09 +00:00
Mark Banner 6ccff895ed Bug 1436966 - Remove the bookmark-observers & history-observers category listeners. r=mak
MozReview-Commit-ID: 2dsyxZG98IR

--HG--
extra : rebase_source : 89767cf42ee5e903f0b72900e7c8f85ac590a3c3
2018-02-09 11:21:14 +00:00
Mark Banner e68518807c 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

--HG--
extra : rebase_source : 34c250b697160897f1cbc4cbcc3351d57d9d19b6
2018-02-05 17:19:26 +00:00
Mark Banner 362505f227 Bug 1423896 - Make the All Bookmarks folder for the left pane of the Library a virtual query. r=mak
MozReview-Commit-ID: HzJ9y1fiEz1

--HG--
extra : rebase_source : 27b0280e9dfef2626d187f9b8a81f23e4583302f
2017-12-07 14:15:39 +00:00