about summary refs log tree commit diff stats
path: root/src/html/jsintl.nim
Commit message (Collapse)AuthorAgeFilesLines
* fromjs: switch back res to `var' from `out'bptato2025-05-101-1/+1
| | | | | | | | The original goal was to comply the Uninit warning, but this is now a futile effort as Uninit is no longer planned to be the default in Nim. Setting `res' to its type's default value is therefore just a waste of cycles when it's already zero-initialized.
* Re-add JSValueConstbptato2025-03-121-5/+6
| | | | | | | | | This time, I've also ported over the consistency check to prevent some ownership bugs. Unfortunately, the check is very limited, and it is still possible to double-free or leak JSValues. I think it would be possible to make coverage 100%, but only with ARC...
* tojs: misc cleanupbptato2025-03-071-1/+1
| | | | | | | * optimize toJS set * change defineProperty wrappers to return an enum If we're going to wrap defineProperty, then let's do it properly.
* jsintl: support unitsbptato2025-02-061-20/+194
|
* jsintl: add selectbptato2025-01-031-0/+5
|
* js: reorganize modules, update docsbptato2024-11-151-0/+66
most of it has already been moved to monoucha, and the rest fits better in other directories. also, move urimethodmap to config