Releases: weechat/weechat
Releases · weechat/weechat
v4.3.2
Changed
- relay: enable websocket extension "permessage-deflate" with "api" relay only (#1549)
Added
- relay: add option relay.look.raw_messages_max_length (#2122)
Fixed
- irc, xfer: fix display of input prompt in IRC private buffers and DCC chat buffers (#2128)
- irc: don't return pointer to irc server if the channel or nick is not found in info "irc_buffer"
- relay: fix websocket permessage-deflate extension when the client doesn't send the max window bits parameters (#1549)
- relay: fix allocation and reinit of field "client_context_takeover" in websocket deflate structure (#1549)
Download
v4.3.1
Fixed
- irc: close /list buffer when the server buffer is closed (#2121)
- xfer: fix send of data on the DCC chat buffer after
/upgrade
if the buffer was opened before the upgrade (#2092) - php: fix return value of function hdata_longlong
- tcl: fix return value of function hdata_longlong (#2119)
- core: fix detection of libgcrypt ≥ 1.11 (debian #1071960)
- core, relay: fix include directory of libcjson and libzstd
- tests: fix relay tests on s390x (#2118)
- tests: fix check of php plugin (#2117)
- tests: fix compilation of tests on Fedora 40 (#2116)
- tests: fix compilation of tests on Rocky 9.4
Download
v4.2.3
Fixed
- xfer: fix send of data on the DCC chat buffer after
/upgrade
if the buffer was opened before the upgrade (#2092) - irc: fix crash in split of IRC message containing a newline if the server is not given
- core, relay: fix include directory of libzstd
Download
v4.3.0
Changed
- breaking: irc: add server option "autojoin_delay" (delay before autojoin), use option "command_delay" before execution of the command (#862)
- breaking: irc: rename option irc.color.item_channel_modes to weechat.color.status_modes
- breaking: irc: add option
-all
in command/allchan
, do not execute command on parted channels by default (#2085) - breaking: relay: rename option relay.weechat.commands to relay.network.commands and change default to
*,!quit
(#2066) - breaking: relay: change option type relay.look.auto_open_buffer to string (#2066)
- breaking: core: add buffer properties "input_prompt" and "modes", used to display bar items (#2066)
- breaking: core: add bar item "lag" to display lag on relay remote buffers (#2066)
- breaking: core: send signal "buffer_line_added" on buffers with free content
- breaking: core: convert option weechat.look.hotlist_sort to a list of fields (#2097)
- breaking: core: rename variables with creation time in hdata "hotlist": "creation_time.tv_sec" to "time" and "creation_time.tv_usec" to "time_usec"
- breaking: api: return
-1
or1
if one input string is NULL and not the other in string comparison functions - breaking: api: use whole replacement string instead of first char in function string_remove_color
- core: use nick offline color for nick in action message
- core: display a specific message when the value of option is unchanged after
/set
command - core: add variable
${highlight}
in option weechat.look.buffer_time_format (#2079) - core: reintroduce help on the variables and operators in
/help eval
(#2005) - core: allow case insensitive search of partial buffer name with
(?i)name
in command/buffer
- core: use function util_strftimeval in evaluation of expression
date:xxx
- fset: allow filename starting with "~" in command
/fset -export
- irc: store lag in channel and private buffers (local variable "lag"), in addition to the server buffer
- irc: allow range in commands
/unban
and/unquiet
(#2113) - tcl: add support of Tcl 9.0 (#2075)
Added
- relay: add "api" protocol (HTTP REST API), add options relay.look.display_clients, relay.api.remote_get_lines and relay.network.time_window (#2066)
- relay: add command
/remote
to connect to remote WeeChat relay servers (#2066) - relay: add support of websocket extension "permessage-deflate" (#1549)
- core, api: add unique identifier "id" in buffer and nicklist (group and nick), add function "hdata_longlong", allow search by buffer id in function buffer_search, allow search by group and nick id in functions nicklist_search_group and nicklist_search_nick (#2081)
- core: add support of XDG "state" directory (#2106, #1747)
- core: add support of SGR mouse events (#2082)
- fset: add option
-import
in command/fset
- core: add option
-s
in command/command
to execute multiple commands separated by semicolons - core: add option
malloc_trim
in command/sys
- core: add option weechat.look.config_permissions (#2057)
- core: add option weechat.look.highlight_prefix (#2079)
- core: add option weechat.completion.case_sensitive
- api: add functions config_option_get_{string|pointer} and config_{boolean|integer|string|color|enum}_inherited in scripting API
- api: add modifier "color_decode" to decode WeeChat colors with a replacement string
- api: add support of base64url in encode/decode functions
- api: add support of specifier
%!
for timestamp in function util_strftimeval - api: add info "plugin_loaded"
- script: add option
enable
in command/script
- script: add info "script_loaded"
Fixed
- core: fix conversion of WeeChat colors to ANSI colors: "default", "bar_fg", "bar_bg", "bar_delim"
- core: fix recursive search of group in nicklist
- core: use nick offline highlight color for prefix of action message when the nick is offline with a highlight
- core: add missing hdata name "buffer" in hdata "hotlist"
- core: fix reset to initial scroll position after search of text in buffer (#2093)
- core: add missing mouse events "alt-ctrl-button2" and "alt-ctrl-button3"
- core: remove trailing directory separators in home directories (#2070)
- exec: remove trailing space on buffers with free content when line numbers are not displayed
- exec: add missing exec tags in lines of buffers with free content (#2086)
- irc: fix crash in split of IRC message containing a newline if the server is not given
- irc: fix display of reply for CTCP request received on a channel when capability echo-message is enabled
- irc: display CTCP reply to a nick in server buffer instead of channel
- irc: add missing tags on self action messages when capability echo-message is enabled (#2074)
- irc: don't strip monospace color code 0x11 from incoming messages (#2073)
- irc: fix random date displayed when a received message contains tags but no "time" (#2064)
- lua: fix freeze on call to "debug.debug" (#1906, #1907)
- python: fix truncation of unsigned long long integer returned by function string_parse_size
- relay: set the last IRC client disconnection time only after a successful connection (#2103)
- script: always display list of scripts when searching scripts with
/script search
(#2077) - script: fix default mouse keys (#2076)
- scripts: fix crash on script unload when a hook is created in a buffer close callback (#2067)
- tcl: fix truncation of long integer returned by function hdata_long
- trigger: fix memory leak when adding a new trigger with
/trigger
command
Download
v4.2.2
Bug fixes
- core: fix reset to initial scroll position after search of text in buffer (#2093)
- core: add missing mouse events "alt-ctrl-button2" and "alt-ctrl-button3"
- exec: remove trailing space on buffers with free content when line numbers are not displayed
- exec: add missing exec tags in lines of buffers with free content (#2086)
- irc: add missing tags on self action messages when capability echo-message is enabled (#2074)
- python: fix truncation of unsigned long long integer returned by function string_parse_size
- relay: set the last IRC client disconnection time only after a successful connection (#2103)
- script: always display list of scripts when searching scripts with
/script search
(#2077) - script: fix default mouse keys (#2076)
- scripts: fix crash on script unload when a hook is created in a buffer close callback (#2067)
- tcl: fix truncation of long integer returned by function hdata_long
- trigger: fix memory leak when adding a new trigger with
/trigger
command
Tests
- core: fix tests on function strftimeval on Alpine
Download
v4.2.1
v4.2.0
New features
- core: add variable "opening" in buffer, do not send buffer signals when the buffer is opening
- core: store microseconds in buffer lines (#649)
- core: evaluate expressions even when the suffix is missing ("}" by default) (#2042, #1714)
- core: add syntax highlighting in evaluation of expressions with
raw_hl:string
andhl:string
, add option weechat.color.eval_syntax_colors (#2042) - core: add option
search_history
in command/input
, add key Ctrl+r to search in commands history, add key context "histsearch" (#2040) - core: add option weechat.look.buffer_search_history (#2040)
- core: add key Ctrl+o to send command found and insert next one in input (#2040)
- core: add buffer variables "text_search_direction", "text_search_history" and "text_search_ptr_history" (#2040)
- core: move key Ctrl+r to Ctrl+s (#2040)
- core: move key Ctrl+s, Ctrl+u to Alt+Shift+U (#2040)
- core: display only version with command
/version
, add options-o
and-ol
in command/upgrade
- core: add number of processes in command
/sys waitpid
- core, alias, trigger: allow wildcard in commands
/bar
,/item
,/proxy
,/alias
and/trigger
(#1956) - api: add functions util_strftimeval, util_parse_time, printf_datetime_tags, printf_y_datetime_tags (#649)
- api: add argument "date_usec" in hook_print callback (#649)
- api: add property "type" in function buffer_get_string
- api: add info "mouse"
- buflist: jump to previous/next buffer displayed in buflist item with ctrl+wheel up/down on a buflist item (#1473)
- irc: add option irc.look.display_host_wallops
- irc: add server option "anti_flood" (now in milliseconds), remove server options "anti_flood_prio_{high|low}" (#1039)
- irc: add option irc.look.list_buffer
- irc: change default value of server option "tls_priorities" to
NORMAL
- irc: add support of RGB colors in messages, add option irc.color.term_remap (#2025)
- irc: add tags "nick_xxx" and "host_xxx" in all messages, including self and server messages
- irc: add option irc.look.ignore_tag_messages (#989)
- relay: change default value of option relay.network.tls_priorities to
NORMAL
- trigger: change format of variables
${tg_date}
from "%Y-%m-%d %H:%M:%S" to "%FT%T.%f" (#649) - trigger: rename local variable "trigger_filter" to "filter" on monitor buffer (#2037)
Bug fixes
- core: fix crash on plugin reload when using musl libc (#2052)
- core: fix infinite loop in display when the chat area is too small (#2053)
- core: fix value of buffer variable "num_history" when the value defined in option weechat.history.max_commands is reached
- core: remove incorrect warning when binding keys F10 to F20 (#2039)
- core: call hook config when options are removed
- core: display an error with command
/history N
when N is not a valid integer - core: fix memory leak when config version is invalid or not supported
- core: fix crash when "config_version" is present in a configuration file without a value
- core: display an error on startup if environment variable "HOME" is not set
- core: fix crash when a custom bar item name is already used by a default bar item (#2034)
- core: fix random timeouts when a lot of concurrent processes are launched with hook_process (#2033)
- api: return NULL instead of empty infolist "key" when context is not found
- irc: check if arguments are not NULL in some infos
- irc: fix info "irc_is_message_ignored" (#2059)
- irc: fix display of self messages when the message split fails due to inconsistent max lengths sent by the server in message 005
- irc: display messages 730/731 (monitored nicks online/offline) even if command
/notify
was not used (#2049) - irc: remove trailing "\r\n" in signals "irc_out" and "irc_outtags" when messages are queued
- irc: fix target buffer of IRC message 337 (whois reply: "is hiding their idle time")
- irc: revert compute of nick colors to case sensitive way, deprecate again infos "irc_nick_color" and "irc_nick_color_name" (#194, #2032)
- relay: close properly connection with the IRC client in case of server disconnection (#2038)
- ruby: fix use of NULL variable when displaying exception
Tests
- core: add tests on plugin config and plugin API info functions
- irc: add tests on info functions
Build
- core: make libintl.h required if CMake option ENABLE_NLS is enabled (#2031)
- ruby: add detection of Ruby 3.3
Download
v4.1.3
Bug fixes
- core: fix crash on plugin reload when using musl libc (#2052)
- core: fix infinite loop in display when the chat area is too small (#2053)
- irc: check if arguments are not NULL in some infos
- irc: fix info "irc_is_message_ignored" (#2059)
- irc: fix display of self messages when the message split fails due to inconsistent max lengths sent by the server in message 005
Download
v4.0.8
Bug fixes
- core: fix crash on plugin reload when using musl libc (#2052)
- core: fix infinite loop in display when the chat area is too small (#2053)
- irc: check if arguments are not NULL in some infos
- irc: fix info "irc_is_message_ignored" (#2059)
- irc: fix display of self messages when the message split fails due to inconsistent max lengths sent by the server in message 005
Download
v4.1.2
Bug fixes
- core: fix value of buffer variable "num_history" when the value defined in option weechat.history.max_commands is reached
- core: remove incorrect warning when binding keys F10 to F20 (#2039)
- core: fix memory leak when config version is invalid or not supported
- core: fix crash when "config_version" is present in a configuration file without a value
- core: display an error on startup if environment variable "HOME" is not set
- irc: remove trailing "\r\n" in signals "irc_out" and "irc_outtags" when messages are queued
- irc: fix target buffer of IRC message 337 (whois reply: "is hiding their idle time")
- relay: close properly connection with the IRC client in case of server disconnection (#2038)
- ruby: fix use of NULL variable when displaying exception