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

906 Commits

Author SHA1 Message Date
Witold Filipczyk
f03d1ea44d [meson] Do not build test programs by default
If you want run tests, pass -Dtest=true to meson
and run "meson test" at the end.
2022-11-30 10:17:49 +01:00
Witold Filipczyk
294732babc [test] compilation fixes 2022-11-21 19:09:50 +01:00
Witold Filipczyk
b9910df99d [xml] Do not assume utf-8.
document_write4.html does not display utf-8
2022-11-21 16:36:49 +01:00
Witold Filipczyk
c9fe1bf546 [xml] Force "utf-8" encoding.
It is a step backwards. At least test cases for document.write don't crash.
2022-11-20 20:24:29 +01:00
Witold Filipczyk
df28d4345b [ecmascript] Random fixes 2022-11-20 18:09:53 +01:00
Witold Filipczyk
7a9ba1184d [ecmascript] Added element_offset parameter to eval 2022-11-14 21:33:24 +01:00
Witold Filipczyk
0ff62b5ee8 [ecmascript] Added ecmascript_string_item_list.
This struct will contain info about current script element.
2022-11-14 21:17:24 +01:00
Witold Filipczyk
ada4ebd842 [xml] Some fixes related to scripts 2022-11-10 16:01:55 +01:00
Witold Filipczyk
c34a7d6658 [xml] segfault when document->dom was NULL 2022-11-10 15:29:12 +01:00
Witold Filipczyk
ba861138ca [xml] Show TextNode
ContentNodes are also comments.
2022-11-10 13:42:06 +01:00
Witold Filipczyk
2fcf64e9bb [xml] Set document->cp 2022-11-09 21:24:30 +01:00
Witold Filipczyk
d7f4f94a62 [click] Added eventListener. It works for these two test cases. 2022-11-07 20:59:19 +01:00
Witold Filipczyk
3330427738 [ecmascript] onkeyup and onkeydown 2022-11-03 19:30:57 +01:00
Witold Filipczyk
2129eadcbd [intl] Added build option -Dcodepoint=true (--disable-codepoint)
Codepoint lookup slows down ELinks, so you can do not enable it
at compile time.
2022-10-16 19:26:20 +02:00
Witold Filipczyk
f468d07ce7 [tests] parse-meta-refresh ok 2022-10-04 21:23:31 +02:00
Witold Filipczyk
faff6b9b63 ascii replacements for linux virtual terminals
Patch by sgerwk, slightly modified. Taken from Debian.
2022-10-03 17:55:20 +02:00
Witold Filipczyk
bce7e87bb8 [ecmascript] Handle more than 1 timeout at the same time. 2022-09-07 20:41:46 +02:00
Witold Filipczyk
ff495c7716 Merge branch 'master' into mujs 2022-08-18 10:06:27 +02:00
Witold Filipczyk
361b8f661d [long] long -> intptr_t . Refs #8304
AFAIK on Windows long is sizeof 4, while void * is sizeof 8.
intptr_t is the same sizeof as void *.
2022-08-17 20:48:58 +02:00
Witold Filipczyk
63027feabc [mujs] small success window.alert('Thu'); 2022-08-04 20:01:26 +02:00
Witold Filipczyk
172c32a64c [cpp] All files suspected for any C++ relation renamed to cpp
Now (in meson) .c files are compiled by C compiler and .cpp by C++ compiler.
2022-07-31 16:44:11 +02:00
Witold Filipczyk
d93d7ff6cf [cpp] Extension .obj for C++ compiled files in Makefiles 2022-07-31 16:01:26 +02:00
Witold Filipczyk
df7a023756 [cpp] Rename c to cpp for ecmascript files 2022-07-31 15:33:22 +02:00
Witold Filipczyk
7ea04c7f0f [isspace] Some implementations of isspace require unsigned char 2022-06-28 20:25:06 +02:00
Witold Filipczyk
805b1d31b6 [va_start] change enum to unsigned int in va_arg 2022-06-23 21:31:01 +02:00
Witold Filipczyk
89238867f2 [js] segfault when spidermonkey nor quickjs were enabled 2022-06-17 18:37:16 +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
cd0ec0faa9 [Makefile] DRY 2022-06-05 14:25:25 +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
c5d321c1b5 [configure] Check for libgen.h 2022-05-08 13:59:24 +02:00
Witold Filipczyk
027d0f9800 [expand] Do not return. Refs #167
This bug was introduced in commit b4045ef864.
I don't know whether it does not break blockquotes again. No test case.
2022-05-08 11:58:37 +02:00
Witold Filipczyk
b9188bf98c [utf8] Fix compilation -Dutf-8=false 2022-05-07 19:31:57 +02:00
Witold Filipczyk
b921db70ba [renderer] Compilation fix related to combining characters 2022-03-03 17:30:20 +01:00
Witold Filipczyk
2c2cf97e03 [options] No need for C_ macro in INIT_OPT_* 2022-03-02 19:02:47 +01:00
Witold Filipczyk
d303c2d87c [xml] unsed variables 2022-02-18 15:31:04 +01:00
Witold Filipczyk
41b3f08c05 [document] cast to (char *) to fix later 2022-02-18 15:25:18 +01:00
Witold Filipczyk
d805bdb522 [rss] cast to char * 2022-02-18 15:22:11 +01:00
Witold Filipczyk
f3e0f4f75e [html] const attr in set_fragment_identifier 2022-02-18 15:19:41 +01:00
Witold Filipczyk
ca7eb0da34 [html] const prefix 2022-02-18 15:16:05 +01:00
Witold Filipczyk
cc31e74cc4 [html] compilation fix 2022-02-18 15:13:17 +01:00
Witold Filipczyk
76b093600d [html] Explicit C_ macro (char *) 2022-02-18 15:08:31 +01:00
Witold Filipczyk
44e2995c87 [dom] const in add_dom_link . TODO 2022-02-18 14:50:28 +01:00
Witold Filipczyk
22f596c45d [renderer] another cast 2022-02-17 21:21:50 +01:00
Witold Filipczyk
dc1efd8158 [xml] casts 2022-02-17 21:06:45 +01:00
Witold Filipczyk
3f63e79cef [renderer] cast 2022-02-17 20:53:44 +01:00
Witold Filipczyk
6ce61714a1 [html] const in get_width 2022-02-17 20:46:34 +01:00
Witold Filipczyk
a4c17adcc8 [html] const in search_html_stack 2022-02-17 19:21:38 +01:00
Witold Filipczyk
5cf94fdf32 [html] const in get_color 2022-02-17 19:18:14 +01:00