Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-04-08 | tests: add tests on calc functions | Sébastien Helleu | |
Functions tested: - calc_operator_precedence - calc_pop_value - calc_list_free_cb - calc_operation - calc_operation_stacks | |||
2020-04-07 | core: 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-23 | core: fix compiler warnings on Cygwin | Sébastien Helleu | |
2020-03-20 | api: add info "auto_connect" (closes #1453) | Sébastien Helleu | |
2020-03-02 | core: add minimum libgcypt version 1.7.0 for SHA3 algorithms in comment of ↵ | Sébastien Helleu | |
function weecrypto_hash | |||
2020-03-02 | core: fix copyright date in wee-crypto sources | Sébastien Helleu | |
2020-03-02 | core: require libgcrypt >= 1.7.0 for SHA3 algorithms | Sébastien Helleu | |
2020-03-01 | api: add function crypto_hash_pbkdf2 | Sébastien Helleu | |
2020-03-01 | core: move crypto functions to wee-crypto.c, rename API function string_hash ↵ | Sébastien Helleu | |
to crypto_hash | |||
2020-03-01 | core: merge functions string_hash_binary and string_hash into a single ↵ | Sébastien Helleu | |
function string_hash | |||
2020-03-01 | core: add function secure_hash_pbkdf2 | Sébastien Helleu | |
2020-02-29 | core: add support of CRC32 algorithm in hash functions | Sébastien Helleu | |
2020-02-29 | api: add functions string_hash_binary and string_hash | Sébastien Helleu | |
2020-02-29 | core: call function secure_hash_binary in secure_derive_key to compute ↵ | Sébastien Helleu | |
SHA512 hash | |||
2020-02-29 | core: return 0 in case of invalid parameters received in function ↵ | Sébastien Helleu | |
secure_derive_key | |||
2020-02-29 | core: add functions to compute binary/hex hash of data | Sébastien Helleu | |
2020-02-02 | core: rename function util_get_uptime to util_get_time_diff | Sé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-20 | core: flush stdout/stderr before forking in hook_process function (closes #1441) | Sébastien Helleu | |
2020-01-12 | core: add variable "old_full_name" in buffer, set before the buffer is ↵ | Sébastien Helleu | |
renamed (issue #1428) | |||
2020-01-04 | core: update copyright dates | Sébastien Helleu | |
2019-12-18 | core: fix evaluation of condition with nested "if" (closes #1434) | Sébastien Helleu | |
2019-12-18 | core: add debug option "-d" in command /eval (issue #1434) | Sébastien Helleu | |
2019-12-18 | core: add missing variable "proxy" in function hook_connect_print_log | Sébastien Helleu | |
2019-11-25 | core: add more info in /help weechat.look.nick_color_hash_salt (issue #635) | Sébastien Helleu | |
2019-11-25 | core: add option weechat.look.nick_color_hash_salt to allow for reshuffling ↵ | Simmo Saan | |
of colors (issue #635) | |||
2019-10-23 | core: optimize search of options in configuration sections | Sé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-12 | core: add reverse of string for screen in evaluation of expressions with ↵ | Sébastien Helleu | |
"revscr:" | |||
2019-10-06 | core: ensure completion_item is not NULL before using it | Sébastien Helleu | |
2019-10-06 | core: fix crash in completion of filenames | Sébastien Helleu | |
2019-10-06 | core: add optional default path (evaluated) in completion "filename" (issue #60) | Sébastien Helleu | |
2019-10-06 | core: add support of modifiers in evaluation of expressions with ↵ | Sébastien Helleu | |
"modifier:name,data,string" (issue #60) | |||
2019-09-24 | core: add power operator "**" in calc expressions (issue #997) | Sébastien Helleu | |
2019-09-24 | core: fix wrong results with the unary minus in calc expressions | Sébastien Helleu | |
2019-09-21 | core: ignore color codes in ${length:xxx} and ${lengthscr:xxx} | Sébastien Helleu | |
2019-09-21 | core: add "length:xxx" and "lengthscr:xxx" in evaluation of expressions | Sébastien Helleu | |
2019-09-20 | core: add calculation of expression in evaluation of expressions with ↵ | Sébastien Helleu | |
"calc:..." (issue #997) | |||
2019-09-19 | core: remove extra spaces in arguments of /help uptime and /help version | Sébastien Helleu | |
2019-09-17 | Fixed 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-16 | core: mention possible background color in /help weechat.look.nick_color_force | Sébastien Helleu | |
2019-08-31 | core: fix compilation with autotools on FreeBSD 12.0 | Sébastien Helleu | |
2019-08-20 | core: add values djb2_32 and sum_32 for option weechat.look.nick_color_hash ↵ | Sébastien Helleu | |
(issue #1394) | |||
2019-08-19 | core: use fixed-width integer for computing hashtable DJB2 key hash (closes ↵ | Sébastien Helleu | |
#1394) | |||
2019-08-10 | core: create or update option weechat.notify.xxx when function buffer_set is ↵ | Sébastien Helleu | |
called with "notify" property (closes #1390) | |||
2019-08-10 | api: add function list_user_data (issue #666) | Andrew Potter | |
2019-08-04 | core: return NULL immediately if string is NULL in function hook_modifier_exec | Sébastien Helleu | |
2019-07-29 | core: add some missing default keys in /help cursor | Sébastien Helleu | |
2019-06-24 | core: auto disable upgrade process (command line option "--upgrade") if the ↵ | Sébastien Helleu | |
file weechat.upgrade is not found | |||
2019-06-17 | core: add option "close" in command /window (closes #853) | Sébastien Helleu | |
2019-06-16 | core: add Curl options for versions 7.53.0 to 7.63.0 | Sébastien Helleu | |
2019-06-16 | core: replace newlines by spaces in argument "completion" of function ↵ | Sébastien Helleu | |
hook_command (closes #538) |