Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Remove JSObject again, add File API constructor | bptato | 2023-06-08 | 1 | -7/+7 | |
| | ||||||
* | Add support for width, height media query | bptato | 2023-06-07 | 1 | -0/+2 | |
| | ||||||
* | Refactor bitmap, add png color modes | bptato | 2023-06-06 | 1 | -0/+2 | |
| | | | | | Now PNG encoding/decoding, painting, etc. are done in separate files. Plus we support all color modes except indexed color. | |||||
* | Add support for canvas and multipart | bptato | 2023-06-05 | 1 | -79/+478 | |
| | | | | | | | | | | | | | | | Quite incomplete canvas implementation. Crucially, the layout engine can't do much with whatever is drawn because it doesn't support images yet. I've re-introduced multipart as well, with the FormData API. For the append function I've also introduced a hack to the JS binding generator that allows requesting the JSContext pointer in nim procs. Really I should just fix the union generator thing and add support for overloading. In conclusion, for now the only thing canvas can be used for is exporting it as PNG and uploading it somewhere. Also, we now have PNG encoding and decoding too. (Now if only we had sixels as well...) | |||||
* | Add some console functions to DOM | bptato | 2023-06-01 | 1 | -0/+17 | |
| | | | | Mainly to avoid errors | |||||
* | Add setTimeout, setInterval to window | bptato | 2023-06-01 | 1 | -0/+2 | |
| | ||||||
* | Rewrite new Request binding | bptato | 2023-05-21 | 1 | -1/+4 | |
| | | | | | Still far from perfect, but now at least it has a bit more to do with what the standard mandates. | |||||
* | remove stray eprint, remove unused make* | bptato | 2023-05-13 | 1 | -6/+0 | |
| | ||||||
* | dom: fix one-off error in insertNode | bptato | 2023-04-30 | 1 | -2/+1 | |
| | | | | This caused the last child node to not be copied. | |||||
* | nim 1.6.12 support | bptato | 2023-04-16 | 1 | -1/+1 | |
| | ||||||
* | dom: store index among siblings for nodes | bptato | 2023-03-10 | 1 | -57/+67 | |
| | ||||||
* | dom: set document url in constructor | bptato | 2023-03-08 | 1 | -1/+2 | |
| | ||||||
* | dom: set childonly flags where needed | bptato | 2023-02-14 | 1 | -6/+7 | |
| | ||||||
* | html/dom: add Node.remove() | bptato | 2023-02-13 | 1 | -1/+4 | |
| | ||||||
* | css/cascade: remove scoped sheets | bptato | 2023-01-07 | 1 | -13/+26 | |
| | | | | ...in favor of handling all style elements like other browsers | |||||
* | dom: fix object conversion bug in options | bptato | 2023-01-05 | 1 | -1/+1 | |
| | ||||||
* | client, pager, dom, ...: better error handling | bptato | 2023-01-04 | 1 | -7/+5 | |
| | | | | Now the browser shouldn't completely die when a buffer crashes. | |||||
* | dom: add better attribute reflection | bptato | 2023-01-02 | 1 | -104/+222 | |
| | | | | | Instead of creating a new function for each attribute, use a single magic function for reflected attributes. | |||||
* | dom: support a few more getters/setters | bptato | 2023-01-02 | 1 | -8/+47 | |
| | ||||||
* | Add support for <label> | bptato | 2023-01-02 | 1 | -1/+53 | |
| | ||||||
* | dom: fix collection caching | bptato | 2022-12-27 | 1 | -37/+51 | |
| | | | | Use ids instead of pure pointers, so we can utilize the JS finalizer. | |||||
* | Implement DOMTokenList, item functions for collections | bptato | 2022-12-26 | 1 | -34/+125 | |
| | ||||||
* | getElementsByClassName on Document and Element | bptato | 2022-12-26 | 1 | -3/+9 | |
| | | | | Instead of Node. | |||||
* | Correct attribute functions, de-extern jserr | bptato | 2022-12-26 | 1 | -75/+54 | |
| | | | | | | Instead of unnecessarily marking every jserr function as *, add the used pragma (so the C compiler can get rid of them later.) Also, use the correct definition of attribute namespace. | |||||
* | dom: correct constructors, more create functions | bptato | 2022-12-26 | 1 | -43/+85 | |
| | ||||||
* | DOM: implement many new methods | bptato | 2022-12-26 | 1 | -8/+121 | |
| | ||||||
* | dom: add navigator object | bptato | 2022-12-26 | 1 | -2/+12 | |
| | ||||||
* | dom: fix select default display | bptato | 2022-12-21 | 1 | -3/+15 | |
| | ||||||
* | Add unicode normalization, etc | bptato | 2022-12-19 | 1 | -2/+2 | |
| | ||||||
* | More DOM work | bptato | 2022-12-19 | 1 | -243/+534 | |
| | ||||||
* | More work on DOM (incl. bugfixes) | bptato | 2022-12-19 | 1 | -143/+129 | |
| | ||||||
* | Add JS support to documents | bptato | 2022-12-18 | 1 | -41/+503 | |
| | ||||||
* | Fix typo | bptato | 2022-11-30 | 1 | -1/+1 | |
| | ||||||
* | Add textarea | bptato | 2022-11-28 | 1 | -45/+112 | |
| | | | | Editing is implemented using an external editor (like vi). | |||||
* | Add support for <button> | bptato | 2022-11-27 | 1 | -2/+23 | |
| | ||||||
* | Re-enable media queries | bptato | 2022-10-19 | 1 | -4/+11 | |
| | ||||||
* | Rename jsget/jsset to jsfget/jsfset for functions | bptato | 2022-09-16 | 1 | -5/+5 | |
| | | | | | The original idea was to use the same pragmas as object members, but unfortunately this doesn't seem to work consistently after all. | |||||
* | Bugfixes & test JS event loop | bptato | 2022-09-16 | 1 | -8/+42 | |
| | ||||||
* | More JS bindings | bptato | 2022-09-13 | 1 | -12/+63 | |
| | ||||||
* | Fix nth-child bugs, rename select to match | bptato | 2022-08-23 | 1 | -3/+15 | |
| | ||||||
* | Add interactive <select> | bptato | 2022-07-31 | 1 | -2/+17 | |
| | ||||||
* | Add SupportedFormAssociatedElements | bptato | 2022-07-30 | 1 | -3/+2 | |
| | ||||||
* | Fix incorrect use of del() | bptato | 2022-07-29 | 1 | -1/+1 | |
| | ||||||
* | Fix StyledNode invalidation & others | bptato | 2022-07-27 | 1 | -4/+3 | |
| | ||||||
* | Fix an infinite loop in getElementById | bptato | 2022-07-23 | 1 | -11/+4 | |
| | ||||||
* | Optimize dom | bptato | 2022-07-21 | 1 | -74/+72 | |
| | ||||||
* | Enable remote stylesheets; fix inline block values | bptato | 2022-07-18 | 1 | -1/+2 | |
| | ||||||
* | Implement select element display | bptato | 2022-07-17 | 1 | -53/+174 | |
| | | | | | You can't actually use them yet. But at least they don't flood the screen with options now. | |||||
* | Fix forms | bptato | 2022-07-17 | 1 | -22/+17 | |
| | ||||||
* | Use StyledNodes instead of passing the entire DOM to the layout engine | bptato | 2022-07-16 | 1 | -36/+6 | |
| | | | | | This moves pseudo element generation to the cascading phase. For now it also breaks style caching. |