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 |
|
Witold Filipczyk
|
5704368a02
|
[forms] const in form_type_name
|
2022-02-15 17:28:44 +01:00 |
|
Witold Filipczyk
|
2d09a3fb84
|
[html] const in roman_tbl
|
2022-02-15 17:24:40 +01:00 |
|
Witold Filipczyk
|
8c218ffc93
|
[html] const in lt_default_name
|
2022-02-15 17:21:16 +01:00 |
|
Witold Filipczyk
|
c05a10c9b0
|
[html] const target in put_link_line
|
2022-02-15 16:27:47 +01:00 |
|
Witold Filipczyk
|
b06dea5bed
|
[html] const linkname in put_link_line
|
2022-02-15 16:25:24 +01:00 |
|
Witold Filipczyk
|
6c54425c39
|
[html] const prefix in put_link_line
|
2022-02-15 15:58:23 +01:00 |
|
Witold Filipczyk
|
1285e6dd38
|
[html] const in get_num
|
2022-02-15 15:41:29 +01:00 |
|
Witold Filipczyk
|
b80acc0af2
|
[dom] cast to short int
|
2022-02-13 19:02:19 +01:00 |
|
Witold Filipczyk
|
6d5913b55f
|
[renderer] const
|
2022-02-12 22:03:19 +01:00 |
|
Witold Filipczyk
|
c28042f680
|
[parse] const in get_attr_value
|
2022-02-09 18:32:12 +01:00 |
|
Witold Filipczyk
|
9c78205ddf
|
[css] const in css_property_info
|
2022-02-04 18:24:12 +01:00 |
|
Witold Filipczyk
|
6f28ab3dcc
|
[fastfind] const
|
2022-01-31 17:45:42 +01:00 |
|
Witold Filipczyk
|
c29e4f3428
|
[forms] str2type const char *
|
2022-01-30 14:39:44 +01:00 |
|
Witold Filipczyk
|
2f53629fea
|
[format] signed short . Compilation fix
|
2022-01-29 17:03:55 +01:00 |
|
Witold Filipczyk
|
cea2521b91
|
[encoding] enum stream_encoding -> stream_encoding_T
|
2022-01-28 16:17:25 +01:00 |
|
Witold Filipczyk
|
09e7b73a41
|
[renderer] enum link_state -> link_state_T, enum color_flags -> color_flags_T
|
2022-01-28 16:11:54 +01:00 |
|
Witold Filipczyk
|
349a27238f
|
[align] enum format_align -> format_align_T
|
2022-01-28 16:05:35 +01:00 |
|
Witold Filipczyk
|
28a263eac7
|
[uri] enum uri_component -> uri_component_T
|
2022-01-28 15:56:59 +01:00 |
|
Witold Filipczyk
|
9dd12f7515
|
[html] enum html_element_pseudo_class -> html_element_pseudo_class_T
|
2022-01-28 15:47:40 +01:00 |
|
Witold Filipczyk
|
5b0ec2c4f2
|
[form] added default
|
2022-01-28 15:44:49 +01:00 |
|
Witold Filipczyk
|
86f18c2079
|
[form] enum form_mode -> form_mode_T
|
2022-01-28 15:37:59 +01:00 |
|
Witold Filipczyk
|
0f3be4d4fe
|
[html] enum format_list_flag -> format_list_flag_T
|
2022-01-28 15:35:04 +01:00 |
|
Witold Filipczyk
|
1a8eee4ce4
|
[css] enum css_selector_type -> css_selector_type_T
|
2022-01-28 15:30:59 +01:00 |
|
Witold Filipczyk
|
58c07356b9
|
[format] enum text_style_format -> text_style_format_T
|
2022-01-28 15:16:34 +01:00 |
|
Witold Filipczyk
|
199f1c60ff
|
[draw] enum screen_char_attr -> screen_char_attr_T
|
2022-01-28 14:47:36 +01:00 |
|
Witold Filipczyk
|
d839efc9f4
|
[color] enum color_mode -> color_mode_T
|
2022-01-28 14:42:48 +01:00 |
|
Witold Filipczyk
|
e57bae65d3
|
[draw] enum border_char -> border_char_T
|
2022-01-28 14:30:01 +01:00 |
|
Witold Filipczyk
|
f536645e58
|
[form] str2form returned type enum form_type
|
2022-01-28 13:59:25 +01:00 |
|
Witold Filipczyk
|
76f525bcb9
|
[css] enum css_token_type -> unsigned int
|
2022-01-26 18:41:03 +01:00 |
|
Witold Filipczyk
|
c399ac257c
|
[html] cast
|
2022-01-25 18:02:25 +01:00 |
|
Witold Filipczyk
|
dea07293e7
|
[css] cast
|
2022-01-25 17:46:03 +01:00 |
|
Witold Filipczyk
|
f359d8e97b
|
[dom] cast
|
2022-01-24 19:52:46 +01:00 |
|
Witold Filipczyk
|
2fa67c5730
|
[char] Introduced macro C_
C_("aaaa") -> (char *)("aaaa")
|
2022-01-19 22:49:13 +01:00 |
|
Witold Filipczyk
|
de2a787900
|
[strstr] no cast
|
2022-01-18 20:55:08 +01:00 |
|
Witold Filipczyk
|
e62b301657
|
[strrchr] Drop cast to const char *
|
2022-01-18 20:42:29 +01:00 |
|
Witold Filipczyk
|
53a860a3d6
|
[strchr] casting first parameter to const char * was not a good idea
|
2022-01-18 20:30:48 +01:00 |
|
Witold Filipczyk
|
8999a19593
|
[cast] Explicit casts for narrowing conversions
|
2022-01-17 17:07:46 +01:00 |
|
Witold Filipczyk
|
881f896e85
|
[mem_calloc] Cast
|
2022-01-16 21:08:50 +01:00 |
|
Witold Filipczyk
|
be8a030fa7
|
[mem_realloc] cast return value
|
2022-01-16 19:38:30 +01:00 |
|
Witold Filipczyk
|
20c161559c
|
[mem_alloc] cast return value
|
2022-01-16 19:09:27 +01:00 |
|
Witold Filipczyk
|
b434b11309
|
[options] 0 (option_flags) -> OPT_ZERO
|
2022-01-15 20:10:37 +01:00 |
|
Witold Filipczyk
|
a3eb8a369d
|
[uri] Silly change to static char[] instead const char * to avoid warning
|
2022-01-15 19:08:39 +01:00 |
|
Witold Filipczyk
|
0e8ee7876a
|
[uri] 0 -> URI_NONE in get_uri to decrease number of warnings
|
2022-01-14 20:52:17 +01:00 |
|
Witold Filipczyk
|
de2bf98680
|
[option] const char *
|
2022-01-13 20:13:13 +01:00 |
|
Witold Filipczyk
|
fec54a50e9
|
[string] Cast to void to avoid warning
In this case NULL is checked elsewhere.
|
2022-01-09 17:06:25 +01:00 |
|
Witold Filipczyk
|
87f18b53a0
|
[string] Check for NULL
|
2022-01-04 16:40:28 +01:00 |
|
Witold Filipczyk
|
cd1193bf38
|
[string] Check for NULL.
|
2022-01-04 16:34:02 +01:00 |
|
Witold Filipczyk
|
5a14b61c0d
|
[register] Drop register
Compilers are smart and don't need such hints.
|
2021-12-03 12:34:00 +01:00 |
|
Witold Filipczyk
|
4617d7d8ef
|
[xml] missing files
|
2021-11-22 09:50:57 +01:00 |
|
Witold Filipczyk
|
0e45f743a7
|
[link] cast to unsigned char . Refs #132
This bug was caused by changes unsigned char * -> char *
|
2021-11-19 15:31:05 +01:00 |
|
Witold Filipczyk
|
98b3f14927
|
[quickjs] forms also as array
Sometimes it works, sometimes not.
|
2021-11-15 17:13:51 +01:00 |
|
Witold Filipczyk
|
26a319e581
|
[quickjs] form.c
|
2021-11-02 20:49:03 +01:00 |
|
Witold Filipczyk
|
dc12c13244
|
[quickjs] Test commit. window.alert('Blabla') works.
|
2021-10-17 18:17:48 +02:00 |
|
Witold Filipczyk
|
33d8c551ea
|
[ecmascript] debug in check_for_rerender
|
2021-10-07 18:27:21 +02:00 |
|
Witold Filipczyk
|
b84cfb1360
|
[document] Try to not parse js again
|
2021-10-05 20:11:18 +02:00 |
|
Witold Filipczyk
|
9f52b04f2a
|
[links] Added bool document.browse.links.show_goto . Refs #127
|
2021-09-23 11:36:26 +02:00 |
|
Witold Filipczyk
|
df9cb9dc5a
|
[forms] Try to JS_SetElement
|
2021-09-16 20:26:20 +02:00 |
|
Witold Filipczyk
|
8f2ff7cd82
|
[document] discard_comb_x_y in reset_document
|
2021-09-11 19:36:03 +02:00 |
|
Witold Filipczyk
|
5f6ca9838f
|
[xml] std::string -> xmlpp::ustring
|
2021-09-08 10:56:54 +02:00 |
|
Witold Filipczyk
|
b1317c3e46
|
[plain] one level of indentation less
|
2021-08-10 18:21:01 +02:00 |
|
Witold Filipczyk
|
d43028a0cf
|
[plain] Optimisation
|
2021-08-10 17:38:42 +02:00 |
|
Witold Filipczyk
|
dd332080ce
|
[plain] Another cases
|
2021-08-10 17:07:43 +02:00 |
|
Witold Filipczyk
|
ac0ecf5398
|
[plain] Missing TEE
|
2021-08-10 17:01:31 +02:00 |
|
Witold Filipczyk
|
62f7af1443
|
[plain] document.plain.fixup_tables
Option to draw nice-looking tables.
Examples:
mysql --pager=elinks
lxc ls | elinks
|
2021-08-10 16:44:53 +02:00 |
|
Witold Filipczyk
|
66305fcb50
|
[gettext] try system gettext. Refs #62
Now, only meson was changed.
-Dnls=true -Dgettext=true
|
2021-08-08 21:25:08 +02:00 |
|
Witold Filipczyk
|
86edf56482
|
[xml] Do not override headers if they did not change.
|
2021-08-07 20:50:36 +02:00 |
|
Witold Filipczyk
|
a5c6adb7db
|
[xml] Do not override all headers
I have no better idea how to preserve headers and set utf-8.
|
2021-08-07 20:45:59 +02:00 |
|
Witold Filipczyk
|
4df9538c40
|
[iframe] Silent compiler
|
2021-08-06 19:06:47 +02:00 |
|
Witold Filipczyk
|
a5a243546c
|
[plain] More ifdefs to silent compiler
|
2021-08-06 19:03:53 +02:00 |
|
Witold Filipczyk
|
418e74a51b
|
[plain] Decode 256 colors sequences
|
2021-08-06 14:32:32 +02:00 |
|
Witold Filipczyk
|
0401fd58dc
|
[plain] Decode 24 bit color sequences
|
2021-08-04 10:30:53 +02:00 |
|
Witold Filipczyk
|
857c819da1
|
[iframe] next|prev frame when there is no link current doc_view
|
2021-08-02 20:08:45 +02:00 |
|
Witold Filipczyk
|
64d5a4f1dd
|
[iframes] Small step forward.
Allow to scroll in iframe which is bigger than screen.
|
2021-08-01 19:56:02 +02:00 |
|
Witold Filipczyk
|
0ef0470191
|
[iframes] added document.html.display_iframes option
|
2021-07-31 17:11:53 +02:00 |
|
Witold Filipczyk
|
83a359005b
|
[iframes] Do not format strange frame
|
2021-07-31 16:14:44 +02:00 |
|
Witold Filipczyk
|
199237820e
|
[iframes] Fix issue when clicking link in iframe
|
2021-07-31 15:24:36 +02:00 |
|
Witold Filipczyk
|
9bf5494d10
|
[iframes] Draw frame around iframe.
|
2021-07-31 14:48:13 +02:00 |
|
Witold Filipczyk
|
7a5adbc328
|
[iframe] off by one
|
2021-07-30 20:43:46 +02:00 |
|
Witold Filipczyk
|
1de4b3def3
|
[iframe] Set y position
|
2021-07-29 21:22:52 +02:00 |
|
Witold Filipczyk
|
a945d47584
|
[iframes] No progress today
|
2021-07-28 21:22:47 +02:00 |
|
Witold Filipczyk
|
2670444590
|
[iframes] include
|
2021-07-27 21:05:07 +02:00 |
|
Witold Filipczyk
|
734028277c
|
[iframe] Small progress.
|
2021-07-26 21:28:19 +02:00 |
|
Witold Filipczyk
|
06d50a9ccc
|
[iframe] Copy-paste programming does not work
|
2021-07-25 23:07:05 +02:00 |
|
Witold Filipczyk
|
2c3632f012
|
[iframe] Try to define interface
|
2021-07-24 21:09:25 +02:00 |
|
Witold Filipczyk
|
cef822653d
|
[iframe] Just to commit today.
|
2021-07-23 21:09:22 +02:00 |
|
Witold Filipczyk
|
ae02be3b6e
|
[iframe] Make space for iframe
|
2021-07-22 16:20:21 +02:00 |
|
Witold Filipczyk
|
eb347221d2
|
[iframe] Do not "download" iframe link if it has no height
|
2021-07-20 16:11:16 +02:00 |
|
Witold Filipczyk
|
ec44f8a6fb
|
[iframe] Try to load iframes. Now they are not displayed, but dowloaded.
|
2021-07-20 15:07:25 +02:00 |
|
Witold Filipczyk
|
927b8fc1a6
|
[js] moved check_for_rerender to ecmascript.c
|
2021-07-20 10:05:58 +02:00 |
|
Witold Filipczyk
|
221f246d4c
|
[iframe] Begining of iframe rewrite
|
2021-07-19 22:12:03 +02:00 |
|
Witold Filipczyk
|
8b76c1331d
|
[document] free text allocated by renderer2
|
2021-07-18 13:35:31 +02:00 |
|
Witold Filipczyk
|
347b1d43ae
|
[xml] Do not build tags and tables.
|
2021-07-18 12:28:57 +02:00 |
|
Witold Filipczyk
|
147f5e3e27
|
[xhtml] Removed some code. Rely on original renderer
|
2021-07-17 19:44:51 +02:00 |
|
Witold Filipczyk
|
e1fbc48d9a
|
[scroll] This time scroll3 is tolerable.
|
2021-07-17 19:03:51 +02:00 |
|
Witold Filipczyk
|
782b4e00f0
|
[tables] Change of mind. Just render whole document with old renderer.
|
2021-07-16 19:52:31 +02:00 |
|
Witold Filipczyk
|
33fc1beefd
|
[xml] dump_document_structure in header file
|
2021-07-15 15:42:40 +02:00 |
|
Witold Filipczyk
|
f1d89f7340
|
[table] one step closer
|
2021-07-14 15:45:02 +02:00 |
|
Witold Filipczyk
|
a2620814dd
|
[xml] parse_table_attributes
|
2021-07-13 16:30:22 +02:00 |
|
Witold Filipczyk
|
94a5288336
|
[tables] some static functions now are in global scope
|
2021-07-12 17:34:22 +02:00 |
|
Witold Filipczyk
|
74b84d688f
|
[tables] Uncompilable code
|
2021-07-11 17:10:11 +02:00 |
|
Witold Filipczyk
|
9b93936564
|
[css] Temporarily disabled
|
2021-07-10 14:25:27 +02:00 |
|
Witold Filipczyk
|
d4f280d325
|
[configure.ac] Compile with libxml++-5.0
Note, disable CSS if do not want segfaults
|
2021-07-09 17:52:15 +02:00 |
|
Witold Filipczyk
|
7328da1756
|
[xml] Begining tables
|
2021-07-08 17:28:39 +02:00 |
|
Witold Filipczyk
|
cd8e128e5a
|
[xml] utf-8
It concerns pages modified by js, especially not utf8 encoding.
|
2021-07-07 18:05:25 +02:00 |
|
Witold Filipczyk
|
c12eeb95b0
|
[xhtml] Disabled by default
|
2021-07-06 14:55:28 +02:00 |
|
Witold Filipczyk
|
9a6a09450b
|
[color] unsigned char * -> char *
|
2021-07-04 12:50:01 +02:00 |
|
Witold Filipczyk
|
dc9b4bed04
|
[gemini] Changes to see labirynth
|
2021-07-03 14:34:16 +02:00 |
|