summaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2021-02-06core: replace option sec.crypt.passphrase_file by ↵Sébastien Helleu
sec.crypt.passphrase_command (closes #141) The command is used to read the passphrase on startup, for example using your favorite password manager. Note: only the passphrase is read from the program, the secured data is still stored encrypted in sec.conf and handled by WeeChat itself.
2021-02-05core: add raw string in evaluation of expressions with "raw:xxx" (closes #1611)Sébastien Helleu
2021-01-02core: update copyright datesSébastien Helleu
2021-01-02core: move debug_id assignation in macro EVAL_DEBUG_MSGSébastien Helleu
2021-01-01doc: add note about call to "regfree" after call to "string_regcomp" (plugin ↵Sébastien Helleu
API reference)
2021-01-01core: add indentation and colors in /eval debug outputSébastien Helleu
2020-12-31core: display more verbose debug with two "-d" in command /evalSébastien Helleu
Now a single -d in command /eval shows less debug messages than previous versions. To get the same debug messages than previous versions, two -d must be used.
2020-12-30core: fix typo in commentSébastien Helleu
2020-12-25core: do not remove quotes in arguments of command /eval (closes #1601)Sébastien Helleu
Now, /eval -n -c "a" == "a" returns True instead of False. When quotes were removed, the condition evaluated was: a" == "a (which is False).
2020-12-19core: add options "setvar" and "delvar" in command /buffer, rename option ↵Sébastien Helleu
"localvar" to "listvar" The option "localvar" (introduced long time ago, in WeeChat 0.3.0) is still recognized by WeeChat, to stay compatible with any extension/script calling it (or referencing it in the documentation). It is deprecated and will be removed in a future release.
2020-12-18core: remove unneeded return of WEECHAT_RC_OK in filter commandSébastien Helleu
2020-12-18core: add option "recreate" in command /filterSébastien Helleu
2020-11-28docs: fix simple typo, confiuration -> configurationTim Gates
There is a small typo in src/core/weechat.c. Should read `configuration` rather than `confiuration`.
2020-11-21core: increase buffer size in HTTP proxy connectionSébastien Helleu
In case of long address/username/password, the HTTP CONNECT message could be truncated.
2020-11-21core: increase command buffer size in /color commandSébastien Helleu
In case of long alias name, the command to set color alias could be truncated.
2020-11-17core: fix and normalize error messagesSébastien Helleu
2020-11-17core: display an error when the buffer is not found with command /command ↵Sébastien Helleu
-buffer
2020-11-14core: add evaluation of conditions in evaluation of expressions with ↵Sébastien Helleu
"eval_cond:" (closes #1582)
2020-08-23api: add argument "bytes" in function string_dyn_concatSébastien Helleu
2020-06-21core: add bar option "color_bg_inactive" (issue #732)Sébastien Helleu
2020-05-21core: add base 16/32/64 encoding/decoding in evaluation of expressionsSébastien Helleu
2020-05-21core: move functions string_base_encode and string_base_decode from ↵Sébastien Helleu
plugin-api.c to wee-string.c
2020-05-21core: return -1 in case of error in functions string_base16_decode and ↵Sébastien Helleu
string_base64_decode
2020-05-20core: split function eval_replace_vars_cb into multiple functionsSébastien Helleu
2020-05-16core: move creation of info_hashtable from gui-focus.c to plugin-api-info.c ↵Sébastien Helleu
(issue #1257)
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