summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2014-06-15Replace deprecated g_io_channel_close with g_io_channel_shutdown.David Hill
g_io_channel_close flushes the buffer and does not return errors. g_io_channel_shutdown(handle, TRUE, NULL) keeps that behavior.
2014-06-15Merge pull request #5 from dajohi/masterAlexander Færøy
Replace deprecated g_str[n]casecmp with g_ascii_str[n]cmp.
2014-06-11Merge pull request #13 from ailin-nemui/segfault-no-protocolAlexander Færøy
fix segfault with xmpp query in layout
2014-06-11fix segfault with xmpp query in layoutAilin Nemui
2014-06-11fix print_after scrollbackAilin Nemui
2014-06-10Don't assume the size of time_t.David Hill
2014-06-10Replace deprecated g_str[n]casecmp with g_ascii_str[n]cmp.David Hill
2014-01-11Add -ssl_pass to /connect and /serverAlexander Færøy
Fixes: Bug #305 git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5231 dbcabf3a-b0e7-0310-adc4-f8d773084564
2014-01-10- Applied a patch from Jaroslav Škarvada (FTBFS if ↵Geert Hauwaerts
"-Werror=format-security" flag is used | https://bugzilla.redhat.com/show_bug.cgi?id=1037139) git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5229 dbcabf3a-b0e7-0310-adc4-f8d773084564
2013-12-13Check setuid() and getuid() for errorsAlexander Færøy
Thanks to Hector Marco for reporting. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5228 dbcabf3a-b0e7-0310-adc4-f8d773084564
2013-06-25Clean-up after ourselvesAlexander Færøy
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5223 dbcabf3a-b0e7-0310-adc4-f8d773084564
2013-06-23Add TLSA related signalsAlexander Færøy
This patch adds 3 new signals: * tlsa avalable: emitted if TLSA is available for a given domain. * tlsa verification success: emitted if the TLSA check was successful. * tlsa verification failed: emitted if the TLSA check was unsuccessful. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5220 dbcabf3a-b0e7-0310-adc4-f8d773084564
2013-06-23Pass SERVER_REC directly to net_connect_ip_sslAlexander Færøy
This patch refactors how we are passing connection information for SSL connections. This will allow us to emit signals with a SERVER_REC as parameter during SSL handshake. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5219 dbcabf3a-b0e7-0310-adc4-f8d773084564
2013-06-23Implement experimental DNSSEC DANE supportAlexander Færøy
This patch adds experimental support for the DNSSEC DANE verification protocol using the libval library from the DNSSEC-Tools package. Thanks to Thomas Steen Ramussen for creating a test setup and suggesting the idea of experimenting with DANE support in Irssi :-) git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5218 dbcabf3a-b0e7-0310-adc4-f8d773084564
2012-06-24Fix crash in mainwindows_resize_smaller when the 'mainwindows' list is empty.Emanuele Giaquinta
The crash can happen if the terminal height decreases before the first window is created. Based on a patch by Jaroslav Škarvada (red hat bug #796457). git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5217 dbcabf3a-b0e7-0310-adc4-f8d773084564
2012-06-24Do not set SSL_OP_ALL, it is not needed to disable SSLv2 and it can preventEmanuele Giaquinta
connections to TLSv1.1 servers from working. Patch by pi-rho. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5216 dbcabf3a-b0e7-0310-adc4-f8d773084564
2012-06-24Fix grammar of no_completions format, patch by Matt Lewandowsky.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5215 dbcabf3a-b0e7-0310-adc4-f8d773084564
2012-06-24Properly validate the argument of Irssi::theme_register as an array reference,Emanuele Giaquinta
patch by Olof Johansson. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5214 dbcabf3a-b0e7-0310-adc4-f8d773084564
2011-11-21Fix warning.Alexander Færøy
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5210 dbcabf3a-b0e7-0310-adc4-f8d773084564
2011-11-21Add -noautosendcmd to /SERVER and /CONNECT.Alexander Færøy
Passing this option will force Irssi to not execute the content of the autosendcmd chatnet-setting upon connect. Fixes: #738 git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5209 dbcabf3a-b0e7-0310-adc4-f8d773084564
2011-10-30Replace remaining usage of deprecated g_strdown(). Follow-up to r5138.Jase Thew
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5208 dbcabf3a-b0e7-0310-adc4-f8d773084564
2011-05-15Accept names replies with nick!user@host instead of nickJilles Tjoelker
if they are somehow enabled (UHNAMES/userhost-in-names). bug #805 git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5205 dbcabf3a-b0e7-0310-adc4-f8d773084564
2011-02-10Ensure that expando_cumode_space() doesn't free unallocated memory when noJase Thew
prefix exists by conditionally allocating and marking to-be-freed the cumode string inside of expando_cumode(). (Bug #669) git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5203 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-12-09Add the path contained in the perl_use_lib setting to the search listJase Thew
when attempting to automatically use chat_protocol perl modules. This fixes the automatic calling of "use Irssi::Irc" when the Irssi perl modules have been installed in a location outside of perl's site/vendor hierarchy. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5197 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-11-17Do not go beyond the end of the string when processing an octal escape.Jilles Tjoelker
This code is used, for example, when /set expand_escapes on. I can't reproduce crashes but I can reproduce garbage if I type a\1. bug #775 git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5195 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-10-31Set window binds for channel items as sticky when re-creating window Jase Thew
binds as part of /layout save. This addresses the problem of previously saved channel window items forgetting their windows upon reconnection, which resulted in them being opened in new windows. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5194 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-10-02Strip the argument for boolean options. Patch by Svante Kvarnström. Fixes: #769Alexander Færøy
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5191 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-07-28Fix indention.Alexander Færøy
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5186 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-07-24Add prefixes to irc_nicklist_insert() so that nickrec.prefixes is accurate ↵Wouter Coekaerts
in the "nicklist new" signal. Fixes the nicklist sorting on xirssi. Patch by nenolod. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5184 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-07-13Bug #748: Fix /ignore -network. Patch by pyropeterWouter Coekaerts
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5175 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-05-20When sending a signal to an /exec'd command, send it to the process Jase Thew
group id instead of the process id. (This covers the case of /bin/sh instances which fork/exec commands passed via -c. In such cases, sending a signal to the stored process id would sent it to the /bin/sh process itself, not the forked child.) Add error reporting to sending signals. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5174 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-05-19Update help for /exec - clarify use of % prefix for id in command syntax.Jase Thew
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5173 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-05-16Fix segfault generated by SSL disconnections. (Bug #752)Jase Thew
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5170 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-04-04Remove warnings about uninitialized variables.Alexander Færøy
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5140 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-04-04Add missing includes to shut the compiler up.Alexander Færøy
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5139 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-04-03deprecated glib strup/down fixes from exg.Alexander Færøy
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5138 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-04-03glib iochannel fixes from exg.Alexander Færøy
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5137 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-04-03Do not use SSLv2 protocol. From Bazerka.Alexander Færøy
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5136 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-03-25Minor documentation tweak. Thanks to suom1 and mofo.Alexander Færøy
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5130 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-03-21Fix crash when checking for fuzzy nick match when not on the channel. ↵Wouter Coekaerts
Reported by Aurelien Delaitre (SATE 2009) git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5126 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-03-21Allow servers with the same server and port to be part of multiple networks. ↵Alexander Færøy
This should make life much easier for znc users. Thanks to Tykling, Bazerka and znx. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5125 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-02-27Show new charybdis +q list in channel window (numerics 728 and 729).Jilles Tjoelker
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5123 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-02-27Use servertag from the active DCC chat when not connected anymore to the IRC ↵Wouter Coekaerts
server that started it. This fixes a crash with handling the DCC queue. Reported by Aurelien Delaitre (SATE 2009) git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5122 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-02-27Irssi now detects a paste if it reads at least three bytes in a single read;Alexander Færøy
subsequent reads are associated to the same paste if they happen before 'paste_detect_time' time since the last read. If no read occurs after 'paste_detect_time' time the paste buffer is flushed; if there is at least one complete line its content is sent as a paste, otherwise it is processed normally. Thanks to Emanuele Giaquinta. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5121 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-02-26Show "target changing too fast" messages in the channel/query window.Jilles Tjoelker
This is about numerics 707 (ratbox and derivatives) and 439 (most other ircds that implement target change limitations). If the channel is not yet joined, the message is still shown in the status window. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5120 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-02-25Add missing include of misc.h for g_input_add_poll (Bug #740)Wouter Coekaerts
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5119 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-02-22Fix compiling without sslWouter Coekaerts
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5117 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-02-19network-openssl: Show why a certificate failed validation.Jilles Tjoelker
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5116 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-01-31Call OpenSSL_add_all_algorithms(), may be needed to verify SHA256 certs with ↵Jilles Tjoelker
certain versions of OpenSSL. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5108 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-01-31Use one SSL_CTX per connection, use default trusted CAs if nothing specified.Jilles Tjoelker
This allows useful use of -ssl_verify without -ssl_cafile/-ssl_capath, using OpenSSL's default trusted CAs. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5107 dbcabf3a-b0e7-0310-adc4-f8d773084564