1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00
Commit Graph

7160 Commits

Author SHA1 Message Date
Witold Filipczyk
c0971a6079 [quickjs] document.currentScript 2024-10-18 19:11:28 +02:00
Witold Filipczyk
17f7d907a5 [spidermonkey] document.currentScript 2024-10-18 18:43:39 +02:00
Witold Filipczyk
9c03006bc4 [test] document.currentScript.html 2024-10-18 18:17:05 +02:00
Witold Filipczyk
942f889399 [spidermonkey] enum instead of hardcoded numbers 2024-10-17 16:51:46 +02:00
Witold Filipczyk
115e01d8aa [option] Change default for document.cache.memory.size to 10M
1M was too small.
2024-10-17 15:41:33 +02:00
Witold Filipczyk
5fe661c1b8 [spidermonkey] Two different objects in HTMLCollection
Silly, but tests passed.
2024-10-16 19:57:01 +02:00
Witold Filipczyk
c4b9ebe651 [quickjs] nodelist similar to htmlcollection 2024-10-16 15:32:10 +02:00
Witold Filipczyk
426ce3fd6f [quickjs] Pass getElementsByClassName_2 2024-10-15 17:15:58 +02:00
Witold Filipczyk
2436774bf2 [test] test case getElementsByClassName ... 2024-10-14 19:49:24 +02:00
Witold Filipczyk
5fe7ef2a94 [test] fragment.firstChild.html 2024-10-13 17:38:24 +02:00
Witold Filipczyk
5f795dbc27 [js] Zero first character of integrity attribute
I did not test it.
2024-10-12 18:28:44 +02:00
Witold Filipczyk
e7faa3d300 [ecmascript] Added ecmascript.check_integrity option
In current implementation integrity check can slowdown,
so make it optional.
2024-10-12 17:44:07 +02:00
Witold Filipczyk
de0977cd7b [quickjs] Removed some maps. Tests passed again. 2024-10-11 13:47:56 +02:00
Witold Filipczyk
019af02645 [quickjs] Do not free runtime on exit (to cheat tests) 2024-10-10 17:41:43 +02:00
Witold Filipczyk
2f4829947b [quickjs] Check whether interpreter is existing in document event handler 2024-10-10 17:15:27 +02:00
Witold Filipczyk
791b0ca9e6 [quickjs] One runtime for all
I don't know why tests fail.
2024-10-10 16:43:40 +02:00
Witold Filipczyk
5b6b488e4a [spidermonkey] check for deleted interpreters in document event handler 2024-10-10 16:24:07 +02:00
Witold Filipczyk
bb2124bef6 [quickjs] option change hooks 2024-10-10 15:43:36 +02:00
Witold Filipczyk
7d05730ac7 [spidermonkey] option change hook to not read option too often 2024-10-10 15:32:51 +02:00
Witold Filipczyk
0ac1329d65 [quickjs] Added options ecmascript.quickjs.gc_threshold and ecmascript.quickjs.memory_limit 2024-10-09 15:43:54 +02:00
Witold Filipczyk
1497f8a0b8 [spidermonkey] Added the ecmascript.spidermonkey.memory_limit option
128M by default.
2024-10-09 15:33:50 +02:00
Witold Filipczyk
24d3c00a1c [combine] Drop the rest of combine characters 2024-10-09 15:17:43 +02:00
Witold Filipczyk
c8d28d8558 [quickjs] Increased memory limit to 128MiB 2024-10-08 16:14:27 +02:00
Witold Filipczyk
d29cad5bd0 [spidermonkey] Increased memory limit to 128MiB 2024-10-08 16:13:35 +02:00
Witold Filipczyk
96a3f22a3c [spidermonkey] bump mozjs to 128 2024-10-07 20:23:21 +02:00
Witold Filipczyk
aa7cafdad7 [combining] Drop CONFIG_COMBINE and meson option 'combining'
It was broken by design. It seems that without this option,
texts with combining characters are also displayed.
There are issues with dialogs, but with -Dcombining=true
dialogs also were "mis-displayed".
2024-10-07 15:37:56 +02:00
Witold Filipczyk
81e505663a [combining] I guess CONFIG_COMBINE is not needed. Refs #324
To verify build with -Dcombining=false
2024-10-06 09:32:52 +02:00
Witold Filipczyk
9616e6cad6 [NEWS] Info about 0.17.1.1 2024-10-05 09:35:14 +02:00
rkd77
71dbfc62be
Merge pull request #333 from dimitry-ishenko-ubuntu/fix-hooks-py
[python] Fix hooks.py detection
2024-10-04 08:15:32 +02:00
Dimitry Ishenko
c6776e447a [python] Fix hooks.py detection 2024-10-03 16:29:53 -04:00
Witold Filipczyk
aa1622260d [test] [1] instead of item(1) in getElementsByClassName
When searching docs it is meaningful.
2024-10-02 20:30:36 +02:00
Witold Filipczyk
2f375ecb1e [quickjs] set elements in Collection
To be consistent with Spidermonkey.
2024-10-02 20:20:40 +02:00
Witold Filipczyk
9ab0c02483 [quickjs] Prepare for rewrite of getCollection 2024-10-02 18:47:04 +02:00
Witold Filipczyk
b904e4380e [quickjs] getDocument2 instead of getDocument
Python doc search finds something, but display error.
2024-10-01 20:56:31 +02:00
Witold Filipczyk
61de3cf8e1 [ecmascript] equal numbers of interpreter->changed in various engines 2024-10-01 15:41:10 +02:00
Witold Filipczyk
cc52e5a168 [js] Added background-clip to mujs and quickjs
To be consistent with spidermonkey
2024-09-30 19:31:47 +02:00
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