summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2019-04-14core: use getopt to parse command line argumentsSébastien Helleu
Multiple options can now be given in a single flag, for example: weechat -ast Following formats were allowed for command line argument with a value: weechat -d /tmp/weechat weechat --dir /tmp/weechat Now these extra formats are supported as well: weechat -d/tmp/weechat weechat --dir=/tmp/weechat
2019-04-13core: bump API versionSébastien Helleu
This is required after changes on functions hook_info and info_get.
2019-04-13core: merge functions gui_line_prefix_is_same_nick_as_{previous|next} (issue ↵Sébastien Helleu
#931)
2019-04-13core: fix /help weechat.look.buffer_time_sameSébastien Helleu
2019-04-13core: add option weechat.look.prefix_same_nick_middle (closes #930, closes #931)Adrian Bjugård
2019-04-13core: add option weechat.look.buffer_time_same (closes #1127)Simmo Saan
2019-04-13trigger: add hook "info_hashtable"Sébastien Helleu
2019-04-13trigger: add hook "info"Sébastien Helleu
2019-04-13irc: fix memory leak in infos "irc_server_isupport" and ↵Sébastien Helleu
"irc_server_isupport_value"
2019-04-13api: return allocated string in hook_info callback and function info_getSébastien Helleu
2019-04-06xfer: add option xfer.network.speed_limit_recv (closes #269)Sébastien Helleu
For consistency, the option xfer.network.speed_limit has been renamed to xfer.network.speed_limit_send.
2019-04-01tests: add tests on function util_signal_searchSébastien Helleu
2019-03-31core: add documentation on command line debug options (in --help and man pages)Sébastien Helleu
Command line debug options are now documented: * --no-dlclose: do not call the function dlclose after plugins are unloaded * --no-gnutls: do not call the init and deinit functions of GnuTLS library * --no-gcrypt: do not call the init and deinit functions of Gcrypt library These options must not be used in production, they're for debug only and can be used with tools like Valgrind or electric-fence.
2019-03-29core: don't execute command scheduled by /repeat if the buffer does not ↵Sébastien Helleu
exist any more
2019-03-29core: don't execute command scheduled by /wait if the buffer does not exist ↵Sébastien Helleu
any more
2019-03-29core: use seconds by default in /repeat interval, allow unit for the intervalSébastien Helleu
2019-03-29core: move parsing of /wait delay in a separate function, with unit testsSébastien Helleu
2019-03-29core: allow text in addition to a command in command /repeatSébastien Helleu
2019-03-28relay: use option "delay" in call to command_options (closes #1327)Sébastien Helleu
This fixes a crash when sending "/plugin reload relay" from a relay client.
2019-03-28api: add option "delay" in hashtable options of function command_options ↵Sébastien Helleu
(issue #1327)
2019-03-28core: make "input_commands_allowed" work with /wait and /repeat commands ↵Sébastien Helleu
(issue #928)
2019-03-24core: add CMake option "ENABLE_CODE_COVERAGE" to compile with code coverage ↵Sébastien Helleu
options This option is OFF by default and should be enabled only for tests, to measure test coverage.
2019-03-21irc: fix length of string for SHA-512, SHA-256 and SHA-1 in help on ↵Sébastien Helleu
ssl_fingerprint option
2019-03-19irc: display an error with /allchan -current or /allpv -current if the ↵Sébastien Helleu
current buffer is not an irc buffer (closes #1325)
2019-03-19php: remove value for first #define in headersSébastien Helleu
2019-03-18irc: fix update of channels modes with arguments when joining a channel ↵Sébastien Helleu
(closes #1324)
2019-03-17core: fix typo: Weechat -> WeeChatSébastien Helleu
2019-03-12relay: fix compilation warning when gnutls is not foundSébastien Helleu
2019-03-12irc: fix compilation warning when gnutls is not foundSébastien Helleu
2019-03-12core: set max length to 4096 for /secure passphrase (closes #1323)Sébastien Helleu
2019-03-11core: improve message displayed when a command is not allowed (issue #928)Sébastien Helleu
The whole command with arguments and the full buffer name are now displayed in the warning message (in debug mode only).
2019-03-11relay: use empty value by default for option relay.weechat.commands (issue #928)Sébastien Helleu
The relay client is supposed to be safe by default, and the relay connection should be protected by the different ways (restriction on IP address, SSL, strong password, Time-based One-Time Password, local bind address and use of SSH tunnel…). So this option lets the user add extra security by allowing only some commands (whitelist), or allowing any commands except a list of given commands (blacklist).
2019-03-10relay: add forbidden commands /key and /trigger in weechat protocol (issue #928)Sébastien Helleu
2019-03-10relay: add forbidden commands /wait and /repeat in weechat protocol (issue #928)Sébastien Helleu
2019-03-10core: replace argument "keep_eol" by "flags" in function string_split ↵Sébastien Helleu
(closes #1322)
2019-03-09core: add value -1 for keep_eol in function string_strip (issue #1322)Sébastien Helleu
The value -1 means it's a standard split, but empty items are kept, and separators are not removed at beginning/end of string.
2019-03-09relay: add extra forbidden commands in weechat protocol (issue #928)Sébastien Helleu
Commands were already forbidden (option relay.weechat.commands): - /exec - /upgrade - /quit These extra commands are now forbidden by default: - /fset - /set - /unset - /plugin - /script - /python - /perl - /ruby - /lua - /tcl - /guile - /javascript - /php - /secure
2019-03-02core: use bitwise shift operator to define flag constantsSébastien Helleu
2019-02-28irc: quote argument to NICKMatthew Martin
2019-02-28script: use SHA-512 instead of MD5 for script checksumSébastien Helleu
Related to weechat/weechat.org@66a8b72ab17784e7476b142e36c0fd8c7ae9c7c3
2019-02-28relay: add option relay.weechat.commands (closes #928)Sébastien Helleu
2019-02-28api: add function command_options (issue #928)Sébastien Helleu
2019-02-27php: fix memory leak in functions using hashtable parametersSébastien Helleu
Functions fixed in PHP plugin: - string_eval_expression - string_eval_path_home - key_bind - hook_process_hashtable - hook_hsignal_send - info_get_hashtable - hdata_update
2019-02-27core: remove function gui_buffer_match_list_split, use function ↵Sébastien Helleu
string_match_list
2019-02-27core: use function string_match_list for the autoload of pluginsSébastien Helleu
2019-02-27api: add function string_match_listSébastien Helleu
2019-02-26fset: fix typo in /help fset.format.option2arza
2019-02-24relay: remove obsolete commentSébastien Helleu
2019-02-23core: add /filter addreplace (closes #1055)Simmo Saan
2019-02-23core: merge two comments in a single one (issue #1309, issue #1311)Sébastien Helleu