aboutsummaryrefslogtreecommitdiffstats
path: root/lib/history/ephy-history-service-urls-table.c
Commit message (Collapse)AuthorAgeFilesLines
* ephy-history: remove spurious castingsClaudio Saavedra2012-05-081-1/+1
|
* ephy-history-service: trim query strings to avoid reaching sqlite limitClaudio Saavedra2012-05-081-1/+1
| | | | | | | Sqlite limits the length of a LIKE pattern to 50000 bytes, therefore we need to make sure that longer strings are not used as queries. https://bugzilla.gnome.org/show_bug.cgi?id=674848
* ephy-history-service: Give me a break!Priit Laes2012-03-091-0/+1
| | | | | Signed-off-by: Priit Laes <plaes@plaes.org> Reviewed-by: Xan Lopez <xan@igalia.com>
* ephy-history-service-urls-table: do not g_assert on inputXan Lopez2012-03-071-4/+4
| | | | Simply bail out and don't crash the browser.
* Allow the visits and urls queries to be host-specificClaudio Saavedra2012-03-071-0/+11
|
* Retrieve the host id from the right columnClaudio Saavedra2012-03-071-1/+1
|
* Store zoom levels per host, not per URLXan Lopez2012-03-071-17/+11
| | | | | | | | | | 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.
* history-service: make sure we can update pages' titles and urlsClaudio Saavedra2012-03-071-7/+8
| | | | | | | | | | When we retrieve a url from the backend from a user given EphyHistoryURL, it's possible for this to contain updated information for the page. In such case, don't overwrite this with the one stored in the backend. This makes possible to later update this information when saving a new visit.
* history-service: do not join urls and visits table unnecessarilyClaudio Saavedra2012-03-071-6/+10
| | | | | If there is no visit time range there is no need to perform a inner join between these two tables, so spare the hassle.
* history-service: use the sort type during queriesClaudio Saavedra2012-03-071-0/+10
|
* history-service: take into account the query's result limitClaudio Saavedra2012-03-071-1/+13
|
* history-service: Ignore queries time range if not setClaudio Saavedra2012-03-071-4/+4
|
* Add EphyHistoryService and helper classesXan Lopez2012-03-071-0/+371
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).