Up to [cvs.NetBSD.org] / pkgsrc / chat / weechat
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
chat/weechat: Update to 4.3.5 Changelog: Version 4.3.5 (2024-07-16) Fixed ruby: fix crash in plugin initialization (issue #2163) Version 4.3.4 (2024-07-03) Fixed python: fix crash on quit with Python 3.12 (issue #2046, issue #2126) core: fix crash when deleting a bar that has no items (issue #2138) ruby: fix builtin functions not available (issue #2109) relay/api: fix "body_type" returned when lines or nicks of a buffer are requested Version 4.3.3 (2024-06-22) Fixed core, plugins: return "0x0" instead of "(nil)" for pointers formatted in strings Version 4.3.2 (2024-06-06) Changed relay: enable websocket extension "permessage-deflate" with "api" relay only (issue #1549) Added relay: add option relay.look.raw_messages_max_length (issue #2122) Fixed irc, xfer: fix display of input prompt in IRC private buffers and DCC chat buffers (issue #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 (issue #1549) relay: fix allocation and reinit of field "client_context_takeover" in websocket deflate structure (issue #1549) Version 4.3.1 (2024-05-31) Fixed irc: close /list buffer when the server buffer is closed (issue #2121) xfer: fix send of data on the DCC chat buffer after /upgrade if the buffer was opened before the upgrade (issue #2092) php: fix return value of function hdata_longlong tcl: fix return value of function hdata_longlong (issue #2119) core: fix detection of libgcrypt ≥ 1.11 (debian bug #1071960) core, relay: fix include directory of libcjson and libzstd tests: fix relay tests on s390x (issue #2118) tests: fix check of php plugin (issue #2117) tests: fix compilation of tests on Fedora 40 (issue #2116) tests: fix compilation of tests on Rocky 9.4 Version 4.3.0 (2024-05-26) If you are upgrading: please see release notes. Changed [breaking] irc: add server option "autojoin_delay" (delay before autojoin), use option "command_delay" before execution of the command (issue #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 (issue #2085) [breaking] relay: rename option relay.weechat.commands to relay.network.commands and change default to *,!quit (issue #2066) [breaking] relay: change option type relay.look.auto_open_buffer to string (issue #2066) [breaking] core: add buffer properties "input_prompt" and "modes", used to display bar items (issue #2066) [breaking] core: add bar item "lag" to display lag on relay remote buffers (issue #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 (issue #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 or 1 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 (issue #446) 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 (issue #2079) core: reintroduce help on the variables and operators in /help eval (issue #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 (issue #2113) tcl: add support of Tcl 9.0 (issue #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 (issue #2066) relay: add command /remote to connect to remote WeeChat relay servers (issue #2066) relay: add support of websocket extension "permessage-deflate" (issue #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 (issue #2081) core: add support of XDG "state" directory (issue #2106, issue #1747) core: add support of SGR mouse events (issue #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 (issue #2057) core: add option weechat.look.highlight_prefix (issue #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 (issue #2093) core: add missing mouse events "alt-ctrl-button2" and "alt-ctrl-button3" core: remove trailing directory separators in home directories (issue #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 (issue #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 (issue #2074) irc: don’t strip monospace color code 0x11 from incoming messages (issue #2073) irc: fix random date displayed when a received message contains tags but no "time" (issue #2064) lua: fix freeze on call to "debug.debug" (issue #1906, issue #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 (issue #2103) script: always display list of scripts when searching scripts with /script search (issue #2077) script: fix default mouse keys (issue #2076) scripts: fix crash on script unload when a hook is created in a buffer close callback (issue #2067) tcl: fix truncation of long integer returned by function hdata_long trigger: fix memory leak when adding a new trigger with /trigger command Version 4.2.3 (2024-05-31) Bug fixes xfer: fix send of data on the DCC chat buffer after /upgrade if the buffer was opened before the upgrade (issue #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
chat/weechat: Update to 4.2.2 Changelog: == Version 4.2.2 (2024-04-07) Bug fixes:: * core: fix reset to initial scroll position after search of text in buffer (issue #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 (issue #2086) * irc: add missing tags on self action messages when capability echo-message is enabled (issue #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 (issue #2103) * script: always display list of scripts when searching scripts with `/script search` (issue #2077) * script: fix default mouse keys (issue #2076) * scripts: fix crash on script unload when a hook is created in a buffer close callback (issue #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 == Version 4.2.1 (2024-01-22) Bug fixes:: * irc: fix random date displayed when a received message contains tags but no "time" (issue #2064) == Version 4.2.0 (2024-01-21) New features:: * core: add variable "opening" in buffer, do not send buffer signals when the buffer is opening * core: store microseconds in buffer lines (issue #649) * core: evaluate expressions even when the suffix is missing ("}" by default) (issue #2042, issue #1714) * core: add syntax highlighting in evaluation of expressions with `raw_hl:string` and `hl:string`, add option weechat.color.eval_syntax_colors (issue #2042) * core: add option `search_history` in command `/input`, add key kbd:[Ctrl+r] to search in commands history, add key context "histsearch" (issue #2040) * core: add option weechat.look.buffer_search_history (issue #2040) * core: add key kbd:[Ctrl+o] to send command found and insert next one in input (issue #2040) * core: add buffer variables "text_search_direction", "text_search_history" and "text_search_ptr_history" (issue #2040) * core: move key kbd:[Ctrl+r] to kbd:[Ctrl+s] (issue #2040) * core: move key kbd:[Ctrl+s], kbd:[Ctrl+u] to kbd:[Alt+Shift+U] (issue #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` (issue #1956) * api: add support of format/translation of command arguments description line by line (issue #2005) * api: add function string_concat (issue #2005) * api: add functions util_strftimeval, util_parse_time, printf_datetime_tags, printf_y_datetime_tags (issue #649) * api: add argument "date_usec" in hook_print callback (issue #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 (issue #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}" (issue #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 (issue #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 (issue #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" (issue #649) * trigger: rename local variable "trigger_filter" to "filter" on monitor buffer (issue #2037) Bug fixes:: * core: fix crash on plugin reload when using musl libc (issue #2052) * core: fix infinite loop in display when the chat area is too small (issue #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 kbd:[F10] to kbd:[F20] (issue #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 (issue #2034) * core: fix random timeouts when a lot of concurrent processes are launched with hook_process (issue #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" (issue #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 (issue #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" (issue #194, issue #2032) * relay: close properly connection with the IRC client in case of server disconnection (issue #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 (issue #2031) * ruby: add detection of Ruby 3.3 == Version 4.1.3 (2024-01-20) Bug fixes:: * core: fix crash on plugin reload when using musl libc (issue #2052) * core: fix infinite loop in display when the chat area is too small (issue #2053) * irc: check if arguments are not NULL in some infos * irc: fix info "irc_is_message_ignored" (issue #2059) * irc: fix display of self messages when the message split fails due to inconsistent max lengths sent by the server in message 005
weechat: Update to 4.1.2 Changelog: Version 4.1.2 (2023-12-03) Bug fixes o core: fix value of buffer variable "num_history" when the value defined in option weechat.history.max_commands is reached o core: remove incorrect warning when binding keys F10 to F20 (issue # 2039) o core: fix memory leak when config version is invalid or not supported o core: fix crash when "config_version" is present in a configuration file without a value o core: display an error on startup if environment variable "HOME" is not set o irc: remove trailing "\r\n" in signals "irc_out" and "irc_outtags" when messages are queued o irc: fix target buffer of IRC message 337 (whois reply: "is hiding their idle time") o relay: close properly connection with the IRC client in case of server disconnection (issue #2038) o ruby: fix use of NULL variable when displaying exception
weechat: Update to 4.0.2 Changelog: Version 4.0.2 (2023-07-12) Bug fixes o core: fix renaming of options with command /item rename (issue #1978) o core: don??t send "key_pressed" signal again for the same key press ( issue #1976) o core: don??t send "key_combo_*" signals for incomplete keys (issue # 1976) o core: add key ctrl-backspace in /help key (issue #1975) o core: keep keys ctrl-H and ctrl-? (in lower case) if they were manually bound to custom commands in a previous version Tests o core: fix hdata tests failure on Alpine 3.18 o relay: fix crash in tests on Alpine 3.18 Build o php: fix detection of PHP 8.2 on Alpine 3.18
weechat: Update to 4.0.1. Also fix issue with newer msgfmt unable to use /dev/null as an output file. Version 4.0.1 (2023-06-30) core: force key "return" to command "/input return" when migrating legacy keys core: display actual key name and command with key Alt+k, remove key Alt+K (grab raw key) and associated commands /input grab_raw_key and /input grab_raw_key_command core: check for newline characters in string_is_whitespace_char (issue #1968) api: do not convert option name to lower case in API functions config_set_plugin and config_set_desc_plugin guile: fix crash on quit with Guile < 3 (issue #1965) irc: reply to a CTCP request sent to self nick (issue #1966) irc: sent "QUIT" message to servers connected with TLS on /upgrade Version 4.0.0 (2023-06-24) New features core: use human readable key bindings, separate keys with comma in combos, remove modifier "meta2-", add option legacy in command /key (issue #1238, task #10317) core: make keys normal options, so they are shown and can be updated with /set and /fset commands (task #12427, task #11783) core: add key Alt+K (upper case) to grab raw key and its command (issue #1238) core: add option key in command /debug (issue #1238) core: force ctrl keys to lower case when they are added (issue #1875) core: use 256 colors by default and always allow 256 colors, find nearest color if less colors are available in terminal (issue #1920) core: insert multiple pasted lines in input instead of sending immediately, add keys to move and delete in a single line and whole input, add option weechat.look.input_multiline_lead_linebreak (issue #1502, issue #1503, issue #1504) core: render newline characters in chat line messages (issue #1908) core: don’t split on newline characters in printf_date_tags when input_multiline is set (issue #1909) core: add key @l in cursor mode to quote line, add variable "_chat_focused_line" in function hashtable sent to hook_focus callback (issue #1913, issue #1914) core: add option split_return in command /input (issue #1916) core: send all command line parameters not beginning with a dash to all plugins core: add command /reset to reset options to their default values core: add option rename in command /bar core: add relative move of read marker with /buffer set unread [+/-]N (issue #1895) core: add access to hashtable properties in evaluation of expressions (issue #1888) core: display similar command names when a command is unknown (issue #1877) core: rename option weechat.color.status_name_ssl to weechat.color.status_name_tls core: add option weechat.color.status_name_insecure to display buffer name with a specific color when not connected with TLS to the server core, plugins: make many identifiers case sensitive (issue #1872, issue #398, bug #32213) core: add item "mouse_status" in default status bar, change default color to lightgreen core, trigger: add options weechat.color.chat_status_disabled and weechat.color.chat_status_enabled, remove options trigger.color.trigger and trigger.color.trigger_disabled, add enabled/disabled status color in output of /filter list (issue #1820) core: add completions "filters_names_disabled" and "filters_names_enabled", used in completion of /filter disable and /filter enable api: add function config_set_version (issue #1238) api: don’t split on newline by default in functions command and command_options when input_multiline is set to 0 api: add optional argument with version in info "version_number" api: add info "auto_load_scripts" alias: use lower case for default aliases, rename all aliases to lower case on upgrade (issue #1872) alias: add $& to replace all arguments with double quotes escaped (issue #1140, issue #1190) alias: add options missing and rename in command /alias fifo: add support of escaped chars in text or commands sent (issue #1950) fset: add options fset.color.color_name and fset.color.color_name_selected (issue #1920) irc: rename "ssl" options to "tls", connect with TLS and port 6697 by default irc: add support of capabilities "batch" and "draft/multiline" (issue #1292, issue #1923) irc: add support of capability "echo-message" (issue #139) irc: display CTCP ACTION to channel on the channel buffer (issue #207) irc: display STATUSMSG actions differently from standard actions on channels (issue #1577) irc: add modifier "irc_cap_sync_req" (issue #1767) irc: add support of "LINELEN" in message 005 (max message length in bytes) (issue #1927) irc: add support of "UTF8ONLY" in message 005 (issue #1688) irc: add command /action (issue #201, issue #1577) irc: add command /rules (issue #1864) irc: add command /knock (issue #7) irc: add server option "registered_mode", add fields "authentication_method" and "sasl_mechanism_used" in server (issue #1625) irc: add option join in command /autojoin irc: use key when /joining in open channel buffer (issue #1260) irc: add option buffer in command /autojoin sort (issue #1876) irc: add ${username} in server options "nicks" and "username", change their default values to use it irc: add infos "irc_server_cap" and "irc_server_cap_value" irc: add option irc.look.display_host_notice irc: add tag "new_host_xxx" in message displayed for command CHGHOST (issue #1808) logger: add option logger.file.log_conditions (issue #1942) logger: add info "logger_log_file" relay: rename "ssl" options and protocol to "tls" relay: make TLS certificate/key loading error handling more verbose (issue #1558) relay: add modifiers "relay_client_irc_in", "relay_client_irc_out1" and "relay_client_irc_out" in irc protocol relay: add support of capability "echo-message" in irc protocol (issue #1949) relay: add handshake option "escape_commands" in weechat protocol trigger: add completions "trigger_names_disabled" and "trigger_names_enabled", used in completion of /trigger disable and /trigger enable Bug fixes core: fix refresh of bar item "input_search" after buffer switch in root bars (issue #1939) core: fix completion after newline in input (issue #1925) core: fix partial completion when the common prefix found is empty (issue #340) core: display a specific error when trying to bind a key without area in mouse context core: fix display of key with command /key bindctxt <context> <key> core: fix default value of bar options (issue #846) core: allow any valid boolean value in command /bar set <name> separator xxx core: run config hooks only when value or default value is actually changed in set/reset/unset functions core: fix crash in case of NULL message sent to function gui_chat_printf_y_date_tags (issue #1883) core: allow command /input move_next_word going to the end of line (issue #1881) core: ignore incomplete ctrl/meta/meta2 codes in keys core: fix display glitch in command errors when a wide char is set in option weechat.look.command_chars (issue #1871) core: fix update of terminal title in some terminals like suckless terminal (stterm) (issue #1882) core: fix infinite loop on startup when running some gui commands before the switch to core buffer is performed (issue #1917) api: readjust string size in function string_dyn_free when string is not freed buflist: do not display keys added in default context on first load exec: remove trailing "M" (carriage return) in output of commands fset: remove scroll to top of fset buffer when options are added or removed (issue #1892) guile: fix crash when plugin is loaded on GNU/Hurd (issue #1951) irc: fix format of IRC tags displayed in messages (use "=" to separate key from value, do not convert "_" to "-") (issue #1929) irc: reset all internal servers variables when disconnecting irc: start from the beginning of nicks at automatic reconnection (issue #337, issue #965) irc: fix join of channels in "autojoin" server option on first connection to server if auto reconnection is performed (issue #1873) irc: update autojoin option with redirected channels when autojoin_dynamic is enabled (issue #1898) irc: update secure data when server autojoin option contains ${sec.data.xxx} and option autojoin_dynamic is enabled (issue #1934) irc: don’t switch to buffer of joined channel if it was not manually joined nor present in server autojoin option irc: fix target buffer for commands 432/433 (erroneous nickname/nickname already in use) when the nickname looks like a channel irc: display command 437 on server buffer when nickname cannot change while banned on channel (issue #88) irc: add messages 415 (cannot send message to channel) and 742 (mode cannot be set) irc: add missing tag "log3" in notify messages irc: add missing tags "irc_cap" and "log3" in cap messages (client capability) irc: fix split of CTCP message with no arguments irc: remove extra space in CTCP ACTION message sent without arguments logger: fix display of multiline messages in backlog (issue #1926) lua: fix crash with print when the value to print is not a string (issue #1904, issue #1905) relay: fix crash on /upgrade when at least a client is connected with weechat protocol relay: fix connection with IRC clients sending "CAP REQ :" (without capability) and not sending "CAP END" (issue #1040) ruby: fix crash on quit when a child process is still running (issue #1889, issue #1915) ruby: fix crash in display of exception backtrace with Ruby 3 (issue #1631, issue #1886) script: remove trailing "J" (line feed char) in source of scripts displayed spell: check buffer pointer received in info "spell_dict" trigger: make default triggers "cmd_pass", "cmd_pass_register" and "server_pass" compatible with multiline input (issue #1935) typing: fix crash when pointer buffer is not received in callback for signal "input_text_changed" (issue #1869) typing: remove nicks typing even when option typing.look.enabled_self is off (issue #1718) Tests core: add tests on URL functions gui: add tests on bar and key functions alias: add tests on alias functions irc: check tags in messages displayed by IRC plugin irc: add tests on function irc_server_alloc_with_url irc: add tests on message/notice/action/CTCP sent logger: add tests on tail functions relay: add tests on "irc" protocol Build core: remove build with autotools (issue #1860) core: remove RPM packaging core: remove build of .bz2 and .zst files in make dist core: remove obsolete cpack config core: add "stable-number" and "devel-number" in script version.sh core: add quotes around paths in CMake files (issue #29) doc: convert docgen.py to C, remove autogen files from repository, add parameter --doc-gen to weechat-headless binary, add CMake option ENABLE_DOC_INCOMPLETE
weechat: Fix msgfmt format string.
weechat: Update to 3.8 * Add PYTHON_VERSIONS_INCOMPATIBLE=27 for 3.8 Changelog: Version 3.8 (2023-01-08) Move of options out of command /input Some options of /input command have been moved to other commands (they can still be used with /input but marked as deprecated and completion has been removed): Old command New command Default key /input jump_smart /buffer jump smart kbd:[Alt+a] /input /buffer jump kbd:[Alt+<] jump_previously_visited_buffer prev_visited /input /buffer jump kbd:[Alt+>] jump_next_visited_buffer next_visited /input /buffer jump kbd:[Alt+/] jump_last_buffer_displayed last_displayed /input hotlist_clear /hotlist clear kbd:[Alt+h], kbd:[Alt+c] /input hotlist_remove_buffer /hotlist remove kbd:[Alt+h], kbd:[Alt+m] /input hotlist_restore_buffer /hotlist restore kbd:[Alt+h], kbd:[Alt+r] /input hotlist_restore_all /hotlist restore -all kbd:[Alt+h], kbd: [Alt+Shift+R] /input set_unread /allbuf /buffer set kbd:[Ctrl+s], kbd: unread [Ctrl+u] /input /buffer set unread (none) set_unread_current_buffer /input switch_active_buffer /buffer switch kbd:[Ctrl+x] /input /buffer switch (none) switch_active_buffer_previous -previous /input zoom_merged_buffer /buffer zoom kbd:[Alt+x] The following default keys can be reset to use the new command: /key reset meta-a /key reset meta-< /key reset meta-> /key reset meta-/ /key reset meta-hmeta-c /key reset meta-hmeta-m /key reset meta-hmeta-r /key reset meta-hmeta-R /key reset ctrl-Sctrl-U /key reset ctrl-X /key reset meta-x Return code of string comparison functions The following functions now return arithmetic result of subtracting the last compared UTF-8 char in string2 from the last compared UTF-8 char in string1: * string_charcmp * string_charcasecmp * string_charcasecmp_range * string_strcasecmp * string_strcasecmp_range * string_strncasecmp * string_strncasecmp_range * string_strcmp_ignore_chars In addition, the case conversion has been extended, now in addition to range A-Z, all chars that have a lower case version are handled. That means for example the case insensitive comparison of "é" and "É" is 0 (chars are considered equal). Example with WeeChat 3.8: int diff = string_strcasecmp ("aaa", "CCC"); /* == -2 */ With older releases: int diff = string_strcasecmp ("aaa", "CCC"); /* == -1 */ API functions string_tolower and string_toupper The functions string_tolower and string_toupper now return newly allocated string instead of doing the change in place. The returned string must then be freed after use. Trigger regex command The trigger regex now starts with a command, which is "s" (regex replace, default) or "y" (translate chars). For compatibility, any regex starting with a delimiter different from a letter will still work. If you defined some triggers with a regex starting with a letter (used as delimiter), then you must change them before upgrading WeeChat, otherwise they ’ll be lost after upgrade (with an error when WeeChat tries to load them from configuration file). For example this regex is now invalid: XabcXdefX And must be replaced by: sXabcXdefX For more information on the regex format, see the trigger chapter in the WeeChat User’s guide. Remove Python 2 support The CMake option ENABLE_PYTHON2 and autotools option --enable-python2 have been removed, and WeeChat can not be compiled with Python 2.x any more. Callbacks of function config_new_option The two callbacks "callback_change" and "callback_delete" in scripting API function config_new_option have been changed: an integer return value was expected by error, now any return value is ignored (like it has always been in the C API). Version 3.7.1 (2022-10-21) Bug fix and maintenance release. Version 3.7 (2022-10-09) Argument "object_id" in callback of upgrade_new In all script languages (except PHP), the argument "object_id" sent to the callback of "upgrade_new" is now an integer (it was a string in older releases). To be compatible with all versions, it is recommended to convert the argument to integer before testing it, for example in Python: if int(object_id) == 1: # ... Argument "remaining_calls" in callback of hook_timer In all script languages (except PHP), the argument "remaining_calls" sent to the callback of "hook_timer" is now an integer (it was a string in older releases). To be compatible with all versions, it is recommended to convert the argument to integer before testing it, for example in Python: if int(remaining_calls) > 0: # ... Delete previous word until whitespace A new parameter delete_previous_word_whitespace has been added in /input command to delete previous word until backspace. This is now bound by default to the key kbd:[Ctrl+w] (see issue #559). A new key kbd:[Alt+Backspace] has been added to delete word, like kbd:[Ctrl+w] did in previous releases. You can get the new behavior for kbd:[Ctrl+w] with this command: /key bind ctrl-W /input delete_previous_word_whitespace And add the new key kbd:[Alt+Backspace] with this command: /key missing Function string_rebuild_split_string The API function string_build_with_split_string has been renamed to string_rebuild_split_string and two new arguments have been added: _index_start and index_end. To stay compatible, the existing calls to the function must be done with the new function name and these values: * index_start: 0 * index_end: -1 Version 3.6 (2022-07-10) Hook print on empty messages The "hook_print" callback is now called even when an empty message is displayed (with or without prefix). This was a bug, but is mentioned here just in case some scripts callbacks would be surprised to be called with such empty messages. Default trigger "beep" The command of "beep" trigger is now executed only if the buffer notify is NOT set to none (in addition to existing conditions). You can restore the default trigger "beep" with the following command: /trigger restore beep
weechat: Update to 3.5 Changelog: == Version 3.5 (2022-03-27) New features:: * core: search in message tags when tags are displayed with `/debug tags` * core: add support of date and tags in messages displayed in buffers with free content, add function printf_y_date_tags (issue #1746) * irc: add command /autojoin, add server option "autojoin_dynamic" * irc: add IRC message tags in messages displayed (issue #1680) * relay: add `zstd` (https://facebook.github.io/zstd/[Zstandard]) compression in weechat protocol, remove option `compression` from `init` command, rename option relay.network.compression_level to relay.network.compression * trigger: add variables `${tg_tag_irc_xxx}` containing IRC message tags (issue #1680) Bug fixes:: * core: fix memory leak when removing a line on a buffer with free content * core: remove obsolete option weechat.plugin.debug (issue #1744) * core: fix search of commands with UTF-8 chars in name when option weechat.look.command_incomplete is on (issue #1739) * core: fix display of hotlist in buflist after changing value of option weechat.look.hotlist_sort (issue #1733) * api: add function buffer_new_props (issue #1759) * api: fix add of infolist items in hashtable when prefix contains UTF-8 chars in function hashtable_add_from_infolist (issue #1739) * guile: remove disabling of guile gmp allocator with Guile ≥ 3.0.8 * irc: fix completion of channel topic with UTF-8 chars (issue #1739) * irc: fix parsing of messages 311, 312, 327 (whois) and 314 (whowas) in case of missing parameters * irc: fix parsing of message 223 (m_filter) sent by InspIRCd server (issue #1751) * irc: fix parsing of message 338 (whois, host) sent by Rizon server (issue #1737) * irc: fix display of message 344 received as whois geo info (issue #1736) * irc: fix display of message 901 (you are now logged out) (issue #1758) * irc: fix display of IRC numeric messages with no parameters * python: fix crash in hook callbacks after script loading failure (issue #1740) * scripts: allow NULL in parameters "default_value" and "value" of function config_new_option (issue #1761) * scripts: auto-load scripts with supported extensions only (issue #1698) * tcl: add constant `$::weechat::WEECHAT_NULL` (issue #1761) * trigger: fix search of triggers with UTF-8 chars in name (issue #1739) * xfer: fix auto-accept of server/nick when the server name contains UTF-8 chars (issue #1739) Tests:: * core: add tests on GUI chat functions * core: add build of Debian packages in CI Build:: * debian: change dependency libargon2-0-dev to libargon2-dev (debian #1005703) * ruby: add detection of Ruby 3.1
weechat: update to 3.4.1 This fixes a security bug where TLS certs are not verified properly.
weechat: Use correct RUBY_LIBRARIES variable. Fixes build on Darwin/arm64 where RUBY_LDFLAGS contains '-arch arm64' which was being mangled to '-arch -larm64'.
weechat: update to 3.4 Version 3.4 (2021-12-18) New features * core: add support of static arrays in hdata * core: add command /toggle * api: add parameters pointers, extra_vars and options in function hdata_search * api: add user variables in evaluation of expressions with "define:name,value" * api: add IRC message parameters "param1" to "paramN" and "num_params" in output of irc_message_parse * irc: allow quotes around IRC message in command /server fakerecv * trigger: hide key and password in command "/msg nickserv setpass nick key password" * trigger: add support of option "-server" when hiding passwords in command /msg nickserv register Bug fixes * core: fix memory leak in evaluated expression "split:number,seps,flags,xxx" when multiple "strip_items" are given * core: fix random integer number with large range in evaluation of expressions on GNU/Hurd * core: fix access to integer/long/time arrays in hdata * api: fix search of option when the section is not given in functions config_search_option and config_search_section_option * irc: fix join of channels with long name * irc: fix parsing of parameters in all IRC messages * irc: fix parsing of CAP message when there is no prefix * irc: fix parsing of TAGMSG message when there is a colon before the channel
chat: Replace RMD160 checksums with BLAKE2s checksums All checksums have been double-checked against existing RMD160 and SHA512 hashes
weechat: update to 3.3 pkgsrc changes: - re-enable man page generation - remove patch that upstream fixed in a different way == Version 3.3 (2021-09-19) New features:: * core: change key kbd:[Alt+h] to kbd:[Alt+h], kbd:[Alt+c] (clear hotlist) * core: add options "hotlist_remove_buffer", "hotlist_restore_buffer" and "hotlist_restore_all" in command /input, add default keys kbd:[Alt+h], kbd:[Alt+m] (remove buffer), kbd:[Alt+h], kbd:[Alt+r] (restore hotlist in current buffer) and kbd:[Alt+h], kbd:[Alt+Shift+R] (restore hotlist in all buffers) * core: add option "certs" in command /debug * core: add options "-o", "-ol", "-i" and "-il" in command "/plugin list" * api: add split of string and shell arguments in evaluation of expressions with "split:number,seps,flags,xxx" and "split_shell:number,xxx" * api: add `${re:repl_index}` to get the index of replacement in function string_eval_expression (issue #1689) * api: add random integer number in evaluation of expressions with "random:min,max" * api: add function string_cut * api: add function file_copy (issue #1667) * api: remember insertion order in hashtables * api: add keys/values with tags in output of irc_message_parse_to_hashtable (issue #1654) * irc: add option "-parted" in command /allchan (issue #1685) * irc: allow signals "irc_raw_in" and "irc_in" to eat messages (issue #1657) * irc: implement IRCv3.2 SASL authentication, add command /auth, reconnect by default to the server in case of SASL authentication failure (issue #413) * irc: add support of capability "message-tags" and TAGMSG messages (issue #1654) * irc: enable all capabilities by default (if supported by server and WeeChat), change default value of option irc.server_default.capabilities to "*" (issue #320) * irc: add options irc.look.display_account_message and irc.look.display_extended_join (issue #320) * irc: add command /setname, add support of message and capability "setname" (issue #1653) * irc: always set realname in nicks even when extended-join capability is not enabled (issue #1653) * irc: add support of FAIL/WARN/NOTE messages (issue #1653) * irc: drop support of DH-BLOWFISH and DH-AES SASL mechanisms (issue #175) * typing: new plugin "typing": display users currently writing messages on IRC channel/private buffers Bug fixes:: * core: fix decoding of attributes in basic ANSI colors (issue #1678) * api: fix function string_match with joker in the string if multiple words matched in input string * irc: fix send of empty JOIN when connecting to a server with only parted channels (issue #1638) * irc: fix SASL authentication when AUTHENTICATE message is received with a server name (issue #1679) * irc: remove unneeded message about Diffie-Hellman shared secret exchange during SSL connection to server (issue #857) * irc: escape/unescape IRC message tags values (issue #1654) * irc: set notify level to "private" for received WALLOPS * script: fix move of installed script on another filesystem (issue #1667) Documentation:: * add Spanish FAQ (issue #1656) * add Serbian translations (issue #1655) Tests:: * core: switch to PHP 8.0 in CI * core: add build on macOS in CI Build:: * core: fix build on macOS (issue #1662) * lua: add detection of Lua 5.4 * php: add support of PHP 8.0 and 8.1 (issue #1599, issue #1668)
chat: Remove SHA1 hashes for distfiles
Pullup ticket #6496 - requested by nia chat/weechat: security fix Revisions pulled up: - chat/weechat/Makefile 1.126 - chat/weechat/distinfo 1.68 --- Module Name: pkgsrc Committed By: ryoon Date: Mon Sep 6 13:21:09 UTC 2021 Modified Files: pkgsrc/chat/weechat: Makefile distinfo Log Message: weechat: Update to 3.2.1 Changelog: == Version 3.2.1 (2021-09-04) Bug fixes:: * relay: fix crash when decoding a malformed websocket frame
weechat: Update to 3.2.1 Changelog: == Version 3.2.1 (2021-09-04) Bug fixes:: * relay: fix crash when decoding a malformed websocket frame
weechat: Update to 3.2 Changelog: == Version 3.2 (2021-06-13) New features:: * core: use XDG directories by default (config, data, cache, runtime) (issue 1285) * core: add option weechat.network.gnutls_ca_system, rename option weechat.network.gnutls_ca_file to weechat.network.gnutls_ca_user (now evaluated), delete and reload certificates when options are changed (issue 972) * core: evaluate option weechat.plugin.path, change default value to "${weechat_data_dir}/plugins" * core: add options to customize commands executed on system signals received (SIGHUP, SIGQUIT, SIGTERM, SIGUSR1, SIGUSR2) (issue 1595) * core: quit WeeChat by default when signal SIGHUP is received in normal run, reload configuration in weechat-headless (issue 1595) * core: add signals "cursor_start" and "cursor_end" * api: add function crypto_hmac (issue 1628) * api: add translated string in evaluation of expressions with "translate:xxx" * api: add evaluation of WeeChat directories with "${weechat_xxx_dir}" in evaluated strings * api: add optional key "directory" in hashtable options of function/modifier string_eval_path_home * api: add supported prefixes "${weechat_xxx_dir}" in function mkdir_home * api: add infos "weechat_config_dir", "weechat_data_dir", "weechat_cache_dir" and "weechat_runtime_dir" * api: add support of pointer names in function string_eval_expression (direct and in hdata) * api: add info "weechat_daemon" * buflist: add option buflist.format.tls_version * fifo: change default value of option fifo.file.path to "${weechat_runtime_dir}/weechat_fifo_${info:pid}" * irc: add support of SASL mechanisms SCRAM-SHA-1, SCRAM-SHA-256 and SCRAM-SHA-512 (issue 1628) * irc: add variable "${target}" (target nick) in commands /kick and /kickban * irc: add bar item "tls_version", add options irc.color.item_tls_version_ok, irc.color.item_tls_version_deprecated and irc.color.item_tls_version_insecure (issue 1622) * irc: evaluate server options "sasl_key" and "ssl_cert" * logger: change default value of option logger.file.path to "${weechat_data_dir}/logs" * python: add stub for WeeChat API (issue 1377) * relay: evaluate option relay.network.ssl_cert_key, change default value to "${weechat_config_dir}/ssl/relay.pem" * script: change default value of option script.scripts.path to "${weechat_cache_dir}/script" * trigger: add variables "${tg_shell_argc}" and "${tg_shell_argvN}" in command trigger evaluated strings (issue 1624) * xfer: change default value of option xfer.file.download_path to "${weechat_data_dir}/xfer" Bug fixes:: * core: split startup commands before evaluating them (issue 1643) * core: set server name when connecting to server with TLS (SNI extension) only if it's not an IPV4/IPv6 (issue 1635) * core: use function mallinfo2 instead of mallinfo when available (issue 1636) * core: display a warning when the file with certificate authorities is not found (option weechat.network.gnutls_ca_file) * core: evaluate left/right part of comparison after split on the comparison operator in ${if:xxx} (issue 1627) * core: prevent switching to start of visited buffers when jumping to next (issue 1591, issue 1592) * core: recreate buflist and fset bars on /reload when WeeChat is started without configuration files (issue 1618) * buflist: fix comparison of hotlists in option buflist.look.sort (issue 1621) * irc: split server command before evaluating it (issue 1643) * xfer: make file transfer fail when option xfer.file.auto_rename is off and file already exists (issue 1633) Tests:: * core: switch from Ubuntu 18.04 to 20.04 in CI * trigger: add tests on main trigger functions Build:: * core: remove build option CA_FILE * core: set WeeChat home to empty string by default in CMake and autotools
weechat: update to 3.1 == Version 3.1 (2021-03-07) New features:: * core: add options weechat.look.hotlist_update_on_buffer_switch and weechat.look.read_marker_update_on_buffer_switch (issue #992, issue #993) * core: add option sec.crypt.passphrase_command to read passphrase from an external program on startup, remove option sec.crypt.passphrase_file (issue #141) * core: improve debug in command /eval: display more verbose debug with two "-d", add indentation and colors * core: add options "setvar" and "delvar" in command /buffer, rename option "localvar" to "listvar" * core: add buffer local variable "completion_default_template" (evaluated) to override the value of option "weechat.completion.default_template" (issue #1600) * core: add option "recreate" in command /filter * core: add raw string in evaluation of expressions with "raw:xxx" (issue #1611) * core: add evaluation of conditions in evaluation of expressions with "eval_cond:xxx" (issue #1582) * api: add info_hashtable "secured_data" * irc: add info "irc_is_message_ignored" * irc: add server option "default_chantypes", used when the server does not send them in message 005 (issue #1610) * trigger: add variable "${tg_trigger_name}" in command trigger evaluated strings (issue #1580) Bug fixes:: * core: fix quoted line in cursor mode (issue #1602) * core: fix wrong size of the new window after vertical split (issue #1612) * core: do not remove quotes in arguments of command /eval as they can be part of the evaluated expression/condition (issue #1601) * core: display an error when the buffer is not found with command /command -buffer * buflist: add option buflist.look.use_items to speed up display of buflist (issue #1613) * irc: add bar item "irc_nick_prefix" * irc: fix separator between nick and host in bar item "irc_nick_host" * irc: fix completion of commands /halfop and /dehalfop Documentation:: * do not build weechat-headless man page if headless binary is disabled (issue #1607)
weechat: Update to 3.0.1 == Version 3.0.1 (2021-01-31) Bug fixes:: * exec: fix search of command by identifier * spell: fix refresh of bar item "spell_suggest" when the input becomes empty (issue #1586) * spell: fix crash with IRC color codes in command line (issue #1589)
weechat: Update to 3.0 Version 3.0 (2020-11-11) New features * api: add optional list of colors in infos "nick_color" and "nick_color_name" (issue #1565) * api: add argument "bytes" in function string_dyn_concat * api: add function string_color_code_size (issue #1547) * exec: add option "-oerr" to send stderr to buffer (now disabled by default) (issue #1566) * fset: add option fset.look.auto_refresh (issue #1553) * irc: add pointer to irc_nick in focus of bar item "buffer_nicklist" (issue #1535, issue #1538) * irc: allow to send text on buffers with commands /allchan, /allpv and /allserv * irc: evaluate command executed by commands /allchan, /allpv and /allserv (issue #1536) * script: add option script.scripts.download_enabled (issue #1548) * trigger: add variable "tg_argc" in data set by command trigger (issue #1576) * trigger: add variable "tg_trigger_name" in data set by all triggers (issue #1567, issue #1568) Bug fixes * core: set "notify_level" to 3 if there is a highlight in the line (issue #1529) * core: do not add line with highlight and tag "notify_none" to hotlist (issue #1529) * irc: remove SASL timeout message displayed by error after successful SASL authentication (issue #1515) * irc: send all channels in a single JOIN command when reconnecting to the server (issue #1551) * script: do not automatically download list of scripts on startup if the file is too old (issue #1548) * spell: properly skip WeeChat and IRC color codes when checking words in input (issue #1547) * trigger: fix recursive calls to triggers using regex (issue #1546) * trigger: add ${tg_tags} !!- ,notify_none, in conditions of default trigger "beep" (issue #1529) Tests * core: add tests on GUI line functions Build * core: disable debug by default in autotools build * tests: fix compilation with CppUTest ≥ 4.0
weechat: Update to 2.9 == Version 2.9 (2020-07-18) New features:: * core: add bar option "color_bg_inactive": color for window bars in inactive window (issue #732) * core: add Alacritty title escape sequence support (issue #1517) * core: display notify level for current buffer with command /buffer notify (issue #1505) * core: count only visible nicks in bar item "buffer_nicklist_count", add bar items "buffer_nicklist_count_groups" and "buffer_nicklist_count_all" (issue #1506) * core: set default size for input bar to 0 (automatic) (issue #1498) * core: add default key kbd:[Alt+Enter] to insert a newline (issue #1498) * core: add flag "input_multiline" in buffer (issue #984, issue #1063) * core: add a scalable WeeChat logo (SVG) (issue #1454, issue #1456) * core: add base 16/32/64 encoding/decoding in evaluation of expressions with "base_encode:base,xxx" and "base_decode:base,xxx" * core: add case sensitive wildcard matching comparison operator (`+==*+` and `+!!*+`) and case sensitive/insensitive include comparison operators (`+==-+`, `+!!-+`, `+=-+`, `+!-+`) in evaluation of expressions * core: add default key kbd:[Alt+Shift+N] to toggle nicklist bar * core: add command line option "--stdout" in weechat-headless binary to log to stdout rather than ~/.weechat/weechat.log (issue #1475, issue #1477) * core: reload configuration files on SIGHUP (issue #1476) * api: add pointer "_bar_window" in hashtable sent to hook focus callback (issue #1450) * api: add info_hashtable "focus_info" (issue #1245, issue #1257) * api: rename function hook_completion_get_string to completion_get_string and hook_completion_list_add to completion_list_add * api: add functions completion_new, completion_search and completion_free * api: add hdata "completion_word" * buflist: add default key kbd:[Alt+Shift+B] to toggle buflist * buflist: add options enable/disable/toggle in command /buflist * buflist: evaluate option buflist.look.sort so that sort can be customized for each of the three buflist bar items (issue #1465) * irc: add support of UTF8MAPPING (issue #1528) * irc: display account messages in buffers (issue #1250) * python: add WeeChat sharedir python directory to PYTHONPATH (issue #1537) * relay: increase default limits for IRC backlog options * relay: add command "handshake" in weechat relay protocol and nonce to prevent replay attacks, add options relay.network.password_hash_algo, relay.network.password_hash_iterations, relay.network.nonce_size (issue #1474) * relay: add command "completion" in weechat relay protocol to perform a completion on a string at a given position (issue #1484) * relay: add option relay.network.auth_timeout * relay: update default colors for client status * relay: add status "waiting_auth" in irc and weechat protocols (issue #1358) * trigger: evaluate arguments of command when the trigger is created (issue #1472) Bug fixes:: * core: fix command /window scroll_beyond_end when buffer has fewer lines than chat height (issue #1509) * core: force buffer property "time_for_each_line" to 0 for buffers with free content (issue #1485) * core: don't collapse consecutive newlines in lines displayed before the first buffer is created * core: don't remove consecutive newlines when pasting text (issue #1500) * core: don't collapse consecutive newlines in bar content (issue #1500) * core: fix WEECHAT_SHAREDIR with CMake build (issue #1461) * core: fix memory leak in calculation of expression on FreeBSD (issue #1469) * core: fix resize of a bar when its size is 0 (automatic) (issue #1470) * api: fix use of pointer after free in function key_unbind * api: replace plugin and buffer name by buffer pointer in argument "modifier_data" sent to weechat_print modifier callback (issue #42) * buflist: add "window" pointer in bar item evaluation only if it's not NULL (if bar type is "window") * exec: fix use of same task id for different tasks (issue #1491) * fifo: fix errors when writing in the FIFO pipe (issue #713) * guile: enable again /guile eval (issue #1514) * irc: use new default chantypes "#&" when the server does not send it * irc: add support of optional server in info "irc_is_nick", fix check of nick using UTF8MAPPING isupport value (issue #1528) * irc: fix add of ignore with flags in regex, display full ignore mask in list of ignores (issue #1518) * irc: do not remove spaces at the end of users messages received (issue #1513) * irc: fix realname delimiter color in WHO/WHOX response (issue #1497) * irc: reuse a buffer with wrong type "channel" when a private message is received (issue #869) * python: fix crash when invalid UTF-8 string is in a WeeChat hashtable converted to a Python dict (issue #1463) * relay: add missing field "notify_level" in message "_buffer_line_added" (issue #1529) * relay: fix slow send of data to clients when SSL is enabled * trigger: only return trigger's return code when condition evaluates to true (issue #592) * trigger: fix truncated trigger command with commands /trigger input|output|recreate * trigger: do not hide values of options with /set command in cmd_pass trigger Documentation:: * add includes directory * merge 53 auto-generated files into 11 files * fix broken literal blocks in Japanese docs with Firefox (issue #1466) Tests:: * core: add CI with GitHub Actions, move codecov.io upload to GitHub Actions * core: switch to Ubuntu Bionic on Travis CI, use pylint3 to lint Python scripts * core: run tests on plugins only if the plugins are enabled and compiled * irc: add tests on IRC color and channel functions Build:: * javascript: disable build by default and remove Debian packaging of JavaScript plugin (issue #360) * core: make GnuTLS a required dependency * core: fix build with CMake 3.17.0 * core: fix build with cygport on Cygwin
weechat: Restore handling for NetBSD libcurses If it can't find ncurses.so it gives up. Allow FAKE_NCURSES to work properly when ncurses isn't installed.
weechat: Drop patches that are no longer needed.
weechat: Update to 2.8 == Version 2.8 (2020-03-29) New features:: * core: add variable "old_full_name" in buffer, set during buffer renaming (issue #1428) * core: add debug option "-d" in command /eval (issue #1434) * api: add functions crypto_hash and crypto_hash_pbkdf2 * api: add info "auto_connect" (issue #1453) * api: add info "weechat_headless" (issue #1433) * buflist: add pointer "window" in bar item evaluation * irc: add support of fake servers (no I/O, for testing purposes) * relay: accept hash of password in init command of weechat protocol with option "password_hash" (PBKDF2, SHA256, SHA512) * relay: reject client with weechat protocol if password or totp is received in init command but not set in WeeChat (issue #1435) Bug fixes:: * core: fix memory leak in completion * core: flush stdout/stderr before forking in hook_process function (issue #1441) * core: fix evaluation of condition with nested "if" (issue #1434) * irc: split AUTHENTICATE message in 400-byte chunks (issue #1459) * irc: copy temporary server flag in command /server copy * irc: add nick changes in the hotlist (except self nick change) * irc: case-insensitive comparison on incoming CTCP command, force upper case on CTCP replies (issue #1439) * irc: fix memory leak when the channel topic is changed * logger: fix crash when logging is disabled on a buffer and the log file was deleted in the meanwhile, when option logger.file.info_lines is on (issue #1444) * php: fix crash when loading script with PHP 7.4 (issue #1452) * relay: update buffers synchronization when buffers are renamed (issue #1428) * script: fix memory leak in read of script repository file if it has invalid content * script: fix unexpected display of scripts list in buffer with command /script list -i * xfer: send signal "xfer_ended" after the received file has been renamed (issue #1438) Tests:: * scripts: fix generation of test scripts with Python 3.8 * unit: add tests on IRC protocol functions and callbacks * unit: add tests on function secure_derive_key * unit: add tests on functions util_get_time_diff and util_file_get_content Build:: * core: fix Cygwin build * guile: add detection of Guile 3.0.0 (issue #1442) * irc: fix build with GnuTLS < 3.1.0 (issue #1431) * php: add detection of PHP 7.4 * ruby: add detection of Ruby 2.7 (issue #1455)
Pullup ticket #6138 - requested by nia chat/weechat: security fix Revisions pulled up: - chat/weechat/Makefile 1.110 - chat/weechat/distinfo 1.59 --- Module Name: pkgsrc Committed By: nia Date: Sun Feb 23 12:42:49 UTC 2020 Modified Files: pkgsrc/chat/weechat: Makefile distinfo Log Message: weechat: Update to 2.7.1 == Version 2.7.1 (2020-02-20) Bug fixes:: * irc: fix crash when receiving a malformed message 352 (who) * irc: fix crash when a new message 005 is received with longer nick prefixes * irc: fix crash when receiving a malformed message 324 (channel mode) (CVE-2020-8955)
weechat: Update to 2.7.1 == Version 2.7.1 (2020-02-20) Bug fixes:: * irc: fix crash when receiving a malformed message 352 (who) * irc: fix crash when a new message 005 is received with longer nick prefixes * irc: fix crash when receiving a malformed message 324 (channel mode) (CVE-2020-8955)
weechat: Update to 2.7 Among the new features: - add option logger.file.color_lines (support of ANSI color codes in log files) - add filters on IRC raw buffer - add IRC server option "ssl_password" - add option irc.look.display_pv_warning_address - add options irc.color.message_kick and irc.color.reason_kick - add option xfer.file.download_temporary_suffix - add option weechat.look.nick_color_hash_salt - add different WeeChat icons sizes - add calculation of expression in evaluation of expressions with "calc:xxx" - add optional default path (evaluated) in completion "filename" - add modifier "color_encode_ansi" - add support of Guile 2.2 - add support of Python 3.8 - many bugs fixed.
weechat: update to 2.6 == Version 2.6 (2019-09-08) New features:: * core: add support of 32767 color pairs (issue #1343, issue #1345) * core: add option "close" in command /window (issue #853) * api: add infos "term_colors" and "term_color_pairs" * api: add function list_user_data (issue #666) * api: add argument "strip_items" in function string_split * buflist: add infolist "buflist" with list of buffer pointers (issue #1375) * exec: evaluate option exec.command.shell, change default value to "${env:SHELL}" (issue #1356) * fset: add filters "h=xxx" and "he=xxx" to filter options by description (translated or in English) * irc: make command char optional in server option "command" (issue #615) * irc: add variables "user_max_length" and "host_max_length" in server structure (issue #1387) Bug fixes:: * core: use fixed-width integer for computing nick and hashtable DJB2 key hashes, add values "djb2_32" and "sum_32" for option weechat.look.nick_color_hash (issue #1394) * core: create or update option weechat.notify.xxx when function buffer_set is called with "notify" property (issue #1390) * core: fix memory leak in case of error when building content of bar item for display (issue #1384) * core: send command line parameter to plugins only if the name starts with the plugin name followed by a colon * core: auto disable upgrade process (command line option "--upgrade") if the file weechat.upgrade is not found * core: replace newlines by spaces in argument "completion" of function hook_command (issue #538) * core: replace char "," by "~" in color codes to separate foreground from background (issue #1264) * alias: remove default aliases /AME and /AMSG (issue #1355) * buflist: use extra variables in option buflist.look.display_conditions (issue #1393) * irc: fix parsing of messages 346 (invite list), 348 (exception list), 367 (ban list) and 728 (quiet list) when there is a colon before the timestamp (issue #1396) * irc: fix memory leak when removing a server * irc: fix length of user/nick/host in split of messages (issue #1387) * irc: quote NICK command argument sent to the server only if there's a ":" in the nick (issue #1376, issue #1319) * irc: return all arguments in the PONG response to a PING (issue #1369) * irc: disable server reconnection when the server buffer is closed (issue #236) * irc: strip spaces at beginning/end of addresses in server option "addresses" (issue #195) * irc: fix display of enabled/disabled client capabilities received in command CAP ACK (issue #151) * ruby: fix conversion of big integers on 32bit architecture (issue #1395) Tests:: * unit: add tests on IRC ignore, message and nick functions Build:: * core: fix compilation with autotools on FreeBSD 12.0 * debian: disable Javascript plugin on Debian Buster/Bullseye (issue #1374) * python: compile with Python 3 by default * python: use pkg-config to detect Python (issue #1382)
weechat: Stop the perl plugin from segfaulting on exit on NetBSD. just apply the same workaround as upstream is using for FreeBSD. bump PKGREVISION
weechat: Update to 2.5 Among the new features: - add support of UNIX domain sockets in relay plugin - add option relay.weechat.commands - add trigger hooks "info" and "info_hashtable" - add option xfer.network.speed_limit_recv - add option weechat.look.buffer_time_same - add option weechat.look.prefix_same_nick_middle - add option "addreplace" in command /filter - add bar items "irc_nick", "irc_host" and "irc_nick_host" - add functions command_options and string_match_list in plugin API - rename aspell plugin to spell - use getopt to parse command line arguments - many bugs fixed.
chat/weechat: Search for libcurses when attempting to find a value for NCURSES_LIBRARY. Seems to help problems when configuring against netbsd curses.
weechat: Need unistd.h for mkdtemp(3)
chat/weechat: Update to 2.4 New features core: do not automatically add a space when completing "nick:" at the beginning of command line (the space can be added in option weechat.completion.nick_completer) core: add default keys Ctrl+F11/Ctrl+F12 to scroll up/down one page in nicklist (same action as F11/F12) core: add command line option "-t" (or "--temp-dir") to create a temporary WeeChat home (deleted on exit) api: add functions string_base_encode and string_base_decode, remove functions string_encode_base64 and string_decode_base64 api: add support of Time-based One-Time Password (TOTP), add infos "totp_generate" and "totp_validate" buflist: add default keys Ctrl+F1/Ctrl+F2 to scroll up/down one page in buflist (same action as F1/F2) buflist: add variable ${number2}, always set with the indented buffer number exec: add option exec.command.shell to customize the shell used with /exec -sh relay: add support of close frame in websocket connection (issue #1281) relay: add support of Time-based One-Time Password (TOTP) as second authentication factor in weechat protocol Bug fixes core: fix compilation of empty regular expression (not allowed on FreeBSD) core: fix forced highlight on messages sent to other buffers (issue #1277) aspell: look for suggestions only if the misspelled word has changed (issue #1175) buflist: add alternate key codes for F1/F2 and Alt+F1/Alt+F2 (compatibility with terminals) buflist: fix warning displayed when script buffers.pl is loaded (issue #1274) irc: fix parsing of whois messages in notify irc: fix parsing of MODE, 341 (invite) and CHGHOST commands when there are colons (issue #1296) irc: return IRC color code instead of WeeChat color code when decoding a too short ANSI color sequence irc: fix encoding of italic attribute when colors are removed irc: fix parsing of "time" message tag on FreeBSD (issue #1289) relay: fix crash on /upgrade when the real IP is not set (issue #1294) relay: fix memory leak in connection of client Tests unit: fix UTF-8 and evaluation tests on FreeBSD unit: add tests on IRC configuration and protocol functions Build core: add C compiler flag "-fsigned—char" to force "char" data type to be always signed (issue #1277)
chat/weechat: Update to 2.3. Changes: in version 2.3: - add hook "line" - add option "-P" (or "--plugins") to customize the plugins to load at startup - allow multiple options "-r" ("--run-command") in command line arguments - allow allow partial buffer name and multiple arguments in command /buffer close - allow specifying buffer number/name for /buffer localvar - allow creation of temporary variables with the regex in trigger plugin - add real IP in client description in relay plugin - add repeat of string in evaluation of expressions with "repeat:count,string" - many bugs fixed. in version 2.2: - add support of list options in curl - allow merge of buffers by name in command /buffer - add reverse of string in evaluation of expressions with "rev:" - add indexed ban list and completion for /unban and /unquiet (IRC plugin) - add support for IRCv3.2 Client Capability Negotiation - add support for IRCv3.2 invite-notify - add support for IRCv3.2 chghost, add options irc.look.smart_filter_chghost and irc.color.message_chghost - add option xfer.network.send_ack - add support of Python 3.7 - fix memory leaks scripting plugins - many bugs fixed.
weechat: minimal patch to allow using netbsd curses. Now uses fake ncurses. less likely to cause problems to people who try to hide their base curses. bump pkgrevision (again).
weechat: make curses detection logic handle netbsd curses, at the possible expense of causing problems due to pkgsrc infrastructure not hiding a base curses well enough. We now search in the following order: ncursesw, curses, ncurses. With cmake under pkgsrc, it will search your /usr/lib, so I don't have a way to hide a base curses if requested to do so. if you're trying to use pkgsrc ncurses and have a base curses, this will use your base curses. bump pkgrevision.
weechat: update to 2.1 Note that if the perl option is used, weechat segfaults at exit. Not sure the wide-curses option does anything. Remove conflicting patches that don't seem necessary. Highlights: Option to check license of scripts loaded Completion for /set and /help commands
Update chat/weechat to 2.0.1 Version 2.0.1 (2017-12-20): - python: fix arguments status/gnutls_rc/sock in hook_connect() callback - python: fix argument fd in hook_fd() callback Version 2.0 (2017-12-03): - new plugin "fset" (fast set of WeeChat and plugins options) - add option buflist.look.add_newline - add two new bar items "buflist2" and "buflist3" using the same format configuration options - add flag "input_get_empty" in buffer - add signals "buffer_filters_enabled" and "buffer_filters_disabled" - support loading of plugins from path in environment variable "WEECHAT_EXTRA_LIBDIR" - add infolist "alias_default" (list of default aliases) - make value optional in command /buffer set - support of floating point and hexadecimal numbers in comparison of evaluated values - add option weechat.look.save_config_with_fsync - add support of prefix "quiet:" in function key_unbind() to quietly remove keys - add argument "recurse_subdirs" in function exec_on_files() - add local variable "filter" in the script buffer - remove recursive evaluation of extra variables in buflist - change type of arguments status/gnutls_rc/sock in hook_connect() callback from string to integer (in scripting API) - change type of argument fd in hook_fd() callback from string to integer (in scripting API) - fix display bugs with filtered lines - fix display of nicks in nicklist when they are in a group with sub-groups - call the config hook when options are renamed or removed - fix parsing of CAP command in relay/irc - many bugs fixed.
Pullup ticket #5617 - requested by maya chat/weechat: build fix Revisions pulled up: - chat/weechat/distinfo 1.45-1.46 - chat/weechat/patches/patch-CMakeLists.txt 1.1-1.2 --- Module Name: pkgsrc Committed By: maya Date: Sat Nov 4 17:16:58 UTC 2017 Modified Files: pkgsrc/chat/weechat: distinfo Added Files: pkgsrc/chat/weechat/patches: patch-CMakeLists.txt Log Message: weechat: add configure check that eat_newline_glitch can be assigned to Fixes netbsd-7 build. --- Module Name: pkgsrc Committed By: maya Date: Sat Nov 4 17:23:20 UTC 2017 Modified Files: pkgsrc/chat/weechat: distinfo pkgsrc/chat/weechat/patches: patch-CMakeLists.txt Log Message: weechat: ...and don't expand unrelated things in CMakeLists.txt
weechat: ...and don't expand unrelated things in CMakeLists.txt
weechat: add configure check that eat_newline_glitch can be assigned to Fixes netbsd-7 build.
weechat: delete forgotten commented distinfo entry.
weechat: update to 1.9.1 Fixes CVE-2017-14727, CVE-2017-8073 version 1.9.1: a crash can happen in logger plugin when converting date/time specifiers in file mask. Two other bugs are fixed as well in buflist and relay plugins. version 1.9: - improve speed of nicklist bar item callback - add auto scroll of buflist bar with new option buflist.look.auto_scroll - add option buflist.format.name - add variables ${format_name}, ${current_buffer} and ${merged} in buflist - display a warning in buflist when the script buffers.pl is loaded - add server/channel pointers in trigger IRC callbacks - add API functions config_option_get_string and hdata_compare - fix bind of Space key version 1.8: - add option weechat.completion.nick_case_sensitive - add wilcard matching operator, cut of string and ternary operator in evaluation of expressions - add resize of window parents with /window resize [h/v]size - add plugin "buflist" (bar with list of buffers) - add arraylist and dynamic string functions in API - add option "open" in command /server - add signal "irc_server_lag_changed" and store the lag in the server buffer (local variable) - add aspell options to control delimiters in suggestions - add option "-include" in commands /allchan, /allpv and /allserv For a complete changelog, see: https://weechat.org/files/changelog/ChangeLog-1.9.1.html
Pullup ticket #5369 - requested by maya chat/weechat: security fix Revisions pulled up: - chat/weechat/Makefile 1.73 - chat/weechat/distinfo 1.42 --- Module Name: pkgsrc Committed By: maya Date: Tue Apr 25 19:50:21 UTC 2017 Modified Files: pkgsrc/chat/weechat: Makefile distinfo Log Message: weechat: update to 1.7.1. bugfix release fixing CVE-2017-8073: Buffer overflow when removing quotes in DCC filename.
weechat: update to 1.7.1. bugfix release fixing CVE-2017-8073: Buffer overflow when removing quotes in DCC filename.
Add a patch from upstream to improve screen refresh times when resized.
Update to 1.7 Changelog: [[v1.7]] == Version 1.7 (2017-01-15) New features:: * core: add option weechat.look.align_multiline_words (issue #411, issue #802) * core: add optional command prefix in completion templates "commands", "plugins_commands" and "weechat_commands" * core: add optional arguments in completion template, sent to the callback * core: add option "time" in command /debug * api: add info "uptime" (WeeChat uptime) * api: add info "pid" (WeeChat PID) (issue #850) * fifo: add file fifo.conf and option fifo.file.path to customize FIFO pipe path/filename (issue #850) * irc: add server option "usermode" (issue #377, issue #820) * irc: add tag "self_msg" on self messages (issue #840) Improvements:: * core, xfer: display more information on fork errors (issue #573) * core: add a slash before commands completed in arguments of /command, /debug time, /key bind, /key bindctxt, /mute, /repeat, /wait * core: add a warning in header of configuration files to not edit by hand (issue #851) * alias: add a slash before commands completed in arguments of /alias * exec: add option "-oc" in command /exec to execute commands in process output, don't execute commands by default with "-o" (issue #877) * irc: evaluate content of server option "ssl_fingerprint" (issue #858) * irc: change default value of option irc.network.lag_reconnect from 0 to 300 (issue #818) * trigger: do not hide email in command "/msg nickserv register password email" (issue #849) Bug fixes:: * core: fix deadlock when quitting after a signal SIGHUP/SIGQUIT/SIGTERM is received (issue #32) * core: fix display of empty lines in search mode (issue #829) * api: fix crash in function string_expand_home() when the HOME environment variable is not set (issue #827) * exec: fix memory leak in display of process output * irc: fix option "-temp" in command /server (issue #880) * irc: fix close of server channels which are waiting for the JOIN when the server buffer is closed (issue #873) * irc: fix buffer switching on manual join for forwarded channels (issue #876) * irc: add missing tags on CTCP message sent * lua: fix integers returned in Lua >= 5.3 (issue #834) * relay: make HTTP headers case-insensitive for WebSocket connections (issue #888) * relay: set status to "authentication failed" and close immediately connection in case of authentication failure in weechat and irc protocols (issue #825) * script: reload a script after upgrade only if it was loaded, set autoload only if the script was auto-loaded (issue #855) Build:: * core, irc, xfer: fix compilation on Mac OS X (add link with resolv) (issue #276) * core: add build of xz package with make dist (cmake) * tests: fix compilation of tests on FreeBSD 11.0
Import weechat-1.6: Due to the documenation change below, man pages are no longer supplied in pkgsrc. New features core: add optional argument "lowest", "highest" or level mask in command /input hotlist_clear core: add option "cycle" in command /buffer api: add "extra" argument to evaluate extra variables in function string_eval_expression() (issue #534) relay: add option relay.network.allow_empty_password (issue #735) trigger: add support for one-time triggers (issue #399, issue #509) Improvements core, irc, xfer: display more information in memory allocation errors (issue #573) api: remove functions printf_date() and printf_tags() irc: rename server options "default_msg_{kick|part|quit}" to "msg_{kick|part|quit}", evaluate them relay: allow escape of comma in command "init" (weechat protocol) (issue #730) Bug fixes core, irc, xfer: refresh domain name and name server addresses before connection to servers (fix connection to servers after suspend mode) (issue #771) api: fix return of function string_match() when there are multiple masks in the string (issue #812) api: fix crash in function network_connect_to() if address is NULL api: fix connection to servers with hook_connect() on Windows 10 with Windows subsystem for Linux (issue #770) api: fix crash in function string_split_command() when the separator is not a semicolon (issue #731) irc: fix socket leak in connection to server (issue #358, issue #801) irc: fix display of service notice mask (message 008) (issue #429) irc: fix NULL pointer dereference in 734 command callback (issue #738) relay: return an empty hdata when the requested hdata or pointer is not found (issue #767) xfer: fix crash on DCC send if option xfer.file.auto_accept_nicks is set (issue #781) Documentation switch to asciidoctor to build docs and man page Build python: add detection of Python 3.5
Update chat/weechat to 1.5 Main new features: - add support of functions in API function "hook_process" - move of nick coloring options from irc plugin to core - move irc bar item "away" to core - add pointer in callbacks used in scripting API - add option irc.network.sasl_fail_unavailable - add Portuguese translations Bugs fixed: - core: fix nick coloring when stop chars and a forced color are used: first remove chars then look for forced color - core: check that pointers received in arguments are not NULL in buffers and windows functions - core: fix truncation of buffer names in hotlist (issue #668) - core: fix update of window title under Tmux (issue #685) - core: fix detection of Python shared libraries (issue #676) - api: fix number of arguments returned by function string_split() when keep_eol is 2 and the string ends with separators - irc: fix first message displayed in raw buffer when the message is modified by a modifier (issue #719) - irc: add missing completion "*" for target in command /msg - irc: fix /msg command with multiple targets including "*" - lua: fix crash when a lua function doesn’t return a value and a string was expected (issue #718) - relay: do not execute any command received in a PRIVMSG message from an irc relay client (issue #699) - relay: fix the max number of clients connected on a port, allow value 0 for "no limit" (issue #669) - relay: fix decoding of multiple frames in a single websocket message, send PONG on PING received in a websocket frame (issue #675) - relay: fix command "input" received from clients with only spaces in content of message (weechat protocol) (issue #663) - script: force refresh of scripts buffer after download of scripts list - xfer: fix DCC file received when the terminal is resized
Fix option build with ruby22 and ruby21.
Update to 1.4 * Fix PR pkg/50358 partially using dynamic python library. However if your system has python in /usr/bin and your current working directory is not your home directory, your weechat reads its library files and dies. Changelog: Among the new features: - add a parent name in options, display inherited values if null in /set output - add option weechat.look.paste_auto_add_newline - add /fifo command - track real names using extended-join and WHO (IRC) - add support of SNI (Server Name Indication) in SSL connection to IRC server - add support of IRC "cap-notify" capability - add IRC command /cap - add hex dump of messages in raw buffer when debug is enabled for irc plugin - add option relay.irc.backlog_since_last_message - add option script.scripts.download_timeout - add scripts to build Debian packages - many bugs fixed.
Update chat/weechat to 1.3 New features - core: add completion "colors" (issue #481) - core: start/stop search in buffer at current scroll position by default, add key Ctrl+q to stop search and reset scroll (issue #76, issue #393) - core: add option weechat.look.key_grab_delay to set the default delay when grabbing a key with Alt+k - core: add option weechat.look.confirm_upgrade (issue #463) - core: allow Ctrl+c to exit WeeChat when the passphrase is asked on startup (issue #452) - core: allow pointer as list name in evaluation of hdata (issue #450) - core: add signal "signal_sighup" - api: add support of evaluated sub-strings and current date/time in function string_eval_expression() and command /eval - api: add function string_eval_path_home() - alias: add options "add", "addcompletion" and "del" in command /alias, remove command /unalias (issue #458) - irc: add option irc.network.channel_encode (issue #218, issue #482) - irc: add option irc.color.topic_current (issue #475) - irc: evaluate content of server option "nicks" - logger: evaluate content of option logger.file.path (issue #388) - relay: display value of HTTP header "X-Real-IP" for websocket connections (issue #440) - script: rename option script.scripts.dir to script.scripts.path, evaluate content of option (issue #388) - xfer: evaluate content of options xfer.file.download_path and xfer.file.upload_path (issue #388) Bugs fixed - core: flush stdout/stderr after sending text directly on them (fix corrupted data sent to hook_process() callback) (issue #442) - core: allow execution of command "/input return" on a buffer which is not displayed in a window - core: allow jump from current to previous buffer with default keys Alt+j, NN (issue #466) - core: fix crash if a file descriptor used in hook_fd() is too high (> 1024 on Linux/BSD) (issue #465) - core: fix display of invalid UTF-8 chars in bars - core: fix bar item "scroll" after /buffer clear (issue #448) - core: fix display of time in bare display when option weechat.look.buffer_time_format is set to empty string (issue #441) - api: add missing function infolist_search_var() in script API (issue #484) - api: add missing function hook_completion_get_string() in script API (issue #484) - api: fix type of value returned by functions strcasestr, utf8_prev_char, utf8_next_char, utf8_add_offset and util_get_time_string - api: fix type of value returned by function strcasestr - fifo: fix send error on Cygwin when something is received in the pipe (issue #436) - irc: fix update of lag item when the server lag changes - irc: do not allow command /query with a channel name (issue #459) - irc: decode/encode only text in IRC messages and not the headers (bug #29886, issue #218, issue #451) - irc: fix crash with commands /allchan, /allpv and /allserv if the executed command closes buffers (issue #445) - irc: do not open auto-joined channels buffers when option "-nojoin" is used in command /connect (even if the option irc.look.buffer_open_before_autojoin is on) - irc: fix errors displayed on WHOX messages received (issue #376) - lua: add detection of Lua 5.3 - ruby: add detection of Ruby 2.2 - xfer: fix crash if the DCC file socket number is too high (> 1024 on Linux/BSD) (issue #465) - xfer: fix parsing of DCC chat messages (handle "\r\n" at the end of messages) (issue #425, issue #426) - doc: replace PREFIX with CMAKE_INSTALL_PREFIX in cmake instructions (issue #354)
Add SHA512 digests for distfiles for chat category Problems found with existing distfiles: distfiles/icb-5.0.9.tar.gz distfiles/icb.2.1.4.tar.Z distfiles/zenicb-19981202.tar.gz No changes made to these /distinfo files. Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
Update chat/weechat to 1.2 Based on the update provided by he@ Among the new features: - add options to customize word chars (for detecting word boundaries) - add a welcome message on first WeeChat run - add options to customize quoted messages (in cursor mode) - add support of environment variables in evaluated expressions - add IRC SASL mechanism "ecdsa-nist256p-challenge" - add support of SHA-256 and SHA-512 algorithms in IRC server option "ssl_fingerprint" - add support of IRC capability "account-notify" - remove "freenode" server from default config - new script plugin for javascript - many bugs fixed.
Drop the legacy weechat-curses symlink, I can't figure out the phase of the moon it is created in. Bump revision.
build with gcc 4.9. fix compilation of plugin API functions (macros) when compiler optimizations are enabled commit 03c0067272caae88758fd7847689177c0e18b48d
Updates chat/weechat to 1.0 New major features in this release: - plugin "trigger": Swiss Army knife for WeeChat (replaces "rmodifier" plugin) - plugin "exec": execute external commands (replaces script "shell.py") - bare display: easy click on long URLs and text selection with mouse - support of environment variables in /set command - hidden buffers - negated tags in filters - toggle of filters in specific buffers - flexible conditions for adding/removing buffers in hotlist - text search in buffers with free content - support of wildcard "*" inside masks - support of nested variables in evaluated expressions - tag with host in IRC messages displayed - support of "away-notify" IRC capability - IRC commands: /allpv, /remove, /unquiet - bar items: buffer_short_name, irc_nick_modes
Stop defining _XOPEN_SOURCE past 600 on SunOS.
Update chat/weechat to 0.4.3 Version 0.4.3: - new command /print - logical and/or for tags in /filter and hook_print - gaps in buffer numbers - support of italic text - new options to customize default text search in buffers - use of IRC monitor command for /notify (if available on server) - new IRC server option "ssl_fingerprint" - new option to smart-filter IRC mode messages - new option for default IRC ban mask - support of IPv6 for DCC chat/file - auto check CRC32 of files received with DCC - many bugs fixed. Version 0.4.2: - rename binary from "weechat-curses" to "weechat" (with symbolic link "weechat-curses" for compatibility) - add secured data (encryption of passwords or private data), new command /secure, new file sec.conf - search of regular expression in buffer with text emphasis, in prefixes, messages or both - add option "scroll_beyond_end" for command /window - add optional buffer context in bar items (for example to display bitlbee nicklist in a root bar) - new options weechat.look.hotlist_{prefix|suffix} - new option weechat.look.key_bind_safe to prevent any key binding error from user - new option weechat.network.proxy_curl to use a proxy when downloading URLs with curl - display day change message dynamically - support of wildcards in IRC commands (de)op/halfop/voice - new option irc.look.notice_welcome_redirect to redirect channel welcome notices to the channel buffer - new option irc.look.nick_color_hash: new hash algorithm to find nick colors (variant of djb2) - add info about things defined by a script in the detailed view of script (/script show) - support of "enchant" library in aspell plugin - many bugs fixed.
Various patches to fix build on SunOS.
Link with curses on NetBSD. Don't try to overwrite terminfo internals that are const. Drop --package-name.
Update chat/weechat to 0.4.1 Use cmake for build Version 0.4.1 (May 20, 2013) - multiple layouts support - nick prefix/suffix are now dynamic (and managed by core instead of irc plugin) - unmask irc join if nick speaks some minutes after the join - new option irc.look.display_join_message to disable some messages after joining a channel - new option irc.look.pv_buffer to automatically merge private buffers - add support of UHNAMES - add DH-AES encryption method for SASL - multiple irc servers allowed on same port for irc protocol in relay plugin - add WebSocket server support (RFC 6455) in relay plugin (for irc and weechat protocols) - send nicklist difference in relay plugin (weechat protocol) - add control of autoload for scripts - optimizations in aspell plugin - many bugs fixed. Version 0.4.0 (Jan 20, 2013) - add option "diff" for command /set, display default values in output of /set - add color support in prefix options - add command /eval, use expression in conditions for bars - connect by default with IPv6 to servers with fallback to IPv4 - add aspell suggestions - add support of tags in irc messages and "server-time" capability - add irc command /quiet - add support of IPv6 in relay plugin - add backlog for irc protocol in relay plugin - display remote IP address for DCC chat/file in xfer plugin - add git version in build - many bugs fixed.
Fix some ncurses header issues in chat/weechat.
Pullup ticket #3971 - requested by tonio chat/weechat: security update Revisions pulled up: - chat/weechat/Makefile 1.37 via patch - chat/weechat/PLIST 1.16 - chat/weechat/distinfo 1.23 - chat/weechat/patches/patch-ad deleted - chat/weechat/patches/patch-src_plugins_script_script_repo_h 1.1 --- Module Name: pkgsrc Committed By: tonio Date: Sat Nov 24 11:16:07 UTC 2012 Modified Files: pkgsrc/chat/weechat: Makefile PLIST distinfo Added Files: pkgsrc/chat/weechat/patches: patch-src_plugins_script_script_repo_h Removed Files: pkgsrc/chat/weechat/patches: patch-ad Log Message: Update chat/weechat to 0.3.9.2 Changes: Security: - CVE-2012-5854: Fix buffer overflow when decoding IRC colors in strings - CVE-2012-5534: Fix untrusted command for function hook_process could lead to execution of commands, because of shell expansions Among the new features: - add plugin "script" (replacement of weeget.py and script.pl) - add support of SSL in relay plugin - add color for offline nicks - add system resource limits for WeeChat process - add zoom on merged buffer (default key: alt+"x") - add "Day changed to" in logger backlog - add command line option "-r" (or "--run-command") to run command(s) after startup of WeeChat - add option "swap" for command /buffer - generate alternate IRC nicks dynamically (when all nicks are already in use) - fix rejoin of password protected IRC channels - fix freeze in irc and relay plugins with sockets - fix color of long lines (displayed on more than one line on screen) under FreeBSD - allow update for some variables of hdata - add japanese user's guide, scripting guide and tester's guide - many bugs fixed.
Update chat/weechat to 0.3.9.2 Changes: Security: - CVE-2012-5854: Fix buffer overflow when decoding IRC colors in strings - CVE-2012-5534: Fix untrusted command for function hook_process could lead to execution of commands, because of shell expansions Among the new features: - add plugin "script" (replacement of weeget.py and script.pl) - add support of SSL in relay plugin - add color for offline nicks - add system resource limits for WeeChat process - add zoom on merged buffer (default key: alt+"x") - add "Day changed to" in logger backlog - add command line option "-r" (or "--run-command") to run command(s) after startup of WeeChat - add option "swap" for command /buffer - generate alternate IRC nicks dynamically (when all nicks are already in use) - fix rejoin of password protected IRC channels - fix freeze in irc and relay plugins with sockets - fix color of long lines (displayed on more than one line on screen) under FreeBSD - allow update for some variables of hdata - add japanese user's guide, scripting guide and tester's guide - many bugs fixed.
Updated chat/weechat to 0.3.8 (confirmed via maintainer) pkgsrc changes: enable gnutls by default, switch to tar.bz2 distfile Version 0.3.8 (2012-06-03) -------------------------- * core: support lines of 16 Kb long in configuration files (instead of 1 Kb) * core: fix crash in focus hook for nicklist (bug #36271) * core: fix truncated configuration files (zero-length) after system crash (bug #36383) * core: fix display bugs and crashs with small windows (bug #36107) * core: convert options weechat.look.prefix_align_more and weechat.look.prefix_buffer_align_more from boolean to string (task #11197) * core: fix display bug with prefix when length is greater than max and prefix is ending with a wide char (bug #36032) * core: add option weechat.look.prefix_same_nick (hide or change prefix on messages whose nick is the same as previous message) (task #11965) * core: convert tabs to spaces in text pasted (bug #25028) * core: add a connection timeout for child process in hook_connect (bug #35966) * core: follow symbolic links when writing configuration files (.conf) (task #11779) * core: fix lost scroll when switching to a buffer with a pending search * core: add support of terminal "bracketed paste mode", new options weechat.look.paste_bracketed and weechat.look.paste_bracketed_timer_delay (task #11316) * core: fix display of wide chars on last column of chat area (patch #7733) * doc: add japanese FAQ (patch #7781) * api: display warning in scripts when invalid pointers (malformed strings) are given to plugin API functions (warning displayed if debug for plugin is >= 1) * api: add list "gui_buffer_last_displayed" in hdata "buffer" * scripts: fix type of argument "rc" in callback of hook_process (from string to integer) * guile: fix crash on ARM when loading guile plugin (bug #36479) * guile: add missing function "hook_process_hashtable" in API * irc: update channel modes by using chanmodes from message 005 (do not send extra command "MODE" to server), fix parsing of modes (bug #36215) * irc: add option "fakerecv" for command /server to simulate a received IRC message (not documented, for debug only) * irc: hide everything after "identify" or "register" in messages to nickserv when option irc.look.hide_nickserv_pwd is on (bug #36362) * irc: add option "-pending" for command /disconnect (cancel auto-reconnection on servers currently reconnecting) (task #11985) * irc: set user modes only if target nick is self nick in message 221 (patch #7754) * irc: force the clear of nicklist when joining a channel (nicklist was not sync after znc reconnection) (bug #36008) * irc: allow more than one nick in command /invite * irc: do not send command "MODE #channel" on manual /names (do it only when names are received on join of channel) (bug #35930) * irc: do not allow the creation of two servers with same name but different case (fix error when writing file irc.conf) (bug #35840) * irc: update away flag for nicks on manual /who * irc: display privmsg messages to "@#channel" and "+#channel" in channel buffer (bug #35331) * irc: fix redirection of message when message is queued for sending on server * irc: add signals and tags in messages for irc notify (task #11887) * irc: check notify immediately when adding a nick to notify list, improve first notify message for a nick (bug #35731) * irc: fix display of color in hostname (join/part/quit messages) * irc: compute hash to find nick color for nick in server message when nick is not in nicklist * irc: add support of "external" SASL mechanism (task #11864) * irc: close server buffer when server is deleted * irc: add search for lower case nicks in option irc.look.nick_color_force * logger: fix charset of lines displayed in backlog when terminal charset is different from UTF-8 (bug #36379) * logger: add colors for backlog lines and end of backlog, new options: logger.color.backlog_line and logger.color.backlog_end (task #11966) * perl: fix compilation on OS X (bug #30701) * perl: fix crash on quit on OS X * relay: keep spaces in beginning of "input" received from client (WeeChat protocol) * relay: add signals "upgrade" and "upgrade_ended" in WeeChat protocol * relay: fix crash on /upgrade when client is connected using WeeChat protocol * relay: redirect some irc messages from clients to hide output (messages: mode, ison, list, names, topic, who, whois, whowas, time, userhost) (bug #33516) * relay: add "date_printed" and "highlight" in signal "_buffer_line_added" (WeeChat protocol) * rmodifier: add default rmodifier "quote_pass" to hide password in command "/quote pass" (bug #36250) * rmodifier: add default rmodifier "server" to hide passwords in commands /server and /connect (task #11993) * rmodifier: add option "release" in default rmodifier "nickserv" (used to hide passwords in command "/msg nickserv") (bug #35705) * tcl: add missing function "hdata_char" in API * tcl: fix pointer sent to function hook_signal_send when type of data is a pointer
Needs curl to build. Also, add workaround for build failure caused by (base) PR 46492. PKGREVISION -> 1.
Update chat/weechat to 0.3.7 Among the new features for 0.3.7: - support of Scheme scripts (new plugin "guile") - support of Python 3.x (but version 2.x still recommended) - add "weechat" protocol in relay plugin for remote interfaces, like QWeeChat - new option irc.color.mirc_remap to remap mirc colors in irc messages - new options irc.look.highlight_{server|channel|pv} to customize or disable default nick highlight - new option "capabilities" in irc servers (to enable some client capabilities on connection) - new option weechat.history.max_buffer_lines_minutes to limit buffer history by time - use extended regex in /filter, /ignore and /list - add support of flags in regular expressions and highlight options - add URL transfer in plugin API (with hook_process and hook_process_hashtable) - add translations in japanese - add doc for relay protocol - add developer's guide - many bugs fixed. Among the new features for 0.3.6: - mouse support - cursor mode (free movement of cursor on screen) - contexts for keys - hdata in API (direct access to WeeChat and plugins data) - "inactive" colors for inactive windows and lines in merged buffers - support of merged buffers in /layout, save layout of buffers/windows on /upgrade - horizontal scrolling in buffers with free content - split of outgoing IRC messages - options for "more" chars in bars - bold not used any more for basic colors (if terminal has at least 16 colors) - automatic zoom on current window when terminal becomes too small for windows - new command /repeat - local variable "highlight_regex" in buffers. mong the new features for 0.3.5: - 256 colors support improved (dynamic allocation of colors) - attributes for colors (bold/reverse/underline) - better scroll of input (with long text) - output of /help improved for list of commands and their arguments - remember scroll position of buffers in windows - list of buffers in filters - count of messages in hotlist buffers - swap buffers of windows - balance of windows - new API function to set help on plugin/script options - speller options in aspell plugin - option for SSL priorities in IRC servers - color nicks in nicklist and output of /names.
Include strings.h for rindex(), fixes build on SunOS.
Pullup ticket #3383 - requested by tonio chat/weechat: security update Revisions pulled up: - chat/weechat/Makefile 1.27 - chat/weechat/PLIST 1.14 - chat/weechat/distinfo 1.18 - chat/weechat/patches/patch-aa 1.4 - chat/weechat/patches/patch-ab 1.6 - chat/weechat/patches/patch-ac 1.5 - chat/weechat/patches/patch-ad 1.4 - chat/weechat/patches/patch-src_core_wee-hook.c 1.1 - chat/weechat/patches/patch-src_core_wee-hook.h 1.1 - chat/weechat/patches/patch-src_core_wee-network.c 1.1 - chat/weechat/patches/patch-src_plugins_irc_irc-server.c 1.1 - chat/weechat/patches/patch-src_plugins_rmodifier_rmodifier-config.h 1.1 --- Module Name: pkgsrc Committed By: tonio Date: Sat Mar 5 22:48:07 UTC 2011 Modified Files: pkgsrc/chat/weechat: Makefile PLIST distinfo pkgsrc/chat/weechat/patches: patch-aa patch-ab patch-ac patch-ad Added Files: pkgsrc/chat/weechat/patches: patch-src_core_wee-hook.c patch-src_core_wee-hook.h patch-src_core_wee-network.c patch-src_plugins_irc_irc-server.c patch-src_plugins_rmodifier_rmodifier-config.h Log Message: Update chat/weechat to 0.3.4 Fix for SA43543 and update kindly provided by gls@ This is a major release, with lot of bugs fixed and major new features. Among the new features: - 256 colors support, with unlimited number of nick colors - irc proxy (relay plugin) - redirection of IRC commands - command /notify - rmodifier plugin - regular expressions for highlights - color support for timestamp in chat buffer - irc option to force color for some nicks - share input line between buffers.
Update chat/weechat to 0.3.4 Fix for SA43543 and update kindly provided by gls@ This is a major release, with lot of bugs fixed and major new features. Among the new features: - 256 colors support, with unlimited number of nick colors - irc proxy (relay plugin) - redirection of IRC commands - command /notify - rmodifier plugin - regular expressions for highlights - color support for timestamp in chat buffer - irc option to force color for some nicks - share input line between buffers.
Update chat/weechat to 0.3.1.1 Version 0.3.1.1: This version fixes crashes with SSL connection to IRC server and purge of old DCC chats. It is recommended to upgrade from 0.3.1 to 0.3.1.1 for all users. Version 0.3.1: - new IRC commands: allserv, allchan, sajoin, samode, sanick, sapart, saquit, - check of SSL certificates and use of CertFP for IRC servers, - options to customize IRC CTCP replies, - options to choose target buffer for IRC messages, - anti-flood improved for IRC servers, - new expansions for alias arguments, - new color darkgray, bright colors supported for backgrounds, - many bugs fixed.
Update chat/weechat to 0.3.0 Main changes: * irc is now a plugin * irc: remove kernel info in CTCP VERSION reply * relay: add relay plugin (network communication between WeeChat and remote application) * logger: add logger plugin with new features: backlog, level for messages to log * plugins: add some other plugins: alias, demo, fifo, tcl, xfer * api: new plugin API with many new functions: hooks, buffer management and nicklist, bars, configuration files, network, infos/infolists, lists, upgrade * gui: new display engine, with prefix and message for each line * gui: add new type of buffer, with free content * gui: fix display bug with some weird UTF-8 chars * core: improve main loop: higher timout in select(), less CPU usage * core: new name for configuration files (*.conf instead of *.rc)
Update chat/weechat to 0.2.6.3 Add perl and ruby options, fix PR pkg/38946 Changelog: * 2009-06-13 WeeChat 0.2.6.3 released. This version fixes gnutls detection. * 2009-04-18 WeeChat 0.2.6.2 released. This version fixes a bug with charset decoding (like iso2022jp).
Pullup ticket #2725 - requested by kefren weechat: security update Revisions pulled up: - chat/weechat/Makefile 1.21 - chat/weechat/distinfo 1.14 --- Module Name: pkgsrc Committed By: tonio Date: Sun Mar 22 10:32:41 UTC 2009 Modified Files: pkgsrc/chat/weechat: Makefile distinfo Log Message: Update chat/weechat to 0.2.6.1 This version fixes a major bug: crash with some special chars in IRC messages.
Update chat/weechat to 0.2.6.1 This version fixes a major bug: crash with some special chars in IRC messages.
Fix a misuse of autoconf macros. Now properly builds with wide-curses.
Update chat/weechat to 0.2.6 News since last version are: - new license (GPLv3) - added hotlist sort - added scroll option to /buffer command - added key to jump to previous buffer - fixed bugs with IRC color in messages, now color codes are inserted in command line with ^Cc (Ctrl-C + c), ^Cb,.. instead of %C,%B,.. - improved /server command: now possible to copy and rename servers - improved /connect command: now possible to connect to a temporary server without creating it with /server - many bugs fixed and other new features.
Update chat/weechat to 0.2.5 Add gnutls option, to enable ssl support, fix PR 36461 Thanks Adam Hoka for providing a patch Version 0.2.5 (2007-06-07): * fixed QUOTE command: now allowed when socket is ok (even if IRC connection to server is not ok) (bug #20113) * added missing IRC commands (327, 378, 379) (bug #20091) * fixed hotlist when exiting search mode: current buffer is removed from hotlist * added "%M" for completion with nicks of current server (nicks on open channels) (task #6931) * improved key bindings: now possible to bind a key on many commands, separated by semicolon (task #5444) * improved IRC long message split: use word boundary (task #6685) * removed ":" for unknown IRC commands before arguments (bug #19929) * fixed "%C" completion: now completes with all channels of all servers * fixed bug with "/buffer query_name", added server and channel completion for /buffer command (bug #19928) * added cmake for weechat compile (patch #5943) * fixed IRC mode parsing when receiving modes with arguments (bug #19902) * fixed crash with IRC JOIN malformed message (bug #19891) * fixed bug with nick prefixes on some IRC servers (bug #19854) * improved setup file save: now writes temporary file, then rename it (task #6847) * fixed bug with $nick/$channel/$server variables in commands * forget current nick when user manually disconnects from server * fixed nick display in input window * fixed bug with erroneous nickname when connecting to server (bug #19812) * fixed display bugs in IRC error messages * added protocol priority for gnutls (patch #5915) * added channel admin mode '!' for some IRC servers * fixed bug with iso2022jp locale (bug #18719) * fixed string format bug when displaying string thru plugin script API * added /reconnect command (task #5448) * added "-all" option for /connect and /disconnect commands (task #6232) * improved nick completion: completion with last speakers first and self nick at the end; added option look_nick_completion_smart, enabled by default (task #5896) * fixed nick completion in command arguments (bug #19590) * fixed possible crash with nick completion when a nick leaves channel (bug #19589) * added color for input text not found in buffer history * fixed USER message when connecting to IRC server (patch #5835)
Update chat/weechat to 0.2.4 News since last version are: - search in buffer history (ctrl-R) - added "call" option to /key command - added "event handlers" to plugins API - many bugs fixed. * fixed crash when closing a pv if a DCC chat is open on same nick * improved password hiding, code cleanup * fixed memory leaks in perl and python plugins * fixed permissions on "dcc" and "logs" directories * fixed crash when /away command is issued with no server connection * fixed crash when closing a buffer opened on many windows * fixed freeze with SSL server when disconnecting after connection loss
Update chat/weechat to 0.2.3 Version 0.2.3 (2007-01-10): * fixed display bugs with nicklist at top/bottom when look_nicklist_separator is OFF (bug #18737) * fixed iconv problem, causing truncated words when using iso locale * fixed topic scroll when topic has multi-bytes chars * fixed compilation problem with iconv under FreeBSD * fixed bugs with charset: now decodes/encodes nicks and channels in IRC messages (bug #18716) Version 0.2.2 (2007-01-06): * fixed bug with status bar (missing refresh) when closing a buffer * fixed bug with use of first buffer for a channel if not connected to server (now allowed only for a server buffer) * fixed refresh bug with private buffer title * fixed bug with nick completion in command args (now uses option look_nick_completion_ignore) * fixed display bug with color for first line on screen (bug #17719) * added anti-flood option (irc_anti_flood) (task #5442) * fixed bug with "set_config" function in plugins API (bug #18448) * plugins: "add_message_handler" now accepts "*" for all IRC messages * added keys (F9/F10) to scroll topic (task #6030) * added auto completion with channels and filenames (task #5423) * fixed memleak in keyboard input * fixed refresh bug when changing config options if window is splited * added space between chat and nicklist when position is "right" (bug #17852) * added option "look_nicklist_separator" (task #5437) * fixed bug with DCC SEND when filename begins with '~' * added "irc_send_unknown_commands" option to send unknown commands to IRC server (OFF by default) (task #5947) * /charset command and charset conversions now made by "charset" plugin * fixed display bug in status bar, wrong length when using UTF-8 * fixed bug with ignore: now any IRC command is allowed * fixed crash with Ctrl-T (transpose) and one char on line (bug #18153) * added filename completion (task #5425) * added "modifier" in plugins API * improved /plugin command * fixed bug on ignore with "mode" IRC command (bug #18058) * fixed crash when loading ruby script if file does not exist, with Ruby >= 1.9 only (bug #18064) * added date in plugin function get_buffer_data() * fixed some portability bugs (patch #5271) * fixed iconv detection for BSD (patch #5456) * fixed typo in configure.in (bash specific test) (patch #5450) * mode changes with /op, /deop, /voice, /devoice, /halfop, /dehalfop are now sent in one mode command to server (task #5968) * added more values for config boolean values: y/true/t/1 and n/false/f/0 * fixed bug with /alias and arguments (like $1), now text after argument(s) is used (bug #17944) * fixed minor display bug with special chars on some arch like PPC
avoid using "text ... == ..." in configure
Update chat/weechat to 0.2.1 Add an option to enable python plugin support. News since last version are: - added server default notify - added arguments ($1,..,$9) for alias and special vars ($nick, $channel, $server) - added hotlist in session file when using /upgrade command - fixed crash with DCC when resuming file - fixed random crash with /upgrade command - fixed nicklist display when location is top or bottom - fixed bug with CTCP version on channels - fixed bug with auto-rejoin for keyed channels - fixed chan owner and chan admin nicks
Update chat/weechat to 0.1.9 News since last version are: - nick aligment, makes channels more readable - new commands: /cycle, /setp - new option to customize IP/hostname (when using multipe IP) - new option to customize input prompt - added keyboard handler for plugins - german translations (messages and documentation) - many bugs fixed for: UTF-8, DCC chat, Ruby, mutiple queries with same name, some commands, long IRC messages (> 512 bytes), terminal refresh, nicklist Plus all changes since 0.0.5, see http://weechat.flashtux.org/ for details Among them: - improved alias completion (now uses target command for completion) ... - added completion system for plugins/scripts commands ... - new window maganement: custom size for windows, auto resize when terminal is resized ... - full UTF-8 support ... - new keyboard management, fully customizable
Explicitly link weechat-curses with LIBINTL, if it isn't picked up already. Fixes build on DragonFly.
Added RCS Id to patch-ac.
Add RMD160 digests in addition to SHA1 ones
This pkg uses KEY_RESIZE which is not available on NetBSD 1.6 and earlier. Set INCOMPAT_CURSES, and make it find -lncurses when linking.
Initial import of weechat-0.0.6. WeeChat (Wee Enhanced Environment for Chat) is a fast and light IRC client. Everything can be done with a keyboard, and it is customizable and extensible with scripts.
Initial revision