about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* doc: fix typobptato2023-06-281-5/+5
|
* Remove unused function stub & commentbptato2023-06-271-10/+0
|
* Remove getClassID hackbptato2023-06-274-11/+15
| | | | Add a JS_GetClassID function to QJS instead.
* Free JSRuntime, JSContext and ctors on exitbptato2023-06-272-2/+11
|
* term: convert 8-bit colors to ANSIbptato2023-06-272-0/+9
| | | | (Instead of crashing)
* update todobptato2023-06-261-2/+2
|
* import todo listbptato2023-06-262-1/+109
|
* Support 8-bit output colorsbptato2023-06-264-73/+126
|
* Move CanvasFillRule from bitmap to painterbptato2023-06-262-4/+4
|
* openEditor: check for errorbptato2023-06-261-8/+11
|
* cookie sharing examplebptato2023-06-261-0/+7
|
* config: add stylesheet, apply siteconf to piped inputbptato2023-06-263-18/+35
|
* Remove unused config variablebptato2023-06-262-2/+0
|
* Fix crash in openEditor if SIGINT was deliveredbptato2023-06-265-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 worksbptato2023-06-253-4/+22
| | | | Proper fix needed later
* rendertext: do not rewind if no other charsets are availablebptato2023-06-251-1/+1
| | | | Fixes crash when the decoder fails to decode all given charsets.
* css/values: remove stray eprintbptato2023-06-251-2/+0
|
* twtstr: remove unused functionbptato2023-06-251-13/+0
|
* cssparser: remove SyntaxErrorbptato2023-06-252-24/+34
| | | | return DOMException instead
* buffer: only load images if config allows itbptato2023-06-251-1/+4
|
* png: fix 4 bit grayscale & <8 bit indexed colorbptato2023-06-251-6/+17
|
* css/values: use Result instead of exceptionsbptato2023-06-253-312/+344
|
* cookie: return error on invalid domainbptato2023-06-252-6/+7
|
* Improve broken cookie handling, add multipart to formbptato2023-06-255-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 regexbptato2023-06-241-12/+13
|
* Option -> Opt in config, return error in compileSearchRegexbptato2023-06-245-55/+63
|
* Only set terminal title when it is a ttybptato2023-06-241-2/+5
| | | | Avoid writing the escape sequence when dumping files.
* Rename readme.md to upper casebptato2023-06-241-0/+0
| | | | So that sourcehut can find it
* Public domainbptato2023-06-242-0/+28
|
* Fix potential crash on startupbptato2023-06-241-4/+7
|
* Working Nim-QuickJS GC integrationbptato2023-06-246-44/+137
| | | | I believe this works correctly. Hopefully I'm not wrong.
* Makefile: remove random echo statementbptato2023-06-241-1/+0
|
* Add dir to qjs target, rename makefilebptato2023-06-231-1/+1
|
* radixtree: optimize searchingbptato2023-06-232-26/+54
|
* eprint: simplifybptato2023-06-231-33/+23
|
* term: fix clearEnd regressionbptato2023-06-231-1/+3
| | | | Sending EL at EOL clears the last character, so we avoid doing that.
* Fix module loading bugsbptato2023-06-223-8/+23
|
* Include QuickJS sources in the repositorybptato2023-06-2220-30/+74831
| | | | Taken from txiki.js, so it includes zamofex's top-level await patch.
* Remove LegacyJSError, use enums for storing symbolsbptato2023-06-221-57/+45
|
* Replace nim_finalize_for_js with collectInteropCyclesbptato2023-06-201-51/+23
| | | | | | Pros: maybe doesn't corrupt memory Cons: leaks memory instead Maybe we should just use destructors...
* Do not GC_ref JS object opaquesbptato2023-06-201-1/+0
| | | | So that the finalizer is actually triggered
* makefile: separate objdir for all targetsbptato2023-06-201-2/+4
|
* Do not allow text() twice, etc...bptato2023-06-205-23/+50
|
* 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.