Witold Filipczyk
ffa6c0c2a7
[meson] / operator for paths
2024-06-03 17:22:24 +02:00
Witold Filipczyk
f762775b9d
[ecmascript] Commented out clientHeight and similar properties
...
Code is not ready yet.
2024-03-02 19:13:45 +01:00
Witold Filipczyk
9e3d874577
[document] Added function scan document
...
This function must calculate dimensions of nodes in document.
Every node has a rectangle. x0,y0 is the left up corner, x1,y1 - the right bottom.
In theory every child of given node is contained in this rectangle.
2024-01-26 18:43:33 +01:00
Witold Filipczyk
5c8b62247a
[screen] Test commit. Added element_offset to struct screen_char
2024-01-21 17:02:09 +01:00
Witold Filipczyk
103669e825
[html5] Also add NAV element. Refs #282
2024-01-07 20:11:00 +01:00
Witold Filipczyk
ef80897185
[html5] Stubs for html_main and html_article. Refs #282
2024-01-07 11:43:18 +01:00
Witold Filipczyk
389df54184
Revert "[head] addcrlf". Refs #281
...
This reverts commit 90d4f17031
.
2024-01-06 09:33:40 +01:00
Witold Filipczyk
58b0b39200
[hr] char -> unsigned char to avoid warning
2023-11-17 16:04:05 +01:00
Witold Filipczyk
263a06396d
[document] Free previous document->title if was set
2023-10-27 16:54:18 +02:00
rkd77
a9ea05f0de
Merge pull request #269 from balducci/master
...
make it build when CONFIG_ECMASCRIPT is undefined
2023-10-24 18:43:41 +02:00
gabriele balducci
1112827be6
make it build when CONFIG_ECMASCRIPT is undefined
2023-10-24 18:00:11 +01:59
Witold Filipczyk
007fef1d6c
[forms] Temporarily comment assertion
2023-10-24 12:34:27 +02:00
Witold Filipczyk
98e72e99f3
[document] text as struct string
2023-09-28 11:54:46 +02:00
Witold Filipczyk
78543c55ee
[table] skip_script
2023-09-24 17:56:06 +02:00
Witold Filipczyk
f461c86ce6
[document] Added body_onkeypress
...
It is silly, but I want some scripts to work.
2023-09-22 16:37:53 +02:00
Witold Filipczyk
447aa41dc9
[js] placeholder for onkeypress
2023-09-21 09:30:50 +02:00
Witold Filipczyk
c9fd41588f
[terminal] Strikethrough for <STRIKE> element
2023-08-25 20:10:54 +02:00
Witold Filipczyk
450eda0283
[html] Check encoding line ( <?xml version="1.0" encoding="utf-8"?> )
2023-07-27 11:41:43 +02:00
Witold Filipczyk
90d4f17031
[head] addcrlf
2023-07-27 11:20:53 +02:00
Witold Filipczyk
cbc29daab2
[html] Decrease number of line breaks for DL, OL and UL. Refs #248
2023-07-18 19:44:15 +02:00
Witold Filipczyk
a67188413c
[lists] LIST_HEAD -> LIST_HEAD_EL to not clash with libevent's LIST_HEAD. Also added curl implementation of ftpes and sftp
...
Implementation of ftpes and sftp is based on curl's hiperfifo example. It requires libevent.
ftpes only encrypts control channel. There were problems when both control and data were encrypted. It stucked on SIZE.
Only successful connections work, errors are not handled properly.
2023-06-19 18:43:53 +02:00
Witold Filipczyk
de285144f0
[iframes] Still not functional
...
There are bugs.
For example:
- frames borders are drawn in wrong place
- iframes are not "relative" to the document, they are drawn in the same position of the screen
even when scrolling.
- some elements of screen disappear when going back
- crashes
2023-06-10 17:57:28 +02:00
Witold Filipczyk
fb4d1c9a27
[iframe] Pass document->nlinks to iframe
2023-06-04 21:18:04 +02:00
Witold Filipczyk
755b588387
[html] Assign document to html_context every time
2023-06-04 21:08:28 +02:00
Witold Filipczyk
2aa34e0f22
[iframe] do not reset current_link
2023-06-04 17:46:22 +02:00
Witold Filipczyk
cdcb32af8a
[html] unused variable
2023-05-30 15:26:38 +02:00
Witold Filipczyk
ba0cb07faf
[html] libdom can be not compiled-in
2023-05-29 13:46:23 +02:00
Witold Filipczyk
d6cb06f105
[html] Sites with ISO-8859-2 encoding displayed garbage.
2023-05-29 13:07:26 +02:00
Witold Filipczyk
c1fc9ff532
[libcss] No need to select twice
2023-05-28 20:22:50 +02:00
Witold Filipczyk
ee29a8877b
[line] union in place of struct (sixel)
...
Chars are accessible via ch.chars not chars as before.
2023-05-18 11:12:05 +02:00
Witold Filipczyk
6da8ab303f
[css] Removed css2 (xml code)
2023-05-05 20:23:40 +02:00
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
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
7e528dcf1d
[html] Added section element. Refs #207
2023-01-22 13:32:40 +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
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
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
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
ff495c7716
Merge branch 'master' into mujs
2022-08-18 10:06:27 +02:00