Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remove junk content_add_error api | Vincent Sanders | 2020-05-06 | 3 | -5/+0 |
| | |||||
* | split dom event handling into separate module | Vincent Sanders | 2020-05-05 | 4 | -727/+837 |
| | |||||
* | Clean up html content dom element insertion processing | Vincent Sanders | 2020-05-05 | 2 | -89/+159 |
| | |||||
* | remove the forward references in html form internal handling | Vincent Sanders | 2020-05-03 | 2 | -549/+615 |
| | |||||
* | remove forward delcarations and clean up formatting in html table layout ↵ | Vincent Sanders | 2020-05-03 | 2 | -581/+561 |
| | | | | processing | ||||
* | Improve hsndling of html content objects with no associated box | Vincent Sanders | 2020-05-03 | 1 | -12/+39 |
| | |||||
* | remove unecessary include | Vincent Sanders | 2020-05-03 | 1 | -1/+0 |
| | |||||
* | improve html content handler private headers | Vincent Sanders | 2020-05-02 | 22 | -121/+275 |
| | |||||
* | add missing include | Vincent Sanders | 2020-05-01 | 1 | -1/+2 |
| | |||||
* | put html content handler object interface into its own header | Vincent Sanders | 2020-05-01 | 5 | -23/+98 |
| | |||||
* | remove unused available width and height parameters from html_fecth_object() | Vincent Sanders | 2020-04-30 | 5 | -34/+37 |
| | |||||
* | remove unecessary filename prefixes in the html content handler | Vincent Sanders | 2020-04-30 | 8 | -10/+10 |
| | |||||
* | split html box processing code | Vincent Sanders | 2020-04-29 | 20 | -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 fallback | Vincent Sanders | 2020-04-28 | 1 | -3/+27 |
| | |||||
* | clean up html box, no functionality change just cosmetic | Vincent Sanders | 2020-04-28 | 8 | -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 strcasecmp | Vincent Sanders | 2020-04-26 | 1 | -52/+87 |
| | |||||
* | remove forward declarations | Vincent Sanders | 2020-04-26 | 2 | -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_schemes | Vincent Sanders | 2020-04-17 | 3 | -4/+46 |
| | |||||
* | refactor html mouse action | Vincent Sanders | 2020-04-13 | 1 | -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 Silverstone | 2020-03-29 | 1 | -0/+4 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | HTML: Use new js_closethread() | Daniel Silverstone | 2020-03-22 | 1 | -1/+7 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | JS: Move ownership of jsthread from browser to htmlc | Daniel Silverstone | 2020-03-22 | 3 | -27/+8 |
| | | | | | | | | Since it makes more sense for the htmlc to be responsible for when the JS thread gets destroyed, move its lifetime from the responsibility of the browser window to the html content. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | JS: Split concept of JS context into heap and thread | Daniel Silverstone | 2020-03-21 | 4 | -27/+28 |
| | | | | | | | | | In preparation for proper splitting of Javascript support into heaps and threads, this renames the types and corrects the no-js builds to still work. At this time no substantive change in semantics exists, and the duktape build won't work. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | HTML Script: Check for success on intern of mimetype. | Michael Drake | 2020-02-23 | 1 | -1/+5 |
| | |||||
* | HTML: Ignore dom exceptions we don't care about | Daniel Silverstone | 2020-02-23 | 1 | -4/+4 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | HTML: Ignore LOADING status in html_proceed_to_done() | Daniel Silverstone | 2020-02-21 | 1 | -1/+3 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | HTML: Don't transition the content state machine if we do nothing | Daniel Silverstone | 2020-02-21 | 1 | -1/+7 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | HTML: Complete content state machine after async script | Daniel Silverstone | 2020-02-21 | 3 | -5/+29 |
| | | | | | | | | | The async script completion process needs to complete the content state machine so that browser throbbers eventually stop once async scripts have fetched and run, even if that happens *after* conversion finishes. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | re-order config include so strcasecmp is correctly detected on RISC OS/win32 | Vincent Sanders | 2019-12-22 | 1 | -1/+2 |
| | |||||
* | html_script: Count sync scripts to prevent unpausing early | Daniel Silverstone | 2019-12-19 | 1 | -2/+11 |
| | | | | | | | | | If there is more than one incomplete sync script then it's important that we don't unpause hubbub too early. This commit adds a counter so that if there're unfinished sync scripts in the set, we don't unpause until the last one completes. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | HTML: box_consturction: cleanup name dom_string in box_object. | Michael Drake | 2019-12-10 | 1 | -0/+2 |
| | |||||
* | HTML redraw: Never draw box scrollbars for textareas. | Michael Drake | 2019-12-09 | 1 | -0/+1 |
| | | | | | | | The scrollbars for textareas are rendered by the widget. This stops us from putting broken scrollbars over the top of the textarea's own scrollbars. | ||||
* | html: css fetcher: Fix passing LWC borrow to fetcher_add, which consumes. | Michael Drake | 2019-12-02 | 1 | -1/+2 |
| | | | | | | | | | Fixes abort on exit when corestring finalisation tried to unref what should have been the final ref: $ ./nsgtk3 corrupted double-linked list Aborted (core dumped) | ||||
* | html: Fire DOM KeyboardEvents on keypresses. | Michael Drake | 2019-12-01 | 1 | -0/+36 |
| | |||||
* | html: Add function for issuing a keypress event. | Michael Drake | 2019-12-01 | 2 | -0/+85 |
| | |||||
* | html: Split out helper for firing DOM events and swallowing errors. | Michael Drake | 2019-12-01 | 1 | -4/+23 |
| | |||||
* | HTML: Rename fire_dom_event to fire_generic_dom_event. | Michael Drake | 2019-12-01 | 3 | -4/+4 |
| | |||||
* | html_saw_insecure_objects: Don't infinite loop on objects | Daniel Silverstone | 2019-12-01 | 1 | -0/+1 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | html_css_fetcher: Use corestring_lwc_x_ns_css | Daniel Silverstone | 2019-12-01 | 1 | -8/+2 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Allow contents to indicate if they believe they may not be secure. | Daniel Silverstone | 2019-12-01 | 4 | -0/+79 |
| | | | | | | | | | | HTML contents reference many other objects. The browser window needs to know if any of them may not be secure, in which case it needs to report that in its page state. If other content types might refer to sub-contents, they will need to define the callback too. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | box_construct: Do not leak attributes in <embed> boxes | Daniel Silverstone | 2019-11-30 | 1 | -0/+5 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | HTML redraw: Don't render scrollbars when the CSS doesn't permit it. | Michael Drake | 2019-11-30 | 1 | -3/+6 |
| | |||||
* | make unknown content drag assert have meanigful message | Vincent Sanders | 2019-11-29 | 1 | -1/+1 |
| | |||||
* | change mouse action drag handling to use a more efficient dispatch | Vincent Sanders | 2019-11-17 | 1 | -13/+16 |
| | |||||
* | move remaining mouse action drag handling into separate functions | Vincent Sanders | 2019-11-17 | 1 | -21/+60 |
| | |||||
* | move more select menu handling into mouse_action_select_menu() | Vincent Sanders | 2019-11-17 | 1 | -8/+7 |
| | |||||
* | make mouse track and mouse action content handlers return an error code | Vincent Sanders | 2019-11-12 | 1 | -4/+5 |
| | |||||
* | Remove redundant drag handling for content selection | Vincent Sanders | 2019-11-12 | 1 | -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 source | Vincent Sanders | 2019-11-12 | 6 | -148/+278 |
| | |||||
* | Content: Remove redundant and unused redraw message fields. | Michael Drake | 2019-11-11 | 1 | -31/+16 |
| | | | | | | | | | | This was archaic support for rendering images as "overlays", and avoiding a redraw via the browser window redraw and HTML contents. Basically it was "plot this image here", but it was too error prone, so it was removed a long time ago. These are some last vestiges that made the redraw message look more complex than it is. |