]> jfr.im git - irc/weechat/weechat.git/blob - ChangeLog.adoc
core: add CVE id in ChangeLog
[irc/weechat/weechat.git] / ChangeLog.adoc
1 = WeeChat ChangeLog
2 :author: Sébastien Helleu
3 :email: flashcode@flashtux.org
4 :lang: en
5 :toc: left
6 :docinfo1:
7
8
9 This document lists all changes for each version
10 (the latest formatted version of this document can be found
11 https://weechat.org/files/changelog/ChangeLog-devel.html[here]).
12
13 For a list of important changes that require manual action, please look at
14 https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
15 (file _ReleaseNotes.adoc_ in sources).
16
17
18 [[v3.0.2]]
19 == Version 3.0.2 (under dev)
20
21 Bug fixes::
22
23 * relay: fix crash when decoding a malformed websocket frame (CVE-2021-40516)
24
25 [[v3.0.1]]
26 == Version 3.0.1 (2021-01-31)
27
28 Bug fixes::
29
30 * exec: fix search of command by identifier
31 * spell: fix refresh of bar item "spell_suggest" when the input becomes empty (issue #1586)
32 * spell: fix crash with IRC color codes in command line (issue #1589)
33
34 [[v3.0]]
35 == Version 3.0 (2020-11-11)
36
37 New features::
38
39 * api: add optional list of colors in infos "nick_color" and "nick_color_name" (issue #1565)
40 * api: add argument "bytes" in function string_dyn_concat
41 * api: add function string_color_code_size (issue #1547)
42 * exec: add option "-oerr" to send stderr to buffer (now disabled by default) (issue #1566)
43 * fset: add option fset.look.auto_refresh (issue #1553)
44 * irc: add pointer to irc_nick in focus of bar item "buffer_nicklist" (issue #1535, issue #1538)
45 * irc: allow to send text on buffers with commands /allchan, /allpv and /allserv
46 * irc: evaluate command executed by commands /allchan, /allpv and /allserv (issue #1536)
47 * script: add option script.scripts.download_enabled (issue #1548)
48 * trigger: add variable "tg_argc" in data set by command trigger (issue #1576)
49 * trigger: add variable "tg_trigger_name" in data set by all triggers (issue #1567, issue #1568)
50
51 Bug fixes::
52
53 * core: set "notify_level" to 3 if there is a highlight in the line (issue #1529)
54 * core: do not add line with highlight and tag "notify_none" to hotlist (issue #1529)
55 * irc: remove SASL timeout message displayed by error after successful SASL authentication (issue #1515)
56 * irc: send all channels in a single JOIN command when reconnecting to the server (issue #1551)
57 * script: do not automatically download list of scripts on startup if the file is too old (issue #1548)
58 * spell: properly skip WeeChat and IRC color codes when checking words in input (issue #1547)
59 * trigger: fix recursive calls to triggers using regex (issue #1546)
60 * trigger: add `${tg_tags} !!- ,notify_none,` in conditions of default trigger "beep" (issue #1529)
61
62 Tests::
63
64 * core: add tests on GUI line functions
65
66 Build::
67
68 * core: disable debug by default in autotools build
69 * tests: fix compilation with CppUTest ≥ 4.0
70
71 [[v2.9]]
72 == Version 2.9 (2020-07-18)
73
74 New features::
75
76 * core: add bar option "color_bg_inactive": color for window bars in inactive window (issue #732)
77 * core: add Alacritty title escape sequence support (issue #1517)
78 * core: display notify level for current buffer with command /buffer notify (issue #1505)
79 * 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)
80 * core: set default size for input bar to 0 (automatic) (issue #1498)
81 * core: add default key kbd:[Alt+Enter] to insert a newline (issue #1498)
82 * core: add flag "input_multiline" in buffer (issue #984, issue #1063)
83 * core: add a scalable WeeChat logo (SVG) (issue #1454, issue #1456)
84 * core: add base 16/32/64 encoding/decoding in evaluation of expressions with "base_encode:base,xxx" and "base_decode:base,xxx"
85 * core: add case sensitive wildcard matching comparison operator (`+==*+` and `+!!*+`) and case sensitive/insensitive include comparison operators (`+==-+`, `+!!-+`, `+=-+`, `+!-+`) in evaluation of expressions
86 * core: add default key kbd:[Alt+Shift+N] to toggle nicklist bar
87 * core: add command line option "--stdout" in weechat-headless binary to log to stdout rather than ~/.weechat/weechat.log (issue #1475, issue #1477)
88 * core: reload configuration files on SIGHUP (issue #1476)
89 * api: add pointer "_bar_window" in hashtable sent to hook focus callback (issue #1450)
90 * api: add info_hashtable "focus_info" (issue #1245, issue #1257)
91 * api: rename function hook_completion_get_string to completion_get_string and hook_completion_list_add to completion_list_add
92 * api: add functions completion_new, completion_search and completion_free
93 * api: add hdata "completion_word"
94 * buflist: add default key kbd:[Alt+Shift+B] to toggle buflist
95 * buflist: add options enable/disable/toggle in command /buflist
96 * buflist: evaluate option buflist.look.sort so that sort can be customized for each of the three buflist bar items (issue #1465)
97 * irc: add support of UTF8MAPPING (issue #1528)
98 * irc: display account messages in buffers (issue #1250)
99 * python: add WeeChat sharedir python directory to PYTHONPATH (issue #1537)
100 * relay: increase default limits for IRC backlog options
101 * 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)
102 * relay: add command "completion" in weechat relay protocol to perform a completion on a string at a given position (issue #1484)
103 * relay: add option relay.network.auth_timeout
104 * relay: update default colors for client status
105 * relay: add status "waiting_auth" in irc and weechat protocols (issue #1358)
106 * trigger: evaluate arguments of command when the trigger is created (issue #1472)
107
108 Bug fixes::
109
110 * core: fix command /window scroll_beyond_end when buffer has fewer lines than chat height (issue #1509)
111 * core: force buffer property "time_for_each_line" to 0 for buffers with free content (issue #1485)
112 * core: don't collapse consecutive newlines in lines displayed before the first buffer is created
113 * core: don't remove consecutive newlines when pasting text (issue #1500)
114 * core: don't collapse consecutive newlines in bar content (issue #1500)
115 * core: fix WEECHAT_SHAREDIR with CMake build (issue #1461)
116 * core: fix memory leak in calculation of expression on FreeBSD (issue #1469)
117 * core: fix resize of a bar when its size is 0 (automatic) (issue #1470)
118 * api: fix use of pointer after free in function key_unbind
119 * api: replace plugin and buffer name by buffer pointer in argument "modifier_data" sent to weechat_print modifier callback (issue #42)
120 * buflist: add "window" pointer in bar item evaluation only if it's not NULL (if bar type is "window")
121 * exec: fix use of same task id for different tasks (issue #1491)
122 * fifo: fix errors when writing in the FIFO pipe (issue #713)
123 * guile: enable again /guile eval (issue #1514)
124 * irc: use new default chantypes "#&" when the server does not send it
125 * irc: add support of optional server in info "irc_is_nick", fix check of nick using UTF8MAPPING isupport value (issue #1528)
126 * irc: fix add of ignore with flags in regex, display full ignore mask in list of ignores (issue #1518)
127 * irc: do not remove spaces at the end of users messages received (issue #1513)
128 * irc: fix realname delimiter color in WHO/WHOX response (issue #1497)
129 * irc: reuse a buffer with wrong type "channel" when a private message is received (issue #869)
130 * python: fix crash when invalid UTF-8 string is in a WeeChat hashtable converted to a Python dict (issue #1463)
131 * relay: add missing field "notify_level" in message "_buffer_line_added" (issue #1529)
132 * relay: fix slow send of data to clients when SSL is enabled
133 * trigger: only return trigger's return code when condition evaluates to true (issue #592)
134 * trigger: fix truncated trigger command with commands /trigger input|output|recreate
135 * trigger: do not hide values of options with /set command in cmd_pass trigger
136
137 Documentation::
138
139 * add includes directory
140 * merge 53 auto-generated files into 11 files
141 * fix broken literal blocks in Japanese docs with Firefox (issue #1466)
142
143 Tests::
144
145 * core: add CI with GitHub Actions, move codecov.io upload to GitHub Actions
146 * core: switch to Ubuntu Bionic on Travis CI, use pylint3 to lint Python scripts
147 * core: run tests on plugins only if the plugins are enabled and compiled
148 * irc: add tests on IRC color and channel functions
149
150 Build::
151
152 * javascript: disable build by default and remove Debian packaging of JavaScript plugin (issue #360)
153 * core: make GnuTLS a required dependency
154 * core: fix build with CMake 3.17.0
155 * core: fix build with cygport on Cygwin
156
157 [[v2.8]]
158 == Version 2.8 (2020-03-29)
159
160 New features::
161
162 * core: add variable "old_full_name" in buffer, set during buffer renaming (issue #1428)
163 * core: add debug option "-d" in command /eval (issue #1434)
164 * api: add functions crypto_hash and crypto_hash_pbkdf2
165 * api: add info "auto_connect" (issue #1453)
166 * api: add info "weechat_headless" (issue #1433)
167 * buflist: add pointer "window" in bar item evaluation
168 * irc: add support of fake servers (no I/O, for testing purposes)
169 * relay: accept hash of password in init command of weechat protocol with option "password_hash" (PBKDF2, SHA256, SHA512)
170 * relay: reject client with weechat protocol if password or totp is received in init command but not set in WeeChat (issue #1435)
171
172 Bug fixes::
173
174 * core: fix memory leak in completion
175 * core: flush stdout/stderr before forking in hook_process function (issue #1441)
176 * core: fix evaluation of condition with nested "if" (issue #1434)
177 * irc: split AUTHENTICATE message in 400-byte chunks (issue #1459)
178 * irc: copy temporary server flag in command /server copy
179 * irc: add nick changes in the hotlist (except self nick change)
180 * irc: case-insensitive comparison on incoming CTCP command, force upper case on CTCP replies (issue #1439)
181 * irc: fix memory leak when the channel topic is changed
182 * 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)
183 * php: fix crash when loading script with PHP 7.4 (issue #1452)
184 * relay: update buffers synchronization when buffers are renamed (issue #1428)
185 * script: fix memory leak in read of script repository file if it has invalid content
186 * script: fix unexpected display of scripts list in buffer with command /script list -i
187 * xfer: send signal "xfer_ended" after the received file has been renamed (issue #1438)
188
189 Tests::
190
191 * scripts: fix generation of test scripts with Python 3.8
192 * core: add tests on function secure_derive_key
193 * core: add tests on functions util_get_time_diff and util_file_get_content
194 * irc: add tests on IRC protocol functions and callbacks
195
196 Build::
197
198 * core: fix Cygwin build
199 * guile: add detection of Guile 3.0.0 (issue #1442)
200 * irc: fix build with GnuTLS < 3.1.0 (issue #1431)
201 * php: add detection of PHP 7.4
202 * ruby: add detection of Ruby 2.7 (issue #1455)
203
204 [[v2.7.1]]
205 == Version 2.7.1 (2020-02-20)
206
207 Bug fixes::
208
209 * irc: fix crash when a new message 005 is received with longer nick prefixes (CVE-2020-9760)
210 * irc: fix crash when receiving a malformed message 352 (who) (CVE-2020-9759)
211 * irc: fix crash when receiving a malformed message 324 (channel mode) (CVE-2020-8955)
212
213 [[v2.7]]
214 == Version 2.7 (2019-12-08)
215
216 New features::
217
218 * core: add option weechat.look.nick_color_hash_salt to shuffle nick colors (issue #635)
219 * core: add different icons sizes (16x16 to 512x512) (issue #1347)
220 * core: add file weechat.desktop
221 * core: add reverse of string for screen in evaluation of expressions with "revscr:"
222 * core: add length of string (number of chars and on screen) in evaluation of expressions with "length:xxx" and "lengthscr:xxx"
223 * core: add calculation of expression in evaluation of expressions with "calc:xxx" (issue #997)
224 * core: add optional default path (evaluated) in completion "filename"
225 * core: add support of modifiers in evaluation of expressions with "modifier:name,data,string"
226 * api: add modifier "color_encode_ansi" (issue #528)
227 * api: add modifier "eval_path_home"
228 * irc: add filters on raw buffer (issue #1000)
229 * irc: add option irc.look.display_pv_warning_address to display a warning in private buffer if the remote nick address has changed (issue #892)
230 * irc: add server option "ssl_password" (issue #115, issue #1416)
231 * irc: add "user" in output of irc_message_parse (issue #136)
232 * irc: add options irc.color.message_kick and irc.color.reason_kick (issue #683, issue #684)
233 * logger: add option logger.file.color_lines (issue #528, issue #621)
234 * script: add options "-ol" and "-il" in command "/script list" to send translated string with list of scripts loaded, display "No scripts loaded" if no scripts are loaded
235 * xfer: add option xfer.file.download_temporary_suffix with default value ".part" (issue #1237)
236
237 Bug fixes::
238
239 * core: set buffer name, short name and title only if the value has changed
240 * core: fix scrolling up in bare mode when switched to bare mode at the top of the buffer (issue #899, issue #978)
241 * core: optimize load of configuration files
242 * core: fix window separators not respecting window splits (issue #630)
243 * core: fix cursor mode info when prefix_align is none and with words split across lines (issue #610, issue #617, issue #619)
244 * core: add support of reverse video in ANSI color codes
245 * core: fixed segfault during excessive evaluation in function string_repeat (issue #1400)
246 * buflist: fix extra spaces between buffers when conditions are used to hide buffers (regression introduced in version 2.6) (issue #1403)
247 * irc: do not automatically open a channel with name "0" (issue #1429)
248 * irc: remove option irc.network.channel_encode, add server option "charset_message" to control which part of the IRC message is decoded/encoded to the target charset (issue #832)
249 * irc: use path from option xfer.file.upload_path to complete filename in command "/dcc send" (issue #60)
250 * logger: fix write in log file if it has been deleted or renamed (issue #123)
251 * python: send "bytes" instead of "str" to callbacks in Python 3 when the string is not UTF-8 valid (issue #1389)
252 * relay: send message "_buffer_title_changed" to clients only when the title is changed
253 * xfer: fix memory leak when a xfer is freed and when the plugin is unloaded
254
255 Tests::
256
257 * core: add tests on GUI color functions
258
259 Build::
260
261 * core: fix build on Haiku (issue #1420)
262 * core: fix build on Alpine
263 * core: remove file FindTCL.cmake
264 * core: display an error on missing dependency in CMake (issue #916, issue #956)
265 * debian: disable Javascript plugin on Debian Sid and Ubuntu Eoan
266 * debian: build with Guile 2.2
267 * guile: add support of Guile 2.2, disable /guile eval (issue #1098)
268 * python: add detection of Python 3.8
269
270 [[v2.6]]
271 == Version 2.6 (2019-09-08)
272
273 New features::
274
275 * core: add support of 32767 color pairs (issue #1343, issue #1345)
276 * core: add option "close" in command /window (issue #853)
277 * api: add infos "term_colors" and "term_color_pairs"
278 * api: add function list_user_data (issue #666)
279 * api: add argument "strip_items" in function string_split
280 * buflist: add infolist "buflist" with list of buffer pointers (issue #1375)
281 * exec: evaluate option exec.command.shell, change default value to "${env:SHELL}" (issue #1356)
282 * fset: add filters "h=xxx" and "he=xxx" to filter options by description (translated or in English)
283 * irc: make command char optional in server option "command" (issue #615)
284 * irc: add variables "user_max_length" and "host_max_length" in server structure (issue #1387)
285
286 Bug fixes::
287
288 * 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)
289 * core: create or update option weechat.notify.xxx when function buffer_set is called with "notify" property (issue #1390)
290 * core: fix memory leak in case of error when building content of bar item for display (issue #1384)
291 * core: send command line parameter to plugins only if the name starts with the plugin name followed by a colon
292 * core: auto disable upgrade process (command line option "--upgrade") if the file weechat.upgrade is not found
293 * core: replace newlines by spaces in argument "completion" of function hook_command (issue #538)
294 * core: replace char "," by "~" in color codes to separate foreground from background (issue #1264)
295 * alias: remove default aliases /AME and /AMSG (issue #1355)
296 * buflist: use extra variables in option buflist.look.display_conditions (issue #1393)
297 * 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)
298 * irc: fix memory leak when removing a server
299 * irc: fix length of user/nick/host in split of messages (issue #1387)
300 * irc: quote NICK command argument sent to the server only if there's a ":" in the nick (issue #1376, issue #1319)
301 * irc: return all arguments in the PONG response to a PING (issue #1369)
302 * irc: disable server reconnection when the server buffer is closed (issue #236)
303 * irc: strip spaces at beginning/end of addresses in server option "addresses" (issue #195)
304 * irc: fix display of enabled/disabled client capabilities received in command CAP ACK (issue #151)
305 * ruby: fix conversion of big integers on 32bit architecture (issue #1395)
306
307 Tests::
308
309 * irc: add tests on IRC ignore, message and nick functions
310
311 Build::
312
313 * core: fix compilation with autotools on FreeBSD 12.0
314 * debian: disable Javascript plugin on Debian Buster/Bullseye (issue #1374)
315 * python: compile with Python 3 by default
316 * python: use pkg-config to detect Python (issue #1382)
317
318 [[v2.5]]
319 == Version 2.5 (2019-06-06)
320
321 New features::
322
323 * core: use getopt to parse command line arguments
324 * core: add option weechat.look.prefix_same_nick_middle (issue #930, issue #931)
325 * core: add option weechat.look.buffer_time_same (issue #1127)
326 * core: use seconds by default in /repeat interval, allow unit for the interval
327 * core: allow text in addition to a command in command /repeat
328 * core: add option "addreplace" in command /filter (issue #1055, issue #1312)
329 * api: return allocated string in hook_info callback and function info_get
330 * api: replace argument "keep_eol" by "flags" in function string_split (issue #1322)
331 * api: add function command_options (issue #928)
332 * api: add function string_match_list
333 * irc: add bar items "irc_nick", "irc_host" and "irc_nick_host"
334 * irc: add variable "host" in server structure
335 * relay: add support of UNIX socket (issue #733, issue #1333)
336 * relay: add option relay.weechat.commands (issue #928)
337 * script: use SHA-512 instead of MD5 for script checksum
338 * spell: rename aspell plugin to spell (issue #1299)
339 * trigger: add hooks "info" and "info_hashtable"
340 * xfer: rename option xfer.network.speed_limit to xfer.network.speed_limit_send, add option xfer.network.speed_limit_recv (issue #269)
341
342 Bug fixes::
343
344 * core: don't execute command scheduled by /repeat and /wait if the buffer does not exist any more
345 * core: set max length to 4096 for /secure passphrase (issue #1323)
346 * core: refilter only affected buffers on filter change (issue #1309, issue #1311)
347 * fset: fix slow refresh of fset buffer during /reload (issue #1313)
348 * irc: fix parsing of MODE command when there are colons after the first mode argument (issue #1296)
349 * irc: fix memory leak in infos "irc_server_isupport" and "irc_server_isupport_value"
350 * irc: fix length of string for SHA-512, SHA-256 and SHA-1 in help on ssl_fingerprint option
351 * irc: display an error with /allchan -current or /allpv -current if the current buffer is not an irc buffer (issue #1325)
352 * irc: fix update of channels modes with arguments when joining a channel (issue #1324)
353 * irc: quote NICK command argument sent to the server (issue #1319)
354 * php: fix memory leak in functions string_eval_expression, string_eval_path_home, key_bind, hook_process_hashtable, hook_hsignal_send, info_get_hashtable, hdata_update
355 * relay: fix crash when a weechat relay client reloads the relay plugin with /plugin reload relay (issue #1327)
356 * spell: fix detection of nick followed by the nick completer (issue #1306, issue #1307)
357 * trigger: fix split of hook arguments (issue #1322)
358
359 Tests::
360
361 * core: add tests on function util_signal_search
362
363 Build::
364
365 * core: fix value of libdir in file weechat.pc (issue #1341, issue #1342)
366 * core: fix generation of man page weechat-headless with autotools
367 * core: add CMake option "ENABLE_CODE_COVERAGE" to compile with code coverage options (CMake ≥ 3.0 is now required)
368 * core: fix compilation on Mac OS (issue #1308)
369 * lua: add detection of Lua 5.3 with autotools
370 * ruby: add detection of Ruby 2.6 (issue #1346)
371 * tests: fix compilation of tests on FreeBSD
372
373 [[v2.4]]
374 == Version 2.4 (2019-02-17)
375
376 New features::
377
378 * 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)
379 * core: add default keys kbd:[Ctrl+F11]/kbd:[Ctrl+F12] to scroll up/down one page in nicklist (same action as kbd:[F11]/kbd:[F12])
380 * core: add command line option "-t" (or "--temp-dir") to create a temporary WeeChat home (deleted on exit)
381 * api: add functions string_base_encode and string_base_decode, remove functions string_encode_base64 and string_decode_base64
382 * api: add support of Time-based One-Time Password (TOTP), add infos "totp_generate" and "totp_validate"
383 * buflist: add default keys kbd:[Ctrl+F1]/kbd:[Ctrl+F2] to scroll up/down one page in buflist (same action as kbd:[F1]/kbd:[F2])
384 * buflist: add variable ${number2}, always set with the indented buffer number
385 * exec: add option exec.command.shell to customize the shell used with /exec -sh
386 * relay: add support of close frame in websocket connection (issue #1281)
387 * relay: add support of Time-based One-Time Password (TOTP) as second authentication factor in weechat protocol
388
389 Bug fixes::
390
391 * core: fix compilation of empty regular expression (not allowed on FreeBSD)
392 * core: fix forced highlight on messages sent to other buffers (issue #1277)
393 * aspell: look for suggestions only if the misspelled word has changed (issue #1175)
394 * buflist: add alternate key codes for kbd:[F1]/kbd:[F2] and kbd:[Alt+F1]/kbd:[Alt+F2] (compatibility with terminals)
395 * buflist: fix warning displayed when script buffers.pl is loaded (issue #1274)
396 * irc: fix parsing of whois messages in notify
397 * irc: fix parsing of MODE, 341 (invite) and CHGHOST commands when there are colons (issue #1296)
398 * irc: return IRC color code instead of WeeChat color code when decoding a too short ANSI color sequence
399 * irc: fix encoding of italic attribute when colors are removed
400 * irc: fix parsing of "time" message tag on FreeBSD (issue #1289)
401 * relay: fix crash on /upgrade when the real IP is not set (issue #1294)
402 * relay: fix memory leak in connection of client
403
404 Tests::
405
406 * core: fix UTF-8 and evaluation tests on FreeBSD
407 * irc: add tests on IRC configuration and protocol functions
408
409 Build::
410
411 * core: add C compiler flag "-fsigned--char" to force "char" data type to be always signed (issue #1277)
412
413 [[v2.3]]
414 == Version 2.3 (2018-10-21)
415
416 New features::
417
418 * core: add repeat of string in evaluation of expressions with "repeat:count,string" (issue #958)
419 * core: allow specifying buffer number/name for /buffer localvar (issue #1259)
420 * core: allow multiple arguments in command "/buffer close"
421 * core: allow multiple options "-r" (or "--run-command") in command line arguments (issue #1248)
422 * core: add command line option "-P" (or "--plugins") to customize the plugins to load at startup
423 * core: allow partial buffer name in command "/buffer close" (issue #1226)
424 * api: add function hook_line (issue #66)
425 * irc: display a warning when the value of option irc.server.xxx.autojoin is set to an invalid value
426 * relay: add real IP in client description (issue #1256)
427 * trigger: allow creation of temporary variables with the regex
428 * trigger: add hook "line"
429
430 Bug fixes::
431
432 * core: fix evaluation of nested ternary operators (issue #1263)
433 * core: fix evaluation of condition when the left operand is an empty string
434 * core: fix string evaluation with regex replacement when the string is empty
435 * core: fix check of tags in lines (command /filter and hook_print)
436 * core: fix clear of completion item in case of partial completion (issue #1162)
437 * core: send signal "key_pressed" for mouse code only if the string is UTF-8 valid (issue #1220)
438 * api: fix memory leak in function string_split
439 * lua: fix return code of mkdir functions in case of error (issue #1267)
440 * scripts: fix duplicated lines in output of script eval (python, perl, ruby, lua and guile)
441
442 Tests::
443
444 * core: add tests on line and hook functions
445
446 Build::
447
448 * php: add detection of PHP 7.3
449
450 [[v2.2]]
451 == Version 2.2 (2018-07-14)
452
453 New features::
454
455 * core: change default value of option weechat.look.hotlist_add_conditions to check connected relay clients via weechat protocol (issue #1206)
456 * core: add reverse of string in evaluation of expressions with "rev:" (issue #1200)
457 * core: send buffer pointer (when possible) in signal "hotlist_changed" (issue #1133)
458 * core: add support of list options in curl (issue #826, issue #219)
459 * core: allow merge of buffers by name in command /buffer (issue #1108, issue #1159)
460 * api: add function hashtable_add_from_infolist
461 * api: add function string_format_size in scripting API
462 * irc: add nick, host and log tags in message displayed in private buffer when the nick comes back on the server (issue #1221)
463 * irc: add support for IRCv3.2 chghost, add options irc.look.smart_filter_chghost and irc.color.message_chghost (issue #640)
464 * irc: add support for IRCv3.2 invite-notify (issue #639)
465 * irc: add support for IRCv3.2 Client Capability Negotiation (issue #586, issue #623)
466 * irc: display current nick on connected servers in output of /server list|listfull (issue #1193)
467 * irc: add option "-server" in command /list (issue #1165)
468 * irc: add indexed ban list, add completion for /unban and /unquiet (issue #597, task #11374, task #10876)
469 * relay: add filtering on protocol in info "relay_client_count"
470 * trigger: hide password in command "/msg nickserv set password"
471 * xfer: add option xfer.network.send_ack (issue #1171)
472
473 Bug fixes::
474
475 * core: fix TLS handshake failure on server connection when there are multiple addresses in the server (issue #1196)
476 * core: count number of chars instead of bytes for suffix in function string_cut
477 * core: fix delete of previous/next word (keys kbd:[Ctrl+w] and kbd:[Alt+d]) (issue #1195)
478 * core: fix infinite loop in evaluation of strings (issue #1183)
479 * core: change default value of option weechat.look.window_title from "WeeChat ${info:version}" to empty string (issue #1182)
480 * buflist: fix crash when setting the option buflist.look.signals_refresh with a list of signals
481 * fset: fix memory leak when switching the format with kbd:[Ctrl+x]
482 * fset: fix truncation of option values when the length is greater than 4096 (issue #1218)
483 * fset: fix crash when applying filters after closing the fset buffer (issue #1204)
484 * irc: display message 354 (WHOX) received with missing parameters (issue #1212)
485 * irc: always set nick away status on WHO response (sent manually or automatically with server option "away_check")
486 * irc: fix a crash when calling the function hdata_string on the "prefix" variable in the nick
487 * irc: fix split of messages when server option "split_msg_max_length" is set to 0 (no split) (issue #1173)
488 * irc: send whole IRC message including IRCv3 tags in the signals irc_in, irc_in2, irc_raw_in and irc_raw_in2 (issue #787)
489 * irc: fix memory leak when receiving a message with IRCv3 tags
490 * guile: fix memory leak in 7 functions returning allocated strings
491 * lua: fix macros used to return values
492 * php: fix return code of functions config_write_option and config_write_line
493 * php: fix memory leak in 72 functions returning allocated strings
494 * python: fix crash when loading a script with Python >= 3.7 (issue #1219)
495 * relay: fix socket creation for relay server on OpenBSD (issue #1213)
496 * ruby: fix memory leak in 7 functions returning allocated strings
497 * script: fix memory leak in case of invalid XML content in list of scripts
498 * scripts: fix memory leak in hook_info callback
499 * scripts: fix return value of hook_infolist callback (pointer instead of string)
500 * scripts: return long integer instead of string in function infolist_time
501 * xfer: set option TCP_NODELAY on socket when receiving a file via DCC (issue #1171)
502
503 Documentation::
504
505 * core: split man pages weechat and weechat-headless
506
507 Tests::
508
509 * core, scripts: add tests on infolists
510
511 Build::
512
513 * core: fix build with CMake and Ninja
514 * debian: add package weechat-headless with the headless binary and its man page
515 * javascript: fix compilation of javascript plugin with autotools on some Linux distributions (issue #1208)
516 * python: add detection of Python 3.7
517
518 [[v2.1]]
519 == Version 2.1 (2018-03-18)
520
521 New features::
522
523 * core: add binary weechat-headless to run WeeChat without interface, with optional daemon mode (command line option "--daemon") (issue #1120)
524 * core: add options "-newbuffer", "-free" and "-switch" in command /print (issue #1113)
525 * core: add option "-y" in command /print, add support of buffers with free content
526 * core: add option "add" in command /buffer (issue #1113)
527 * core: add option weechat.completion.partial_completion_templates to force partial completion on specific templates
528 * api: add hashtable with variables in plugin structure
529 * api: add time in info "date" (WeeChat compilation date/time) (issue #1138)
530 * irc: add server option "split_msg_max_length"
531 * irc: allow ${irc_server.xxx} and ${server} in server evaluated options (issue #1144)
532 * logger: add option logger.file.fsync (issue #1145)
533 * logger: add option logger.look.backlog_conditions (issue #1132)
534 * script: change default value of option script.look.sort from "p,n" to "i,p,n"
535 * scripts: add configuration file for each script plugin (_python.conf_, _perl.conf_, ...)
536 * scripts: add "eval" option in script commands and info "xxx_eval" (python, perl, ruby, lua and guile) (issue #128)
537 * scripts: add infos "xxx_interpreter" and "xxx_version" in script plugins (issue #1075)
538 * scripts: add option "version" in script commands (issue #1075)
539 * scripts: display the script name in stdout/stderr output from scripts
540
541 Bug fixes::
542
543 * core: fix regression on execution of hook_print callbacks (introduced in version 2.0)
544
545 Build::
546
547 * ruby: add detection of Ruby 2.5 (issue #1122)
548
549 [[v2.0.1]]
550 == Version 2.0.1 (2017-12-20)
551
552 Bug fixes::
553
554 * python: fix arguments status/gnutls_rc/sock in hook_connect callback
555 * python: fix argument fd in hook_fd callback
556
557 [[v2.0]]
558 == Version 2.0 (2017-12-03)
559
560 New features::
561
562 * core: add flag "input_get_empty" in buffer
563 * core: add signals "buffer_filters_enabled" and "buffer_filters_disabled"
564 * core: support loading of plugins from path in environment variable "WEECHAT_EXTRA_LIBDIR" (issue #971, issue #979)
565 * core: make value optional in command "/buffer set" (issue #746, issue #1088)
566 * core: allow floating point and hexadecimal numbers in comparison of evaluated values
567 * core: add option weechat.look.save_config_with_fsync (issue #1083)
568 * api: add support of prefix "quiet:" in function key_unbind to quietly remove keys
569 * api: add argument "recurse_subdirs" in function exec_on_files
570 * alias: add infolist "alias_default" (list of default aliases)
571 * buflist: add two new bar items ("buflist2" and "buflist3") using the same format configuration options (issue #990)
572 * buflist: add option buflist.look.add_newline (issue #1027)
573 * fset: new plugin "fset" (fast set of WeeChat and plugins options) (issue #584)
574 * php: new plugin "php" (issue #909)
575 * script: add local variable "filter" in the script buffer (issue #1037)
576
577 Bug fixes::
578
579 * core: do not change the chat prefix size when a filtered line is added (issue #1092)
580 * core: fix display of nicks in nicklist when they are in a group with sub-groups (issue #1079)
581 * core, plugins: check return code of strftime function
582 * core: fix cast of time_t (to "long long" instead of "long") (issue #1051)
583 * core: call the config hook when options are renamed or removed
584 * api: change type of arguments status/gnutls_rc/sock in hook_connect callback from string to integer (in scripts)
585 * api: change type of argument fd in hook_fd callback from string to integer (in scripts)
586 * buflist: remove recursive evaluation of extra variables (issue #1060)
587 * guile: return integer (0/1) instead of boolean in API functions
588 * guile: fix return value of static strings in API functions
589 * irc: do not clear nicklist when joining an already joined channel if the option irc.look.buffer_open_before_join is on (issue #1081)
590 * irc: fix CTCP PING reply when the option irc.ctcp.ping is set to non-empty value
591 * lua: fix boolean return value (as integer) in API functions
592 * relay: fix parsing of CAP command without arguments in irc protocol, send ACK only if all capabilities received are OK and NAK otherwise (issue #1040)
593
594 Tests::
595
596 * core: display an error if the required locale en_US.UTF-8 is not installed
597 * scripts: add scripting API tests (issue #104)
598
599 Build::
600
601 * core: fix build with ncurses and separate tinfo (bug #41245, issue #1090)
602 * javascript: fix detection of libv8 with autotools on Ubuntu Trusty
603
604 [[v1.9.1]]
605 == Version 1.9.1 (2017-09-23)
606
607 Bug fixes::
608
609 * buflist: fix crash in auto-scroll of bar when the buflist item is not the first item in the bar
610 * logger: call strftime before replacing buffer local variables (CVE-2017-14727)
611 * relay: fix send of "PART" command in backlog (irc protocol)
612
613 [[v1.9]]
614 == Version 1.9 (2017-06-25)
615
616 New features::
617
618 * core: improve speed of nicklist bar item callback
619 * core: allow index for hdata arrays in evaluation of expressions
620 * api: allow update of variables "scroll_x" and "scroll_y" in bar_window with function hdata_update
621 * api: add functions config_option_get_string and hdata_compare
622 * buflist: add option buflist.look.auto_scroll (issue #332)
623 * buflist: add keys kbd:[F1]/kbd:[F2], kbd:[Alt+F1]/kbd:[Alt+F2] to scroll the buflist bar
624 * buflist: display a warning when the script "buffers.pl" is loaded
625 * buflist: add support of char "~" in option buflist.look.sort for case insensitive comparison
626 * buflist: add variable `${format_name}` in bar item evaluation and option buflist.format.name (issue #1020)
627 * buflist: add variables `${current_buffer}` and `${merged}` (booleans "0" / "1") in bar item evaluation
628 * relay: add option "start" in command /relay
629 * trigger: add "irc_server" and "irc_channel" pointers in data for IRC signal/modifier hooks
630
631 Bug fixes::
632
633 * core: fix bind of keys with space key, like kbd:[Alt+Space] (bug #32133)
634 * core: fix infinite loop when the terminal is closed on the secure password prompt (issue #1010)
635 * buflist: fix long mouse gestures
636 * buflist: fix slow switch of buffer when there are a lot of buffers opened (issue #998)
637 * buflist: add option "bar" in command /buflist, do not automatically add the "buflist" bar when the option buflist.look.enabled is off (issue #994)
638 * buflist: fix crash on drag & drop of buffers
639 * irc: don't reset nick properties (prefixes/away/account/realname) on /names when the nick already exists (issue #1019)
640 * irc: fix memory leak in case of error in "ecdsa-nist256p-challenge" SASL mechanism
641 * relay: rebind on address after option relay.network.bind_address is changed
642 * relay: fix parsing of CAP command arguments in irc protocol (issue #995)
643
644 [[v1.8]]
645 == Version 1.8 (2017-05-13)
646
647 New features::
648
649 * core: add option weechat.completion.nick_case_sensitive (issue #981)
650 * core: add wildcard matching operator (`+=*+` and `+!*+`) in evaluation of expressions (issue #611)
651 * core: add cut of string in evaluation of expressions with "cut:" (number of chars) and "cutscr:" (number of chars displayed on screen)
652 * core: add ternary operator (condition) in evaluation of expressions (`${if:condition?value_if_true:value_if_false}`)
653 * core: add resize of window parents with /window resize [h/v]size (task #11461, issue #893)
654 * core: add hotlist pointer in buffer structure
655 * core: add last start date in output of command /version after at least one /upgrade (issue #903)
656 * api: add arraylist functions: arraylist_new, arraylist_size, arraylist_get, arraylist_search, arraylist_insert, arraylist_add, arraylist_remove, arraylist_clear, arraylist_free
657 * api: add dynamic string functions: string_dyn_alloc, string_dyn_copy, string_dyn_concat, string_dyn_free
658 * api: add special key "__quiet" in hashtable for function key_bind
659 * api: add `${re:#}` to get the index of last group captured in function string_eval_expression
660 * aspell: add options to control delimiters in suggestions: aspell.color.suggestion_delimiter_{dict|word} and aspell.look.suggestion_delimiter_{dict|word} (issue #940)
661 * buflist: new plugin "buflist" (bar item with list of buffers)
662 * irc: add option "open" in command /server (issue #966)
663 * irc: send signal "irc_server_lag_changed" and store the lag in the server buffer (local variable)
664 * irc: send multiple masks by message in commands /ban, /unban, /quiet and /unquiet, use ban mask default for nicks in /quiet and /unquiet, display an error if /quiet and /unquiet are not supported by server (issue #579, issue #15, issue #577)
665 * irc: add option "-include" in commands /allchan, /allpv and /allserv (issue #572)
666 * irc: don't smart filter modes given to you (issue #530, issue #897)
667 * script: remove option script.scripts.url_force_https, use HTTPS by default in option script.scripts.url
668
669 Bug fixes::
670
671 * core: fix memory leak in display of mouse event debug info
672 * core: fix command /cursor stop (do not toggle cursor mode) (issue #964)
673 * core: fix delayed refresh when the signal SIGWINCH is received (terminal resized), send signal "signal_sigwinch" after refreshes (issue #902)
674 * irc: fix update of server addresses on reconnection when the evaluated content has changed (issue #925)
675 * irc: fix crash in case of invalid server reply during SASL authentication with dh-blowfish or dh-aes mechanism
676 * irc: fix double decoding of IRC colors in messages sent/displayed by commands /msg and /query (issue #943)
677 * irc: fix parsing of message 324 (modes) when there is a colon before the modes (issue #913)
678 * relay: check buffer pointer received in "sync" and "desync" commands (weechat protocol) (issue #936)
679 * relay: remove buffer from synchronized buffers when it is closed (fix memory leak)
680
681 Build::
682
683 * core: fix compilation on FreeBSD with autotools (issue #276)
684 * python: add detection of Python 3.6
685 * ruby: add detection of Ruby 2.4 (issue #895)
686
687 [[v1.7.1]]
688 == Version 1.7.1 (2017-04-22)
689
690 Bug fixes::
691
692 * irc: fix parsing of DCC filename (CVE-2017-8073)
693
694 [[v1.7]]
695 == Version 1.7 (2017-01-15)
696
697 New features::
698
699 * core: add option weechat.look.align_multiline_words (issue #411, issue #802)
700 * core: add optional command prefix in completion templates "commands", "plugins_commands" and "weechat_commands"
701 * core: add optional arguments in completion template, sent to the callback
702 * core: add option "time" in command /debug
703 * core, xfer: display more information on fork errors (issue #573)
704 * core: add a slash before commands completed in arguments of /command, /debug time, /key bind, /key bindctxt, /mute, /repeat, /wait
705 * core: add a warning in header of configuration files to not edit by hand (issue #851)
706 * api: add info "uptime" (WeeChat uptime)
707 * api: add info "pid" (WeeChat PID) (issue #850)
708 * alias: add a slash before commands completed in arguments of /alias
709 * exec: add option "-oc" in command /exec to execute commands in process output, don't execute commands by default with "-o" (issue #877)
710 * fifo: add file fifo.conf and option fifo.file.path to customize FIFO pipe path/filename (issue #850, issue #122)
711 * irc: add server option "usermode" (issue #377, issue #820)
712 * irc: add tag "self_msg" on self messages (issue #840)
713 * irc: evaluate content of server option "ssl_fingerprint" (issue #858)
714 * irc: change default value of option irc.network.lag_reconnect from 0 to 300 (issue #818)
715 * trigger: do not hide email in command "/msg nickserv register password email" (issue #849)
716
717 Bug fixes::
718
719 * core: fix deadlock when quitting after a signal SIGHUP/SIGQUIT/SIGTERM is received (issue #32)
720 * core: fix display of empty lines in search mode (issue #829)
721 * api: fix crash in function string_expand_home when the HOME environment variable is not set (issue #827)
722 * exec: fix memory leak in display of process output
723 * irc: fix option "-temp" in command /server (issue #880)
724 * irc: fix close of server channels which are waiting for the JOIN when the server buffer is closed (issue #873)
725 * irc: fix buffer switching on manual join for forwarded channels (issue #876)
726 * irc: add missing tags on CTCP message sent
727 * lua: fix integers returned in Lua >= 5.3 (issue #834)
728 * relay: make HTTP headers case-insensitive for WebSocket connections (issue #888)
729 * relay: set status to "authentication failed" and close immediately connection in case of authentication failure in weechat and irc protocols (issue #825)
730 * script: reload a script after upgrade only if it was loaded, set autoload only if the script was auto-loaded (issue #855)
731
732 Build::
733
734 * core, irc, xfer: fix compilation on macOS (add link with resolv) (issue #276)
735 * core: add build of xz package with make dist (CMake)
736 * tests: fix compilation of tests on FreeBSD 11.0
737
738 [[v1.6]]
739 == Version 1.6 (2016-10-02)
740
741 New features::
742
743 * core: add optional argument "lowest", "highest" or level mask in command "/input hotlist_clear"
744 * core: add option "cycle" in command /buffer
745 * core, irc, xfer: display more information on memory allocation errors (issue #573)
746 * api: add "extra" argument to evaluate extra variables in function string_eval_expression (issue #534)
747 * api: remove functions printf_date and printf_tags
748 * irc: rename server options "default_msg_{kick|part|quit}" to "msg_{kick|part|quit}", evaluate them
749 * relay: add option relay.network.allow_empty_password (issue #735)
750 * relay: allow escape of comma in command "init" (weechat protocol) (issue #730)
751 * trigger: add support for one-time triggers (issue #399, issue #509)
752
753 Bug fixes::
754
755 * core, irc, xfer: refresh domain name and name server addresses before connection to servers (fix connection to servers after suspend mode) (issue #771)
756 * api: fix return of function string_match when there are multiple masks in the string (issue #812)
757 * api: fix crash in function network_connect_to if address is NULL
758 * api: fix connection to servers with hook_connect on Windows 10 with Windows subsystem for Linux (issue #770)
759 * api: fix crash in function string_split_command when the separator is not a semicolon (issue #731)
760 * irc: fix socket leak in connection to server (issue #358, issue #801)
761 * irc: fix display of service notice mask (message 008) (issue #429)
762 * irc: fix NULL pointer dereference in 734 command callback (issue #738)
763 * relay: return an empty hdata when the requested hdata or pointer is not found (issue #767)
764 * xfer: fix crash on DCC send if option xfer.file.auto_accept_nicks is set (issue #781)
765
766 Documentation::
767
768 * switch to asciidoctor to build docs and man page (issue #722)
769
770 Build::
771
772 * python: add detection of Python 3.5
773
774 [[v1.5]]
775 == Version 1.5 (2016-05-01)
776
777 New features::
778
779 * core: evaluate content of option "weechat.look.item_time_format" (issue #791)
780 * core: change default value of option weechat.look.nick_color_hash to "djb2"
781 * core: move nick coloring from irc plugin to core, move options irc.look.nick_color_force, irc.look.nick_color_hash and irc.look.nick_color_stop_chars to core, add info "nick_color" and "nick_color_name", deprecate info "irc_nick_color" and "irc_color_name" (issue #262)
782 * core: move irc bar item "away" to core, move options irc.look.item_away_message and irc.color.item_away to core (issue #692)
783 * api: add support of functions in hook_process
784 * api: add pointer in callbacks used in scripting API (issue #406)
785 * irc: add option irc.network.sasl_fail_unavailable (issue #600, issue #697)
786 * irc: add multiple targets and support of "-server" in command /ctcp (issue #204, issue #493)
787 * trigger: add "recover" in default triggers cmd_pass/msg_auth, and "regain" in default trigger "msg_auth" (issue #511)
788
789 Internationalization::
790
791 * add Portuguese translations
792
793 Bug fixes::
794
795 * core: fix nick coloring when stop chars and a forced color are used: first remove chars then look for forced color
796 * core: check that pointers received in arguments are not NULL in buffers and windows functions
797 * core: fix truncation of buffer names in hotlist (issue #668)
798 * core: fix update of window title under Tmux (issue #685)
799 * api: fix number of arguments returned by function string_split when keep_eol is 2 and the string ends with separators
800 * irc: fix first message displayed in raw buffer when the message is modified by a modifier (issue #719)
801 * irc: add missing completion "*" for target in command /msg
802 * irc: fix /msg command with multiple targets including "*"
803 * lua: fix crash when a lua function doesn't return a value and a string was expected (issue #718)
804 * relay: do not execute any command received in a PRIVMSG message from an irc relay client (issue #699)
805 * relay: fix the max number of clients connected on a port, allow value 0 for "no limit" (issue #669)
806 * relay: fix decoding of multiple frames in a single websocket message, send PONG on PING received in a websocket frame (issue #675)
807 * relay: fix command "input" received from clients with only spaces in content of message (weechat protocol) (issue #663)
808 * script: force refresh of scripts buffer after download of scripts list (issue #693)
809 * xfer: fix DCC file received when the terminal is resized (issue #677, issue #680)
810
811 Build::
812
813 * python: fix detection of Python shared libraries (issue #676)
814 * ruby: add detection of Ruby 2.3 (issue #698)
815
816 [[v1.4]]
817 == Version 1.4 (2016-01-10)
818
819 New features::
820
821 * core: add a parent name in options, display inherited values if null in /set output, add option weechat.color.chat_value_null (issue #629)
822 * core: add tag "term_warning" in warnings about wrong $TERM on startup
823 * core: add option weechat.look.paste_auto_add_newline (issue #543)
824 * core: display a more explicit error when a filter fails to be added (issue #522)
825 * api: add function string_hex_dump
826 * api: add argument "length" in function utf8_is_valid
827 * alias: display completion in /alias list (issue #518)
828 * fifo: add /fifo command
829 * irc: track real names using extended-join and WHO (issue #351)
830 * irc: add support of SNI (Server Name Indication) in SSL connection to IRC server (issue #620)
831 * irc: add support of "cap-notify" capability (issue #182, issue #477)
832 * irc: add command /cap (issue #8)
833 * irc: add hex dump of messages in raw buffer when debug is enabled for irc plugin (level 2 or more)
834 * irc: evaluate content of server option "addresses"
835 * irc: move option irc.network.alternate_nick into servers (irc.server.xxx.nicks_alternate) (issue #633)
836 * irc: use current channel and current server channels first in completions "irc_server_channels" and "irc_channels" (task #12923, issue #260, issue #392)
837 * logger: display system error when the log file can not be written (issue #541)
838 * relay: add option relay.irc.backlog_since_last_message (issue #347)
839 * script: add option script.scripts.download_timeout
840 * script: add completion with languages and extensions, support search by language/extension in /script search
841
842 Bug fixes::
843
844 * core: fix execution of empty command name ("/" and "/ " are not valid commands)
845 * core: fix memory leak when using multiple "-d" or "-r" in command line arguments
846 * core: don't complain any more about "tmux" and "tmux-256color" $TERM values when WeeChat is running under Tmux (issue #519)
847 * core: fix truncated messages after a word with a length of zero on screen (for example a zero width space: U+200B) (bug #40985, issue #502)
848 * api: fix handle of invalid escape in function string_convert_escaped_chars
849 * alias: do not allow slashes and spaces in alias name (issue #646)
850 * irc: fix channel forwarding when option irc.look.buffer_open_before_{autojoin|join} is on (issue #643)
851 * irc: add a missing colon before the password in PASS message, if the password has spaces or begins with a colon (issue #602)
852 * irc: fix charset decoding in incoming private messages (issue #520)
853 * irc: display the arrow before server name in raw buffer
854 * irc: fix display of messages sent to server in raw buffer
855 * irc: fix display of invalid UTF-8 chars in raw buffer
856 * relay: display the arrow before client id and protocol in raw buffer
857 * ruby: fix load of scripts requiring "uri" (issue #433)
858
859 Documentation::
860
861 * add Czech man page and quickstart guide (issue #490)
862
863 Tests::
864
865 * core: add a test to check if all plugins are loaded
866 * core: fix locale used to execute tests (issue #631)
867
868 Build::
869
870 * core: add scripts version.sh and build-debian.sh, separate stable from devel Debian packaging
871 * ruby: fix Ruby detection when pkg-config is not installed
872
873 [[v1.3]]
874 == Version 1.3 (2015-08-16)
875
876 New features::
877
878 * core: add completion "colors" (issue #481)
879 * core: start/stop search in buffer at current scroll position by default, add key kbd:[Ctrl+q] to stop search and reset scroll (issue #76, issue #393)
880 * core: add option weechat.look.key_grab_delay to set the default delay when grabbing a key with kbd:[Alt+k]
881 * core: add option weechat.look.confirm_upgrade (issue #463)
882 * core: add signal "signal_sighup"
883 * core: allow kbd:[Ctrl+c] to exit WeeChat when the passphrase is asked on startup (issue #452)
884 * core: allow pointer as list name in evaluation of hdata (issue #450)
885 * api: add support of evaluated sub-strings and current date/time in function string_eval_expression and command /eval
886 * api: add function string_eval_path_home
887 * alias: add options "add", "addcompletion" and "del" in command /alias, remove command /unalias (issue #458)
888 * irc: add option irc.network.channel_encode (issue #218, issue #482)
889 * irc: add option irc.color.topic_current (issue #475)
890 * irc: evaluate content of server option "nicks"
891 * logger: evaluate content of option logger.file.path (issue #388)
892 * script: rename option script.scripts.dir to script.scripts.path, evaluate content of option (issue #388)
893 * relay: display value of HTTP header "X-Real-IP" for websocket connections (issue #440)
894 * xfer: evaluate content of options xfer.file.download_path and xfer.file.upload_path (issue #388)
895
896 Bug fixes::
897
898 * core: flush stdout/stderr after sending text directly on them (fix corrupted data sent to hook_process callback) (issue #442)
899 * core: allow execution of command "/input return" on a buffer which is not displayed in a window
900 * core: allow jump from current to previous buffer with default keys kbd:[Alt+j], kbd:[01..99] (issue #466)
901 * core: fix crash if a file descriptor used in hook_fd is too high (> 1024 on Linux/BSD) (issue #465)
902 * core: fix display of invalid UTF-8 chars in bars
903 * core: fix bar item "scroll" after /buffer clear (issue #448)
904 * core: fix display of time in bare display when option weechat.look.buffer_time_format is set to empty string (issue #441)
905 * api: add missing function infolist_search_var in script API (issue #484)
906 * api: add missing function hook_completion_get_string in script API (issue #484)
907 * api: fix type of value returned by functions strcasestr, utf8_prev_char, utf8_next_char, utf8_add_offset and util_get_time_string
908 * api: fix type of value returned by function strcasestr
909 * fifo: fix send error on Cygwin when something is received in the pipe (issue #436)
910 * irc: fix update of lag item when the server lag changes
911 * irc: do not allow command /query with a channel name (issue #459)
912 * irc: decode/encode only text in IRC messages and not the headers (bug #29886, issue #218, issue #451)
913 * irc: fix crash with commands /allchan, /allpv and /allserv if the executed command closes buffers (issue #445)
914 * 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)
915 * irc: fix errors displayed on WHOX messages received (issue #376)
916 * xfer: fix crash if the DCC file socket number is too high (> 1024 on Linux/BSD) (issue #465)
917 * xfer: fix parsing of DCC chat messages (handle "\r\n" at the end of messages) (issue #425, issue #426)
918
919 Documentation::
920
921 * replace PREFIX with CMAKE_INSTALL_PREFIX in CMake instructions (issue #354)
922
923 Build::
924
925 * lua: add detection of Lua 5.3
926 * ruby: add detection of Ruby 2.2
927
928 [[v1.2]]
929 == Version 1.2 (2015-05-10)
930
931 New features::
932
933 * core: add signals "signal_sigterm" and "signal_sigquit" (issue #114)
934 * core: use environment variable WEECHAT_HOME on startup (issue #391)
935 * core: add options weechat.look.quote_{nick_prefix|nick_suffix|time_format} to customize quoted messages in cursor mode (issue #403)
936 * core: add a welcome message on first WeeChat run (issue #318)
937 * core: add options weechat.look.word_chars_{highlight|input} (issue #55, task #9459)
938 * core: remove WeeChat version from config files (issue #407)
939 * core: display a warning on startup if the locale can not be set (issue #373)
940 * core: allow "*" as plugin name in command "/plugin reload" to reload all plugins with options
941 * core: add option "-s" in command /eval to split expression before evaluating it (no more split by default) (issue #324)
942 * core: add priority in plugins to initialize them in order
943 * api: add support of environment variables in function string_eval_expression and command /eval
944 * api: add support of full color option name in functions color and string_eval_expression and in command /eval
945 * api: add "_chat_line" (line pointer) in hashtable of hook_focus
946 * irc: add support of "account-notify" capability (issue #11, issue #246)
947 * irc: add support of "ecdsa-nist256p-challenge" SASL mechanism (issue #251)
948 * irc: display a warning when the option irc.look.display_away is set to "channel"
949 * irc: optimize search of a nick in nicklist (up to 3x faster)
950 * irc: add support of SHA-256 and SHA-512 algorithms in server option "ssl_fingerprint" (issue #281)
951 * irc: add option "-noswitch" in command /query (issue #394)
952 * irc: format message 008 (RPL_SNOMASK) (issue #144)
953 * irc: remove server "freenode" from default config file (issue #309)
954 * javascript: new script plugin for JavaScript
955
956 Bug fixes::
957
958 * core: add missing completions in command /input
959 * guile: fix value returned in case of error in functions: config_option_reset, config_color, config_color_default, config_write, config_read, config_reload, hook_command, buffer_string_replace_local_var, command
960 * irc: fix color of new nick in nick changes messages when option irc.look.color_nicks_in_server_messages is off
961 * irc: fix crash when setting an invalid regex with "/list -re" during a /list server response (issue #412)
962 * irc: fix display of PART messages on channels with +a (anonymous flag) (issue #396)
963 * irc: remove useless rename of channel buffer on JOIN received with different case (issue #336)
964 * irc: fix completion of commands /allchan and /allpv
965 * lua: fix wrong argument usage in functions nicklist_remove_group, nicklist_remove_nick and nicklist_remove_all (issue #346)
966 * lua: fix value returned in case of error in functions: config_option_reset, config_string, config_string_default, config_color, config_color_default, config_write, config_read, config_reload, hook_modifier_exec, buffer_string_replace_local_var, nicklist_group_set, nicklist_nick_set, command, upgrade_read, upgrade_close
967 * relay: fix up/down keys on relay buffer (issue #335)
968 * relay: remove v4-mapped addresses in /help relay.network.allowed_ips (issue #325)
969 * perl: fix value returned in case of error in functions: config_option_reset, config_color, config_color_default, config_write, config_read, config_reload, buffer_string_replace_local_var, command
970 * python: fix value returned in case of error in functions: config_option_reset, config_color, config_color_default, config_write, config_read, config_reload, config_is_set_plugin, buffer_get_string, buffer_string_replace_local_var, nicklist_group_get_string, nicklist_nick_get_string, command, hdata_time
971 * python: fix name of function "bar_update" in case of error
972 * python: fix restore of old interpreter when a function is not found in the script
973 * ruby: fix crash on /plugin reload (issue #364)
974 * ruby: fix value returned in case of error in functions: config_option_reset, config_color, config_color_default, config_write, config_read, config_reload, buffer_string_replace_local_var, command
975 * script: fix state of script plugins when list of scripts has not been downloaded
976 * scripts: reset current script pointer when load of script fails in python/perl/ruby/lua/tcl plugins
977 * scripts: fix return code of function bar_set in python/perl/ruby/lua/tcl/guile plugins
978 * scripts: fix type of value returned by function hdata_time (from string to long integer) in perl/ruby/lua/tcl/guile plugins
979 * tcl: fix value returned in case of error in functions: mkdir_home, mkdir, mkdir_parents, config_option_reset, config_color, config_color_default, config_write, config_read, config_reload, print_date_tags, buffer_string_replace_local_var, command, infolist_new_item, infolist_new_var_integer, infolist_new_var_string, infolist_new_var_pointer, infolist_new_var_time, upgrade_write_object, upgrade_read, upgrade_close
980 * trigger: do not hook anything if the trigger is disabled (issue #405)
981
982 Documentation::
983
984 * add Russian man page
985
986 [[v1.1.1]]
987 == Version 1.1.1 (2015-01-25)
988
989 Bug fixes::
990
991 * core: fix crash when a root bar has conditions different from active/inactive/nicklist (issue #317)
992 * irc: don't close channel buffer on second /part when option irc.look.part_closes_buffer is off (issue #313)
993 * irc: fix /join on a channel buffer opened with autojoin but which failed to join
994 * irc: send QUIT to server and no PART for channels when the server buffer is closed (issue #294)
995 * irc: fix order of channel buffers opened when option irc.look.server_buffer is set to "independent", irc.look.buffer_open_before_autojoin to "on" and irc.look.new_channel_position to "near_server" (issue #303)
996 * irc: fix crash in buffer close when server name is the same as a channel name (issue #305)
997
998 Build::
999
1000 * core: fix random error when creating symbolic link weechat-curses on make install with CMake (bug #40313)
1001
1002 [[v1.1]]
1003 == Version 1.1 (2015-01-11)
1004
1005 New features::
1006
1007 * core: add option weechat.completion.command_inline (task #12491)
1008 * core: add bar item "mouse_status", new options weechat.look.item_mouse_status and weechat.color.status_mouse (issue #247)
1009 * core: add signals "mouse_enabled" and "mouse_disabled" (issue #244)
1010 * core: add hide of chars in string in evaluation of expressions
1011 * core: add arraylists, improve speed of completions (about 50x faster)
1012 * core: allow incomplete commands if unambiguous, new option weechat.look.command_incomplete (task #5419)
1013 * core: check bar conditions in root bars and on each update of a bar item
1014 * core: fully evaluate commands bound to keys in cursor and mouse contexts
1015 * core: move bar item "scroll" between buffer name and lag in default bar items of status bar
1016 * api: add regex replace feature in function string_eval_expression
1017 * api: send value returned by command callback in function command, remove WeeChat error after command callback if return code is WEECHAT_RC_ERROR
1018 * api: use microseconds instead of milliseconds in functions util_timeval_diff and util_timeval_add
1019 * irc: add option "reorder" in command /server (issue #229)
1020 * irc: open channel buffers before the JOIN is received from server (autojoin and manual joins), new options irc.look.buffer_open_before_{autojoin|join} (issue #216)
1021 * irc: add server option "sasl_fail" (continue/reconnect/disconnect if SASL fails) (issue #265, task #12204)
1022 * irc: add support for color codes 16-99 in IRC messages (issue #228), add infolist "irc_color_weechat"
1023 * irc: add support of "extended-join" capability (issue #143, issue #212)
1024 * irc: display own nick changes in server buffer (issue #188)
1025 * irc: disable creation of temporary servers by default with command /connect, new option irc.look.temporary_servers
1026 * irc: disable SSLv3 by default in server option "ssl_priorities" (issue #248)
1027 * irc: automatically add current channel in command /samode (issue #241)
1028 * irc: add tag "nick_xxx" in invite messages
1029 * relay: add options "stop" and "restart" in command /relay
1030 * relay: add option relay.network.ssl_priorities (issue #234)
1031 * relay: add host in sender for IRC backlog PRIVMSG messages sent to clients
1032 * script: add option script.scripts.url_force_https (issue #253)
1033 * trigger: evaluate and replace regex groups at same time, new format for regex option in triggers (incompatible with version 1.0) (issue #224)
1034 * trigger: add option "restore" in command /trigger
1035 * trigger: add `${tg_displayed}` in conditions of default trigger "beep"
1036
1037 Bug fixes::
1038
1039 * core: fix display bug when scrolling in buffer on a filtered line (issue #240)
1040 * core: send mouse code only one time to terminal with command /mouse enable|disable|toggle
1041 * core: fix buffer property "lines_hidden" when merging buffers or when a line is removed from a buffer (issue #226)
1042 * core: display time in bare display only if option weechat.look.buffer_time_format is not an empty string
1043 * core: fix translation of message displayed after /upgrade
1044 * api: fix truncated process output in hook_process (issue #266)
1045 * api: fix crash when reading config options with NULL value (issue #238)
1046 * irc: defer the auto-connection to servers with a timer (issue #279, task #13038)
1047 * irc: add missing server options "sasl_timeout" and "notify" in output of /server listfull
1048 * irc: use option irc.look.nick_mode_empty to display nick prefix in bar item "input_prompt"
1049 * irc: remove IRC color codes from buffer title in channels (issue #237)
1050 * irc: fix completion of commands /msg, /notice and /query
1051 * irc: fix translation of CTCP PING reply (issue #137)
1052 * relay: wait for message CAP END before sending join of channels and backlog to the client (issue #223)
1053 * relay: send messages "_buffer_localvar_*" and "_buffer_type_changed" with sync "buffers" (issue #191)
1054 * relay: don't remove relay from config when the binding fails (issue #225)
1055 * relay: use comma separator in option relay.irc.backlog_tags, check the value of option when it is changed with /set
1056 * relay: remove "::ffff:" from IPv4-mapped IPv6 client address (issue #111)
1057 * trigger: fix memory leak when allocating a new trigger with several regex
1058 * xfer: fix freeze when accepting DCC (issue #160, issue #174)
1059 * xfer: bind to wildcard address when sending (issue #173)
1060
1061 Build::
1062
1063 * core: fix compilation of man pages with autotools in source directory
1064 * core: fix compilation of plugins with CMake >= 3.1 (issue #287)
1065 * lua: add detection of Lua 5.2
1066 * python: fix Python detection with Homebrew (issue #217)
1067 * tests: fix compilation of tests with clang (issue #275)
1068
1069 [[v1.0.1]]
1070 == Version 1.0.1 (2014-09-28)
1071
1072 Bug fixes::
1073
1074 * core: fix crash on buffer close when option weechat.look.hotlist_remove is set to "merged" (issue #199)
1075 * core: fix highlight of IRC action messages when option irc.look.nick_mode is set to "action" or "both" (issue #206)
1076 * core: fix compilation of plugin API functions (macros) when compiler optimizations are enabled (issue #200)
1077 * core: fix window/buffer pointers used in command /eval
1078 * core: fix modifier "weechat_print": discard only one line when several lines are displayed in same message (issue #171)
1079 * api: fix bug in function hdata_move when absolute value of count is greater than 1
1080 * aspell: fix crash with command "/aspell addword" if no word is given (issue #164, issue #165)
1081 * irc: fix display of channel exception list (348) with 6 arguments (date missing)
1082 * irc: fix type of value stored in hashtable when joining a channel (issue #211)
1083 * relay: fix send of signals "relay_client_xxx" (issue #214)
1084 * script: fix crash on "/script update" if a script detail is displayed in buffer (issue #177)
1085 * trigger: do not allow any changes on a trigger when it is currently running (issue #189)
1086 * trigger: fix regex used in default triggers to hide passwords ("\S" is not supported on *BSD) (issue #172)
1087
1088 Tests::
1089
1090 * core: fix memory leak in tests launcher
1091
1092 Build::
1093
1094 * aspell: fix compilation with Enchant < 1.6.0 (issue #192)
1095 * guile: fix compilation with Guile < 2.0.4 (issue #198)
1096 * perl: fix detection of Perl >= 5.20 with autotools
1097 * tests: fix build of tests when the build directory is outside source tree (issue #178)
1098
1099 [[v1.0]]
1100 == Version 1.0 (2014-08-15)
1101
1102 New features::
1103
1104 * core: display a warning on startup if $TERM does not start with "screen" under Screen/Tmux
1105 * core: add option weechat.color.status_nicklist_count (issue #109, issue #110)
1106 * core: add option "env" in command /set (manage environment variables)
1107 * core: add bar item "buffer_short_name" (task #10882)
1108 * core: add option "send" in command /input (send text to a buffer)
1109 * core: add support of negated tags in filters (with "!") (issue #72, issue #74)
1110 * core: add hidden buffers, add options hide/unhide in command /buffer
1111 * core: add default key kbd:[Alt+-] (toggle filters in current buffer) (issue #17)
1112 * core: add non-active merged buffers with activity in hotlist (if another merged buffer is zoomed) (task #12845)
1113 * core: add text search in buffers with free content (task #13051)
1114 * core: add buffer property "clear"
1115 * core: add option weechat.look.hotlist_add_conditions, remove option weechat.look.hotlist_add_buffer_if_away
1116 * core: add option weechat.look.hotlist_remove (issue #99)
1117 * core: add options "-beep" and "-current" in command /print
1118 * core: add bare display mode for easy text selection and click on URLs, new key: kbd:[Alt+l] (`L`), new option "bare" in command /window, new options: weechat.look.bare_display_exit_on_input and weechat.look.bare_display_time_format
1119 * core: add signals "key_combo_{default|search|cursor}"
1120 * core: add terabyte unit for size displayed
1121 * core: display a warning in case of inconsistency between the options weechat.look.save_{config|layout}_on_exit
1122 * core: add option "-mask" in command /unset (issue #112)
1123 * core: set option weechat.look.buffer_search_where to prefix_message by default
1124 * core: mute all buffers by default in command /mute (replace option -all by -core)
1125 * api: allow value "-1" for property "hotlist" in function buffer_set (to remove a buffer from hotlist)
1126 * api: add option "buffer_flush" in function hook_process_hashtable
1127 * api: add support of case insensitive search and search by buffer full name in function buffer_search (bug #34318)
1128 * api: add option "detached" in function hook_process_hashtable
1129 * api: add option "signal" in function hook_set to send a signal to the child process
1130 * api: add support of nested variables in function string_eval_expression and command /eval (issue #35)
1131 * api: add support of escaped strings with format `${esc:xxx}` or `${\xxx}` in function string_eval_expression and command /eval
1132 * api: add functions hashtable_dup, string_replace_regex, string_split_shell, string_convert_escaped_chars
1133 * api: add integer return code for functions hook_{signal|hsignal}_send
1134 * api: add argument "flags" in function hdata_new_list
1135 * api: allow wildcard "*" inside the mask in function string_match
1136 * api: allow negative value for y in function printf_y
1137 * alias: add default alias "msgbuf" (send text to a buffer)
1138 * exec: add exec plugin: new command /exec and file exec.conf
1139 * irc: add bar item "irc_nick_modes" (issue #71)
1140 * irc: add support of message 324 (channel modes) in option irc.look.display_join_message (issue #75)
1141 * irc: add option irc.look.join_auto_add_chantype (issue #65)
1142 * irc: add tag with host ("host_xxx") in IRC messages displayed (task #12018)
1143 * irc: add option irc.color.item_nick_modes (issue #47)
1144 * irc: add support of "away-notify" capability (issue #12)
1145 * irc: add command /remove (issue #91)
1146 * irc: add command /unquiet (issue #36)
1147 * irc: add command /allpv (task #13111)
1148 * irc: display locally away status changes in private buffers (in addition to channels) (issue #117)
1149 * irc: allow many fingerprints in server option ssl_fingerprint (issue #49)
1150 * irc: rename option irc.look.item_channel_modes_hide_key to irc.look.item_channel_modes_hide_args, value is now a string (task #12070, task #12163, issue #48)
1151 * irc: add value "+" for option irc.look.smart_filter_mode to use modes from server prefixes (this is now the default value) (issue #90)
1152 * irc: allow "$ident" in option irc.network.ban_mask_default (issue #18)
1153 * irc: evaluate content of server options "username" and "realname"
1154 * irc: set option irc.network.autoreconnect_delay_max to 600 by default, increase max value to 604800 seconds (7 days)
1155 * irc: set option irc.network.whois_double_nick to "off" by default
1156 * relay: add messages "_buffer_cleared", "_buffer_hidden" and "_buffer_unhidden"
1157 * relay: add info "relay_client_count" with optional status name as argument
1158 * relay: add signals "relay_client_xxx" for client status changes (issue #2)
1159 * relay: add option relay.network.clients_purge_delay
1160 * rmodifier: remove plugin (replaced by trigger)
1161 * script: set option script.scripts.cache_expire to 1440 by default
1162 * trigger: add trigger plugin: new command /trigger and file trigger.conf
1163
1164 Bug fixes::
1165
1166 * core: fix zero-length malloc of an hashtable item with type "buffer"
1167 * core: fix memory leak on /upgrade when file signature in upgrade file is invalid
1168 * core: fix memory leak in completion of config options values
1169 * core: fix memory leak when removing script files
1170 * core: fix result of hash function (in hashtables) on 32-bit systems
1171 * core: fix insert of mouse code in input line after a partial key combo (issue #130)
1172 * core: check code point value in UTF-8 check function (issue #108)
1173 * core: fix socks5 proxy for curl downloads (issue #119)
1174 * core: display curl error after a failed download
1175 * core: do not display content of passphrase on /secure buffer
1176 * core: fix potential memory leak with infolists not freed in plugins (debian #751108)
1177 * core: fix color display of last terminal color number + 1 (issue #101)
1178 * core: add option "-buffer" in command /command (issue #67)
1179 * core: fix restoration of core buffer properties after /upgrade
1180 * core: fix "/buffer clear" with a name (don't clear all merged buffers with same number)
1181 * core: fix evaluation of expression with regex: when a comparison char is in the regex and don't evaluate the regex itself (issue #63)
1182 * core: close .upgrade files before deleting them after /upgrade
1183 * core: fix refresh of bar item "buffer_zoom" on buffer switch
1184 * core: fix reset of attributes in bars when "resetcolor" is used (issue #41)
1185 * core: fix alignment of lines in merged buffers when options weechat.look.prefix_align and weechat.look.prefix_buffer_align are set to "none" (issue #43)
1186 * core: quit WeeChat on signal SIGHUP, remove signal "signal_sighup"
1187 * core: fix add of filter on macOS when regex for message is empty (filter regex ending with "\t")
1188 * core: check validity of buffer pointer when data is sent to a buffer (command/text from user and API function command)
1189 * core: fix crash when buffer is closed during execution of multiple commands (issue #27)
1190 * core: fix compilation on SmartOS (bug #40981, issue #23)
1191 * core: add missing \0 at the end of stderr buffer in function hook_process
1192 * core: fix highlight problem with "(?-i)" and upper case letters in option weechat.look.highlight (issue #24)
1193 * core: fix detection of terminated process in function hook_process
1194 * core: fix "/window scroll -N" on a buffer with free content
1195 * core: fix recursive calls to function eval_expression
1196 * core: save and restore mute state in command /mute (bug #41748)
1197 * core: fix memory leak when removing a hdata
1198 * core: fix memory leak in evaluation of sub-conditions
1199 * core: fix memory leak in function gui_key_add_to_infolist (in case of insufficient memory)
1200 * core: fix use of invalid pointer in function gui_bar_window_content_alloc (in case of insufficient memory)
1201 * core: fix uninitialized value in function string_decode_base64
1202 * core: fix memory leak and use of invalid pointer in split of string (in case of insufficient memory)
1203 * core: fix potential NULL pointer in function gui_color_emphasize
1204 * core: use same return code and message in all commands when arguments are wrong/missing
1205 * core: allow empty arguments for command /print
1206 * core: fix freeze/crash in GnuTLS (bug #41576)
1207 * api: fix function string_decode_base64
1208 * api: fix function string_format_size on 32-bit systems
1209 * api: change type of arguments displayed/highlight in hook_print callback from string to integer (in scripts)
1210 * alias: change default command for alias /beep to "/print -beep"
1211 * guile: fix module used after unload of a script
1212 * irc: fix memory leak in CTCP answer
1213 * irc: fix duplicate sender name in display of wallops (issue #142, issue #145)
1214 * irc: fix extract of channel in parser for JOIN/PART messages when there is a colon before the channel name (issue #83)
1215 * irc: fix duplicate sender name in display of notice (issue #87)
1216 * irc: fix refresh of buffer name in bar items after join/part/kick/kill (issue #86)
1217 * irc: display message 936 (censored word) on channel instead of server buffer
1218 * irc: make reason optional in command /kill
1219 * irc: add alias "whois" for target buffer of messages 401/402 (issue #54)
1220 * irc: fix truncated read on socket with SSL (bug #41558)
1221 * irc: display output of CAP LIST in server buffer
1222 * irc: fix colors in message with CTCP reply sent to another user
1223 * irc: fix read of MODES server value when in commands /op, /deop, /voice, /devoice, /halfop, /dehalfop
1224 * irc: fix parsing of nick in host when "!" is not found (bug #41640)
1225 * lua: fix interpreter used after unload of a script
1226 * perl: fix context used after unload of a script
1227 * python: fix read of return value for callbacks returning an integer in Python 2.x (issue #125)
1228 * python: fix interpreter used after unload of a script
1229 * relay: fix memory leak during handshake on websocket
1230 * relay: fix memory leak when receiving commands from client (weechat protocol)
1231 * relay: fix crash when an IRC "MODE" command is received from client without arguments
1232 * relay: fix number of bytes sent/received on 32-bit systems
1233 * relay: fix crash when closing relay buffers (issue #57, issue #78)
1234 * relay: check pointers received in hdata command to prevent crashes with bad pointers (WeeChat protocol)
1235 * relay: remove warning on /reload of relay.conf when ports are defined
1236 * relay: fix client disconnection on empty websocket frames received (PONG)
1237 * relay: add support of Internet Explorer websocket (issue #73)
1238 * relay: fix crash on /upgrade received from a client (weechat protocol)
1239 * relay: fix freeze after /upgrade when many disconnected clients still exist
1240 * relay: fix NULL pointer when reading buffer lines for irc backlog
1241 * ruby: fix crash when trying to load a directory with /ruby load
1242 * script: fix display of curl errors
1243 * script: fix scroll on script buffer in the detailed view of script (issue #6)
1244 * scripts: fix crash when a signal is received with type "int" and NULL pointer in signal_data
1245 * xfer: fix problem with option xfer.file.auto_accept_nicks when the server name contains dots
1246 * xfer: fix freeze/problems when sending empty files with DCC (issue #53)
1247 * xfer: fix connection to remote host in DCC receive on macOS (issue #25)
1248 * xfer: remove bind on xfer.network.own_ip (issue #5)
1249
1250 Build::
1251
1252 * core: fix CMake warning CMP0007 on "make uninstall" (bug #41528)
1253 * core: use glibtoolize on macOS (autotools) (issue #22)
1254 * ruby: add detection of Ruby 2.1
1255
1256 Tests::
1257
1258 * core: add unit tests using CppUTest (issue #104)
1259
1260 [[v0.4.3]]
1261 == Version 0.4.3 (2014-02-09)
1262
1263 New features::
1264
1265 * core: add signals "signal_sighup" and "signal_sigwinch" (terminal resized)
1266 * core: add command /print, add support of more escaped chars in command "/input insert"
1267 * core: add option weechat.look.tab_width
1268 * core: add completion "plugins_installed"
1269 * core: add option weechat.look.window_auto_zoom, disable automatic zoom by default when terminal becomes too small for windows
1270 * core: use "+" separator to make a logical "and" between tags in command /filter, option weechat.look.highlight_tags and buffer property "highlight_tags"
1271 * core: add options weechat.look.buffer_auto_renumber and weechat.look.buffer_position, add option "renumber" in command /buffer, add bar item "buffer_last_number" (task #12766)
1272 * core: add signal "buffer_cleared"
1273 * core: add buffer property "day_change" to hide messages for the day change in specific buffers
1274 * core: add option "libs" in command /debug
1275 * core: add infos "term_width" and "term_height"
1276 * core: add bar item "buffer_zoom", add signals "buffer_{zoomed|unzoomed}" (patch #8204)
1277 * core: add default keys kbd:[Alt+Home] / kbd:[Alt+End] (`meta2-1;3H` / `meta2-1;3F`) and kbd:[Alt+F11] / kbd:[Alt+F12] (`meta2-23;3~` / `meta2-24;3~`) for xterm
1278 * core: add support of italic text (requires ncurses >= 5.9 patch 20130831)
1279 * core: add options to customize default text search in buffers: weechat.look.buffer_search_{case_sensitive|force_default|regex|where}
1280 * core: add support of UTF-8 chars in horizontal/vertical separators (options weechat.look.separator_{horizontal|vertical})
1281 * core: add support of logical and/or for argument "tags" in function hook_print
1282 * core: rename buffer property "highlight_tags" to "highlight_tags_restrict", new behavior for buffer property "highlight_tags" (force highlight on tags), rename option irc.look.highlight_tags to irc.look.highlight_tags_restrict
1283 * core: rename options save/reset to store/del in command /layout
1284 * core: replace default key kbd:[Ctrl+c], kbd:[r] by kbd:[Ctrl+c], kbd:[v] for reverse video in messages
1285 * core: replace default key kbd:[Ctrl+c], kbd:[u] by kbd:[Ctrl+c], kbd:[_] for underlined text in messages
1286 * core: rename option weechat.look.set_title to weechat.look.window_title, value is now a string (evaluated)
1287 * core: set option weechat.look.paste_bracketed to "on" by default
1288 * core: use one date format when day changes from day to day+1
1289 * api: add function infolist_search_var
1290 * api: add stdin options in functions hook_process_hashtable and hook_set to send data on stdin of child process, add function hook_set in script API (task #10847, task #13031)
1291 * api: add hdata "buffer_visited"
1292 * api: add support of infos with format `${info:name,arguments}` in function string_eval_expression and command /eval
1293 * api: add support for C++ plugins
1294 * alias: add default alias /beep => /print -stderr \a
1295 * irc: add server option "ssl_fingerprint" (task #12724)
1296 * irc: add option irc.look.smart_filter_mode (task #12499)
1297 * irc: add option irc.network.ban_mask_default (bug #26571)
1298 * irc: add option irc.network.lag_max
1299 * irc: add option irc.look.notice_welcome_tags
1300 * irc: add server option "default_msg_kick" to customize default kick/kickban message (task #12777)
1301 * irc: use MONITOR instead of ISON for /notify when it is available on server (task #11477)
1302 * relay: send backlog for irc private buffers
1303 * xfer: add support of IPv6 for DCC chat/file (patch #7992)
1304 * xfer: add option xfer.file.auto_check_crc32 (patch #7963)
1305
1306 Bug fixes::
1307
1308 * core: fix hotlist problems after apply of a layout (bug #41481)
1309 * core: fix crash when creating two bars with same name but different case (bug #41418)
1310 * core: fix display of read marker when all buffer lines are unread and that option weechat.look.read_marker_always_show is on
1311 * core: fix memory leak in regex matching when evaluating expression
1312 * core: fix crash in /eval when config option has a NULL value
1313 * core: fix crash with hdata_update on shared strings, add hdata type "shared_string" (bug #41104)
1314 * core: fix text emphasis with wide chars on screen like Japanese (patch #8253)
1315 * core: remove option on /unset of plugin description option (plugins.desc.xxx) (bug #40768)
1316 * core: fix random crash when closing a buffer
1317 * core: fix crash on /buffer close core.weechat
1318 * core: apply color attributes when clearing a window (patch #8236)
1319 * core: fix truncated text when pasting several long lines (bug #40210)
1320 * core: create .conf file with default options only if the file does not exist (and not on read error with existing file)
1321 * core: fix highlight on action messages: skip the nick at beginning to prevent highlight on it (bug #40516)
1322 * core: fix bind of keys in cursor/mouse context when key starts with "@" (remove the warning about unsafe key)
1323 * core: fix truncated prefix when filters are toggled (bug #40204)
1324 * api: fix read of arrays in hdata functions hdata_<type> (bug #40354)
1325 * aspell: fix detection of nicks with non-alphanumeric chars
1326 * guile: disable guile gmp allocator (fix crash on unload of relay plugin) (bug #40628)
1327 * irc: clear the GnuTLS session in all cases after SSL connection error
1328 * irc: do not display names by default when joining a channel (task #13045)
1329 * irc: display PONG answer when resulting from manual /ping command
1330 * irc: fix time parsed in tag of messages on Cygwin
1331 * irc: use statusmsg from message 005 to check prefix char in status notices/messages
1332 * irc: remove display of channel in channel notices, display "PvNotice" for channel welcome notices
1333 * irc: fix ignore on a host without nick
1334 * irc: use color code 0x1F (`ctrl-_`) for underlined text in input line (same code as messages) (bug #40756)
1335 * irc: use color code 0x16 (`ctrl-v`) for reverse video in messages
1336 * irc: use option irc.network.colors_send instead of irc.network.colors_receive when displaying messages sent by commands /away, /me, /msg, /notice, /query
1337 * irc: fix memory leak when checking the value of ssl_priorities option in servers
1338 * irc: fix memory leak when a channel is deleted
1339 * irc: fix groups in channel nicklist when reconnecting to a server that supports more nick prefixes than the previously connected server
1340 * irc: fix auto-switch to channel buffer when doing /join channel (without "#")
1341 * logger: fix memory leaks in backlog
1342 * logger: replace backslashs in name by logger replacement char under Cygwin (bug #41207)
1343 * lua: fix crash on calls to callbacks during load of script
1344 * python: fix load of scripts with Python >= 3.3
1345 * relay: fix memory leak on unload of relay plugin
1346 * ruby: fix ruby init with Ruby >= 2.0 (bug #41115)
1347 * scripts: fix script interpreter used after register during load of script in python/perl/ruby/lua/guile plugins (bug #41345)
1348 * xfer: use same infolist for hook and signals (patch #7974)
1349
1350 Documentation::
1351
1352 * add French developer's guide and relay protocol
1353 * add Japanese plugin API reference and developer's guide
1354 * add Polish man page and user's guide
1355
1356 Build::
1357
1358 * core: fix installation of weechat-plugin.h with autotools (patch #8305)
1359 * core: fix compilation on Android (bug #41420, patch #8301, bug #41434)
1360 * lua: fix detection of Lua 5.2 in autotools (patch #8270)
1361 * ruby: add detection and fix compilation with Ruby 2.0 (patch #8209)
1362
1363 [[v0.4.2]]
1364 == Version 0.4.2 (2013-10-06)
1365
1366 New features::
1367
1368 * core: display day change message dynamically (do not store it as a line in buffer), split option weechat.look.day_change_time_format into two options weechat.look.day_change_message_{1date|2dates}, new option weechat.color.chat_day_change (task #12775)
1369 * core: add syntax "@buffer:item" in bar items to force the buffer used when displaying the bar item (task #12717)
1370 * core: add search of regular expression in buffer, don't reset search type on a new search, select where to search (messages/prefixes), add keys in search context: kbd:[Alt+c] (case (in)sensitive search), kbd:[Tab] (search in messages/prefixes)
1371 * core: add text emphasis in messages when searching text in buffer, new options: weechat.look.emphasized_attributes, weechat.color.emphasized, weechat.color.emphasized_bg
1372 * core: add secured data (encryption of passwords or private data): add new command /secure and new file sec.conf (task #7395)
1373 * core: rename binary and man page from "weechat-curses" to "weechat" (task #11027)
1374 * core: add option "-o" in command /color
1375 * core: add option "scroll_beyond_end" for command /window (task #6745)
1376 * core: add options weechat.look.hotlist_prefix and weechat.look.hotlist_suffix (task #12730)
1377 * core: add option weechat.look.key_bind_safe
1378 * core: add option weechat.network.proxy_curl (task #12651)
1379 * core: add "proxy" infolist and hdata
1380 * core: add infolist "layout" and hdata "layout", "layout_buffer" and "layout_window"
1381 * core: reduce memory used by using shared strings for nicklist and lines in buffers
1382 * core: change color format for options weechat.look.buffer_time_format and weechat.look.prefix_{action|error|join|network|quit} from `${xxx}` to `${color:xxx}`
1383 * core: optimize the removal of lines in buffers (a lot faster to clear/close buffers with lot of lines)
1384 * core: set options weechat.look.color_inactive_{buffer|window} to "on" by default
1385 * api: return hashtable item pointer in functions hashtable_set and hashtable_set_with_size
1386 * api: add "callback_free_key" in hashtable
1387 * api: add support of colors with format `${color:xxx}` in function string_eval_expression and command /eval
1388 * api: add argument "options" in function string_eval_expression, add option "-c" in command /eval (to evaluate a condition)
1389 * api: add new function strlen_screen
1390 * aspell: rename option aspell.look.color to aspell.color.misspelled, add option aspell.color.suggestions
1391 * aspell: add support of enchant library (patch #6858)
1392 * irc: add option irc.look.notice_welcome_redirect to automatically redirect channel welcome notices to the channel buffer
1393 * irc: add support of wildcards in commands (de)op/halfop/voice, split IRC message sent if number of nicks is greater than server MODES (from message 005) (task #9221)
1394 * irc: add option irc.look.pv_tags
1395 * irc: add support of special variables $nick/$channel/$server in commands /allchan and /allserv
1396 * irc: add option irc.look.nick_color_hash: hash algorithm to find nick color (patch #8062)
1397 * logger: add option "flush" in command /logger
1398 * plugins: remove the demo plugin
1399 * relay: add command "ping" in weechat protocol (task #12689)
1400 * rmodifier: add option "missing" in command /rmodifier
1401 * script: add info about things defined by script (like commands, options, ...) in the detailed view of script (/script show)
1402 * scripts: add hdata with script callback
1403 * xfer: add option xfer.look.pv_tags
1404
1405 Bug fixes::
1406
1407 * core: clear whole line before displaying content instead of clearing after the end of content (bug #40115)
1408 * core: fix time displayed in status bar (it was one second late) (bug #40097)
1409 * core: fix memory leak on unhook of a print hook (if using tags)
1410 * core: fix computation of columns in output of /help (take care about size of time/buffer/prefix)
1411 * core: fix random crash on "/buffer close" with a buffer number (or a range of buffers)
1412 * core: fix priority of logical operators in evaluation of expression (AND takes precedence over the OR) and first evaluate sub-expressions between parentheses
1413 * core: remove gap after read marker line when there is no bar on the right (bug #39548)
1414 * core: use "/dev/null" for stdin in hook_process instead of closing stdin (bug #39538)
1415 * core: fix char displayed at the intersection of three windows (bug #39331)
1416 * core: fix crash in evaluation of expression when reading a string in hdata with a NULL value (bug #39419)
1417 * core: fix display bugs with some UTF-8 chars that truncates messages displayed (for example U+26C4) (bug #39201)
1418 * core: remove extra space after empty prefix (when prefix for action, error, join, network or quit is set to empty string) (bug #39218)
1419 * core: fix random crash on mouse actions (bug #39094)
1420 * core: fix line alignment when option weechat.look.buffer_time_format is set to empty string
1421 * api: change type of hashtable key hash to unsigned long
1422 * api: use pointer for infolist "hook" to return only one hook
1423 * aspell: fix detection of word start/end when there are apostrophes or minus chars before/after word
1424 * irc: fix reconnection to server using IPv6 (bug #38819, bug #40166)
1425 * irc: replace default prefix modes "qaohvu" by the standard ones "ov" when PREFIX is not sent by server (bug #39802)
1426 * irc: use 6697 as default port for SSL servers created with URL "ircs://" (bug #39621)
1427 * irc: display number of ops/halfops/voices on channel join only for supported modes on server (bug #39582)
1428 * irc: fix self nick color in server messages after nick is changed with /nick (bug #39415)
1429 * irc: fix error message on /invite without arguments (bug #39272)
1430 * irc: fix multiple nicks in command /query (separated by commas): open one buffer per nick
1431 * lua: fix interpreter used in API functions (bug #39470)
1432 * relay: fix decoding of websocket frames when there are multiple frames in a single message received (only the first one was decoded)
1433 * relay: fix binding to an IP address (bug #39119)
1434
1435 Documentation::
1436
1437 * update man page and add translations (in French, German, Italian, and Japanese)
1438
1439 Build::
1440
1441 * core: add CA_FILE option in CMake and configure to setup default value of option weechat.network.gnutls_ca_file (default is "/etc/ssl/certs/ca-certificates.crt") (task #12725)
1442 * core: disable build of doc by default, add CMake option ENABLE_MAN to compile man page (off by default)
1443 * xfer: fix compilation on OpenBSD (bug #39071)
1444
1445 [[v0.4.1]]
1446 == Version 0.4.1 (2013-05-20)
1447
1448 New features::
1449
1450 * core: make nick prefix/suffix dynamic (not stored in the line): move options irc.look.nick_{prefix|suffix} to weechat.look.nick_{prefix|suffix} and options irc.color.nick_{prefix|suffix} to weechat.color.chat_nick_{prefix|suffix}, add new options weechat.look.prefix_align_more_after, weechat.look.prefix_buffer_align_more_after, logger.file.nick_{prefix|suffix} (bug #37531)
1451 * core: add support of multiple layouts (task #11274)
1452 * core: add signals nicklist_{group|nick}_removing and hsignals nicklist_{group|nick}_{added|removing|changed}
1453 * core: add count for groups, nicks, and total in nicklist
1454 * core: add option "dirs" in command /debug
1455 * core: add signal "window_opened" (task #12464)
1456 * core: allow read of array in hdata without using index
1457 * api: add new function hdata_search
1458 * api: add property "completion_freeze" for function buffer_set: do not stop completion when command line is updated
1459 * aspell: add completion "aspell_dicts" (list of aspell installed dictionaries)
1460 * aspell: add info "aspell_dict" (dictionaries used on a buffer)
1461 * aspell: optimization on spellers to improve speed (save state by buffer)
1462 * irc: add support of "dh-aes" SASL mechanism (patch #8020)
1463 * irc: add support of UHNAMES (capability "userhost-in-names") (task #9353)
1464 * irc: add tag "irc_nick_back" for messages displayed in private buffer when a nick is back on server (task #12576)
1465 * irc: add option irc.look.display_join_message (task #10895)
1466 * irc: add option irc.look.pv_buffer: automatically merge private buffers (optionally by server) (task #11924)
1467 * irc: hide passwords in commands or messages sent to nickserv (/msg nickserv) with new modifiers "irc_command_auth" and "irc_message_auth", remove option irc.look.hide_nickserv_pwd, add option irc.look.nicks_hide_password (bug #38346)
1468 * irc: unmask smart filtered join if nick speaks in channel some minutes after the join, new option irc.look.smart_filter_join_unmask (task #12405)
1469 * irc: rename option irc.network.lag_disconnect to irc.network.lag_reconnect, value is now a number of seconds
1470 * relay: add message "_nicklist_diff" (differences between old and current nicklist)
1471 * relay: add support of multiple servers on same port for irc protocol (the client must send the server in the "PASS" command)
1472 * relay: add WebSocket server support (RFC 6455) for irc and weechat protocols, new option relay.network.websocket_allowed_origins
1473 * relay: add options "buffers" and "upgrade" in commands sync/desync (weechat protocol)
1474 * rmodifier: rename default rmodifier "nickserv" to "command_auth" (with new modifier "irc_command_auth"), add default rmodifier "message_auth" (modifier "irc_message_auth")
1475 * script: add option script.scripts.autoload, add options "autoload", "noautoload" and "toggleautoload" for command /script, add action "A" (kbd:[Alt+a]) on script buffer (toggle autoload) (task #12393)
1476 * xfer: add option xfer.file.auto_accept_nicks (patch #7962)
1477
1478 Bug fixes::
1479
1480 * core: fix display of long lines without time (message beginning with two tabs)
1481 * core: reset scroll in window before zooming on a merged buffer (bug #38207)
1482 * core: fix refresh of item "completion": clear it after any action that is changing content of command line and after switch of buffer (bug #38214)
1483 * core: fix structures before buffer data when a buffer is closed
1484 * core: fix refresh of line after changes with hdata_update (update flag "displayed" according to filters)
1485 * core: fix hidden lines for messages without date when option weechat.history.max_buffer_lines_minutes is set (bug #38197)
1486 * core: use default hash/comparison callback for keys of type integer/pointer/time in hashtable
1487 * api: do not display a warning by default when loading a script with a license different from GPL
1488 * api: fix connection to servers with hook_connect on macOS (bug #38496)
1489 * api: fix bug in function string_match when mask begins and ends with "*"
1490 * api: allow hashtable with keys that are not strings in function hashtable_add_to_infolist
1491 * api: fix function string_mask_to_regex: escape all special chars used in regex (bug #38398)
1492 * guile: fix crash in function hdata_move
1493 * guile: fix arguments given to callbacks (separate arguments instead of one list with arguments inside), Guile >= 2.0 is now required (bug #38350)
1494 * guile: fix crash on calls to callbacks during load of script (bug #38343)
1495 * irc: fix name of server buffer after /server rename (set name "server.name" instead of "name")
1496 * irc: fix uncontrolled format string when sending unknown irc commands (if option irc.network.send_unknown_commands is on)
1497 * irc: fix uncontrolled format string when sending ison command (for nicks monitored by /notify)
1498 * irc: fix refresh of nick in input bar when joining a new channel with op status (bug #38969)
1499 * irc: fix display of CTCP messages that contain bold attribute (bug #38895)
1500 * irc: fix duplicate nick completion when someone rejoins the channel with same nick but a different case (bug #38841)
1501 * irc: fix crash on command "/allchan /close"
1502 * irc: fix default completion (like nicks) in commands /msg, /notice, /query and /topic
1503 * irc: fix prefix color for nick when the prefix is not in irc.color.nick_prefixes: use default color (key "*")
1504 * irc: fix display of malformed CTCP (without closing char) (bug #38347)
1505 * irc: fix memory leak in purge of hashtables with joins (it was done only for the first server in the list)
1506 * irc: add color in output of /names when result is on server buffer (channel not joined) (bug #38070)
1507 * lua: remove use of functions for API constants
1508 * lua: fix crash on stack overflow: call lua_pop for values returned by lua functions (bug #38510)
1509 * perl: simplify code to load scripts
1510 * python: fix crash when loading scripts with Python 3.x (patch #8044)
1511 * relay: fix uncontrolled format string in redirection of irc commands
1512 * relay: rename compression "gzip" to "zlib" (compression is zlib, not gzip)
1513 * relay: fix commands sync/desync in weechat protocol (bug #38215)
1514 * ruby: fix crash in function hdata_move
1515 * ruby: fix crash with Ruby 2.0: use one array for the last 6 arguments of function config_new_option (bug #31050)
1516 * script: create "script" directory on each action, just in case it has been removed (bug #38472)
1517 * scripts: create directories (language and language/autoload) on each action (install/remove/autoload), just in case they have been removed (bug #38473)
1518 * scripts: do not allow empty script name in function register
1519 * xfer: fix freeze of DCC file received: use non-blocking socket after connection to sender and ensure the ACK is properly sent (bug #38340)
1520
1521 Build::
1522
1523 * core: install icon file (patch #7972)
1524 * core: fix detection of iconv with CMake on macOS (bug #38321)
1525 * guile: fix compilation with Guile 2.0
1526 * python: fix detection of Python on Ubuntu Raring
1527 * script: fix compilation on GNU/Hurd (patch #7977)
1528
1529 [[v0.4.0]]
1530 == Version 0.4.0 (2013-01-20)
1531
1532 New features::
1533
1534 * core: add buffer pointer in arguments for signals "input_search", "input_text_changed" and "input_text_cursor_moved"
1535 * core: add option "diff" in command /set (list options with changed value)
1536 * core: add color support in options weechat.look.prefix_{action|error|join|network|quit} (task #9555)
1537 * core: display default values for changed config options in output of /set
1538 * core: add command /eval, use expression in conditions for bars
1539 * core: add option "-quit" in command /upgrade (save session and quit without restarting WeeChat, for delayed restoration)
1540 * core: add incomplete mouse events "event-down" and "event-drag" (task #11840)
1541 * api: allow return code WEECHAT_RC_OK_EAT in callbacks of hook_signal and hook_hsignal (stop sending the signal immediately)
1542 * api: allow creation of structure with hdata_update (allowed for hdata "history")
1543 * api: use hashtable "options" for command arguments in function hook_process_hashtable (optional, default is a split of string with command)
1544 * api: add new function string_eval_expression
1545 * api: connect with IPv6 by default in hook_connect (with fallback to IPv4), shuffle list of hosts for a same address, add argument "retry" for hook_connect, move "sock" from hook_connect arguments to callback of hook_connect (task #11205)
1546 * aspell: add signal "aspell_suggest" (sent when new suggestions are displayed)
1547 * aspell: add bar items "aspell_dict" (dictionary used on current buffer) and "aspell_suggest" (suggestions for misspelled word at cursor), add option aspell.check.suggestions (task #12061)
1548 * irc: add tags "irc_nick1_xxx" and "irc_nick2_yyy" in message displayed for command "NICK"
1549 * irc: return git version in CTCP VERSION and FINGER by default, add "$git" and "$versiongit" in format of CTCP replies
1550 * irc: read local variable "autorejoin" in buffer to override server option "autorejoin" (task #12256)
1551 * irc: add option "-auto" in command /connect (task #9340)
1552 * irc: add support of "server-time" capability (task #12255)
1553 * irc: add support of tags in messages
1554 * irc: add command /quiet, fix display of messages 728/729 (quiet list, end of quiet list) (task #12278)
1555 * irc: add option irc.network.alternate_nick to disable dynamic nick generation when all nicks are already in use on server (task #12281)
1556 * irc: add option irc.network.whois_double_nick to double nick in command /whois
1557 * irc: add option "-noswitch" in command /join (task #12275)
1558 * perl: display script filename in error messages
1559 * relay: add backlog and server capability "server-time" for irc protocol, add new options relay.irc.backlog_max_minutes, relay.irc.backlog_max_number, relay.irc.backlog_since_last_disconnect, relay.irc.backlog_tags, relay.irc.backlog_time_format (task #12076)
1560 * relay: add support of IPv6, new option relay.network.ipv6, add support of "ipv4." and/or "ipv6." before protocol name, to force IPv4/IPv6 (task #12270)
1561 * xfer: display remote IP address for DCC chat/file (task #12289)
1562
1563 Bug fixes::
1564
1565 * core: fix infinite loop when a regex gives an empty match (bug #38112)
1566 * core: fix click in item "buffer_nicklist" when nicklist is a root bar (bug #38080)
1567 * core: fix line returned when clicking on a bar (according to position and filling) (bug #38069)
1568 * core: fix refresh of bars when applying layout (bug #37944, bug #37952)
1569 * core: fix scroll to bottom of window (default key: kbd:[Alt+End]) when line displayed is bigger than chat area
1570 * core: fix scroll in buffer after enabling/disabling some filters (if scroll is on a hidden line) (bug #37885)
1571 * core: fix memory leak in case of error when building content of bar item for display
1572 * core: fix detection of command in input: a single command char is considered as a command (API function string_input_for_buffer)
1573 * core: search for a fallback template when a no template is matching command arguments
1574 * core: fix refresh of windows after split (fix bug with horizontal separator between windows) (bug #37874)
1575 * core: fix stuck mouse (bug #36533)
1576 * core: fix default mouse buttons actions for script buffer (focus the window before executing action)
1577 * core: fix scroll of one page down when weechat.look.scroll_page_percent is less than 100 (bug #37875)
1578 * core: disable paste detection and confirmation if bar item "input_paste" is not used in a visible bar (task #12327)
1579 * core: use high priority (50000) for commands /command and /input so that an alias will not take precedence over these commands (bug #36353)
1580 * core: execute command with higher priority when many commands with same name are found with different priorities
1581 * core: fix display of combining chars (bug #37775)
1582 * core: fix display of zoomed/merged buffer (with number >= 2) after switching to it (bug #37593)
1583 * core: fix display problem when option weechat.look.prefix_same_nick is set (problem with nick displayed in first line of screen) (bug #37556)
1584 * core: fix wrapping of words with wide chars (the break was made before the correct position)
1585 * api: do not call shell to execute command in hook_process (fix security problem when a plugin/script gives untrusted command) (bug #37764)
1586 * alias: give higher priority to aliases (2000) so that they take precedence over an existing command
1587 * aspell: ignore self and remote nicks in private buffers
1588 * aspell: fix creation of spellers when number of dictionaries is different between two buffers
1589 * guile: fix bad conversion of shared strings (replace calls to scm_i_string_chars by scm_to_locale_string) (bug #38067)
1590 * irc: fix display of actions (/me) when they are received from a relay client (in channel and private buffers) (bug #38027)
1591 * irc: fix memory leak when updating modes of channel
1592 * irc: fix crash on /upgrade (free channels before server data when a server is destroyed) (bug #37736)
1593 * irc: fix crash when decoding IRC colors in strings (bug #37704)
1594 * irc: fix refresh of bar item "away" after command /away or /disconnect
1595 * irc: send whois on self nick when /whois is done without argument on a channel (task #12273)
1596 * irc: remove local variable "away" in server/channels buffers after server disconnection (bug #37582)
1597 * irc: fix crash when message 352 has too few arguments (bug #37513)
1598 * irc: remove unneeded server disconnect when server buffer is closed and server is already disconnected
1599 * perl: fix calls to callbacks during load of script when multiplicity is disabled (bug #38044)
1600 * relay: fix duplicated messages sent to irc clients (when messages are redirected) (bug #37870)
1601 * relay: fix memory leak when adding hdata to a message (weechat protocol)
1602 * relay: fix crash after /upgrade when a client is connected
1603 * relay: add missing "ssl." in output of /relay listrelay
1604 * script: fix scroll with mouse when window with script buffer is not the current window (do not force a switch to script buffer in current window)
1605 * xfer: fix memory leak when refreshing xfer buffer
1606 * xfer: add missing tags in DCC chat messages: nick_xxx, prefix_nick_ccc, logN
1607 * xfer: limit bytes received to file size (for DCC file received), fix crash when displaying a xfer file with pos greater than size
1608
1609 Build::
1610
1611 * core: add git version in build, display it in "weechat-curses --help" and /version
1612 * core: stop CMake if gcrypt lib is not found (bug #37671)
1613 * guile: fix detection of Guile in configure
1614 * script: fix compilation on macOS
1615
1616 [[v0.3.9.2]]
1617 == Version 0.3.9.2 (2012-11-18)
1618
1619 Bug fixes::
1620
1621 * core: do not call shell to execute command in hook_process (fix security problem when a plugin/script gives untrusted command) (bug #37764, CVE-2012-5534)
1622
1623 [[v0.3.9.1]]
1624 == Version 0.3.9.1 (2012-11-09)
1625
1626 Bug fixes::
1627
1628 * irc: fix crash when decoding IRC colors in strings (bug #37704, CVE-2012-5854)
1629
1630 [[v0.3.9]]
1631 == Version 0.3.9 (2012-09-29)
1632
1633 New features::
1634
1635 * core: add signals for plugins loaded/unloaded
1636 * core: add default key kbd:[Alt+x] (zoom on merged buffer) (task #11029)
1637 * core: add mouse bindings kbd:[Ctrl] + wheel up/down to scroll horizontally buffers with free content
1638 * core: add option weechat.startup.sys_rlimit to set system resource limits for WeeChat process
1639 * core: add option "swap" in command /buffer (task #11373)
1640 * core: add hdata "hotlist"
1641 * core: add support of arrays in hdata variables
1642 * core: add command line option "-r" (or "--run-command") to run command(s) after startup of WeeChat
1643 * core: add function hook_set in plugin API, add "subplugin" in hooks (set by script plugins), display subplugin in /help on commands (task #12049)
1644 * core: add option weechat.look.jump_smart_back_to_buffer (jump back to initial buffer after reaching end of hotlist, on by default, which is old behavior)
1645 * core: add default key kbd:[Alt+s] (toggle aspell)
1646 * core: add callback "nickcmp" in buffers
1647 * core: add horizontal separator between windows, new options weechat.look.window_separator_{horizontal|vertical}
1648 * core: add options weechat.look.color_nick_offline and weechat.color.chat_nick_offline{_highlight|_highlight_bg} to use different color for offline nicks in prefix (task #11109)
1649 * api: allow update for some variables of hdata, add new functions hdata_update and hdata_set
1650 * api: add info "locale" for info_get (locale used to translate messages)
1651 * api: add new function util_version_number
1652 * aspell: add option aspell.check.enabled, add options enable/disable/toggle for command /aspell (rename options enable/disable/dictlist to setdict/deldict/listdict), display aspell status with /aspell (task #11988)
1653 * irc: generate alternate nicks dynamically when all nicks are already in use (task #12209)
1654 * irc: add bar item "buffer_modes", remove option irc.look.item_channel_modes (task #12022)
1655 * irc: add option irc.look.ctcp_time_format to customize reply to CTCP TIME (task #12150)
1656 * irc: move options from core to irc plugin: weechat.look.nickmode to irc.look.nick_mode (new type: integer with values: none/prefix/action/both) and weechat.look.nickmode_empty to irc.look.nick_mode_empty
1657 * logger: add tags in backlog lines displayed when opening buffer
1658 * logger: add messages "Day changed to" in backlog (task #12187)
1659 * relay: add support of SSL (for irc and weechat protocols), new option relay.network.ssl_cert_key (task #12044)
1660 * relay: add option relay.color.client
1661 * relay: add object type "arr" (array) in WeeChat protocol
1662 * script: new plugin "script" (script manager, replacing scripts weeget.py and script.pl)
1663 * scripts: add signals for scripts loaded/unloaded/installed/removed
1664 * scripts: add hdata with list of scripts for each language
1665
1666 Bug fixes::
1667
1668 * core: fix display bug when end of a line is displayed on top of chat (last line truncated and MORE(0) in status bar) (bug #37203)
1669 * core: fix IP address returned by hook_connect (return IP really used, not first IP for hostname)
1670 * core: display spaces at the end of messages in chat area (bug #37024)
1671 * core: fix infinite loop in display when chat area has width of 1 with a bar displayed on the right (nicklist by default) (bug #37089)
1672 * core: fix display of "bar more down" char when text is truncated by size_max in bars with vertical filling (bug #37054)
1673 * core: fix color of long lines (displayed on more than one line on screen) under FreeBSD (bug #36999)
1674 * core: return error string to callback of hook_connect if getaddrinfo fails in child process
1675 * core: scroll to bottom of window after reaching first or last highlight with keys kbd:[Alt+p] / kbd:[Alt+n]
1676 * core: fix refresh of bar items when switching window
1677 * core: fix refresh of bar items "buffer_filter" and "scroll" in root bars (bug #36816)
1678 * core: allow again names beginning with "#" for bars, proxies and filters
1679 * core: escape special chars (`#[\`) in configuration files for name of options (bug #36584)
1680 * aspell: add missing dictionaries (ast/grc/hus/kn/ky)
1681 * charset: do not allow "UTF-8" in charset decoding options (useless because UTF-8 is the internal WeeChat charset)
1682 * fifo: ignore read failing with error EAGAIN (bug #37019)
1683 * guile: fix crash when unloading a script without pointer to interpreter
1684 * irc: fix rejoin of channels with a key, ignore value "*" sent by server for key (bug #24131)
1685 * irc: fix SASL mechanism "external" (bug #37274)
1686 * irc: fix parsing of message 346 when no nick/time are given (bug #37266)
1687 * irc: switch to next address after a timeout when connecting to server (bug #37216)
1688 * irc: fix bug when changing server option "addresses" with less addresses (bug #37215)
1689 * irc: add network prefix in irc (dis)connection messages
1690 * irc: fix split of received IRC message: keep spaces at the end of message
1691 * irc: fix bug with prefix chars which are in chanmodes with a type different from "B" (bug #36996)
1692 * irc: fix format of message "USER" (according to RFC 2812) (bug #36825)
1693 * irc: fix parsing of user modes (ignore everything after first space) (bug #36756, bug #31572)
1694 * irc: fix freeze when reading on socket with SSL enabled (use non-blocking sockets) (bug #35097)
1695 * irc: allow again names beginning with "#" for servers
1696 * lua: fix crash when unloading a script without pointer to interpreter
1697 * python: fix crash when unloading a script without pointer to interpreter
1698 * relay: fix freeze when writing on relay socket (use non-blocking sockets in relay for irc and weechat protocols) (bug #36655)
1699 * scripts: fix deletion of configuration files when script is unloaded (bug #36977)
1700 * scripts: fix function unhook_all: delete only callbacks of hooks and add missing call to unhook
1701 * scripts: ignore call to register (with a warning) if script is already registered
1702 * xfer: fix DCC transfer error (bug #37432)
1703
1704 Documentation::
1705
1706 * add Japanese user's guide (patch #7827), scripting guide and tester's guide
1707
1708 Build::
1709
1710 * core: move the set of CMake policy CMP0003 in directory src (so it applies to all plugins) (bug #37311)
1711 * core: fix names of cache variables in configure.in (bug #36971)
1712 * core: add CMake option "MANDIR" (bug #36776)
1713 * guile: fix path of Guile include dirs in CMake build (patch #7790)
1714 * lua: add support of Lua 5.2
1715 * python: fix detection of Python (first try "python2.x" and then "python") (bug #36835)
1716 * ruby: add detection of Ruby 1.9.3
1717
1718 [[v0.3.8]]
1719 == Version 0.3.8 (2012-06-03)
1720
1721 New features::
1722
1723 * core: add option weechat.look.prefix_same_nick (hide or change prefix on messages whose nick is the same as previous message) (task #11965)
1724 * core: convert tabs to spaces in text pasted (bug #25028)
1725 * core: add a connection timeout for child process in hook_connect (bug #35966)
1726 * core: add support of terminal "bracketed paste mode", new options weechat.look.paste_bracketed and weechat.look.paste_bracketed_timer_delay (task #11316)
1727 * core: support lines of 16 Kb long in configuration files (instead of 1 Kb)
1728 * core: convert options weechat.look.prefix_align_more and weechat.look.prefix_buffer_align_more from boolean to string (task #11197)
1729 * core: follow symbolic links when writing configuration files (.conf) (task #11779)
1730 * api: add list "gui_buffer_last_displayed" in hdata "buffer"
1731 * irc: add option "fakerecv" in command /server to simulate a received IRC message (not documented, for debug only)
1732 * irc: add option "-pending" in command /disconnect (cancel auto-reconnection on servers currently reconnecting) (task #11985)
1733 * irc: add signals and tags in messages for irc notify (task #11887)
1734 * irc: add support of "external" SASL mechanism (task #11864)
1735 * irc: allow more than one nick in command /invite
1736 * logger: add colors for backlog lines and end of backlog, new options: logger.color.backlog_line and logger.color.backlog_end (task #11966)
1737 * relay: add signals "upgrade" and "upgrade_ended" in WeeChat protocol
1738 * relay: add "date_printed" and "highlight" in signal "_buffer_line_added" (WeeChat protocol)
1739 * rmodifier: add default rmodifier "quote_pass" to hide password in command "/quote pass" (bug #36250)
1740 * rmodifier: add default rmodifier "server" to hide passwords in commands /server and /connect (task #11993)
1741 * rmodifier: add option "release" in default rmodifier "nickserv" (used to hide passwords in command "/msg nickserv") (bug #35705)
1742
1743 Bug fixes::
1744
1745 * core: fix crash in focus hook for nicklist (bug #36271)
1746 * core: fix truncated configuration files (zero-length) after system crash (bug #36383)
1747 * core: fix display bugs and crashes with small windows (bug #36107)
1748 * core: fix display bug with prefix when length is greater than max and prefix is ending with a wide char (bug #36032)
1749 * core: fix lost scroll when switching to a buffer with a pending search
1750 * core: fix display of wide chars on last column of chat area (patch #7733)
1751 * api: display warning in scripts when invalid pointers (malformed strings) are given to plugin API functions (warning displayed if debug for plugin is >= 1)
1752 * scripts: fix type of argument "rc" in callback of hook_process (from string to integer)
1753 * guile: fix crash on ARM when loading guile plugin (bug #36479)
1754 * guile: add missing function hook_process_hashtable in API
1755 * irc: update channel modes by using chanmodes from message 005 (do not send extra command "MODE" to server), fix parsing of modes (bug #36215)
1756 * irc: hide everything after "identify" or "register" in messages to nickserv when option irc.look.hide_nickserv_pwd is on (bug #36362)
1757 * irc: set user modes only if target nick is self nick in message 221 (patch #7754)
1758 * irc: force the clear of nicklist when joining a channel (nicklist was not sync after znc reconnection) (bug #36008)
1759 * irc: do not send command "MODE #channel" on manual /names (do it only when names are received on join of channel) (bug #35930)
1760 * irc: do not allow the creation of two servers with same name but different case (fix error when writing file irc.conf) (bug #35840)
1761 * irc: update away flag for nicks on manual /who
1762 * irc: display privmsg messages to "@#channel" and "+#channel" in channel buffer (bug #35331)
1763 * irc: fix redirection of message when message is queued for sending on server
1764 * irc: check notify immediately when adding a nick to notify list, improve first notify message for a nick (bug #35731)
1765 * irc: fix display of color in hostname (join/part/quit messages)
1766 * irc: compute hash to find nick color for nick in server message when nick is not in nicklist
1767 * irc: close server buffer when server is deleted
1768 * irc: add search for lower case nicks in option irc.look.nick_color_force
1769 * logger: fix charset of lines displayed in backlog when terminal charset is different from UTF-8 (bug #36379)
1770 * perl: fix crash on quit on macOS
1771 * relay: keep spaces in beginning of "input" received from client (WeeChat protocol)
1772 * relay: fix crash on /upgrade when client is connected using WeeChat protocol
1773 * relay: redirect some irc messages from clients to hide output (messages: mode, ison, list, names, topic, who, whois, whowas, time, userhost) (bug #33516)
1774 * tcl: add missing function hdata_char in API
1775 * tcl: fix pointer sent to function hook_signal_send when type of data is a pointer
1776
1777 Documentation::
1778
1779 * add Japanese FAQ (patch #7781)
1780
1781 Build::
1782
1783 * perl: fix compilation on macOS (bug #30701)
1784
1785 [[v0.3.7]]
1786 == Version 0.3.7 (2012-02-26)
1787
1788 New features::
1789
1790 * core: add support of flags in regular expressions and highlight options
1791 * core: add type "hashtable" for hdata
1792 * core: add signals "buffer_line_added" and "window_switch"
1793 * core: add default keys kbd:[Ctrl+Left] / kbd:[Ctrl+Right] (`meta2-1;5D` / `meta2-1;5C`) for gnome-terminal
1794 * core: add option "hooks" in command /debug
1795 * core: add option weechat.look.scroll_bottom_after_switch (if enabled, restore old behavior before fix of bug #25555 in version 0.3.5)
1796 * core: add new option weechat.completion.base_word_until_cursor: allow completion in middle of words (enabled by default) (task #9771)
1797 * core: add option "jump_last_buffer_displayed" in command /input (key: kbd:[Alt+/]) (task #11553)
1798 * core: add option weechat.history.max_buffer_lines_minutes: maximum number of minutes in history per buffer (task #10900), rename option weechat.history.max_lines to weechat.history.max_buffer_lines_number
1799 * core: add optional arguments for command /plugin load/reload/autoload
1800 * core: use extended regex in filters (task #9497, patch #7616)
1801 * api: add modifier "input_text_for_buffer" (bug #35317)
1802 * api: add support of URL in hook_process / hook_process_hashtable (task #10247)
1803 * api: add new functions strcasecmp_range, strncasecmp_range, string_regex_flags, string_regcomp, hashtable_map_string, hook_process_hashtable, hdata_check_pointer, hdata_char, hdata_hashtable and nicklist_get_next_item
1804 * alias: add default alias /umode => /mode $nick
1805 * irc: add option "capabilities" in servers to enable client capabilities on connection
1806 * irc: add signal "irc_server_opened"
1807 * irc: add signal "xxx,irc_out1_yyy" and modifier "irc_out1_xxx" (outgoing message before automatic split to fit in 512 bytes)
1808 * irc: add alias "ctcp" for target buffer of CTCP messages
1809 * irc: add options irc.look.highlight_{server|channel|pv} to customize or disable default nick highlight (task #11128)
1810 * irc: use redirection to get channel modes after update of modes on channel, display output of /mode #channel, allow /mode without argument (display modes of current channel or user modes on server buffer)
1811 * irc: add optional server in info "irc_is_channel" (before channel name) (bug #35124), add optional server in info_hashtable "irc_message_parse"
1812 * irc: add case insensitive string comparison based on casemapping of server (rfc1459, strict-rfc1459, ascii) (bug #34239)
1813 * irc: add option irc.color.mirc_remap to remap mirc colors in messages to WeeChat colors
1814 * irc: allow URL "irc://" in command /connect
1815 * irc: use extended regex in commands /ignore and /list
1816 * guile: new script plugin for scheme (task #7289)
1817 * python: add support of Python 3.x (task #11704)
1818 * relay: add WeeChat protocol for remote GUI
1819 * xfer: display origin of xfer in core and xfer buffers (task #10956)
1820
1821 Internationalization::
1822
1823 * add Japanese translations
1824
1825 Bug fixes::
1826
1827 * core: fix expand of path `~` to home of user in function string_expand_home (`~/xxx` was OK, but not `~`)
1828 * core: fix memory leak when closing buffer
1829 * core: fix memory leak in function util_search_full_lib_name
1830 * core: automatically add newline char after last pasted line (when pasting many lines with confirmation) (task #10703)
1831 * core: fix bug with layout: assign layout number in buffers when doing /layout save
1832 * core: do not auto add space after nick completer if option weechat.completion.nick_add_space is off
1833 * core: fix signal "buffer_switch": send it only once when switching buffer (bug #31158)
1834 * core: move option "scroll_unread" from command /input to /window
1835 * core: save current mouse state in option weechat.look.mouse (set option when mouse state is changed with command /mouse)
1836 * core: apply filters after full reload of configuration files (with /reload) (bug #31182)
1837 * core: allow list for option weechat.plugin.extension (makes weechat.conf portable across Un*x and Windows) (task #11479)
1838 * core: display error in command /buffer if arguments are wrong (bug #34180)
1839 * core: fix help on plugin option when config_set_desc_plugin is called to set help on newly created option
1840 * core: enable background process under Cygwin to connect to servers, fix reconnection problem (bug #34626)
1841 * aspell: fix URL detection (do not check spelling of URLs) (bug #34040)
1842 * irc: fix memory leak in SASL/blowfish authentication
1843 * irc: fix memory leak when a server is deleted
1844 * irc: fix self-highlight when using /me with an IRC bouncer like znc (bug #35123)
1845 * irc: use low priority for MODE sent automatically by WeeChat (when joining channel)
1846 * irc: do not use option irc.look.nick_color_stop_chars for forced nick colors (bug #33480)
1847 * irc: reset read marker of current buffer on manual /join
1848 * irc: fix crash when signon time in message 317 (whois, idle) is invalid (too large) (bug #34905)
1849 * irc: do not delete servers added in irc.conf on /reload (bug #34872)
1850 * irc: remove autorejoin on channels when disconnected from server (bug #32207)
1851 * irc: display messages kick/kill/mode/topic even if nick is ignored (bug #34853)
1852 * irc: display channel voice notices received in channel buffer (bug #34762), display channel/op notices sent in channel buffer
1853 * irc: auto-connect to servers created with "irc://" on command line but not other servers if "-a" ("--no-connect") is given
1854 * perl: increment count of hash returned by API (fix crash when script tries to read hash without making a copy)
1855 * relay: do not create relay if there is a problem with socket creation (bug #35345)
1856 * ruby: fix crash when reloading ruby plugin (bug #34474)
1857
1858 Documentation::
1859
1860 * add developer's guide (task #5416)
1861
1862 Build::
1863
1864 * core: add library "pthread" in CMake file for link on OpenBSD
1865 * core: add WEECHAT_HOME option in CMake and configure to setup default WeeChat home (default is "~/.weechat") (task #11266)
1866 * core: fix compilation under OpenBSD 5.0 (lib utf8 not needed any more) (bug #34727)
1867 * core: fix compilation error with "pid_t" on macOS (bug #34639)
1868
1869 [[v0.3.6]]
1870 == Version 0.3.6 (2011-10-22)
1871
1872 New features::
1873
1874 * core: add color attribute "|" (keep attributes) and value "resetcolor" for function color in plugin API (used by irc plugin to keep bold/reverse/underlined in message when changing color) (bug #34550)
1875 * core: add new option weechat.look.color_basic_force_bold, off by default: bold is used only if terminal has less than 16 colors (patch #7621)
1876 * core: add default key kbd:[F5] (`meta2-[E`) for Linux console
1877 * core: add "inactive" colors for inactive windows and lines in merged buffers, new options: weechat.look.color_inactive_window, weechat.look.color_inactive_buffer, weechat.look.color_inactive_message, weechat.look.color_inactive_prefix, weechat.look.color_inactive_prefix_buffer, weechat.look.color_inactive_time, weechat.color.chat_inactive_line, weechat.color.chat_inactive_window, weechat.color.chat_prefix_buffer_inactive_line
1878 * core: do automatic zoom on current window when terminal becomes too small for windows
1879 * core: add new options weechat.look.bar_more_left/right/up/down
1880 * core: add new option weechat.look.item_buffer_filter
1881 * core: allow name of buffer for command /buffer clear (task #11269)
1882 * core: add new command /repeat (execute a command several times)
1883 * core: save and restore layout for buffers and windows on /upgrade
1884 * core: add option "-all" in command "/buffer unmerge"
1885 * core: add number in windows (add optional argument "-window" so some actions for command /window)
1886 * core: allow buffer name in /buffer close
1887 * core: add support of mouse: new command /mouse, new key context "mouse", new options weechat.look.mouse and weechat.look.mouse_timer_delay (task #5435)
1888 * core: add command /cursor (free movement of cursor on screen), with key context "cursor"
1889 * core: automatic scroll direction in /bar scroll (x/y is now optional)
1890 * core: add optional delay for key grab (commands /input grab_key and /input grab_key_command, default is 500 milliseconds)
1891 * core: allow plugin name in command "/buffer name"
1892 * core: add context "search" for keys (to define keys used during search in buffer with kbd:[Ctrl+r])
1893 * core: add new option weechat.look.separator_vertical, rename option weechat.look.hline_char to weechat.look.separator_horizontal
1894 * core: add local variable "highlight_regex" in buffers
1895 * core: add "hdata" (direct access to WeeChat/plugin data)
1896 * core: add option weechat.look.eat_newline_glitch (do not add new line at end of each line displayed)
1897 * core: add options "infolists", "hdata" and "tags" for command /debug
1898 * core: add horizontal scrolling for buffers with free content (command /window scroll_horiz) (task #11112)
1899 * core: change default value of option weechat.network.gnutls_ca_file to "/etc/ssl/certs/ca-certificates.crt"
1900 * api: add info "cursor_mode"
1901 * api: add new functions key_bind, key_unbind, hook_focus, hdata_new, hdata_new_var, hdata_new_list, hdata_get, hdata_get_var_offset, hdata_get_var_type, hdata_get_var_type_string, hdata_get_var_hdata, hdata_get_var, hdata_get_var_at_offset, hdata_get_list, hdata_move, hdata_integer, hdata_string, hdata_pointer, hdata_time, hdata_get_string
1902 * irc: allow reason for command /disconnect
1903 * irc: allow server name for commands /die and /restart
1904 * irc: add new info_hashtable "irc_message_split"
1905 * irc: add prefix "#" for all channels on join (if no prefix given)
1906 * irc: improve split of privmsg message (keep ctcp), add split of ison, join, notice, wallops, 005, 353 (bug #29879, bug #33448, bug #33592)
1907 * logger: add option logger.file.flush_delay (task #11118)
1908
1909 Bug fixes::
1910
1911 * core: fix freeze when calling function util_file_get_content with a directory instead of a filename
1912 * core: display timeout for hook_process command only if debug for core is enabled (task #11401)
1913 * core: bufferize lines displayed before core buffer is created, to display them in buffer when it is created
1914 * core: fix display of background color in chat area after line feed
1915 * core: fix paste detection (problem with end of lines)
1916 * core: fix display of paste multi-line prompt with a root input bar (bug #34305)
1917 * core: replace deprecated GnuTLS function gnutls_certificate_client_set_retrieve_function by new function gnutls_certificate_set_retrieve_function (GnuTLS >= 2.11.0)
1918 * core: use dynamic buffer size for calls to vsnprintf
1919 * core: fix memory leak in unhook of hook_connect
1920 * core: fix memory leak in display of empty bar items
1921 * core: fix input of wide UTF-8 chars under Cygwin (bug #34061)
1922 * core: fix bugs with automatic layout (bug #26110), add support of merged buffers in layout (task #10893)
1923 * core: fix crash when invalid UTF-8 chars are inserted in command line (bug #33471)
1924 * core: stop horizontal bar scroll at the end of content (for bars with horizontal filling) (bug #27908)
1925 * core: fix crash when building hashtable string with keys and values
1926 * core: replace buffer name by window number in /bar scroll
1927 * core: fix bugs with key "^" (bug #32072, bug #21381)
1928 * core: fix bugs with bar windows: do not create bar windows for hidden bars
1929 * core: fix completion bug when two words for completion are equal but with different case
1930 * core: fix completion for command arguments when same command exists in many plugins (bug #33753)
1931 * core: fix freeze when hook_fd is called with a bad file/socket (bug #33619)
1932 * core: fix bug with option weechat.look.hotlist_count_max (value+1 was used)
1933 * api: use arguments for infolist "window" to return only one window by number
1934 * api: fix bug with function config_set_desc_plugin (use immediately description for option when function is called)
1935 * scripts: fix crash with scripts not auto-loaded having a buffer opened after /upgrade (input/close callbacks for buffer not set properly)
1936 * irc: fix display of items "away" and "lag" in root bars, refresh all irc bar items on signal "buffer_switch" (bug #34466)
1937 * irc: fix crash on malformed irc notice received (without message after target)
1938 * irc: add missing messages for whois: 223, 264, 343
1939 * irc: use high priority queue for sending modes and wallchops messages
1940 * irc: rename info_hashtable "irc_parse_message" to "irc_message_parse"
1941 * irc: use color "default" for any invalid color in option weechat.color.chat_nick_colors
1942 * irc: send WHO command to check away nicks only if channel was not parted
1943 * irc: fix crash when malformed IRC message 352 (WHO) is received (bug #33790)
1944 * irc: fix crash when command "/buffer close" is used in a server command to close server buffer during connection (bug #33763)
1945 * irc: fix crash when /join command is executed on a non-irc buffer (bug #33742)
1946 * irc: fix bug with comma in irc color code: do not strip comma if it is not followed by a digit (bug #33662)
1947 * irc: switch to buffer on /join #channel if channel buffer already exists
1948 * irc: set host for nick on each channel message and nick change (if not already set)
1949 * irc: update host of nicks on manual /who
1950 * irc: fix memory leak on plugin unload (free ignores)
1951 * irc: fix memory leak in message parser (when called from other plugins like relay) (bug #33387)
1952 * relay: fix bug with self nick when someone changes its nick on channel (bug #33739)
1953 * relay: fix memory leak (free some parsed messages) (bug #33387)
1954 * relay: fix memory leak on plugin load (free raw messages)
1955 * perl: replace calls to SvPV by SvPV_nolen (patch #7436)
1956
1957 Build::
1958
1959 * core: fix compilation error (INSTALLPREFIX undeclared) on macOS and when compiling with included gettext (bug #26690)
1960
1961 [[v0.3.5]]
1962 == Version 0.3.5 (2011-05-15)
1963
1964 New features::
1965
1966 * core: add buffer to hotlist if away is set on buffer (even if buffer is displayed), new option weechat.look.hotlist_add_buffer_if_away (task #10948)
1967 * core: add option "balance" in command /window (key: kbd:[Alt+w], kbd:[Alt+b])
1968 * core: add option "swap" in command /window (key: kbd:[Alt+w], kbd:[Alt+s]) (task #11001)
1969 * core: add option weechat.look.hotlist_buffer_separator
1970 * core: add messages counts in hotlist for each buffer, new options: weechat.look.hotlist_count_max, weechat.look.hotlist_count_min_msg and weechat.color.status_count_{msg|private|highlight|other}
1971 * core: add tag "notify_none" (line with this tag will not update hotlist)
1972 * core: add optional bar name in command "/bar default"
1973 * core: add new option weechat.look.highlight_tags (force highlight on tags)
1974 * core: allow list of buffers in command /filter (exclusion with prefix "!") (task #10880)
1975 * core: allow relative size for command /window resize
1976 * core: add some default keys for gnome-terminal (kbd:[Home] / kbd:[End], kbd:[Ctrl+Up] / kbd:[Ctrl+Down], kbd:[Alt+PgUp] / kbd:[Alt+PgDn])
1977 * core: add option "memory" in command /debug
1978 * core: add option weechat.look.read_marker_string
1979 * core: add some chars after cursor when scrolling input line: new option weechat.look.input_cursor_scroll (bug #21391)
1980 * core: add color "gray"
1981 * core: add attributes for colors ("*": bold, "!": reverse, "_": underline)
1982 * core: dynamically allocate color pairs (extended colors can be used without being added with command "/color"), auto reset of color pairs with option weechat.look.color_pairs_auto_reset
1983 * core: allow background for nick colors (using ":")
1984 * core: remember scroll position for all buffers in windows (bug #25555)
1985 * core: improve display of commands lists in /help (add arguments -list and -listfull) (task #10299)
1986 * core: improve arguments displayed in /help of commands
1987 * api: add new function config_set_desc_plugin (task #10925)
1988 * api: add new functions buffer_match_list and window_search_with_buffer
1989 * aspell: add section "option" in aspell.conf for speller options (task #11083)
1990 * irc: add new options irc.color.topic_old and irc.color.topic_new
1991 * irc: add option "ssl_priorities" in servers (task #10106, debian #624055)
1992 * irc: add modifier "irc_in2_xxx" (called after charset decoding)
1993 * irc: add new options irc.look.buffer_switch_autojoin and irc.look.buffer_switch_join (task #8542, task #10506)
1994 * irc: add new option irc.look.smart_filter_nick
1995 * irc: add new options irc.look.color_nicks_in_nicklist and irc.look.color_nicks_in_names
1996 * irc: replace options irc.color.nick_prefix_{op|halfop|voice|user} by a single option irc.color.nick_prefixes (task #10888)
1997
1998 Bug fixes::
1999
2000 * core: fix scroll in windows with /window scroll (skip lines "Day changed to")
2001 * core: recalculate buffer_max_length when buffer short name is changed (patch #7441)
2002 * core: do not update hotlist during upgrade
2003 * core: apply new value of option weechat.look.buffer_notify_default to all opened buffers
2004 * core: prohibit names beginning with "#" for bars, proxies, filters and IRC servers (bug #33020)
2005 * core: create default bars only if no bar is defined in configuration file
2006 * core: fix bug with repeat of last completion ("%*"), which failed when many templates are used in completion
2007 * core: reload file with certificate authorities when option weechat.network.gnutls_ca_file is changed
2008 * core: rebuild bar content when items are changed in an hidden bar
2009 * core: fix verification of SSL certificates by calling GnuTLS verify callback (patch #7459, CVE-2011-1428)
2010 * core: fix crash when using column filling in bars with some empty items (bug #32565)
2011 * core: fix terminal title when $TERM starts with "screen"
2012 * plugins: fix memory leaks when setting buffer callbacks after /upgrade (plugins: irc, relay, xfer, scripts)
2013 * aspell: fix spellers used after switch of window (bug #32811)
2014 * irc: fix parsing of message 332 when no topic neither colon are found (bug with bip proxy)
2015 * irc: fix nick color in private when option irc.look.nick_color_force is changed
2016 * irc: fix tags for messages sent with /msg command (bug #33169)
2017 * irc: fix memory leak when copying or renaming server
2018 * irc: do not rejoin channels where /part has been issued before reconnection to server (bug #33029)
2019 * irc: use nick color for users outside the channel
2020 * irc: update short name of server buffer when server is renamed
2021 * irc: fix local variable "away" on server buffer (set/delete it each time away is set or removed on server)
2022 * irc: ignore join if nick is not self nick and if channel buffer does not exist (bug #32667)
2023 * irc: fix crash when setting wrong value in option irc.server.xxx.sasl_mechanism (bug #32670)
2024 * irc: fix crash when completing /part command on a non-irc buffer (bug #32402)
2025 * irc: add many missing commands for target buffer (options irc.msgbuffer.xxx) (bug #32216)
2026 * lua: fix crash when many scripts are executing callbacks at same time
2027 * perl: fix memory leak when calling Perl functions (bug #32895)
2028 * relay: fix crash on /upgrade when nick in irc client is not yet set
2029 * relay: allow colon in server password received from client
2030 * relay: do not send join for private buffers to client
2031 * rmodifier: fix reload of file rmodifier.conf
2032 * rmodifier: fix crash when adding rmodifier with invalid regex
2033 * xfer: do not close chat buffers when removing xfer from list (bug #32271)
2034
2035 Build::
2036
2037 * tcl: fix Tcl detection on some 64-bits systems (bug #32915)
2038
2039 [[v0.3.4]]
2040 == Version 0.3.4 (2011-01-16)
2041
2042 New features::
2043
2044 * core: add 256 colors support, new command /color, new section "palette" in weechat.conf (task #6834)
2045 * core: add info "weechat_upgrading", signal "upgrade_ended", display duration of upgrade
2046 * core: add new option weechat.look.highlight_regex and function string_has_highlight_regex in plugin API (task #10321)
2047 * core: add new option weechat.look.hotlist_unique_numbers (task #10691)
2048 * core: add property "hotlist_max_level_nicks" in buffers to set max hotlist level for some nicks in buffer
2049 * core: add new options weechat.look.input_share and weechat.look.input_share_overwrite (task #9228)
2050 * core: add new option weechat.look.prefix_align_min (task #10650)
2051 * core: replace the 10 nick color options and number of nick colors by a single option weechat.color.chat_nick_colors (comma separated list of colors)
2052 * core: add color support in option weechat.look.buffer_time_format
2053 * api: add priority for hooks (task #10550)
2054 * api: add new functions: list_search_pos, list_casesearch_pos, hashtable_get_string, hashtable_set_pointer, hook_info_hashtable, info_get_hashtable, hook_hsignal, hook_hsignal_send, hook_completion_get_string, nicklist_group_get_integer, nicklist_group_get_string, nicklist_group_get_pointer, nicklist_group_set, nicklist_nick_get_integer, nicklist_nick_get_string, nicklist_nick_get_pointer, nicklist_nick_set
2055 * irc: add option "-server" in command /join (task #10837)
2056 * irc: add option "-switch" in commands /connect and /reconnect
2057 * irc: add command /notify, new options irc.look.notify_tags_ison, irc.look.notify_tags_whois, irc.network.notify_check_ison, irc.network.notify_check_whois, new option "notify" in servers, new infolist "irc_notify" (task #5441)
2058 * irc: add new option irc.look.nick_color_force (task #7374)
2059 * irc: add command redirection with hsignals irc_redirect_pattern and irc_redirect_command (task #6703)
2060 * irc: add new options irc.color.nick_prefix and irc.color.nick_suffix
2061 * irc: add new option irc.look.item_away_message
2062 * irc: add tag "nick_xxx" in user messages
2063 * irc: move options from network section to server section: connection_timeout, anti_flood_prio_high, anti_flood_prio_low, away_check, away_check_max_nicks, default_msg_part, default_msg_quit (task #10664, task #10668)
2064 * irc: display old channel topic when topic is unset (task #9780)
2065 * irc: add new info_hashtable "irc_parse_message"
2066 * irc: add signal "irc_input_send"
2067 * irc: rename options irc.look.open_channel_near_server and irc.look.open_pv_near_server to irc.look.new_channel_position and irc.look.new_pv_position with new values (none, next or near_server)
2068 * rmodifier: new plugin "rmodifier": alter modifier strings with regular expressions (bug #26964)
2069 * relay: beta version of IRC proxy, now relay plugin is compiled by default
2070 * python: add info "python2_bin" (path to Python 2.x interpreter)
2071
2072 Bug fixes::
2073
2074 * core: fix scroll problem on buffers with free content and non-allocated lines (bug #32039)
2075 * core: call to function hook_config when config option is created
2076 * core: fix infinite loop on GnuTLS handshake when connecting with SSL to server on wrong port or server with SSL problems (bug #27487)
2077 * core: fix data sent to callback of hook_process (some data was sometimes missing), use a 64KB buffer for child output and send data to callback only when buffer is full
2078 * core: fix crash when displaying groups in buffer nicklist
2079 * core: fix bug with message "day changed to", sometimes displayed several times wrongly
2080 * core: fix default value of bar items options (bug #31422)
2081 * core: fix bug with buffer name in "/bar scroll" command
2082 * core: optimize incremental search in buffer: do not search any more when chars are added to a text not found (bug #31167)
2083 * core: fix memory leaks when removing item in hashtable and when setting highlight words in buffer
2084 * core: use similar behavior for keys bound to local or global history (bug #30759)
2085 * alias: complete with alias value for second argument of command /alias
2086 * irc: differentiate notices from messages in private buffer (bug #31980)
2087 * irc: update nick modes with message 221 (bug #32038)
2088 * irc: fix bug with charset decoding on private buffers (decoding was made for local nick instead of remote nick) (bug #31890)
2089 * irc: allow command /reconnect on servers that are not currently connected (bug #30726)
2090 * irc: fix topic completion in command /topic when channel topic starts with channel name
2091 * irc: improve nick prefixes, all modes (even unknown) are used with PREFIX value from message 005
2092 * irc: fix crash/bug when option "addresses" for a server is unset or changed when WeeChat is connected to this server (bug #31268)
2093 * irc: switch to next server address when IRC error is received after TCP connection but before message 001 (bug #30884)
2094 * irc: fix bug with hostmasks in command /ignore (bug #30716)
2095 * relay: split of messages sent to clients of irc proxy
2096 * scripts: add missing function infolist_reset_item_cursor in API (bug #31057)
2097 * lua: fix crash when unloading script
2098 * xfer: fix dcc chat buffer name (use irc server in name) (bug #29925)
2099 * xfer: fix dcc file transfer for large files (more than 4 GB) on 32-bit systems (bug #31531)
2100 * xfer: fix bug at end of file sent, sometimes transfer is still active although file was successfully sent
2101
2102 Build::
2103
2104 * core: add support of Python 2.7 in CMake and configure (debian #606989)
2105 * ruby: fix compilation with Ruby 1.9.2 (patch #7316)
2106
2107 [[v0.3.3]]
2108 == Version 0.3.3 (2010-08-07)
2109
2110 New features::
2111
2112 * core: use "!" to reverse a regex in a filter (to keep lines matching regex and hide other lines) (task #10032)
2113 * core: add keys for undo/redo changes on command line (default: kbd:[Ctrl+pass:none[_]] and kbd:[Alt+pass:none[_]]) (task #9483)
2114 * core: add new option weechat.look.align_end_of_lines
2115 * core: add new option weechat.look.confirm_quit
2116 * core: add new option weechat.color.status_name_ssl (task #10339)
2117 * core: add hashtables with new functions in plugin API
2118 * api: add function string_expand_home, fix bug with replacement of home in paths
2119 * irc: add new option irc.look.nick_color_stop_chars
2120 * irc: add new options irc.look.display_host_join/join_local/quit and irc.color.reason_quit
2121 * irc: add command /wallchops, fix bug with display of notice for ops (task #10021, bug #29932)
2122 * irc: add isupport value in servers (content of IRC message 005), with new infos: irc_server_isupport and irc_server_isupport_value
2123 * irc: add message in private buffer when nick is back on server after a /quit
2124 * irc: add new options irc.network.autoreconnect_delay_growing and irc.network.autoreconnect_delay_max (task #10338)
2125 * irc: add missing commands 346, 347 (channel invite list)
2126 * irc: improve lag indicator: two colors (counting and finished), update item even when pong has not been received, lag_min_show is now in milliseconds
2127 * irc: move options weechat.color.nicklist_prefix to irc plugin
2128 * logger: use tag "no_log" to prevent a line from being written in log file
2129
2130 Bug fixes::
2131
2132 * core: fix bug with scroll_unread: do not scroll to a filtered line (bug #29991)
2133 * core: fix crash with hook_process (when timer is called on a deleted hook process)
2134 * core: fix display bug with special chars (ascii value below 32) (bug #30602)
2135 * core: fix display bug with attributes like underlined in bars (bug #29889)
2136 * api: fix bug with replacement char in function string_remove_color (bug #30296)
2137 * irc: fix bug in parser when no argument is received after command, no callback was called, and message was silently ignored (bug #30640)
2138 * irc: fix import of certificates created by OpenSSL >= 1.0.0 (bug #30316)
2139 * irc: fix display of local SSL certificate when it is sent to server (patch #7218)
2140 * irc: use empty real name by default in config, instead of reading real name in /etc/passwd (bug #30111)
2141 * irc: fix bug with command line option "irc://" (bug #29990), new format for port and channels
2142 * irc: fix display of messages 330 and 333 on some servers
2143 * irc: fix bug with nick prefix "*" (chan founder) on some IRC servers (bug #29890)
2144 * irc: fix bug with option irc.network.lag_check when value is 0 (zero)
2145 * irc: try other nick when connecting to server and receiving message 437 (nick unavailable)
2146 * irc: set buffer local variable "away" when opening new channel (bug #29618)
2147 * fifo: fix bug with fifo pipe when setting fifo option to "on"
2148 * xfer: fix bug with double quotes in DCC filenames (bug #30471)
2149
2150 [[v0.3.2]]
2151 == Version 0.3.2 (2010-04-18)
2152
2153 New features::
2154
2155 * core: add new options for command /key: listdefault, listdiff and reset
2156 * core: add new command /mute
2157 * core: add command line option "-s" (or "--no-script") to start WeeChat without loading any script
2158 * core: improve plugins autoload (option weechat.plugin.autoload): allow to use "*" as wildcard and "!" to prevent a plugin from being autoloaded (task #6361)
2159 * core: add option "switch_active_buffer_previous" in command /input (task #10141)
2160 * core: add new option weechat.look.time_format to customize default format for date/time displayed (localized date by default), add function util_get_time_string in plugin API (patch #6914)
2161 * core: add new option weechat.look.command_chars, add functions string_is_command_char and string_input_for_buffer in plugin and script API
2162 * core: add new option weechat.look.read_marker_always_show
2163 * api: add "version_number" for function info_get to get WeeChat version as number
2164 * api: add "irc_is_nick" for function info_get to check if a string is a valid IRC nick name (patch #7133)
2165 * api: add functions string_encode_base64 and string_decode_base64, fix bug with base64 encoding
2166 * api: add functions string_match, string_has_highlight and string_mask_to_regex in script plugin API
2167 * api: add description of arguments for functions hook_info and hook_infolist
2168 * api: add signals "day_changed", "nicklist_group_added/removed", "nicklist_nick_added/removed"
2169 * alias: add custom completion for aliases (task #9479)
2170 * scripts: allow script commands to reload only one script
2171 * irc: add SASL authentication, with PLAIN and DH-BLOWFISH mechanisms (task #8829)
2172 * irc: add new option irc.look.part_closes_buffer to close buffer when /part is issued on channel (task #10295)
2173 * irc: add option "-open" in command /connect
2174 * irc: add option irc.network.connection_timeout (timeout between TCP connection to server and reception of message 001)
2175 * irc: add options irc.look.smart_filter_join and irc.look.smart_filter_quit
2176 * irc: add option irc.look.item_channel_modes_hide_key to hide channel key in channel modes (bug #23961)
2177 * irc: add option irc.look.item_nick_prefix
2178 * irc: add command /map
2179 * irc: add missing commands 276, 343
2180 * logger: allow date format in logger options path and mask (task #9430)
2181 * xfer: add signal "xfer_ended" (patch #7081)
2182
2183 Bug fixes::
2184
2185 * core: remove unneeded space after time on each line if option weechat.look.buffer_time_format is set to empty value (bug #28751)
2186 * core: use arguments for infolist "nicklist" to return only one nick or group
2187 * core: fix bug with writing of configuration files when disk is full (bug #29331)
2188 * core: fix infinite loop with /layout apply and bug when applying layout, sometimes many /layout apply were needed (bug #26110)
2189 * gui: refresh screen when exiting WeeChat (to display messages printed after /quit)
2190 * gui: fix bug with global history, reset pointer to last entry after each user input (bug #28754)
2191 * gui: fix bug with bar background after text with background color (bug #28157)
2192 * gui: fix bug with cursor when position is last char of terminal
2193 * api: add missing infos in functions buffer_get_{integer|string} and in buffer infolist
2194 * api: fix function color in Lua script API
2195 * api: fix "inactivity" value when no key has been pressed since WeeChat started (bug #28930)
2196 * api: return absolute path for info_get of "weechat_dir" (bug #27936)
2197 * scripts: fix bug with callbacks when loading a script already loaded
2198 * perl: fix crash when multiplicity is disabled
2199 * perl: fix crash when callbacks are called during script initialization (bug #29018)
2200 * perl: fix crash on /quit or unload of plugin under FreeBSD and Cygwin (bug #29467)
2201 * perl: fix bug with script filename when multiplicity is disabled (bug #29530)
2202 * irc: fix crash with SSL connection if option ssl_cert is set (bug #28752)
2203 * irc: fix bug with SSL connection (fails sometimes when ssl_verify is on) (bug #28741)
2204 * irc: fix bug with nicks on reconnection: try all nicks in list, even if nick used was not the first in list of nicks
2205 * irc: fix command /list: send channel and server name given as argument, and use separate option "-re" to allow a regex
2206 * irc: fix PART message received on Undernet server (bug #28825)
2207 * irc: fix bug with /away -all: set or unset future away for disconnected servers (bug #29022)
2208 * irc: fix bug with prefix "!" for mode "a" (channel admin) (bug #29109)
2209 * irc: do not send signals "irc_in" and "irc_in2" when messages are ignored, add new signals "irc_raw_in" and "irc_raw_in2"
2210 * irc: apply smart filter only on channels, not private buffers (bug #28841)
2211 * xfer: fix crash when purging old xfer chats (bug #28764)
2212
2213 Build::
2214
2215 * irc: fix compilation with old GnuTLS versions (bug #28723)
2216
2217 [[v0.3.1.1]]
2218 == Version 0.3.1.1 (2010-01-31)
2219
2220 Bug fixes::
2221
2222 * irc: fix crash with SSL connection if option ssl_cert is set (bug #28752)
2223 * irc: fix bug with SSL connection (fails sometimes when ssl_verify is on) (bug #28741)
2224 * xfer: fix crash when purging old xfer chats (bug #28764)
2225
2226 Build::
2227
2228 * irc: fix compilation with old GnuTLS versions (bug #28723)
2229
2230 [[v0.3.1]]
2231 == Version 0.3.1 (2010-01-23)
2232
2233 New features::
2234
2235 * core: add option "grab_key_command" in command /input (bound by default to kbd:[Alt+k])
2236 * alias: new expansions for alias arguments ($n, $-m, $n-, $n-m, $*, $~) (patch #6917)
2237 * alias: allow use of wildcards for /alias list (patch #6925)
2238 * alias: allow /unalias to remove multiple aliases (patch #6926)
2239 * irc: add new commands /allchan and /allserv with excluding option, commands /ame and /amsg are now aliases, new aliases /aaway and /anick
2240 * irc: add options to customize target buffer for messages (task #7381)
2241 * irc: add new output queue for messages with low priority (like automatic CTCP replies), high priority is given to user messages or commands
2242 * irc: use self-signed certificate to auto identify on IRC server (CertFP) (task #7492, debian #453348)
2243 * irc: check SSL certificates (task #7492)
2244 * irc: add option "autorejoin_delay" for servers (task #8771)
2245 * irc: add option to use same nick color in channel and private (task #9870)
2246 * irc: add missing command 275 (patch #6952)
2247 * irc: add commands /sajoin, /samode, /sanick, /sapart, /saquit (task #9770)
2248 * irc: add options for CTCP, to block/customize CTCP reply (task #9693)
2249 * irc: add missing CTCP: clientinfo, finger, source, time, userinfo (task #7270)
2250 * irc: add all server options for commands /server and /connect
2251 * irc: add arguments for command /rehash
2252 * irc: improve mask used by command /kickban
2253 * xfer: add color for nicks in chat
2254 * xfer: add missing command /me (bug #28658)
2255 * gui: add color "darkgray", add support for background with light color
2256
2257 Bug fixes::
2258
2259 * core: fix bug with script installation on BSD/macOS (patch #6980)
2260 * core: fix compilation under Cygwin (patch #6916)
2261 * core: fix plural form in translation files (bug #27430)
2262 * core: fix terminal title bug: do not reset it when option weechat.look.set_title is off (bug #27399)
2263 * core: fix buffer used by some input functions called via plugin API with buffer pointer (bug #28152)
2264 * alias: fix bug with buffer for execution of alias, when called from plugin API with function command (bug #27697)
2265 * alias: fix bug with arguments (bug #27440)
2266 * irc: improve error management on socket error (recv/send)
2267 * irc: fix nick color for nicks with wide chars (bug #28547)
2268 * irc: fix autorejoin on channels with key
2269 * irc: fix command /connect (options -ssl, -ipv6 and -port) (bug #27486)
2270 * xfer: add missing charset decoding/encoding for IRC DCC chat (bug #27482)
2271 * fifo: remove old pipes before creating new pipe
2272 * gui: fix color "black" (bug #23882, debian #512957)
2273 * gui: fix message "Day changed to", sometimes displayed at wrong time (bug #26959)
2274 * gui: fix bug with URL selection in some terminals (caused by horizontal lines) (bug #27700)
2275 * gui: use default auto completion for arguments of unknown commands
2276 * gui: fix alignment problem for buffer name when a merged buffer is closed (bug #27617)
2277 * gui: update hotlist when a buffer is closed (bug #27470), remove buffer from hotlist when buffer is cleared (bug #27530)
2278 * gui: fix /input history_global_next: reset input content when last command in history is reached
2279 * api: fix function bar_set for python/lua/ruby (patch #6912)
2280
2281 Build::
2282
2283 * core: fix CMake directories: let user customize lib, share, locale and include directories (patch #6922)
2284 * ruby: add support of Ruby >= 1.9.1 (patch #6989)
2285
2286 [[v0.3.0]]
2287 == Version 0.3.0 (2009-09-06)
2288
2289 New features::
2290
2291 * core: add group support in nicklist
2292 * core: add /reload command to reload WeeChat and plugins config files (signal SIGHUP is caught to reload config files)
2293 * core: add new /layout command and save_layout_on_exit config option, to save/restore windows and buffers order (task #5453)
2294 * core: add new options for completion, optional stop instead of cycling with words found (task #5909)
2295 * core: new name for configuration files (*.conf instead of *.rc)
2296 * core: improve /set command, new command /unset (task #6085)
2297 * core: add new input action "set_unread_current_buffer" to set unread marker for current buffer only (task #7286)
2298 * core: remove key functions, replaced by /input command
2299 * core: add argument with buffer number/range for command "/buffer close" (task #9390, task #7239)
2300 * core: add new command /wait (schedule a command execution in future)
2301 * core: improve main loop: higher timeout in select, less CPU usage
2302 * gui: new display engine, with prefix and message for each line
2303 * gui: add new type of buffer, with free content
2304 * gui: add tags for lines and custom filtering by tags or regex (task #7674)
2305 * gui: add buffer merging (task #7404)
2306 * gui: add custom bars, with custom items
2307 * gui: add key to zoom a window (task #7470)
2308 * gui: add keys to move into last visited buffers: kbd:[Alt+<] and kbd:[Alt+>]
2309 * gui: come back to last visited buffer when closing a buffer
2310 * gui: add new option scroll_page_percent to choose percent of height to scroll with kbd:[PgUp] and kbd:[PgDn] keys (task #8702)
2311 * gui: add number of lines remaining after last line displayed in "-MORE-" indicator (task #6702)
2312 * network: add support for more than one proxy, with proxy selection for each IRC server (task #6859)
2313 * aspell: improve plugin: use of many dictionaries, global dictionary, real time checking (optional), fix bugs with utf-8
2314 * irc: add irc plugin (replaces old IRC code in core) (task #6217)
2315 * irc: add smart join/part/quit message filter (task #8503)
2316 * irc: use of many addresses for servers (auto-switch when a connection fails), nicks are now set with one option "nicks" (task #6088)
2317 * irc: add some colors in messages from server (for text and nicks) (task #8926)
2318 * irc: add color decoding in title for IRC channels (task #6030)
2319 * irc: add missing commands (328, 369)
2320 * logger: add logger plugin with new features: backlog, level for messages to log (task #8592), level by buffer (task #6687), filename mask by buffer, option "name_lower_case" (bug #19522)
2321 * relay: add relay plugin (network communication between WeeChat and remote application)
2322 * xfer: add speed limit for DCC files sending (task #6178)
2323 * xfer: add new option xfer.file.use_nick_in_filename for Xfer files (task #7140)
2324 * plugins: add some other plugins: alias, demo, fifo, tcl, xfer
2325 * scripts: new scripts: weeget.py (script manager), jabber.py (jabber/XMPP protocol), go.py (quick jump to buffers), buffers.pl (sidebar with list of buffers), iset.pl (set options interactively), weetris.pl (tetris-like game), mastermind.pl, ...
2326 * api: add hooks: command, timer, file descriptor, process, connection, print, signal, config, completion, modifier, info, infolist
2327 * api: new plugin API with many new functions: hooks, buffer management and nicklist, bars, configuration files, network, infos/infolists, lists, upgrade
2328
2329 Internationalization::
2330
2331 * add Polish translations
2332
2333 Bug fixes::
2334
2335 * core: fix nick completion bug (missing space after nick)
2336 * gui: fix completion with non-latin nicks (bug #18993)
2337 * gui: fix display bug with some weird UTF-8 chars (bug #19687)
2338 * gui: fix bug with wide chars in input (bug #16356)
2339 * gui: fix bug when switching window, scrollback is now preserved (task #7680)
2340 * network: fix network connection for hostnames resolving to several IPs: try all IPs in list until one succeeds (bug #21473, debian #498610)
2341 * alias: fix bug with alias, use current buffer to run commands (bug #22876)
2342 * irc: fix lock with SSL servers when connection fails, and when disconnecting during connection problem (bug #17584)
2343 * irc: command /whois is now authorized in private without argument (task #7482)
2344 * irc: fix private buffer name with Irssi proxy (bug #26589)
2345 * irc: remove kernel info in CTCP VERSION reply (task #7494)
2346 * irc: fix mode parsing when receiving modes with arguments (bug #26793)
2347 * scripts: do not auto-load hidden files (bug #21390)
2348
2349 [[v0.2.6.3]]
2350 == Version 0.2.6.3 (2009-06-13)
2351
2352 Bug fixes::
2353
2354 * fix GnuTLS detection (use pkg-config instead of libgnutls-config) (bug #26790)
2355
2356 [[v0.2.6.2]]
2357 == Version 0.2.6.2 (2009-04-18)
2358
2359 Bug fixes::
2360
2361 * fix bug with charset decoding (for example with iso2022jp) (bug #26228)
2362
2363 [[v0.2.6.1]]
2364 == Version 0.2.6.1 (2009-03-14)
2365
2366 Bug fixes::
2367
2368 * fix crash with some special chars in IRC messages (bug #25862, CVE-2009-0661)
2369
2370 [[v0.2.6]]
2371 == Version 0.2.6 (2007-09-06)
2372
2373 New features::
2374
2375 * add new option "deloutq" to /server command to delete all servers messages out queues (task #7221)
2376 * add string length limit for setup file options
2377 * add option to align text of messages (except first lines) (task #7246)
2378 * add paste detection, new options look_paste_max_lines and col_input_actions (task #5442)
2379 * add support of channel mode +u (channel user) (bug #20717)
2380 * improve /connect command to connect to a host by creating a temporary server, add option to /server to create temporary server (task #7095)
2381 * add "copy", "rename" and "keep" options to /server command
2382 * allow clear of multiple selected buffers with /clear (patch #6112)
2383 * add key for setting unread marker on all buffers (default: kbd:[Ctrl+s], kbd:[Ctrl+u]) (task #7180)
2384 * improve command /server ant its output
2385 * add 3 default new keys: kbd:[Ctrl+b] (left), kbd:[Ctrl+f] (right), kbd:[Ctrl+d] (delete)
2386 * add "buffer_move" event handler to plugins API (task #6708)
2387 * add key function "jump_previous_buffer" to jump to buffer previously displayed (new key: kbd:[Alt+j], kbd:[Alt+p]) (task #7085)
2388 * add "%*" to completion template, to repeat last completion
2389 * add "-nojoin" option for /connect and /reconnect commands (task #7074)
2390 * add "scroll" option to /buffer command
2391 * down key now saves input to history and clears input line (task #7049)
2392 * command /away allowed when not connected to server (internally stored and AWAY command is sent when connecting to server) (task #7003)
2393 * add argument for /upgrade command (path to binary)
2394 * add hotlist sort with new option "look_hotlist_sort" (task #5870)
2395
2396 Bug fixes::
2397
2398 * fix bug with log of plugin messages (option log_plugin_msg)
2399 * fix display bug with some special chars in messages (some words were truncated on screen) (bug #20944)
2400 * fix UTF-8 bug with color encoding/decoding
2401 * fix crash when searching text in buffer with kbd:[Ctrl+r] (bug #20938)
2402 * fix bug with flock when home is on NFS filesystem (bug #20913)
2403 * fix user modes in nicklist when ban and nick mode are received in the same MODE message (bug #20870)
2404 * fix IRC message 333: silently ignore message if error when parsing it
2405 * fix server option "command_delay": does not freeze WeeChat any more
2406 * fix bug with highlight and UTF-8 chars around word (bug #20753)
2407 * fix nick prefix display on servers that doesn't support all prefixes (bug #20025)
2408 * fix terminal encoding detection when NLS is disabled (bug #20646)
2409 * fix crash when sending data to channel or pv on disconnected server (bug #20524)
2410 * fix bugs with IRC color in messages, now color codes are inserted in command line with kbd:[Ctrl+c], kbd:[Ctrl+b].. instead of %C,%B,.. (bug #20222, task #7060)
2411 * fix bug with smart nick completion (last speakers first) when a nick is changed
2412 * fix charset bug with channel names in status bar (bug #20400)
2413 * fix log file when channel name contains "/" (bug #20072)
2414 * fix bug with /topic when channel not open and topic not defined (bug #20141)
2415
2416 Documentation::
2417
2418 * add Swedish quickstart guide
2419
2420 [[v0.2.5]]
2421 == Version 0.2.5 (2007-06-07)
2422
2423 New features::
2424
2425 * add missing IRC commands (327, 378, 379) (bug #20091)
2426 * add "%M" for completion with nicks of current server (nicks on open channels) (task #6931)
2427 * improve key bindings: now possible to bind a key on many commands, separated by semicolon (task #5444)
2428 * improve IRC long message split: use word boundary (task #6685)
2429 * add protocol priority for GnuTLS (patch #5915)
2430 * add channel admin mode "!" for some IRC servers
2431 * add /reconnect command (task #5448)
2432 * add "-all" option for /connect and /disconnect commands (task #6232)
2433 * improve nick completion: completion with last speakers first and self nick at the end; add option look_nick_completion_smart, enabled by default (task #5896)
2434 * add color for input text not found in buffer history
2435
2436 Bug fixes::
2437
2438 * fix /quote command: now allowed when socket is OK (even if IRC connection to server is not OK) (bug #20113)
2439 * fix hotlist when exiting search mode: current buffer is removed from hotlist
2440 * remove ":" for unknown IRC commands before arguments (bug #19929)
2441 * fix "%C" completion: now completes with all channels of all servers
2442 * fix bug with "/buffer query_name", add server and channel completion for /buffer command (bug #19928)
2443 * fix IRC mode parsing when receiving modes with arguments (bug #19902)
2444 * fix crash with IRC JOIN malformed message (bug #19891)
2445 * fix bug with nick prefixes on some IRC servers (bug #19854)
2446 * improve setup file save: now writes temporary file, then rename it (task #6847)
2447 * fix bug with $nick/$channel/$server variables in commands
2448 * forget current nick when user manually disconnects from server
2449 * fix nick display in input window
2450 * fix bug with erroneous nickname when connecting to server (bug #19812)
2451 * fix display bugs in IRC error messages
2452 * fix bug with iso2022jp locale (bug #18719)
2453 * fix string format bug when displaying string through plugin script API
2454 * fix nick completion in command arguments (bug #19590)
2455 * fix possible crash with nick completion when a nick leaves channel (bug #19589)
2456 * fix USER message when connecting to IRC server (patch #5835)
2457
2458 Build::
2459
2460 * add CMake for weechat compilation (patch #5943)
2461
2462 [[v0.2.4]]
2463 == Version 0.2.4 (2007-03-29)
2464
2465 New features::
2466
2467 * rename log file for DCC chat (now <server>.dcc.<nick>.weechatlog)
2468 * add current buffer in hotlist when scrolling up in buffer (task #6664)
2469 * improve password hiding, code cleanup (bug #19229)
2470 * add new return code in plugin API to force highlight (for message handlers only)
2471 * add "call" option to /key command, add new key function "insert" to insert text on command line (task #6468)
2472 * add event handler to plugin API
2473 * add numeric argument for /clear command (buffer number) (patch #5372)
2474 * add new key (kbd:[Ctrl+r]) for interactive and incremental search in buffer history (task #6628)
2475
2476 Bug fixes::
2477
2478 * fix color bug with IRC messages displayed by plugins (bug #19442)
2479 * fix topic charset, now using channel charset if defined (bug #19386)
2480 * fix crash when closing a pv if a DCC chat is open on same nick (bug #19147)
2481 * fix bug with channel topic after reconnection (not erased) (bug #19384)
2482 * fix bug with explode_string / free_exploded_string when max_items > 0
2483 * fix /topic completion when no topic set on current channel (bug #19322)
2484 * fix bug with server buffer when "look_one_server_buffer" is ON and server buffer is moved to any number > 1 (bug #19219)
2485 * fix /help command: displays plugin help for redefined commands (bug #19166)
2486 * prefix "/" disabled in commands (patch #5769)
2487 * fix completion of redefined commands removed by plugins (bug #19176)
2488 * fix memory leaks in perl and python plugins (bug #19163)
2489 * fix permissions on "dcc" and "logs" directories (bug #18978)
2490 * fix crash when /away command is issued with no server connection (bug #18839)
2491 * fix crash when closing a buffer opened on many windows
2492 * fix freeze with SSL server when disconnecting after connection loss (bug #18735)
2493
2494 Documentation::
2495
2496 * add Scots quickstart guide
2497
2498 [[v0.2.3]]
2499 == Version 0.2.3 (2007-01-10)
2500
2501 Bug fixes::
2502
2503 * fix display bugs with nicklist at top/bottom when look_nicklist_separator is OFF (bug #18737)
2504 * fix iconv problem, causing truncated words when using iso locale
2505 * fix topic scroll when topic has multi-bytes chars
2506 * fix bugs with charset: now decodes/encodes nicks and channels in IRC messages (bug #18716)
2507
2508 Build::
2509
2510 * fix compilation problem with iconv under FreeBSD
2511
2512 [[v0.2.2]]
2513 == Version 0.2.2 (2007-01-06)
2514
2515 New features::
2516
2517 * add anti-flood option (irc_anti_flood) (task #5442)
2518 * plugins: "add_message_handler" now accepts "*" for all IRC messages
2519 * add keys (kbd:[F9] / kbd:[F10]) to scroll topic (task #6030)
2520 * add auto completion with channels and filenames (task #5423)
2521 * add option "look_nicklist_separator" (task #5437)
2522 * add "irc_send_unknown_commands" option to send unknown commands to IRC server (OFF by default) (task #5947)
2523 * /charset command and charset conversions now made by "charset" plugin
2524 * add filename completion (task #5425)
2525 * add "modifier" in plugins API
2526 * improve /plugin command
2527 * add date in plugin function get_buffer_data
2528 * add more values for config boolean values: y/true/t/1 and n/false/f/0
2529
2530 Bug fixes::
2531
2532 * fix bug with status bar (missing refresh) when closing a buffer
2533 * fix bug with use of first buffer for a channel if not connected to server (now allowed only for a server buffer)
2534 * fix refresh bug with private buffer title
2535 * fix bug with nick completion in command arguments (now uses option look_nick_completion_ignore)
2536 * fix display bug with color for first line on screen (bug #17719)
2537 * fix bug with set_config function in plugins API (bug #18448)
2538 * fix memory leak in keyboard input
2539 * fix refresh bug when changing config options if window is split
2540 * add space between chat and nicklist when position is "right" (bug #17852)
2541 * fix bug with DCC SEND when filename begins with "~"
2542 * fix display bug in status bar, wrong length when using UTF-8
2543 * fix bug with ignore: now any IRC command is allowed
2544 * fix crash with kbd:[Ctrl+t] (transpose) and one char on line (bug #18153)
2545 * fix bug on ignore with "mode" IRC command (bug #18058)
2546 * fix crash when loading ruby script if file does not exist, with Ruby >= 1.9 only (bug #18064)
2547 * mode changes with /op, /deop, /voice, /devoice, /halfop, /dehalfop are now sent in one mode command to server (task #5968)
2548 * fix bug with /alias and arguments (like $1), now text after argument(s) is used (bug #17944)
2549 * fix minor display bug with special chars on some arch like PPC
2550
2551 Build::
2552
2553 * fix some portability bugs (patch #5271)
2554 * fix iconv detection for BSD (patch #5456)
2555 * fix typo in configure.in (bash specific test) (patch #5450)
2556
2557 [[v0.2.1]]
2558 == Version 0.2.1 (2006-10-01)
2559
2560 New features::
2561
2562 * command "/away -all" now allowed when not connected to current server
2563 * new signals handled: SIGTERM and SIGHUP (received when terminal is closed): clean WeeChat quit (send quit to irc servers then quit WeeChat)
2564 * add some new default key bindings for existing keys (for some OS)
2565 * command /key now OK with one argument (key name): display key if found
2566 * add current channel completion for /ctcp command
2567 * values yes/no accepted (as on/off) for config boolean values (task #5454)
2568 * add server default notify level (set by /buffer notify on server buffer) (task #5634)
2569 * add special vars $nick/$channel/$server for server_command, alias and plugin command handlers
2570 * add arguments $1,$2,..,$9 and $* for alias (task #5831)
2571 * add hotlist in session file when using /upgrade command (task #5449)
2572
2573 Bug fixes::
2574
2575 * fix crash for DCC receiver when resuming a file (bug #17885)
2576 * fix DCC error for sender when receiver cancels DCC (bug #17838)
2577 * fix random crash with /upgrade command (error when loading buffers)
2578 * fix buffer search by server/channel: now if only channel is specified, a channel of another server can be found
2579 * fix highlight for DCC, invite and notice: when a window is displaying buffer, there's no highlight
2580 * fix bug with CTCP VERSION sent on channels (bug #17547)
2581 * fix bugs in get_buffer_data which breaks the retrieval of buffer content (perl, lua)
2582 * fix nicklist display bug when top/bottom (not enough lines) (bug #17537)
2583 * fix bug with auto-rejoin of keyed channels (bug #17534)
2584 * add default nick completion when line starts with "//" (bug #17535)
2585 * fix crashes with /buffer and /charset commands when not connected to any server (bug #17525)
2586 * fix nick refresh problem with unrealircd specific modes: chan owner (~) and chan admin (&) (bug #17340)
2587
2588 [[v0.2.0]]
2589 == Version 0.2.0 (2006-08-19)
2590
2591 New features::
2592
2593 * add "C"lear option on IRC raw buffer
2594 * IRC raw buffer now uses join/part prefix with color to display messages
2595 * add send of "quit" message to server when using /disconnect
2596 * add "%m" for completion with self nick (on current server)
2597 * add missing IRC commands (310, 326, 329, 338)
2598 * improve DCC speed (up to x5 on LAN) by forking for DCC files and a new option "dcc_fast_send" (does not wait for ACK) (task #5758)
2599 * add "look_save_on_exit" option (patch from Emanuele Giaquinta)
2600 * add new functions in plugin/script API: get window info, get buffer info, get buffer content
2601 * add color encoding for some commands like /me
2602 * add aspell plugin
2603
2604 Bug fixes::
2605
2606 * fix "wallops" command when received, now displayed by WeeChat (bug #17441)
2607 * fix /wallops command (now many words are correctly sent)
2608 * fix command 348 (channel exception list, received by /mode #chan e)
2609 * add missing modes (channel & user), now all modes are allowed (bug #16606)
2610 * fix DCC restore after /upgrade (order is now correctly saved)
2611 * fix away after server disconnection (now away is set again when reconnecting) (bug #16359)
2612 * fix DCC file connection problem (connection from receiver to sender)
2613 * fix crash when purging DCC with high number of DCC (> window size)
2614 * fix completion for command handlers (now empty completion_template means nick completion, "-" string means no completion at all)
2615 * fix nick alignment problem when look_nickmode is off
2616 * add generic function for incoming numeric IRC commands (bug #16611)
2617 * fix crash when doing "/part something" on a server buffer (bug #17201)
2618 * charsets are now checked when set by /charset command
2619 * fix crash on DCC buffer under Darwin 8 (bug #17115)
2620 * fix bug with spaces in script names (bug #16957)
2621 * fix random crash when "MODE #chan -l" is received
2622 * fix bug in IRC parser (random crash with malformed IRC messages)
2623 * fix refresh bugs when terminal is resized: too many refreshes, display bug with split windows
2624 * case ignored for channel names in charset options (bug #16858)
2625 * fix crash when setting look_one_server_buffer to ON (bug #16932)
2626 * fix display bug with special char (bug #16732)
2627 * rename plugins names (remove "lib" prefix in name)
2628 * fix crash when closing DCC/raw buffer if 2 are open (bug #16808)
2629 * fix crashes with DCC chat remove/purge on DCC view (bug #16775)
2630 * fix bug with connection to bnc (bug #16760)
2631 * command /save now writes plugins options (~/.weechat/plugins.rc)
2632 * fix crash with register function in plugin scripts (bug #16701)
2633 * fix random crash at exit (/quit or /upgrade) with split windows
2634
2635 Documentation::
2636
2637 * add Polish, Russian and Czech quickstart guide
2638
2639 Build::
2640
2641 * add configure option for doc XSL prefix (bug #16991)
2642
2643 [[v0.1.9]]
2644 == Version 0.1.9 (2006-05-25)
2645
2646 New features::
2647
2648 * add backtrace when WeeChat crashes, log file automatically renamed
2649 * add new key to find previous completion (kbd:[Shift+Tab] by default)
2650 * add missing IRC commands (006, 007, 290, 292, 310, 379, 437, 974)
2651 * add new option to customize input prompt
2652 * add nick modes
2653 * add hostnames associated to nicks (available for /ban completion)
2654 * add "+p" mode for channels, fix mode display in status bar
2655 * add nick alignment options
2656 * add keyboard handler to plugin API
2657 * improve script plugin loader
2658 * add hostname/IP option for connection to server
2659 * add /setp command (set plugin options)
2660 * aliases are executed before WeeChat/IRC commands, add /builtin command
2661 * add /cycle command, /part command does close buffer any more
2662
2663 Internationalization::
2664
2665 * add Russian translations (thanks to Pavel Shevchuk)
2666
2667 Bug fixes::
2668
2669 * fix /squery command (message sent to server, now OK with more than two arguments)
2670 * fix /alias command (with an alias name, display content)
2671 * add lock for log file (~/.weechat/weechat.log), only one WeeChat process can use this file (bug #16382)
2672 * fix crash with malformed UTF-8 strings
2673 * fix crash with ncurses color when too many colors defined in ncurses (bug #16556)
2674 * fix bug with long outgoing IRC messages (> 512 bytes) (bug #16358)
2675 * fix Ruby crash when handler does not return OK or KO (bug #16552)
2676 * fix UTF-8 display bug with chars using more than one cell on screen (bug #16356)
2677 * fix display bug with DCC file size when > 1 GB
2678 * fix refresh bug (deadlock in curses) when terminal is resized (bug #16542)
2679 * fix nicklist sort bug
2680 * fix crash when multiple pv have same name: now it's forbidden and pv buffer is not renamed (when a nick changes) if another exists with same name (bug #16369)
2681 * command /clear [-all] now clears hotlist
2682 * fix crash after /upgrade if a line in history is empty (bug #16379)
2683 * fix many crashes with DCC chat (bug #16416)
2684 * fix commands 332, 333 (/topic now OK when channel is not opened)
2685 * remove color encoding and charset conversion for commands (only allowed in text sent to channel/private)
2686 * fix /names command: now displays result when not on a channel
2687 * fix refresh bug (too many refresh) when terminal is resized
2688 * fix nicklist display bugs when on top or bottom of chat window
2689 * fix high CPU usage when running under a Screen that has been killed
2690
2691 Documentation::
2692
2693 * add German doc (thanks to Frank Zacharias)
2694
2695 Build::
2696
2697 * fix --disable-plugins option in configure script
2698 * improve Lua detection (bug #16574)
2699
2700 [[v0.1.8]]
2701 == Version 0.1.8 (2006-03-18)
2702
2703 New features::
2704
2705 * improve alias completion (now uses target command for completion)
2706 * add missing IRC command (487)
2707 * add inactivity time, available for plugins via get_info("inactivity")
2708 * add keys kbd:[Alt+Home] / kbd:[Alt+End] to scroll top/bottom, kbd:[Alt+F11] / kbd:[Alt+F12] to scroll nicklist top/bottom
2709 * add special names for plugin message handlers: weechat_pv, weechat_highlight, weechat_ctcp, weechat_dcc
2710 * add IRC raw data buffer (new key: kbd:[Alt+j], kbd:[Alt+r])
2711 * add new plugins functions: add_timer_handler, remove_timer_handler, remove_infobar
2712 * plugin messages handlers now called when message is ignored (by /ignore)
2713 * new behavior for messages ignored by a message handler: now WeeChat executes standard handler, treating message as "ignored"
2714 * many commands allowed for aliases
2715 * many commands allowed when connecting to server
2716 * add Lua script plugin
2717 * add functions in plugins API: get_server_info, free_server_info, get_channel_info, free_channel_info, get_nick_info, free_nick_info
2718 * add option "look_nick_complete_first" (patch from Gwenn)
2719 * add option "look_open_near_server" (patch from Gwenn)
2720 * add new scroll keys for a few lines up/down (default: kbd:[Alt+PgUp] / kbd:[Alt+PgDn]) (patch from Pistos)
2721 * add new option "irc_away_check_max_nicks" to disable away check on channels with high number of nicks (patch from Gwenn)
2722 * add new command line argument for setting WeeChat home dir (-d or --dir) (patch from Gwenn)
2723 * add option "irc_show_away_once", to show away message only once in pv
2724
2725 Internationalization::
2726
2727 * add partial Hungarian translations
2728
2729 Bug fixes::
2730
2731 * improve Ruby plugin
2732 * fix /set command when internal server name contains one or many dots
2733 * fix get_info plugin API function when no server at all is opened
2734 * fix display bug when top of buffer is displayed and first line is removed (according to "history_max_lines" setting)
2735 * fix /mode command output
2736 * fix completion problem in private with nicks
2737 * script plugins now load scripts in WeeChat system share directory
2738 * /msg command does not open any buffer any more
2739 * fix crash when using global history (when older entry is removed)
2740 * fix display bug with /kill command
2741 * fix bug with /upgrade and servers buffer
2742 * fix bug with get_dcc_info plugin interface function
2743 * fix bug with charset in infobar highlights
2744 * fix bug with buffer detection in plugins/scripts commands
2745 * fix bug with /history command
2746
2747 [[v0.1.7]]
2748 == Version 0.1.7 (2006-01-14)
2749
2750 New features::
2751
2752 * remove "irc_default_msg_away" setting, for RFC 2812 conformity (/away command without argument only removes away status), new values for "irc_display_away" (off, local, channel)
2753 * add color for window separators (when split)
2754 * add completion system for plugins/scripts commands
2755 * add charset by server and channel, new command: /charset
2756 * add Ruby script plugin
2757 * add /upgrade command
2758 * add ETA (Estimated Time of Arrival) for DCC files
2759 * /nick command is now allowed when not connected to server
2760 * add server/channel argument to /buffer command for jumping to buffer
2761 * add new keys for switching to other windows: kbd:[Alt+w], kbd:[Alt+Arrow]
2762 * add new keys for scrolling to previous/next highlight: kbd:[Alt+p] / kbd:[Alt+n]
2763 * add "read marker": an indicator for first unread line in a server or channel buffer (new key kbd:[Alt+u] to scroll to marker)
2764 * new window management: custom size for windows, auto resize when terminal is resized
2765 * add /history command
2766
2767 Bug fixes::
2768
2769 * fix msg command (now allowed in private buffer with "*" as target)
2770 * fix refresh bug with Solaris when term size is changed
2771 * fix plugins autoload
2772 * fix display bug in chat window when a message length equals to window width
2773 * fix infinite loop when resizing term to small size
2774
2775 Build::
2776
2777 * replace Texinfo doc by XML Docbook
2778
2779 [[v0.1.6]]
2780 == Version 0.1.6 (2005-11-11)
2781
2782 New features::
2783
2784 * new color management system, IRC colors are now correctly displayed and can be removed by new options irc_colors_receive and irc_colors_send
2785 * add setting for having one server buffer for all servers (look_one_server_buffer)
2786 * add setting for ignoring some chars when completing nicks
2787 * signal SIGPIPE is now ignored
2788 * add partial match for highlights
2789 * add dcc_own_ip and dcc_port_range settings
2790 * full UTF-8 support, auto-detection of UTF-8 usage (locale)
2791 * add "Day changed to [date]" message when day changes
2792 * new plugin interface, rewritten from scratch: now loads dynamic C library, and perl/python are script plugins
2793 * log options (for server/channel/private) can now be set while WeeChat is running
2794 * add channel modes +e and +f
2795 * add some missing IRC commands, fix command 367
2796 * add colors for input buffer and current channel of status bar
2797 * add online help for config options (with /set full_option_name)
2798 * enhanced "smart" hotlist, with names (new options: look_hotlist_names_{count|level|length})
2799
2800 Bug fixes::
2801
2802 * fix scroll problem when one line is bigger than screen size
2803 * fix IRC message parser bug
2804
2805 [[v0.1.5]]
2806 == Version 0.1.5 (2005-09-24)
2807
2808 New features::
2809
2810 * add /ame command (send CTCP action to all channels of all connected servers)
2811 * add setting "irc_notice_as_pv" to see notices as pv
2812 * add nicks colors in setup file
2813 * add some missing IRC commands
2814 * add /ignore and /unignore commands
2815 * signal SIGQUIT is now ignored
2816 * jump to next server now saves current channel buffer for each server
2817 * add keys kbd:[Ctrl+Up] / kbd:[Ctrl+Down] to call previous/next command in global history (common to all buffers)
2818
2819 Bug fixes::
2820
2821 * fix DCC bug: delete failed file only if really empty (on disk)
2822 * fix IRC message parser bug
2823 * fix scroll problem (screen moving when scrolling and new line displayed)
2824 * fix infinite loop when scrolling back and displaying long lines
2825 * fix crash when closing a buffer used by more than one window
2826 * fix DCC display bug (now decodes string according to charset)
2827 * fix bug with strings comparison (str[n]casecmp) and some locales (like Turkish), now using ASCII comparison (thanks to roktas)
2828 * fix refresh bug when one line is bigger than screen size
2829 * fix look_nicklist_min_size and look_nicklist_max_size options
2830 * fix refresh bug when changing channel modes
2831
2832 [[v0.1.4]]
2833 == Version 0.1.4 (2005-07-30)
2834
2835 New features::
2836
2837 * join and part/quit prefixes (arrows) now displayed with different colors
2838 * add "irc_highlight" setting, to get highlight with any word
2839 * add /amsg command (send text to all channels of all connected servers)
2840 * add color for private in hotlist (different than color for highlight)
2841 * add DCC resume and timeout
2842 * add function for Perl/Python to get DCC list
2843 * new keyboard management: keys are setup in config file, add new command /key, add some new default keys, kbd:[Alt+k] is used to grab key (useful for /key command)
2844 * add seconds in infobar time (optional thanks to new setting)
2845 * add auto-prefix with "#" for channels (if no prefix found), with /join command
2846
2847 Bug fixes::
2848
2849 * fix auto-rejoin for channels with key
2850 * fix /ctcp command (now any command/data allowed)
2851 * fix SIGSEGV handler (now write a core file by aborting program)
2852 * fix statusbar & infobar background refresh problem with some systems
2853 * fix FIFO pipe (command now authorized on a buffer not connected to an IRC server)
2854 * topic completion now decodes UTF-8 string
2855 * fix bug with IRC URL on command line (irc://)
2856 * fix some curses refreshes
2857
2858 [[v0.1.3]]
2859 == Version 0.1.3 (2005-07-02)
2860
2861 New features::
2862
2863 * proxy support (http, socks4, socks5) with authentication (http, socks5) and ipv6 support (client to proxy)
2864 * add completion for config option (with /set command)
2865 * commands from users outside channel now authorized (if special user or channel without "n" flag)
2866 * add IPv6 support
2867 * kill command now received and displayed
2868 * add SSL support
2869 * channel notify levels are saved in config file (new option "server_notify_levels" for server sections)
2870 * part message now accepts %v (replaced by WeeChat version), like quit message
2871
2872 Bug fixes::
2873
2874 * errors while loading perl scripts are now displayed in server buffer (instead of current buffer)
2875 * in python scripts, all messages written in stdin and stderr are redirected in server buffer
2876 * fix a filename error while loading a python script manually
2877 * fix plugins print and prnt functions: now OK for writing on server buffers
2878 * fix color problem with new libcurses version
2879 * fix crash when using kbd:[Alt+s] or kbd:[Alt+x] on DCC buffer (kbd:[Alt+d])
2880 * fix startup crash when config file (~/.weechat/weechat.rc) is not found
2881
2882 Build::
2883
2884 * improve Perl/Python libs detection for ./configure script
2885
2886 [[v0.1.2]]
2887 == Version 0.1.2 (2005-05-21)
2888
2889 New features::
2890
2891 * add Python plugin support, improve Perl interface (and now Perl/Python libraries are checked by configure script)
2892 * add nicklist scroll keys (kbd:[Alt+Home] / kbd:[Alt+End] / kbd:[Alt+PgUp] / kbd:[Alt+PgDn] or kbd:[F11] / kbd:[F12])
2893 * add transfer rate for DCC files
2894 * add "-all" option for /nick command
2895 * buffers timestamp can now be changed (new option in config file)
2896 * add missing IRC commands (307, 341, 485, 671)
2897
2898 Bug fixes::
2899
2900 * fix nicklist sort
2901 * fix crash when purging old DCC
2902 * fix crash with 64-bits arch (like AMD64) when converting UTF-8
2903
2904 Build::
2905
2906 * WeeChat now OK under *BSD and macOS
2907
2908 [[v0.1.1]]
2909 == Version 0.1.1 (2005-03-20)
2910
2911 New features::
2912
2913 * add nicks count for channel buffers
2914 * add FIFO pipe for remote control
2915 * add crash dump when WeeChat receives SIGSEGV (Segmentation fault)
2916 * add new display engine: doesn't cut words at end of lines
2917 * add DCC send and DCC chat
2918 * add /halfop & /dehalfop commands, fix halfop display bug in nicklist
2919 * add /ban, /unban and /kickban commands
2920 * add --irc-commands and --weechat-commands command line options
2921 * connection to IRC server is now made by child process (non blocking)
2922 * add support for UnrealIrcd ("~" for chan owner, "&" for chan admin)
2923 * new key for window switch (now: kbd:[F5] / kbd:[F6] = switch buffer, kbd:[F7] / kbd:[F8] = switch window)
2924 * on server buffer, only server messages are logged
2925 * improve /help command output
2926 * plugins messages are logged with new config option (log_plugin_msg)
2927
2928 Internationalization::
2929
2930 * add Spanish translations
2931
2932 Bug fixes::
2933
2934 * fix /kick command
2935 * fix /invite command (and now invite requests are displayed)
2936 * fix /buffer close command (now OK when disconnected from server)
2937 * fix display bugs when many windows are opened
2938
2939 [[v0.1.0]]
2940 == Version 0.1.0 (2005-02-12)
2941
2942 New features::
2943
2944 * improve /window command: now split and merge are OK
2945 * away nicks are now displayed with another color (new option: "irc_away_check")
2946 * add away indicator in status bar
2947 * add lag indicator (and auto-disconnect after a delay if important lag)
2948 * improve completion: now completes commands arguments (IRC and internal), when only one completion matches, completion mechanism is stopped (to complete command argument for example)
2949 * improve /set command: empty strings are allowed, new colors, server options can be changed while WeeChat is running
2950 * add default away/part/quit messages in config file
2951 * new [irc] section in config file, move option "look_display_away" to "irc_display_away"
2952 * server messages & errors are all prefixed (by 3 chars, like "-@-")
2953 * add new options for charset (UTF-8 support): look_charset_decode, look_charset_encode and look_charset_internal
2954
2955 Bug fixes::
2956
2957 * fix many memory leaks
2958 * fix colors bug: remove "gray" color (replaced by "default"), colors are OK when terminal has white (or light) background
2959 * fix crash when resizing terminal to small size
2960 * fix crash when multiple servers and big messages received from server
2961 * fix crash when closing some private buffers
2962 * fix crash when unknown section with option(s) in config file
2963 * fix /op, /deop, /voice, /devoice (now OK with many nicks)
2964 * fix /me command (now OK without parameter)
2965 * fix /away command (now OK if not away)
2966 * logs are now disabled by default (server/channel/private)
2967
2968 [[v0.0.9]]
2969 == Version 0.0.9 (2005-01-01)
2970
2971 New features::
2972
2973 * auto-reconnection to server (new options: server_autoreconnect (on/off), server_autoreconnect_delay (in seconds))
2974 * new command "/buffer close" (close any server/channel/private buffer)
2975 * new keys: kbd:[Ctrl+a] (home), kbd:[Ctrl+e] (end), kbd:[Ctrl+w] (same as kbd:[Ctrl+Backspace]), kbd:[Alt+s] (switch to server buffer), kbd:[Alt+x] (switch to first channel of next server)
2976 * add new config option: "server_command_delay" (delay in seconds after startup command for each server)
2977
2978 Bug fixes::
2979
2980 * fix major bug when socket is closed by server (100% CPU usage), and disconnections are now OK (all channels are "closed", history is still visible, and buffer will be used again if reconnection to server)
2981 * option "look_remove_colors_from_msgs" is now working
2982 * fix display of nick mode changes
2983 * fix /notice command (and display when received from server)
2984
2985 [[v0.0.8]]
2986 == Version 0.0.8 (2004-10-30)
2987
2988 New features::
2989
2990 * nickserv passwords hidden (new config option: log_hide_nickserv_pwd on/off)
2991 * auto-rejoin channels when kicked (new config option: server_autorejoin on/off)
2992 * add IRC::command function for Perl scripts
2993 * /buffer command developed (buffers list, move and notify)
2994 * logging buffers to disk (server/channel/private according to user preferences)
2995 * add config option "look_display_away" to announce away in channels
2996 * DCC file receive OK (kbd:[Alt+d] for DCC view)
2997 * add key kbd:[Ctrl+l] (`L`) for redrawing terminal
2998 * add key kbd:[Alt+r] for clearing hotlist
2999
3000 Bug fixes::
3001
3002 * fix /kick command: now OK with many words as reason
3003 * fix bug when adding alias with same name as other
3004 * fix crash when resizing terminal to very small size
3005 * "-MORE-" message is now erased when switching to another buffer
3006 * /query command now reopens private buffer if already opened
3007
3008 [[v0.0.7]]
3009 == Version 0.0.7 (2004-08-08)
3010
3011 New features::
3012
3013 * new "col_status_delimiters" config option
3014 * add command /buffer , buffers ordered by number, auto-jump to active buffers (kbd:[Alt+a]), jump to buffers by number (kbd:[Alt+0...9])
3015 * add command /window, split terminal horizontally/vertically
3016 * unique color for each nick (based on nickname)
3017 * add history limit (text buffer and commands)
3018
3019 Bug fixes::
3020
3021 * action messages are now considered as messages, not crappy joins/parts
3022 * fix display bug when nicklist is displayed at bottom of screen
3023
3024 Build::
3025
3026 * replace --enable-debug with --with-debug option for ./configure
3027
3028 [[v0.0.6]]
3029 == Version 0.0.6 (2004-06-05)
3030
3031 New features::
3032
3033 * improve channel highlight (priority to message vs join/part)
3034 * add command /query (starts private conversation)
3035 * add IRC messages 476, 477
3036
3037 Bug fixes::
3038
3039 * fix bug when opened private win and remote user changes his nick
3040 * /mode command is now OK and channel flags are displayed in status bar
3041 * fix display bug (text was blinking when scrolling)
3042 * CTCP Version reply is now in English only and doesn't show host (security reason)
3043
3044 [[v0.0.5]]
3045 == Version 0.0.5 (2004-02-07)
3046
3047 New features::
3048
3049 * /set command to modify config options when WeeChat is running
3050 * URL command line parameter to connect to server(s)
3051 * new Perl script function to display message in info bar ("IRC::print_infobar")
3052 * info bar highlight notifications
3053 * add info bar timestamp in config ("look_infobar_timestamp")
3054 * add info bar (optional, "look_infobar" to enable it, "on" by default)
3055 * add -c (or --config) command line parameter to see config file options
3056
3057 Bug fixes::
3058
3059 * fix look_nicklist config option, now enables/disables nicklist
3060 * secure code to prevent buffer overflows and memory leaks
3061 * fix QUIT IRC command: now sent to all connected servers (not only current)
3062 * fix crash with /oper command
3063 * for default config file, nick is now based on un*x username
3064 * fix crash when config file cannot be written
3065 * add highlight on action messages
3066
3067 [[v0.0.4]]
3068 == Version 0.0.4 (2004-01-01)
3069
3070 New features::
3071
3072 * add Perl plugin
3073
3074 Bug fixes::
3075
3076 * fix switch to private buffer
3077 * add highlight when our nick is written in a channel/private window
3078 * catch kbd:[Ctrl+c] (ignored)
3079
3080 Build::
3081
3082 * debug messages can be enabled via ./configure --enable-debug option
3083
3084 [[v0.0.3]]
3085 == Version 0.0.3 (2003-11-03)
3086
3087 New features::
3088
3089 * add new IRC commands: stats, service, squit, motd, lusers, links, time, trace, admin, info, servlist, squery, who, whowas, die, summon, users, wallops, userhost, ison, ctcp ping
3090
3091 Internationalization::
3092
3093 * add French translations
3094
3095 Bug fixes::
3096
3097 * for sort of nicks (op, halfop, voice, other)
3098 * fix problem with "353" IRC message (nicklist)
3099 * fix problem when nick is truncated by server
3100 * fix crash when entering text without any server connection
3101 * fix crash when /set command is executed
3102 * fix display bug (text was blinking when scrolling)
3103 * code cleanup
3104
3105 Build::
3106
3107 * add ./configure script to build WeeChat
3108
3109 [[v0.0.2]]
3110 == Version 0.0.2 (2003-10-05)
3111
3112 New features::
3113
3114 * add commands /rehash and /restart
3115 * and command and auto-join channels when connected to server
3116 * new commands for alias: /alias, /unalias (new section in config file)
3117 * config is now saved automatically when quitting WeeChat, add /save command
3118 * new commands for servers: /server, /connect, /disconnect
3119 * add autoconnect flag for each server in config file
3120 * add "look_set_title" option in config file
3121 * term window title is modified with WeeChat name and version
3122 * CTCP version returns more info (about OS)
3123
3124 Bug fixes::
3125
3126 * fix nicklist display bug
3127 * fix crash when sending command which can only be received
3128
3129 [[v0.0.1]]
3130 == Version 0.0.1 (2003-09-27)
3131
3132 New features::
3133
3134 * ncurses GUI with color output
3135 * multi-servers
3136 * channel windows, with nicklist (position: top, bottom, left or right)
3137 * private windows
3138 * IRC commands: away, ctcp, deop, devoice, invite, join, kick, kill, list, me, mode, msg, names, nick, notice, op, oper, part, ping, pong, quit, quote, topic, version, voice, whois
3139 * WeeChat commands: clear, help, set (partial)
3140 * many config options
3141 * log file (~/.weechat/weechat.log)
3142 * nicklist can be moved on top, bottom, left or right of window