1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00
Commit Graph

687 Commits

Author SHA1 Message Date
Witold Filipczyk
fe516f532c [nntp] explicit cast to char * 2022-02-21 17:42:35 +01:00
Witold Filipczyk
47364e12f2 [rewrite] const in rewrite_uri 2022-02-21 17:36:39 +01:00
Witold Filipczyk
cc56055f1f [nntp] const protocol 2022-02-21 17:18:35 +01:00
Witold Filipczyk
8e6808b640 [gopher] const format 2022-02-21 17:15:48 +01:00
Witold Filipczyk
a576245561 [cache] const in redirect_cache 2022-02-21 17:13:14 +01:00
Witold Filipczyk
b64753d214 [gemini] changed declaration 2022-02-21 16:56:21 +01:00
Witold Filipczyk
a77925ebb5 [bittorrent] const in init_bittorrent_peer_id 2022-02-21 16:52:48 +01:00
Witold Filipczyk
89340c3848 [intl] const char * in get_cp_mime_name 2022-02-18 15:45:47 +01:00
Witold Filipczyk
7fc4be7689 [http] changed declaration of done_http 2022-02-17 21:32:37 +01:00
Witold Filipczyk
7817f7bced [bittorrent] const event 2022-02-17 21:19:05 +01:00
Witold Filipczyk
2c10ae2b21 [dialogs] const separator in progress 2022-02-17 21:14:36 +01:00
Witold Filipczyk
37bd8a43f1 [protocol] const info 2022-02-17 20:50:05 +01:00
Witold Filipczyk
74c2ebd12b [http] const in get_header_param 2022-02-17 20:39:07 +01:00
Witold Filipczyk
e8ad0b5948 [auth] const in add_auth_entry 2022-02-17 20:33:16 +01:00
Witold Filipczyk
dbe9cd5fe3 [protocol] more const in get_protocol_proxy 2022-02-17 20:22:29 +01:00
Witold Filipczyk
839c408086 [protocol] const in get_protocol_proxy 2022-02-17 20:16:42 +01:00
Witold Filipczyk
ea847b8436 [gopher] const in content-type 2022-02-17 19:46:22 +01:00
Witold Filipczyk
d7359f5f79 [gopher] const in description 2022-02-17 19:43:00 +01:00
Witold Filipczyk
0f758ec5a4 [bittorrent] const in bencoding_dictionary_info 2022-02-17 19:33:01 +01:00
Witold Filipczyk
07fb70a4a3 [bittorrent] const in get_peer_message 2022-02-17 19:29:04 +01:00
Witold Filipczyk
a86f992c42 [about] const 2022-02-02 18:53:51 +01:00
Witold Filipczyk
cba95b2b30 [event] union for const/non-const void * 2022-01-30 19:19:20 +01:00
Witold Filipczyk
04c1660f97 [protocol] const name 2022-01-30 15:50:29 +01:00
Witold Filipczyk
10d2fb6c2b [quickjs] navigator fixes 2022-01-30 13:41:16 +01:00
Witold Filipczyk
157f1978cf [header] const name 2022-01-29 18:27:06 +01:00
Witold Filipczyk
1c618b1cd4 [bittorent] signed char 2022-01-28 20:53:20 +01:00
Witold Filipczyk
bd27d9a793 [uri] uri_errno_T 2022-01-28 17:22:11 +01:00
Witold Filipczyk
77c47f0096 [protocol] enum protocol -> protocol_T 2022-01-28 17:19:11 +01:00
Witold Filipczyk
ef044a5a62 [http] enum blacklist_flags -> blacklist_flags_T 2022-01-28 17:12:27 +01:00
Witold Filipczyk
fd1ba62f1b [nntp] enum nntp_code -> nntp_code_T 2022-01-28 17:07:51 +01:00
Witold Filipczyk
4478133f01 [gopher] enum gopher_entity -> gopher_entity_T 2022-01-28 17:02:07 +01:00
Witold Filipczyk
8f59249d9e [ftp] enum ftp_file_type -> ftp_file_type_T 2022-01-28 16:58:58 +01:00
Witold Filipczyk
04b2dce53f [bittorrent] enum bittorrent_message_id -> bittorrent_message_id_T 2022-01-28 16:55:27 +01:00
Witold Filipczyk
23d687d7f6 [bittorrent] initializer was too long 2022-01-28 16:47:20 +01:00
Witold Filipczyk
ef24855aa7 [bfu] msgbox_flags_T 2022-01-28 16:41:23 +01:00
Witold Filipczyk
5ec6572ed7 [bittorrent] initialization 2022-01-28 16:36:14 +01:00
Witold Filipczyk
4487234de3 [bittorrent] enum bittorrent_blacklist_flags -> bittorrent_blacklist_flags_T 2022-01-28 16:31:07 +01:00
Witold Filipczyk
2cada21757 [network] enum connection_basic_state -> connection_basic_state_T 2022-01-28 16:25:40 +01:00
Witold Filipczyk
ec6cfcaf22 [network] enum connection_priority -> connection_priority_T 2022-01-28 16:22:03 +01:00
Witold Filipczyk
cea2521b91 [encoding] enum stream_encoding -> stream_encoding_T 2022-01-28 16:17:25 +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
20aea2ceaf [session] cast 2022-01-26 17:51:52 +01:00
Witold Filipczyk
b0565cce64 [http] cast 2022-01-26 17:35:46 +01:00
Witold Filipczyk
5fbead7f51 [auth] cast 2022-01-26 17:21:42 +01:00
Witold Filipczyk
05e65b0878 [nntp] cast 2022-01-25 19:45:16 +01:00
Witold Filipczyk
9d92ac6807 [gopher] cast 2022-01-25 19:30:40 +01:00
Witold Filipczyk
582d002e21 [gemini] cast 2022-01-25 19:26:57 +01:00
Witold Filipczyk
0d7aadf67c [ftp] cast 2022-01-25 19:21:54 +01:00
Witold Filipczyk
0a4373a04a [fsp] cast 2022-01-25 19:11:11 +01:00
Witold Filipczyk
1d862ec801 [bittorrent] cast 2022-01-25 19:08:21 +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
022a066201 [mem_mmap_alloc] cast 2022-01-17 16:07:44 +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
a7c6fb2ab9 [uri] int -> enum protocol 2022-01-15 19:26:04 +01:00
Witold Filipczyk
a4c8d2a2b9 [http] int -> enum uri_component 2022-01-15 19:16:16 +01:00
Witold Filipczyk
c56f0c5e98 [uri] URI_HOST_PORT 2022-01-15 18:28:46 +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
b9f696ffe5 [smb] unsigned char[] -> char[] 2022-01-13 20:16:22 +01:00
Witold Filipczyk
2f44f512fe [smb] Added smb to meson 2022-01-11 20:34:35 +01:00
Witold Filipczyk
411492e4cb [gemini] Check return value of init_string 2022-01-04 17:31:07 +01:00
Witold Filipczyk
b0b0fef12a [smb] check return value of init_string 2022-01-04 17:28:22 +01:00
Witold Filipczyk
c019efba2c [about] Allow change options only from about:config page 2021-12-30 14:48:14 +01:00
Witold Filipczyk
efe737aa87 [about] Added about:config
It is a good place for improvements.
2021-12-29 22:11:47 +01:00
Witold Filipczyk
ae6bfdd4dd [config] Prepare for about:config 2021-12-29 18:14:25 +01:00
Witold Filipczyk
dfb9c648a0 [bittorrent] Added a few instructions to get rid of warning about unused variable 2021-12-25 16:29:14 +01:00
Witold Filipczyk
efad299950 [encoding] Removed deflate 2021-12-23 15:56:34 +01:00
Witold Filipczyk
4e4f29874b [gemini] Here include too 2021-12-22 16:55:39 +01:00
Witold Filipczyk
ee06a871c3 [c] More fixes related to redefined PF_INET 2021-12-22 16:27:29 +01:00
Witold Filipczyk
0ed9511286 [c] compilation fixes on Pi 2021-12-22 16:12:09 +01:00
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