summaryrefslogtreecommitdiff
path: root/content/handlers/html/interaction.c
Commit message (Collapse)AuthorAgeFilesLines
* use attributes to indicate switch fall through instead of commentsVincent Sanders2024-03-051-3/+3
|
* res variable could possibly be used without being setVincent Sanders2024-02-271-2/+2
|
* Switch to new libcss API for unit conversion.Michael Drake2021-05-301-4/+4
|
* improve desktop text search header usageVincent Sanders2020-06-241-0/+1
| | | | | | | | | 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.
* make text selection context an opaque interfaceVincent Sanders2020-05-231-10/+10
|
* remove all direct access to selection structureVincent Sanders2020-05-231-7/+2
|
* pass the browser window to selection click handlerVincent Sanders2020-05-201-0/+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.
* hoist common text search out of content handlersVincent Sanders2020-05-121-76/+0
|
* move free text search general interface to content.Vincent Sanders2020-05-101-12/+13
| | | | | needs additional cleanup to call content through handler table to perform searches.
* improve html content handler private headersVincent Sanders2020-05-021-1/+1
|
* split html box processing codeVincent Sanders2020-04-291-0/+1
| | | | | | | reduce the module size of the html box handling code by splitting into smaller sections. No functional code change.
* Implement javascript scheme url script https://wiki.whatwg.org/wiki/URL_schemesVincent Sanders2020-04-171-3/+42
|
* 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: Fire DOM KeyboardEvents on keypresses.Michael Drake2019-12-011-0/+36
|
* HTML: Rename fire_dom_event to fire_generic_dom_event.Michael Drake2019-12-011-1/+1
|
* make unknown content drag assert have meanigful messageVincent Sanders2019-11-291-1/+1
|
* change mouse action drag handling to use a more efficient dispatchVincent Sanders2019-11-171-13/+16
|
* move remaining mouse action drag handling into separate functionsVincent Sanders2019-11-171-21/+60
|
* move more select menu handling into mouse_action_select_menu()Vincent Sanders2019-11-171-8/+7
|
* make mouse track and mouse action content handlers return an error codeVincent Sanders2019-11-121-4/+5
|
* Remove redundant drag handling for content selectionVincent Sanders2019-11-121-10/+0
| | | | | | | This redundant code was added by: 4747bbbfb21d645f950149bbe173a2618cd3eba9 HTML drags now go via content msg. and then added again with: c2a718075ad321a9cf4678e72645acda5c3471a9 A load of refactoring of how content selection and input work.
* split out html interaction header elements and rename sourceVincent Sanders2019-11-121-0/+1530