Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | buffer: only load images if config allows it | bptato | 2023-06-25 | 1 | -1/+4 |
| | |||||
* | cookie: return error on invalid domain | bptato | 2023-06-25 | 1 | -2/+2 |
| | |||||
* | Improve broken cookie handling, add multipart to form | bptato | 2023-06-25 | 2 | -4/+5 |
| | | | | | | | | Now it's not as horribly broken as before (but it's still far from perfect). We can at least log in to sr.ht (hooray). The form multipart part is straightforward, just pass what we used to pass long ago before I broke multipart. | ||||
* | Do not allow text() twice, etc... | bptato | 2023-06-20 | 1 | -14/+17 |
| | |||||
* | Reject fetch promise on network error | bptato | 2023-06-19 | 1 | -12/+17 |
| | | | | Instead of setting the non-standard res variable. | ||||
* | Get rid of the .jserr pragma | bptato | 2023-06-19 | 1 | -11/+9 |
| | |||||
* | Rework JS exception system | bptato | 2023-06-19 | 2 | -15/+26 |
| | | | | | Now we use Result for passing exceptions to JS. As a result, we can finally get rid of the .jserr pragma. | ||||
* | Cleanups & bug fixes involving promises | bptato | 2023-06-15 | 1 | -6/+13 |
| | | | | | Now a promise returning nil doesn't just leave the rest of the then chain hanging. Hooray. | ||||
* | Make Result.text, json return promise | bptato | 2023-06-13 | 1 | -4/+2 |
| | |||||
* | Fix various layout bugs, prepare for image support | bptato | 2023-06-12 | 1 | -24/+46 |
| | |||||
* | Fix some type confusion with colors, fix crash in pager | bptato | 2023-06-09 | 1 | -153/+131 |
| | |||||
* | Fix 'F' missing from fullwidth chars + display bugs | bptato | 2023-06-09 | 1 | -0/+1 |
| | |||||
* | Add support for visibility | bptato | 2023-06-07 | 1 | -18/+15 |
| | |||||
* | Add support for width, height media query | bptato | 2023-06-07 | 1 | -4/+6 |
| | |||||
* | Add XTERM title renaming | bptato | 2023-06-07 | 1 | -2/+2 |
| | |||||
* | Clean up stream error handling | bptato | 2023-06-07 | 1 | -6/+6 |
| | | | | | | * sread now raises EOFError if readData returns too few bytes * buffer handleError ignores unregistered fds like client * client handleError ignores unregistered fds like buffer | ||||
* | buffer: call handleError before handleRead & misc | bptato | 2023-06-05 | 1 | -6/+6 |
| | |||||
* | Add support for canvas and multipart | bptato | 2023-06-05 | 1 | -82/+28 |
| | | | | | | | | | | | | | | | 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...) | ||||
* | Fix more config inconsistencies | bptato | 2023-06-01 | 1 | -1/+1 |
| | | | | So that the default config actually works again. Also some doc updates. | ||||
* | Add setTimeout, setInterval to window | bptato | 2023-06-01 | 1 | -49/+60 |
| | |||||
* | Refactor config, add charset opts | bptato | 2023-05-16 | 1 | -11/+12 |
| | | | | Only document-charset supported for now. | ||||
* | Set buffer state to LOADED on finishLoad | bptato | 2023-05-14 | 1 | -2/+2 |
| | |||||
* | Name negative response codes | bptato | 2023-05-14 | 2 | -3/+5 |
| | |||||
* | Async resource loading, exception handling fixes | bptato | 2023-05-14 | 1 | -18/+60 |
| | |||||
* | Fix some fetch crashes | bptato | 2023-05-11 | 1 | -0/+1 |
| | | | | Now it should work for very basic use-cases | ||||
* | Temporarily disable multipart | bptato | 2023-04-30 | 1 | -1/+1 |
| | | | | It never really worked, and I can't be bothered to fix it now | ||||
* | WIP fetch | bptato | 2023-04-30 | 1 | -0/+10 |
| | |||||
* | buffer: disable popup confirmation for forms | bptato | 2023-04-10 | 2 | -5/+15 |
| | |||||
* | buffer: adapt onload to PosixStream and SocketStream | bptato | 2023-02-13 | 1 | -15/+14 |
| | |||||
* | buffer: do not move cursor in scrollLeft | bptato | 2023-01-20 | 1 | -2/+0 |
| | |||||
* | buffer/container: fix cursor overwriting double-width chars | bptato | 2023-01-11 | 1 | -1/+22 |
| | | | | | In some terminals, placing the cursor on the second cell of a double-width character deletes half of said character, so let's not do that. | ||||
* | Slightly refactor commandMode | bptato | 2023-01-06 | 1 | -1/+1 |
| | |||||
* | Add ask() | bptato | 2023-01-05 | 1 | -0/+3 |
| | |||||
* | renderdocument: add StyledNodes to backgrounds | bptato | 2023-01-03 | 1 | -17/+4 |
| | | | | | | This makes it possible to e.g. click on this: <a href=x style="display: inline-block; width: 5em; height: 5em; background-color: red"></a> | ||||
* | buffer: fix infinite loop in getClickable | bptato | 2023-01-03 | 1 | -2/+3 |
| | |||||
* | buffer: fix infinite loop | bptato | 2023-01-03 | 1 | -1/+2 |
| | |||||
* | container, pager: work around bad codegen | bptato | 2023-01-02 | 1 | -3/+3 |
| | |||||
* | dom: add better attribute reflection | bptato | 2023-01-02 | 1 | -2/+3 |
| | | | | | Instead of creating a new function for each attribute, use a single magic function for reflected attributes. | ||||
* | Add support for <label> | bptato | 2023-01-02 | 1 | -93/+111 |
| | |||||
* | Fix connection load info not being shown | bptato | 2023-01-02 | 1 | -1/+1 |
| | |||||
* | loader: proper redirect handling | bptato | 2023-01-01 | 2 | -6/+4 |
| | |||||
* | buffer: fix some search bugs & refactor regex stuff | bptato | 2023-01-01 | 2 | -50/+44 |
| | | | | | | | | cursorBytes uses twidth now. cursorNextMatch matches the byte *after* the cursor (somewhat more consistently than before). match() no longer counts capture groups. LRE_FLAG_GLOBAL now goes through the entire string. | ||||
* | Add promise support to JS | bptato | 2022-12-31 | 2 | -86/+47 |
| | |||||
* | buffer/container: fix highlighting width | bptato | 2022-12-28 | 1 | -2/+2 |
| | |||||
* | Proper support for tabs | bptato | 2022-12-27 | 1 | -35/+32 |
| | |||||
* | Consistent naming of parseURL, non-public newURLParams | bptato | 2022-12-26 | 1 | -4/+4 |
| | |||||
* | container: fix requestLines not setting setx | bptato | 2022-12-25 | 1 | -0/+1 |
| | |||||
* | pager: proxy values in container; js: bugfixes | bptato | 2022-12-20 | 1 | -52/+73 |
| | | | | Also, a little bonus: w3m keybindings | ||||
* | Add unicode normalization, etc | bptato | 2022-12-19 | 1 | -0/+1 |
| | |||||
* | More DOM work | bptato | 2022-12-19 | 1 | -9/+1 |
| |