Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Store empty strings instead of None in the places sqlite database. | Manuel Quiñones | 2012-03-28 | 1 | -2/+10 |
| | | | | | | | | | | | | | | | | | | | The SQL model sets "text" as the fields type for uri and title. However, sqlite uses a dynamic type sistem [1] and our Place class was initializing those attributes with None. As a consequence, when the user types something in the toolbar entry, and a search is made to show a drop-down list for autocomplete, the drop-down list is being filled with None, but is defined as Gtk.ListStore(str, str). This is provoking a GTK+ error,that crashes the activity in the XO, as bug In order to keep backwards compatibility, if the database returns None for does fields, they are translated to empty strings in _place_from_row() method of place.SqliteStore . [1] http://sqlite.org/datatype3.html Signed-off-by: Manuel Quiñones <manuq@laptop.org> Signed-off-by: Simon Schampijer <simon@laptop.org> | ||||
* | Global history for URL autocompletion in URL entry | Manuel Quiñones | 2012-01-06 | 1 | -0/+3 |
| | | | | | | | | | The sqlite backend to store the global history is maintained. There are two fields in the database that are left unused: bookmark and gecko_flags. Signed-off-by: Manuel Quiñones <manuq@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org> | ||||
* | Rename sugar to sugar3 | Manuel Quiñones | 2011-11-29 | 1 | -1/+1 |
| | | | | Signed-off-by: Manuel Quiñones <manuq@laptop.org> | ||||
* | Fix overlong lines | Sascha Silbe | 2011-05-21 | 1 | -1/+1 |
| | | | | Signed-off-by: Sascha Silbe <silbe@activitycentral.com> | ||||
* | add/remove some empty lines according to PEP8 | Sascha Silbe | 2010-06-16 | 1 | -0/+3 |
| | |||||
* | remove EOL spaces | Sascha Silbe | 2010-06-16 | 1 | -1/+1 |
| | |||||
* | Address Tomeu review comments. | Marco Pesenti Gritti | 2008-06-13 | 1 | -53/+64 |
| | |||||
* | Add a bookmark boolean field to mark bookmarks so that | Marco Pesenti Gritti | 2008-06-12 | 1 | -6/+8 |
| | | | | we can give them an higer position in the queries. | ||||
* | Implement simple cleanup. Drop sites older than 30 days on startup. | Marco Pesenti Gritti | 2008-06-12 | 1 | -2/+19 |
| | |||||
* | Add a last_visit field | Marco Pesenti Gritti | 2008-06-12 | 1 | -15/+29 |
| | |||||
* | Implement the sqlite store. | Marco Pesenti Gritti | 2008-06-12 | 1 | -30/+52 |
| | |||||
* | First go at autocompletion. Still using a fake, in-memory backend. | Marco Pesenti Gritti | 2008-06-12 | 1 | -0/+72 |