aboutsummaryrefslogtreecommitdiffstats
path: root/lib/history/ephy-history-service.h
Commit message (Collapse)AuthorAgeFilesLines
* history: remember visit typesXan Lopez2012-03-141-2/+3
| | | | | | | Instead of hardcoding all visits as 'TYPED' properly distinguish between bookmarks, following links and typing URIs in the entry. We'll use this to compute the frecency of history items.
* ephy-history-service: make the async API cancellableClaudio Saavedra2012-03-131-16/+17
| | | | | | | | | | | The main purpose of the cancellable API in ephy-history-service is to let the user notify when the results of the operation are no longer needed and the callback call can be omitted. Since performing a read operation, in such cases, makes no sense, we cancel them altogether. However, given the nature of the service, we don't cancel write operations. https://bugzilla.gnome.org/show_bug.cgi?id=671901
* ephy-history-service: add API to query for hostsClaudio Saavedra2012-03-081-0/+2
| | | | | By now, the public API only supports filtering by time range, but filtering by string matching is also possible.
* ephy-history-service: add a method to remove a host from the historyClaudio Saavedra2012-03-071-0/+1
| | | | This method will remove all the history related to that host.
* Allow ephy_history_service_find_urls() to filter host specific urlsClaudio Saavedra2012-03-071-1/+1
|
* Add ephy_history_service_get_hosts()Claudio Saavedra2012-03-071-0/+1
| | | | To retrieve all hosts in the history
* ephy-history-service: add a method to clear the entire historyClaudio Saavedra2012-03-071-0/+1
|
* ephy-history-service: add 'visit-url' signalXan Lopez2012-03-071-1/+5
| | | | | | | | | Similar to the old EphyHistory 'add-page' signal. It allows blocking the visit by handling the signal, since the actual logic to add the visit is in the class' default handler. The add_visit(s) methods won't emit this signal, but for now we'll assume that whoever is using those knows what he's doing.
* Rename ephy_history_service_add_page to ephy_history_service_visit_urlXan Lopez2012-03-071-1/+1
| | | | Fits much better with the naming model in that class.
* Get rid of EphyBrowseHistoryXan Lopez2012-03-071-0/+3
| | | | | | It was a very thin wrapper on top of the history service, it does not seem to make much sense. For now move the two useful helper methods down to the service without further changes.
* Remove the set_url_property history methodXan Lopez2012-03-071-1/+0
| | | | It's not really that useful.
* Store zoom levels per host, not per URLXan Lopez2012-03-071-0/+1
| | | | | | | | | | Zoom levels have always been stored per host in Epiphany, not per URL (otherwise you'd have to re-apply the zoom level again and again when visiting, say, every news entry in your favorite newspaper). Change things to work like that. Note: this changes the SQL table format for the history, so you'll need to re-migrate your history.
* Add EphyHistoryService and helper classesXan Lopez2012-03-071-0/+70
EphyHistoryService provides a high-level API to store history information. It will processed by a worker thread using SQLite to provide a fast, responsive service to the main UI. Based on the code by Martin Robinson (mrobinson@igalia.com) and Claudio Saavedra (csaavedra@igalia.com).