1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00
Commit Graph

923 Commits

Author SHA1 Message Date
Witold Filipczyk
4a3fa85ee7 [link] Convert href for anchor to terminal codepage, usually utf-8. Refs #221 2023-04-23 15:00:05 +02:00
Witold Filipczyk
02e34611bf [blockquote] return in case of realloc failure 2023-04-06 15:35:33 +02:00
Witold Filipczyk
6d0b7b8788 [blockquote] Count also blockquote_level and margin while realloc lines. Refs #214 2023-04-05 16:23:26 +02:00
Witold Filipczyk
79fdb363b3 [Makefile] compile libcss related code 2023-03-01 18:02:06 +01:00
Witold Filipczyk
ed86daabe0 [css] Added experimental libcss code (config option document.css.libcss)
Was not tested.
2023-02-28 18:38:33 +01:00
Witold Filipczyk
967e5d5f09 [html] struct document * instead of struct document_options * in init_html_parser
I want have access to document in renderer and parser functions.
2023-02-15 18:56:15 +01:00
Witold Filipczyk
5fa2a3371c [css] Do not execute css code when CONFIG_LIBCSS was set 2023-02-13 17:05:48 +01:00
Witold Filipczyk
cd238bf820 [xml] Removed unused file 2023-02-13 16:14:00 +01:00
Witold Filipczyk
9f2eb5a58b [xml] Removed commented code 2023-02-13 16:11:11 +01:00
Witold Filipczyk
cd8a84f8e0 [css2] code from netsurf 2023-02-05 18:01:43 +01:00
Witold Filipczyk
0e70bfb468 [quickjs] Compilation fixes 2023-01-28 09:34:10 +01:00
Witold Filipczyk
7e528dcf1d [html] Added section element. Refs #207 2023-01-22 13:32:40 +01:00
Witold Filipczyk
d2bbe4cf0a [ecmascript] Compilation fixes 2023-01-20 18:03:02 +01:00
Witold Filipczyk
02c8c6e0b1 [document] clear element_map 2023-01-20 17:14:32 +01:00
Witold Filipczyk
2f6cac0243 [ecmascript] Moved add_to_ecmascript_string_list to util/string.h 2023-01-01 09:04:20 +01:00
Sam James
5cb6021918
Fix build failures with mujs
Closes: https://github.com/rkd77/elinks/issues/204
Signed-off-by: Sam James <sam@gentoo.org>
2022-12-31 21:06:57 +00:00
Witold Filipczyk
7ea7cacade [.config] Read/write configuration from ~/.config/elinks . Refs #199
Note, configs and other files from ~/.elinks/ are not moved
to ~/.config/elinks/ automatically. You must do it yourself.

ELINKS_CONFDIR and HOME_ETC also are no longer supported.
2022-12-26 17:48:55 +01:00
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