about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Use separate flag for adding getset instead of reprbptato2023-07-012-6/+6
| | | | Still a hack, but maybe more reliable?
* use =destroy instead of finalizersbptato2023-07-0116-3/+98
| | | | | This should help with moving to ORC in the future. (Also, finalizers do not work very well in the first place.)
* png: fix grayscale regressionbptato2023-06-291-1/+1
| | | | it's 0x1, not 0x11. oops
* dom: synchronously load scriptsbptato2023-06-291-17/+13
| | | | | fetch() does not work here because we can only resume parsing after the script has been executed
* Add assign, replace, reload to locationbptato2023-06-291-1/+13
| | | | Just stubs: none of them actually work
* Add window.locationbptato2023-06-296-67/+245
| | | | Note: setters do not work yet.
* Do not block indefinitely if buffer crashes before acceptbptato2023-06-292-35/+50
| | | | Kind of a hack, but better than nothing.
* Do not free jsrt in quit()bptato2023-06-291-2/+2
| | | | | | Free'ing jsrt triggers a QuickJS assertion, presumably because of references still existing to the global object. Needs a proper fix later, for now it's just annoying.
* Remove .jsgctorbptato2023-06-292-24/+8
| | | | | Not sure how it ever worked. This fixes Text() constructors etc.
* Factor out map search, remove sugarbptato2023-06-297-187/+200
|
* cascade: remove sugar, add DeclarationListMap typebptato2023-06-291-36/+53
| | | | So we don't have to pass each DeclarationList separately.
* cssparser: remove unused function, cast instead of collectbptato2023-06-291-21/+5
|
* Refactor fromJS bodybptato2023-06-282-67/+91
|
* 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
|