summaryrefslogtreecommitdiff
path: root/content/handlers/html/interaction.c
Commit message (Collapse)AuthorAgeFilesLines
* 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