summaryrefslogtreecommitdiff
path: root/desktop/treeview.c
Commit message (Collapse)AuthorAgeFilesLines
* update invalidate area core window APIVincent Sanders2017-05-231-20/+20
| | | | | | | | slightly extends the invalidate core window API with error return and whole window invalidation. Also renames it to be more inline with browser window API call. cannot quite reuse browser window API yet as that applies scaling
* Change interface to system colours to allow reporting of errorsVincent Sanders2017-03-011-30/+59
| | | | | | Allow system colour interface to report errors instead of silently failing and propogate the errors. This also fixes teh system colour documentation.
* Improve treeview documentation commentsVincent Sanders2017-02-281-480/+794
|
* clean up incorrect documentation comments from plotter API reworkVincent Sanders2017-02-141-4/+4
|
* Update knockout plotter to use new APIVincent Sanders2017-02-111-1/+1
|
* Update all core use of plotters to new APIVincent Sanders2017-02-111-42/+53
|
* rationalise use of utils/utils.h headerVincent Sanders2017-01-191-0/+1
|
* Treeview: Add API for attaching and detaching from corewindows.Michael Drake2016-12-291-0/+29
|
* Treeview: Allow treeview to be created "detached".Michael Drake2016-12-291-2/+1
| | | | This allows treeviews to be constructed before their corewindow.
* Treeview: Don't call corewindow callbacks if not attached to a corewindow.Michael Drake2016-12-291-4/+12
|
* Treeview: Convert to using corewindow callback wrappers.Michael Drake2016-12-291-37/+35
|
* Treeview: Add wrappers for corewindow callbacks.Michael Drake2016-12-291-0/+58
| | | | Currently unused.
* Fix crash when treeview widget is reinitialisedVincent Sanders2016-12-281-0/+2
| | | | | | | The treeview widget can be repeatedly finialised and initialised. The content ready flag was not being cleard on initialisation so content was being used in an bad state. For example this caused an assert when content_redraw() was called on non-ready resource handles.
* move core window API into netsurf header pathVincent Sanders2016-08-181-1/+1
|
* Treeview: Add `treeview_font_size` to options.Michael Drake2016-08-111-5/+1
| | | | Default is 11pt, and RISC OS overrides to 12pt.
* Treeview: Rationalise initialisation and finalisation.Michael Drake2016-08-101-11/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* move key press enums and operations to their own headerVincent Sanders2016-07-011-1/+1
|
* remove unecessary textinput header use from treeview headerVincent Sanders2016-06-301-3/+5
|
* Allow include directories to be added by sub makefilesVincent Sanders2016-06-061-1/+1
|
* Update content to split public and internal APIVincent Sanders2016-06-061-2/+6
|
* move plotters header into public APIVincent Sanders2016-05-301-1/+1
|
* move layout header into public APIVincent Sanders2016-05-301-1/+1
|
* move clipboard header into public APIVincent Sanders2016-05-301-1/+1
|
* move bitmap API header to core include directoryVincent Sanders2016-05-261-1/+1
|
* move the CSS content handlerVincent Sanders2016-05-261-1/+1
|
* move image content handlers to accomodate core build changesVincent Sanders2016-05-231-1/+1
|
* split out the layout glyph sizing and splitting APIVincent Sanders2016-04-231-11/+11
| | | | | This refactors the core "font" sizing API to be handled through gui function tables similar to every other core/frontend calling API.
* Change LOG() macro to be varadicVincent Sanders2015-05-281-7/+7
| | | | | | | | | | | | 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.
* Move bitmap operations into an operation table.Vincent Sanders2015-04-131-31/+32
| | | | | | | The generic bitmap handlers provided by each frontend are called back from the core and therefore should be in an operation table. This was one of the very few remaining interfaces stopping the core code from being split into a library.
* To avoid namespace conflicts with ncurses add NetSurf key prefix.Witold Filipczyk2015-03-271-19/+19
| | | | Adds a NetSurf key code prefix of NS_ to all key codes.
* Add ability to copy text from marked fields in selected nodes to clipboard.Michael Drake2015-01-031-2/+102
|
* Fix typo in comment.Michael Drake2015-01-031-1/+1
|
* fix up more doxygen errorsVincent Sanders2014-11-081-3/+3
|
* make global history treeview callback return errorVincent Sanders2014-10-301-2/+3
| | | | returns an error instead of directly waning the user.
* Remove trailing whitespace.Michael Drake2014-10-151-1/+1
|
* Put the font operations table alongside all the other core APIVincent Sanders2014-10-131-4/+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.
* Fix hotlist and global_history _get_selection functions.Michael Drake2014-05-241-89/+98
| | | | | Broken when selection was folder, rather than entry. Renamed tree_node_flags lables to avoid TREE_NODE_NONE name clash.
* reduce desktop/browser.h unecessary includesVincent Sanders2014-02-031-3/+5
|
* stop system colours being anything to do with frontendsVincent Sanders2014-01-101-7/+7
|
* Fix for gcc2 flexible array declarationFrançois Revol2013-12-071-1/+1
|
* Visual indication of hotlist's folder for unsorted entries, with special icon.Michael Drake2013-11-081-3/+9
|
* Apply plot offsets to overlays.Michael Drake2013-10-261-6/+6
|
* Remove unrequired NULL check.Michael Drake2013-10-231-1/+1
|
* Remove unreachable code.Michael Drake2013-10-231-5/+1
|
* Assert that root node is non-NULL.Michael Drake2013-10-231-0/+2
|
* Remove unnecessary check.Michael Drake2013-10-231-2/+1
|
* Fix deref before NULL check.Michael Drake2013-10-231-0/+3
|
* Assert target node is non-NULL.Michael Drake2013-10-221-0/+1
|
* LOG init/fini messages.Michael Drake2013-10-111-1/+8
|
* Set unused channel to 0xff, so that rendering isn't broken in front ends ↵Michael Drake2013-10-051-11/+11
| | | | that don't heed the OPACITY flag.