summaryrefslogtreecommitdiff
path: root/desktop/treeview.c
Commit message (Collapse)AuthorAgeFilesLines
* Treeview: Ignore mouse leaving the treeview window.Michael Drake2017-09-271-0/+5
|
* Treeview: Deactivate search on cancel.Michael Drake2017-09-251-0/+1
|
* Treeview: When expanding nodes in search view, adjust height only for ↵Michael Drake2017-09-221-1/+3
| | | | matching entries.
* Treeview: Ensure we know our treeview when doing treeview node collapse.Michael Drake2017-09-221-0/+1
|
* Treeview: Cancel any search when treeview is detatched from its corewindow.Michael Drake2017-09-221-0/+2
|
* Treeview: Split out search cancel functionality.Michael Drake2017-09-221-7/+32
|
* Treeview: Destroy search first on treeview destruction.Michael Drake2017-09-181-4/+6
|
* Treeview: Avoid searching empty treeview.Michael Drake2017-09-181-0/+4
|
* Treeview: Handle node expansion on switch between search and normal view.Michael Drake2017-09-181-17/+27
|
* Treeview: Update search filtered display on treeview changes.Michael Drake2017-09-181-175/+206
|
* Treeview: Update search bar display when it loses focus.Michael Drake2017-09-181-1/+5
|
* Treeview: Only let search textarea consume mouse if not dragging.Michael Drake2017-09-181-1/+3
|
* Treeview: Update mouse handling details for filtered view.Michael Drake2017-09-181-7/+12
| | | | | No moves are allowed in viltered view. Node indents are constant in filtered view.
* Treeview: Update treeview walker to handle walking the filtered display.Michael Drake2017-09-181-63/+137
|
* Treeview: Track height of display in search view.Michael Drake2017-09-181-6/+33
|
* Treeview: Slight simplification of treeview_walk_internal().Michael Drake2017-09-181-4/+2
|
* Treeview: Fix function namespace.Michael Drake2017-09-181-22/+22
|
* Treeview: Scroll to top when treeview search bar is modified.Michael Drake2017-09-181-1/+22
|
* Treeview: Add support for rendering search filter matches as-you-type.Michael Drake2017-09-101-1/+230
|
* Treeview: Split tree-style treeview rendering out into helper.Michael Drake2017-09-101-122/+150
|
* Treeview: Add node matching to search text modification callback.Michael Drake2017-09-101-3/+131
|
* Treeview: Improve some code wrapping.Michael Drake2017-09-101-10/+9
|
* Treeview: Ensure window extents take account of search bar presence.Michael Drake2017-09-101-2/+9
|
* Treeview: Add keypress handling to the search bar.Michael Drake2017-09-101-1/+18
|
* Treeview: Handle mouse clicks on search bar.Michael Drake2017-09-101-0/+17
|
* Treeview: Update treeview mouse handling to offset for search bar presence.Michael Drake2017-09-101-5/+10
|
* Treeview: Add search bar rendering to redraw function.Michael Drake2017-09-101-0/+34
|
* Treeview: Create and destroy a textarea for search.Michael Drake2017-09-101-43/+123
|
* Treeview: Add search drag type to enumeration.Michael Drake2017-09-101-1/+2
|
* Treeview: Split out textarea construction helper.Michael Drake2017-09-091-22/+44
|
* Use coccinelle to change logging macro calls in c filesVincent Sanders2017-09-061-9/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | for F in $(git ls-files '*.c');do spatch --sp-file foo.cocci --in-place ${F};done @@ expression E; @@ -LOG(E); +NSLOG(netsurf, INFO, E); @@ expression E, E1; @@ -LOG(E, E1); +NSLOG(netsurf, INFO, E, E1); @@ expression E, E1, E2; @@ -LOG(E, E1, E2); +NSLOG(netsurf, INFO, E, E1, E2); @@ expression E, E1, E2, E3; @@ -LOG(E, E1, E2, E3); +NSLOG(netsurf, INFO, E, E1, E2, E3); @@ expression E, E1, E2, E3, E4; @@ -LOG(E, E1, E2, E3, E4); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4); @@ expression E, E1, E2, E3, E4, E5; @@ -LOG(E, E1, E2, E3, E4, E5); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5); @@ expression E, E1, E2, E3, E4, E5, E6; @@ -LOG(E, E1, E2, E3, E4, E5, E6); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5, E6); @@ expression E, E1, E2, E3, E4, E5, E6, E7; @@ -LOG(E, E1, E2, E3, E4, E5, E6, E7); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5, E6, E7);
* 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
|