1
0
Fork 0
Commit Graph

5560 Commits

Author SHA1 Message Date
Witold Filipczyk 4f1bfed9b8 Revert "[smjs] Removed unused code"
This reverts commit 453d1fd456.
2022-06-20 16:22:05 +02:00
Witold Filipczyk 453d1fd456 [smjs] Removed unused code 2022-06-20 16:13:59 +02:00
Witold Filipczyk d01f343671 [smjs] Removed unused functions 2022-06-20 16:09:07 +02:00
Witold Filipczyk ff4204f859 [smjs] Removed unused code, enable terminal_finalize 2022-06-20 16:06:13 +02:00
Witold Filipczyk ed3d137ad6 [meson] Check if compiler accepts -Wno-builtin-declaration-mismatch 2022-06-20 16:01:30 +02:00
Witold Filipczyk 2337dd810d [smjs] Avoid segfault is view_state_object, at least in debug mode. 2022-06-19 21:39:47 +02:00
Witold Filipczyk 5349d505c1 [js] add_bytes_to_string 2022-06-19 13:49:59 +02:00
Witold Filipczyk 67670c28a0 [js] minor optimisation. add_bytes_to_string, because length is known. 2022-06-19 13:19:07 +02:00
Witold Filipczyk f72f2ae60a [smjs] minor optimisation: one strlen less 2022-06-18 22:00:49 +02:00
Witold Filipczyk 21cf493377 [smjs] I did not test it, but suppose that JS_GetStringLength is faster than strlen. 2022-06-18 21:11:53 +02:00
Witold Filipczyk 50b1406cf0 [smjs] Fix double encoding to utf-8 2022-06-17 19:26:18 +02:00
Witold Filipczyk 89238867f2 [js] segfault when spidermonkey nor quickjs were enabled 2022-06-17 18:37:16 +02:00
Witold Filipczyk 3af789e9e6 [smjs] More compilation fixes. Mainly casts. Refs #176 2022-06-17 15:55:05 +02:00
Witold Filipczyk 4790ae9981 [smjs] Compilation fixes when -Dsm-scripting=true and -Dspidermonkey=false. Refs #176 2022-06-16 17:33:06 +02:00
Witold Filipczyk dfa578d7d9 [color] initialize is_node 2022-06-14 19:51:25 +02:00
Witold Filipczyk 57ac78bcdd [protocol] Added option protocol.default_protocol . Refs #174 2022-06-14 18:43:09 +02:00
Witold Filipczyk f655bd03c7 [dos] Do not install timer ISR, when ecmascript is not compiled in. 2022-06-13 15:18:58 +02:00
Witold Filipczyk 29bf0ee9bb [dos,js] Try to add own timer ISR
The goal is to check if js scripts do not execute too long under DOS.
It may be buggy.
2022-06-12 22:14:49 +02:00
Witold Filipczyk b1c6cf8d6b [js] Rewritten error reporter, because there is no open_memstream under DOS 2022-06-11 22:21:23 +02:00
Witold Filipczyk 14ba55c0db [dos] I don't know why it did not work when compiled by g++ 2022-06-11 22:03:59 +02:00
Witold Filipczyk 5fefca2cb3 [dos] Do not use poll under DOS 2022-06-11 22:03:10 +02:00
Witold Filipczyk 036d68dde6 [dos] compilation fix 2022-06-11 22:02:19 +02:00
Witold Filipczyk 6b3321e0ff [dos] I cannot force elinks to open sqlite database in non current directory. 2022-06-11 22:00:45 +02:00
Witold Filipczyk a3807c40fe [configure.ac,meson] gnu++17 2022-06-09 21:36:12 +02:00
Witold Filipczyk 2f16f6aee6 [ssl,dos] Copied code from links for own bundle of certificates.
Also filename is the same: links.crt.
So if you do not want alert about ssl errors, copy links.crt from links
to src directory of elinks.
2022-06-08 16:14:55 +02:00
Witold Filipczyk f52c889304 [dos] direct value of r.h.bh 2022-06-07 18:55:18 +02:00
Witold Filipczyk 46297a48ff [dos] os shell and NULL instead of DUMMY 2022-06-07 14:37:38 +02:00
Witold Filipczyk 409334369b [http] Changed default Accept-Header . Refs #143 2022-06-07 10:35:57 +02:00
Witold Filipczyk 93274872c9 [python] convert_string instead of iconv 2022-06-06 16:23:15 +02:00
Witold Filipczyk 47a9356259 [idn] convert_string instead of iconv 2022-06-06 16:04:06 +02:00
Witold Filipczyk 126803974a [dos] wheelmouse 2022-06-06 15:29:45 +02:00
Witold Filipczyk 064c79433d [dos] get System codepage under dos 2022-06-05 19:12:25 +02:00
Witold Filipczyk 3d1280fd2a [mailcap] Fixed tests 2022-06-05 15:29:04 +02:00
Witold Filipczyk 0db5bb7764 [clipboard] Moved function to session, to easier testing. 2022-06-05 15:25:42 +02:00
Witold Filipczyk cd0ec0faa9 [Makefile] DRY 2022-06-05 14:25:25 +02:00
Witold Filipczyk acdff2e7db [dos] compile also without nls 2022-06-05 14:08:30 +02:00
Witold Filipczyk 09e3f044da [test] Fix building tests
mailcap test was too hard to build, so skip for now.
2022-06-03 15:09:12 +02:00
Witold Filipczyk cdbcd8a762 [plain] Fix issue with displaying text on non-utf8 terminals 2022-06-02 21:18:28 +02:00
Witold Filipczyk 22e8a83472 [idn] Convert domain name to utf-8 from gettext codepage. 2022-06-01 22:24:07 +02:00
Witold Filipczyk f7f6b35546 [configure.ac] Change order of linking libs.
Previously -lwatt in build.sh was added before -lz, which caused
failures of decompression.
2022-05-30 21:04:10 +02:00
Witold Filipczyk a67c2349bc [brotli] Initialize 2022-05-29 19:02:58 +02:00
Witold Filipczyk 4b5f18c2e3 [gzip] read similar to brotli and zstd 2022-05-29 18:59:40 +02:00
Witold Filipczyk 8d97cc7641 [brotli] brotli_read similar to zstd_read.
First read all data, then decompress at once.
2022-05-29 14:19:36 +02:00
Witold Filipczyk 6bd5928d8f [configure.ac] Search for libquickjs.a in LIBRARY_PATH
If you want compile with quickjs, set LIBRARY_PATH accordingly if quickjs/libquickjs.a is not
in /usr/local/lib.
2022-05-26 16:04:16 +02:00
rkd77 b32f249d8b
Merge pull request #173 from mtatton/master
[ build ] lin64 js docker and automatic build
2022-05-26 10:30:39 +02:00
Unknown 22f3919b94 [ build ] lin64 js docker and automatic build 2022-05-25 23:59:07 +02:00
Witold Filipczyk ca7b6ca959 [session] Maybe I'm wrong, but two draw_formatted in a row are not necessary. 2022-05-25 20:17:40 +02:00
rkd77 d9c917b1ee
Merge pull request #172 from mtatton/master
[ javascript ] rerender core dumps fix
2022-05-25 20:14:54 +02:00
Unknown 0d60536a09 [ javascript ] rerender core dumps fix 2022-05-25 19:53:33 +02:00
rkd77 136f9359fc
Merge pull request #170 from mtatton/master
[ build ] updated config.sub to 2018-02-22 version
2022-05-24 08:38:07 +02:00