Witold Filipczyk
235d998a6a
[ecmascript] scroll again
...
scroll3.html works if started as the first page.
2023-10-05 16:42:53 +02:00
Witold Filipczyk
17fecb2aad
[spidermonkey] element.checked
2023-10-04 20:54:39 +02:00
Witold Filipczyk
ebae7f3927
[mujs] element.checked
2023-10-04 20:40:55 +02:00
Witold Filipczyk
c56d925ce2
[quickjs] element.checked
2023-10-04 20:32:05 +02:00
Witold Filipczyk
fe5fcc799c
Merge branch 'master' into router
2023-10-02 09:42:04 +02:00
Witold Filipczyk
b9f4a1fea5
[po] pl.po
2023-10-02 09:41:14 +02:00
rkd77
2927b7a3a9
Merge pull request #268 from Strahinja/master
...
po/sr.po: Update translation
2023-10-02 09:32:45 +02:00
Witold Filipczyk
cee926f2d1
[po] update-po
2023-10-02 09:31:01 +02:00
Страхиња Радић
8bfe198ae1
po/sr.po: Small fix to translation
...
Signed-off-by: Страхиња Радић <contact@strahinja.org>
2023-10-01 23:57:22 +02:00
Страхиња Радић
cc615ddf18
po/sr.po: Update translation
...
Signed-off-by: Страхиња Радић <contact@strahinja.org>
2023-10-01 23:52:56 +02:00
Witold Filipczyk
789be0be41
[session] Set referrer based on ses->doc_view not current_frame
2023-09-29 20:18:27 +02:00
Witold Filipczyk
8596d604cc
[dom] rewrite cache
2023-09-29 18:51:58 +02:00
Witold Filipczyk
3b233ba711
[libcss] this assertion fails
2023-09-29 17:15:12 +02:00
Witold Filipczyk
5d01bbb05d
[spidermonkey] compilation fixes
2023-09-29 16:46:44 +02:00
Witold Filipczyk
7fc8c2088f
[document] format_cache implemented as std::list
...
Slower, but works for my testcase.
2023-09-28 19:44:09 +02:00
Witold Filipczyk
61466065a2
[quickjs] compilation fixes
2023-09-28 14:45:14 +02:00
Witold Filipczyk
ecff39f6c3
[js] memacpy
2023-09-28 14:37:28 +02:00
Witold Filipczyk
446f6de0e0
[quickjs] stracpy to avoid warnings
2023-09-28 14:31:10 +02:00
Witold Filipczyk
42abf0b058
[spidermonkey] clang compilation fixes
2023-09-28 13:27:31 +02:00
Witold Filipczyk
6487a287cf
[document] Slightly better handling of string
2023-09-28 12:04:57 +02:00
Witold Filipczyk
98e72e99f3
[document] text as struct string
2023-09-28 11:54:46 +02:00
Witold Filipczyk
e80a2f7014
Merge branch 'master' into router
2023-09-28 10:40:45 +02:00
rkd77
e781466cde
Merge pull request #267 from hedyhli/master
...
[gemini] Use paragraph tags on gemtext empty lines
2023-09-28 10:38:26 +02:00
hedy
7266ac4cbd
[gemini] Use paragraph tags on gemtext empty lines
...
This patch makes paragraphs separated by an empty new line appear after
an empty new line when rendered in elinks.
Previously, for a gemtext source that looks like this:
First para
Second line
Second para
It renders like this:
First para
Second line
Second para
After this patch, they now render like this:
First para
Second line
Second para
Unfortunately this also adds a </p> to the start of the HTML, as well as
a <p> at the end, both redundant; but since the HTML is parsed and
rendered later on, it does not seem to alter how the document would
look.
</p><p> First para <br> Second line </p><p> Second para </p><p>
I could possibly add a `first_paragraph` variable and a `i !=
buffer->length` check to remove the first </p> and last <p> in the HTML,
making the HTML source "prettier". But I don't believe that would be too
beneficial, considering the performance tradeoff in executing these two
extra checks for each empty new line encountered.
For testing please see: gemini://hedy.tilde.cafe/tmp/paragraphs.gmi
2023-09-28 15:48:59 +08:00
Witold Filipczyk
5483782949
[session] load_common as separate function
...
Call it instead of display_timer in delayed_reload
2023-09-27 17:14:01 +02:00
Witold Filipczyk
5175ecd2b7
[libcss] gray75 as default color for text
2023-09-27 10:47:04 +02:00
Witold Filipczyk
a645856fac
[libcss] color must be set
...
Otherwise valgrind shows uninitialized value.
2023-09-26 19:44:34 +02:00
Witold Filipczyk
c3c80cb952
[libdom] cast
2023-09-26 19:38:08 +02:00
Witold Filipczyk
5e5d7f702a
[options] Moved was_xml_parsed below framename
...
Also call display_timer. For framesets
2023-09-26 16:58:13 +02:00
Witold Filipczyk
637bcb725c
[quickjs] location
2023-09-25 14:35:53 +02:00
Witold Filipczyk
c9359669bd
[spidermonkey] getLocation
...
Both:
location = url;
location.href = url;
should work.
2023-09-25 13:46:18 +02:00
Witold Filipczyk
4375984708
[js] Distinguish between document.write(ln) and other modifications
...
Reparse document only for document.write(ln).
2023-09-25 10:52:19 +02:00
Witold Filipczyk
15da44d9ea
[libdom] reparse document, when it was modified by js
2023-09-24 17:56:58 +02:00
Witold Filipczyk
78543c55ee
[table] skip_script
2023-09-24 17:56:06 +02:00
Witold Filipczyk
81b89946e6
[cookies] dl=0 ok
2023-09-24 10:27:29 +02:00
Witold Filipczyk
773ac97e1b
[libdom] For parsed document separate function: dump_xhtml
2023-09-23 19:28:28 +02:00
Witold Filipczyk
b3e77ef53e
[js] document is already parsed. No need to check
2023-09-23 18:58:21 +02:00
Witold Filipczyk
1b9983c543
[mujs] element.value
2023-09-22 21:04:24 +02:00
Witold Filipczyk
a6a7345701
[quickjs] element.value
2023-09-22 20:54:24 +02:00
Witold Filipczyk
6ce64c1894
[spidermonkey] element.value
2023-09-22 20:40:19 +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
9ca95e1ffe
[js] ENTER has code 13
2023-09-21 19:35:52 +02:00
Witold Filipczyk
fb1c70564e
[mujs] window.event
2023-09-21 19:06:52 +02:00
Witold Filipczyk
ced7b7b294
[quickjs] window.event
2023-09-21 17:59:47 +02:00
Witold Filipczyk
a9b8dca965
[spidermonkey] window.event
2023-09-21 17:38:56 +02:00
Witold Filipczyk
447aa41dc9
[js] placeholder for onkeypress
2023-09-21 09:30:50 +02:00
Witold Filipczyk
5dc2187450
[libdom] Do not rewrite < and > in scripts
2023-09-20 18:46:38 +02:00
Witold Filipczyk
b0127bec3b
[js] unused variable
2023-09-19 21:02:44 +02:00
Witold Filipczyk
4d8de245ad
[spidermonkey] element.style (setter)
2023-09-19 20:59:35 +02:00
Witold Filipczyk
b434875c52
[quickjs] element.style (setter)
2023-09-19 20:40:03 +02:00