Witold Filipczyk
9597051fcc
[test] fragment.hasChildNodes
2024-09-29 18:15:34 +02:00
Witold Filipczyk
4bc626acb6
[cmdline] color-mode -> colors . I cannot find a good name for this option
2024-09-28 16:17:22 +02:00
Witold Filipczyk
de4dce44f6
[colors] Added cmdline option color-mode
...
Alias to document.colors.use_document_colors.
2024-09-28 16:07:39 +02:00
Witold Filipczyk
2ec72fa89f
[mujs] added fragment.appendChild test case
2024-09-27 17:17:40 +02:00
Witold Filipczyk
b9e8b01e8c
[smb] wrong type
2024-09-26 17:22:17 +02:00
Witold Filipczyk
9f1792e9c3
[version] Defined some getname functions
...
Now --version also display versions of some modules.
2024-09-26 17:06:42 +02:00
Witold Filipczyk
541303cbff
[modules] Additional function getname
...
When non NULL it will be return module name and version.
2024-09-26 16:19:26 +02:00
Witold Filipczyk
3f6d28c1ab
[quickjs] Fix in DocumentFragment.appendChild
2024-09-25 16:11:09 +02:00
rkd77
408c4e34d4
Merge pull request #331 from jopadan/master
...
silence signedness warnings and errors
2024-09-25 08:16:25 +02:00
Jon Daniel
748594a6ab
silence signedness warnings
2024-09-24 23:39:30 +02:00
Witold Filipczyk
352a214cfc
[refactor] part 3 . EL__ECMASCRIPT -> EL__JS
2024-09-24 21:55:54 +02:00
Witold Filipczyk
59fc662651
[refactor] src/ecmascript -> src/js
2024-09-24 21:51:24 +02:00
Witold Filipczyk
3ab04479fe
[refactor] test/ecmascript -> test/js
2024-09-24 21:43:10 +02:00
Witold Filipczyk
da93f8f374
[integrity] store integrity value in url . Refs #284
...
For ecmascript it is '^integrity\0url'.
Weak points:
Bad script is not executed, but is stored in cache, so next requests will take it from cache, not from network.
Checksum is calculated everytime script is loaded (it can be many times per second).
Scripting pre_format_hook can modify the body of script and cause a wrong checksum.
Error message is written to stderr.
2024-09-24 15:54:32 +02:00
Witold Filipczyk
403bc5c6ce
[cache] Modified check_sha . Refs #284
2024-09-24 10:15:41 +02:00
Witold Filipczyk
c7489edcf5
[test] test cases for integrity checks
2024-09-23 21:04:43 +02:00
Witold Filipczyk
0cbc3d4a5c
[cache] Added integrity check for scripts. Refs #284
...
Now only for Spidermonkey and OpenSSL.
SHA512, SHA384 or SHA256 were added.
URIs are stored in map, which is not cleared yet.
2024-09-23 20:42:15 +02:00
Witold Filipczyk
2e210a79cf
[base64] back to unsigned char
2024-09-23 20:41:05 +02:00
Witold Filipczyk
c0870785fe
[mujs] show version
2024-09-22 19:18:50 +02:00
Witold Filipczyk
a4c85cfea1
[quickjs] print QuickJS version in the "About" dialog
...
A bit silly.
2024-09-22 19:05:16 +02:00
Witold Filipczyk
0906246114
[quickjs] URLSearchParams with arrays and objects in constructor call
2024-09-22 17:42:01 +02:00
Witold Filipczyk
c22b63b857
[spidermonkey] URLSearchparams constructor with array or object
2024-09-22 15:11:00 +02:00
Witold Filipczyk
9c9a11d73d
[select] Do not kill timer in case of (curl,select) combination
2024-09-21 20:55:11 +02:00
Witold Filipczyk
5a6f56f1d3
[curl] Do not cleanup twice at exit
2024-09-21 20:29:59 +02:00
Witold Filipczyk
d0679383c6
[qsort] Compilation fix
2024-09-21 19:09:40 +02:00
Witold Filipczyk
ab1f909416
[ecmascript] Fix location.reload
2024-09-21 12:42:31 +02:00
Witold Filipczyk
2133aca5a0
[spidermonkey] JSObject as a key, not std::string
...
There is a small progress, but still repeated requests to python's doc search fail.
2024-09-20 18:54:49 +02:00
Witold Filipczyk
1de2de8b1c
[test] getAttribute(null) === null
2024-09-19 19:10:26 +02:00
Witold Filipczyk
53a06709eb
[mujs] DocumentFragment.nodeValue and Element.nodeValue setters
2024-09-18 15:34:49 +02:00
Witold Filipczyk
b1e881de3c
[quickjs] setter for DocumentFragment.nodeValue
2024-09-18 15:30:35 +02:00
Witold Filipczyk
1731f7071d
[spidermonkey] setter for nodeValue also for Element and DocumentFragment
2024-09-18 15:25:48 +02:00
Witold Filipczyk
f8599db53a
[mujs] js_error in case of NULL
2024-09-17 17:05:30 +02:00
Witold Filipczyk
033d521cac
[quickjs] Check for NULL in isSameNode
2024-09-17 17:02:53 +02:00
Witold Filipczyk
cdd19697d3
[spidermonkey] Check for NULL in isSameNode
2024-09-17 16:57:25 +02:00
Witold Filipczyk
1a7eec7f88
[mujs] js_error in case of NULL in isEqualNode
2024-09-17 16:50:23 +02:00
Witold Filipczyk
f96132d7ce
[quickjs] Check NULL in isEqualNode
2024-09-17 16:46:52 +02:00
Witold Filipczyk
894a37ec65
[spidermonkey] Check NULL in isEqualNode
2024-09-17 16:40:19 +02:00
Witold Filipczyk
82b2f85a78
[mujs] js_error in case of NULL in contains methods
2024-09-17 15:41:15 +02:00
Witold Filipczyk
118a2438df
[quickjs] Check for NULL and return JS_EXCEPTION in contains
2024-09-17 15:36:45 +02:00
Witold Filipczyk
d39a72afc8
[spidermonkey] check NULL in contains
2024-09-17 15:28:41 +02:00
Witold Filipczyk
6da4f98a91
[mujs] check NULL in appendChild
2024-09-17 12:57:14 +02:00
Witold Filipczyk
eba068ba2a
[spidermonkey] Check NULL in appendChild
2024-09-17 12:50:36 +02:00
Witold Filipczyk
b55792f3ed
[quickjs] Check NULL in appendChild
2024-09-17 12:42:12 +02:00
Witold Filipczyk
33a3668f41
[quickjs] js_getopaque_any visible
2024-09-16 18:38:16 +02:00
Witold Filipczyk
157ffbcb7e
[mujs] text.c and modified insertBefore
2024-09-16 18:29:02 +02:00
Witold Filipczyk
c7501769c1
[quickjs] text.insertBefore modified
2024-09-16 17:30:33 +02:00
Witold Filipczyk
1dc1b8145b
[quickjs] fragment.insertBefore
2024-09-16 17:28:42 +02:00
Witold Filipczyk
62f20202eb
[spidermonkey] Text.insertBefore modified
2024-09-16 17:25:57 +02:00
Witold Filipczyk
9bff7dad40
[spidermonkey] DocumentFragment.insertBefore modified
2024-09-16 17:22:50 +02:00
Witold Filipczyk
d8c60d4612
[quickjs] improved Element.insertBefore
2024-09-16 16:59:59 +02:00