2366 Commits

Author SHA1 Message Date
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
e80ff72b97 doc: add missing spaces in French plugin API reference 2016-04-04 18:11:54 +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
ece614504f doc: fix typos in French plugin API reference 2016-04-02 10:38:04 +02:00
Sébastien Helleu
e11d504d18 doc: update Japanese auto-generated files 2016-03-30 07:49:54 +02:00
AYANOKOUZI, Ryuunosuke
24e48c747d core: update Japanese translations 2016-03-29 09:00:00 +09: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
6d764b64c5 doc: update Japanese auto-generated files 2016-03-18 23:48:48 +01:00
AYANOKOUZI, Ryuunosuke
243f4a166d core: update Japanese translations 2016-03-19 09:00:00 +09:00
Sébastien Helleu
4bed85ec9e doc: update German auto-generated files 2016-03-15 07:35:52 +01:00
Nils Görs
e3b18b9961 core: update German translations 2016-03-14 21:06:39 +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
Sébastien Helleu
f51b4219eb doc: remove unneeded parentheses in quickstart guide 2016-03-10 21:52:14 +01:00
Sébastien Helleu
0be8e0828a logger: add note on buffer local variables to use in /help logger.file.mask 2016-03-09 18:45:07 +01:00
Sébastien Helleu
3cdecb08a2 doc: add command /disconnect in quickstart guide 2016-03-08 07:53:31 +01:00
Sébastien Helleu
376c3fc6eb doc: update Japanese auto-generated files 2016-03-07 22:05:04 +01:00
AYANOKOUZI, Ryuunosuke
da8cf92776 core: update Japanese translations 2016-03-07 09:00:00 +09:00
Sébastien Helleu
a4d1dfa8f4 relay: do not execute any command received from an irc relay client (closes #699) 2016-03-05 10:59:37 +01:00
Sébastien Helleu
28737c9de1 doc: fix typo in quickstart guide 2016-03-04 20:03:45 +01:00
Sébastien Helleu
8ffb4ab6a2 doc: update German auto-generated files 2016-02-27 08:19:22 +01:00
Sébastien Helleu
5936272b4c irc: complete help of SASL fail options 2016-02-25 07:35:12 +01:00
Sébastien Helleu
81ee0f43bb core: update translations 2016-02-24 07:52:52 +01:00
Sébastien Helleu
87d42c35c5 doc: update Japanese auto-generated files 2016-02-20 12:01:26 +01:00
AYANOKOUZI, Ryuunosuke
7169884edc core: update Japanese translations 2016-02-20 09:00:00 +09:00
Sébastien Helleu
548ee73423 doc: update German auto-generated files 2016-02-19 18:14:47 +01:00
Nils Görs
14dbc6212b core: update German translations 2016-02-19 18:00:36 +01:00
Sébastien Helleu
c2aed4dd78 doc: translate instructions for CA file on Mac OS X in other languages (FAQ) 2016-02-17 15:10:53 +01:00
Artiom Di
0b79510b75 doc: fix instructions about getting correct CA file on Mac OS X (FAQ) 2016-02-17 15:10:47 +01:00
Sébastien Helleu
5554e40210 doc: update Polish auto-generated files 2016-02-16 19:39:38 +01:00
Krzysztof Korościk
3e7b1fa86c doc: update polish quickstart guide 2016-02-16 18:03:04 +01:00
Sébastien Helleu
0e6a6a0334 core: move irc bar item "away" and two options to core (closes #692)
Options moved:

* "irc.look.item_away_message" --> "weechat.look.item_away_message"
* "irc.color.item_away" --> "weechat.color.item_away".
2016-02-15 13:36:16 +01:00
Sébastien Helleu
68e72f2693 doc: update German and Japanese auto-generated files 2016-02-13 09:30:00 +01:00