Sebastien Helleu
25eaec3864
core: use size of 32 for hashtables (instead of 4, 8 or 16)
...
A size of 32 will use a little more memory but will reduce collisions in key
hashs, and then length of linked lists inside hash structure (faster search in
hashtable).
2013-01-26 19:26:43 +01:00
Sebastien Helleu
27b539affe
core: display error number and string in some network errors
...
Error number and string is now displayed when an error is returned by one of
these functions: socket, setsockopt, fcntl, pipe, accept, bind, listen, mkfifo.
2013-01-24 08:55:04 +01:00
Sebastien Helleu
57024ab1e4
relay: fix duplicated messages sent to irc clients (when messages are redirected) (bug #37870 )
2013-01-11 10:30:44 +01:00
Sebastien Helleu
ca205ccb8c
relay: fix typo in comment
2013-01-11 10:28:28 +01:00
Sebastien Helleu
f1580f5276
relay: add debug message for signal "irc_disconnected"
2013-01-11 10:27:26 +01:00
Sebastien Helleu
3c782bd905
relay: fix name of signal in debug message (replace "irc_out" by "irc_outtags")
2013-01-11 09:28:58 +01:00
Sebastien Helleu
7d1ad59dde
relay: add message when address family is not supported by protocol (on socket creation)
2013-01-08 08:14:07 +01:00
Sebastien Helleu
1a646d5dbf
relay: add error number and string when socket creation fails
2013-01-07 21:34:05 +01:00
Sebastien Helleu
4ebd300340
relay: send UTC time in irc backlog (when server capability "server-time" is enabled)
2013-01-01 15:13:05 +01:00
Sebastien Helleu
f97598b4aa
core: update copyright dates
2013-01-01 13:12:49 +01:00
Sebastien Helleu
306b209421
relay: fix memory leak when adding hdata to a message (weechat protocol)
2012-12-25 16:59:46 +01:00
Sebastien Helleu
cf76379aa9
relay: add backlog, options and server capability "server-time" for irc protocol (task #12076 )
...
New options:
- relay.irc.backlog_max_minutes
- relay.irc.backlog_max_number
- relay.irc.backlog_since_last_disconnect
- relay.irc.backlog_tags
- relay.irc.backlog_time_format
2012-12-24 17:31:33 +01:00
Sebastien Helleu
33f01dcb63
relay: fix crash after /upgrade when a client is connected
2012-12-23 10:51:54 +01:00
Nils Görs
0c15deefc0
relay: add tag "relay_client" in all messages about client
2012-12-21 22:34:12 +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
eba2211427
relay: fix crash when receiving a new client on a socket
2012-10-19 19:28:26 +02:00
stfn
c2b26972da
core: fix gnutls warnings
2012-10-18 22:36:52 +02:00
Sebastien Helleu
ed506558e8
core: add option "-quit" for command /upgrade (save session and quit without restarting WeeChat, for delayed restoration)
2012-10-18 20:59:56 +02:00
Sebastien Helleu
82a8acf9ce
relay: add support of IPv6, new option relay.network.ipv6, add support of "ipv4." and/or "ipv6." before protocol name, to force IPv4/IPv6 (task #12270 )
2012-10-16 19:14:26 +02:00
Sebastien Helleu
33d90d75c3
relay: add missing "ssl." in output of /relay listrelay
2012-10-05 15:21:32 +02:00
Sebastien Helleu
b3c4f3d7d2
relay: add tag "relay_client" for messages of new/disconnected client
2012-09-26 16:47:52 +02:00
Sebastien Helleu
d5c4f05497
relay: add cast from time_t to long (fix warning under FreeBSD)
2012-08-17 11:05:38 +02:00
Sebastien Helleu
a99d136018
core: add new plugin "script" (scripts manager, replacing scripts weeget.py and script.pl)
2012-08-14 18:29:32 +02:00
Sebastien Helleu
e41595833a
core: update description of plugins and translate them in output of /plugin
2012-08-02 09:21:47 +02:00
Sebastien Helleu
83dc57f56e
relay: add missing gnutls lib for link
2012-08-01 17:35:44 +02:00
Sebastien Helleu
3f973f8cbc
relay: set Diffie-Hellman parameters on first SSL connection from a client (makes relay plugin load faster), reuse function gnutls_sec_param_to_pk_bits
2012-07-30 09:28:27 +02:00
Sebastien Helleu
cdba3da0b7
relay: fix compilation with old gnutls (< 2.12.0): remove call to gnutls_sec_param_to_pk_bits
2012-07-27 23:06:09 +02:00
Sebastien Helleu
ddf7be769a
relay: remove compiler warnings when gnutls is not enabled/found
2012-07-27 18:19:33 +02:00
Sebastien Helleu
782e01f177
relay: add support of SSL (for irc and weechat protocols), new option relay.network.ssl_cert_key (task #12044 )
2012-07-27 17:54:08 +02:00
Sebastien Helleu
51c1168ff3
relay: add "tags_array" in data sent for message id "_buffer_line_added" (WeeChat protocol)
2012-07-23 12:02:43 +02:00
Sebastien Helleu
bd7332455d
relay: add object type "arr" (array) in WeeChat protocol
2012-07-20 18:18:37 +02:00
Sebastien Helleu
cb0bfad148
relay: remove unneeded headers included in relay-upgrade.c
2012-07-17 18:12:09 +02:00
Sebastien Helleu
99c1065bcf
relay: move creation of client from relay-upgrade.c to relay-client.c
2012-07-17 09:56:03 +02:00
Sebastien Helleu
380ce5d45d
relay: fix outqueue pointers in client after upgrade
2012-07-16 21:59:39 +02:00
Sebastien Helleu
5dfcf614b5
relay: fix NULL pointer on upgrade in client->protocol_args (for WeeChat protocol)
2012-07-16 21:39:43 +02:00
Sebastien Helleu
d247d773db
relay: fix freeze when writing on relay socket (use non-blocking sockets in relay for irc and weechat protocols) (bug #36655 )
2012-07-14 22:41:52 +02:00
Sebastien Helleu
a5f68bed01
relay: keep spaces in beginning of "input" received from client (WeeChat protocol)
2012-05-17 22:38:27 +02:00
Sebastien Helleu
a62b243af5
relay: add signals "upgrade" and "upgrade_ended" in WeeChat protocol
2012-05-17 11:24:59 +02:00
Sebastien Helleu
04275a7354
relay: fix crash on /upgrade when client is connected using WeeChat protocol
2012-05-17 09:37:04 +02:00
Sebastien Helleu
d87eacccc9
relay: redirect some irc messages from clients to hide output (bug #33516 )
...
Messages redirected by relay plugin: mode, ison, list, names, topic, who,
whois, whowas, time, userhost.
2012-03-18 08:58:19 +01:00
Sebastien Helleu
d495c41919
relay: add "date_printed" and "highlight" in signal "_buffer_line_added" (WeeChat protocol)
2012-03-06 12:05:33 +01:00
Sebastien Helleu
0f7150db19
relay: use protocol arguments for protocol "irc" only (arguments forbidden for protocol "weechat")
2012-01-23 12:21:29 +01:00
Sebastien Helleu
498f2131a7
relay: add protocol "weechat" in /help relay
2012-01-23 11:38:07 +01:00
Sebastien Helleu
f6b26e5604
relay: do not create relay if there is a problem with socket creation (bug #35345 )
2012-01-23 11:32:50 +01:00
Sebastien Helleu
5f6df8021b
core: add support of flags in regular expressions and highlight options, add irc options to customize/disable default nick highlight (task #11128 )
...
New functions in C plugin API:
- string_regex_flags
- string_regcomp
New irc options:
- irc.look.highlight_server
- irc.look.highlight_channel
- irc.look.highlight_pv
Regex flags are supported in following options/commands:
- option weechat.look.highlight
- option weechat.look.highlight_regex
- options irc.look.highlight_{server|channel|pv}
- option relay.network.allowed_ips
- core command /filter
- irc command /list
- irc command /ignore
- rmodifier command /rmodifier
2012-01-22 13:48:42 +01:00
Sebastien Helleu
a7153028b7
relay: fix compilation error when zlib is not found
2012-01-12 09:13:29 +01:00
Sebastien Helleu
47e4a03be6
core: update copyright dates
2012-01-08 18:59:50 +01:00
Sebastien Helleu
583f4d5151
relay: add signal "buffer_type_changed" in weechat protocol
2011-12-25 12:21:46 +01:00
Sebastien Helleu
d4c72d5c83
relay: add signal "buffer_unmerged" in weechat protocol
2011-12-25 11:44:45 +01:00