Sébastien Helleu
1abf4040f1
core: add reverse of string in evaluation of expressions with "rev:" ( closes #1200 )
2018-06-02 16:01:14 +02:00
Sébastien Helleu
4592c9438f
core: send buffer pointer (when possible) in signal "hotlist_changed" ( closes #1133 )
...
When a buffer is added or updated in the hotlist, the buffer pointer is sent.
When the hotlist is cleared or resorted, the buffer pointer is NULL.
2018-05-31 20:25:10 +02:00
Sébastien Helleu
271e395201
doc: add note about "list" options for curl in function hook_process_hashtable (plugin API reference)
2018-05-21 14:44:21 +02:00
Sébastien Helleu
4f5c7c8b68
doc: add example of URL with custom HTTP headers in function hook_process_hashtable (plugin API reference)
2018-05-21 14:26:20 +02:00
Sébastien Helleu
c1fc590e0a
doc: fix styles in plugin API reference
2018-05-20 15:55:37 +02:00
Sébastien Helleu
498072734f
doc: replace version x.y.z by 2.2 in plugin API reference
2018-05-20 15:25:23 +02:00
Sébastien Helleu
afb1d03053
Merge remote-tracking branch 'origin/pr/623' into irc-3.2-cap
2018-05-20 15:21:07 +02:00
Sébastien Helleu
64738bcee9
doc: add version 2.2 in Python example for function string_format_size (plugin API reference)
2018-04-07 15:19:13 +02:00
Sébastien Helleu
6de98179bc
api: add function string_format_size in scripting API
2018-04-07 13:20:58 +02:00
Sébastien Helleu
c90572babe
irc: send whole IRC message including IRCv3 tags in the signals irc_in, irc_in2, irc_raw_in and irc_raw_in2 (issue #787 )
2018-03-25 20:05:12 +02:00
Sébastien Helleu
667c9364ed
doc: add more info about the reload callback in function config_new (plugin API reference)
2018-03-20 21:51:13 +01:00
Sébastien Helleu
5768b2060c
doc: add more info about return value of function hdata_move (plugin API reference)
2018-03-01 21:57:46 +01:00
Sébastien Helleu
4545cc88b1
doc: rename callback name in example of function hook_process (plugin API reference)
2018-01-21 20:36:24 +01:00
Sébastien Helleu
be3634f22f
irc: add server option "split_msg_max_length"
2018-01-13 22:17:13 +01:00
Sébastien Helleu
af5b8ea165
doc: translate doc on weechat_plugin pointer in other languages (plugin API reference)
2017-11-26 10:22:23 +01:00
Simmo Saan
d1f530611c
doc: mention weechat_plugin pointer used by plugin header
2017-11-06 18:32:46 +02:00
Sébastien Helleu
1225efe472
doc: add info about strings not translated in functions gettext/ngettext (plugin API reference)
2017-11-03 22:03:02 +01:00
Sébastien Helleu
fe73a38b58
api: add support of prefix "quiet:" in function key_unbind() to quietly remove keys
2017-10-24 23:03:40 +02:00
Sébastien Helleu
1d56e17b2f
core: allow floating point and hexadecimal numbers in comparison of evaluated values
2017-10-17 20:43:40 +02:00
Sébastien Helleu
92b9533efe
core: fix typo: Javascript -> JavaScript
2017-09-23 16:24:52 +02:00
Sébastien Helleu
20f47b9b41
doc: add PHP plugin in plugin API reference
2017-09-03 15:34:30 +02:00
Sébastien Helleu
3d8980d91a
doc: add links to other docs in plugin API reference
2017-08-22 23:10:41 +02:00
Sébastien Helleu
db0bdc2ac6
core: add flag "input_get_empty" in buffer
...
The default value is 0 (legacy behavior).
When it is set to 1, an empty input (just by pressing Return with nothing in
input) is sent to the input callback, which receives an empty string.
2017-08-21 07:41:28 +02:00
Sébastien Helleu
8c554d88c9
doc: fix name of dynamic string functions (plugin API reference)
2017-08-20 13:35:32 +02:00
Sébastien Helleu
835c94db4b
core: add signals "buffer_filters_enabled" and "buffer_filters_disabled"
2017-08-18 22:10:17 +02:00
Sébastien Helleu
bfef8da84c
api: change type of arguments status/gnutls_rc/sock in hook_connect() callback from string to integer (in scripts)
2017-08-13 10:40:01 +02:00
Sébastien Helleu
5392e3078f
api: send file descriptor as integer instead of string to the callback of hook_fd
2017-08-13 09:29:39 +02:00
Sébastien Helleu
2b7ea69d00
doc: add a column "default" in the table with hook_process_hashtable options (plugin API reference)
2017-08-13 08:33:13 +02:00
Sébastien Helleu
7e1f8a4217
doc: replace deprecated info "irc_nick_color_name" by "nick_color_name" in examples (plugin API reference)
2017-07-22 14:10:53 +02:00
Sébastien Helleu
ff448b9096
api: add argument "recurse_subdirs" in function exec_on_files()
2017-07-04 22:01:14 +02:00
Sébastien Helleu
476f6ae7bb
doc: add "config_name" and "section_name" in function config_option_get_string (plugin API reference)
2017-06-25 16:35:28 +02:00
Simmo Saan
0a4be02dc3
core: add hashtable_add_from_infolist to API
2017-06-17 20:03:40 +03:00
Sébastien Helleu
7621939a7a
api: add function hdata_compare
2017-05-30 20:29:17 +02:00
Sébastien Helleu
f6a8c28d2d
api: add function config_option_get_string in plugin API
2017-05-30 20:28:01 +02:00
Sébastien Helleu
b9fdcb0193
doc: add missing special values in function config_option_set for booleans/integers/colors (plugin API reference)
2017-05-26 14:07:08 +02:00
Sébastien Helleu
93361c95d2
doc: move note in function hook_command_run (plugin API reference)
2017-05-10 20:24:17 +02:00
Sébastien Helleu
00eddd3a00
doc: add numeric comparison example in function string_eval_expression (plugin API reference)
2017-04-29 18:17:49 +02:00
Sébastien Helleu
b3073054a4
doc: add list of logical and comparison operators in function string_eval_expression (plugin API reference)
2017-04-29 17:54:53 +02:00
Sébastien Helleu
112bebcddf
core: add a way to count the suffix length in max chars displayed in cut of string ("cut:" and "cutscr:") ( closes #963 )
...
The format to use is one of:
- ${cut:+max,suffix,string}
- ${cutscr:+max,suffix,string}
With the "+" before max, WeeChat ensures there are at most "max" chars in
output, including the length of suffix string.
2017-04-24 22:37:49 +02:00
Sébastien Helleu
a86a32334a
doc: add min WeeChat version in function string_eval_expression (plugin API reference)
2017-04-02 15:54:20 +02:00
Sébastien Helleu
af138840b3
api: return pointer to string in function string_dyn_free() if argument "free_string" is 0
2017-04-01 12:04:28 +02:00
Sébastien Helleu
36eb3ee343
api: add special key "__quiet" in function key_bind
2017-03-31 21:04:21 +02:00
Sébastien Helleu
bb00b6b8fb
core: add ${re:#} to get the index of last group captured in evaluation of expressions
2017-03-30 22:13:14 +02:00
Sébastien Helleu
467f482ea6
core: make "callback_cmp" optional in call to function arraylist_new()
...
If no callback is given, a default callback is used, which just compares
pointers.
2017-03-30 20:35:16 +02:00
Sébastien Helleu
f99c866f35
core: add cut of string with max chars displayed in evaluation of expressions
...
The syntax is: ${cutscr:max,suffix,string}.
The string is cut after max chars displayed on screen. If the string is cut,
the optional suffix is added after.
2017-03-27 21:14:51 +02:00
Sébastien Helleu
d31e4f1d9a
irc: send signal "irc_server_lag_changed", store lag in server buffer
...
The lag is stored in the local variable "lag" of the server buffer.
When there is no lag, the local variable does not exist.
2017-03-25 14:19:48 +01:00
Sébastien Helleu
9a8ec36cbd
core: add cut of string in evaluation of expressions
...
The syntax is: ${cut:max,suffix,string}.
The string is cut after max chars. If the string is cut, the optional suffix is
added after.
2017-03-25 14:19:48 +01:00
Sébastien Helleu
77af4e0a87
api: add arraylist functions
...
New functions:
- arraylist_new
- arraylist_size
- arraylist_get
- arraylist_search
- arraylist_insert
- arraylist_add
- arraylist_remove
- arraylist_clear
- arraylist_free
2017-03-25 14:18:19 +01:00
Sébastien Helleu
83117f8d2a
core: add ternary operator (condition) in evaluation of expressions
2017-03-25 14:18:19 +01:00
Sébastien Helleu
07d16903f3
api: add dynamic string functions (string_dyn_*)
...
New functions:
- string_dyn_alloc
- string_dyn_copy
- string_dyn_concat
- string_dyn_free
2017-03-25 14:18:19 +01:00