Commit Graph

9338 Commits

Author SHA1 Message Date
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
c3ca5ab979 Fix treeview code's inconsistant application of the plot origin. (Fixes various redraw glitches.) 2013-08-16 10:05:21 +01:00
Michael Drake
8a87058dc2 Remove pointless clipping. Move some calculations out of function call params to make them more readable. 2013-08-16 09:49:59 +01:00
Michael Drake
c716a53bed Make the no_font_blending toggle. 2013-08-16 09:28:56 +01:00
Michael Drake
2b0a98bd47 Avoid background blending overhead for treeview text. 2013-08-16 09:15:50 +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
46c74777a2 Pass mouse coords to treeview during drag. Note, we now get a warning when mouse leaves window during drag. 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
ff9155273e Update messages for default hotlist entries. 2013-08-16 08:25:25 +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
2dc99f9ae7 Allow the other front ends to use the hotlist test too. 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
8c11cfcd9d Add treeview folder label for hotlist. 2013-08-16 08:25:24 +01:00
Chris Young
b11b18f258 Correct path 2013-08-15 18:21:12 +01:00
Chris Young
fd206d98e9 Add missing icons to package 2013-08-15 18:09:05 +01:00
Chris Young
03328e23e7 Non-working AISS icon redirect 2013-08-15 18:02:04 +01:00
Michael Drake
65a94d5b02 Merge branch 'master' of git://git.netsurf-browser.org/netsurf 2013-08-13 14:11:34 +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
4a01ef9e7a Avoid sslcert_get_tree_flags. 2013-08-13 13:48:53 +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
f0b8594c46 Add arrow image to resource icons. 2013-08-12 16:34:14 +01:00
Michael Drake
503999437b Add left pointing arrow for indicating treeview drag target. 2013-08-12 16:30:34 +01:00
Michael Drake
40e4530433 Use new SSL certificate viewer. 2013-08-12 11:44:36 +01:00
Michael Drake
7b8a2a0db7 Use new SSL certificate viewer. 2013-08-12 11:44:13 +01:00