Commit graph

13 commits

Author SHA1 Message Date
Christian Dywan
967b080680 Require meta keys to be non-NULL 2009-07-06 18:30:53 +01:00
Christian Dywan
5d674f9779 Add katze_item_set_meta_string 2009-07-06 18:28:28 +01:00
Christian Dywan
5f4e9ef079 Implement meta data in KatzeItem
Now KatzeItem can store arbitrary integers and strings as meta data.
2009-07-05 00:14:09 +01:00
Christian Dywan
3e18b780ac Implement katze_item_copy and a virtual method for subclasses 2009-01-26 03:41:12 +01:00
Christian Dywan
7c3cb9a1bd Add "parent" property to KatzeItem 2008-12-24 04:07:08 +01:00
Dale Whittaker
0246eeb124 Implement sorting location items by the number of visits
For the moment, a define in the code decides whether items
are sorted based on when they were added or how often
a page was visited. The 'visits' property and respective
database column is unused (we keep it for compatibility).
It turns out it's enough to store that information in
the tree model.

The visit based sorting is not enabled because it is
simply delaying startup incredibly. It will have to be
decided whether to introduce a preference, or always use
a visited based sorting once the startup delay is fixed.

History items are also deleted from the tree model now
if they are too old, according to the preference.
2008-11-08 02:39:45 +01:00
Dale Whittaker
49a4b00b71 Implement number of days history is saved
Note that this will 'break' any existing history
and all dates will suddenly jump the beginning
of the unix epoch.
2008-10-16 01:31:47 +02:00
Christian Dywan
58255d19aa Do not localize object properties, except WebSettings
Property name localization is only useful if the
strings are meant to be used in a user interface,
such as is the case with WebSettings, or for
graphical interface builders, which are not of
our concern, since we don't use Glade and friends
and nobody else is going to use our widgets.

In short, make translation work much easier.
2008-10-15 03:32:11 +02:00
Christian Dywan
63fc20b6f4 Assign KatzeItem property strings properly 2008-10-07 03:24:27 +02:00
Dale Whittaker
d445745787 Implement navigation history backed by sqlite
The implementation relies on KatzeArray for the
most part and only does the storage with sqlite
behind the scenes. The change includes a working
History panel. Changes to the database are
committed in realtime.
2008-10-07 02:19:33 +02:00
Christian Dywan
fb320cc0b6 Finally obsolete KatzeXbelItem 2008-10-01 04:00:16 +02:00
Christian Dywan
bf28e1097b Rework MidoriWebList into KatzeList and KatzeArray 2008-08-26 01:19:38 +02:00
Christian Dywan
af2e90a4b1 Rename MidoriWebItem to KatzeItem 2008-08-23 18:32:53 +02:00