Skip to content

v4.2.0

Compare
Choose a tag to compare
@flashcode flashcode released this 21 Jan 09:59
· 543 commits to master since this release

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 and hl: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

https://weechat.org/download/weechat/4.2.0/