Commit Graph

109 Commits (1ef7a55e727f6936ee8aee702d8e2daa4c767d52)

Author SHA1 Message Date
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
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 114cf66606 doc: add chapter about buffers lines in user's guide 2016-11-26 17:11:45 +01:00
AYANOKOUZI, Ryuunosuke 69673dbfff core: update Japanese translations 2016-11-12 09:00:00 +09:00
AYANOKOUZI, Ryuunosuke 78d3a05729 doc: fix typo in plugin API reference 2016-11-06 09:00:00 +09:00
AYANOKOUZI, Ryuunosuke d5ff36a6de core: update Japanese translations 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
AYANOKOUZI, Ryuunosuke 20966d7a70 core: update Japanese translations 2016-08-21 09:00:00 +09: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
AYANOKOUZI, Ryuunosuke b159f1ce28 doc: update Japanese translations 2016-07-01 09:00:00 +09: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