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

7247 Commits

Author SHA1 Message Date
Sébastien Helleu dad2b649ed core: add contributor in AUTHORS.adoc 2016-08-07 16:19:40 +02:00
Sébastien Helleu 751769b49d core: irc, xfer: do not check return code of res_init()
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-07 16:17:42 +02:00
Sébastien Helleu f695a79d9b core, irc, xfer: add missing includes for function res_init() 2016-08-07 16:15:59 +02:00
Sébastien Helleu eee11972f7 Merge remote-tracking branch 'origin/pr/771' 2016-08-07 16:08:44 +02:00
Raghavendra Prabhu 761c5e2d11 core/plugins: Use res_init before getaddrinfo.
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-08-07 13:20:54 +01:00
Sébastien Helleu d575d43218 doc: add C compiler in dependencies (user's guide) 2016-08-07 10:43:54 +02:00
Sébastien Helleu 0de910838d doc: add missing package ruby-2.3 in dependencies (user's guide) 2016-08-07 10:31:11 +02:00
Sébastien Helleu 6bebc49dfd core: add old email of Krzysztof Korościk in .mailmap 2016-08-07 10:21:47 +02:00
Sébastien Helleu 399636f984 api: fix connection to servers with hook_connect() on Windows 10 with Windows subsystem for Linux (closes #770) 2016-08-06 22:13:52 +02:00
Sébastien Helleu eff8d3f3fb core: update ChangeLog 2016-08-02 18:43:12 +02:00
Sébastien Helleu 00f1b3e563 core: add contributor in AUTHORS.adoc 2016-08-02 18:30:25 +02:00
Sébastien Helleu 24d9abf46d Merge pull request #738 from scumjr/master
irc: fix NULL pointer dereference in 734 command callback
2016-08-02 18:29:12 +02:00
Sébastien Helleu ee16e226fe doc: update German auto-generated files 2016-07-30 14:13:34 +02:00
Nils Görs f7f8375529 core: update German translations 2016-07-30 10:30:15 +02:00
Sébastien Helleu 175b75987d doc: update Japanese auto-generated files 2016-07-30 07:59:39 +02:00
Sébastien Helleu 196646eb9a Merge pull request #768 from l/master/translation/ja_JP
core: update Japanese translations
2016-07-30 07:58:58 +02:00
AYANOKOUZI, Ryuunosuke 8925a2fb8a core: update Japanese translations 2016-07-30 09:00:00 +09:00
Sébastien Helleu 67ab00abe5 doc: add example of hdata command with hotlist (relay protocol) 2016-07-29 16:02:39 +02:00
Sébastien Helleu 09c52755d1 relay: return an empty hdata when the requested hdata or pointer is not found (closes #767) 2016-07-29 15:55:42 +02:00
Sébastien Helleu 4397dccd1b core: add keys for secure buffer in /help secure (closes #756) 2016-07-29 10:03:20 +02:00
Sébastien Helleu 290b40af89 doc: update German auto-generated files 2016-07-19 07:29:12 +02:00
Nils Görs d5784199c1 core: update German translations 2016-07-17 18:01:51 +02:00
Sébastien Helleu 34ccf3fd81 irc: rename server options "default_msg_*" to "msg_*", evaluate them 2016-07-17 09:29:14 +02:00
Sébastien Helleu 8743a88c3b core: add missing title in ReleaseNotes 2016-07-16 10:03:19 +02:00
Sébastien Helleu b7e9913ebb doc: update auto-generated files with hdata 2016-07-12 07:53:31 +02:00
Sébastien Helleu e2a3cc8bf4 irc: fix typo in a comment 2016-07-09 21:26:28 +02:00
Sébastien Helleu eb86def400 core: rename function string_iconv_fprintf to string_fprintf 2016-07-09 18:28:03 +02:00
Sébastien Helleu 666bc4fda2 core: replace some single quotes by double quotes in help of options 2016-07-09 12:34:40 +02:00
Sébastien Helleu 177dff6fa8 Merge pull request #755 from l/translation/ja
doc: update Japanese translations
2016-07-03 23:07:23 +02:00
AYANOKOUZI, Ryuunosuke b159f1ce28 doc: update Japanese translations 2016-07-01 09:00:00 +09:00
Sébastien Helleu 0c2f32fbcd doc: remove "weechat_" prefix in internal links (plugin API reference) 2016-06-25 10:56:55 +02:00
Sébastien Helleu a9b0c00df7 doc: add note about string evaluated in function window_set_title (plugin API reference) 2016-06-25 10:38:48 +02:00
Sébastien Helleu e647512d86 doc: fix typo in FAQ 2016-06-24 19:08:48 +02:00
Sébastien Helleu 35712daa1a core: improve help on python3 option (cmake and autotools) 2016-06-21 19:41:30 +02:00
Sébastien Helleu 252aca82fd core: fix some categories in ChangeLog 2016-06-21 19:40:43 +02:00
Sébastien Helleu aec9e2ebca python: add detection of Python 3.5 2016-06-21 19:39:20 +02:00
Sébastien Helleu 1989285462 doc: add note in argument "tags" of function printf_date_tags (plugin API reference) 2016-06-18 09:11:07 +02:00
Sébastien Helleu 3b4d9156e2 doc: add note about function printf_date_tags in function printf (plugin API reference) 2016-06-18 09:06:56 +02:00
Sébastien Helleu 20c86db0d8 api: remove functions printf_date() and printf_tags() 2016-06-18 08:49:35 +02:00
Sébastien Helleu b1d32b29f9 doc: fix styles in docs 2016-06-15 08:01:45 +02:00
Sébastien Helleu 2a53e1aea2 doc: fix styles in developer's guide 2016-06-13 07:30:15 +02:00
Sébastien Helleu d37d1abb63 doc: fix styles in user's guide 2016-06-12 17:58:40 +02:00
Sébastien Helleu 545386ea81 Merge pull request #742 from l/translation/ja
core: update Japanese translations
2016-05-31 08:46:41 +02:00
AYANOKOUZI, Ryuunosuke 6effc6fb57 core: update Japanese translations 2016-05-29 09:00:00 +09:00
Nils Görs 610f191ddc core: update German translations 2016-05-28 10:42:25 +02:00
Sébastien Helleu 7342a47de0 core, irc, xfer: display more information in memory allocation errors (issue #573) 2016-05-27 20:13:35 +02:00
Sébastien Helleu 7b053b7c40 core: add sub-sections in ChangeLog 2016-05-27 07:55:03 +02:00
Sébastien Helleu 631e019eb7 doc: update German auto-generated files 2016-05-22 10:09:10 +02:00
Sébastien Helleu 22591c11fe debian: fix debian/ubuntu/raspbian patches 2016-05-21 08:07:55 +02:00
Nils Görs a68637b37d core: update German translations 2016-05-20 17:40:39 +02:00