Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | move core window API into netsurf header path | Vincent Sanders | 2016-08-18 | 1 | -1/+1 |
| | |||||
* | Treeview: Add `treeview_font_size` to options. | Michael Drake | 2016-08-11 | 1 | -5/+1 |
| | | | | Default is 11pt, and RISC OS overrides to 12pt. | ||||
* | Treeview: Rationalise initialisation and finalisation. | Michael Drake | 2016-08-10 | 1 | -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 header | Vincent Sanders | 2016-07-01 | 1 | -1/+1 |
| | |||||
* | remove unecessary textinput header use from treeview header | Vincent Sanders | 2016-06-30 | 1 | -3/+5 |
| | |||||
* | Allow include directories to be added by sub makefiles | Vincent Sanders | 2016-06-06 | 1 | -1/+1 |
| | |||||
* | Update content to split public and internal API | Vincent Sanders | 2016-06-06 | 1 | -2/+6 |
| | |||||
* | move plotters header into public API | Vincent Sanders | 2016-05-30 | 1 | -1/+1 |
| | |||||
* | move layout header into public API | Vincent Sanders | 2016-05-30 | 1 | -1/+1 |
| | |||||
* | move clipboard header into public API | Vincent Sanders | 2016-05-30 | 1 | -1/+1 |
| | |||||
* | move bitmap API header to core include directory | Vincent Sanders | 2016-05-26 | 1 | -1/+1 |
| | |||||
* | move the CSS content handler | Vincent Sanders | 2016-05-26 | 1 | -1/+1 |
| | |||||
* | move image content handlers to accomodate core build changes | Vincent Sanders | 2016-05-23 | 1 | -1/+1 |
| | |||||
* | split out the layout glyph sizing and splitting API | Vincent Sanders | 2016-04-23 | 1 | -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 varadic | Vincent Sanders | 2015-05-28 | 1 | -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 Sanders | 2015-04-13 | 1 | -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 Filipczyk | 2015-03-27 | 1 | -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 Drake | 2015-01-03 | 1 | -2/+102 |
| | |||||
* | Fix typo in comment. | Michael Drake | 2015-01-03 | 1 | -1/+1 |
| | |||||
* | fix up more doxygen errors | Vincent Sanders | 2014-11-08 | 1 | -3/+3 |
| | |||||
* | make global history treeview callback return error | Vincent Sanders | 2014-10-30 | 1 | -2/+3 |
| | | | | returns an error instead of directly waning the user. | ||||
* | Remove trailing whitespace. | Michael Drake | 2014-10-15 | 1 | -1/+1 |
| | |||||
* | Put the font operations table alongside all the other core API | Vincent Sanders | 2014-10-13 | 1 | -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 Drake | 2014-05-24 | 1 | -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 includes | Vincent Sanders | 2014-02-03 | 1 | -3/+5 |
| | |||||
* | stop system colours being anything to do with frontends | Vincent Sanders | 2014-01-10 | 1 | -7/+7 |
| | |||||
* | Fix for gcc2 flexible array declaration | François Revol | 2013-12-07 | 1 | -1/+1 |
| | |||||
* | Visual indication of hotlist's folder for unsorted entries, with special icon. | Michael Drake | 2013-11-08 | 1 | -3/+9 |
| | |||||
* | Apply plot offsets to overlays. | Michael Drake | 2013-10-26 | 1 | -6/+6 |
| | |||||
* | Remove unrequired NULL check. | Michael Drake | 2013-10-23 | 1 | -1/+1 |
| | |||||
* | Remove unreachable code. | Michael Drake | 2013-10-23 | 1 | -5/+1 |
| | |||||
* | Assert that root node is non-NULL. | Michael Drake | 2013-10-23 | 1 | -0/+2 |
| | |||||
* | Remove unnecessary check. | Michael Drake | 2013-10-23 | 1 | -2/+1 |
| | |||||
* | Fix deref before NULL check. | Michael Drake | 2013-10-23 | 1 | -0/+3 |
| | |||||
* | Assert target node is non-NULL. | Michael Drake | 2013-10-22 | 1 | -0/+1 |
| | |||||
* | LOG init/fini messages. | Michael Drake | 2013-10-11 | 1 | -1/+8 |
| | |||||
* | Set unused channel to 0xff, so that rendering isn't broken in front ends ↵ | Michael Drake | 2013-10-05 | 1 | -11/+11 |
| | | | | that don't heed the OPACITY flag. | ||||
* | Appease gtk front end's broken bitmap behaviour. | Michael Drake | 2013-10-03 | 1 | -0/+10 |
| | |||||
* | Init unused alpha channel to 0, even though we set the bitmaps as opaque. | Michael Drake | 2013-10-03 | 1 | -11/+11 |
| | |||||
* | Avoid NULL deref when deleting a node, causing empty ancestor nodes to be ↵ | Michael Drake | 2013-10-03 | 1 | -4/+4 |
| | | | | deleted. | ||||
* | Generate anti-aliased triangles in bitmaps and plot via bitmap plotter. ↵ | Michael Drake | 2013-10-02 | 1 | -101/+263 |
| | | | | (Without anti-aliasing was too ugly to be endured.) | ||||
* | Use polygon plotter for treeview furniture (node expansion/contraction ↵ | Michael Drake | 2013-10-02 | 1 | -23/+111 |
| | | | | triangles), instead of triangle text glyphs. | ||||
* | We return client data, not node. | Michael Drake | 2013-09-14 | 1 | -1/+5 |
| | |||||
* | Add functions to get first selected hotlist/global_history node data. | Michael Drake | 2013-09-13 | 1 | -0/+9 |
| | |||||
* | Enable front end to select treeview text size. | Michael Drake | 2013-09-09 | 1 | -2/+4 |
| | |||||
* | Protect against attempt to initialise twice. | Michael Drake | 2013-09-09 | 1 | -0/+8 |
| | |||||
* | Squash warning from older GCC. | Michael Drake | 2013-09-08 | 1 | -2/+2 |
| | |||||
* | Express logic to avoid confusing static analyser. | Michael Drake | 2013-09-05 | 1 | -1/+1 |
| | |||||
* | Express logic so that the static analyser can understand and not report NULL ↵ | Michael Drake | 2013-09-05 | 1 | -5/+4 |
| | | | | deref. | ||||
* | Remove a couple of dead stores. | Michael Drake | 2013-09-05 | 1 | -3/+2 |
| |