Commit graph

154 commits

Author SHA1 Message Date
Christian Dywan
745506c965 Require minimum size of bookmark panel 2010-12-11 19:49:05 +01:00
Christian Dywan
b604b177bb Use foreach with copied list for importing bookmarks
The new macro KATZE_ARRAY_FOREACH_ITEM_L is added, taking a
list that must be freed afterwards. It copies the list to
not enter infinite recursion if items are removed or appended.
2010-12-05 23:34:17 +01:00
Christian Dywan
57c30ff319 Protect against unset meta string folder 2010-11-30 18:15:33 +01:00
Christian Dywan
d69e92b76a Automatically resize panel columns after changes 2010-11-24 19:10:53 +01:00
Christian Dywan
765cdfeb27 Select date for all history queries, even filtered
Deleting requires a date to work.
2010-11-24 00:37:01 +01:00
Christian Dywan
8ad224c9a8 Add bookmarks through array and update the panel 2010-11-22 03:49:52 +01:00
Christian Dywan
93c483c904 Make Delete key in bookmark panel the same as menu item 2010-11-22 03:49:52 +01:00
Christian Dywan
6246987ba8 Clear history through array and update the panel 2010-11-22 03:49:51 +01:00
Christian Dywan
343badcc58 Remove Console panel in favour of the Inspector 2010-10-05 21:43:33 +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
1b80f16bf4 Remove browser-count, midori_panel_set_compact, console toolbar 2010-09-07 22:24:11 +02:00
Christian Dywan
802c1eb462 Always allocate and free formatted dates in history panel 2010-09-06 03:03:07 +02:00
Christian Dywan
c808e9ce43 Enable copy menu item in transfer context menu 2010-09-01 23:14:37 +02:00
Christian Dywan
a7452bd0b5 Use KatzeArray* to remove and monitor deleted bookmarks
The panel and the bookmarkbar need to monitor the removal of
bookmarks, and there can be multiple windows, so the database
should only be used to remove in one central place.
2010-08-10 23:46:49 +02:00
Christian Dywan
71549af089 Disconnect insertion when MidoriHistory finalizes 2010-08-10 22:58:11 +02:00
Peter de Ridder
05065e521d Decrement n after clearing individual transfer items 2010-08-07 15:20:09 +02:00
Christian Dywan
34d7a8033b Use KatzeArray* to signal new items to MidoriHistory 2010-07-31 01:42:14 +02:00
Christian Dywan
5b640c7f46 Store address of bookmarks for tooltip as a string in the model 2010-07-31 01:21:50 +02:00
Alexander Butenko
9e3e3fc491 Update bookmark for export from sqlite database 2010-07-23 22:04:43 +02:00
Alexander Butenko
5e250cc70d Store 'description' property of a bookmark 2010-07-23 22:04:20 +02:00
Alexander Butenko
d78efc0863 Duplicate day name for history panel folder names 2010-07-23 21:49:16 +02:00
Alexander Butenko
46b63639f6 Refactor history panel to match bookmark code.
The toolbar buttons are also taken care of.

The broken clock time warning was removed since it would be
awkward to have with the date formatting where there is not
even a widget available. Should be re-considered.
2010-07-21 23:31:45 +02:00
Alexander Butenko
58f3444ba1 Rework history panel search query 2010-07-21 23:22:52 +02:00
Alexander Butenko
5859bbe2ab Fix edit bookmark behavior 2010-07-21 23:01:13 +02:00
Christian Dywan
94fbf158f6 Remove conditional guards for sqlite 2010-07-17 21:31:29 +02:00
Christian Dywan
5a082100c8 Use sqlite3_mprintf to quote when inserting bookmark items 2010-07-11 23:49:13 +02:00
Christian Dywan
ec2d1e21c9 Fallback to the old parent when inserting bookmarks 2010-07-05 23:14:49 +02:00
Alexander Butenko
62930be082 Introduce midori_browser_set_current_page_smartly() as public API 2010-07-05 00:14:06 +02:00
Christian Dywan
e70bc2cb75 Don't try to release references to dummy separator rows 2010-07-05 00:00:26 +02:00
Alexander Butenko
76ea968e20 Drop callbacks for cursor-changed and columns-changed
We don't have special separators any more, so there is no items
that can't be deleted.
2010-07-04 23:47:39 +02:00
Alexander Butenko
7f4c4ad287 Match appearence of history and bookmark search 2010-07-04 23:40:44 +02:00
Alexander Butenko
8c784e7486 Implement search in the bookmark panel 2010-07-04 23:33:20 +02:00
Christian Dywan
78cfcb64d9 Force items dragged onto non-folders to the toplevel 2010-07-03 23:05:09 +02:00
Alexander Butenko
2caaed659c Remove last bits of 'type' field usage 2010-07-03 22:33:45 +02:00
Alexander Butenko
9230c299e9 Fix for Open all in tabs for directories in history bar 2010-07-03 22:33:45 +02:00
Alexander Butenko
b170dd688a Delete bookmarks from the folder they reside in 2010-07-03 22:33:45 +02:00
Alexander Butenko
659b7c351e Add 'folder' property to bookmarks 2010-07-03 22:33:45 +02:00
Alexander Butenko
ad5066a43f Remove ghosts after bookmark edit. Merge edit/ delete callbacks 2010-07-02 23:32:06 +02:00
Alexander Butenko
4e0c1396a0 Allow to expand/ collapse folder by double click 2010-07-02 23:17:05 +02:00
Alexander Butenko
8306424277 Remove separator when expanding bookmark folders 2010-07-02 23:11:03 +02:00
Alexander Butenko
8c6a8abe5f Revamp bookmark import with sqlite 2010-07-02 23:05:27 +02:00
Alexander Butenko
f907128904 Drop bookmark type field and save meta boolean properly 2010-07-01 23:37:14 +02:00
Alexander Butenko
3c4896f94f Start using new sqlite helper functions 2010-07-01 23:37:14 +02:00
Alexander Butenko
a49f1f7814 Introduce katze_bookmark_populate_tree_view() and rename ITEM_IS* macros 2010-07-01 23:37:13 +02:00
Alexander Butenko
fb634e19b9 Fix popup menu on folders in history 2010-07-01 20:32:34 +02:00
Alexander Butenko
090a16f664 Fix bookmark folder properties dialog 2010-07-01 20:32:23 +02:00
Alexander Butenko
791c38ae3e Fix open directory in tabs in bookmarks sidebar 2010-07-01 20:21:33 +02:00
Christian Dywan
62f5a1c974 Introduce ITEM_IS_BOOKMARK|FOLDER|SEPARATOR in bookmark panel
The implicit logic for differentiating items is not easy to
read, so we introduce macros for that.
2010-07-01 00:13:18 +02:00
Alexander Butenko
08dab16bc2 Refactoring of bookmarks add functions 2010-06-26 17:24:53 +02:00
Alexander Butenko
7c4263ebca Work around sqlite3_mprintf for bookmark metadata 2010-06-26 16:40:15 +02:00