1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00
Commit Graph

4882 Commits

Author SHA1 Message Date
ailin-nemui
c5e2f44984 Merge pull request #444 from LemonBoy/timeout-id
Use 0 as a sentinel value for sasl_timeout
2016-03-20 22:00:43 +01:00
LemonBoy
550fe6f010 Use 0 as a sentinel value for sasl_timeout
If sasl_timeout is never initialized with a valid timeout id then
calling /disconnect on the server calls g_source_remove() with 0 as tag,
causing an harmless error message to be printed.
Beside that, the sasl_timeout field is defined as a unsigned int.
We can use 0 as sentiel since g_timeout_add returns tags that are always
greater than zero.
2016-03-20 21:47:02 +01:00
TheLemonMan
795b7de808 Merge pull request #439 from horgh/ssl-errors
Clear error queue before SSL I/O operations
2016-03-17 22:07:57 +01:00
ailin-nemui
49bdd179b2 Merge pull request #438 from dequis/sasl-timeout-disconnect
Remove sasl timeout source when the server disconnects
2016-03-17 16:14:34 +01:00
ailin-nemui
ff4d33071d Merge pull request #441 from KindOne-/master
Replace spaces with tabs
2016-03-16 12:05:44 +01:00
KindOne
bcebed5a72 Replace spaces with tabs 2016-03-14 21:23:37 -04:00
Giuseppe
6aa33c4aae Merge pull request #440 from vague666/strarray_find_bugfix
Return -1 from null-test to comply with the rest of strarray_find
2016-03-14 22:37:05 +01:00
Jari Matilainen
27c37cb3f3 Return -1 from null-test to comply with the rest of strarray_find 2016-03-14 22:17:17 +01:00
Will Storey
8ab6bdf2ce Add clear error calls to irssi_ssl_get_iochannel 2016-03-13 15:09:52 -07:00
Will Storey
be733d2482 Clear error queue before SSL I/O operations
Otherwise we can see errors that are not related to the operation
we check for. SSL_get_error() inspects the thread's error queue.
See https://www.openssl.org/docs/manmaster/ssl/SSL_get_error.html for
more information.
2016-03-13 13:28:04 -07:00
dequis
e853392f43 Remove sasl timeout source when the server disconnects 2016-03-11 14:55:31 -03:00
Giuseppe
66e9c4bb39 Merge pull request #432 from grawity/fix-external
fix SASL EXTERNAL
2016-03-08 22:49:05 +01:00
ailin-nemui
8f1f1d879f Merge pull request #426 from Manishearth/paste-split
Make pasting warning appear when long pastes are going to be split into many lines
2016-03-08 22:17:06 +01:00
Mantas Mikulėnas
4baefd2574 Fix SASL EXTERNAL authentication
The "AUTHENTICATE" command is always required – it's part of the IRCv3
SASL framing. RFC 4422 only documents the Base64 payload.
2016-03-08 23:13:03 +02:00
ailin-nemui
64bac950fc Merge pull request #427 from mauke/irssiproxy-unix-sockets
irssi proxy: allow listening on unix sockets
2016-03-02 11:07:39 +01:00
Lukas Mai
8c1da2890c irssi proxy: allow listening on unix sockets 2016-03-02 00:53:56 +01:00
Lukas Mai
3fc7e4d4ea reindent 2016-03-02 00:51:01 +01:00
ailin-nemui
9174ec584f Merge tag '0.8.18'
master now on 0.8.19-head
2016-02-29 22:45:54 +01:00
ailin-nemui
843e0c0884 Merge pull request #428 from mauke/irssiproxy-multiplex-2
fix proxy server name
2016-02-26 20:46:09 +01:00
Lukas Mai
4d234c175c fix proxy server name 2016-02-26 18:40:51 +01:00
ailin-nemui
f83a29b764 Merge pull request #425 from mauke/irssiproxy-multiplex
irssi proxy: allow multiplexing multiple networks over a single port
2016-02-24 16:14:43 +01:00
Manish Goregaokar
ef0c7d3e7a Make pasting warning appear when long pastes are going to be split into many lines 2016-02-24 00:51:11 +05:30
Manish Goregaokar
9f0e5da208 use a #define'd LINE_SPLIT_LIMIT instead of hardcoding 400 2016-02-24 00:42:35 +05:30
Lukas Mai
3167ccfbc2 remove redundant check 2016-02-18 02:23:09 +01:00
Lukas Mai
c9ce0c521a make pointer check explicit 2016-02-18 02:23:00 +01:00
Lukas Mai
effb00b858 add some documentation 2016-02-18 01:20:33 +01:00
Lukas Mai
4732e33ca9 irssi proxy: allow multiplexing multiple networks over a single port 2016-02-18 01:20:33 +01:00
Lukas Mai
88e2449f83 fix formatting 2016-02-18 01:20:33 +01:00
ailin-nemui
4650665ee4 Merge pull request #414 from toddpratt/master
add an append operation to cut buffer handling
2016-02-18 00:18:24 +01:00
Todd A. Pratt
8723c0fb33 fix whitespace 2016-02-10 09:47:10 -05:00
Todd A. Pratt
0ca534c345 Merge branch 'master' of github.com:irssi/irssi 2016-02-10 09:42:42 -05:00
ailin-nemui
b91f3c3025 tag as 0.8.18 2016-02-08 21:18:04 +01:00
ailin-nemui
8ab537cf22 sync docs 2016-02-08 21:18:04 +01:00
ailin-nemui
06fdfd617e sync scriptassist.pl 2016-02-08 14:38:33 +01:00
ailin-nemui
6d8b92af8a Merge pull request #415 from lanurmi/gitattributes
Add .gitattributes to ensure all shell scripts have LF as eol-style.
2016-02-07 11:48:27 +01:00
ailin-nemui
0860469900 Merge pull request #413 from dequis/completion-list-crash-fix
completion: Fix crash when the complist provided by a script has nulls
2016-02-05 21:39:20 +01:00
Todd A. Pratt
431863852c Merge branch 'master' of github.com:irssi/irssi 2016-02-04 21:48:41 -05:00
ailin-nemui
af229a8bb7 Merge pull request #410 from LemonBoy/getaddrinfo-v6-flag
Getaddrinfo v6 flag
2016-02-03 11:45:11 +01:00
Lauri Nurmi
8708d8da49 Add .gitattributes to ensure all shell scripts have LF as eol-style.
Some Git clients on Windows may use CRLF otherwise, which effectively prevents running such scripts.
2016-01-31 20:49:59 +02:00
Todd A. Pratt
966d002b55 remove memory allocation check, spaces to tabs 2016-01-30 11:32:08 -05:00
Todd A. Pratt
876609901a add an append operation to cut buffer handling 2016-01-30 09:34:46 -05:00
dequis
7674fd5936 completion: Fix crash when the complist provided by a script has nulls
Can be reproduced with aspell_complete.pl 1.00 by setting an invalid
dictionary with "/set spell_dict a"
2016-01-29 10:40:18 -03:00
ailin-nemui
161772892f Merge pull request #409 from LemonBoy/reverse-lookup-flags
Reverse lookup flags
2016-01-29 14:03:40 +01:00
ailin-nemui
16766d83ff Merge pull request #407 from irssi/ailin-nemui-perl-bugs
Mention known Perl Bugs in perl.txt
2016-01-29 05:33:14 +01:00
ailin-nemui
26431133aa Merge pull request #408 from LemonBoy/delete-ipv6-ifdef
Delete the HAVE_IPV6 ifdef.
2016-01-29 05:32:52 +01:00
LemonBoy
0cc8276e89 Add AI_ADDRCONFIG to the getaddrinfo hints.
A first step to untangle the ipv4 vs ipv6 mess.
At the time of writing Linux, OpenBSD and FreeBSD all support the
AI_ADDRCONFIG flag.
2016-01-27 16:16:27 +01:00
LemonBoy
118eb0a68c Call getnameinfo with NI_NAMEREQD flag.
This way net_gethostbyaddr will fail when the system is unable to
resolve the address to a valid host name.
Without this flag in case of failure the function would return the ip
address instead of failing.
2016-01-27 15:54:29 +01:00
LemonBoy
f31b2026b4 Minor style fix in net_ip2host. 2016-01-27 15:04:07 +01:00
LemonBoy
70c7949cfe Update the configure script and INSTALL.
Now that HAVE_IPV6 is gone remove all the references from the
buildscript and documentation.
2016-01-27 14:42:50 +01:00
LemonBoy
87c0827471 Delete the HAVE_IPV6 ifdef.
Welcome to the future.
2016-01-27 14:31:55 +01:00