Witold Filipczyk
91bf93a784
[const] const char in base64_decode and init_submitted_value
2022-01-30 14:48:43 +01:00
Witold Filipczyk
349a27238f
[align] enum format_align -> format_align_T
2022-01-28 16:05:35 +01:00
Witold Filipczyk
86a6326ee2
[fastfind] enum fastfind_flags -> fastfind_flags_T
2022-01-28 15:51:14 +01:00
Witold Filipczyk
b7a8866f3d
[secsave] enum secsave_errno -> secsave_errno_T
2022-01-28 14:55:41 +01:00
Witold Filipczyk
af29b2a93f
[util] cast
2022-01-26 18:04:36 +01:00
Witold Filipczyk
fffe7169af
[lists] cast to void * in case of lack of typeof
2022-01-22 16:39:16 +01:00
Witold Filipczyk
f75e78bdd4
[list] Additional casts in lists macros
2022-01-22 15:08:12 +01:00
Witold Filipczyk
de2a787900
[strstr] no cast
2022-01-18 20:55:08 +01:00
Witold Filipczyk
7b77d84626
[qs_parse] Changed const char * to char *
2022-01-18 20:42:01 +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
cef8851646
[patience] const char *
2022-01-16 21:13:17 +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
89f99a0667
[md5] Force to use own implementation of MD5
...
MD5 in openssl-3.0 is deprecated, so to avoid
warnings was switched to ELink's version.
2022-01-10 20:23:47 +01:00
Witold Filipczyk
08c71e5289
[typo] typo
2022-01-09 17:53:53 +01:00
Witold Filipczyk
c6860911b5
[string] Limit [[nodiscard]] to C++ only
...
tcc does not know [[nodiscard]]
2022-01-09 17:52:25 +01:00
Witold Filipczyk
39cd902bc0
[string] Added [[nodiscard]] attribute to init_string
2022-01-09 17:13:30 +01:00
Witold Filipczyk
ad3be0278c
[string] Check for NULL
2022-01-04 16:21:20 +01:00
Witold Filipczyk
e53adb8349
[qs_parse] Removed register
2021-12-29 21:10:23 +01:00
Witold Filipczyk
edddb70200
[qs_parse] Added qs_parse code from https://github.com/bartgrantham/qs_parse
2021-12-29 21:01:47 +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
01675c6270
[date] elinks-date-format.patch from PLD
2021-11-03 10:47:39 +01: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
ed07082ec9
[string] warning
2021-07-04 12:52:25 +02:00
Witold Filipczyk
5ed65c8733
[gemini] text/gemini
2021-07-01 20:18:29 +02:00
Witold Filipczyk
d5b27592a1
[meson] compilation fixes related to CSS
2021-06-21 21:01:37 +02: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
d20216cf53
[hash] const char *
2021-03-03 14:12:31 +01:00
Witold Filipczyk
a48cd50a8b
[error] const char * for fmt
2021-03-01 21:25:09 +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
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
23b346d353
[base64] This if is not needed
2020-09-15 21:22:41 +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
Witold Filipczyk
3d96b0d7d7
Revert "Compile with C++."
...
This reverts commit 4f4df33638deccd3ed1ce375d3b33da0c652bf86.
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
6f001ea50f
Check for NULL to avoid segmentation fault.
...
Entering in cookie dialog expires:
123456789012345678
and then Info button, caused segfault.
2018-08-18 20:53:40 +02:00
Felix Janda
336e596a83
Rename VA_COPY to va_copy
...
With this, the C99 standard macro va_copy is used when available
instead of the prestandard __va_copy.
2017-11-23 19:18:20 -05:00
Felix Janda
9555619c50
Remove __va_copy configure test
...
__va_copy is a macro and can be detected via #ifdef.
2017-11-23 19:15:35 -05:00
Witold Filipczyk
257422f28c
Reorganisation of code to make C++ happy
2016-04-20 22:21:31 +02:00
Witold Filipczyk
96e65c105f
Explicit cast in strstr for C++
2016-04-20 20:46:33 +02:00
Witold Filipczyk
52d6f37c8e
Explicit cast to (const char *) for strchr function (C++)
2016-04-20 19:43:37 +02:00
Witold Filipczyk
67673f5fe5
new -> new_ for C++ compatibility
2016-04-20 18:42:22 +02:00