Sebastien Helleu
dd41e5776f
relay: add command "ping" in weechat protocol (task #12689 )
2013-06-09 20:43:24 +02:00
Mantas Mikulėnas
1e49718398
relay: fix binding to an IP address (bug #39119 )
2013-05-30 08:03:21 +02:00
Sebastien Helleu
e459939ead
relay: fix uncontrolled format string in redirection of irc commands
2013-05-18 22:42:16 +02:00
Sebastien Helleu
86a8b9fb5f
relay: remove temporary option "nicklistdiff" (in command init), send nicklist diff by default (weechat protocol)
...
The temporary option was introduced because the nicklist diff was experimental.
It is now enabled by default, and there is no way to disable it. Therefore any
relay client using weechat protocol must implement the message "_nicklist_diff"
(unless nicklist is ignored by client).
Extra note: a full nicklist may still be sent if a message with diff would be
bigger than whole nicklist. So both full nicklist (message "_nicklist") and
nicklist diff (message "_nicklist_diff") must be implemented by clients.
2013-05-01 21:01:12 +02:00
Sebastien Helleu
2a4e9aef8a
relay: fix typo in error displayed by command /relay del
2013-04-21 21:57:21 +02:00
Sebastien Helleu
a9ff529d83
relay: rename compression "gzip" to "zlib" (compression is zlib, not gzip) (thanks to Dominik Honnef)
2013-03-17 16:14:20 +01:00
Sebastien Helleu
149c77decd
core: fix typos in many comments and some strings
2013-03-17 12:55:20 +01:00
Sebastien Helleu
d74041de25
relay: add missing "id" in raw messages sent to clients when compression is off (weechat protocol)
2013-03-13 12:12:48 +01:00
Sebastien Helleu
7672139d6b
relay: add negative numbers (integer: -123456 and long: -1234567890L) in command "test" (weechat protocol)
2013-03-13 11:50:32 +01:00
Sebastien Helleu
d2ff46fa69
relay: add message "_nicklist_diff" (differences between old and current nicklist)
...
This is an experimental feature, that must be explicitely enabled by clients
(for weechat protocol) in the init command with option "nicklistdiff", for example:
init password=mypasswd,nicklistdiff=1
This option will be removed when clients will handle nicklist diff.
2013-03-09 09:04:49 +01:00
Sebastien Helleu
c17d3e155c
relay: add support of multiple servers on same port for irc protocol (the client must send the server in the "PASS" command)
2013-02-23 08:33:38 +01:00
Sebastien Helleu
f7811b0ae2
relay: fix crash when decoding a websocket frame
2013-02-12 14:14:40 +01:00
Sebastien Helleu
8d5dee9aa0
relay: add gcrypt include and link arguments to compile relay plugin
2013-02-12 12:51:26 +01:00
Sebastien Helleu
c2aeb69c46
relay: add experimental websocket server support (RFC 6455) for irc and weechat protocols, new option relay.network.websocket_allowed_origins
...
It is a partial implementation of RFC 6455: fragmentation and control frames are
not yet supported.
Text and binary frames are supported.
2013-02-10 20:22:13 +01:00
Sebastien Helleu
e4149b073d
relay: add options "buffers" and "upgrade" for commands sync/desync in weechat protocol
2013-02-07 22:08:31 +01:00
Sebastien Helleu
7a1f9a1d7f
relay: fix commands sync/desync in weechat protocol (bug #38215 )
...
Fix:
- use proper arguments in commands sync/desync (use argv[0] instead of argv[1])
- when searching if a buffer is synchronized, its name has higher priority on "*"
(so first check if buffer is synchronized, and if not found, search if "*" is
synchronized)
- when receiving a "nicklist_*" signal, check if the buffer is synchronized with
flag "RELAY_WEECHAT_PROTOCOL_SYNC_NICKLIST"
2013-02-03 09:51:15 +01:00
Sebastien Helleu
afe729435a
relay: fix typo in comment
2013-02-03 08:38:41 +01:00
Sebastien Helleu
ac94f68b59
relay: add return of a NULL pointer in command "test"
2013-02-01 09:58:30 +01:00
Sebastien Helleu
08f360692d
relay: add comments with example of messages in weechat protocol
2013-02-01 08:53:37 +01:00
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