summaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2020-05-16gui: add gui_focus_info hashtable info (#1245)Simmo Saan
2020-05-16core: add color in /buffer output for notification level, update ↵Sébastien Helleu
translations (issue #1505)
2020-05-16core: Allow displaying notify level with /buffer notifyTrygve Aaberge
2020-05-09core: add an option for multiline input in a buffer (closes #984)Trygve Aaberge
This allows the input callback function for a buffer to receive multiple lines at once, instead of the message being split on newline before being sent to the callback. It adds a new flag, input_multiline, to control this. This flag defaults to 0 which is the current behavior.
2020-05-08core: rename functions hook_completion_{get_string|list_add} to ↵Sébastien Helleu
completion_{get_string|list_add} Old functions are kept for compatibility reasons.
2020-05-05core: add include comparison operators in evaluation of expressionsSébastien Helleu
New comparison operators: - "==*": is matching mask, case sensitive (wildcard "*" is allowed) - "!!*": is NOT matching mask, case sensitive (wildcard "*" is allowed) - "==-": is included, case sensitive - "!!-": is NOT included, case sensitive - "=-": is included, case insensitive - "!-": is NOT included, case insensitive
2020-04-27api: add functions completion_new, completion_search and completion_free ↵Sébastien Helleu
(issue #1484)
2020-04-21core: restore signal "signal_sighup", and if eaten do not reload configurationSébastien Helleu
2020-04-22core: reload config on SIGHUPTom Fitzhenry
fixes https://github.com/weechat/weechat/issues/1476
2020-04-19core: add command line option "--stdout" in weechat-headless binary (closes ↵Sébastien Helleu
#1475, closes #1477)
2020-04-19core: log to stdout, if headlessTom Fitzhenry
Fixes https://github.com/weechat/weechat/issues/1475 .
2020-04-18core: make GnuTLS a required dependencySébastien Helleu
2020-04-08tests: add tests on calc functionsSébastien Helleu
Functions tested: - calc_operator_precedence - calc_pop_value - calc_list_free_cb - calc_operation - calc_operation_stacks
2020-04-07core: fix memory leak in calculation of expression on FreeBSD (closes #1469)Sébastien Helleu
The memory leak was caused by a bug in function setlocale on FreeBSD: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243195 The fix is the following: * Remove the calls to setlocale when formatting the result. * The function snprintf is still called, and then is now locale dependent, for example in French the decimal separator is a comma instead of a dot. * A new function calc_sanitize_decimal_number is introduced to "sanitize" a decimal number: keep only the decimal separator (replace it by a dot) and remove any other separator found. Unit tests are added on these functions: * calc_sanitize_decimal_number * calc_format_result
2020-03-23core: fix compiler warnings on CygwinSébastien Helleu
2020-03-20api: add info "auto_connect" (closes #1453)Sébastien Helleu
2020-03-02core: add minimum libgcypt version 1.7.0 for SHA3 algorithms in comment of ↵Sébastien Helleu
function weecrypto_hash
2020-03-02core: fix copyright date in wee-crypto sourcesSébastien Helleu
2020-03-02core: require libgcrypt >= 1.7.0 for SHA3 algorithmsSébastien Helleu
2020-03-01api: add function crypto_hash_pbkdf2Sébastien Helleu
2020-03-01core: move crypto functions to wee-crypto.c, rename API function string_hash ↵Sébastien Helleu
to crypto_hash
2020-03-01core: merge functions string_hash_binary and string_hash into a single ↵Sébastien Helleu
function string_hash
2020-03-01core: add function secure_hash_pbkdf2Sébastien Helleu
2020-02-29core: add support of CRC32 algorithm in hash functionsSébastien Helleu
2020-02-29api: add functions string_hash_binary and string_hashSébastien Helleu
2020-02-29core: call function secure_hash_binary in secure_derive_key to compute ↵Sébastien Helleu
SHA512 hash
2020-02-29core: return 0 in case of invalid parameters received in function ↵Sébastien Helleu
secure_derive_key
2020-02-29core: add functions to compute binary/hex hash of dataSébastien Helleu
2020-02-02core: rename function util_get_uptime to util_get_time_diffSébastien Helleu
The two times must be sent as parameters, which makes the function not specific to uptime. It is now easier to test the function in unit tests.
2020-01-20core: flush stdout/stderr before forking in hook_process function (closes #1441)Sébastien Helleu
2020-01-12core: add variable "old_full_name" in buffer, set before the buffer is ↵Sébastien Helleu
renamed (issue #1428)
2020-01-04core: update copyright datesSébastien Helleu
2019-12-18core: fix evaluation of condition with nested "if" (closes #1434)Sébastien Helleu
2019-12-18core: add debug option "-d" in command /eval (issue #1434)Sébastien Helleu
2019-12-18core: add missing variable "proxy" in function hook_connect_print_logSébastien Helleu
2019-11-25core: add more info in /help weechat.look.nick_color_hash_salt (issue #635)Sébastien Helleu
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>