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

215 Commits

Author SHA1 Message Date
Peter Boström a80635c8b2 irc: fix rejoin of channels with a key, ignore value "*" sent by server for key (bug #24131) 2012-09-18 18:08:21 +02:00
Simon Arlott 36356521a1 irc: switch to next address after a timeout when connecting to server (bug #37216) 2012-09-03 11:01:26 +02:00
Simon Arlott 055116f2b7 irc: fix bug when changing server option "addresses" with less addresses (bug #37215) 2012-09-03 10:26:45 +02:00
Sebastien Helleu 606be401cc irc: add network prefix in some irc/gnutls messages 2012-09-03 09:43:38 +02:00
Sebastien Helleu df80aa5fc9 api: allow update for some variables of hdata, add new functions hdata_update and hdata_set 2012-08-27 09:47:46 +02:00
Sebastien Helleu 4a3756e753 irc: add network prefix in irc (dis)connection messages 2012-08-23 22:12:50 +02:00
Sebastien Helleu 7f3d7e5f29 irc: generate alternate nicks dynamically when all nicks are already in use (task #12209) 2012-08-22 19:28:19 +02:00
Sebastien Helleu 3c615a956b irc: set non-blocking socket before connecting to server (fix freeze with SSL after connection error) 2012-08-08 14:22:01 +02:00
Sebastien Helleu 32b8f34567 irc: replace calls to config_search_with_string with weechat_config_get 2012-07-23 19:10:27 +02:00
Sebastien Helleu eab0110732 core: add support of arrays in hdata variables 2012-07-20 18:12:07 +02:00
Sebastien Helleu aa971baa15 irc: fix format of message "USER" (according to RFC 2812) (bug #36825)
Old format was:  USER username username address :real name
New format is :  USER username 0 * :real name

And now spaces are automatically replaced by underscores in username
(since no space is allowed here).
2012-07-15 09:53:36 +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 9f4dbd2b3b irc: fix freeze when reading on socket with SSL enabled (bug #35097) 2012-06-09 11:43:02 +02:00
Sebastien Helleu 21b87c428c irc: update channel modes by using chanmodes from message 005 (do not send extra command "MODES" to server), fix parsing of modes (bug #36215) 2012-05-15 12:48:50 +02:00
Sebastien Helleu 9972cce777 core: add a connection timeout for child process in hook_connect (bug #35966) 2012-03-23 18:24:47 +01:00
Sebastien Helleu b69e82cb94 irc: do not allow the creation of two servers with same name but different case (fix error when writing file irc.conf) (bug #35840) 2012-03-17 10:14:25 +01:00
Sebastien Helleu 73476cc0f8 irc: fix redirection of message when message is queued for sending on server 2012-03-12 11:55:35 +01:00
Sebastien Helleu 313c373492 irc: do not close server buffer and disconnect when server is destroyed during /upgrade 2012-02-29 19:21:46 +01:00
Sebastien Helleu 97888e7ef5 irc: fix typo in a comment 2012-02-29 19:13:34 +01:00
Kyle Fuller e91d401f41 irc: add support of "external" SASL mechanism (task #11864) 2012-02-29 15:22:03 +01:00
Sebastien Helleu f1abe53b41 irc: close server buffer when server is deleted 2012-02-29 13:54:26 +01:00
Sebastien Helleu 588921686d irc: rename server option "cap" to "capabilities" 2012-02-19 20:20:04 +01:00
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