Commit Graph

68 Commits

Author SHA1 Message Date
Vincent Sanders 654da2ffb5 move utf8 conversion routines to use nserror instead of their own error enum 2014-01-28 21:40:13 +00:00
Chris Young 3f591e575d Modify conflicting Messages entry 2013-11-17 16:36:51 +00:00
Michael Drake b547e1205b Use messages for translations instead of string literals. 2013-11-11 14:32:07 +00:00
Michael Drake 61b5a5e98f Visual indication of hotlist's folder for unsorted entries, with special icon. 2013-11-08 18:53:34 +00:00
Michael Drake 53a6d6becd Show "-" for last visit date/time when visits count is 0. 2013-10-23 13:20:43 +01:00
Michael Drake f814debfe2 Remove unreachable safty net. 2013-10-23 10:21:36 +01:00
Michael Drake 951ad51cd4 Add functions to get first selected hotlist/global_history node data. 2013-09-13 14:24:25 +01:00
Michael Drake 7f31b2c776 Fix use after unref. 2013-09-08 19:28:57 +01:00
Michael Drake 2468d00675 Check for error as soon as we have return value. 2013-09-05 13:06:53 +01:00
Michael Drake 411e367add Various tidyups to make ownership more clear. 2013-09-05 12:54:15 +01:00
Michael Drake 5d3362be81 Fix dead assignments. 2013-09-05 11:55:49 +01:00
Michael Drake 84b90853b5 Fix dead assignement. 2013-09-05 11:53:19 +01:00
Michael Drake 393dee4fd7 Squash leak in error case. 2013-09-03 20:01:05 +01:00
Michael Drake 541724fb0d Add hotlist iteration function. 2013-09-03 19:43:59 +01:00
Michael Drake f477fd2570 Remove height getters from treeview client modules API. 2013-09-03 14:44:53 +01:00
Michael Drake b9e3f7ae3d Ensure tree height is provided when treeview building is complete. 2013-09-03 14:38:01 +01:00
Michael Drake c2375339a1 Add recursive expand/contract functions to hotlist, global history, and cookie manager modules. 2013-09-03 11:28:02 +01:00
Michael Drake cf8ffa412a Remove old hotlist, cookies, and history_global_core modules.
New versions of expand/collapse node functions for these modules aren't yet implemented.
2013-09-02 22:41:04 +01:00
Michael Drake 09f5b0e95f Improve callback suppression options. Reduce unnecessary callback usage. 2013-08-30 12:51:40 +01:00
Michael Drake afaf24378b Add flag to suppress redraw on node creation. 2013-08-29 18:31:58 +01:00
Michael Drake bc0571b9dc Better handling of added entry titles. 2013-08-29 13:08:04 +01:00
Michael Drake 91018643db Expose a bit more core treeview functionality for hotlist clients. 2013-08-28 14:13:02 +01:00
Michael Drake 45d3b9162c Move default title generation from _fini to _export. 2013-08-28 11:14:33 +01:00
Michael Drake a61e74714d Give export walk ctx clearer name. 2013-08-28 11:05:21 +01:00
Michael Drake eec80c561c Expose hotlist_export. 2013-08-28 10:59:56 +01:00
Michael Drake 39b68d0b83 Ensure url is unreffed. 2013-08-27 21:01:35 +01:00
Michael Drake 77a090e9d0 Functions to add entry/folder at y-coord or at selection. 2013-08-27 20:56:43 +01:00
Michael Drake 4bf5ec0dad Unset default folder when it gets deleted. 2013-08-27 13:31:40 +01:00
Michael Drake fb9353f220 Use Messages for default folder name. 2013-08-27 12:44:01 +01:00
Michael Drake 00f108f4a2 Add new entries to default folder. 2013-08-27 11:57:31 +01:00
Michael Drake b7bc3deb7f Load and save default folder ID. 2013-08-27 11:40:12 +01:00
Michael Drake 2c3d2e5f8e Add function to update visited data for hotlist entries. 2013-08-23 19:49:06 +01:00
Michael Drake 44e33001d7 Add function to remove any entries with given URL. 2013-08-23 18:26:18 +01:00
Michael Drake 184650c7d8 Add function to determine whether URL is in hotlist. 2013-08-23 17:30:31 +01:00
Michael Drake f0749394d1 Add Hotlist export/save support. 2013-08-22 16:06:06 +01:00
Michael Drake 7e6079ea49 Complete editing of entry title and URL values. 2013-08-20 20:04:42 +01:00
Michael Drake 50efc3be3c Act on node edit request message for folders. 2013-08-20 20:04:42 +01:00
Michael Drake f389c7ad6e Set allow edit flag on title and url fields. 2013-08-18 17:16:47 +01:00
Michael Drake 7bd57563e1 Set appropriate treeview flags. 2013-08-16 20:01:58 +01:00
Michael Drake 2c695bc2fa Use abstracted folder creation. 2013-08-16 08:25:26 +01:00
Michael Drake 32ae7b5117 Add generator for default hotlist. 2013-08-16 08:25:25 +01:00
Michael Drake e13e72357d Set built=false after destruction. 2013-08-16 08:25:25 +01:00
Michael Drake 82f5cd33a0 Implement simplisitic hotlist_add function. Need to improve where new entries are placed. (See TODO comment.) 2013-08-16 08:25:25 +01:00
Michael Drake 952ab7b6e4 Move urldb data acquisition so it doesn't need to be duplicated when there are other entry points. 2013-08-16 08:25:25 +01:00
Michael Drake ec7e1f71c4 Tidy some comments. 2013-08-16 08:25:25 +01:00
Michael Drake da557af967 Slight simplification. 2013-08-16 08:25:25 +01:00
Michael Drake 58315b9673 Minor tweaking. 2013-08-16 08:25:25 +01:00
Michael Drake 8b83456c02 Beginnings of new hotlist module, implemented with new treeview.
Currently it can only open, display and launch entries in an existing hotlist file.

TODO:
  - Generate defualt hotlist when file not found.
  - Add hotlist saving.
  - Allow adding to hotlist.
  - Allow hotlist editing.
  - Allow hotlist nodes to be moved by dragging.
  - Allow hotlist visit data to be updated.
2013-08-16 08:25:25 +01:00
Michael Drake eaae716989 Move old hotlist out of the way. 2013-08-13 12:41:04 +01:00
Michael Drake 2bd587add5 Make the parasitic hack of the old tree code more robust. Now if the temp_treeview_test option is set, the global history and cookie manager will be replaced with their respective new implementations. 2013-07-26 14:48:26 +01:00