Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix crash in openEditor if SIGINT was delivered | bptato | 2023-06-26 | 5 | -3/+29 |
| | | | | | | | | | | | nvi for example sets ISIG and traps SIGINT. Without this patch, this would propagate to all processes in the same process group and kill them. (It still does, but we set a signalHandler to ignore that.) Still not perfect, because for some reason we receive WIFSIGNALED even if the signal did not actually kill the editor. For now, we just treat this as a success. | ||||
* | hacks for readline so that it at least kind of works | bptato | 2023-06-25 | 3 | -4/+22 |
| | | | | Proper fix needed later | ||||
* | rendertext: do not rewind if no other charsets are available | bptato | 2023-06-25 | 1 | -1/+1 |
| | | | | Fixes crash when the decoder fails to decode all given charsets. | ||||
* | css/values: remove stray eprint | bptato | 2023-06-25 | 1 | -2/+0 |
| | |||||
* | twtstr: remove unused function | bptato | 2023-06-25 | 1 | -13/+0 |
| | |||||
* | cssparser: remove SyntaxError | bptato | 2023-06-25 | 2 | -24/+34 |
| | | | | return DOMException instead | ||||
* | buffer: only load images if config allows it | bptato | 2023-06-25 | 1 | -1/+4 |
| | |||||
* | png: fix 4 bit grayscale & <8 bit indexed color | bptato | 2023-06-25 | 1 | -6/+17 |
| | |||||
* | css/values: use Result instead of exceptions | bptato | 2023-06-25 | 3 | -312/+344 |
| | |||||
* | cookie: return error on invalid domain | bptato | 2023-06-25 | 2 | -6/+7 |
| | |||||
* | Improve broken cookie handling, add multipart to form | bptato | 2023-06-25 | 5 | -17/+126 |
| | | | | | | | | 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. | ||||
* | pager: alert on invalid regex | bptato | 2023-06-24 | 1 | -12/+13 |
| | |||||
* | Option -> Opt in config, return error in compileSearchRegex | bptato | 2023-06-24 | 5 | -55/+63 |
| | |||||
* | Only set terminal title when it is a tty | bptato | 2023-06-24 | 1 | -2/+5 |
| | | | | Avoid writing the escape sequence when dumping files. | ||||
* | Rename readme.md to upper case | bptato | 2023-06-24 | 1 | -0/+0 |
| | | | | So that sourcehut can find it | ||||
* | Public domain | bptato | 2023-06-24 | 2 | -0/+28 |
| | |||||
* | Fix potential crash on startup | bptato | 2023-06-24 | 1 | -4/+7 |
| | |||||
* | Working Nim-QuickJS GC integration | bptato | 2023-06-24 | 6 | -44/+137 |
| | | | | I believe this works correctly. Hopefully I'm not wrong. | ||||
* | Makefile: remove random echo statement | bptato | 2023-06-24 | 1 | -1/+0 |
| | |||||
* | Add dir to qjs target, rename makefile | bptato | 2023-06-23 | 1 | -1/+1 |
| | |||||
* | radixtree: optimize searching | bptato | 2023-06-23 | 2 | -26/+54 |
| | |||||
* | eprint: simplify | bptato | 2023-06-23 | 1 | -33/+23 |
| | |||||
* | term: fix clearEnd regression | bptato | 2023-06-23 | 1 | -1/+3 |
| | | | | Sending EL at EOL clears the last character, so we avoid doing that. | ||||
* | Fix module loading bugs | bptato | 2023-06-22 | 3 | -8/+23 |
| | |||||
* | Include QuickJS sources in the repository | bptato | 2023-06-22 | 20 | -30/+74831 |
| | | | | Taken from txiki.js, so it includes zamofex's top-level await patch. | ||||
* | Remove LegacyJSError, use enums for storing symbols | bptato | 2023-06-22 | 1 | -57/+45 |
| | |||||
* | Replace nim_finalize_for_js with collectInteropCycles | bptato | 2023-06-20 | 1 | -51/+23 |
| | | | | | | Pros: maybe doesn't corrupt memory Cons: leaks memory instead Maybe we should just use destructors... | ||||
* | Do not GC_ref JS object opaques | bptato | 2023-06-20 | 1 | -1/+0 |
| | | | | So that the finalizer is actually triggered | ||||
* | makefile: separate objdir for all targets | bptato | 2023-06-20 | 1 | -2/+4 |
| | |||||
* | Do not allow text() twice, etc... | bptato | 2023-06-20 | 5 | -23/+50 |
| | |||||
* | Do not pass JSContext to getJSValue | bptato | 2023-06-20 | 1 | -5/+5 |
| | |||||
* | Fix fromJS Opt bugs | bptato | 2023-06-19 | 1 | -9/+10 |
| | |||||
* | Add Response.ok, url, fix type confusion with status | bptato | 2023-06-19 | 3 | -7/+17 |
| | |||||
* | Reject fetch promise on network error | bptato | 2023-06-19 | 7 | -27/+33 |
| | | | | Instead of setting the non-standard res variable. | ||||
* | Get rid of the .jserr pragma | bptato | 2023-06-19 | 12 | -277/+248 |
| | |||||
* | Fix memory leak with alt pointers | bptato | 2023-06-19 | 1 | -1/+6 |
| | | | | Must unref them if unused. | ||||
* | Rework JS exception system | bptato | 2023-06-19 | 16 | -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 hint | bptato | 2023-06-18 | 2 | -0/+12 |
| | |||||
* | Use utils/opt in toml parser | bptato | 2023-06-18 | 5 | -165/+207 |
| | |||||
* | Add typeerror to jsgctor | bptato | 2023-06-18 | 1 | -1/+1 |
| | |||||
* | Revert "renderdocument: bgcolor blending" | bptato | 2023-06-15 | 2 | -26/+21 |
| | | | | | This reverts commit c13a4cf4e144f7ab36167ebbb1333f7faeed11b3. Clearly it's broken. Needs a fix. | ||||
* | Cleanups & bug fixes involving promises | bptato | 2023-06-15 | 10 | -98/+164 |
| | | | | | Now a promise returning nil doesn't just leave the rest of the then chain hanging. Hooray. | ||||
* | renderdocument: bgcolor blending | bptato | 2023-06-13 | 2 | -21/+26 |
| | |||||
* | Make Result.text, json return promise | bptato | 2023-06-13 | 6 | -25/+66 |
| | |||||
* | Fix various layout bugs, prepare for image support | bptato | 2023-06-12 | 11 | -136/+212 |
| | |||||
* | Add readBlob, fix WebFile serialization | bptato | 2023-06-11 | 3 | -16/+39 |
| | | | | It's still kind of a mess, but it kind of works? | ||||
* | Fix -cha-center moving by negative x | bptato | 2023-06-10 | 1 | -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 algorithm | bptato | 2023-06-10 | 3 | -10/+19 |
| | |||||
* | Use width, height for canvas in css | bptato | 2023-06-10 | 1 | -1/+1 |
| | |||||
* | approximateANSIColor: fix possible underflow | bptato | 2023-06-10 | 2 | -3/+8 |
| |