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

209 Commits

Author SHA1 Message Date
Witold Filipczyk
8b2ab12dc1 [intl] explicit casts to char * 2022-02-21 16:27:29 +01:00
Witold Filipczyk
89340c3848 [intl] const char * in get_cp_mime_name 2022-02-18 15:45:47 +01:00
Witold Filipczyk
b0e93a9eab [intl] const in get_cp_config_name 2022-02-18 15:39:59 +01:00
Witold Filipczyk
647e00f950 [intl] const language_to_iso639 2022-02-17 21:02:27 +01:00
Witold Filipczyk
52d871bf8b [intl] char *const * -> const char **
Less warnings.
2022-02-15 19:02:30 +01:00
Witold Filipczyk
7b7d3f1856 [intl] const in uni_7b.inc 2022-02-15 18:01:52 +01:00
Witold Filipczyk
eac4271696 [intl] const get_cp_name 2022-02-15 17:53:24 +01:00
Witold Filipczyk
26c3e5feb7 [libintl] const in iso code 2022-02-07 19:02:40 +01:00
Witold Filipczyk
1e7de877d3 [libintl] const in n_ 2022-02-03 19:54:57 +01:00
Witold Filipczyk
e982333dd9 [intl] const in entities 2022-01-31 16:47:50 +01:00
Witold Filipczyk
5ea99371dd [bfu] const 2022-01-31 16:41:29 +01:00
Witold Filipczyk
57ebe52948 [utf] const 2022-01-31 16:28:56 +01:00
Witold Filipczyk
f32e45e2f5 [bookmarks] const char in add_bookmarks_cp 2022-01-31 15:46:05 +01:00
Witold Filipczyk
a579526325 [main] cast 2022-01-25 18:16:12 +01:00
Witold Filipczyk
37bdb9467b [gettext] cast 2022-01-25 18:09:08 +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
aaf942d37d [gettext] N_ cast to (char *)
Very stupid.
2022-01-17 19:20:58 +01:00
Witold Filipczyk
311909f49a [gettext] cast 2022-01-17 16:25:05 +01:00
Witold Filipczyk
028e877105 [malloc] cast 2022-01-16 21:24:58 +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
3026d8f25e [unicode] Fix issue with negative value of cells. Refs #126
Bug appeared in 0.13.5.
2021-09-02 16:35:18 +02:00
Witold Filipczyk
5389defa76 [gettext] Unused variable 2021-08-15 21:18:50 +02:00
Witold Filipczyk
4258e248d0 [gettext] Show info about gettext.
gettext (System) means gettext from the libc library.
gettext (ELinks) builtin from src/intl/gettext.
2021-08-15 17:52:54 +02:00
Witold Filipczyk
7f85e0cd90 [gettext] setenv -> env_set 2021-08-13 18:34:37 +02:00
Witold Filipczyk
b2054e1846 [gettext] Unused variable. 2021-08-13 18:22:22 +02:00
Witold Filipczyk
8d50f9ce73 [gettext] Code similar to elinks code. 2021-08-13 18:19:58 +02:00
Witold Filipczyk
4a2a82b05d [gettext] Hardcode UTF-8 in language codes. 2021-08-09 16:27:32 +02:00
Witold Filipczyk
7f6156f2c5 [gettext] autotools part 2021-08-08 22:04:52 +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
5850fcafbc [iconv] compilation fix 2021-05-26 08:27:17 +02:00
Witold Filipczyk
8f73247158 [intl] Warning when compiled without nls 2021-04-05 17:13:29 +02:00
Witold Filipczyk
834e644515 [meson] More fixes related to CONFIG_NLS 2021-03-28 18:56:19 +02:00
Witold Filipczyk
e1ddd8b571 [C90] string.h can be included unconditionally 2021-03-19 14:48:11 +01:00
Witold Filipczyk
67075e22f9 [C90] stdlib.h 2021-03-19 14:44:07 +01:00
Witold Filipczyk
6d40fb46d6 [C90] stddef.h can be included unconditionally 2021-03-19 14:40:51 +01:00
Witold Filipczyk
cba5771c0c [limits.h] limits.h can be included uncoditionally 2021-03-19 14:30:54 +01:00
Witold Filipczyk
4b5c9a4e21 [msgbox] const char * 2021-03-03 14:38:11 +01:00
Witold Filipczyk
dfbd75c958 [select] off by two. Refs #88
Also changed a bit utf8_to_unicode.
2021-01-17 21:56:40 +01:00
Witold Filipczyk
38cd5410bf [gettext] plural.h and plural.c. Refs #83 2021-01-04 10:40:25 +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
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
3e85e37909 [intl] width.c compilable only with CONFIG_UTF8 2020-08-09 19:46:50 +02:00
Witold Filipczyk
ee38fea126 [unicode] Code to calculate cell widths of unicode characters taken from konsole. Refs #60 2020-08-03 23:16:43 +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