41 Commits

Author SHA1 Message Date
Sebastien Helleu
520f7369ba doc: add missing functions strlen_screen and hook_set in scripting guide 2014-01-11 09:39:12 +01:00
Sebastien Helleu
e3c6384972 doc: use one line titles and less chars for delimited blocks/tables in asciidoc files 2013-11-04 21:41:34 +01:00
Sebastien Helleu
b311ca894d doc: fix example of weechat.command without buffer: it is executed on current buffer, not core buffer (scripting guide) 2013-06-29 13:56:28 +02:00
Sebastien Helleu
f93c7ebe6d doc: update WeeChat URLs (for new site design) 2013-05-23 15:21:41 +02:00
Sebastien Helleu
509a58b1d5 api: add new function hdata_search 2013-04-21 11:26:52 +02:00
Sebastien Helleu
09c5e8cbdf doc: add missing functions in scripting guide 2013-04-21 10:48:38 +02:00
Sebastien Helleu
ff26a8d550 Revert "doc: add note about constants in lua, fix lua example (scripting guide)"
This reverts commit fad848bf7caff763ace7a8b88f06307feca77bac.
2013-03-24 19:56:43 +01:00
Sebastien Helleu
fad848bf7c doc: add note about constants in lua, fix lua example (scripting guide) 2013-03-24 18:10:21 +01:00
Sebastien Helleu
4fdbb83a07 ruby: fix crash with Ruby 2.0: use one array for the last 6 arguments of function config_new_option (bug #31050) 2013-03-22 19:54:44 +01:00
Sebastien Helleu
e1e3109da3 doc: add link to weechat.org/info in scripting guide (URL transfer) and plugin API reference (function hook_process) 2013-03-16 16:06:16 +01:00
Sebastien Helleu
9857b44e4e guile: fix arguments given to callbacks (separate arguments instead of one list with arguments inside), guile >= 2.0 is now required (bug #38350)
Unfortunately this breaks compatibility with existing guile scripts, but this
change is needed to keep consistency with other scripting languages.

Now guile >= 2.0 is required, WeeChat can not compile any more with guile 1.8.
2013-02-19 22:49:59 +01:00
Sebastien Helleu
54a2067422 doc: use boxes/arrows chars for diagram in differences with C API (scripting guide) 2013-01-26 11:42:02 +01:00
Sebastien Helleu
95bcc49063 doc: add example of callback in each language (scripting guide) 2013-01-26 08:22:04 +01:00
Sebastien Helleu
3d9886f82e doc: add command "/script" in scripting guide 2013-01-26 07:48:20 +01:00
Sebastien Helleu
c34ae99b9a doc: fix typos 2013-01-07 10:31:32 +01:00
Sebastien Helleu
125068f101 doc: replace iteritems() by items() in scripting guide (compatibility with Python 3.x) 2013-01-07 10:00:02 +01:00
Sebastien Helleu
a176d352e3 doc: remove "optional" for arguments of function register (scripting guide) 2012-11-05 22:04:49 +01: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
ae2c97b8cb doc: argument "shutdown_function" is optional in function register (scripting guide) 2012-03-29 11:33:52 +02: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
4ee60b9ef0 doc: add URL transfer in scripting guide 2012-01-19 13:56:48 +01:00
Sebastien Helleu
1ae6029b98 doc: add missing functions "hook_process_hashtable" and "hdata_hashtable" in scripting guide 2012-01-19 11:25:38 +01:00
Sebastien Helleu
bd3f554e02 api: add new function hdata_check_pointer 2011-12-17 17:03:39 +01:00
Sebastien Helleu
9b42328d55 guile: new script plugin for scheme (task #7289) 2011-10-26 19:25:51 +02:00
Sebastien Helleu
4853a530b6 irc: improve split of privmsg, add split of some other messages (bug #29879), add new info_hashtable "irc_message_split", split irc messages in relay plugin
List of new features/bugs fixed:
- improve split of privmsg: keep CTCP in split
- add split of messages: ison, join, notice, wallops, 005, 353
- add new info_hashtable "irc_message_split" (for plugins/scripts)
- in relay plugin: split irc messages sent to clients of irc proxy
2011-08-26 10:31:37 +02:00
Sebastien Helleu
44f2b7caf4 core: add functions "key_bind" and "key_unbind" in plugin API 2011-08-20 10:52:27 +02:00
Sebastien Helleu
a66ad95126 doc: replace ">=" and "<=" by UTF-8 chars in docs 2011-08-04 16:13:34 +02:00
Sebastien Helleu
6be3b3d064 doc: add missing API functions in scripting guide 2011-08-01 19:25:01 +02:00
Sebastien Helleu
4dcbb1014d Fix typos in scripting guide 2010-12-04 13:50:54 +01:00
Sebastien Helleu
32db2eac25 Add new functions in plugin API to get/set nicks/groups properties in nicklist
8 new functions added:
- nicklist_group_get_integer
- nicklist_group_get_string
- nicklist_group_get_pointer
- nicklist_group_set
- nicklist_nick_get_integer
- nicklist_nick_get_string
- nicklist_nick_get_pointer
- nicklist_nick_set
2010-10-29 18:40:25 +02:00
Sebastien Helleu
4e6c4ceb5f Add irc modifier and irc_parse_message in scripting guide 2010-10-25 13:09:11 +02:00
Sebastien Helleu
e867e96587 Add missing function "infolist_reset_item_cursor" in scripting guide 2010-10-20 13:11:24 +02:00
Sebastien Helleu
712623547f Add new functions in plugin API (hashtable_get_string, hook_info_hashtable, info_get_hashtable), add IRC info_hashtable "irc_parse_message"
Note: tcl >= 8.5 is now required (for tcl plugin).
2010-08-27 15:59:06 +02:00
Sebastien Helleu
7512ae4b1f Add example of printed message with tag "no_log" in scripting guide 2010-07-28 11:59:19 +02:00
Sebastien Helleu
6562d676fe Update licenses and copyrights, add missing author names in sources 2010-06-22 19:46:28 +02:00
Sebastien Helleu
9d96090d7d Add functions string_match, string_has_highlight and string_mask_to_regex in script plugin API 2010-03-20 13:32:08 +01:00
Sebastien Helleu
682f5addc0 Add chapter with common tasks in scripting guide 2010-03-07 22:23:44 +01:00
Sebastien Helleu
bfb9ab6a2a Add script prototypes and examples in plugin API reference 2009-10-09 15:46:29 +02:00
Sebastien Helleu
2bf4163617 Use new WeeChat site, weechat.org 2009-09-05 16:33:01 +02:00
Sebastien Helleu
8b45c9b8f0 Fix typos in docs 2009-06-28 20:47:13 +02:00
Sebastien Helleu
4a89b4ae59 Add french translation of Scripting Guide 2009-06-28 12:00:16 +02:00