about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Do not pass JSContext to getJSValuebptato2023-06-201-5/+5
|
* Fix fromJS Opt bugsbptato2023-06-191-9/+10
|
* Add Response.ok, url, fix type confusion with statusbptato2023-06-193-7/+17
|
* Reject fetch promise on network errorbptato2023-06-197-27/+33
| | | | Instead of setting the non-standard res variable.
* Get rid of the .jserr pragmabptato2023-06-1912-277/+248
|
* Fix memory leak with alt pointersbptato2023-06-191-1/+6
| | | | Must unref them if unused.
* Rework JS exception systembptato2023-06-1916-178/+480
| | | | | Now we use Result for passing exceptions to JS. As a result, we can finally get rid of the .jserr pragma.
* input size as presentational hintbptato2023-06-182-0/+12
|
* Use utils/opt in toml parserbptato2023-06-185-165/+207
|
* Add typeerror to jsgctorbptato2023-06-181-1/+1
|
* Revert "renderdocument: bgcolor blending"bptato2023-06-152-26/+21
| | | | | This reverts commit c13a4cf4e144f7ab36167ebbb1333f7faeed11b3. Clearly it's broken. Needs a fix.
* Cleanups & bug fixes involving promisesbptato2023-06-1510-98/+164
| | | | | Now a promise returning nil doesn't just leave the rest of the then chain hanging. Hooray.
* renderdocument: bgcolor blendingbptato2023-06-132-21/+26
|
* Make Result.text, json return promisebptato2023-06-136-25/+66
|
* Fix various layout bugs, prepare for image supportbptato2023-06-1211-136/+212
|
* Add readBlob, fix WebFile serializationbptato2023-06-113-16/+39
| | | | It's still kind of a mess, but it kind of works?
* Fix -cha-center moving by negative xbptato2023-06-101-4/+2
| | | | | In other words, if the element is wider than it's container, we don't do anything at all.
* Fix color U, slightly change contrast algorithmbptato2023-06-103-10/+19
|
* Use width, height for canvas in cssbptato2023-06-101-1/+1
|
* approximateANSIColor: fix possible underflowbptato2023-06-102-3/+8
|
* makefile: release1bptato2023-06-101-0/+3
| | | | | This compiles with -pg. But it doesn't work very well because of multi-processing.
* Fix some type confusion with colors, fix crash in pagerbptato2023-06-096-213/+229
|
* Add indexed color, other png improvementsbptato2023-06-095-212/+126
|
* Update readmebptato2023-06-091-20/+23
|
* Simplify request.json, remove unused bindingsbptato2023-06-094-90/+7
|
* Show error messages, fix some fetch crashesbptato2023-06-094-1/+14
|
* Fix 'F' missing from fullwidth chars + display bugsbptato2023-06-094-41/+44
|
* Remove JSObject again, add File API constructorbptato2023-06-086-28/+62
|
* Add missing null checkbptato2023-06-071-1/+2
|
* Add support for visibilitybptato2023-06-074-44/+65
|
* Add support for width, height media querybptato2023-06-077-51/+234
|
* layout: fix min-height/max-height handlingbptato2023-06-072-20/+22
|
* Add XTERM title renamingbptato2023-06-076-32/+41
|
* Clean up stream error handlingbptato2023-06-073-8/+13
| | | | | | * sread now raises EOFError if readData returns too few bytes * buffer handleError ignores unregistered fds like client * client handleError ignores unregistered fds like buffer
* Fix bug in client's unregistered fd handlingbptato2023-06-062-2/+8
| | | | + run JS jobs after every poll in headless mode
* Refactor bitmap, add png color modesbptato2023-06-065-592/+631
| | | | | Now PNG encoding/decoding, painting, etc. are done in separate files. Plus we support all color modes except indexed color.
* Fix stupid overflowbptato2023-06-051-3/+3
|
* Pre-allocate alternative objects for finalizerbptato2023-06-051-3/+12
| | | | Not sure if this helps
* js: fix string regression, throw on invalid ctorbptato2023-06-051-3/+5
|
* Fix empty string crash/regressionbptato2023-06-051-1/+1
| | | | Oops
* buffer: call handleError before handleRead & miscbptato2023-06-052-7/+7
|
* Refactor Request constructorbptato2023-06-052-28/+41
|
* Fix 16bit grayscale bugbptato2023-06-051-1/+1
|
* Add support for canvas and multipartbptato2023-06-0531-400/+2743
| | | | | | | | | | | | | | | 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...)
* readme: spellingbptato2023-06-021-4/+4
|
* Fix more config inconsistenciesbptato2023-06-014-34/+48
| | | | So that the default config actually works again. Also some doc updates.
* config: fix omnirulesbptato2023-06-011-3/+3
| | | | Rename variable so it's mapped properly...
* Add some console functions to DOMbptato2023-06-011-0/+17
| | | | Mainly to avoid errors
* Add module loading to clientbptato2023-06-015-3/+81
| | | | Files only, for now.
* Add setTimeout, setInterval to windowbptato2023-06-017-148/+256
|