Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move HTML parsing into Chame | bptato | 2023-08-15 | 1 | -2749/+0 |
| | | | | Operation "modularize Chawan somewhat" part 2 | ||||
* | Move charsets into chakasu | bptato | 2023-08-14 | 1 | -2/+3 |
| | | | | Operation "modularize Chawan somewhat" part 1 | ||||
* | Fixes & workarounds to compile on Nim 2.0.0 | bptato | 2023-08-01 | 1 | -21/+21 |
| | | | | | | | | | | | | | | * Import punycode, as it has been removed from stdlib. * Fix some syntax errors * Apparently you can no longer compare distinct pointers with nil. Add explicit comparisons with typeof(nil) instead. * htmlparser: rename _ to other, as semantics of _ have changed. (Quite a shame, it looked better with _. Oh well.) * Explicitly specify mm:refc, as the browser OOMs with orc for some reason. Confirmed to compile & run on 2.0.0, 1.6.14, 1.6.12, 1.6.10 and 1.6.8. (<1.6.8 it's broken & wontfix.) | ||||
* | htmlparser: replace stray insert call | bptato | 2023-07-27 | 1 | -1/+1 |
| | |||||
* | htmlparser: fix <th> not closing table cells | bptato | 2023-07-27 | 1 | -1/+1 |
| | | | | | <th> should close table cells, but was missing from the table cell closing list for some reason. | ||||
* | htmlparser: remove stray nil comparison | bptato | 2023-07-27 | 1 | -4/+3 |
| | |||||
* | htmlparser: remove nil comparisons for Handle | bptato | 2023-07-27 | 1 | -39/+49 |
| | | | | This makes it possible to use non-reference types as Handle. | ||||
* | html: include SEARCH tag in parser | bptato | 2023-07-25 | 1 | -2/+3 |
| | |||||
* | Fix compilation on nim 1.6.10 | bptato | 2023-07-17 | 1 | -2/+3 |
| | | | | It appears there is a compiler bug we have to work around there. | ||||
* | htmlparser: fix regression | bptato | 2023-07-17 | 1 | -2/+2 |
| | | | | Fixed unintended variable shadowing introduced during refactoring | ||||
* | htmlparser: make getTemplateContent optional | bptato | 2023-07-15 | 1 | -3/+4 |
| | |||||
* | htmlparser: check required callbacks | bptato | 2023-07-15 | 1 | -0/+13 |
| | |||||
* | htmlparser: add parse error handling | bptato | 2023-07-15 | 1 | -166/+248 |
| | |||||
* | htmlparser: correct outdated comment | bptato | 2023-07-14 | 1 | -9/+3 |
| | |||||
* | htmlparser: fix form association regression | bptato | 2023-07-10 | 1 | -6/+10 |
| | | | | | | | associateWithForm was checking whether the element was in the same tree as the form, however associateWithForm is called when element is has not been inserted into the tree yet. As a fix, pass the intended parent and perform the check on that. | ||||
* | htmlparser: remove more references to dom | bptato | 2023-07-09 | 1 | -10/+28 |
| | |||||
* | htmlparser: more Option wrapping, remove dom reference | bptato | 2023-07-09 | 1 | -18/+21 |
| | |||||
* | htmlparser: fix fragment case, fix head bug | bptato | 2023-07-09 | 1 | -8/+13 |
| | | | | Also, wrap head in an Option | ||||
* | htmlparser: decouple from DOM | bptato | 2023-07-09 | 1 | -524/+885 |
| | | | | | Instead of directly appending nodes to the DOM, use a DOMBuilder interface. | ||||
* | return Result[T, JSError] from fromJS | bptato | 2023-07-02 | 1 | -1/+0 |
| | |||||
* | use =destroy instead of finalizers | bptato | 2023-07-01 | 1 | -0/+2 |
| | | | | | This should help with moving to ORC in the future. (Also, finalizers do not work very well in the first place.) | ||||
* | Get rid of the .jserr pragma | bptato | 2023-06-19 | 1 | -5/+7 |
| | |||||
* | 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. | ||||
* | 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 | 1 | -1/+1 |
| | |||||
* | css/cascade: remove scoped sheets | bptato | 2023-01-07 | 1 | -6/+0 |
| | | | | ...in favor of handling all style elements like other browsers | ||||
* | Correct attribute functions, de-extern jserr | bptato | 2022-12-26 | 1 | -1/+1 |
| | | | | | | 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 | -3/+4 |
| | |||||
* | More DOM work | bptato | 2022-12-19 | 1 | -7/+8 |
| | |||||
* | Add JS support to documents | bptato | 2022-12-18 | 1 | -26/+42 |
| | |||||
* | 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 | 1 | -5/+11 |
| | | |||||
* | | htmltokenizer: implement a small todo | bptato | 2022-12-15 | 1 | -14/+19 |
|/ | |||||
* | Fix decoder bugs, move decoder to encoding/ | bptato | 2022-12-10 | 1 | -5/+5 |
| | |||||
* | Add support for the encoding standard, fix parseLegacyColor | bptato | 2022-12-10 | 1 | -8/+104 |
| | | | | 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 |
| | |||||
* | Add textarea | bptato | 2022-11-28 | 1 | -33/+41 |
| | | | | Editing is implemented using an external editor (like vi). | ||||
* | Fix adoption agency algorithm bugs | bptato | 2022-11-27 | 1 | -5/+11 |
| | |||||
* | Fix some table layout issues | bptato | 2022-11-25 | 1 | -1/+1 |
| | |||||
* | More JS bindings | bptato | 2022-09-13 | 1 | -2/+20 |
| | |||||
* | Add SupportedFormAssociatedElements | bptato | 2022-07-30 | 1 | -5/+4 |
| | |||||
* | Fix incorrect use of del() | bptato | 2022-07-29 | 1 | -11/+11 |
| | |||||
* | Fix yet another parser bug | bptato | 2022-07-18 | 1 | -2/+1 |
| | |||||
* | Fix another parser bug | bptato | 2022-07-17 | 1 | -3/+4 |
| | |||||
* | Fix a parser bug | bptato | 2022-07-17 | 1 | -2/+47 |
| | | | | Plus a few warnings. | ||||
* | Implement select element display | bptato | 2022-07-17 | 1 | -1/+9 |
| | | | | | 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 | -1/+1 |
| | |||||
* | Clean up HTML namespace mess, enable processInForeignContent | bptato | 2022-07-14 | 1 | -17/+83 |
| |