Commit graph

20 commits

Author SHA1 Message Date
Christian Dywan
b6f86b0ca6 Optimize list-based katze_array_ functions 2012-02-10 23:31:42 +01:00
Christian Dywan
fc8d0a1179 Gracefully handle unset history and search engines
So app mode actually fails to search reliably and not by
accident.
2011-03-05 03:40:10 +01:00
Christian Dywan
84beea9108 Add KatzeArray::update and call it after import
This new function and according signal allow one
update of the treeview after importing directly
into the database.
2011-01-19 21:58:26 +01:00
Christian Dywan
1581c13460 Remove unused non-object support from KatzeArray 2010-11-30 18:15:33 +01:00
Enrico Tröger
769a1dce17 Define kalistglobal only once, declare it globally
This fixes building with gcc and the -fno-common option. The
option is now added to compiler flags in full debugging mode.
2010-09-25 16:57:18 +02:00
Christian Dywan
eabf14a6ce Add g_return_val_if_fail to katze_array_peek_items 2010-09-24 23:29:23 +02:00
Christian Dywan
40dc38fd21 Implement and use KATZE_ARRAY_FOREACH_ITEM
Iterating an array by a GList is considerably faster than
continuously retrieving items, however it is also a lot
more complicated. So the new macro takes care of that and
uses a new semi-private function to avoid copying the list.

Note that the macro can't be nested, which basically isn't
useful in practise anyway.
2010-09-12 00:59:24 +02:00
Christian Dywan
c213824d5f Expose items in a KatzeArray as GList 2010-04-25 23:38:59 +02:00
Christian Dywan
7e5dd2db32 Minimal support for tests and extensions in Vala 2010-04-25 00:11:57 +02:00
Christian Dywan
15658145b2 Build katze, core and panels as one, and allow non-progressive build
This simplifies the build and possibly helps with linking problems
on some platforms. The 'progressive' option allows building
without an intermediate static library except for unit tests.
2010-01-01 18:20:08 +01:00
Christian Dywan
41385a9e5e Implement katze_array_find_uri for finding duplicates 2009-10-02 21:27:31 +02:00
Christian Dywan
551843da1d Ensure we remove all items in katze_array_clear
Apparently looping through 'all' items isn't sufficient, so now
we remove the very first item until the list is empty.
2009-05-22 02:40:02 +02:00
Christian Dywan
fb37688db3 Optimize list iterations in KatzeArray 2009-03-31 03:25:48 +02:00
Christian Dywan
32d17cf2c2 Add "move-item" and katze_array_move_item 2009-03-24 23:53:50 +01:00
Christian Dywan
a75a94c388 Merge KatzeArray and KatzeList, we only ever use the array 2009-03-24 01:55:46 +01:00
Christian Dywan
770b6d9e11 Optimize KatzeArray a little 2008-12-24 04:44:02 +01:00
Christian Dywan
2bc42bfd8d Remove the page holder from the core 2008-11-25 23:55:54 +01:00
Christian Dywan
fb320cc0b6 Finally obsolete KatzeXbelItem 2008-10-01 04:00:16 +02:00
Arnaud Renevier
cecce23061 Fix doc domment for katze_array_remove_item 2008-09-07 20:31:09 +02:00
Christian Dywan
bf28e1097b Rework MidoriWebList into KatzeList and KatzeArray 2008-08-26 01:19:38 +02:00