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

7147 Commits

Author SHA1 Message Date
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
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