Commit graph

129 commits

Author SHA1 Message Date
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
Alexander Butenko 053048d05e Fixed handling of bookmark meta data
sqlite doesn't store negative value but rather 0 and 1, so we
work with these values now. As a side effect it makes the code
easier to read.
2010-06-19 16:23:49 +02:00
Alexander Butenko 6d3672a433 Initial support of DND in bookmarks 2010-06-17 00:54:59 +02:00
Alexander Butenko f55377e7f3 Fix selecting a directory while adding a new bookmark
Allow folders to be removed
2010-06-17 00:12:17 +02:00
Alexander Butenko 09d9615964 Refresh bookmark sidebar on new items 2010-06-17 00:02:10 +02:00
Alexander Butenko 954939fdd1 Use extra attributes of a bookmark 2010-06-16 23:30:56 +02:00
Alexander Butenko 5af37f6c92 Fix edit/ delete/ new operations on bookmarks 2010-06-16 23:27:59 +02:00
Alexander Butenko 6f415c4e6e Import bookmarks from bookmarks.xbel on the first start.
The bookmark handling in main is not needed any more.
2010-06-16 23:17:51 +02:00
Alexander Butenko 9bff58199a Order bookmarks descending. Folders should always be on top 2010-06-16 20:57:52 +02:00
Alexander Butenko 3b46d80161 Fixup the bookmark panel initialization 2010-06-16 20:57:08 +02:00
Alexander Butenko 87ac3ae563 Initial sqlite read support
We go back to GtkTreeStore rather than a custom class.
2010-06-16 20:55:37 +02:00
Christian Dywan 2f5a65947f Add 'Copy All' to console panel 2010-05-19 00:42:15 +02:00
Christian Dywan dfddd7ce0a Leave panel icon styles to the system settings 2010-05-13 16:53:19 +02:00
Christian Dywan 2611a24803 Remove unused extension panel popup logic 2010-05-06 23:41:07 +02:00
Arno Renevier 7c0e58a835 Refactor userscripts and userstyles as an extension 2010-05-02 11:53:05 +02:00
Christian Dywan 3f886f7153 Include previous searches in History panel items 2010-03-01 00:24:46 +01:00
Christian Dywan 6d722f6294 Only read history into History panel if an array is given 2010-02-10 19:52:11 +01:00
Christian Dywan ee51a8c87f Implement a filter entry in History panel, similar to Cookie Manager 2010-02-10 19:52:11 +01:00
Christian Dywan cee10ca6d8 Remove unused KatzeNet instance from Bookmarks panel 2010-02-10 19:52:11 +01:00
Christian Dywan eb5b244647 Remove unused KatzeNet instance from History panel 2010-02-10 19:52:11 +01:00
Christian Dywan 24b0916d62 Remove invisible dummy row when expanding, and add it when collapsing 2010-02-10 19:52:11 +01:00
Christian Dywan 94aebbf1fe Render dummy history items as separators
Until we find a better way this should reduce confusion about
'empty' folders appearing.
2010-02-04 00:17:51 +01:00
Alexander Butenko a90dc507ff Make the Delete key delete history entries again 2010-02-03 22:15:49 +01:00
Alexander Butenko 1a236a3800 Clear the history folders on collapse, repopulate on expand 2010-02-03 22:13:00 +01:00
Christian Dywan ae1ea1214b Only query the current time once when populating the history 2010-02-03 18:42:58 +01:00
Christian Dywan bee4615d10 Render history dates directly without age column or render callback
Resurrect sokoke_days_between for calculating age in days.
2010-02-03 01:39:13 +01:00