Sébastien Helleu
95a940294e
Revert "core, plugins: replace "%lx" by "%p" in calls to sscanf"
...
This reverts commit e64ab3c675 .
This was causing incorrect conversion of strings "0x..." to pointers on systems
like Solaris/illumos.
And as a side effect, buffers were sometimes empty in weechat relay clients
like glowing-bear.
2025-05-18 22:29:39 +02:00
Aaron Jones
f5038bccbc
Fix function prototypes for list of arguments
...
At the moment, building WeeChat triggers several thousand -Wstrict-prototypes
diagnostics. This is due to its source code using an empty argument list for
functions and function pointers that take no arguments, instead of explicitly
declaring that they take no arguments by using a void list.
This commit replaces all empty argument lists with a void list.
Note that Ruby's headers also suffer the same problem, which WeeChat can't
do anything to fix. Thus, building WeeChat with the Ruby plugin enabled
will still issue approximately 30 such diagnostics.
2025-03-10 08:16:52 +01:00
Sébastien Helleu
547e2b934e
core: update copyright dates
2025-02-01 23:13:18 +01:00
Sébastien Helleu
bdfa1bd51c
core, plugins: return "0x0" instead of "(nil)" for pointers formatted in strings
...
This is a partial revert of the commit
965beb37de .
2024-06-22 08:54:08 +02:00
Sébastien Helleu
e64ab3c675
core, plugins: replace "%lx" by "%p" in calls to sscanf
2024-06-14 17:59:02 +02:00
Sébastien Helleu
965beb37de
core: fix print of pointer values
2024-04-01 21:08:52 +02:00
Sébastien Helleu
eecb2a997e
core: update copyright dates
2024-01-01 22:29:58 +01:00
Sébastien Helleu
1d5433485c
fset: add variable allowed_values in options, add two color options
...
New options:
- fset.color.allowed_values
- fset.color.allowed_values_selected
2023-07-08 16:50:42 +02:00
Sébastien Helleu
8985607951
fset: fix mouse actions when second format is used
...
The mouse actions now properly handle the case where options are displayed on
multiple lines to calculate the option index in list.
2023-07-08 13:56:22 +02:00
Sébastien Helleu
66cb9f6ea2
core: add option type "enum" ( closes #1973 )
...
The type "enum" replaces type "integer" when used with string values.
For compatibility, any option created with type "integer" and string values is
automatically created to "enum" on creation, with no error.
2023-07-08 13:28:40 +02:00
Sébastien Helleu
33bba784c3
core: update copyright dates
2023-01-01 14:54:35 +01:00
Sébastien Helleu
c44b79dce7
core: update copyright dates
2022-01-17 18:41:06 +01:00
Sébastien Helleu
efc7a588d6
core: update copyright dates
2021-01-02 21:34:16 +01:00
Sébastien Helleu
feb6258910
core: update copyright dates
2020-01-04 10:41:26 +01:00
Sébastien Helleu
2b0057239b
core: update copyright dates
2019-01-01 15:40:51 +01:00
Sébastien Helleu
4712d0bb06
core: use https for links to GNU GPL license
2018-11-29 23:16:07 +01:00
Sébastien Helleu
8abd05fe3d
core: replace "long unsigned int" by "unsigned long"
2018-10-01 22:21:25 +02:00
Sébastien Helleu
7ee88fb46c
core: fix some styles
2018-01-07 09:11:45 +01:00
Sébastien Helleu
ed4837b2f6
core: update copyright dates
2018-01-05 00:54:18 +01:00
Sébastien Helleu
a49e255d96
fset: mark/unmark multiple options with mouse gesture up/down
2017-06-25 16:35:28 +02:00
Sébastien Helleu
f943951ade
fset: set/append to value with alt+'+'/'-' and mouse gesture left/right if option is not of type integer/color
2017-06-25 16:35:28 +02:00
Sébastien Helleu
b2373ffba7
fset: add mark on options to run an action on multiple options
2017-06-25 16:35:27 +02:00
Sébastien Helleu
3211a73599
fset: store type as enum, translate ${type}, add ${type_en}, ${type_short} and ${type_tiny}
2017-06-25 16:35:27 +02:00
Sébastien Helleu
2fac9d34f3
fset: add ${string_values}, add options fset.color.string_values and fset.color.string_values_selected
2017-06-25 16:35:27 +02:00
Sébastien Helleu
48aefca89d
fset: add mouse actions (select line, add to value, toggl boolean, set value)
2017-06-25 16:35:27 +02:00
Sébastien Helleu
2a5eb1564f
fset: add fset (Fast Set) plugin skeleton (WIP)
2017-06-25 16:35:27 +02:00