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
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
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
Michael Drake
7bd57563e1
Set appropriate treeview flags.
2013-08-16 20:01:58 +01:00
Michael Drake
5f4c624c5b
Slight refactor of drag end handling, for future handling of more types of drag.
2013-08-16 12:23:37 +01:00
Michael Drake
2dc8b64153
Add comment.
2013-08-16 11:17:45 +01:00
Michael Drake
285fe734bc
Rename "section" to "part".
2013-08-16 11:15:16 +01:00
Michael Drake
9d624ce17f
Inform front end when drag starts below nodes too.
2013-08-16 08:25:26 +01:00
Michael Drake
2ba2fcc7b6
Add selection to enum.
2013-08-16 08:25:26 +01:00
Michael Drake
2a3ff41e14
Flag a TODO.
2013-08-16 08:25:26 +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
ee7df2761f
Make dom node children iterator return nserror.
2013-08-16 08:25:24 +01:00
Michael Drake
473738083b
Fix several comments about return type.
2013-08-16 08:25:24 +01:00
Michael Drake
298ac7c329
Use the new ssl certificate viewer in all situations.
2013-08-13 14:09:15 +01:00
Michael Drake
1e64ca5f44
Remove old sslcert module.
2013-08-13 13:52:21 +01:00
Michael Drake
bf11033987
Remove unused flags.
2013-08-13 13:43:08 +01:00
Michael Drake
eaae716989
Move old hotlist out of the way.
2013-08-13 12:41:04 +01:00
Michael Drake
da84e1a00a
Add SSL cert handling to treeview test hack.
2013-08-12 10:32:54 +01:00
Michael Drake
5520b2ca92
Clear out most of old sslcert module.
2013-08-12 10:31:32 +01:00
Michael Drake
d89b5e2678
Build SSL certificate viewer module.
2013-08-12 10:30:24 +01:00
Michael Drake
4a9e4a676f
First pass at new ssl certificate chain viewer module.
2013-08-11 22:11:05 +01:00
Michael Drake
b770130a8b
Improve namespacing of enum values.
2013-07-26 15:20:19 +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