summaryrefslogtreecommitdiff
path: root/content/handlers/html
Commit message (Collapse)AuthorAgeFilesLines
* fix erronenous child variable assignmentVincent Sanders2020-07-121-1/+1
|
* ensure the html layout is present for text selectionVincent Sanders2020-07-121-1/+17
| | | | | | | | | The text selection operations can be called regardless of when the html layout box tree is actually available (e.g. if it is still loading when opened) This change ensures the layout box tree is available before attempting to traverse it for a selection operation.
* remove unecessary use of gui_internal in contentVincent Sanders2020-06-253-4/+0
|
* remove unesessary header use in protected contentVincent Sanders2020-06-251-0/+2
|
* improve desktop text search header usageVincent Sanders2020-06-245-0/+7
| | | | | | | | | 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.
* use the ascii locale safe handling instead of ctype APIVincent Sanders2020-06-241-5/+6
|
* remove box handling from browser windowVincent Sanders2020-05-253-18/+4
|
* commit a neatness in teh html content handler text selection codeVincent Sanders2020-05-241-173/+149
|
* make text selection context an opaque interfaceVincent Sanders2020-05-234-19/+21
|
* remove all direct access to selection structureVincent Sanders2020-05-232-9/+3
|
* remove unecessary content handler specific selection creationVincent Sanders2020-05-233-22/+0
|
* remove unused is_html parameter to text selection routinesVincent Sanders2020-05-232-4/+2
|
* move content specific selection end to content handlersVincent Sanders2020-05-233-4/+57
|
* remove unused css length usage in selectionVincent Sanders2020-05-233-2/+3
|
* move content handler specific selection copying into handlersVincent Sanders2020-05-233-0/+230
|
* split selection redraw into content handler specific implementationsVincent Sanders2020-05-234-21/+344
|
* Canvas: Move bitmap management to the 2D render contextDaniel Silverstone2020-05-231-152/+0
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* html: Handle canvas width/height stated explicitly in pxDaniel Silverstone2020-05-221-2/+2
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* html: Don't both building a bitmap if we're not rendering itDaniel Silverstone2020-05-221-0/+7
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* html: Handle canvas in redrawDaniel Silverstone2020-05-221-1/+29
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* html: set up canvas box properlyDaniel Silverstone2020-05-221-0/+7
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* html: Add canvas node handling in dom_eventDaniel Silverstone2020-05-221-0/+133
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Squash warning: "_GNU_SOURCE" redefined.Michael Drake2020-05-221-2/+0
| | | | The utils/config.h header handles this.
* pass the browser window to selection click handlerVincent Sanders2020-05-203-21/+1
| | | | | | 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.
* make free text search content handler agnosticVincent Sanders2020-05-121-0/+150
|
* hoist common text search out of content handlersVincent Sanders2020-05-124-97/+15
|
* move free text search general interface to content.Vincent Sanders2020-05-107-769/+31
| | | | | needs additional cleanup to call content through handler table to perform searches.
* improve content header usageVincent Sanders2020-05-076-0/+7
|
* clean up content headers and documentation commentsVincent Sanders2020-05-067-4/+10
| | | | pure formatting and documentation changes, no code difference
* remove junk content_add_error apiVincent Sanders2020-05-063-5/+0
|
* split dom event handling into separate moduleVincent Sanders2020-05-054-727/+837
|
* Clean up html content dom element insertion processingVincent Sanders2020-05-052-89/+159
|
* remove the forward references in html form internal handlingVincent Sanders2020-05-032-549/+615
|
* remove forward delcarations and clean up formatting in html table layout ↵Vincent Sanders2020-05-032-581/+561
| | | | processing
* Improve hsndling of html content objects with no associated boxVincent Sanders2020-05-031-12/+39
|
* remove unecessary includeVincent Sanders2020-05-031-1/+0
|
* improve html content handler private headersVincent Sanders2020-05-0222-121/+275
|
* add missing includeVincent Sanders2020-05-011-1/+2
|
* put html content handler object interface into its own headerVincent Sanders2020-05-015-23/+98
|
* remove unused available width and height parameters from html_fecth_object()Vincent Sanders2020-04-305-34/+37
|
* remove unecessary filename prefixes in the html content handlerVincent Sanders2020-04-308-10/+10
|
* split html box processing codeVincent Sanders2020-04-2920-2674/+2958
| | | | | | | reduce the module size of the html box handling code by splitting into smaller sections. No functional code change.
* Initial special canvas handling to not show fallbackVincent Sanders2020-04-281-3/+27
|
* clean up html box, no functionality change just cosmeticVincent Sanders2020-04-288-827/+1040
| | | | | | split up the html box headers tidy up the documentation comments avoid forward declarations in normalisation implementation
* use dom type interface instead of strcasecmpVincent Sanders2020-04-261-52/+87
|
* remove forward declarationsVincent Sanders2020-04-262-2044/+2170
| | | | | reorder module to remove need for forward function declarations. remove unecessary and confusing parameter macros
* Implement javascript scheme url script https://wiki.whatwg.org/wiki/URL_schemesVincent Sanders2020-04-173-4/+46
|
* refactor html mouse actionVincent Sanders2020-04-131-482/+738
| | | | | | | | | | | | | | | | | This reduces the source complexity of the html_mouse_action() previously this was a single function of several thousand lines with over 30 local variables allocated on the stack. Variables are now mostly held in a single static structure which drasticaly reduces the size of stack frame required and improves lookup locality. The generated code does cause two additional function calls as the compiler avoids inlining the sub functions. The optimiser seems to produce somewhat better code within the sub functions. In the final analysis there appears to be no significant performance loss or gain with this change, just more readable source.
* html: Also close js thread on html_stop()Daniel Silverstone2020-03-291-0/+4
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* HTML: Use new js_closethread()Daniel Silverstone2020-03-221-1/+7
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>