1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-28 01:35:32 +00:00
Commit Graph

561 Commits

Author SHA1 Message Date
Witold Filipczyk
01675c6270 [date] elinks-date-format.patch from PLD 2021-11-03 10:47:39 +01:00
Witold Filipczyk
dc12c13244 [quickjs] Test commit. window.alert('Blabla') works. 2021-10-17 18:17:48 +02:00
Witold Filipczyk
0f10ae6ddb [gopher] Also escape text in search and in links. Refs #125 2021-08-28 12:32:01 +02:00
Witold Filipczyk
1c005dc9c2 [gopher] XSS in gopher. Refs #125
add_to_string was replaced add_html_to_string.
2021-08-28 11:47:13 +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
b33e6cf520 [mailcap] Close also STDERR 2021-08-05 17:51:10 +02:00
Witold Filipczyk
4d6ae6e925 [gemini] Show gemini in about dialog 2021-07-18 12:44:29 +02:00
Witold Filipczyk
1e91339a3a [gemini] cleanup 2021-07-04 12:45:19 +02:00
Witold Filipczyk
dc9b4bed04 [gemini] Changes to see labirynth 2021-07-03 14:34:16 +02:00
Witold Filipczyk
d237b06511 [js] document.write adds text at the end of document
It is not ok, but better than inserting code at the beginning.
2021-07-03 12:55:36 +02:00
Witold Filipczyk
391d463a46 [gemini] Show error page for some errors. 2021-07-03 09:45:11 +02:00
Witold Filipczyk
0d76fc0f2a [gemini] optional, not enabled by default 2021-07-02 21:28:48 +02:00
Witold Filipczyk
c08faee07b [gemini] redirect 2021-07-02 20:56:33 +02:00
Witold Filipczyk
327e5b472b [gemini] gemini protocol support
For now only status 20.
2021-07-02 20:01:10 +02:00
Witold Filipczyk
ab758c79b5 [nntp] crash on nntp://news.neodome.net . Refs #114 2021-03-31 14:01:49 +02:00
Witold Filipczyk
e1ddd8b571 [C90] string.h can be included unconditionally 2021-03-19 14:48:11 +01:00
Witold Filipczyk
cba5771c0c [limits.h] limits.h can be included uncoditionally 2021-03-19 14:30:54 +01:00
Witold Filipczyk
36aa04ed12 [time.h] time.h can be included unconditionally 2021-03-19 14:22:04 +01:00
Witold Filipczyk
acbcfd2eba [char] More casts to unsigned char 2021-02-27 09:51:23 +01:00
Witold Filipczyk
66fb230326 [signdness] Compilation fixes 2021-01-02 21:14:03 +01:00
Witold Filipczyk
0fea79cc8f [cflags] Removed -Wno-pointer-sign
Likely some new bugs were introduced by this change.
The long term goal is clean compilation by g++.
2021-01-02 16:20:27 +01:00
Witold Filipczyk
d1ecd45828 [mozjs52] It compiles, but often segfaults. No idea yet how to fix it. 2020-10-27 14:53:24 +01:00
Witold Filipczyk
1f57e72212 [mozjs24] Allow build elinks with g++
SpiderMonkey was updated to mozjs24. If you want to build elinks
with ecmascript support, you must compile using g++ with -fpermissive .
There is a lot of warnings.
There are some memleaks in ecmascript code, especially related to JSAutoCompartment.
I don't know yet, where and how to free it.

