Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ephy-history-service: add urls-visited signal | Claudio Saavedra | 2012-09-10 | 2 | -0/+54 |
| | | | | | | | | This signal is emitted in bulks and is intended for clients that are not interested in every single URL that is visited but only to know that visits have happened. https://bugzilla.gnome.org/show_bug.cgi?id=683550 | ||||
* | ephy-history-service: remove some dangerous g_object_unref() calls | Claudio Saavedra | 2012-09-07 | 3 | -5/+1 |
| | | | | | | | If there is an error building a statement, the returned value is always NULL. Calling g_object_unref() on them will lead to trouble. https://bugzilla.gnome.org/show_bug.cgi?id=683475 | ||||
* | ephy-history-service: fix a few leaks | Claudio Saavedra | 2012-09-07 | 3 | -1/+7 |
| | | | | | | | If there is an error processing the statement, then unref it before returning. https://bugzilla.gnome.org/show_bug.cgi?id=683475 | ||||
* | Add code coverage support | Xan Lopez | 2012-09-04 | 1 | -0/+1 |
| | | | | | | | | | | Needs a fairly recent gnome-common. To use do: - Run configure with --enable-code-coverage - Type 'make check-code-coverage' - Open the HTML results https://bugzilla.gnome.org/show_bug.cgi?id=683297 | ||||
* | ephy-history-service: Do not emit signals from the history service thread | Claudio Saavedra | 2012-09-01 | 1 | -3/+85 |
| | | | | | | | | We were naively emitting a few signals from the history service thread while doing this is not thread safe. Add a few helper methods to run this in a main loop idle. https://bugzilla.gnome.org/show_bug.cgi?id=683040 | ||||
* | ephy-history-service: add API to store a url's thumbnail update time | Claudio Saavedra | 2012-09-01 | 2 | -0/+44 |
| | |||||
* | ephy-history-service: extend to support URL thumbnail time | Claudio Saavedra | 2012-09-01 | 3 | -4/+9 |
| | |||||
* | ephy-history-service: add a method to set/unset a row hidden | Claudio Saavedra | 2012-09-01 | 2 | -0/+46 |
| | |||||
* | ephy-history-service: add backend bits to support the new hidden column | Claudio Saavedra | 2012-09-01 | 3 | -5/+16 |
| | |||||
* | ephy-history-service-urls-table: add new rows to the table | Claudio Saavedra | 2012-09-01 | 1 | -1/+3 |
| | | | | | | These rows store information relevant to the overview: the update time of the url's thumbnail and wheter the url should be hidden from the overview's frecent view. | ||||
* | ephy-history-service: add "host-deleted" signal | Claudio Saavedra | 2012-09-01 | 1 | -0/+12 |
| | |||||
* | ephy-history-service: add "url-deleted" signal | Claudio Saavedra | 2012-09-01 | 1 | -0/+12 |
| | |||||
* | ephy-history-service: add "url-title-changed" signal | Claudio Saavedra | 2012-09-01 | 1 | -0/+13 |
| | |||||
* | ephy-history-service: fix CLEAR signal emission | Xan Lopez | 2012-08-31 | 1 | -3/+5 |
| | | | | | We were only emitting it if we happened to have a callback method associated with the history message, that does not make sense. | ||||
* | ephy-history-service: prevent double call to execute_quit() | Claudio Saavedra | 2012-08-02 | 1 | -1/+0 |
| | | | | | | | execute_quit() is called already when the QUIT message is received, there is no need to call it after the thread loop quits. https://bugzilla.gnome.org/show_bug.cgi?id=680529 | ||||
* | e-history-service: print db file when open fails | Diego Escalante Urrelo | 2012-06-15 | 1 | -1/+1 |
| | |||||
* | ephy-history: remove spurious castings | Claudio Saavedra | 2012-05-08 | 3 | -3/+3 |
| | |||||
* | ephy-history-service: trim query strings to avoid reaching sqlite limit | Claudio Saavedra | 2012-05-08 | 3 | -3/+3 |
| | | | | | | | 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 | ||||
* | history-service: remove unnecessary type cast | Claudio Saavedra | 2012-03-29 | 1 | -1/+1 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=672926 | ||||
* | history-service: remove unused variables | Claudio Saavedra | 2012-03-29 | 2 | -3/+0 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=672926 | ||||
* | history: remember visit types | Xan Lopez | 2012-03-14 | 3 | -8/+15 |
| | | | | | | | 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. | ||||
* | history: generate gtypes for the history types | Xan Lopez | 2012-03-14 | 1 | -0/+62 |
| | |||||
* | ephy-history-service: make the async API cancellable | Claudio Saavedra | 2012-03-13 | 2 | -40/+77 |
| | | | | | | | | | | | 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: Give me a break! | Priit Laes | 2012-03-09 | 1 | -0/+1 |
| | | | | | Signed-off-by: Priit Laes <plaes@plaes.org> Reviewed-by: Xan Lopez <xan@igalia.com> | ||||
* | ephy-history-service: plug a few more leaks | Claudio Saavedra | 2012-03-08 | 2 | -0/+4 |
| | |||||
* | ephy-history-service: add API to query for hosts | Claudio Saavedra | 2012-03-08 | 4 | -2/+156 |
| | | | | | By now, the public API only supports filtering by time range, but filtering by string matching is also possible. | ||||
* | ephy-history-service: execute_get_hosts() should return TRUE | Claudio Saavedra | 2012-03-08 | 1 | -1/+1 |
| | | | | If there are no hosts, that's not a failure, so return TRUE instead. | ||||
* | ephy-history-service-hosts-table: init host to NULL | Diego Escalante Urrelo | 2012-03-08 | 1 | -1/+1 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=671594 | ||||
* | ephy-history-service: remove orphan hosts from database | Claudio Saavedra | 2012-03-08 | 3 | -0/+27 |
| | | | | | | | After removing all the urls in a host, we don't need that host anymore. https://bugzilla.gnome.org/show_bug.cgi?id=671559 | ||||
* | ephy-history-service: validate parameters of public methods | Xan Lopez | 2012-03-07 | 1 | -33/+77 |
| | |||||
* | ephy-history-service-urls-table: do not g_assert on input | Xan Lopez | 2012-03-07 | 1 | -4/+4 |
| | | | | Simply bail out and don't crash the browser. | ||||
* | ephy-history-service: default handler for visit-url should be FALSE | Claudio Saavedra | 2012-03-07 | 1 | -1/+1 |
| | | | | So that AFTER handlers are executed as well | ||||
* | ephy-history-service: add a method to remove a host from the history | Claudio Saavedra | 2012-03-07 | 4 | -0/+79 |
| | | | | This method will remove all the history related to that host. | ||||
* | Allow ephy_history_service_find_urls() to filter host specific urls | Claudio Saavedra | 2012-03-07 | 2 | -2/+3 |
| | |||||
* | Add ephy_history_service_get_hosts() | Claudio Saavedra | 2012-03-07 | 2 | -1/+29 |
| | | | | To retrieve all hosts in the history | ||||
* | Fix typo | Claudio Saavedra | 2012-03-07 | 1 | -1/+1 |
| | |||||
* | Allow the visits and urls queries to be host-specific | Claudio Saavedra | 2012-03-07 | 4 | -0/+24 |
| | |||||
* | Add missing header include to ephy-history-types.h | Claudio Saavedra | 2012-03-07 | 1 | -0/+2 |
| | |||||
* | ephy-history-service: agh, committed this by mistake | Xan Lopez | 2012-03-07 | 1 | -1/+1 |
| | |||||
* | ephy-history-service: handle correctly zoom level migration | Xan Lopez | 2012-03-07 | 1 | -0/+9 |
| | | | | | | We need to consider the case of an "invalid" host with a non default zoom level, since the profile migrator will send us that kind of thing. | ||||
* | ephy-history-service: add a "cleared" signal for the clear method | Xan Lopez | 2012-03-07 | 1 | -0/+14 |
| | | | | And use it in EphyEmbed instead of the legacy signal. | ||||
* | ephy-history-service: add a method to clear the entire history | Claudio Saavedra | 2012-03-07 | 2 | -0/+44 |
| | |||||
* | ephy-history-service: add 'visit-url' signal | Xan Lopez | 2012-03-07 | 2 | -8/+43 |
| | | | | | | | | | 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_url | Xan Lopez | 2012-03-07 | 2 | -3/+6 |
| | | | | Fits much better with the naming model in that class. | ||||
* | Get rid of EphyBrowseHistory | Xan Lopez | 2012-03-07 | 2 | -0/+44 |
| | | | | | | 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. | ||||
* | ephy-history-types: use the URL as default title | Xan Lopez | 2012-03-07 | 1 | -1/+1 |
| | | | | | This is what the old history code did. Looks better than an empty string. | ||||
* | Retrieve the host id from the right column | Claudio Saavedra | 2012-03-07 | 1 | -1/+1 |
| | |||||
* | Remove the set_url_property history method | Xan Lopez | 2012-03-07 | 2 | -66/+0 |
| | | | | It's not really that useful. | ||||
* | ephy-history-service-hosts-table: drop the favicon column | Xan Lopez | 2012-03-07 | 1 | -1/+0 |
| | | | | It's not used at all. Again, format change. | ||||
* | Store zoom levels per host, not per URL | Xan Lopez | 2012-03-07 | 6 | -65/+96 |
| | | | | | | | | | | 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 urls | Claudio Saavedra | 2012-03-07 | 1 | -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 unnecessarily | Claudio Saavedra | 2012-03-07 | 1 | -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 queries | Claudio Saavedra | 2012-03-07 | 1 | -0/+10 |
| | |||||
* | EphyHistoryQuery: add a EphyHistorySortType parameter to the query | Claudio Saavedra | 2012-03-07 | 2 | -0/+10 |
| | |||||
* | history-service: take into account the query's result limit | Claudio Saavedra | 2012-03-07 | 1 | -1/+13 |
| | |||||
* | EphyHistoryQuery: copy the limit too | Claudio Saavedra | 2012-03-07 | 1 | -0/+1 |
| | |||||
* | history-service: Ignore queries time range if not set | Claudio Saavedra | 2012-03-07 | 1 | -4/+4 |
| | |||||
* | history-service: Count the first url visit | Claudio Saavedra | 2012-03-07 | 1 | -0/+2 |
| | |||||
* | ephy-history-service: forgot Makefile.am file | Xan Lopez | 2012-03-07 | 1 | -0/+21 |
| | |||||
* | ephy-history-service: change a few functions and variables to use "message" | Xan Lopez | 2012-03-07 | 1 | -40/+40 |
| | | | | They were leftovers from old APIs | ||||
* | Add EphyHistoryService and helper classes | Xan Lopez | 2012-03-07 | 8 | -0/+2085 |
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). |