Commit Graph

86 Commits (1ef7a55e727f6936ee8aee702d8e2daa4c767d52)

Author SHA1 Message Date
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
Håvard Pettersson dd440b6805 doc: fix examples with localvar_del 2017-02-09 00:11:27 -08: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 768bceca36 doc: fix French translation of "callback" 2016-12-04 15:02:07 +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
Sébastien Helleu 9c76d80d4d doc: fix style of commands in plugin API reference 2016-11-27 17:48:48 +01:00
Sébastien Helleu 64f05204f9 api: move functions hook_completion* after hook_command 2016-11-27 17:34:15 +01:00
Sébastien Helleu 461d1f0073 doc: add missing punctuation in some table cells 2016-11-26 23:19:41 +01:00
Sébastien Helleu 114cf66606 doc: add chapter about buffers lines in user's guide 2016-11-26 17:11:45 +01:00
Sébastien Helleu fa845c2e7c doc: fix punctuation in lists 2016-11-20 23:04:55 +01:00
AYANOKOUZI, Ryuunosuke 78d3a05729 doc: fix typo in plugin API reference 2016-11-06 09:00:00 +09:00
Sébastien Helleu 47019c3d15 doc: fix examples for function string_eval_path_home (plugin API reference) 2016-09-27 07:31:13 +02:00
Sébastien Helleu 13d836994b doc: translate "extra" argument of string_eval_expression in other languages (plugin API reference) 2016-08-18 21:52:06 +02:00
Sébastien Helleu 0c2f32fbcd doc: remove "weechat_" prefix in internal links (plugin API reference) 2016-06-25 10:56:55 +02:00
Sébastien Helleu a9b0c00df7 doc: add note about string evaluated in function window_set_title (plugin API reference) 2016-06-25 10:38:48 +02:00
Sébastien Helleu 1989285462 doc: add note in argument "tags" of function printf_date_tags (plugin API reference) 2016-06-18 09:11:07 +02:00
Sébastien Helleu 3b4d9156e2 doc: add note about function printf_date_tags in function printf (plugin API reference) 2016-06-18 09:06:56 +02:00
Sébastien Helleu 20c86db0d8 api: remove functions printf_date() and printf_tags() 2016-06-18 08:49:35 +02:00
Sébastien Helleu b1d32b29f9 doc: fix styles in docs 2016-06-15 08:01:45 +02:00
Sébastien Helleu b7bdbbdc50 core: rename .asciidoc files to .adoc (issue #722) 2016-05-15 08:52:19 +02:00