summaryrefslogtreecommitdiff
path: root/desktop/tree.c
Commit message (Collapse)AuthorAgeFilesLines
* move core window API into netsurf header pathVincent Sanders2016-08-181-1/+1
|
* Treeview: Rationalise initialisation and finalisation.Michael Drake2016-08-101-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the expected behaviour for front ends using the correct API for hotlist, global history, cookie manager, and ssl cert viewer was that the front end would initialise the treeview module on startup and finalise it on application exit. However, this meant that the front ends had to include the core treeview header, which they didn't otherwise need. Since the tree module provided access to the new treeview utilities through the old tree API, and was used by front ends with no changes for the new treeview API, the tree layer refcounted initialisations of treeview-based widgets, and only called the underlying treeview init/fini functions when needed. This change moves that refcounting into the treeview module. Now the hotlist, global history, cookie manager, and ssl cert viewer widgets call call treeview init/fini as part of their own initialisation and finalisation. This means that front ends using the correct APIs for treeview-based widgets don't need to know anything about the underlying treeview, and the tree module compatibility layer has had its treeview refcounting removed. Finally, the treeview_init function took a font size parameter. Now it does not and lit gets font size from config. We probably want to add a new `treeview_font_size` option to nsoptions, and have differnent defaults on different platforms. 12pt on RISC OS, and 11pt elsewhere, most likely.
* remove unecessary textinput header use from treeview headerVincent Sanders2016-06-301-2/+3
|
* move desktop window header into public APIVincent Sanders2016-05-301-1/+1
|
* move misc header into public APIVincent Sanders2016-05-301-1/+1
|
* move the CSS content handlerVincent Sanders2016-05-261-1/+0
|
* remove all core usage of warn_user APIVincent Sanders2016-04-261-9/+11
|
* Change LOG() macro to be varadicVincent Sanders2015-05-281-1/+1
| | | | | | | | | | | | 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.
* Put the font operations table alongside all the other core APIVincent Sanders2014-10-131-5/+6
| | | | | | | | | | | | 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.
* stop treeview redraw failing because of bad global state.Vincent Sanders2014-07-211-1/+3
|
* remove content include from urldb headerVincent Sanders2014-07-171-2/+0
|
* remove unecessary utils/url.h includesVincent Sanders2014-05-091-1/+0
|
* Assert a bit earlier when front end tries to redraw SSL cert viewer that ↵Michael Drake2014-01-061-0/+13
| | | | it's destroyed.
* Enable front end to select treeview text size.Michael Drake2013-09-091-1/+1
|
* Tidy up compatibility layer.Michael Drake2013-09-041-74/+47
|
* Make it more clear that tree.c is deprecated.Michael Drake2013-09-021-59/+8
|
* Remove bulk of old treeview implementation.Michael Drake2013-09-021-2973/+29
|
* Always redirect to the new treeview implementations.Michael Drake2013-09-021-20/+0
|
* Avoid copying rectangle for redraw_request calls.Michael Drake2013-08-301-4/+6
|
* Fix pass-through for drag end.Michael Drake2013-08-281-5/+2
|
* Inform when textarea drag is happening.Michael Drake2013-08-211-0/+3
|
* Implement get window dimensions for treeview test parasite.Michael Drake2013-08-191-0/+4
|
* Use extern on tree.c globals. (These go away when front ends can use the ↵Michael Drake2013-08-181-0/+3
| | | | new treeview modules directly.)
* Make treeview test parasite convert move drag enum type.Michael Drake2013-08-161-0/+5
|
* Beginnings of new hotlist module, implemented with new treeview.Michael Drake2013-08-161-0/+26
| | | | | | | | | | | | 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.
* Use the new ssl certificate viewer in all situations.Michael Drake2013-08-131-28/+51
|
* Add SSL cert handling to treeview test hack.Michael Drake2013-08-121-0/+26
|
* Make the parasitic hack of the old tree code more robust. Now if the ↵Michael Drake2013-07-261-33/+70
| | | | temp_treeview_test option is set, the global history and cookie manager will be replaced with their respective new implementations.
* Pass drag state to core window user.Michael Drake2013-07-011-2/+21
|
* Add temporary option to enable test of new treeview in bookmarks window.Michael Drake2013-07-011-18/+45
|
* Make treeview test parasite trap keyboard action too.Michael Drake2013-07-011-0/+10
|
* Update treeview test parasite to pass tree height changes on to front end.Michael Drake2013-06-301-0/+3
|
* Global history finaliser does not need core_window stuff.Michael Drake2013-06-181-1/+1
|
* Make test parasite pass drag end event to new treeview.Michael Drake2013-06-151-0/+5
|
* Remove logging.Michael Drake2013-06-031-2/+1
|
* Make heights signed, to simplify comparison with struct rect values, which ↵Michael Drake2013-06-031-1/+2
| | | | are signed.
* Squash warning.Michael Drake2013-05-311-1/+1
|
* Merge branch 'master' of git://git.netsurf-browser.org/netsurfMichael Drake2013-05-311-0/+11
|\
| * Merge branch 'chris/gadtools-53-5'Chris Young2013-05-311-0/+11
| |\
| | * Allow getting the node's iconChris Young2013-05-181-0/+11
| | |
* | | Implement redraw request hander for treeview test parsite.Michael Drake2013-05-311-0/+5
| | |
* | | Make treeview test parasite sit on mouse input too.Michael Drake2013-05-311-0/+11
| | |
* | | Add parasitic hack to allow the new treeview to be tested in the Hotlist window.Michael Drake2013-05-311-0/+98
|/ / | | | | | | (Tested with GTK front end only, so far.)
* / move options includeVincent Sanders2013-05-281-1/+1
|/
* cleanup tree_create_leaf_node text ownershipVincent Sanders2013-05-041-35/+33
|
* cleanup title string ownership madness in the tree_create_folder_node() APIVincent Sanders2013-05-031-26/+12
|
* Scaled textarea rendering support. Ugly.Michael Drake2013-02-081-1/+1
|
* Pull flags out of textarea_setup.Michael Drake2013-02-021-2/+4
|
* Add move caret msg. Add flag to choose internal caret or caret move msgs.Michael Drake2013-01-301-1/+1
|
* Update textarea to inform client what it's doing with drags.Michael Drake2013-01-291-42/+51
| | | | | | | 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.