173 Commits

Author SHA1 Message Date
Sebastien Helleu
bd21daebd1 api: allow return code WEECHAT_RC_OK_EAT in callbacks of hook_signal and hook_hsignal (stop sending the signal immediately) 2013-01-06 19:38:38 +01:00
Sebastien Helleu
cd944052ef doc: update signals arguments in plugin API reference 2013-01-04 23:26:27 +01:00
Sebastien Helleu
e21de5ce96 doc: add note about double tab in function weechat_printf, to display message without time/alignment (plugin API reference) 2013-01-03 09:58:38 +01:00
Sebastien Helleu
3df1d70bb5 aspell: add signal "aspell_suggest" (sent when new suggestions are displayed) 2013-01-01 17:26:50 +01:00
Sebastien Helleu
641de51bdb api: allow creation of structure with hdata_update (allowed for hdata "history") 2012-12-08 23:54:07 +01:00
Sebastien Helleu
76647fc171 doc: fix style for prefixes in function weechat_prefix (plugin API reference) 2012-12-04 08:51:28 +01:00
Sebastien Helleu
1281b18688 api: use hashtable "options" for command arguments in function hook_process_hashtable (optional, default is a split of string with command) 2012-11-22 19:55:38 +01:00
Sebastien Helleu
32c93b5c0a core: add command /eval, use expression in conditions for bars, add function "string_eval_expression" in plugin API 2012-11-02 09:37:15 +01:00
Sebastien Helleu
4b6eac3172 doc: fix typo in example of hdata_get_string (plugin API reference) 2012-10-19 14:31:21 +02:00
Sebastien Helleu
ed506558e8 core: add option "-quit" for command /upgrade (save session and quit without restarting WeeChat, for delayed restoration) 2012-10-18 20:59:56 +02:00
Simon Arlott
248aa8d73a api: connect with IPv6 by default in hook_connect (with fallback to IPv4), shuffle list of hosts for a same address (task #11205) 2012-10-14 10:59:00 +02:00
Sebastien Helleu
8caeed6c4e doc: add call to config_get in examples of functions config_<type>(_default) (plugin API reference) 2012-10-05 22:05:34 +02:00
Sebastien Helleu
3849cb49bc core: add signals for plugins loaded/unloaded 2012-09-04 12:39:56 +02:00
Sebastien Helleu
df80aa5fc9 api: allow update for some variables of hdata, add new functions hdata_update and hdata_set 2012-08-27 09:47:46 +02:00
Sebastien Helleu
777fa366d7 core: fix connection to host in child process when socket is non-blocking (with or without proxy) 2012-08-08 14:20:48 +02:00
Sebastien Helleu
46bc181933 scripts: add signals for scripts loaded/unloaded/installed/removed 2012-08-08 11:38:27 +02:00
Sebastien Helleu
00b879962a api: add new function util_version_number 2012-08-04 13:58:25 +02:00
stfn
04520c81d6 doc: fix C example of weechat_charset_set and weechat_iconv_to_internal (plugin API reference) 2012-08-02 22:41:38 +02:00
Sebastien Helleu
b869a145ac doc: add missing argument "pos_option_name" in function "config_search_with_string" (plugin API reference) 2012-07-23 19:03:08 +02:00
Sebastien Helleu
eab0110732 core: add support of arrays in hdata variables 2012-07-20 18:12:07 +02:00
Peter Boström
c03fcd5e12 core: add function "hook_set" in plugin API, add "subplugin" in hooks (set by script plugins), display subplugin in /help on commands (task #12049) 2012-07-09 15:16:51 +02:00
stfn
26d7fcfc97 doc: fix C example of weechat_hook_process_hashtable (plugin API reference) 2012-07-05 09:32:15 +02:00
Sebastien Helleu
d66555f387 core: add callback "nickcmp" for nick comparison in buffers 2012-06-14 20:06:42 +02:00
Sebastien Helleu
c0c75a9555 doc: add "case insensitive" for argument "message" of function hook_print (plugin API reference) 2012-06-09 21:52:34 +02:00
Sebastien Helleu
36d5f464fb doc: add note about property "short_name" of buffers (plugin API reference) 2012-05-11 19:15:48 +02:00
Sebastien Helleu
c2c83466f9 doc: fix typo in python example of infolist_get (plugin API reference) 2012-05-05 21:56:00 +02:00
Sebastien Helleu
c72fa72aef doc: fix arguments sent to callback of hook_command in plugin API reference 2012-04-18 08:05:46 +02:00
Sebastien Helleu
477e9a609c doc: fix return value of function "color" in plugin API reference 2012-04-17 08:56:17 +02:00
Sebastien Helleu
04b228715b doc: fix return value of function hook_modifier_exec in plugin API reference 2012-04-11 21:33:05 +02:00
Sebastien Helleu
6c261d31e1 doc: add list of commonly used tags in plugin API reference (in function printf_date_tags) 2012-04-04 20:02:27 +02:00
Sebastien Helleu
5d6e3d1a7a doc: fix order of arguments for function nicklist_add_group in plugin API reference 2012-03-24 09:55:29 +01:00
Sebastien Helleu
9972cce777 core: add a connection timeout for child process in hook_connect (bug #35966) 2012-03-23 18:24:47 +01:00
Sebastien Helleu
a6336885b8 irc: add signals and tags in messages for irc notify (patch from Quentin Glidic) (task #11887) 2012-03-12 11:09:22 +01:00
Sebastien Helleu
19dfdfedc9 doc: fix python example for config_new_option in plugin API reference 2012-02-17 11:05:59 +01:00
Sebastien Helleu
4a1f0ef5cc irc: add signal "irc_server_opened" 2012-02-09 08:47:36 +01:00
Sebastien Helleu
06fb5d1921 doc: fix typo in plugin API reference (example for weechat_string_toupper) 2012-02-09 07:32:04 +01:00
Sebastien Helleu
355fdf0047 irc: add signal "xxx,irc_out1_yyy" and modifier "irc_out1_xxx" (outgoing message before automatic split to fit in 512 bytes) 2012-02-05 11:37:57 +01:00
Sebastien Helleu
50c120b29c doc: add the versions where signals were introduced, fix typos in signals (plugin API reference) 2012-01-28 18:31:27 +01:00
Sebastien Helleu
8ea2b93a28 core: add signal "window_switch" 2012-01-28 17:18:15 +01:00
Sebastien Helleu
9347bae962 api: replace type "regex_t *" by "void *" in function string_regcomp (fix ruby compilation with autotools) 2012-01-26 18:18:20 +01:00
Sebastien Helleu
009925b9ac api: add modifier "input_text_for_buffer" 2012-01-24 19:02:06 +01:00
Sebastien Helleu
5f6df8021b core: add support of flags in regular expressions and highlight options, add irc options to customize/disable default nick highlight (task #11128)
New functions in C plugin API:
- string_regex_flags
- string_regcomp

New irc options:
- irc.look.highlight_server
- irc.look.highlight_channel
- irc.look.highlight_pv

Regex flags are supported in following options/commands:
- option weechat.look.highlight
- option weechat.look.highlight_regex
- options irc.look.highlight_{server|channel|pv}
- option relay.network.allowed_ips
- core command /filter
- irc command /list
- irc command /ignore
- rmodifier command /rmodifier
2012-01-22 13:48:42 +01:00
Sebastien Helleu
d6cddc6dd3 doc: add return codes for URL transfer in hook_process (plugin API reference) 2012-01-17 12:08:42 +01:00
Sebastien Helleu
b91c231096 core: add URL transfer (using libcurl), add function hook_process_hashtable in plugin API, add support of URL in hook_process/hook_process_hashtable (task #10247) 2012-01-16 19:52:08 +01:00
Sebastien Helleu
b7c97d64ee doc: add hashtable sent to callback for irc redirection in plugin API reference 2012-01-05 10:52:26 +01:00
Sebastien Helleu
7e7fe2b37d doc: fix typos in plugin API reference (examples of irc redirection) 2012-01-04 15:50:07 +01:00
Sebastien Helleu
8cd9845804 doc: fix typo: hashlist => hashtable in plugin API reference 2011-12-19 23:25:37 +01:00
Sebastien Helleu
6f3fd239be core: add type "hashtable" for hdata, new api functions: hdata_hashtable and hashtable_map_string 2011-12-19 22:39:24 +01:00
Sebastien Helleu
f0b8181395 core: add signal "buffer_line_added" 2011-12-17 17:34:45 +01:00
Sebastien Helleu
bd3f554e02 api: add new function hdata_check_pointer 2011-12-17 17:03:39 +01:00