gecko-dev/toolkit/components/places
Marco Bonardo c9738d3a71 Bug 1818881 - Avoid polling for frecency recalcs. r=florian,daisuke
Rather than checking every minute for work to do, use .exchange() to check
if sShouldStartFrecencyRecalculation switches to true and if so dispatch a
runnable to notify PlacesFrecencyRecalculator. The latter sets back
sShouldStartFrecencyRecalculation to false once the recalculation is complete.

Differential Revision: https://phabricator.services.mozilla.com/D171093
2023-02-28 12:57:19 +00:00
..
bookmark_sync Bug 1801057 - removed code referencing moz_items_annos in store.rs. r=mak,markh 2023-02-21 09:14:21 +00:00
tests Bug 1818881 - Avoid polling for frecency recalcs. r=florian,daisuke 2023-02-28 12:57:19 +00:00
BookmarkHTMLUtils.sys.mjs
BookmarkJSONUtils.sys.mjs
Bookmarks.sys.mjs Bug 1818119: Remove leftovers for nsINavBookmarkObserver r=mak 2023-02-22 11:34:13 +00:00
components.conf
Database.cpp Bug 1817248 - Use an appropriate frecency bucket for unvisited bookmarks. r=daisuke 2023-02-24 13:37:53 +00:00
Database.h Bug 1817248 - Use an appropriate frecency bucket for unvisited bookmarks. r=daisuke 2023-02-24 13:37:53 +00:00
ExtensionSearchHandler.sys.mjs
FaviconHelpers.cpp
FaviconHelpers.h
Helpers.cpp
Helpers.h
History.cpp
History.h
History.sys.mjs Bug 1810772 - Stop recalculating frecency immediately for history removals. r=daisuke 2023-02-08 08:54:58 +00:00
INativePlacesEventCallback.h
moz.build
mozIAsyncHistory.idl
mozIPlacesAutoComplete.idl
mozIPlacesPendingOperation.idl
mozISyncedBookmarksMirror.idl
NotifyRankingChanged.h
nsAnnoProtocolHandler.cpp
nsAnnoProtocolHandler.h
nsFaviconService.cpp
nsFaviconService.h
nsIFaviconService.idl
nsINavBookmarksService.idl Bug 1733045: Remove nsINavBookmarkObserver. r=mak 2023-02-15 00:29:13 +00:00
nsINavHistoryService.idl Bug 1818881 - Avoid polling for frecency recalcs. r=florian,daisuke 2023-02-28 12:57:19 +00:00
nsIPlacesPreviewsHelperService.idl
nsITaggingService.idl
nsNavBookmarks.cpp Bug 1733045: Remove nsINavBookmarkObserver. r=mak 2023-02-15 00:29:13 +00:00
nsNavBookmarks.h Bug 1733045: Remove nsINavBookmarkObserver. r=mak 2023-02-15 00:29:13 +00:00
nsNavHistory.cpp
nsNavHistory.h Bug 1817248 - Use an appropriate frecency bucket for unvisited bookmarks. r=daisuke 2023-02-24 13:37:53 +00:00
nsNavHistoryQuery.cpp
nsNavHistoryQuery.h
nsNavHistoryResult.cpp Bug 1764776: Update url field on item of list when changing the url on editor while filtering by chars. r=mak 2023-02-15 09:48:49 +00:00
nsNavHistoryResult.h Bug 1764776: Update url field on item of list when changing the url on editor while filtering by chars. r=mak 2023-02-15 09:48:49 +00:00
nsPlacesIndexes.h
nsPlacesMacros.h Bug 1818119: Remove leftovers for nsINavBookmarkObserver r=mak 2023-02-22 11:34:13 +00:00
nsPlacesTables.h
nsPlacesTriggers.h Bug 1810772 - Stop recalculating frecency immediately for history removals. r=daisuke 2023-02-08 08:54:58 +00:00
PageIconProtocolHandler.cpp
PageIconProtocolHandler.h
PlaceInfo.cpp
PlaceInfo.h
PlacesBackups.sys.mjs
PlacesDBUtils.sys.mjs Bug 1801057 - removed code as needed in Bookmarks.sys.mjs and PlacesDBUtils.sys.mjs and ran xpcshell tests. r=mak 2023-02-21 09:14:20 +00:00
PlacesExpiration.sys.mjs Bug 1819049 - ensure the idle observer has been added when creating the nsPlacesExpiration repeating timer, r=mak. 2023-02-27 13:52:38 +00:00
PlacesFrecencyRecalculator.sys.mjs Bug 1818881 - Avoid polling for frecency recalcs. r=florian,daisuke 2023-02-28 12:57:19 +00:00
PlacesPreviews.sys.mjs
PlacesSyncUtils.sys.mjs Bug 1801057 - removed code referencing moz_items_annos. r=mak 2023-02-21 09:14:21 +00:00
PlacesTransactions.sys.mjs Bug 1813484 - Use new URI <-> URL conversion in Places. r=Standard8 2023-01-31 17:36:22 +00:00
PlacesUtils.sys.mjs Bug 1678629: Apply bookmark-keyword-changed event. r=mak 2023-02-09 21:21:51 +00:00
Shutdown.cpp
Shutdown.h
SQLFunctions.cpp Bug 1818881 - Avoid polling for frecency recalcs. r=florian,daisuke 2023-02-28 12:57:19 +00:00
SQLFunctions.h
SyncedBookmarksMirror.h
SyncedBookmarksMirror.sys.mjs Bug 1819019 - Update consumers of services/common to import ES modules directly. r=markh,webdriver-reviewers,extension-reviewers,jdescottes 2023-02-28 10:11:55 +00:00
TaggingService.sys.mjs
VisitInfo.cpp
VisitInfo.h