head 1.3; access; symbols pkgsrc-2024Q3:1.2.0.10 pkgsrc-2024Q3-base:1.2 pkgsrc-2024Q2:1.2.0.8 pkgsrc-2024Q2-base:1.2 pkgsrc-2024Q1:1.2.0.6 pkgsrc-2024Q1-base:1.2 pkgsrc-2023Q4:1.2.0.4 pkgsrc-2023Q4-base:1.2 pkgsrc-2023Q3:1.2.0.2 pkgsrc-2023Q3-base:1.2 pkgsrc-2023Q2:1.1.0.12 pkgsrc-2023Q2-base:1.1 pkgsrc-2023Q1:1.1.0.10 pkgsrc-2023Q1-base:1.1 pkgsrc-2022Q4:1.1.0.8 pkgsrc-2022Q4-base:1.1 pkgsrc-2022Q3:1.1.0.6 pkgsrc-2022Q3-base:1.1 pkgsrc-2022Q2:1.1.0.4 pkgsrc-2022Q2-base:1.1 pkgsrc-2022Q1:1.1.0.2 pkgsrc-2022Q1-base:1.1; locks; strict; comment @# @; 1.3 date 2024.12.12.15.45.47; author ryoon; state dead; branches; next 1.2; commitid eW957XdqQvOV8eBF; 1.2 date 2023.07.10.08.16.59; author jperkin; state Exp; branches; next 1.1; commitid bEV4KYfBwtGXmewE; 1.1 date 2022.02.24.09.55.40; author jperkin; state Exp; branches; next ; commitid g5eyCz7yccZf3RtD; desc @@ 1.3 log @chat/weechat: Update to 4.4.4 Changelog: 4.4.4: Fixed script: fix crash on /script buffer when a filter is set (#2214, #2215) core: fix too many sorts of hotlist when buffers are moved (#2097) relay, xfer: fix letters with actions displayed on top of buffer build: fix detection of Ruby on macOS 14, require CMake ≥ 3.18 (#1156) perl: fix crash when unloading Perl scripts with Perl 5.38 (#2209, #2213) 4.4.3: Fixed irc: fix crash on /list buffer when a filter is set (#2197) core: always send the signal "buffer_switch", even when the buffer is opening (#2198) core: fix build on Android (#2180) 4.4.2: Fixed core, plugins: fix integer overflow in loops (#2178) 4.4.1: Fixed lua: fix compilation on Fedora with Lua < 5.2.0 (#2173, #2174) 4.4.0: Changed breaking: relay/api: flatten JSON event object sent to clients, always set "body_type" and "body" (null if there is no body) in websocket frame, add body types buffers and lines (array), add field "request_id" in websocket frame (request and response) breaking: core, plugins: force "short_name" in buffers to non-empty value (name by default), remove buffer property "short_name_is_set" breaking: alias: display an error with /alias add or /alias addcompletion when the alias already exists, add options addreplace and addreplacecompletion in command /alias (#2095) breaking: irc: rename parameter -re to -raw in command /list (#2124) breaking: api: add constants for IPv6 and allow force of IPv6 in function hook_connect (#2164) breaking: irc: convert server option ipv6 from boolean to enum (disable, auto, force) (#2164) breaking: core: convert proxy option ipv6 from boolean to enum (disable, auto, force), set option to auto by default when creating a new proxy (#2164) core: add option addreplace in commands /bar and /proxy (#2095) irc: add option addreplace in commands /ignore, /notify and /server (#2095) relay: add option addreplace in commands /relay and /remote (#2095) core: allow buffer id in commands /buffer and /print, in addition to number and name core: allow mask in command /item refresh relay: enable websocket extension "permessage-deflate" with "api" relay only (#1549) relay/api: add automatic reconnection to remote, add remote option "autoreconnect_delay" in remote, add options relay.api.remote_autoreconnect_delay_growing and relay.api.remote_autoreconnect_delay_max (#2166) relay/api: automatically reconnect to remotes with "autoconnect" enabled after /upgrade relay/api: add field "hidden" in GET /api/buffers, add support of hidden buffers in remote client (#2159) relay/api: add field "time_displayed" in GET /api/buffers, add support of time displayed in remote client buffers relay/weechat: add line id in buffer lines sent to clients relay: display connection status in output of commands /remote list and /remote listfull relay: add option reconnect in command /remote (#2160) irc: add support of message 569 (whois, connecting from) (#2162) api: allow NULL value for key in hashtable doc: rename doc "weechat_relay_protocol" to "weechat_relay_weechat" Added core: add command line option --build-info / -i to display information about build options (#449) irc: add option -export in command /list, add option irc.look.list_buffer_format_export relay: add option relay.network.websocket_permessage_deflate (#1549) relay: add option relay.look.raw_messages_max_length (#2122) relay: add infos "relay_api_version" and "relay_api_version_number" relay/api: add event "quit", sent to clients when WeeChat is quitting (#2168) script: add info "script_info" core: add hdata count in evaluation of expressions with hdata_count:name[list] or hdata_count:name[pointer] core: add info "window" (#2141) core: add completion "bars_items" core: add signals "layout_buffers_applied" and "layout_windows_applied" (#2167) core: add signal "buffer_time_for_each_line_changed" api, relay: send new signal "buffer_line_data_changed" when a line is updated in a buffer via hdata, send event "buffer_line_data_changed" to clients of "api" and "weechat" protocols api: add hashtable type "longlong" api: add function line_search_by_id doc: add doc on "api" relay Fixed python: fix crash on quit with Python 3.12 (#2046, #2126) core: fix crash when deleting a bar that has no items (#2138) relay/api: fix crash when sending data to a remote buffer when the remote has been deleted (#2157) irc, xfer: fix display of input prompt in IRC private buffers and DCC chat buffers (#2128) irc: fix send of split messages when server option "anti_flood" set to 0 (#2172) core: fix generation of TOTP on FreeBSD (#2171) core: apply buffer properties (options weechat.buffer.*) when a buffer name is changed irc: fix property "short_name" of channel buffer when the joined channel has a different case than the /join command irc: close /list buffer when the server buffer is closed (#2121) irc: clear /list buffer when disconnecting from server (#2133) irc: display an explicit message on /list buffer when the list of channels is empty (#2133) xfer: fix send of data on the DCC chat buffer after /upgrade if the buffer was opened before the upgrade (#2092) core: fix refresh of bar item "scroll" in root bar after /buffer clear (#590) core, plugins: return "0x0" instead of "(nil)" for pointers formatted in strings core: send signal "buffer_moved" for all buffers affected by merge/unmerge ruby: fix builtin functions not available (#2109) php: fix return value of function hdata_longlong tcl: fix return value of function hdata_longlong (#2119) relay/api: fix connection to remote using an IPv6 address with square brackets (#2156) relay/api: allow clients without authentication when no relay password is defined and option relay.network.allow_empty_password is on (#2158) relay/api: fix connection to remote without password (#2158) relay/api: fix timezone of dates sent to clients (#2151) relay/api: clear lines and nicklist on all remote buffers upon successful connection to the remote (#2161) relay/api: fix buffers synchronization with existing buffers that have been renamed on remote in the meanwhile (#2169) relay/api: do not reset input text on existing buffers when reconnecting to the remote relay/api: close obsolete buffers when reconnecting to the remote relay/api: fix "body_type" returned when lines or nicks of a buffer are requested relay/api: fix read of one buffer line relay/api: automatically disconnect when the command /upgrade is executed on the remote relay/api: fix send of data to remote after command /upgrade executed in the remote client relay/api: disconnect from remote in case of error when sending data relay/api: disconnect cleanly when the remote is quitting (#2168) relay: fix websocket permessage-deflate extension when the client doesn't send the max window bits parameters (#1549) relay: fix allocation and reinit of field "client_context_takeover" in websocket deflate structure (#1549) spell: improve error displayed when a word can not be added to the dictionary (#2144) core: fix completion of command /item refresh lua: remote string "Lua" from Lua version in output of /debug libs core: fix detection of libgcrypt ≥ 1.11 (debian #1071960) core, relay: fix include directory of libcjson and libzstd tests: fix relay tests on s390x (#2118) tests: fix check of php plugin (#2117) tests: fix compilation of tests on Fedora 40 (#2116) tests: fix compilation of tests on Rocky 9.4 4.3.6: Fixed core: fix generation of TOTP on FreeBSD (issue #2171) relay/api: fix crash when sending data to a remote buffer when the remote has been deleted (issue #2157) relay/api: fix timezone of dates sent to clients (issue #2151) @ text @$NetBSD: patch-src_plugins_ruby_CMakeLists.txt,v 1.2 2023/07/10 08:16:59 jperkin Exp $ RUBY_LDFLAGS may contain strings unsuitable for target_link_libraries(), for example "-arch arm64" will get converted to "-arch -larm64". --- src/plugins/ruby/CMakeLists.txt.orig 2023-06-30 19:18:01.000000000 +0000 +++ src/plugins/ruby/CMakeLists.txt @@@@ -29,7 +29,7 @@@@ if(RUBY_FOUND) # see: https://github.com/ruby/ruby/pull/7085 add_definitions(-Wno-unused-parameter) include_directories(${RUBY_INCLUDE_DIRS}) - target_link_libraries(ruby ${RUBY_LDFLAGS} weechat_plugins_scripts coverage_config) + target_link_libraries(ruby ${RUBY_LIBRARIES} weechat_plugins_scripts coverage_config) endif(RUBY_FOUND) install(TARGETS ruby LIBRARY DESTINATION "${WEECHAT_LIBDIR}/plugins") @ 1.2 log @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 core: fix default value of bar options (issue #846) core: allow any valid boolean value in command /bar set 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 @ text @d1 1 a1 1 $NetBSD: patch-src_plugins_ruby_CMakeLists.txt,v 1.1 2022/02/24 09:55:40 jperkin Exp $ @ 1.1 log @weechat: Use correct RUBY_LIBRARIES variable. Fixes build on Darwin/arm64 where RUBY_LDFLAGS contains '-arch arm64' which was being mangled to '-arch -larm64'. @ text @d1 1 a1 1 $NetBSD$ d6 1 a6 1 --- src/plugins/ruby/CMakeLists.txt.orig 2021-12-18 07:57:32.000000000 +0000 d8 3 a10 3 @@@@ -25,7 +25,7 @@@@ set_target_properties(ruby PROPERTIES PR if(RUBY_FOUND) d16 1 a16 1 install(TARGETS ruby LIBRARY DESTINATION ${WEECHAT_LIBDIR}/plugins) @