1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-27 21:36:37 +02:00
Commit Graph

71 Commits

Author SHA1 Message Date
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
Sebastien Helleu afa5e48a1a relay: fix crash when not enough arguments are received in a command of weechat protocol 2011-12-23 19:02:52 +01:00
Sebastien Helleu 443b8fc033 relay: add type "hashtable" in relay protocol and hdata, add signals "buffer_localvar_xxx" in protocol 2011-12-20 10:51:01 +01:00
Sebastien Helleu 9bab39057b relay: update relay buffer when bytes are sent to clients (irc and weechat protocols) 2011-12-17 22:38:34 +01:00
Sebastien Helleu 16ae7e2663 relay: add commands "sync" and "desync" in WeeChat protocol 2011-12-17 17:39:19 +01:00
Sebastien Helleu 0ba05cc008 relay: fix constant overflow (on 32-bit systems) in "test" command of weechat protocol 2011-12-07 11:29:12 +01:00
Sebastien Helleu 013f8cc757 relay: add WeeChat protocol (for remote GUI), doc about protocol, new options
The protocol is partial, under development, and NOT ready for usage.

New options added in relay.conf:
- relay.network.allowed_ips: allow only some IPs on relay plugin (by default
  all IPs are allowed)
- relay.network.compression_level: compression level used in WeeChat protocol
  (compression is made using zlib)
2011-12-06 23:06:23 +01:00
Sebastien Helleu 41b5ef1e4c core: check pointer returned by function localtime 2011-11-27 11:48:35 +01:00
Sebastien Helleu e8b3eb7ad1 relay: ignore newline chars in commands received, rename command "pass" to "password" 2011-11-21 12:56:31 +01:00
Sebastien Helleu 36343a5338 relay: add password support and command "info" in WeeChat protocol 2011-11-18 17:14:09 +01:00
Sebastien Helleu dfdf42e27b core: remove unneeded whitespace 2011-10-26 20:37:03 +02:00
Sebastien Helleu f843f904bc core: fix bugs with calls to realloc 2011-08-28 15:25:30 +02:00
Sebastien Helleu 4853a530b6 irc: improve split of privmsg, add split of some other messages (bug #29879), add new info_hashtable "irc_message_split", split irc messages in relay plugin
List of new features/bugs fixed:
- improve split of privmsg: keep CTCP in split
- add split of messages: ison, join, notice, wallops, 005, 353
- add new info_hashtable "irc_message_split" (for plugins/scripts)
- in relay plugin: split irc messages sent to clients of irc proxy
2011-08-26 10:31:37 +02:00
Sebastien Helleu ebf72c7eda core: use dynamic buffer size for calls to vsnprintf 2011-08-26 09:55:55 +02:00
Sebastien Helleu aa948c76a3 core: remove some compilation warnings under Cygwin 2011-08-18 11:09:46 +02:00
Sebastien Helleu 5073cd3476 core: add buffer property "short_name_is_set", return name if short name is not set (in buffer infolist or property) 2011-08-14 16:04:12 +02:00
Sebastien Helleu 15d78a45a8 relay: set short name for relay raw buffer only if it was not set by another plugin/script 2011-08-14 13:26:26 +02:00
Sebastien Helleu cd5b216e0f relay: fix bug with self nick when someone changes its nick on channel (bug #33739) 2011-07-10 09:00:33 +02:00
Sebastien Helleu 49f7b5d701 relay, xfer: display possible actions in buffer even if list is empty 2011-06-15 14:50:23 +02:00
Sebastien Helleu 478c6f73a4 irc, relay: check that prefix and message are not NULL before adding a message to raw buffer 2011-06-14 14:34:45 +02:00
Sebastien Helleu 92b88e6599 relay: fix memory leak on plugin load (free raw messages) 2011-05-26 16:34:54 +02:00
Sebastien Helleu d99fe2babd relay: fix memory leak (free some parsed messages) (bug #33387) 2011-05-26 16:33:52 +02:00
Sebastien Helleu 4130ea6e77 relay: fix crash on /upgrade when nick in irc client is not yet set 2011-04-25 11:19:47 +02:00
Sebastien Helleu 55aa584a2b plugins: fix memory leaks when setting buffer callbacks after /upgrade (plugins: irc, relay, xfer, scripts) 2011-04-15 10:40:23 +02:00
Sebastien Helleu 39bb5d8ee9 relay: allow colon in server password received from client 2011-03-05 16:47:58 +01:00
Sebastien Helleu bf2f7d33ef relay: do not send join for private buffers to client 2011-03-01 17:44:15 +01:00
Sebastien Helleu 7d433b798f Improve arguments displayed in /help of commands, display all commands with same name (for same command name in many plugins) 2011-02-04 22:12:19 +01:00
Sebastien Helleu d24f6e9e17 Update copyright dates 2011-01-01 18:06:29 +01:00
Sebastien Helleu 9a98175510 Add example for irc proxy in /help relay 2010-12-06 08:35:13 +01:00
Sebastien Helleu f27f5a6cb0 Fix upgrade of relay clients in state "disconnected" (do not create any hook after /upgrade) 2010-11-12 10:19:41 +01:00
Sebastien Helleu ebf94445b9 Use const void * for keys and values in some hashtable functions 2010-10-17 10:39:51 +02:00
Sebastien Helleu 000a222378 Remove unneeded spaces 2010-10-11 16:34:01 +02:00
Sebastien Helleu 051788f731 Send channel topic to relay client when joining a channel 2010-09-20 22:49:11 +02:00
Sebastien Helleu 944a38ffbd Fix order of relay clients after /upgrade 2010-09-18 21:57:29 +02:00
Sebastien Helleu d5db1ac743 Remove unused variable 2010-09-18 21:45:31 +02:00
Sebastien Helleu 0100856251 Add support of /upgrade in Relay plugin 2010-09-18 21:44:26 +02:00
Sebastien Helleu 5b04d4123c Close relay server sockets on /upgrade 2010-09-18 09:36:50 +02:00
Sebastien Helleu 43cc44abca Fix problem when removing relay server (socket was closed, but option relay.port.xxx not removed) 2010-09-18 09:25:59 +02:00
Sebastien Helleu a20ae821da Add new option relay.network.bind_address 2010-09-17 20:16:08 +02:00
Sebastien Helleu 914e3bcc9e Add new option relay.network.password 2010-09-17 16:44:35 +02:00
Sebastien Helleu 8b26f3c953 Add optional plugin name for command /debug dump and signal "debug_dump" 2010-09-17 16:12:41 +02:00
Sebastien Helleu 83552cc882 Fix uninitialized variable 2010-09-17 14:53:25 +02:00
Sebastien Helleu d2d60d4711 Beta version of IRC proxy feature in Relay plugin
Major changes in Relay plugin:
- IRC proxy feature (beta),
- raw buffer.

Changes in IRC plugin:
- add tags for messages sent to servers,
- add signal "irc_input_send" to simulate text/command on an IRC buffer,
- add prefix in infolist "irc_nick".
2010-09-17 14:47:36 +02:00
Sebastien Helleu dcdba08f8a Update comments after #endif in C headers 2010-06-25 15:03:39 +02:00