Sébastien Helleu
ad45fd775d
Merge remote-tracking branch 'origin/pr/351'
2015-12-20 10:13:29 +01:00
Sébastien Helleu
bd850398e8
core: add missing comments before functions when the result must be freed after use
2015-07-04 08:24:53 +02:00
Max Teufel
e00d7f2bfd
irc: track realnames using extended-join and WHO
2015-03-07 15:46:02 +01:00
Sébastien Helleu
0f1e997090
irc: add "account" in irc_nick_print_log()
2015-01-25 15:25:41 +01:00
Sébastien Helleu
3c885fa80f
irc: add "account" in irc_nick hdata
2015-01-25 15:24:52 +01:00
Sébastien Helleu
fad11a6b93
irc: remove useless save of variables in irc_nick_new() when updating nick
2015-01-25 15:23:39 +01:00
Sébastien Helleu
62256251be
irc: change type of "account" parameter to "const char *" in irc_nick_new()
2015-01-25 15:16:55 +01:00
Max Teufel
f379adffd0
irc: add support for CAP account-notify
2015-01-24 14:09:54 +01:00
Sébastien Helleu
a020c28ea6
core: update copyright dates
2015-01-01 09:23:23 +01:00
Sébastien Helleu
de067ff6a0
irc: reformat some code to make it more readable
2014-11-01 17:59:02 +01:00
Sébastien Helleu
b1caceb6e5
irc: add argument "server_message" in function irc_nick_color_for_msg
2014-11-01 11:40:21 +01:00
Sébastien Helleu
e226c2e147
irc: free nick immediately in case of malloc error
2014-08-10 15:50:18 +02:00
Sébastien Helleu
e791c24a2e
irc: allow "$ident" in option irc.network.ban_mask_default ( closes #18 )
2014-03-30 18:58:11 +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
02868b4dc0
core: optimize xxx_valid() functions: return immediately if pointer is NULL
2014-01-09 19:28:51 +01:00
Sebastien Helleu
892aa79fb5
core: update copyright dates
2014-01-01 00:14:12 +01:00
Sebastien Helleu
0b27dd58b3
irc: don't return a default ban mask if option is not set or if host is not found
2013-12-08 08:31:44 +01:00
Sebastien Helleu
c832116cae
irc: rename option irc.look.ban_mask_default to irc.network.ban_mask_default
2013-12-07 22:38:58 +01:00
Sebastien Helleu
1aeeecb82d
irc: add option irc.look.ban_mask_default (bug #26571 )
2013-12-07 22:02:05 +01:00
Sebastien Helleu
5ce1a3e867
irc: fix groups in channel nicklist when reconnecting to a server that supports more nick prefixes than the previously connected server
2013-11-07 20:52:47 +01:00
Sebastien Helleu
dfcc7baa40
irc: fix self nick color in server messages after nick is changed with /nick (bug #39415 )
2013-07-19 10:18:20 +02:00
Sebastien Helleu
27a427c708
irc: fix uninitialized variable "color" when hashing nickname to find color
2013-06-29 12:39:42 +02:00
Sebastien Helleu
4654568413
irc: add option irc.look.nick_color_hash: hash algorithm to find nick color (patch #8062 )
2013-06-02 23:00:26 +02:00
Sebastien Helleu
16cc0b6088
core: make nick prefix/suffix dynamic (move options from irc plugin to core, add logger options) (bug #37531 )
2013-04-29 18:30:59 +02:00
Sebastien Helleu
bfd8c6918c
irc: add support of UHNAMES (capability "userhost-in-names") (task #9353 )
2013-04-23 21:23:07 +02:00
Sebastien Helleu
19acf8121f
irc: fix prefix color for nick when the prefix is not in irc.color.nick_prefixes: use default color (key "*")
...
Problem was happening on a server which has "PREFIX=(Yqaohv)!~&@%+".
Users with prefix "!" were displayed as lightred (color for "~") instead of
lightblue (default key "*").
When a prefix was not found, WeeChat was looping on other prefixes (in
order). Now if color is not found, WeeChat uses immediately the fallback color.
2013-03-21 20:16:49 +01:00
Sebastien Helleu
149c77decd
core: fix typos in many comments and some strings
2013-03-17 12:55:20 +01:00
Sebastien Helleu
05390016c0
irc: add color in output of /names when result is on server buffer (channel not joined) (bug #38070 )
2013-01-25 19:05:23 +01:00
Sebastien Helleu
f97598b4aa
core: update copyright dates
2013-01-01 13:12:49 +01:00
Sebastien Helleu
7eb5cc4b97
core: move comments with description of C file to top of files
2012-12-15 12:27:57 +01:00
Sebastien Helleu
7d34812f1c
core: reformat comments for functions
2012-12-13 18:51:44 +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
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
a4e15e8ef4
irc: move options weechat.look.nickmode{_empty} to irc.look.nick_mode{_empty}, add nick mode for action messages (patch from Nils Görs)
...
The option irc.look.nick_mode has a new type: integer with values:
none/prefix/action/both (default is "prefix", which is old behaviour).
2012-08-20 18:25:23 +02:00
Sebastien Helleu
eab0110732
core: add support of arrays in hdata variables
2012-07-20 18:12:07 +02:00
Sebastien Helleu
1c1ef05451
irc: use computed nick color in many messages instead of option weechat.color.chat_nick
2012-03-12 19:26:26 +01:00
Sebastien Helleu
fe3bdb5f52
irc: compute hash to find nick color for nick in server message when nick is not in nicklist
2012-03-06 18:03:03 +01:00
Sebastien Helleu
f3dc2e7ef9
irc: add search for lower case nicks in option irc.look.nick_color_force
2012-02-26 18:18:37 +01:00
Sebastien Helleu
47e4a03be6
core: update copyright dates
2012-01-08 18:59:50 +01:00
Sebastien Helleu
5ee0e798b1
irc: do not use option irc.look.nick_color_stop_chars for forced nick colors (bug #33480 )
2011-12-27 18:20:52 +01:00
Sebastien Helleu
e3b7c8fdb7
irc: add case insensitive string comparison based on casemapping of server (rfc1459, strict-rfc1459, ascii) (bug #34239 )
2011-11-12 10:56:52 +01:00
Sebastien Helleu
dfdf42e27b
core: remove unneeded whitespace
2011-10-26 20:37:03 +02:00
Sebastien Helleu
25e1e6e23d
core: add colors for inactive windows and lines (in merged buffers)
...
New boolean options to control use of inactive colors:
- weechat.look.color_inactive_message
- weechat.look.color_inactive_prefix
- weechat.look.color_inactive_prefix_buffer
- weechat.look.color_inactive_time
New "inactive" color options:
- weechat.color.chat_inactive_line
- weechat.color.chat_inactive_window
- weechat.color.chat_prefix_buffer_inactive_line
2011-09-22 11:09:16 +02:00
Sebastien Helleu
8fd1d48723
irc: use color "default" for any invalid color in option weechat.color.chat_nick_colors
2011-08-21 13:55:06 +02:00
Sebastien Helleu
19bc95b961
core: many improvements on hdata
...
New features:
- add optional hdata name for variables in hdata
- add plugin API functions: hdata_get_var_hdata
- use hashtable to store hdata (created by WeeChat and plugins)
- free hdata and infolists created by plugin on plugin unload
- free all hdata on exit
- add "free" option to command /debug hdata
- remove hdata for hooks
2011-06-26 18:15:42 +02:00
Sebastien Helleu
c8b2a6a084
core: add "hdata" (direct access to WeeChat/plugin data)
2011-06-13 12:32:27 +02:00
Sebastien Helleu
85c5653713
irc: use nick color for users outside the channel
2011-04-11 15:52:31 +02:00
Sebastien Helleu
ceaad9a20d
irc: return empty color name for nick prefix when no mode is set (instead of "chat")
2011-03-23 18:55:24 +01:00
Sebastien Helleu
80312dd56a
irc: replace options irc.color.nick_prefix_{op|halfop|voice|user} by a single option irc.color.nick_prefixes (task #10888 )
2011-03-23 18:29:24 +01:00
Sebastien Helleu
be9b4e5910
Refresh nicks colors in nicklist when changing option weechat.color.chat_nick_colors
2011-02-24 12:15:05 +01:00