Vincent Sanders
c105738fa3
Change LOG() macro to be varadic
...
This changes the LOG macro to be varadic removing the need for all
callsites to have double bracketing and allows for future improvement
on how we use the logging macros.
The callsites were changed with coccinelle and the changes checked by
hand. Compile tested for several frontends but not all.
A formatting annotation has also been added which allows the compiler
to check the parameters and types passed to the logging.
2015-05-28 16:08:46 +01:00
Vincent Sanders
17be8cf216
Put the font operations table alongside all the other core API
...
The netsurf core is driven from numerous operation tables most of
which are now set through a common netsurf_register() interface. The
font and plotting interfaces are currently separate and unlike all the
other operation tables are modified for differing contexts.
This change moves the font operations alongside all the other
operations table and remove unnecessary interaction with the renderers
font internals. Further this also removes the need for css internals
to be visible in frontends.
2014-10-13 11:56:31 +01:00
Vincent Sanders
25c4ea7a6e
stop treeview redraw failing because of bad global state.
2014-07-21 11:54:21 +01:00
Vincent Sanders
db01637343
remove content include from urldb header
2014-07-17 00:18:44 +01:00
Vincent Sanders
2326d3c503
remove unecessary utils/url.h includes
2014-05-09 10:15:42 +01:00
Michael Drake
69da9a55e1
Assert a bit earlier when front end tries to redraw SSL cert viewer that it's destroyed.
2014-01-06 13:41:11 +00:00
Michael Drake
3d123d72fc
Enable front end to select treeview text size.
2013-09-09 13:11:36 +01:00
Michael Drake
267c630b88
Tidy up compatibility layer.
2013-09-04 15:13:53 +01:00
Michael Drake
472108576e
Make it more clear that tree.c is deprecated.
2013-09-02 22:58:18 +01:00
Michael Drake
49c7994d05
Remove bulk of old treeview implementation.
2013-09-02 16:19:16 +01:00
Michael Drake
fadaa306d0
Always redirect to the new treeview implementations.
2013-09-02 12:46:33 +01:00
Michael Drake
e2fbd3a266
Avoid copying rectangle for redraw_request calls.
2013-08-30 11:38:02 +01:00
Michael Drake
eaa04e3208
Fix pass-through for drag end.
2013-08-28 15:37:41 +01:00
Michael Drake
1e27299cf1
Inform when textarea drag is happening.
2013-08-21 13:54:00 +01:00
Michael Drake
5beac3085e
Implement get window dimensions for treeview test parasite.
2013-08-19 14:04:20 +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
7169b2fb01
Make treeview test parasite convert move drag enum type.
2013-08-16 20:03:18 +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
298ac7c329
Use the new ssl certificate viewer in all situations.
2013-08-13 14:09:15 +01:00
Michael Drake
da84e1a00a
Add SSL cert handling to treeview test hack.
2013-08-12 10:32:54 +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
Michael Drake
bc37046c6c
Pass drag state to core window user.
2013-07-01 15:10:45 +01:00
Michael Drake
6e5e741d53
Add temporary option to enable test of new treeview in bookmarks window.
2013-07-01 14:07:25 +01:00
Michael Drake
c862cd60ad
Make treeview test parasite trap keyboard action too.
2013-07-01 11:49:14 +01:00
Michael Drake
a1f5272f78
Update treeview test parasite to pass tree height changes on to front end.
2013-06-30 17:54:08 +01:00
Michael Drake
146fea758f
Global history finaliser does not need core_window stuff.
2013-06-18 17:25:23 +01:00
Michael Drake
a3c72894b9
Make test parasite pass drag end event to new treeview.
2013-06-15 15:50:41 +01:00
Michael Drake
aeb09c7329
Remove logging.
2013-06-03 20:10:19 +01:00
Michael Drake
8fda149bae
Make heights signed, to simplify comparison with struct rect values, which are signed.
2013-06-03 19:49:36 +01:00
Michael Drake
b959e6946d
Squash warning.
2013-05-31 21:02:56 +01:00
Michael Drake
e684218169
Merge branch 'master' of git://git.netsurf-browser.org/netsurf
2013-05-31 20:58:39 +01:00
Chris Young
864762cbe6
Merge branch 'chris/gadtools-53-5'
2013-05-31 19:59:58 +01:00
Michael Drake
03eb4ec30f
Implement redraw request hander for treeview test parsite.
2013-05-31 17:57:28 +01:00
Michael Drake
a669a7d12c
Make treeview test parasite sit on mouse input too.
2013-05-31 13:26:14 +01:00
Michael Drake
d939460872
Add parasitic hack to allow the new treeview to be tested in the Hotlist window.
...
(Tested with GTK front end only, so far.)
2013-05-31 10:11:22 +01:00
Vincent Sanders
ee6e6eec05
move options include
2013-05-28 14:16:10 +01:00
Chris Young
034ba7c2f2
Allow getting the node's icon
2013-05-18 16:35:48 +01:00
Vincent Sanders
52c5cccdeb
cleanup tree_create_leaf_node text ownership
2013-05-04 09:49:11 +01:00
Vincent Sanders
5c57a30047
cleanup title string ownership madness in the tree_create_folder_node() API
2013-05-03 21:17:11 +01:00
Michael Drake
0d831c4ab6
Scaled textarea rendering support. Ugly.
2013-02-08 23:25:40 +00:00
Michael Drake
442218cb80
Pull flags out of textarea_setup.
2013-02-02 22:58:35 +00:00
Michael Drake
663191791e
Add move caret msg. Add flag to choose internal caret or caret move msgs.
2013-01-30 18:01:01 +00:00
Michael Drake
93cc123200
Update textarea to inform client what it's doing with drags.
...
Now single callback for both redraw requests and drag reports.
Update treeview to use new textarea API.
Update Atari URL bar to use new textarea API. (Ignores drag reports, currently.)
Minor textarea fixes.
2013-01-29 17:34:08 +00:00
Michael Drake
c7a37392e4
Add background colour to textarea_redraw API. Add source comments.
2013-01-12 20:59:32 +00:00
Michael Drake
5124b8a02a
Add textarea_setup struct to textarea_create API.
2013-01-12 20:46:01 +00:00
Michael Drake
46b7691522
Start rationalising textarea widget.
2013-01-05 14:52:02 +00:00
Michael Drake
c8263d299e
Tree can't be NULL.
2012-10-11 14:06:48 +01:00
Michael Drake
8fabc6119c
Use gui_ interface to get system colours, rather than nosoption_.
...
svn path=/trunk/netsurf/; revision=13736
2012-03-27 10:34:38 +00:00
Chris Young
103c8703ec
Expose tree_setup_colours so it can be called from frontends if the system
...
colour scheme changes.
svn path=/trunk/netsurf/; revision=13730
2012-03-26 21:13:00 +00:00
Michael Drake
7831fda94d
Use system colours for treeview. Front ends must be updated to set them.
...
svn path=/trunk/netsurf/; revision=13705
2012-03-25 18:52:58 +00:00