Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix double line bug in dump mode | bptato | 2023-07-29 | 1 | -2/+2 |
| | |||||
* | Buffer search fixes & improvements | bptato | 2023-07-11 | 1 | -17/+26 |
| | | | | | * Fix race condition in updateReadLineISearch * Disable reshape during isearch | ||||
* | buffer: fix textarea regression | bptato | 2023-07-10 | 1 | -2/+6 |
| | | | | | Fix bug of not setting focus on clicked text area elements, which would result in the input text being discarded. | ||||
* | htmlparser: decouple from DOM | bptato | 2023-07-09 | 1 | -1/+1 |
| | | | | | Instead of directly appending nodes to the DOM, use a DOMBuilder interface. | ||||
* | select: simplify popCursorPos() | bptato | 2023-07-06 | 1 | -3/+1 |
| | |||||
* | Add popup menu for select element | bptato | 2023-07-05 | 3 | -135/+611 |
| | | | | | | | Replaces the weird CSS implementation we have had until now with a searchable popup menu similar to that of w3m. (The previous implementation broke on websites that do not expect <select> to expand on click, had no separate search, and was ugly.) | ||||
* | Do not conditionally disable CastSizes | bptato | 2023-07-03 | 1 | -6/+1 |
| | | | | ...because that doesn't work at all. | ||||
* | Fix JS type conversion regressions | bptato | 2023-07-03 | 1 | -3/+6 |
| | |||||
* | Fix CastSize warnings | bptato | 2023-07-03 | 1 | -2/+4 |
| | | | | Introduced by 1.6.14. Warns of undefined behavior. | ||||
* | FormData fixes | bptato | 2023-07-02 | 1 | -1/+1 |
| | |||||
* | 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.) | ||||
* | Add window.location | bptato | 2023-06-29 | 1 | -1/+5 |
| | | | | Note: setters do not work yet. | ||||
* | Support 8-bit output colors | bptato | 2023-06-26 | 1 | -30/+23 |
| | |||||
* | 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 |
| |