Commit Graph

32 Commits

Author SHA1 Message Date
Michael Drake 17abee0045 Namespace treeview node callback table. 2013-07-25 15:06:09 +01:00
Michael Drake ba576ad5d6 Guard for uninitalised history case. 2013-07-25 11:45:07 +01:00
Michael Drake a399e5aa70 Fix return type. 2013-07-25 11:42:04 +01:00
Michael Drake a4b5a8aed7 Unset built bool when fini is called. 2013-07-25 11:41:16 +01:00
Michael Drake ef05c2f6e6 Return correct error. 2013-07-25 11:07:40 +01:00
Michael Drake c6820e8402 Replace magic numbers with enum. 2013-07-24 23:03:16 +01:00
Michael Drake 07c2add5cc Add function to add to global history. Fix add_entry to actually add new entry after removing an existing one. Implement directory deletion. 2013-07-16 13:13:33 +01:00
Michael Drake 28a04f6da7 Reset entry url's urldb visit data when user deletes entry from global history. 2013-07-15 21:51:45 +01:00
Michael Drake 5616221064 Typedefs for internal treeview and treeview_node structs. 2013-07-03 13:48:53 +01:00
Michael Drake 4f238758db Don't allow empty folders. 2013-07-03 12:38:30 +01:00
Michael Drake c010535fbe Add treeview behaviour flags. 2013-07-03 11:19:16 +01:00
Michael Drake 4313d4c4ec Make flags for suppress resize. 2013-07-02 17:30:52 +01:00
Michael Drake 6014a35ed3 Implement entry launching. Currently only launches in new window. 2013-07-02 12:20:44 +01:00
Michael Drake 2476af4c65 Use messages for treeview labels. 2013-07-01 20:05:09 +01:00
Michael Drake 21cd01a9b3 Add quite param to insertion calls to suppress treeview height callback. 2013-07-01 16:16:11 +01:00
Michael Drake 743ffa2a46 Pass keypresses on to treeview. 2013-07-01 11:48:43 +01:00
Michael Drake 64eab40b18 Fix typo. 2013-06-18 20:10:08 +01:00
Michael Drake 4e0f960e3c Write up the rest of the fucntion comments. 2013-06-18 19:53:57 +01:00
Michael Drake 7cd0bacaf6 Create folders as they're required when entry is inserted. 2013-06-18 19:26:49 +01:00
Michael Drake 8c114cdfd8 Ensure global_history_delete_internal checks treeview node is NULL. Add various documentation comments. 2013-06-18 18:54:06 +01:00
Michael Drake a642cab1b7 Point at header for exported function commentary. 2013-06-18 17:26:36 +01:00
Michael Drake 146fea758f Global history finaliser does not need core_window stuff. 2013-06-18 17:25:23 +01:00
Michael Drake b04acde228 Set visits and last visited values. 2013-06-04 21:53:28 +01:00
Michael Drake d398caf146 Ensure there's a title. 2013-06-04 15:31:29 +01:00
Michael Drake 9919b77f19 Update for launch msg. 2013-06-04 15:11:24 +01:00
Michael Drake abf5512aff Make releationship enum meanings clearer. 2013-06-04 12:24:14 +01:00
Michael Drake cdf9c9ba72 Sort so newest at top. 2013-06-04 12:12:20 +01:00
Michael Drake a86dd68165 Lose excess logging. 2013-06-04 12:01:45 +01:00
Michael Drake dafe9a6208 Fix string length. 2013-06-03 18:40:49 +01:00
Michael Drake 8f3b8c8cfa Clean up history node deletion -- now treeview driven. Add select all, selection clear, has selection functions. Improve selection handling. Enable double click to toggle node expansion. Improve redraw behaviour. Make treeview call node callback for deletion. Fix redraw issues. 2013-06-03 17:06:47 +01:00
Michael Drake cf57827187 Add function to pass mouse input to treeview. 2013-05-31 13:25:49 +01:00
Michael Drake f656d8ca04 Add global history client for new treeview.
Loads from urldb.  Much faster load than old treeview based history.

TODO: Keep it up-to-date as you browse.
2013-05-31 10:08:59 +01:00