1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 20:36:38 +02:00
Commit Graph

193 Commits

Author SHA1 Message Date
Sebastien Helleu 8a0f53019a irc: fix memory leak when a server is deleted 2012-02-19 19:17:50 +01:00
Sebastien Helleu af72bcb01d irc: add option "cap" in servers to enable capabilities on connection 2012-02-19 19:04:11 +01:00
Sebastien Helleu 4a1f0ef5cc irc: add signal "irc_server_opened" 2012-02-09 08:47:36 +01:00
Sebastien Helleu 355fdf0047 irc: add signal "xxx,irc_out1_yyy" and modifier "irc_out1_xxx" (outgoing message before automatic split to fit in 512 bytes) 2012-02-05 11:37:57 +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 47e4a03be6 core: update copyright dates 2012-01-08 18:59:50 +01:00
Sebastien Helleu a35364524a irc: add optional server in info "irc_is_channel" (before channel name) (bug #35124), add optional server in info_hashtable "irc_message_parse" 2011-12-25 23:00:18 +01:00
Sebastien Helleu 6f3fd239be core: add type "hashtable" for hdata, new api functions: hdata_hashtable and hashtable_map_string 2011-12-19 22:39:24 +01:00
Sebastien Helleu 7a0d346933 irc: remove autorejoin on channels when disconnected from server (bug #32207) 2011-11-18 16:00:12 +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 8503857d28 irc: allow URL "irc://" in command /connect 2011-11-04 12:47:01 +01:00
Sebastien Helleu e62cf7c57d irc: auto-connect to servers created with "irc://" on command line but not other servers if "-a" ("--no-connect") is given 2011-11-03 13:11:10 +01:00
Sebastien Helleu dfdf42e27b core: remove unneeded whitespace 2011-10-26 20:37:03 +02:00
Sebastien Helleu 40d8e61118 irc: fix uninitialized key_type in struct gnutls_retr2_st (for gnutls >= 2.11.0)
This was causing connection problem with following messages:
irc: TLS handshake failed
irc: error: Insufficient credentials for that request.
2011-10-15 15:50:40 +02:00
Sebastien Helleu f843f904bc core: fix bugs with calls to realloc 2011-08-28 15:25:30 +02:00
Sebastien Helleu 47ac88b3f5 core: replace deprecated gnutls function "gnutls_certificate_client_set_retrieve_function" by new function "gnutls_certificate_set_retrieve_function" (gnutls >= 2.11.0) 2011-08-26 18:01:33 +02:00
Sebastien Helleu 5e6e3de553 irc: return "count" in hashtable built by irc_server_sendf 2011-08-26 13:37:59 +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 4df0edbe34 irc: fix short name of server buffer after command /server rename 2011-08-17 13:10:54 +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 2c20426577 irc: set short name on buffers only if it was not set by another plugin/script 2011-08-14 13:20:47 +02:00
Sebastien Helleu d27c459c1d core: fix bugs with automatic layout (bug #26110), add support of merged buffers in layout (task #10893) 2011-08-05 13:18:03 +02:00
Sebastien Helleu 47822ce80e irc: fix crash when command "/buffer close" is used in a server command to close server buffer during connection (bug #33763) 2011-07-13 18:28:29 +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 f393d0a3d2 irc: add option "ssl_priorities" in servers (task #10106, debian #624055) 2011-04-28 12:29:56 +02:00
Sebastien Helleu f002c8e7de irc: add modifier "irc_in2_xxx" (called after charset decoding) 2011-04-26 18:19:27 +02:00
Sebastien Helleu 377024835a irc: fix memory leak when copying or renaming server 2011-04-15 10:41:18 +02:00
Sebastien Helleu 2c2ebea3fd irc: do not rejoin channels where /part has been issued before reconnection to server (bug #33029) 2011-04-11 16:39:39 +02:00
Sebastien Helleu 8597f14bf6 irc: update short name of server buffer when server is renamed 2011-04-10 17:44:37 +02:00
Sebastien Helleu b7b2cc8bd7 irc: fix local variable "away" on server buffer (set/delete it each time away is set or removed on server) 2011-03-23 16:11:23 +01:00
Sebastien Helleu ea65e4d50f Add new option irc.look.buffer_switch_autojoin, rename option irc.look.buffer_auto_switch_on_join to irc.look.buffer_switch_join (task #10506) 2011-03-16 18:38:41 +01:00
Gu1ll4um3r0m41n c265cad1c9 Fix verification of SSL certificates by calling gnutls verify callback (patch #7459) 2011-03-02 15:20:36 +01:00
Sebastien Helleu fcfe854441 Fix memory leak in flush of irc message queue 2011-01-02 15:28:20 +01:00
Sebastien Helleu d24f6e9e17 Update copyright dates 2011-01-01 18:06:29 +01:00
Sebastien Helleu 987044405b Fix bug with charset decoding on IRC private buffers (decoding was made for local nick instead of remote nick) (bug #31890) 2010-12-15 17:57:43 +01:00
Sebastien Helleu c2fda185d8 Move some functions from irc-server.c and irc-protocol.c to irc-message.c 2010-11-21 13:06:37 +01:00
Sebastien Helleu 525b8fb87a Fix dcc chat buffer name in xfer plugin (use irc server in name) (bug #29925) 2010-11-12 17:59:02 +01:00
Sebastien Helleu fc91093065 Fix bug with priority (low/high) for irc messages (all messages were sent with low priority) 2010-11-12 17:28:10 +01:00
Sebastien Helleu 045c936e4d Fix color of buffer name in status bar after /upgrade for IRC servers connected with SSL 2010-11-12 10:18:44 +01:00
Sebastien Helleu 9ea73fda4b Fix bug with /upgrade on ssl servers with prefix modes and chars
The value of isupport, prefix_modes and prefix_chars in irc server are now
removed on connection, not on disconnection.
2010-11-10 12:21:18 +01:00
Sebastien Helleu fed54c196e Update buffer local variables when irc server is renamed 2010-11-08 20:16:45 +01:00
Sebastien Helleu e001c05710 Add IRC command /notify, new options for notify and infolist "irc_notify" (task #5441)
This commit provides:
- new IRC command /notify
- new options: irc.look.notify_tags_ison, irc.look.notify_tags_whois,
  irc.network.notify_check_ison, irc.network.notify_check_whois
- new option "notify" in servers (but should not be changed, only /notify
  command should be used)
- infolist "irc_notify" to get notify list (by server or for all servers).
2010-11-06 11:38:48 +01:00
Sebastien Helleu ac6b299e8b Remove dead assignments 2010-10-31 18:23:16 +01:00
Sebastien Helleu 90f06b348e Improve IRC nick prefixes, all modes (even unknown) are used with PREFIX value from message 005 2010-10-28 18:52:18 +02:00
Sebastien Helleu ff79164350 Use IRC command arguments instead of full message for IRC redirection (when searching "string" in message) 2010-10-25 14:20:28 +02:00
Sebastien Helleu 868df21122 Add IRC command redirection (task #6703) 2010-10-23 09:54:31 +02:00
Sebastien Helleu b114d88687 Move some IRC options from network section to server section (task #10664, task #10668)
Options moved: connection_timeout, anti_flood_prio_high, anti_flood_prio_low,
away_check, away_check_max_nicks, default_msg_part, default_msg_quit.
2010-10-09 16:53:06 +02:00
Sebastien Helleu 6e89c47bf1 Switch to next server address when IRC error is received after TCP connection but before message 001 (bug #30884) 2010-10-08 18:31:17 +02:00
Sebastien Helleu 36736564ab Fix crash/bug when option "addresses" for an IRC server is unset or changed when WeeChat is connected to this server (bug #31268) 2010-10-07 13:15:49 +02:00