Sebastien Helleu
846dde00aa
core: fix crash with hdata_update on shared strings, add hdata type "shared_string" (bug #41104 )
2014-01-05 14:37:27 +01:00
Sebastien Helleu
892aa79fb5
core: update copyright dates
2014-01-01 00:14:12 +01:00
Sebastien Helleu
929a7906c4
relay: use syntax \xNN instead of \NN for control chars in raw buffer
2013-12-22 18:31:53 +01:00
Sebastien Helleu
e8ed81ec22
relay: load plugin even if options can not be read in relay.conf (with warnings)
2013-11-09 10:25:16 +01:00
Sebastien Helleu
b5f6874f2c
core: move the "-no-undefined" from LDFLAGS in configure.ac to Makefile.am in plugins
...
This "-no-undefined" was causing an error when detecting "ld" lib on Cygwin.
2013-10-05 20:17:18 +02:00
Sebastien Helleu
a6c188ce4f
relay: fix decoding of websocket frames when there are multiple frames in a single message received (only the first one was decoded)
2013-10-05 16:49:39 +02:00
Sebastien Helleu
e900579fba
relay: add support of secured data in option relay.network.password (evaluate content) (patch from Nils Görs)
2013-09-19 15:11:51 +02:00
Sebastien Helleu
94b9104d14
core: replace obsolete INCLUDES by AM_CPPFLAGS in files Makefile.am
2013-07-20 09:07:05 +02:00
Sebastien Helleu
fa9f787e14
core: sort config options by name in sources
2013-07-11 22:31:33 +02:00
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