Witold Filipczyk
2c2cf97e03
[options] No need for C_ macro in INIT_OPT_*
2022-03-02 19:02:47 +01:00
Witold Filipczyk
e432fc8c91
[bfu] cast in call of add_dlg_button
2022-02-21 16:03:31 +01:00
Witold Filipczyk
3b57ebd352
[bfu] cast in call of refresh_dialog
2022-02-21 15:54:02 +01:00
Witold Filipczyk
c4aff169e9
[bfu] const in menu_labels
2022-02-18 15:04:46 +01:00
Witold Filipczyk
647e00f950
[intl] const language_to_iso639
2022-02-17 21:02:27 +01:00
Witold Filipczyk
6575f71dd4
[bfu] const in load_input_history and save_input_history
2022-02-11 19:57:36 +01:00
Witold Filipczyk
b9701abffb
[bfu] const in add_to_menu
2022-02-10 19:57:33 +01:00
Witold Filipczyk
5ea99371dd
[bfu] const
2022-01-31 16:41:29 +01:00
Witold Filipczyk
b982bd9abf
[draw] const char * in draw_text
2022-01-31 16:18:43 +01:00
Witold Filipczyk
dc3ba3ef3b
[bfu] const in input_dialog
2022-01-30 18:21:52 +01:00
Witold Filipczyk
ef24855aa7
[bfu] msgbox_flags_T
2022-01-28 16:41:23 +01:00
Witold Filipczyk
349a27238f
[align] enum format_align -> format_align_T
2022-01-28 16:05:35 +01:00
Witold Filipczyk
cd49b315d9
[action] enum main_action -> main_action_T
2022-01-28 15:26:43 +01:00
Witold Filipczyk
199f1c60ff
[draw] enum screen_char_attr -> screen_char_attr_T
2022-01-28 14:47:36 +01:00
Witold Filipczyk
d839efc9f4
[color] enum color_mode -> color_mode_T
2022-01-28 14:42:48 +01:00
Witold Filipczyk
3f29dada0a
[bfu] enum menu_item_flags -> menu_item_flags_T
2022-01-28 14:35:18 +01:00
Witold Filipczyk
e57bae65d3
[draw] enum border_char -> border_char_T
2022-01-28 14:30:01 +01:00
Witold Filipczyk
ee6e9caa6a
[kbd] enum keymap_id -> keymap_id_T
2022-01-28 14:20:06 +01:00
Witold Filipczyk
f706afe8d0
[bfu] enum menu_action -> action_id_T
2022-01-28 14:05:46 +01:00
Witold Filipczyk
3d1ea9ea24
[msgbox] enum msgbox_flags -> unsigned int
2022-01-26 18:27:11 +01:00
Witold Filipczyk
e4550c1562
[bfu] cast
2022-01-24 21:53:18 +01:00
Witold Filipczyk
d889484ca4
Revert "[button] No warnings related to char *"
...
This reverts commit 6602557d0e
.
2022-01-22 15:04:36 +01:00
Witold Filipczyk
6602557d0e
[button] No warnings related to char *
2022-01-21 20:31:40 +01:00
Witold Filipczyk
2f51c30d70
[bfu] const char * in get_bfu_color
2022-01-21 20:29:30 +01:00
Witold Filipczyk
2fa67c5730
[char] Introduced macro C_
...
C_("aaaa") -> (char *)("aaaa")
2022-01-19 22:49:13 +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
23f1a7cdce
[mem_align_alloc] cast
2022-01-17 15:54:50 +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
2da72b11c0
[leds] Check for NULL
2022-01-04 16:30:23 +01:00
Witold Filipczyk
ccb75758b4
[dialogs] Make 9 / 10 ratio configurable at compile time.
...
DIALOG_WIDTH_RATIO and DIALOG_HEIGHT_RATIO in src/setup.h
2021-08-23 16:11:17 +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
435edde218
[status] Show temperature of CPU.
...
Optional, it works on my machine.
2021-07-04 16:32:16 +02:00
Witold Filipczyk
d55ea80fe6
[select] Modifications related to select. test/select.html still broken
2021-06-29 21:58:04 +02:00
Witold Filipczyk
36aa04ed12
[time.h] time.h can be included unconditionally
2021-03-19 14:22:04 +01:00
Witold Filipczyk
4b5c9a4e21
[msgbox] const char *
2021-03-03 14:38:11 +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
d8de9ac7e5
[gcc] pragma outside function body
2019-12-06 20:13:38 +01:00
Witold Filipczyk
0724c3c49d
[gcc] Silent gcc. I guess code was ok.
2019-11-15 16:27:16 +01: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
Felix Janda
e739ed07dc
Fix broken double-width chars when displaying status leds
2017-12-28 15:36:03 +01: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
Witold Filipczyk
1b06539694
Explicit cast to (const char *) in strcasestr for C++
2016-04-20 20:11:08 +02:00
Witold Filipczyk
52d6f37c8e
Explicit cast to (const char *) for strchr function (C++)
2016-04-20 19:43:37 +02:00