Sébastien Helleu
c8776b14f6
doc: switch from prettify to pygments for syntax highlighting
2021-11-27 16:05:28 +01:00
Sébastien Helleu
b3cf7658f7
doc: replace ${name} by ${server_name} in example of function hdata_search (plugin API reference)
2021-11-06 16:03:40 +01:00
Sébastien Helleu
2da2172593
api: add parameters pointers, extra_vars and options in function hdata_search
2021-11-06 15:59:18 +01:00
Sébastien Helleu
5e08f9876a
core: fix access to integer/long/time arrays in hdata, add support of static arrays in hdata
2021-11-04 23:55:02 +01:00
Sébastien Helleu
c4b4d80936
irc: parse and return command parameters in message parser
2021-10-17 21:28:30 +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
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
2de272ee6c
api: add "${re:repl_index}" to get the index of replacement in function string_eval_expression
2021-08-29 10:40:52 +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
5b87e0c544
api: add function string_cut
2021-07-04 13:27:33 +02:00
Sébastien Helleu
09d871deb4
doc: add column for min WeeChat version in function buffer_set (plugin API reference)
2021-07-04 13:27:33 +02:00
Sébastien Helleu
503a3cb755
doc: add column for min WeeChat version in function hook_set (plugin API reference)
2021-07-04 13:27:33 +02:00
Sébastien Helleu
c127d1693a
doc: add column for min WeeChat version in function hook_modifier_exec (plugin API reference)
2021-07-04 13:27:33 +02:00
Sébastien Helleu
134f4374f8
doc: add column for min WeeChat version in function hook_modifier (plugin API reference)
2021-07-04 13:27:33 +02:00
Sébastien Helleu
ab916d3d90
doc: add column for min WeeChat version in function hook_hsignal (plugin API reference)
2021-07-04 13:27:33 +02:00
Sébastien Helleu
3d54365d67
doc: add column for min WeeChat version in function hook_process_hashtable (plugin API reference)
2021-07-04 13:27:33 +02:00
Sébastien Helleu
3c920f9a80
doc: add typing signals in plugin API reference
2021-07-04 13:27:33 +02:00
Sébastien Helleu
8a11a18dc5
api: add function file_copy (issue #1667 )
2021-07-03 16:04:50 +02:00
Sébastien Helleu
253598d83c
doc: mention WeeChat version for WEECHAT_RC_OK_EAT in signals "irc_raw_in" and "irc_in" (plugin API reference) (issue #1657 )
2021-06-27 09:56:45 +02:00
Simon Ser
ff8beb1918
irc: allow signals "irc_raw_in" and "irc_in" to eat messages (issue #1657 )
...
This is useful to implement IRC protocol extensions which introduce
new commands.
2021-06-27 09:48:16 +02:00
Sébastien Helleu
a48a615613
api: remember insertion order in hashtables
2021-06-26 21:37:02 +02:00
Sébastien Helleu
b1cf12700d
irc: add keys/values with tags in output of irc_message_parse_to_hashtable (issue #1654 )
...
Key is "tag_xxx" (where "xxx" is the name of tag) and value is the unescaped
tag value.
2021-06-24 21:02:03 +02:00
Sébastien Helleu
23c46c3f2b
irc: escape/unescape IRC message tags values (issue #1654 )
...
Spec: https://ircv3.net/specs/extensions/message-tags#escaping-values
2021-06-24 20:59:21 +02:00
Sébastien Helleu
5cffb7179f
api: add function crypto_hmac (issue #1628 )
2021-06-01 20:39:04 +02:00
Sébastien Helleu
dfdd5b1c50
core: add signals "cursor_start" and "cursor_end"
2021-05-26 08:53:31 +02:00
Sébastien Helleu
14c5e656f2
doc: replace freenode by libera in plugin API reference
2021-05-25 07:13:44 +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
fafe2c9d2e
doc: add type annotations in Python prototypes (plugin API reference) (issue #1377 )
2021-05-13 20:24:59 +02:00
Sébastien Helleu
33767b22f3
doc: fix translations in Italian and Japanese plugin API reference
2021-05-13 09:57:50 +02:00
Sébastien Helleu
70cdf21681
doc: add XDG directories support in docs (issue #1285 )
2021-05-11 21:07:30 +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
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
943374f789
doc: add note about call to "regfree" after call to "string_regcomp" (plugin API reference)
2021-01-01 18:10:47 +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
1526f58d7a
doc: replace "core" by "weechat" in table with extra info for bar item "buffer_nicklist" (plugin API reference)
2020-12-19 15:00:02 +01:00
Sébastien Helleu
b626df72fb
core: add evaluation of conditions in evaluation of expressions with "eval_cond:" ( closes #1582 )
2020-11-14 09:28:46 +01:00
Sébastien Helleu
cfd221014c
api: add argument "bytes" in function string_dyn_concat
2020-08-23 23:27:57 +02:00
Sébastien Helleu
268aa631c6
api: add function string_color_code_size (issue #1547 )
2020-08-22 08:55:16 +02:00
Sébastien Helleu
c002c5f77f
doc: add "irc_nick" in hashtable sent to hook_focus callback (plugin API reference) (issue #1538 )
2020-07-21 08:28:01 +02:00
Sébastien Helleu
bde4b30021
doc: fix description of "_chat_bol" and "_chat_eol" in function hook_focus (plugin API reference)
2020-06-30 21:01:11 +02:00
Sébastien Helleu
9510301f46
doc: harmonize example of pointers in plugin API reference and relay protocol
2020-06-30 20:54:31 +02:00
Sébastien Helleu
b17e1bcf89
api: add pointer "_bar_window" in hashtable sent to hook focus callback ( closes #1450 )
2020-06-30 20:16:19 +02:00
Sébastien Helleu
b0ecbdbf1d
core: add bar option "color_bg_inactive" (issue #732 )
2020-06-21 18:59:54 +02:00
Sébastien Helleu
66d4590dab
core: add base 16/32/64 encoding/decoding in evaluation of expressions
2020-05-21 09:36:35 +02:00
Trygve Aaberge
63714855d3
core: add an option for multiline input in a buffer ( closes #984 )
...
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-09 18:07:36 +02:00
Sébastien Helleu
3505324096
api: use buffer pointer in argument "modifier_data" sent to weechat_print modifier callback ( closes #42 )
2020-05-09 10:08:18 +02:00
Sébastien Helleu
88bef0b1b1
core: rename functions hook_completion_{get_string|list_add} to completion_{get_string|list_add}
...
Old functions are kept for compatibility reasons.
2020-05-08 10:51:30 +02:00
Sébastien Helleu
b1c3a29ac7
core: add include comparison operators in evaluation of expressions
...
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-05-05 20:43:45 +02:00
Sébastien Helleu
505a91c600
doc: merge 53 autogen files into 11 files, move them to includes directory
2020-05-03 14:05:18 +02:00
Sébastien Helleu
d1a427b67f
api: return integer in function gui_completion_search (issue #1484 )
2020-04-28 10:46:49 +02:00