Debian does not support mozjs24, so I'm going to gradually update SpiderMonkey version.
2020-10-05 20:14:55 +02:00
Witold Filipczyk
2d80e93146 [uri] Check for null. Closes #72 2020-09-29 11:59:11 +02:00
sgerwk
526b0d0ff9 use appropriate functions for string allocation and concatenation 2020-09-29 11:36:36 +02:00
sgerwk
90a141be2b meaningful default save name for data: uri content 2020-09-28 20:10:55 +02:00
Witold Filipczyk
b7b0b28ea8 [data] Moved comment to more appropriate place. 2020-09-19 19:40:38 +02:00
Witold Filipczyk
267948b2e8 [data] Premature optimisation. One memacpy less for base64 encoded data. 2020-09-19 19:30:47 +02:00
Witold Filipczyk
fefe69f9a5 [uri] For data protocol datalen might be bigger than 65356 bytes. Refs #67 2020-09-18 21:58:28 +02:00
Witold Filipczyk
d731d5901d [data] Small rewrite. 2020-09-15 08:32:49 +02:00
Witold Filipczyk
3d78cd1264 [data] base64 decoded not encoded. Refs #67 2020-09-14 23:01:03 +02:00
Witold Filipczyk
5dc8c56b2d [meson] Fixed bittorrent build 2020-09-13 16:12:57 +02:00
Witold Filipczyk
5f87bdbcb2 [meson] meson build scripts.
Not finished yet, but I added to motivate myself and others.
The goal is to get a few seconds faster builds.

autotools still will be available.
2020-09-05 22:06:01 +02:00
Guido Cella
0d8d834af3 [rewrite] Update prefixes 2020-07-05 05:58:25 +02:00
Witold Filipczyk
bde596ab67 [cgi] Proper format on 32bit 2020-07-04 13:44:41 +02:00
Guido Cella
a26c5956f4 [ssl] Let requests default to https 2020-06-25 10:40:59 +02:00
Witold Filipczyk
5f462239be [cgi] Calculate CONTENT_LENGTH also for file uploads
Before big_file.cgi caused pipe errors when ported to Python3.
2020-01-03 20:17:10 +01:00
Witold Filipczyk
e4220c0301 [encoding] Do not announce "deflate" as supported encoding method 2019-12-22 11:30:12 +01:00
Witold Filipczyk
f50e306d16 [bittorrent] I'm not sure, but I guess it was a bug here.
sizeof == 8 vs sizeof == 20
2019-11-15 17:29:58 +01:00
Witold Filipczyk
90086599da [encoding] Experimental zstd encoding 2019-07-14 18:54:39 +02:00
Witold Filipczyk
e4b536f8ab [gopher] Nothing is easy as it seems. Refs #34 2019-05-13 12:46:44 +02:00
Witold Filipczyk
12b270e8d2 [gopher] Allow unix like line endings. Refs #34 2019-05-13 12:09:26 +02:00
Witold Filipczyk
3d23424b9f [gopher] Another try for #33.
This time replace /URL -> URL for h type.
2019-05-12 22:56:54 +02:00
Witold Filipczyk
41c3485add Revert "[gopher] Skip '/'. Refs #33"
This reverts commit 5106b31f6c.
2019-05-12 22:16:48 +02:00
Witold Filipczyk
5106b31f6c [gopher] Skip '/'. Refs #33 2019-05-05 16:18:29 +02:00
Witold Filipczyk
3d96b0d7d7 Revert "Compile with C++."
This reverts commit 4f4df33638.
2019-04-21 12:27:40 +02:00
Witold Filipczyk
4f4df33638 Compile with C++.
Weak points:
- alignof
- js problems

Todo:
- make js work with C++ and mozjs-17
- then mozjs-24
- then mozjs-52
- then mozjs-60
- decrease number of warnings
2019-02-17 20:46:16 +01:00
Witold Filipczyk
d8be2c505e Rename struct box to struct el_box.
In the future I want to copy some code from netsurf, so I'm preparing.
2018-09-09 19:14:56 +02:00
Witold Filipczyk
442f4936dc Use blacklist to skip verification of certificates 2017-07-23 18:59:05 +02:00
Witold Filipczyk
2fc9b0bf5a Better handling of content-disposition (line without semicolon)
This time it was copied from links2.
2016-08-21 22:02:46 +02:00