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 | 2 | -1/+5 |
| | |||||
* | 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 | 2 | -79/+495 |
| | | | | | | | | | | | | | | | 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 module loading to client | bptato | 2023-06-01 | 1 | -1/+1 |
| | | | | Files only, for now. | ||||
* | Add setTimeout, setInterval to window | bptato | 2023-06-01 | 2 | -16/+56 |
| | |||||
* | 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. | ||||
* | Add display/output encoding | bptato | 2023-05-19 | 1 | -33/+32 |
| | | | | Some encodings are still missing | ||||
* | Refactor config, add charset opts | bptato | 2023-05-16 | 1 | -40/+60 |
| | | | | Only document-charset supported for now. | ||||
* | remove stray eprint, remove unused make* | bptato | 2023-05-13 | 1 | -6/+0 |
| | |||||
* | Merge branch 'wip_fetch' | bptato | 2023-04-30 | 1 | -0/+6 |
|\ | |||||
| * | WIP fetch | bptato | 2023-04-30 | 1 | -0/+6 |
| | | |||||
* | | 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 |
| | |||||
* | htmlparser: add missing reprocess token for tr | bptato | 2023-04-08 | 1 | -0/+1 |
| | | | | This makes tr work correctly without tbody. | ||||
* | dom: store index among siblings for nodes | bptato | 2023-03-10 | 2 | -58/+68 |
| | |||||
* | 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 | 2 | -19/+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 | 2 | -8/+8 |
| | | | | Now the browser shouldn't completely die when a buffer crashes. | ||||
* | dom: add better attribute reflection | bptato | 2023-01-02 | 3 | -109/+230 |
| | | | | | 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 | 2 | -76/+55 |
| | | | | | | 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 | 2 | -46/+89 |
| | |||||
* | DOM: implement many new methods | bptato | 2022-12-26 | 2 | -8/+124 |
| | |||||
* | dom: add navigator object | bptato | 2022-12-26 | 2 | -2/+58 |
| | |||||
* | 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 | 4 | -250/+548 |
| | |||||
* | More work on DOM (incl. bugfixes) | bptato | 2022-12-19 | 1 | -143/+129 |
| | |||||
* | Add JS support to documents | bptato | 2022-12-18 | 3 | -67/+571 |
| | |||||
* | htmltokenizer: fix after attribute value (quoted) bug | bptato | 2022-12-16 | 1 | -1/+3 |
| | | | | I forgot to change the last case when copy-pasting. Oops. | ||||
* | git wtf moment | bptato | 2022-12-15 | 1 | -11/+0 |
| | |||||
* | Merge branch 'master' of ssh://192.168.0.230/~/x/cha | bptato | 2022-12-15 | 1 | -0/+11 |
|\ | |||||
| * | htmltokenizer: implement a small todo | bptato | 2022-12-15 | 2 | -7/+13 |
| | | |||||
* | | htmltokenizer: implement a small todo | bptato | 2022-12-15 | 2 | -16/+21 |
|/ | |||||
* | htmltokenizer: fix newline handling with insufficient buffer length | bptato | 2022-12-15 | 1 | -2/+6 |
| | |||||
* | Fix decoder bugs, move decoder to encoding/ | bptato | 2022-12-10 | 2 | -6/+6 |
| | |||||
* | Add support for the encoding standard, fix parseLegacyColor | bptato | 2022-12-10 | 2 | -120/+233 |
| | | | | Also, fix a bug in the | ||||
* | htmlparser: fix bug where tokens wouldn't be reprocessed after close_cell | bptato | 2022-12-07 | 1 | -0/+1 |
| | |||||
* | Fix typo | bptato | 2022-11-30 | 1 | -1/+1 |
| | |||||
* | Add textarea | bptato | 2022-11-28 | 3 | -79/+154 |
| | | | | Editing is implemented using an external editor (like vi). | ||||
* | Add support for <button> | bptato | 2022-11-27 | 2 | -4/+28 |
| |