Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Avoid integer types with platform dependent size | DeltaVonNeumann | 2023-06-15 | 1 | -2/+2 |
| | |||||
* | (tokenlist): Try harder to avoid type punning | Daniel Silverstone | 2022-11-27 | 1 | -2/+2 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | (tokenlist): Try and avoid type-punned pointer | Daniel Silverstone | 2022-11-27 | 1 | -1/+1 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | core: tokenlist: Release last_set with dom_string_unref | Michael Drake | 2022-11-27 | 1 | -1/+1 |
| | |||||
* | DOMTokenList: Initial implementation. | Daniel Silverstone | 2022-11-27 | 3 | -1/+566 |
| | | | | | | | We cover the core behaviours of DOMTokenList and also DOMSettableTokenList so that the IDL can be implemented in NetSurf. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | DOM Walker: Rename client private word parameter. | Michael Drake | 2021-07-09 | 1 | -6/+6 |
| | |||||
* | Element: Change API to return a reference to callers. | Michael Drake | 2021-07-05 | 1 | -12/+9 |
| | |||||
* | Element: API docs: Reword based on review. | Michael Drake | 2021-07-05 | 1 | -3/+12 |
| | |||||
* | Element: Improve API documentation: Returned nodes aren't reffed. | Michael Drake | 2021-07-05 | 1 | -3/+3 |
| | |||||
* | Add DOM tree walker functionality. | Michael Drake | 2021-06-29 | 2 | -1/+131 |
| | |||||
* | html element: int32 attribute getter: Handle signed values. | Michael Drake | 2021-02-10 | 1 | -1/+1 |
| | |||||
* | node: Constify get user data parameters. | Michael Drake | 2021-02-09 | 2 | -4/+4 |
| | |||||
* | Constify vtables. | Michael Drake | 2021-02-02 | 81 | -92/+92 |
| | |||||
* | html_canvas_element: height and width have default values for canvasses | Daniel Silverstone | 2020-10-03 | 1 | -2/+26 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | element: Mirror parent NULL check in dom_element_is_default_namespace() | Daniel Silverstone | 2020-10-02 | 1 | -1/+6 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | html_document: Tag names of '' are invalid | Daniel Silverstone | 2020-10-02 | 1 | -0/+4 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | html: Check for missing thead rather than dereffing a NULL | Daniel Silverstone | 2020-10-01 | 1 | -9/+10 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | html_title_element: Use dom_node_{get,set}_text_content | Daniel Silverstone | 2020-05-24 | 1 | -18/+2 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | html_element: Do not invert name and value setting int32 properties | Daniel Silverstone | 2020-05-23 | 1 | -1/+1 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | html_element: Do not invert name and value setting ulong properties | Daniel Silverstone | 2020-05-23 | 1 | -1/+1 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Fix HTMLCanvasElement types for width and height attributes | Vincent Sanders | 2020-04-24 | 1 | -8/+8 |
| | |||||
* | Add HTMLCanvasElement | Vincent Sanders | 2020-04-23 | 4 | -20/+314 |
| | |||||
* | Node: Add a NULL guard to hopefully calm scan-build | Daniel Silverstone | 2020-02-22 | 1 | -1/+1 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Deal with some scan-build-identified potential problems | Daniel Silverstone | 2020-02-21 | 2 | -1/+22 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | dispatch: Do not blindly destroy events | Daniel Silverstone | 2019-12-08 | 1 | -6/+6 |
| | | | | | | | | We used to destroy events after dispatching them. The client *can* hold refs to those events which makes this blind destruction unsafe. Instead unref them and let the refcnt deal with things. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | keyboard events: Update to latest DOM spec. | Michael Drake | 2019-12-01 | 2 | -67/+171 |
| | |||||
* | ui events: constructor: initialise the detail attribute. | Michael Drake | 2019-12-01 | 1 | -2/+1 |
| | |||||
* | keyboard events: constructor: initialise the key location. | Michael Drake | 2019-12-01 | 1 | -4/+1 |
| | |||||
* | keyboard events: Expose the creation function. | Michael Drake | 2019-12-01 | 1 | -3/+0 |
| | |||||
* | namespace: Support finalising the namespace strings | Daniel Silverstone | 2019-09-07 | 1 | -3/+1 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | element: Issue DOMSubtreeModified *after* updating attr value | Daniel Silverstone | 2019-08-04 | 1 | -4/+4 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | html_text_area_element: Set node text content on value change | Daniel Silverstone | 2019-08-04 | 1 | -1/+1 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | String: remove innards from public header. | John-Mark Bell | 2019-06-29 | 1 | -13/+13 |
| | | | | | | | | | A dom_string is the first member of the underlying dom_string_internal and thus their addresses are equivalent. We shouldn't be exposing the internal alignment requirements through the public header at all, so remove the bogus _ALIGNED and cast through void internally to tell the compiler that we know what we're doing. | ||||
* | node.c: _dom_node_set_text_content() fix leaks | Daniel Silverstone | 2019-06-03 | 1 | -4/+9 |
| | | | | | | | There were a number of text node leaks in the function to set a node's text content. This corrects those. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Add dom_node_contains() | Daniel Silverstone | 2019-05-04 | 1 | -0/+30 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Begin to support SCRIPT elements flags | Daniel Silverstone | 2019-05-04 | 2 | -0/+40 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | 99.9% of all events are trusted, so default to trusted | Daniel Silverstone | 2019-05-03 | 1 | -1/+1 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Fix libdom departures from "always return a ref" in public API. | Michael Drake | 2019-02-16 | 4 | -4/+3 |
| | | | | | | | | | | | | | | | | | | | The DOM test code expects nodes returned by libdom APIs to always be reffed. So this change refs them. The remaining leaks detected by address sanitiser in the dom test suite are a problem with the DOM test generator: * For test_level1_html_HTMLSelectElement08, the problem is that in the while loop, it doesn't unref `voption` at the end of the loop, in the test code. * For test_level1_html_HTMLTableElement07, the problem is the while loop doesn't unref `vrow` at the end of the loop in the test code. * For test_level1_html_HTMLTableElement09, it's the same for variable, `vbodies`. | ||||
* | Attempt to fix m68k cross-compile warnings. | Michael Drake | 2018-08-07 | 1 | -2/+2 |
| | |||||
* | Attempt to fix m68k cross-compile warnings. | Michael Drake | 2018-08-07 | 1 | -11/+10 |
| | |||||
* | Attempt to squash m68k cross-compile warnings. | Michael Drake | 2018-08-07 | 1 | -2/+2 |
| | |||||
* | Attempt to appease m68k CI cross-compiler. | Michael Drake | 2018-08-07 | 1 | -5/+1 |
| | |||||
* | HTMLTableRow.insertCell: Fix refcounting and error paths. | Michael Drake | 2018-08-03 | 1 | -13/+16 |
| | |||||
* | HTMLTableElement.deleteRow: Squash leaks and fix error paths. | Michael Drake | 2018-08-03 | 1 | -20/+25 |
| | |||||
* | HTMLDocument: Squash leaks of document.documentElement. | Michael Drake | 2018-08-03 | 1 | -4/+12 |
| | |||||
* | HTMLDocument.body: Squash leak of node list. | Michael Drake | 2018-08-03 | 1 | -0/+1 |
| | |||||
* | HTMLCollection.namedItem: Squash leak of id_name. | Michael Drake | 2018-08-03 | 1 | -15/+17 |
| | |||||
* | dom_html_table_row_element_get_row_index: Squash t_head node leak. | Michael Drake | 2018-08-03 | 1 | -5/+3 |
| | |||||
* | HTMLTableElement.insertRow: Fix lifetimes and error handling. | Michael Drake | 2018-08-03 | 1 | -52/+74 |
| | |||||
* | HTMLTableSectionElement.insertRow: Fix lifetimes and error handling. | Michael Drake | 2018-08-03 | 1 | -25/+25 |
| |