Commit Graph

9395 Commits

Author SHA1 Message Date
Michael Drake
bc0571b9dc Better handling of added entry titles. 2013-08-29 13:08:04 +01:00
Michael Drake
c56560c2ac Suppress most fbtk logging when FBTK_LOGGING is unset. 2013-08-29 12:28:37 +01:00
Michael Drake
a1eb1dec73 LOG macro terminates line itself. 2013-08-29 12:27:47 +01:00
Michael Drake
5ca6862a87 FONT_SIZE_SCALE is for preserving fractional parts, so use it properly. 2013-08-29 12:04:37 +01:00
Michael Drake
7a25b6aaee Fix one px missmatch between click and drag handling of node selection. 2013-08-28 15:59:00 +01:00
Michael Drake
eaa04e3208 Fix pass-through for drag end. 2013-08-28 15:37:41 +01:00
Michael Drake
cb92b7d341 Cleanup mouse handling a bit. 2013-08-28 15:20:41 +01:00
Michael Drake
bd39d108db Add a few functions for front ends to use. 2013-08-28 14:23:22 +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
bc14d492d2 Add height getter. 2013-08-28 14:12:30 +01:00
Michael Drake
28dec67c64 Remove select all and clear selection functions from public API. Clients can send KEY_SELECT_ALL and KEY_CLEAR_SELECTION to the keypress handler. 2013-08-28 13:36:15 +01:00
Michael Drake
826b392b57 Simple treeview_edit_selection implementation. 2013-08-28 12:58:41 +01:00
Michael Drake
fbfe5ab17b Function for global history export. 2013-08-28 11:43:34 +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
43d1e777df Function to get releations for node entry. 2013-08-27 20:56:20 +01:00
Michael Drake
52937b9763 Update new hotlist 2013-08-27 13:46:36 +01:00
Michael Drake
fd1a94a751 Update the new hotlist on visits. 2013-08-27 13:38:23 +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
1212f1d321 Expose leaving node callback in public treeview walker interface. 2013-08-22 16:05:03 +01:00
Michael Drake
1e27299cf1 Inform when textarea drag is happening. 2013-08-21 13:54:00 +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
71676165c1 Add folder node update function. 2013-08-20 20:04:42 +01:00
Chris Young
011ba501a7 Make some global DrawInfo local to the function it is needed in. 2013-08-20 19:43:13 +01:00
Chris Young
1761d390de Slightly better layouting 2013-08-20 19:39:18 +01:00
Michael Drake
9e29ef4bdd Pass edit message to treeview client, when editing ends. 2013-08-20 15:44:24 +01:00
Michael Drake
a9e92e335c Fix node insertion ancestor height updating having cumulative effect. 2013-08-20 15:02:09 +01:00
Michael Drake
9f3a83da66 Tidy edit start click behaviour, with existing selections. 2013-08-19 14:41:12 +01:00
Michael Drake
385af23fbe Start of treeview node edit support. Internal treeview part is mostly done. It now needs to inform the client (only hotlist allows edit), of the change. And the hotlist needs to handle the change request message and update the node. 2013-08-19 14:23:44 +01:00
Michael Drake
5beac3085e Implement get window dimensions for treeview test parasite. 2013-08-19 14:04:20 +01:00
Michael Drake
0e00654681 Mention behaviour when params are NULL in comment. 2013-08-19 14:03:36 +01:00
Chris Young
b686daea8c Squash warning 2013-08-18 17:28:40 +01:00
Michael Drake
acaa3f16e8 Merge branch 'master' of git://git.netsurf-browser.org/netsurf 2013-08-18 17:19:17 +01:00
Michael Drake
0ae3bfde8a Use extern on tree.c globals. (These go away when front ends can use the new treeview modules directly.) 2013-08-18 17:17:41 +01:00
Michael Drake
f389c7ad6e Set allow edit flag on title and url fields. 2013-08-18 17:16:47 +01:00
Chris Young
d6e975ce50 Merge branch 'chris/gadtools-53-6' 2013-08-18 15:22:31 +01:00
Chris Young
1238afdfc8 Remove unused 2013-08-18 15:20:39 +01:00
Chris Young
4a70c21215 Construct the menu in a new function, which also does basic layouting of any image menus. 2013-08-18 15:15:12 +01:00
Michael Drake
fd961c6dfa Ensure ctrl modifier is handled, by dealing with it before no-modifiers case. 2013-08-18 13:22:57 +01:00