Commit Graph

501 Commits (master)

Author SHA1 Message Date
Sébastien Helleu 1a34f87163 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
(this is now the default value of the option):

  /set weechat.completion.nick_completer ": "
2019-01-26 14:54:57 +01:00
Sébastien Helleu 4d9fd4c4aa core: fix compilation of empty regular expression (not allowed on FreeBSD) 2019-01-26 10:21:39 +01:00
Sébastien Helleu 73a4901fe1 tests: fix evaluation tests on FreeBSD
The following special sequences are not supported in regular expressions on
FreeBSD:

- "\w": replaced with "[a-zA-Z0-9_]"
- "\S": replaced with "[^ ]" (it should be "[^ \t\n\r\f\v]", but in practice
  only spaces could be a problem when we use this sequence).
2019-01-26 10:00:47 +01:00
Sébastien Helleu 507dfec781 tests: fix UTF-8 tests on FreeBSD
Tests for size on screen are made on U+2EE9 (CJK Radical Simplified Yellow)
instead of U+24B62 (CJK Unified Ideograph-24B62) which returns a length of 1 on
FreeBSD and 2 on Linux.
2019-01-26 09:57:30 +01:00
Sébastien Helleu fec7d38e3d irc: return IRC color code instead of WeeChat color code when decoding a too short ANSI color sequence 2019-01-20 15:07:21 +01:00
Sébastien Helleu 85ee15d4e2 irc: fix encoding of italic attribute when colors are removed 2019-01-20 15:04:52 +01:00
Sébastien Helleu e847068a3c buflist: add default keys ctrl-F1/F2 to scroll up/down one page in buflist (same action as F1/F2) 2019-01-20 01:29:33 +01:00
Sébastien Helleu 9d6ebeda0d core: add default keys ctrl-F11/F12 to scroll up/down one page in nicklist (same action as F11/F12) 2019-01-20 01:29:28 +01:00
Sébastien Helleu 09a124c226 buflist: add alternate key codes for F1/F2 and alt-F1/alt-F2 (compatibility with terminals) 2019-01-20 01:09:26 +01:00
Sébastien Helleu 1b26d0608f core: update ChangeLog 2019-01-13 14:48:16 +01:00
Sébastien Helleu 8009094717 irc: fix parsing of "time" message tag on FreeBSD (issue #1289) 2019-01-11 22:40:06 +01:00
Sébastien Helleu c96e2f3593 tests: add tests on function irc_config_check_autojoin 2019-01-11 22:27:28 +01:00
Sébastien Helleu d26380a9bb core: replace "Mac OS X" and "OS X" by "macOS" (issue #1272) 2018-11-18 11:04:29 +01:00
Sébastien Helleu 916d99ad40 exec: add option exec.command.shell to customize the shell used with /exec -sh 2018-11-17 11:39:28 +01:00
Sébastien Helleu 85d7c9b6c5 core: add command line option "-t" (or "--temp-dir") to create a temporary WeeChat home (deleted on exit) 2018-11-17 10:36:58 +01:00
Sébastien Helleu 34fd37fa50 core: fix forced highlight on messages sent to other buffers (closes #1277)
The C compiler flag "-fsigned--char" is used to force "char" data type to be
always signed (which is what WeeChat expects).

On ARM systems, char is unsigned by default, which is causing problems when
WeeChat stores -1 in the notify_level (type: char).
2018-11-14 22:23:34 +01:00
Sébastien Helleu de8d640958 relay: add support of close frame in websocket connection (closes #1281) 2018-11-12 20:43:48 +01:00
Sébastien Helleu 594917bff4 core: add fix of memory leak in ChangeLog 2018-11-08 08:42:00 +01:00
Sébastien Helleu 6cdcebed8c buflist: add variable ${number2}, always set with the indented buffer number 2018-11-05 22:21:03 +01:00
Sébastien Helleu 738535e7f6 relay: add support of Time-based One-Time Password (TOTP) as second authentication factor in weechat protocol 2018-11-04 14:50:53 +01:00
Sébastien Helleu ed3f281ba9 api: add functions string_base_{encode,decode}, remove functions string_{encode,decode}_base64 2018-11-04 14:49:11 +01:00
Sébastien Helleu 8848b0e22a api: return integer in function string_encode_base64 2018-11-02 14:09:23 +01:00
Sébastien Helleu d0ea801724 core: add support of TOTP generation/validation (Time-based One-Time Password) 2018-11-02 14:06:14 +01:00
Sébastien Helleu 3f067f2065 buflist: fix warning displayed when script buffers.pl is loaded (closes #1274) 2018-10-27 08:52:20 +02:00
Sébastien Helleu 6620f40efa Version 2.3 2018-10-21 11:12:41 +02:00
Sébastien Helleu e7cb025e68 php: add detection of PHP 7.3 2018-10-16 23:02:13 +02:00
Sébastien Helleu f17cee75dc core: update ChangeLog (issue #1267) 2018-10-14 21:03:56 +02:00
Sébastien Helleu 8da3458f4c core: add repeat of string in evaluation of expressions with "repeat:count,string" (closes #958) 2018-10-09 21:12:02 +02:00
Sébastien Helleu 82697714e1 core: fix evaluation of nested ternary operators (closes #1263) 2018-10-08 22:51:08 +02:00
Sébastien Helleu e6e46bcae6 core: update ChangeLog (issue #1259) 2018-10-06 07:13:23 +02:00
Sébastien Helleu e28cb00106 relay: add real IP in client description (closes #1256) 2018-09-30 09:59:45 +02:00
Sébastien Helleu 93b5e60441 irc: display a warning when the value of option irc.server.xxx.autojoin is set to an invalid value 2018-09-20 20:32:47 +02:00
Sébastien Helleu 65f1c82a87 core: allow multiple arguments in command /buffer close 2018-09-18 21:27:44 +02:00
Sébastien Helleu fcf7469d76 core: allow multiple options "-r" ("--run-command") in command line arguments (closes #1248) 2018-09-06 21:52:02 +02:00
Sébastien Helleu 6bf0dfddd6 core: fix evaluation of condition when the left operand is an empty string 2018-08-18 15:30:16 +02:00
Sébastien Helleu 466dbbe75b core: add option "-P" (or "--plugins") to customize the plugins to load at startup
If given, the option replaces the option weechat.plugin.autoload.
2018-08-17 19:44:41 +02:00
Sébastien Helleu 85681772f0 core: add "line" trigger in ChangeLog 2018-08-17 08:48:09 +02:00
Sébastien Helleu 9105c3ba1f trigger: allow creation of temporary variables with the regex 2018-08-16 22:47:47 +02:00
Sébastien Helleu 1a0087a7d7 core: fix string evaluation with regex replacement when the string is empty 2018-08-16 22:45:42 +02:00
Sébastien Helleu ca90f28beb tests: add tests on modifier hook 2018-08-16 18:27:04 +02:00
Sébastien Helleu 6d061a9ac0 api: fix memory leak in function string_split 2018-08-15 09:42:43 +02:00
Sébastien Helleu 42be1a74a0 api: add function hook_line 2018-08-12 21:45:00 +02:00
Sébastien Helleu 12a6f74ec0 core: fix check of tags in lines
All changes:
- fix check of tags in lines: check lines without tags, fix check of tags with
  negation ("!tag")
- add string functions string_split_tags and string_free_split_tags
- add tests on function gui_line_match_tags
2018-08-12 20:30:13 +02:00
Sébastien Helleu 9fb8ca649e core: update ChangeLog (issue #1162) 2018-07-27 07:53:17 +02:00
Sébastien Helleu 7d7ca34a41 core: allow partial buffer name in command /buffer close (closes #1226) 2018-07-27 07:48:02 +02:00
Sébastien Helleu b7d6be5936 scripts: fix duplicated lines in output of script eval (python, perl, ruby, lua and guile)
When there was a call to a hook callback during the eval, the output buffer was
cleared too late, and displayed multiple times in the buffer.

This commit clears the buffer even before we display it (this display can
trigger a hook callback).
2018-07-25 20:19:26 +02:00
Sébastien Helleu df27a3b76a core: send signal "key_pressed" for mouse code only if the string is UTF-8 valid (closes #1220) 2018-07-15 15:09:31 +02:00
Sébastien Helleu c47916ac8e Version 2.2 2018-07-14 12:35:10 +02:00
Sébastien Helleu 2682fb450d lua: fix macros used to return values 2018-07-13 21:25:51 +02:00
Sébastien Helleu de1ade02c3 python: fix crash when loading a script with Python >= 3.7 (closes #1219) 2018-07-12 19:27:37 +02:00
Sébastien Helleu 7554febf7e python: add detection of Python 3.7 2018-07-12 19:24:56 +02:00
Sébastien Helleu 5b3f2ad466 irc: add nick, host and log tags in message displayed in private buffer when the nick comes back on the server (closes #1221) 2018-07-11 07:36:11 +02:00
Sébastien Helleu 7bd8fb4686 buflist: fix crash when setting the option buflist.look.signals_refresh with a list of signals 2018-07-10 20:30:10 +02:00
Sébastien Helleu 14a929341e fset: fix memory leak when switching the format with ctrl-X 2018-07-08 14:48:06 +02:00
Sébastien Helleu c17ab6aa00 fset: fix truncation of option values when the length is greater than 4096 (closes #1218) 2018-07-08 14:46:19 +02:00
Sébastien Helleu 5decae145f relay: fix socket creation for relay server on OpenBSD (closes #1213)
The socket option IPV6_V6ONLY is not needed on OpenBSD and must not be set (it
is read-only).
2018-07-01 15:39:34 +02:00
Sébastien Helleu a5962cf7f5 irc: display message 354 (WHOX) received with missing parameters (closes #1212) 2018-06-23 22:17:18 +02:00
Sébastien Helleu 3319832787 core: update ChangeLog (issue #1208) 2018-06-17 08:17:53 +02:00
Sébastien Helleu 261cbdae0d core: change default value of option weechat.look.hotlist_add_conditions (closes #1206)
Now if there are at least one relay client connected via weechat protocol,
the buffer is always added to the hotlist.
2018-06-14 22:22:06 +02:00
Sébastien Helleu 744ded04bd relay: add filtering on protocol in info "relay_client_count" (issue #1206) 2018-06-14 21:57:27 +02:00
Sébastien Helleu 19f37cee6a core: update ChangeLog 2018-06-13 22:22:06 +02:00
Sébastien Helleu dc12f6bef0 fset: fix crash when applying filters after closing the fset buffer (closes #1204) 2018-06-11 23:03:02 +02:00
Sébastien Helleu 1abf4040f1 core: add reverse of string in evaluation of expressions with "rev:" (closes #1200) 2018-06-02 16:01:14 +02:00
Sébastien Helleu ba19fa9963 core: count number of chars instead of bytes for suffix in function string_cut 2018-06-02 15:18:29 +02:00
Sébastien Helleu 1587674e9b trigger: hide password in command "/msg nickserv set password" 2018-05-31 21:14:57 +02:00
Sébastien Helleu 4592c9438f core: send buffer pointer (when possible) in signal "hotlist_changed" (closes #1133)
When a buffer is added or updated in the hotlist, the buffer pointer is sent.
When the hotlist is cleared or resorted, the buffer pointer is NULL.
2018-05-31 20:25:10 +02:00
Sébastien Helleu 2026545aaa core: fix delete of previous/next word (keys Ctrl+w and Alt+d) (closes #1195) 2018-05-22 22:26:00 +02:00
Sébastien Helleu aee5ee6f42 core: add issue #219 in ChangeLog 2018-05-21 14:49:45 +02:00
Sébastien Helleu 2a229a1b6b core: update ChangeLog 2018-05-21 14:44:21 +02:00
Sébastien Helleu 275a765de6 core: update ChangeLog 2018-05-21 08:52:34 +02:00
Sébastien Helleu 6b1f3de4b2 core: update ChangeLog 2018-05-20 22:30:13 +02:00
Sébastien Helleu 393203b13c core: update ChangeLog 2018-05-20 21:36:46 +02:00
Sébastien Helleu 60254ff48d irc: display current nick on connected servers in output of /server list|listfull (closes #1193) 2018-05-19 09:07:08 +02:00
Sébastien Helleu 26d972dd57 script: fix memory leak in case of invalid XML content in list of scripts 2018-05-18 23:01:57 +02:00
Sébastien Helleu 76f3be5260 core: fix infinite loop in evaluation of strings (closes #1183) 2018-04-17 20:27:48 +02:00
Sébastien Helleu 1a5527cf2e core: do not set terminal title by default (option weechat.look.window_title) (closes #1182) 2018-04-16 21:25:40 +02:00
Sébastien Helleu 9265acf879 scripts: fix memory leak in hook_info callback 2018-04-13 19:55:20 +02:00
Sébastien Helleu cc06b95ba7 tests: add tests on infolists 2018-04-12 19:47:42 +02:00
Sébastien Helleu 41d63511b4 scripts: fix return value of hook_infolist callback (pointer instead of string) 2018-04-12 00:12:20 +02:00
Sébastien Helleu 3467d6eb43 scripts: return long integer instead of string in function infolist_time 2018-04-10 21:26:15 +02:00
Sébastien Helleu 9a969c41db core: update ChangeLog 2018-04-10 19:58:03 +02:00
Sébastien Helleu c3d1c9734b php: fix memory leak in 72 functions returning allocated strings
Fixed functions:

- iconv_to_internal
- iconv_from_internal
- string_mask_to_regex
- string_format_size
- string_remove_color
- string_eval_expression
- string_eval_path_home
- list_new
- list_add
- list_search
- list_casesearch
- list_get
- list_next
- list_prev
- config_new
- config_new_section
- config_search_section
- config_new_option
- config_search_option
- config_get
- hook_command
- hook_completion
- hook_command_run
- hook_timer
- hook_fd
- hook_process
- hook_process_hashtable
- hook_connect
- hook_print
- hook_signal
- hook_hsignal
- hook_config
- hook_modifier
- hook_modifier_exec
- hook_info
- hook_info_hashtable
- hook_infolist
- hook_focus
- buffer_new
- buffer_search
- buffer_search_main
- current_buffer
- buffer_get_pointer
- buffer_string_replace_local_var
- current_window
- window_search_with_buffer
- window_get_pointer
- nicklist_add_group
- nicklist_search_group
- nicklist_add_nick
- nicklist_search_nick
- nicklist_group_get_pointer
- nicklist_nick_get_pointer
- bar_item_search
- bar_item_new
- bar_search
- bar_new
- infolist_new
- infolist_new_item
- infolist_new_var_integer
- infolist_new_var_string
- infolist_new_var_pointer
- infolist_new_var_time
- infolist_search_var
- infolist_get
- infolist_pointer
- hdata_get
- hdata_get_list
- hdata_move
- hdata_search
- hdata_pointer
- upgrade_new
2018-04-07 21:52:49 +02:00
Sébastien Helleu 6de98179bc api: add function string_format_size in scripting API 2018-04-07 13:20:58 +02:00
Sébastien Helleu 7989e52381 core: merge improvements into new features in ChangeLog 2018-04-04 20:30:03 +02:00
Sébastien Helleu 70a930516d irc: always set nick away status on WHO response (sent manually or automatically with server option "away_check") 2018-04-02 10:36:36 +02:00
Sébastien Helleu 8fd2a909b4 core: update ChangeLog 2018-04-02 10:00:03 +02:00
Sébastien Helleu 5314aa394a irc: add option "-server" in command /list (closes #1165) 2018-04-01 08:38:15 +02:00
Sébastien Helleu 27b89a0e96 core: update ChangeLog (issue #1171) 2018-03-31 13:58:13 +02:00
Sébastien Helleu 3d5ea005e0 irc: fix split of messages when server option "split_msg_max_length" is set to 0 (no split) (closes #1173) 2018-03-31 10:06:22 +02:00
Sébastien Helleu 1be7502e15 core: add missing issue #1108 in ChangeLog 2018-03-25 21:42:03 +02:00
Sébastien Helleu c90572babe irc: send whole IRC message including IRCv3 tags in the signals irc_in, irc_in2, irc_raw_in and irc_raw_in2 (issue #787) 2018-03-25 20:05:12 +02:00
Sébastien Helleu 9dd8cc0d6a irc: fix memory leak when receiving a message with tags 2018-03-25 17:27:15 +02:00
Sébastien Helleu a38533cb41 core: update ChangeLog 2018-03-25 10:23:34 +02:00
Sébastien Helleu c9dd8140a4 core: update ChangeLog (closes #1159) 2018-03-19 21:51:32 +01:00
Sébastien Helleu 5f2ed55c97 debian: add package weechat-headless with the headless binary and its man page 2018-03-19 19:43:07 +01:00
Sébastien Helleu fc584316da core: split man pages weechat and weechat-headless 2018-03-19 19:38:44 +01:00
Sébastien Helleu 8e7f5ea6e8 core: fix build with CMake and Ninja 2018-03-18 11:49:15 +01:00
Sébastien Helleu 47e3825591 Version 2.1 2018-03-18 07:41:40 +01:00
Sébastien Helleu 1be74b9683 core: update ChangeLog 2018-03-11 18:36:49 +01:00
Sébastien Helleu 805717e9ec core: add binary weechat-headless to run WeeChat without interface (closes #1120)
The optional command line option "--daemon" runs WeeChat like a daemon
(fork, new process group, file descriptors closed).
2018-03-11 09:59:39 +01:00
Sébastien Helleu 20f9ca7d4a scripts: display the script name in stdout/stderr output from scripts 2018-02-19 21:27:08 +01:00
Sébastien Helleu 710db5dbcd logger: add option logger.file.fsync (closes #1145) 2018-02-10 08:23:47 +01:00
Sébastien Helleu 2b275040e7 script: change default value of option script.look.sort from "p,n" to "i,p,n" 2018-02-08 20:46:07 +01:00
Sébastien Helleu f889306c5e irc: allow ${irc_server.xxx} and ${server} in server evaluated options (closes #1144)
The server option "ssl_fingerprint" is now evaluated when it is used (during
SSL connection), instead of when it is set with command /set.
2018-02-05 21:41:03 +01:00
Sébastien Helleu 03456722ef core: fix typo: scripts manager -> script manager 2018-01-29 21:04:27 +01:00
Sébastien Helleu e9b6d73b0f api: add time in info "date" (WeeChat compilation date/time) (closes #1138) 2018-01-20 08:40:12 +01:00
Sébastien Helleu 21e63e7958 scripts: add configuration file for each script plugin 2018-01-15 21:57:06 +01:00
Sébastien Helleu be3634f22f irc: add server option "split_msg_max_length" 2018-01-13 22:17:13 +01:00
Sébastien Helleu a4b1952c75 logger: add option logger.look.backlog_conditions (closes #1132) 2018-01-11 16:44:36 +01:00
Sébastien Helleu 5d88d08ef9 core: add options "-newbuffer", "-free" and "-switch" in command /print (issue #1113) 2018-01-08 22:01:11 +01:00
Sébastien Helleu d7ca5f04f6 core: fix typo in ChangeLog 2018-01-07 12:33:11 +01:00
Sébastien Helleu ed0b337505 core: add option "-y" in command /buffer, add support of buffers with free content 2018-01-07 12:01:41 +01:00
Sébastien Helleu 91f792416b core: add option "add" in command /buffer (issue #1113) 2018-01-06 14:19:50 +01:00
Sébastien Helleu c3e2ed91a2 core: update ChangeLog (issue #128) 2018-01-06 14:08:03 +01:00
Sébastien Helleu 72db3f74f1 core: update ChangeLog 2017-12-26 21:57:14 +01:00
Sébastien Helleu df11609c13 core: add missing issue in ChangeLog (closes #584) 2017-12-24 13:47:02 +01:00
Sébastien Helleu fbc87573d0 scripts: add infos "xxx_interpreter" and "xxx_version" in script plugins (issue #1075) 2017-12-23 21:21:40 +01:00
Sébastien Helleu c4626bc08a scripts: add option "version" in script commands (closes #1075) 2017-12-23 20:35:30 +01:00
Sébastien Helleu 87be29ed3d api: add hashtable with variables in plugin structure 2017-12-23 19:47:22 +01:00
Sébastien Helleu 6f64cd0c84 core: add version 2.0.1 in ChangeLog, release notes and weechat.spec 2017-12-20 23:12:23 +01:00
Sébastien Helleu 40749afced core: add option weechat.completion.partial_completion_templates
This option is used to force partial completion on specific templates
(for now only "config_options").
2017-12-09 11:40:14 +01:00
Sébastien Helleu 515334e53b python: fix integer arguments in hook_connect() and hook_fd() callbacks 2017-12-04 22:07:38 +01:00
Sébastien Helleu f0a06cc85a Version 2.0 2017-12-03 11:55:08 +01:00
Sébastien Helleu 84013b82df core: do not change the chat prefix size when a filtered line is added (closes #1092) 2017-10-29 07:17:30 +01:00
Sébastien Helleu 038473b038 core: add bug #41245 in ChangeLog 2017-10-27 01:36:04 +02:00
Sébastien Helleu b189157907 core: update ChangeLog 2017-10-27 01:34:51 +02:00
Sébastien Helleu fe73a38b58 api: add support of prefix "quiet:" in function key_unbind() to quietly remove keys 2017-10-24 23:03:40 +02:00
Sébastien Helleu 8025cfb05d core: update ChangeLog 2017-10-21 09:29:28 +02:00
Sébastien Helleu 534dda9094 buflist: add two new bar items using the same format configuration options (closes #990) 2017-10-19 21:51:00 +02:00
Sébastien Helleu 1d56e17b2f core: allow floating point and hexadecimal numbers in comparison of evaluated values 2017-10-17 20:43:40 +02:00
Sébastien Helleu 0db48c7291 core: add option weechat.look.save_config_with_fsync (closes #1083)
This makes the save of all configuration files about 20 to 200x slower
(according to the storage device speed); so this is disabled by default.
2017-10-14 07:56:02 +02:00
Sébastien Helleu d427fc0549 irc: do not clear nicklist when joining an already joined channel if the option irc.look.buffer_open_before_join is on (closes #1081, closes #1082) 2017-10-13 07:44:52 +02:00
Sébastien Helleu 7a452ce8bc core: fix display of nicks in nicklist when they are in a group with sub-groups (closes #1079) 2017-10-08 14:09:02 +02:00
Sébastien Helleu 8a32249507 javascript: fix detection of libv8 with autotools on Ubuntu Trusty 2017-10-07 21:43:18 +02:00
Sébastien Helleu e8af853624 tests: add scripting API tests (issue #104)
Automatic tests of scripting API are made with Python scripts:

- unparse.py: convert Python code to other languages
- testapigen.py: generate scripts in all languages to test the API
- testapi.py scripting API tests
2017-10-07 16:51:25 +02:00
Sébastien Helleu 7949146687 lua: fix boolean return value (as integer) in API functions 2017-10-03 21:17:22 +02:00
Sébastien Helleu 255e46eaef guile: return integer (0/1) instead of boolean in API functions 2017-10-03 21:16:11 +02:00
Sébastien Helleu 682979bb90 guile: fix return value of static strings 2017-10-02 19:20:26 +02:00
Sébastien Helleu 6b0262794f core: add CVE ID in ChangeLog 2017-09-23 22:28:47 +02:00
Sébastien Helleu 92b9533efe core: fix typo: Javascript -> JavaScript 2017-09-23 16:24:52 +02:00
Sébastien Helleu 5aab494dd6 core, plugins: check return code of strftime function 2017-09-23 15:06:28 +02:00
Sébastien Helleu ae66a4d8a5 core: add version 1.9.1 in ChangeLog and release notes 2017-09-23 15:06:00 +02:00
Adam Saponara d032ee2159 php: new php plugin
This plugin requires PHP >= 7.0.
2017-09-03 15:33:16 +02:00
Sébastien Helleu 8c046d9be9 buflist: remove recursive evaluation of extra variables (closes #1060) 2017-09-02 14:00:20 +02:00
Sébastien Helleu de9f771674 irc: fix CTCP PING reply when the option irc.ctcp.ping is set to non-empty value 2017-08-23 23:11:11 +02:00
Sébastien Helleu db0bdc2ac6 core: add flag "input_get_empty" in buffer
The default value is 0 (legacy behavior).
When it is set to 1, an empty input (just by pressing Return with nothing in
input) is sent to the input callback, which receives an empty string.
2017-08-21 07:41:28 +02:00
Sébastien Helleu 2ab40e02e6 Revert "irc: do not use away color for nicks in nicklist if option irc.look.color_nicks_in_nicklist is on"
This reverts commit 0c86e742c5.
2017-08-19 12:47:01 +02:00
Sébastien Helleu 0c86e742c5 irc: do not use away color for nicks in nicklist if option irc.look.color_nicks_in_nicklist is on 2017-08-19 11:24:36 +02:00
Sébastien Helleu 835c94db4b core: add signals "buffer_filters_enabled" and "buffer_filters_disabled" 2017-08-18 22:10:17 +02:00
Sébastien Helleu bfef8da84c api: change type of arguments status/gnutls_rc/sock in hook_connect() callback from string to integer (in scripts) 2017-08-13 10:40:01 +02:00
Sébastien Helleu 4bea917263 core: update ChangeLog 2017-08-13 09:32:04 +02:00
Sébastien Helleu 5392e3078f api: send file descriptor as integer instead of string to the callback of hook_fd 2017-08-13 09:29:39 +02:00
Sébastien Helleu f19507ff6a alias: add infolist "alias_default" (list of default aliases) 2017-08-12 18:37:45 +02:00
Sébastien Helleu aeeec38d6f core: fix cast of time_t (to "long long" instead of "long") (closes #1051) 2017-08-12 18:36:45 +02:00
Sébastien Helleu 8c01e05da1 core: add missing colon in ChangeLog 2017-07-31 07:36:41 +02:00
Sébastien Helleu cf51849ac5 relay: fix send of "PART" command in backlog (irc protocol) 2017-07-23 16:13:00 +02:00
Sébastien Helleu 3ac05843eb core: update ChangeLog 2017-07-23 15:36:03 +02:00
Sébastien Helleu a58d3fac4c relay: fix parsing of CAP command without arguments in irc protocol, send ACK only if all capabilities received are OK and NAK otherwise (closes #1040) 2017-07-23 13:58:45 +02:00
Sébastien Helleu 97e06675a5 script: add local variable "filter" in the script buffer (closes #1037) 2017-07-11 18:27:01 +02:00
Sébastien Helleu 29d24c288c core: update ChangeLog 2017-07-08 14:47:27 +02:00
Sébastien Helleu 78aacb5949 core: update ChangeLog 2017-07-06 08:35:49 +02:00
Sébastien Helleu ff448b9096 api: add argument "recurse_subdirs" in function exec_on_files() 2017-07-04 22:01:14 +02:00
Sébastien Helleu b67c7a4b29 buflist: add option buflist.look.add_newline (closes #1027) 2017-07-01 16:07:43 +02:00
Sébastien Helleu f851246ff6 buflist: fix crash in auto-scroll of bar when the buflist item is not the first item in the bar 2017-06-27 07:18:16 +02:00
Sébastien Helleu 9ecc431d66 core: add fset plugin in ChangeLog 2017-06-26 22:11:59 +02:00
Sébastien Helleu 1206a7bbe4 Version 1.9 2017-06-25 10:20:52 +02:00
Sébastien Helleu b3dd47edd8 buflist: add variable `${format_name}` in bar item evaluation and option buflist.format.name (issue #1020) 2017-06-23 12:00:34 +02:00
Sébastien Helleu fadee50664 irc: don't reset nick properties (prefixes/away/account/realname) on /names when the nick already exists (closes #1019) 2017-06-17 15:22:01 +02:00
Sébastien Helleu 92a40052af buflist: add variable ${merged} in bar item evaluation 2017-06-13 20:29:38 +02:00
Sébastien Helleu ee2f09fb13 relay: add option "start" in command /relay 2017-06-12 20:06:58 +02:00
Sébastien Helleu 46f409d463 core: improve speed of nicklist bar item callback
It's faster to use a string with dynamic size, rather than looping on the whole
nicklist to compute the length of result string, before looping again to build
the string.
2017-06-10 16:56:13 +02:00
Sébastien Helleu 46b27bff4e core: fix bind of keys with space key, like alt+space (bug #32133) 2017-06-10 08:15:44 +02:00
Sébastien Helleu f140a9198e buflist: add option buflist.look.auto_scroll (issue #332) 2017-06-08 06:56:42 +02:00
Sébastien Helleu e2589aaaca api: allow update of variables "scroll_x" and "scroll_y" in bar_window with function hdata_update 2017-06-08 06:53:32 +02:00
Sébastien Helleu fa3a4355ce buflist: display a warning when the script "buffers.pl" is loaded 2017-06-05 14:56:14 +02:00
Sébastien Helleu 4947ed6d31 core: update ChangeLog
Related to commit 7ab6731efe.
2017-06-04 12:41:06 +02:00
Sébastien Helleu da8f19bcee core: fix infinite loop when the terminal is closed on the secure password prompt (closes #1010) 2017-06-03 13:41:49 +02:00
Sébastien Helleu 593eee869f trigger: add "irc_server" and "irc_channel" pointers in data for IRC signal/modifier hooks 2017-06-02 07:46:17 +02:00
Sébastien Helleu d320b72d89 buflist: fix long mouse gestures 2017-06-01 07:21:10 +02:00
Sébastien Helleu d0b47b5c47 buflist: add support of char "~" in option buflist.look.sort for case insensitive comparison 2017-05-30 21:23:09 +02:00
Sébastien Helleu 7621939a7a api: add function hdata_compare 2017-05-30 20:29:17 +02:00
Sébastien Helleu f6a8c28d2d api: add function config_option_get_string in plugin API 2017-05-30 20:28:01 +02:00
Sébastien Helleu a603c5e476 irc: fix memory leak in case of error in "ecdsa-nist256p-challenge" SASL mechanism 2017-05-27 08:37:05 +02:00
Sébastien Helleu 02b1fe9926 buflist: fix slow switch of buffer when there are a lot of buffers opened (closes #998)
The function hdata_search (which evaluates a condition for each item in a list)
is too slow to search server and channel on each buffer. It is replaced by a
manual search in the list (using weechat_hdata_string to get the name), much
faster.
2017-05-24 14:59:50 +02:00
Sébastien Helleu a87e3908cf buflist: add keys F1/F2, alt+F1/alt+F2 to scroll the buflist bar 2017-05-23 09:49:46 +02:00
Sébastien Helleu 925e8b79a8 core: allow index for hdata arrays in evaluation of expressions 2017-05-20 00:05:31 +02:00
Sébastien Helleu 455a0e501c core: update ChangeLog (add fix of crash in buflist)
Refers to commit b7d5392771.
2017-05-19 21:23:23 +02:00
Sébastien Helleu 1bace336bc relay: fix parsing of CAP command arguments in irc protocol (closes #995) 2017-05-19 21:21:30 +02:00
Sébastien Helleu b522060cef buflist: add variable ${current_buffer} in bar item evaluation 2017-05-19 07:39:23 +02:00
Sébastien Helleu 2eebde035a buflist: add option "bar" in command /buflist, do not automatically add the bar when buflist is disabled (closes #994) 2017-05-18 20:34:25 +02:00
Sébastien Helleu 664cb6598a Version 1.8 2017-05-13 07:07:57 +02:00
Sébastien Helleu 36187a240a python: add detection of Python 3.6 2017-05-08 17:17:41 +02:00
Sébastien Helleu 070249ca3e core: move line from improvements to new features in ChangeLog 2017-05-07 14:54:33 +02:00
Sébastien Helleu e5fd20fd25 irc: fix update of server addresses on reconnection when the evaluated content has changed (closes #925) 2017-05-06 15:57:42 +02:00
Sébastien Helleu df00926d35 core: add option weechat.completion.nick_case_sensitive (closes #981) 2017-05-06 10:18:44 +02:00
Sébastien Helleu 07b7be0357 core: fix memory leak in display of mouse event debug info 2017-05-04 07:29:24 +02:00
Sébastien Helleu d73b54758c irc: add option "open" in command /server (closes #966) 2017-05-02 07:38:45 +02:00
Sébastien Helleu b7a6d6813f core: remove issue #608 from ChangeLog 2017-05-01 16:21:36 +02:00
Sébastien Helleu 1afa19a6ee core: add wildcard matching operators in ChangeLog 2017-04-29 18:03:36 +02:00
Sébastien Helleu ec11a59552 core: update ChangeLog (closes #611) 2017-04-29 17:56:41 +02:00
Tobias Stoeckmann b297c2d56e irc: fix crash in case of invalid server reply during SASL authentication with dh-blowfish or dh-aes mechanism
These mechanisms are not recommended anyway because they are considered as
insecure.
2017-04-27 21:20:29 +02:00
Sébastien Helleu 497dc3cd44 core: add CVE IDs in ChangeLog 2017-04-27 08:27:26 +02:00
Sébastien Helleu 2a43f45947 core: fix command /cursor stop (do not toggle cursor mode) (closes #964) 2017-04-25 07:20:34 +02:00
Sébastien Helleu 2606b8a5a3 script: remove option script.scripts.url_force_https, use HTTPS by default in option script.scripts.url (issue #253) 2017-04-23 14:11:27 +02:00
Sébastien Helleu 10917530d5 core: add version 1.7.1 in ChangeLog and ReleaseNotes 2017-04-22 21:21:26 +02:00
Sébastien Helleu 572678100b core: update ChangeLog 2017-04-22 15:15:49 +02:00
Sébastien Helleu a4dffb1915 irc: fix double decoding of IRC colors in messages sent/displayed by commands /msg and /query (issue #943) 2017-04-07 22:28:48 +02:00
Sébastien Helleu 4c8d37e09f core: fix styles in ChangeLog 2017-04-02 15:44:13 +02:00
Sébastien Helleu e6db6185a7 core: move line from new features to improvements in ChangeLog 2017-04-01 14:17:39 +02:00
Sébastien Helleu b29f18d7ea aspell: add options to control delimiters in suggestions (closes #940)
New options:
- aspell.color.suggestion_delimiter_dict
- aspell.color.suggestion_delimiter_word
- aspell.look.suggestion_delimiter_dict
- aspell.look.suggestion_delimiter_word

Option renamed:
- aspell.color.suggestions -> aspell.color.suggestion
2017-04-01 12:26:48 +02:00
Sébastien Helleu f855b6b0f3 core: update ChangeLog 2017-03-31 21:11:17 +02:00
Sébastien Helleu 85bb23f8cb core: update ChangeLog 2017-03-30 22:15:16 +02:00
Sébastien Helleu f99c866f35 core: add cut of string with max chars displayed in evaluation of expressions
The syntax is: ${cutscr:max,suffix,string}.
The string is cut after max chars displayed on screen. If the string is cut,
the optional suffix is added after.
2017-03-27 21:14:51 +02:00
Sébastien Helleu 532216e760 relay: check buffer pointer received in "sync" and "desync" commands (weechat protocol) (closes #936) 2017-03-26 15:15:56 +02:00
Sébastien Helleu 7ceacabd46 relay: remove buffer from synchronized buffers when it is closed (fix memory leak) 2017-03-26 08:55:08 +02:00
Sébastien Helleu f54ed11f1d core: update ChangeLog 2017-03-25 15:13:18 +01:00
Sébastien Helleu 5661b4da74 core: fix typo: refreshs -> refreshes 2017-03-12 18:33:53 +01:00
Sébastien Helleu 77b229ab64 core: add issue #122 in ChangeLog 2017-02-28 19:40:18 +01:00
Sébastien Helleu f4c2328abf core: send signal "signal_sigwinch" after refreshs (issue #902)
Sending the signal after the refreshs will let scripts receive the good
size for windows/bars/terminal, ie the size computed with the new
terminal size.
2017-02-22 07:40:55 +01:00
Sébastien Helleu e6d5d791cd irc: fix parsing of message 324 (modes) when there is a colon before the modes (closes #913) 2017-02-19 08:12:25 +01:00
Sébastien Helleu 1c9446e594 core: add issues #579, #15 and #577 in ChangeLog 2017-02-18 17:38:37 +01:00
Sébastien Helleu ffcf135593 core: update ChangeLog 2017-02-18 13:53:55 +01:00
Sébastien Helleu 8282567d40 core: add issue #572 in ChangeLog 2017-02-18 13:08:12 +01:00
Sébastien Helleu d6977490d0 core: fix delayed refresh when the signal SIGWINCH is received (terminal resized) (closes #902)
This fixes a regression introduced in version 1.7 by changes on signal
handlers, commit 018b969381.
2017-02-04 08:06:59 +01:00
Sébastien Helleu 2437107e35 core: add last start date in output of command /version after at least one /upgrade (closes #903) 2017-02-03 22:19:20 +01:00
Sébastien Helleu 0ef979a54a core: update ChangeLog 2017-01-29 14:13:57 +01:00
Sébastien Helleu d3da29ba51 core: update ChangeLog 2017-01-25 07:37:09 +01:00
Sébastien Helleu 0e0d665671 core: add task #11461 in ChangeLog 2017-01-22 15:28:37 +01:00
Sébastien Helleu 19504d30e5 core: fix style in ChangeLog 2017-01-22 09:41:42 +01:00
Sébastien Helleu 49fb896a96 core: update ChangeLog 2017-01-22 09:35:47 +01:00
Sébastien Helleu c51aa7960c core: fix compilation on FreeBSD with autotools (issue #276) 2017-01-15 10:44:11 +01:00
Sébastien Helleu fb1a0231b7 Version 1.7 2017-01-15 07:41:25 +01:00
Sébastien Helleu 96499ad34a core: update ChangeLog 2017-01-15 07:21:09 +01:00
Sébastien Helleu 9b5da2f11f core: update ChangeLog 2017-01-14 11:48:15 +01:00
Sébastien Helleu 65ff49f01e core: fix typo in ChangeLog 2017-01-14 11:44:55 +01:00
Sébastien Helleu b547bf6bbb relay: make HTTP headers case-insensitive for WebSocket connections (closes #888) 2017-01-11 07:11:01 +01:00
Sébastien Helleu fe7f92c4d8 irc: fix option "-temp" in command /server (closes #880) 2017-01-06 22:44:13 +01:00
Sébastien Helleu 59202e3e02 core: move line from new features to improvements in ChangeLog 2017-01-06 22:41:13 +01:00
Sébastien Helleu 990c0bc121 exec: add option "-oc" in command /exec to execute commands in process output (closes #877)
The behavior of existing option "-o" is changed: now commands are NOT
executed (which is more secure by default).
2017-01-06 19:22:24 +01:00
Sébastien Helleu e01ed80669 core: move line from new features to bugs in ChangeLog 2017-01-06 07:52:44 +01:00
Sébastien Helleu 501437af07 exec: fix memory leak in display of process output 2017-01-06 07:26:43 +01:00
Sébastien Helleu 914bda1a74 irc: fix close of server channels which are waiting for the JOIN when the server buffer is closed (issue #873) 2017-01-01 16:35:02 +01:00
Sébastien Helleu 28125942d4 core: add issue #876 in ChangeLog 2017-01-01 15:07:12 +01:00
Sébastien Helleu c9fbb917e0 irc, xfer: fix compilation on Mac OS X (add link with resolv) (issue #276) 2017-01-01 14:53:41 +01:00
Sébastien Helleu 668bb3a4ad api: add info "uptime" (WeeChat uptime) 2016-12-31 18:28:55 +01:00
Sébastien Helleu e098a0dc54 core: fix compilation on Mac OS X (closes #276)
The resolver functions like res_init() require link with resolv.
2016-12-17 17:52:33 +01:00
Sébastien Helleu 8ad3b9afe9 core: update ChangeLog (closes #411, closes #802) 2016-12-17 08:00:08 +01:00
Sébastien Helleu 6c1815d3d1 core, xfer: display more information on fork errors (issue #573) 2016-12-13 18:24:46 +01:00
Sébastien Helleu 39a8b9810b core: update ChangeLog (closes #377, closes #820) 2016-12-11 13:44:20 +01:00
Sébastien Helleu 28fde407f4 irc: evaluate content of server option "ssl_fingerprint" (closes #858) 2016-12-03 09:44:18 +01:00