summaryrefslogtreecommitdiff
path: root/src/core/wee-command.c
AgeCommit message (Collapse)Author
2021-05-16api: add translated string in evaluation of expressions with "translate:xxx" ↵Sébastien Helleu
(issue #1622)
2021-05-11core: split WeeChat home in 4 directories, use XDG directories by default ↵Sébastien Helleu
(issue #1285) The 4 directories (which can be the same): - config: configuration files, certificates - data: log/upgrade files, local plugins, scripts, xfer files - cache: script repository, scripts downloaded (temporary location) - runtime: FIFO pipe, relay UNIX sockets
2021-05-11core: move directory/file functions from wee-util.c to wee-dir.c (issue #1285)Sébastien Helleu
2021-04-13Revert "core: add option "-save" in command /upgrade (closes #1630)"Sébastien Helleu
This reverts commit 1df1903d230c4f8dbd0876b8bbc3454aa1af389c. This is not so easy to implement: it requires saving state of plugins, and plugins like irc can not save the connected state (except in a real upgrade case where the sockets are still valid after exec of the new binary).
2021-04-12core: add option "-save" in command /upgrade (closes #1630)Sébastien Helleu
2021-03-17api: add support of pointer names in function string_eval_expression (direct ↵Sébastien Helleu
and in hdata) These two formats are now supported, if "pointer_name" is present in the "pointers" hashtable: * "${pointer_name}": value of pointer (example: "0x1234abcd") * ${buffer[pointer_name].full_name}: use of a pointer name instead of pointer value or list name
2021-03-16core: add options to customize commands on system signals, quit by default ↵Sébastien Helleu
on SIGHUP when not running headless (closes #1595) New options to customize behavior on signals received, with the default behavior: - weechat.signal.sighup: quit in normal mode, reload config in headless - weechat.signal.sigquit: quit - weechat.signal.sigterm: quit - weechat.signal.sigusr1: no command executed by default - weechat.signal.sigusr2: no command executed by default The signals SIGUSR1 and SIGUSR2 are introduced by this commit, so it's now possible to run commands when they are received. The SIGHUP signal makes now WeeChat quit, it was the behavior before version 2.9 of WeeChat (see commit de1e61f7cd50cbd1a99777fe6611642a51abf5f6).
2021-03-14doc: use full path /usr/bin/pass in example for option ↵Sébastien Helleu
sec.crypt.passphrase_command
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-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-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-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-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-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-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-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-04core: update copyright datesSébastien Helleu
2019-12-18core: add debug option "-d" in command /eval (issue #1434)Sébastien Helleu
2019-10-12core: add reverse of string for screen in evaluation of expressions with ↵Sébastien Helleu
"revscr:"
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-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-07-29core: add some missing default keys in /help cursorSébastien Helleu
2019-06-17core: add option "close" in command /window (closes #853)Sébastien Helleu
2019-06-15api: add argument "strip_items" in function string_splitSébastien Helleu
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-12core: set max length to 4096 for /secure passphrase (closes #1323)Sébastien Helleu
2019-03-10core: replace argument "keep_eol" by "flags" in function string_split ↵Sébastien Helleu
(closes #1322)