1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-27 21:36:37 +02:00
Commit Graph

99 Commits

Author SHA1 Message Date
Sébastien Helleu d8987a1678 all: replace Copyright lines by SPDX copyright tag 2025-03-30 14:47:12 +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 82f0b3b121 fset: replace calls to malloc by weechat_asprintf 2024-12-21 15:12:33 +01:00
Sébastien Helleu 0b2d9bcb9b plugins: remove check of NULL pointers before calling weechat_hashtable_free() (issue #865) 2024-04-26 08:53:22 +02:00
Sébastien Helleu 852b8a5cdb fset: remove check of NULL pointers before calling free() (issue #865) 2024-04-25 20:59:24 +02:00
Sébastien Helleu eecb2a997e core: update copyright dates 2024-01-01 22:29:58 +01:00
Sébastien Helleu 75dc8b9d6c core: fix crash on plugin reload when using musl libs (closes #2052) 2023-12-15 22:53:51 +01:00
Sébastien Helleu 6737859330 fset: add local key bindings during the buffer creation
This allows the user to bind or unbind keys by setting options
"weechat.buffer.fset.fset.key_bind_*" and
"weechat.buffer.fset.fset.key_unbind_*".
2023-08-24 19:00:32 +02:00
Sébastien Helleu fd07b2888f fset: fix wrong value type in hashtable used for fset buffer properties 2023-08-24 18:44:50 +02:00
Sébastien Helleu 2f1de098bd irc: add buffer for /list reply (closes #1972)
New options:

- irc.color.list_buffer_line_selected
- irc.color.list_buffer_line_selected_bg
- irc.look.list_buffer_sort
- irc.look.list_buffer_scroll_horizontal
- irc.look.new_list_position
- irc.look.list_buffer_topic_strip_colors
2023-08-12 13:05:49 +02:00
Sébastien Helleu 6b9dd2add3 fset: fix description of function fset_buffer_check_line_outside_window 2023-07-14 12:06:26 +02: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 eda62e1218 fset: reset color immediately after the color name (issue #1920) 2023-05-30 07:39:11 +02:00
Sébastien Helleu 1ad45598b5 fset: create buffer with function buffer_new_props (issue #1942)
With this function, buffer properties are set when the buffer is created and
can be read immediately by other plugins/scripts, for example in a callback of
signal "buffer_opened".
2023-05-20 17:08:27 +02:00
Sébastien Helleu 6f1a66924f fset: add options fset.color.color_name and fset.color.color_name_selected (issue #1920) 2023-04-26 21:08:06 +02:00
Sébastien Helleu 1f5c791c37 core: use new key name in command /key and configuration file
Legacy keys are automatically converted to new names when loading configuration
file `weechat.conf`.

Examples:

  "ctrl-I" => "tab"
  "meta2-1;3A" => "meta-up"
  "meta2-Z" => "shift-tab"
  "meta-wmeta-meta2-A" => "meta-w,meta-up"
  "ctrl-Cb" => "ctrl-c,b"
2023-03-16 20:42:19 +01:00
Sébastien Helleu 5441c52d64 fset: remove scroll to top of fset buffer when options are added or removed (closes #1892) 2023-03-16 20:41:05 +01:00
Sébastien Helleu fd746a04d6 core: force ctrl keys to lower case when they are added (closes #1875) 2023-01-29 12:41:28 +01: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 9178156354 api: add argument "strip_items" in function string_split 2019-06-15 20:47:14 +02:00
Sébastien Helleu 2b70d71aa1 core: replace argument "keep_eol" by "flags" in function string_split (closes #1322) 2019-03-10 18:29:16 +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 c17ab6aa00 fset: fix truncation of option values when the length is greater than 4096 (closes #1218) 2018-07-08 14:46:19 +02:00
mumixam 620151c657 fset: corrected typos 2018-02-21 19:18:45 -06:00
Sébastien Helleu ed4837b2f6 core: update copyright dates 2018-01-05 00:54:18 +01:00
Sébastien Helleu d24fb8458b fset: call function fset_buffer_set_localvar_filter when the fset buffer is opened 2017-07-11 18:18:36 +02:00
Sébastien Helleu 5bb7472ed7 fset: use a pre-defined format when a format option is empty
Using the pre-defined format (without eval) is about 3.5x faster.
2017-06-28 22:04:18 +02:00
Sébastien Helleu 987ef9e454 fset: replace hashtable by a simple structure for max length of fields 2017-06-28 19:59:45 +02:00
Sébastien Helleu 16132ed7ba fset: remove option fset.look.show_help_bar 2017-06-26 23:55:45 +02:00
Sébastien Helleu d8d753d332 fset: improve speed when marking/unmarking options, fix refresh of buffer title 2017-06-26 23:20:47 +02:00
Sébastien Helleu 29e72aa90b fset: fix buffer title 2017-06-25 22:17:04 +02:00
Sébastien Helleu 956dfe2313 fset: display number of options before filter in buffer title 2017-06-25 16:35:28 +02:00
Sébastien Helleu 01274beb15 fset: use "meta-space" instead of "meta- " in fset buffer keys 2017-06-25 16:35:28 +02:00
Sébastien Helleu 0f8db0fa2e fset: add key/input to set new value for an option (alt-f,alt-n or input "n", command /fset -setnew) 2017-06-25 16:35:28 +02:00
Sébastien Helleu a55958863e fset: add variables ${empty_xxx} (a field with only spaces for indentation) 2017-06-25 16:35:28 +02:00
Sébastien Helleu 98272393fe fset: add ${newline} to display options on multiple lines, replace format options by colors for background 2017-06-25 16:35:28 +02:00
Sébastien Helleu 68b337eb60 fset: add format options for marked options 2017-06-25 16:35:28 +02:00
Sébastien Helleu 1552a2327f fset: rename options fset.format.option_current* to fset.format.option_selected* 2017-06-25 16:35:28 +02:00
Sébastien Helleu b6334ce355 fset: add ${index} and color options 2017-06-25 16:35:28 +02:00
Sébastien Helleu a03b93b0db fset: add variable ${selected_line} 2017-06-25 16:35:28 +02:00
Sébastien Helleu 70f71be108 fset: first move up one line before toggling mark with shift+up 2017-06-25 16:35:28 +02:00
Sébastien Helleu 0542633d89 fset: use option fset.look.marked_string in buffer title when options are marked 2017-06-25 16:35:28 +02:00
Sébastien Helleu 01ce879433 fset: add marking/unmarking of options matching filter with input "m:" and "u:" 2017-06-25 16:35:28 +02:00
Sébastien Helleu 121faf7b12 fset: do not move selected line after pressing alt+',' (mark/unmark option) 2017-06-25 16:35:28 +02:00
Sébastien Helleu aa68fa623a fset: add missing key alt+p in buffer title 2017-06-25 16:35:28 +02:00