summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-server.c
AgeCommit message (Collapse)Author
2019-08-05irc: fix memory leak when removing a serverSébastien Helleu
2019-08-04irc: add variables "user_max_length" and "host_max_length" in server ↵Sébastien Helleu
structure (issue #1387)
2019-07-11irc: quote NICK command argument sent to the server only if there's a ":" in ↵Sébastien Helleu
the nick (closes #1376, issue #1319)
2019-06-15irc: strip spaces at beginning/end of addresses in server option "addresses" ↵Sébastien Helleu
(closes #195)
2019-06-15api: add argument "strip_items" in function string_splitSébastien Helleu
2019-05-12irc: rename server variable "nick_host" to "host"Sébastien Helleu
2019-05-10irc: add bar items "irc_nick", "irc_host" and "irc_nick_host"Sébastien Helleu
2019-05-10irc: add variable "nick_host" in server structureSébastien Helleu
2019-04-13api: return allocated string in hook_info callback and function info_getSébastien Helleu
2019-03-21irc: fix length of string for SHA-512, SHA-256 and SHA-1 in help on ↵Sébastien Helleu
ssl_fingerprint option
2019-03-12irc: fix compilation warning when gnutls is not foundSébastien Helleu
2019-03-10core: replace argument "keep_eol" by "flags" in function string_split ↵Sébastien Helleu
(closes #1322)
2019-02-28irc: quote argument to NICKMatthew Martin
2019-01-01core: update copyright datesSébastien Helleu
2018-11-29core: use https for links to GNU GPL licenseSébastien Helleu
2018-05-20irc: fix code styleSébastien Helleu
2018-05-20Merge remote-tracking branch 'origin/pr/623' into irc-3.2-capSébastien Helleu
2018-03-25irc: send whole IRC message including IRCv3 tags in the signals irc_in, ↵Sébastien Helleu
irc_in2, irc_raw_in and irc_raw_in2 (issue #787)
2018-03-25irc: fix memory leak when receiving a message with tagsSébastien Helleu
2018-02-05irc: allow ${irc_server.xxx} and ${server} in server evaluated options ↵Sébastien Helleu
(closes #1144) The server option "ssl_fingerprint" is now evaluated when it is used (during SSL connection), instead of when it is set with command /set.
2018-01-13irc: add server option "split_msg_max_length"Sébastien Helleu
2018-01-05core: update copyright datesSébastien Helleu
2017-08-12core: fix cast of time_t (to "long long" instead of "long") (closes #1051)Sébastien Helleu
2017-06-17irc: factor supported CAP versionSimmo Saan
2017-06-17irc: add support for IRCv3.2 Client Capability Negotiation (closes #586)Simmo Saan
2017-06-17irc: add hashtables to keep track of all capabilitiesSimmo Saan
2017-06-14irc: remove unused functions irc_server_get_number_connected and ↵Sébastien Helleu
irc_server_get_number_buffer (issue #1012)
2017-06-10core, plugins: fix conditions to insert elements in linked listsSébastien Helleu
This removes scan-build warnings about dereference of last_xxx null pointers.
2017-05-06irc: fix update of server addresses on reconnection when the evaluated ↵Sébastien Helleu
content has changed (closes #925)
2017-03-25irc: fix type of values for hashtable extra_vars in irc_server_get_default_msgSébastien Helleu
2017-03-25irc: send signal "irc_server_lag_changed", store lag in server bufferSébastien Helleu
The lag is stored in the local variable "lag" of the server buffer. When there is no lag, the local variable does not exist.
2017-03-25irc: check that pointers received in arguments are not NULL in "free" functionsSébastien Helleu
Functions: - irc_channel_nick_speaking_time_free - irc_ignore_free - irc_notify_free - irc_raw_message_free - irc_server_outqueue_free
2017-02-18irc: add function irc_server_get_max_modesSébastien Helleu
2017-01-06irc: fix option "-temp" in command /server (closes #880)Sébastien Helleu
2017-01-01core: update copyright datesSébastien Helleu
2016-12-11irc: rename server option "umodes" to "usermode"Sébastien Helleu
2016-12-11Merge remote-tracking branch 'origin/pr/820'Sébastien Helleu
2016-12-03irc: evaluate content of server option "ssl_fingerprint" (closes #858)Sébastien Helleu
2016-10-12Add server option umodes (closes #377)Simmo Saan
2016-09-22irc: remove unneeded commentSébastien Helleu
2016-09-19Fix for unclosed/leaking sockets from issue #358Rob Campbell
2016-08-07core: irc, xfer: do not check return code of res_init()Sébastien Helleu
If the call to res_init() fails, the connection may be OK anyway or in worst case it will fail (with an appropriate error) if the name can not be resolved.
2016-08-07core, irc, xfer: add missing includes for function res_init()Sébastien Helleu
2016-08-07core/plugins: Use res_init before getaddrinfo.Raghavendra Prabhu
With weechat, if the network changes in anyway that causes resolv.conf to be updated, that is not picked up, resulting in irc: connecting to server XXXX.com/1026 (SSL)... irc: address "XXX.com" not found irc: error: Name or service not known irc: reconnecting to server in 30 seconds This happens, especially when one connects to an irc server behind a VPN. This can also happen when there is no network connectivity weechat was started but later network is connected to. The fix is simple, it relies on calling res_init (3) before getaddrinfo in network_connect_child and other places. res_init reloads the resolv.conf and getaddrinfo does not fail with address resolution error.
2016-07-17irc: rename server options "default_msg_*" to "msg_*", evaluate themSébastien Helleu
2016-07-09irc: fix typo in a commentSébastien Helleu
2016-05-27core, irc, xfer: display more information in memory allocation errors (issue ↵Sébastien Helleu
#573)
2016-04-24irc: fix first message displayed in raw buffer when the message is modified ↵Sébastien Helleu
by a modifier (closes #719)
2016-03-21irc: fix crash in SSL connection to the serverSébastien Helleu
2016-03-21core: add pointer in some callbacks (closes #406)Sébastien Helleu
This pointer is the first argument received by callbacks, and the existing argument "data" is now automatically freed by WeeChat when the object containing the callback is removed. With this new pointer, the linked list of callbacks in scripts has been removed. This will improve speed of scripts (using a lot of hooks), reduce memory used by scripts and reduce time to unload scripts. Following functions are affected in the C API: * exec_on_files * config_new * config_new_section * config_new_option * hook_command * hook_command_run * hook_timer * hook_fd * hook_process * hook_process_hashtable * hook_connect * hook_print * hook_signal * hook_hsignal * hook_config * hook_completion * hook_modifier * hook_info * hook_info_hashtable * hook_infolist * hook_hdata * hook_focus * unhook_all_plugin * buffer_new * bar_item_new * upgrade_new * upgrade_read