149 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
e11d504d18 doc: update Japanese auto-generated files 2016-03-30 07:49:54 +02: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
f90e756a46 doc: update Japanese auto-generated files 2015-12-25 12:51:31 +01:00
Sébastien Helleu
c4e3d66ba5 core: add a parent name in options (closes #629)
Inherited values are now displayed in /set output when the value is
null, if a parent option name is defined in option.

New option: weechat.color.chat_value_null
2015-12-24 07:53:37 +01:00
Sébastien Helleu
b5ef916564 doc: update auto-generated files with hdata 2015-12-20 10:40:04 +01:00
Sébastien Helleu
e734914380 script: add completion with languages and extensions, support search by language/extension in /script search 2015-12-09 07:40:16 +01:00
Sébastien Helleu
9489443527 doc: update auto-generated files with hdata 2015-10-18 12:19:01 +02:00
Sébastien Helleu
bb90514624 doc: update Japanese auto-generated files 2015-09-13 07:51:52 +02:00
Sébastien Helleu
aa8b68363e doc: update Japanese auto-generated files 2015-08-22 15:37:47 +02:00
Sébastien Helleu
15218ed294 irc: add option irc.network.channel_encode (issue #218, issue #482)
This is a workaround (disabled by default) to join and chat on ISO
encoded channels (or another charset different from UTF-8).

This option may be removed in future if a better solution is
implemented.
2015-08-14 21:25:27 +02:00
Sébastien Helleu
be0212bd27 core: add completion "colors" (closes #481) 2015-08-11 22:26:44 +02:00
Sébastien Helleu
815a07658d doc: update auto-generated files with hdata 2015-08-08 09:13:25 +02:00
Sébastien Helleu
8107025c78 core: update translations 2015-07-26 19:55:24 +02:00
Sébastien Helleu
3fb322be8f doc: update Japanese auto-generated files 2015-07-13 21:34:19 +02:00
Sébastien Helleu
0ff8d7b543 irc: decode/encode only text in IRC messages and not the headers (bug #29886, closes #218, closes #451) 2015-06-27 17:00:53 +02:00
Sébastien Helleu
ad499d944e doc: add comment in auto-generated doc files to prevent any changes by hand 2015-03-11 20:15:23 +01:00
Sébastien Helleu
300d1ad44e doc: add Javascript plugin in docs 2015-03-07 16:52:30 +01:00
Sébastien Helleu
714df489cd doc: update auto-generated files with hdata 2015-01-25 18:12:27 +01:00
Sébastien Helleu
cf5501f69c core: add priority in plugins to initialize them in order
Current order is: charset, logger, exec, trigger, aspell, alias, fifo, xfer,
irc, relay, guile/lua/perl/python/ruby/tcl, script.
2015-01-15 07:40:38 +01:00
Sébastien Helleu
5f75dc26fd doc: update Japanese auto-generated files 2014-11-22 11:22:40 +01:00
Sébastien Helleu
229a6c6342 doc: update auto-generated files with URL options 2014-11-15 18:24:50 +01:00
Sébastien Helleu
6f5f6da0eb irc: add infolist "irc_color_weechat" 2014-11-11 11:17:50 +01:00
Sébastien Helleu
652b91c007 doc: update auto-generated files with hdata 2014-10-05 09:38:27 +02:00
Sébastien Helleu
22dd769c3f doc: update Japanese auto-generated files 2014-08-31 20:00:15 +02:00
Sébastien Helleu
2ae5660cc3 trigger: add option "restore" in command /trigger 2014-08-23 09:11:13 +02:00
Sébastien Helleu
a2cb702b66 core: add Curl options for versions 7.29.0 to 7.37.0 2014-07-14 17:25:08 +02:00
Sébastien Helleu
b168a43070 doc: update Japanese auto-generated files 2014-07-06 08:41:21 +02:00
Sébastien Helleu
1a1c50cc01 core: add option "env" in command /set 2014-06-27 07:54:53 +02:00
Sébastien Helleu
dc0229617a doc: use .asciidoc extension instead of .txt for doc files 2014-05-25 12:47:24 +02:00
Sébastien Helleu
ae76d76a96 doc: update auto-generated files with hdata 2014-05-25 08:49:33 +02:00
Sébastien Helleu
838d421e67 doc: update Japanese auto-generated files 2014-04-21 09:19:23 +02:00
Sébastien Helleu
1d7b44202a irc: fix description of arguments in infolist "irc_nick"
Only the nick is optional is this infolist (server and channel are required).
2014-04-17 23:31:50 +02:00
Sébastien Helleu
6f64ee699b doc: update German and Japanese auto-generated files 2014-04-17 07:54:25 +02:00
Sébastien Helleu
34723d2acc api: allow wildcard "*" inside the mask in function string_match 2014-04-12 23:07:06 +02:00
Sébastien Helleu
c7ce05d5ec core: add hidden buffers, add options hide/unhide in command /buffer 2014-04-05 16:30:13 +02:00
Sébastien Helleu
2beefdfc2a doc: update Japanese auto-generated files 2014-04-05 16:15:43 +02:00
Sébastien Helleu
a03232e155 core: add default key alt-'-' to toggle filters in current buffer (closes #17) 2014-04-01 16:00:44 +02:00
Sébastien Helleu
3b32d62fa6 trigger: add filter in trigger monitor buffer
The filter can be set with /trigger monitor <filter> or by entering data
in the trigger monitor input.
2014-04-01 14:26:02 +02:00
Sébastien Helleu
0e561104fa core: add non-active merged buffers with activity in hotlist (if another merged buffer is zoomed) (task #12845)
There was a bug with "num_displayed" in buffers when they are merged and
that one buffer is zoomed: now the num_displayed is > 0 for the active buffer,
and it is set to 0 for all merged non-active buffers (only in case of zoom).

A variable "zoomed" has been added in buffers to know if a buffer with this
number is zoomed or not (possibly another buffer).
2014-03-31 10:31:56 +02:00
Sébastien Helleu
474541b857 irc: add support of "away-notify" capability (closes #12) 2014-03-30 16:16:13 +02:00
Sebastien Helleu
09aff01c71 doc: update auto-generated files with hdata 2014-03-27 21:28:36 +01:00
Sebastien Helleu
dac4d3a06a doc: update Japanese auto-generated files 2014-03-19 10:05:27 +01:00
Sebastien Helleu
fff24d0a23 core: update translations 2014-03-15 15:08:49 +01:00
Sebastien Helleu
2d7778292a relay: add info "relay_client_count" with optional status name as argument
Use in evaluated strings (for example in /eval or triggers):
- "${info:relay_client_count}": total number of relay clients (any status)

With a specific status:
- "${info:relay_client_count,connecting}"
- "${info:relay_client_count,waiting_auth}"
- "${info:relay_client_count,connected}"
- "${info:relay_client_count,auth_failed}"
- "${info:relay_client_count,disconnected}"
2014-03-05 11:49:25 +01:00
Sebastien Helleu
3c398bd61d rmodifier: remove plugin (replaced by trigger) 2014-03-04 12:08:33 +01:00
Sebastien Helleu
3847318497 core: update translations 2014-02-21 16:32:34 +01:00
Sebastien Helleu
f057e86390 doc: update auto-generated files with hdata 2014-02-13 10:05:17 +01:00
Ryuunosuke Ayanokouzi
1eedace713 doc: update Japanese translations, user/developer's guide and plugin API reference 2014-02-08 15:15:18 +01:00
Sebastien Helleu
3acdcee0d9 irc: use MONITOR instead of ISON for /notify when it is available on server (task #11477) (patch from Nils Görs) 2014-01-23 11:31:57 +01:00