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.
== 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)
Previously CA_FILE was undefined and lead to using
`/etc/ssl/certs/ca-certificates.crt'. Pass the gnutls default trust store file
that - at least if `gnutls' option is enabled - should be always present.
Bump PKGREVISION.
Should enable users to run most scripts available on weechat.org.
If you're using pkgsrc you probably have python/perl/lua installed already,
and ruby apparently even works on VAX, so this shouldn't be much of a hard
requirement.
joyent has been building with these settings for a while.
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.
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)
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.
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.
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
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.
Unsorted entries in PLIST files have generated a pkglint warning for at
least 12 years. Somewhat more recently, pkglint has learned to sort
PLIST files automatically. Since pkglint 5.4.23, the sorting is only
done in obvious, simple cases. These have been applied by running:
pkglint -Cnone,PLIST -Wnone,plist-sort -r -F
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
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
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