summaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2019-11-25core: add option weechat.look.nick_color_hash_salt to allow for reshuffling ↵Simmo Saan
of colors (issue #635)
2019-10-23core: optimize search of options in configuration sectionsSébastien Helleu
Since options are sorted in sections, it is faster to search from the last option to the first one. For configuration files with many options in a single section (like plugins.conf), the load of configuration file is about 2 to 3x faster.
2019-10-12core: add reverse of string for screen in evaluation of expressions with ↵Sébastien Helleu
"revscr:"
2019-10-06core: ensure completion_item is not NULL before using itSébastien Helleu
2019-10-06core: fix crash in completion of filenamesSébastien Helleu
2019-10-06core: add optional default path (evaluated) in completion "filename" (issue #60)Sébastien Helleu
2019-10-06core: add support of modifiers in evaluation of expressions with ↵Sébastien Helleu
"modifier:name,data,string" (issue #60)
2019-09-24core: add power operator "**" in calc expressions (issue #997)Sébastien Helleu
2019-09-24core: fix wrong results with the unary minus in calc expressionsSébastien Helleu
2019-09-21core: ignore color codes in ${length:xxx} and ${lengthscr:xxx}Sébastien Helleu
2019-09-21core: add "length:xxx" and "lengthscr:xxx" in evaluation of expressionsSébastien Helleu
2019-09-20core: add calculation of expression in evaluation of expressions with ↵Sébastien Helleu
"calc:..." (issue #997)
2019-09-19core: remove extra spaces in arguments of /help uptime and /help versionSébastien Helleu
2019-09-17Fixed segfault during excessive evaluation.Tobias Stoeckmann
It is possible to trigger a segmentation fault while processing an evaluation of repeating string. On a Linux 64 bit system, enter this (or adjust arguments for 32 bit accordingly): /eval -n ${repeat:1073741824,----} It will overflow an integer calculation because int instead of size_t is used. Proper check of int limitations fixes this issue. I haven't changed this specific piece of code to size_t because it would crash in other parts of the code tree instead. For now, int is a limitating factor when it comes to strings (and should be enough for sane use cases). Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
2019-09-16core: mention possible background color in /help weechat.look.nick_color_forceSébastien Helleu
2019-08-31core: fix compilation with autotools on FreeBSD 12.0Sébastien Helleu
2019-08-20core: add values djb2_32 and sum_32 for option weechat.look.nick_color_hash ↵Sébastien Helleu
(issue #1394)
2019-08-19core: use fixed-width integer for computing hashtable DJB2 key hash (closes ↵Sébastien Helleu
#1394)
2019-08-10core: create or update option weechat.notify.xxx when function buffer_set is ↵Sébastien Helleu
called with "notify" property (closes #1390)
2019-08-10api: add function list_user_data (issue #666)Andrew Potter
2019-08-04core: return NULL immediately if string is NULL in function hook_modifier_execSébastien Helleu
2019-07-29core: add some missing default keys in /help cursorSébastien Helleu
2019-06-24core: auto disable upgrade process (command line option "--upgrade") if the ↵Sébastien Helleu
file weechat.upgrade is not found
2019-06-17core: add option "close" in command /window (closes #853)Sébastien Helleu
2019-06-16core: add Curl options for versions 7.53.0 to 7.63.0Sébastien Helleu
2019-06-16core: replace newlines by spaces in argument "completion" of function ↵Sébastien Helleu
hook_command (closes #538)
2019-06-15api: add argument "strip_items" in function string_splitSébastien Helleu
2019-06-15core: check that string pointer is not NULL in function "string_shared_get"Sébastien Helleu
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: 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-13api: return allocated string in hook_info callback and function info_getSébastien Helleu
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-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-17core: fix typo: Weechat -> WeeChatSé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-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-02core: use bitwise shift operator to define flag constantsSébastien Helleu
2019-02-28api: add function command_options (issue #928)Sébastien Helleu