Commit Graph

9379 Commits

Author SHA1 Message Date
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
Michael Drake 5aa5eb9d6f Ensure nodes within contracted nodes are unselected. 2013-08-17 23:52:48 +01:00
Michael Drake 5f32ac1858 Fix clang warning. 2013-08-17 20:20:49 +01:00
Michael Drake 4ab7ad6bd2 Implement node moving drags. 2013-08-17 19:39:17 +01:00
Michael Drake e5a4c3d4c9 Find the top y value of selections for indicator pos. 2013-08-17 14:37:24 +01:00
Michael Drake d1cd950327 Improve keyboard nav slightly. 2013-08-17 13:40:05 +01:00
Michael Drake e1468a78df Fix keyboard nav redraw when treeview height decreases as a result of keypress. Reduce some variable name lengths. 2013-08-17 13:27:38 +01:00
Michael Drake e17e56b0cc Move drops over selection target top of selected run. 2013-08-17 13:22:40 +01:00
Michael Drake 59ea55ef3d Propagate selection to visible descendant nodes when a move drag is started with folder selected. 2013-08-17 12:51:08 +01:00
Michael Drake dee0cb0380 Optimise drop indicator redraw area. 2013-08-17 11:48:16 +01:00
Michael Drake d8bf6c2216 Remove unused structure member. 2013-08-16 23:13:25 +01:00
Michael Drake 29b6185ab1 Do indicator redraw after everything else is done, to simplify things. 2013-08-16 23:08:57 +01:00
Michael Drake b699169d0b Group the move details, for clarity. 2013-08-16 21:40:45 +01:00
Michael Drake 304523553c Start optimising drop indicator redraw. 2013-08-16 20:34:41 +01:00
Michael Drake a9cad3cfa8 Begin move handling. Currently only moves the drop target indicator during drags. Nothing actually gets moved. 2013-08-16 20:06:08 +01:00
Michael Drake 7169b2fb01 Make treeview test parasite convert move drag enum type. 2013-08-16 20:03:18 +01:00
Michael Drake 15c1ad7eea Add move drag type. 2013-08-16 20:02:49 +01:00