167 Commits

Author SHA1 Message Date
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
AYANOKOUZI, Ryuunosuke
2d9981554b core: update Japanese translations 2017-11-18 09:00:00 +09: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
AYANOKOUZI, Ryuunosuke
8c1994cf2c core: update Japanese translations 2017-10-28 09:00:00 +09: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
AYANOKOUZI, Ryuunosuke
47e048dd53 core: update Japanese translations 2017-08-26 09:00:00 +09: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
AYANOKOUZI, Ryuunosuke
ce20b1b50c core: update Japanese translations 2017-08-19 09:00:00 +09: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
AYANOKOUZI, Ryuunosuke
5c4a8f4e07 core: update Japanese translations 2017-07-08 09:00:00 +09: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
AYANOKOUZI, Ryuunosuke
b67b6f3834 core: update Japanese translations 2017-06-03 09:00:00 +09: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
AYANOKOUZI, Ryuunosuke
90e6dca386 doc: update Japanese translations 2017-05-28 09:00:00 +09: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
AYANOKOUZI, Ryuunosuke
676c8ccaa2 core: update Japanese translations 2017-05-02 09:00:00 +09: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
AYANOKOUZI, Ryuunosuke
6948d22e40 core: update Japanese translations 2017-04-02 09:00:00 +09: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
AYANOKOUZI, Ryuunosuke
5ce678bf75 core: update Japanese translations 2017-03-26 09:00:00 +09: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
Håvard Pettersson
dd440b6805 doc: fix examples with localvar_del 2017-02-09 00:11:27 -08:00
AYANOKOUZI, Ryuunosuke
3886855b05 core: update Japanese translations 2017-01-06 09:00:00 +09:00
AYANOKOUZI, Ryuunosuke
b094641588 core: update Japanese translations 2016-12-24 09:00:00 +09:00
Sébastien Helleu
351a7a493f doc: add missing info in signal "xxx_script_install" (plugin API reference) 2016-12-04 15:08:56 +01:00
Sébastien Helleu
c008fa68b7 doc: add non-breaking spaces in French docs before colons and semicolons 2016-12-04 13:13:41 +01:00
Sébastien Helleu
d0af6b8dce core: add optional arguments in completion template, sent to the callback 2016-11-29 20:01:35 +01:00