Witold Filipczyk
e8719ba9e7
[colors] COLOR_MODE_16
...
Some bugs left.
2022-03-18 17:00:25 +01:00
Witold Filipczyk
9b1b2f4590
[colors] displaying node_numbers colors for 24bit color
2022-03-18 16:33:52 +01:00
Witold Filipczyk
407ca7d114
[colors] Implemented displaying for 256 color mode
2022-03-18 16:24:48 +01:00
Witold Filipczyk
89e314d510
[draw] Overloaded version draw functions.
...
Functions with suffix _node instead of struct color_pair *
take as parameter node_number.
2022-03-11 20:19:48 +01:00
Witold Filipczyk
e26fb55fa7
[screen] placeholders for functions which would get_colors from node number
2022-03-07 20:24:11 +01:00
Witold Filipczyk
d8cbef44d6
[draw] clear also is_node
2022-03-06 20:25:37 +01:00
Witold Filipczyk
1e657abb3b
[screen_char] Added bitfield is_node.
2022-03-05 21:12:14 +01:00
Witold Filipczyk
2e2737e6de
[select] Introduced get_handler_data
2022-02-21 19:03:54 +01:00
Witold Filipczyk
f3496ae098
[terminfo] const char *
2022-02-21 18:25:11 +01:00
Witold Filipczyk
bcf9589ff0
[osdep] const in get_shell
2022-02-20 13:52:47 +01:00
Witold Filipczyk
89340c3848
[intl] const char * in get_cp_mime_name
2022-02-18 15:45:47 +01:00
Witold Filipczyk
84f39d8f83
[terminal] const in hard_write
2022-02-16 20:49:21 +01:00
Witold Filipczyk
b982bd9abf
[draw] const char * in draw_text
2022-01-31 16:18:43 +01:00
Witold Filipczyk
277f341d2b
[terminal] exec_on_terminal and related rewritten a bit to allow const param
2022-01-30 18:12:38 +01:00
Witold Filipczyk
6c83455ab7
[options] these can be const
2022-01-29 17:49:38 +01:00
Witold Filipczyk
7ea1e0b80a
[screen] Longer initializer
2022-01-28 17:57:44 +01:00
Witold Filipczyk
65e74dc39d
[term] enum term_mode_type -> term_mode_type_T
2022-01-28 17:54:58 +01:00
Witold Filipczyk
63f151c35f
[screen] Too long initializer
2022-01-28 17:50:24 +01:00
Witold Filipczyk
5ef839cf18
[term] enum term_env_type -> term_env_type_T
2022-01-28 17:37:43 +01:00
Witold Filipczyk
09e7b73a41
[renderer] enum link_state -> link_state_T, enum color_flags -> color_flags_T
2022-01-28 16:11:54 +01:00
Witold Filipczyk
e8df90f7b0
[term] enum term_exec -> term_exec_T
2022-01-28 15:11:23 +01:00
Witold Filipczyk
534a654eb7
[term] typedef unsigned char term_event_modifier_T
2022-01-28 15:07:51 +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
e57bae65d3
[draw] enum border_char -> border_char_T
2022-01-28 14:30:01 +01:00
Witold Filipczyk
0e2fdce434
[terminal] cast
2022-01-26 17:58:29 +01:00
Witold Filipczyk
fca3a698b1
[draw] enum -> int
2022-01-21 20:30:47 +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
33324e8582
[kbd] This cast was too narrow
2022-01-17 18:31:09 +01:00
Witold Filipczyk
8999a19593
[cast] Explicit casts for narrowing conversions
2022-01-17 17:07:46 +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
88d9704e11
[mouse] Create or delete ~/.elinks/mouse.lock file while changing ui.mouse_disable option. Refs #137
...
There is no good way to inform slave elinks instances about options. So, for mouse there is a workaround.
Note, If you set ui.mouse_disable = 1 in elinks.conf manually, to get effect on 2nd ELinks instance,
you must also touch ~/.elinks/mouse.lock . Changes via option manager delete or create this file automatically.
2022-01-02 15:17:53 +01:00
Witold Filipczyk
ac7038d9d4
[terminal] Cache ui.double_esc
2021-12-20 12:15:11 +01:00
Witold Filipczyk
09e6fb59da
[kbd] ui.double_esc option, based on PLD patch
2021-11-06 17:40:17 +01:00
Witold Filipczyk
7feb5f4140
[mouse] Show message about disabled/enabled mouse
2021-09-21 19:02:43 +02:00
Witold Filipczyk
443cc69740
Revert "[colors] test commit"
...
This reverts commit 7992e39476
.
2021-08-13 14:49:43 +02:00
Witold Filipczyk
7992e39476
[colors] test commit
2021-08-11 20:04:16 +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
56ec5c69dd
[kbd] Compilation warning
2021-08-06 19:20:17 +02:00
Witold Filipczyk
4e6d3a0037
[meson] ncursesw dependency when built --with-terminfo
2021-04-12 21:17:27 +02:00
sgerwk
91819222af
code cleanup
2021-03-20 17:20:26 +01:00
sgerwk
b21dea1ba0
close stdin before calling a background program
...
The solution with fork() is more general, but it unnecessarily produces two new
process: one in exe_no_stdin(), one in system(). The solution with FD_CLOEXEC
is simpler as it only requires changing and restoring a flag of stdin, but I
suspect it may not be available in all OSes elinks can be compiled for.
2021-03-20 00:58:54 +01:00
Witold Filipczyk
7b749dccb4
[terminal] itrm_queue data must be unsigned char * . Refs #87
2021-01-17 18:28:42 +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
sgerwk
85cb50c7e2
fix previous commit
2020-06-24 19:22:21 +02:00
sgerwk
0e820ad3cd
do not enable mouse from keyboard initialization if mouse is disabled
2020-06-24 17:38:50 +02:00