1640 Commits

Author SHA1 Message Date
Sébastien Helleu
b05382e6f2 doc: enable section numbering in tester's guide (issue #722) 2016-05-14 09:42:57 +02:00
Sébastien Helleu
bc98d43c08 doc: fix styles in user's guide (issue #722) 2016-05-14 09:42:57 +02:00
Sébastien Helleu
c2c3ecb3f7 doc: fix style in tip about mouse events (user's guide) (issue #722) 2016-05-14 09:42:57 +02:00
Sébastien Helleu
4180ddff0f doc: use a table for input of IRC color codes in user's guide (issue #722) 2016-05-14 09:42:57 +02:00
Sébastien Helleu
f8f313569c doc: fix style of key bindings in user's guide (issue #722) 2016-05-14 09:42:57 +02:00
Sébastien Helleu
b11d1408aa doc: improve source of table with dependencies in user's guide 2016-05-14 09:42:57 +02:00
Sébastien Helleu
67250aa2bb doc: replace asciidoc by asciidoctor in user's guide (issue #722) 2016-05-14 09:42:57 +02:00
Sébastien Helleu
8cb857cedb doc: make list of functions/constants more readable in scripting guide 2016-05-14 09:42:57 +02:00
Sébastien Helleu
963ee4fe40 doc: enable section numbering in relay protocol (issue #722) 2016-05-14 09:42:57 +02:00
Sébastien Helleu
9a3da9a4a3 doc: enable section numbering in scripting guide (issue #722) 2016-05-14 09:42:57 +02:00
Sébastien Helleu
baebbb25a3 doc: fix styles in relay protocol (issue #722) 2016-05-14 09:42:57 +02:00
Sébastien Helleu
c5c7539406 doc: fix styles in scripting guide (issue #722) 2016-05-14 09:42:57 +02:00
Sébastien Helleu
048ad82672 doc: fix styles in tester guide (issue #722) 2016-05-14 09:42:57 +02:00
Sébastien Helleu
93b71769cd doc: fix styles in quickstart guide (issue #722) 2016-05-14 09:42:57 +02:00
Sébastien Helleu
171f9a9fc8 doc: fix styles in FAQ (issue #722) 2016-05-14 09:42:57 +02:00
Sébastien Helleu
8c1916c6c2 doc: fix styles in developer's guide (issue #722) 2016-05-14 09:42:57 +02:00
Sébastien Helleu
de24a7cb7b doc: fix styles in man page (issue #722) 2016-05-14 09:42:57 +02:00
Sébastien Helleu
220bd837ae doc: use asciidoctor instead of asciidoc (issue #722) 2016-05-14 09:42:57 +02:00
Sébastien Helleu
e94e4a92f4 doc: add arvg[2] in example of function string_split_command (plugin API reference) 2016-05-11 07:41:44 +02:00
Sébastien Helleu
5968460671 doc: add a question about security in FAQ 2016-05-03 21:42:24 +02:00
Sébastien Helleu
31864f562d doc: update Ruby and Lua versions in user's guide 2016-05-02 21:02:22 +02:00
Sébastien Helleu
881f258d3e doc: update auto-generated files with URL options 2016-05-01 08:46:46 +02:00
Sébastien Helleu
b0aa0d3602 doc: fix typo in plugin API reference 2016-04-28 07:32:01 +02:00
Sébastien Helleu
51c3e0b9ec api: add support of functions in hook_process 2016-04-23 13:59:20 +02:00
Sébastien Helleu
ca80d4fae7 doc: convert a note into asciidoc "[NOTE]" in tester's guide 2016-04-17 14:34:03 +02:00
Sébastien Helleu
906c6ebb61 doc: mask SASL mechanisms dh-blowfish and dh-aes as "insecure" 2016-04-14 07:30:49 +02:00
Sébastien Helleu
24c035ae9d doc: convert a note into asciidoc "[NOTE]" in user's guide 2016-04-11 07:40:57 +02:00
Sébastien Helleu
5b62903772 core: set default value "djb2" for option weechat.look.nick_color_hash 2016-04-06 07:29:50 +02:00
Sébastien Helleu
fabd48cc6c core: move nick coloring from irc plugin to core (closes #262)
Options moved from irc.conf to weechat.conf:

* "irc.look.nick_color_force" moved to "weechat.look.nick_color_force"
* "irc.look.nick_color_hash" moved to "weechat.look.nick_color_hash"
* "irc.look.nick_color_stop_chars" moved to
  "weechat.look.nick_color_stop_chars"

New info (for API function "info_get"):

* "nick_color" (replaces "irc_nick_color")
* "nick_color_name" (replaced "irc_nick_color_name")

Info "irc_nick_color" and "irc_nick_color_name" are now deprecated.

And a bug has been fixed in nick coloring: stop chars are removed before
looking at a forced color.
2016-04-05 07:56:43 +02:00
Sébastien Helleu
18bf12f452 doc: describe return code according to option type in config functions (plugin API reference) 2016-04-03 11:03:15 +02:00
Sébastien Helleu
1f08e7cb56 doc: add note about version 1.5 in config functions (plugin API reference) 2016-03-29 10:26:35 +02:00
Sébastien Helleu
b0c45b2127 doc: add callback pointer in doc of function bar_item_new (plugin API reference) 2016-03-28 14:24:22 +02:00
Sébastien Helleu
61ffaa88f0 doc: add note about version 1.5 in some functions (plugin API reference) 2016-03-28 14:09:19 +02:00
Sébastien Helleu
c1a9ab6731 doc: remove comments in example of function hook_command (plugin API reference) 2016-03-28 13:33:01 +02:00
Sébastien Helleu
c40137c48e doc: add missing callback_pointer in hook functions (plugin API reference) 2016-03-28 13:29:41 +02:00
Sébastien Helleu
0063d9314c doc: fix name of function in unhook_all prototype (plugin API reference) 2016-03-28 13:15:53 +02:00
Sébastien Helleu
bd0d8d5a1c doc: add missing pointer in examples (plugin API reference) 2016-03-28 13:13:28 +02:00
Sébastien Helleu
5210ff1ae9 doc: fix typos in config functions (plugin API reference) 2016-03-28 13:06:04 +02:00
Sébastien Helleu
75243a46a1 doc: add missing quotes in plugin API reference 2016-03-28 11:15:12 +02:00
Sébastien Helleu
4fa2edc865 doc: add callback pointer in doc of upgrade functions (plugin API reference) 2016-03-28 11:09:50 +02:00
Sébastien Helleu
8de6f212ca doc: add callback pointer in doc of function buffer_new (plugin API reference) 2016-03-27 11:25:56 +02:00
Sébastien Helleu
c5bb723298 doc: update doc of function exec_on_files (plugin API reference) 2016-03-27 11:08:04 +02:00
Sébastien Helleu
eae12192c9 doc: add callback pointer in doc of config functions (plugin API reference) 2016-03-26 09:51:32 +01:00
Sébastien Helleu
498662c777 doc: add pointer in hook callback examples (plugin API reference) 2016-03-25 14:18:51 +01:00
Sébastien Helleu
0b697629d5 doc: fix arguments in hook functions (plugin API reference) 2016-03-24 11:02:25 +01:00
Sébastien Helleu
17d20b9ca6 doc: add argument "subplugin" in function unhook_all (plugin API reference) 2016-03-24 09:25:04 +01:00
Sébastien Helleu
293f758a3a doc: add callback pointer in doc of hook functions (plugin API reference) 2016-03-23 13:51:15 +01:00
Sébastien Helleu
cf6aca1619 core: add pointer in some callbacks (closes #406)
This pointer is the first argument received by callbacks, and the
existing argument "data" is now automatically freed by WeeChat when the
object containing the callback is removed.

With this new pointer, the linked list of callbacks in scripts has been
removed. This will improve speed of scripts (using a lot of hooks),
reduce memory used by scripts and reduce time to unload scripts.

Following functions are affected in the C API:

* exec_on_files
* config_new
* config_new_section
* config_new_option
* hook_command
* hook_command_run
* hook_timer
* hook_fd
* hook_process
* hook_process_hashtable
* hook_connect
* hook_print
* hook_signal
* hook_hsignal
* hook_config
* hook_completion
* hook_modifier
* hook_info
* hook_info_hashtable
* hook_infolist
* hook_hdata
* hook_focus
* unhook_all_plugin
* buffer_new
* bar_item_new
* upgrade_new
* upgrade_read
2016-03-21 18:11:21 +01:00
Sébastien Helleu
fa5d6c17f5 doc: fix typos in plugin API reference 2016-03-14 20:11:59 +01:00
Sébastien Helleu
2da58ea2b7 exec: fix example in /help exec 2016-03-13 18:29:19 +01:00