Sébastien Helleu
f5135277af
core: remove useless conditions
2022-12-24 19:40:53 +01:00
Sébastien Helleu
18c9ade580
core: add whole string information in /debug unicode
2022-12-10 17:32:09 +01:00
Sébastien Helleu
5b9b1e175b
core: add color attributes "blink" and "dim" (half bright) ( closes #1855 )
2022-12-10 16:37:03 +01:00
Sébastien Helleu
baab9cc7c5
core: add option unicode in command /debug
2022-11-21 20:45:41 +01:00
Sébastien Helleu
a8639969c5
core: reorder sub-commands in /debug command callback
2022-11-20 13:55:21 +01:00
Sébastien Helleu
196a051141
core: add range of chars in evaluation of expressions with chars:xxx
2022-11-05 22:34:38 +01:00
Sébastien Helleu
7d2e8b9143
core: allow command /toggle to create option before setting the value, if allowed in the section ( closes #1837 )
2022-10-12 21:29:38 +02:00
Sébastien Helleu
01cf98e8fb
core: add key alt+backspace, change behavior of key ctrl+w ( closes #559 )
...
The key ctrl+w now deletes one word until whitespace.
The new key alt+backspace deletes one word (same behavior as ctrl+w in previous
releases).
2022-09-18 23:26:49 +02:00
Sébastien Helleu
d068fe0de5
core: add option -save in command /upgrade ( closes #1630 )
2022-08-07 16:48:12 +02:00
Sébastien Helleu
b7441bd7a3
api: add arguments "index_start" and "index_end" in function string_rebuild_split_string
2022-07-20 13:16:35 +02:00
Sébastien Helleu
62e68f965f
api: rename function string_build_with_split_string to string_rebuild_split_string
2022-07-20 12:14:40 +02:00
Sébastien Helleu
86f110db98
core: add completion of conditions and content in commands /item add and /item addreplace (issue #808 )
2022-05-27 22:16:58 +02:00
Sébastien Helleu
5ef4731c62
core: add examples in /help item (issue #808 )
2022-05-27 22:16:55 +02:00
Sébastien Helleu
007958e82c
core: add display conditions in custom bar items (issue #808 )
2022-05-27 22:16:50 +02:00
Sébastien Helleu
cefed25912
core: add command /item ( closes #808 )
...
This allows to create custom bar items with evaluated content (like the script
text_item.py does).
2022-05-27 17:53:50 +02:00
Sébastien Helleu
d99fe0bc76
core: allow to remove multiple filters at once with command /filter del
2022-05-11 21:50:53 +02:00
Sébastien Helleu
78317f8b55
core: move detailed list of hooks from command "/plugin listfull" to "/debug hooks <plugin>"
2022-04-24 10:28:09 +02:00
Sébastien Helleu
dc367a83f6
core: add missing options "dirs" and "hooks" in description of /debug command arguments
2022-04-23 19:13:16 +02:00
Sébastien Helleu
51ed9ec93e
core: add case conversion in evaluation of expressions ( closes #1778 )
2022-04-18 13:46:16 +02:00
Sébastien Helleu
fbbed9fbf7
core: add function gui_buffer_new_props (issue #1759 )
...
This function allows to create a buffer and set properties via a hashtable,
before the signal "buffer_opened" is sent.
2022-03-13 10:35:29 +01:00
Sébastien Helleu
9259442dbf
core: add support of date and tags in messages displayed in buffers with free content, add function printf_y_date_tags ( closes #1746 )
2022-01-30 11:41:06 +01:00
Sébastien Helleu
c44b79dce7
core: update copyright dates
2022-01-17 18:41:06 +01:00
Sébastien Helleu
ad5fa7c99f
core: add command /toggle
2021-10-01 22:55:38 +02:00
Sébastien Helleu
a6826af796
core: add creation of user variables in evaluated expressions with ${define:name,value}
2021-09-20 21:15:28 +02:00
Sébastien Helleu
f3fc1f5f85
core: remove empty line displayed in output of /plugin list <name>
2021-09-10 23:06:05 +02:00
Sébastien Helleu
91d32be93c
core: add options "-o", "-ol", "-i" and "-il" in command "/plugin list"
2021-09-09 21:32:58 +02:00
Sébastien Helleu
7d1b557627
core: fix indentation in examples of /help eval
2021-09-06 22:39:29 +02:00
Sébastien Helleu
5b3929b321
api: add split of string and shell arguments in evaluation of expressions
...
Split of string: ${split:number,separators,flags,xxx}
Split of shell arguments: ${split_shell:number,xxx}
2021-09-06 13:32:04 +02:00
Sébastien Helleu
12be3b8c33
core: add options in command /input and new keys to remove/restore buffers in hotlist
...
New options in command /input:
- hotlist_remove_buffer
- hotlist_restore_buffer
- hotlist_restore_all
New keys:
- alt+h, alt+c: clear the whole hotlist (former key: alt+h)
- alt+h, alt+m: mark the current buffer as read by removing it from the hotlist
- alt+h, alt+r: restore latest hotlist removed in the current buffer
- alt+h, alt+shift+R: restore latest hotlist removed in all buffers
2021-08-31 22:32:38 +02:00
Sébastien Helleu
d89c4f559c
api: add random integer number in evaluation of expressions with "random:min,max"
2021-08-03 19:46:41 +02:00
Sébastien Helleu
e84a3676f6
core: add note about buffers that are not opened in /help layout
2021-06-27 10:35:04 +02:00
Sébastien Helleu
2225ac4e56
core: add option "certs" in command /debug
2021-06-17 21:51:18 +02:00
Sébastien Helleu
7cc61cdbb3
core: replace freenode by libera in command examples
2021-05-25 18:44:10 +02:00
Sébastien Helleu
b74af1d2da
core: split startup command before evaluating it (issue #1643 )
2021-05-22 08:51:38 +02:00
Sébastien Helleu
5bce484c01
api: add translated string in evaluation of expressions with "translate:xxx" (issue #1622 )
2021-05-16 10:01:03 +02:00
Sébastien Helleu
0f9640a5f3
core: split WeeChat home in 4 directories, use XDG directories by default (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-11 21:06:34 +02:00
Sébastien Helleu
269576eea2
core: move directory/file functions from wee-util.c to wee-dir.c (issue #1285 )
2021-05-11 21:06:29 +02:00
Sébastien Helleu
6b62456119
Revert "core: add option "-save" in command /upgrade ( closes #1630 )"
...
This reverts commit 1df1903d23 .
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-13 00:11:11 +02:00
Sébastien Helleu
1df1903d23
core: add option "-save" in command /upgrade ( closes #1630 )
2021-04-12 20:48:32 +02:00
Sébastien Helleu
8ee7d46605
api: add support of pointer names in function string_eval_expression (direct 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-17 21:57:16 +01:00
Sébastien Helleu
0dc7fbcb0c
core: add options to customize commands on system signals, quit by default 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 de1e61f7cd ).
2021-03-16 18:47:31 +01:00
Sébastien Helleu
a02a2fbaae
doc: use full path /usr/bin/pass in example for option sec.crypt.passphrase_command
2021-03-14 13:38:50 +01:00
Sébastien Helleu
f1c681c832
core: replace option sec.crypt.passphrase_file by 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-06 16:07:14 +01:00
Sébastien Helleu
a93e598c35
core: add raw string in evaluation of expressions with "raw:xxx" ( closes #1611 )
2021-02-05 20:07:16 +01:00
Sébastien Helleu
efc7a588d6
core: update copyright dates
2021-01-02 21:34:16 +01:00
Sébastien Helleu
d413ccdf4f
core: add indentation and colors in /eval debug output
2021-01-01 17:08:59 +01:00
Sébastien Helleu
2ad3da03a2
core: display more verbose debug with two "-d" in command /eval
...
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-31 20:37:43 +01:00
Sébastien Helleu
33c7b96146
core: fix typo in comment
2020-12-30 23:02:37 +01:00
Sébastien Helleu
ee9aa28a8c
core: do not remove quotes in arguments of command /eval ( closes #1601 )
...
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-25 00:21:03 +01:00
Sébastien Helleu
7e2396ade8
core: add options "setvar" and "delvar" in command /buffer, rename option "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-19 20:59:38 +01:00