Vincent Sanders
1f2946a710
remove unecessary exported function from plain text content handler
2020-07-27 22:56:17 +01:00
Vincent Sanders
ebe1b05114
improve desktop text search header usage
...
remove unecessary inclusion of desktop search header in content
header which has knock on effect of not having ctype or string
system headers dragged in unecessarily.
Futher this highlighted use of ctype API where internal ascii
processing ought to be used.
2020-06-24 23:49:59 +01:00
Vincent Sanders
dbe63210cf
fix use of uninitialised warning on older gcc
2020-05-23 23:48:38 +01:00
Vincent Sanders
5ce8f0baf1
make text selection context an opaque interface
2020-05-23 23:33:52 +01:00
Vincent Sanders
6108d210d5
remove all direct access to selection structure
2020-05-23 23:00:08 +01:00
Vincent Sanders
1161029d29
remove unecessary content handler specific selection creation
2020-05-23 23:00:08 +01:00
Vincent Sanders
2ea577c47e
remove unused is_html parameter to text selection routines
2020-05-23 23:00:08 +01:00
Vincent Sanders
a8c540ea59
move content specific selection end to content handlers
2020-05-23 23:00:08 +01:00
Vincent Sanders
cfe57002fe
remove unused css length usage in selection
2020-05-23 23:00:08 +01:00
Vincent Sanders
e65e41e2d6
move content handler specific selection copying into handlers
2020-05-23 23:00:08 +01:00
Vincent Sanders
36b9262e14
split selection redraw into content handler specific implementations
2020-05-23 23:00:08 +01:00
Vincent Sanders
4cef0f955c
pass the browser window to selection click handler
...
this means the content handlers do not have to provide a separate
method to extract their browser window and it can simply be
passed in.
2020-05-20 23:17:48 +01:00
Vincent Sanders
6fe2f7de47
do not export texplain interfaces unnecessarily
2020-05-19 23:38:34 +01:00
Vincent Sanders
f4e50b45c8
make free text search content handler agnostic
2020-05-12 23:22:05 +01:00
Vincent Sanders
3c7538a9f9
hoist common text search out of content handlers
2020-05-12 21:09:41 +01:00
Vincent Sanders
a8596a80ae
move free text search general interface to content.
...
needs additional cleanup to call content through handler table to
perform searches.
2020-05-10 23:22:29 +01:00
Vincent Sanders
e72ca36863
remove unecessary includes
2020-05-10 15:15:33 +01:00
Vincent Sanders
ab952e0634
improve content header usage
2020-05-07 20:55:44 +01:00
Vincent Sanders
185d034323
make mouse track and mouse action content handlers return an error code
2019-11-12 22:48:00 +00:00
Daniel Silverstone
2be3ebd918
content: Rename content_broadcast_errorcode()
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-05 15:25:15 +01:00
Vincent Sanders
c2fa6af0ff
make content close check the content status itself
...
make content handler open and close return error status
2019-07-10 16:42:52 +01:00
Vincent Sanders
35bc2ccbb8
change content get_source_data interfaces to return uint8_t and size_t
...
previously these interfaces returned char * and unsigned int which was
undesirable.
2019-05-05 22:50:25 +01:00
Michael Drake
9fa6c1e0fb
Text handling: Display application/json, rather than offering download.
2018-08-14 16:15:12 +01:00
Michael Drake
a58d97a41a
Plotters: Add plot_style_fixed type, and use for font size.
2018-05-23 11:48:35 +01:00
Vincent Sanders
2a03ea3049
move html and text content handlers where they belong
2018-05-10 13:37:02 +01:00