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

4550 Commits

Author SHA1 Message Date
Alexander Færøy
cb873d5b91 Pass SERVER_REC directly to net_connect_ip_ssl
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-23 23:50:26 +00:00
Alexander Færøy
d826896f74 Implement experimental DNSSEC DANE support
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
2013-06-23 23:50:14 +00:00
Emanuele Giaquinta
02aa2682dc Fix crash in mainwindows_resize_smaller when the 'mainwindows' list is empty.
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-24 14:33:54 +00:00
Emanuele Giaquinta
7ae4919229 Do not set SSL_OP_ALL, it is not needed to disable SSLv2 and it can prevent
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-24 09:50:08 +00:00
Emanuele Giaquinta
00d59cdd8f Fix grammar of no_completions format, patch by Matt Lewandowsky.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5215 dbcabf3a-b0e7-0310-adc4-f8d773084564
2012-06-24 09:35:55 +00:00
Emanuele Giaquinta
8e48c6c36a Properly validate the argument of Irssi::theme_register as an array reference,
patch by Olof Johansson.


git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5214 dbcabf3a-b0e7-0310-adc4-f8d773084564
2012-06-24 09:33:28 +00:00
Jase Thew
d74c9788b7 Update help for /log - change default for log_create_mode to 0600
(Bug #830).


git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5211 dbcabf3a-b0e7-0310-adc4-f8d773084564
2012-01-10 21:36:07 +00:00
Alexander Færøy
9cc7ea504c Fix warning.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5210 dbcabf3a-b0e7-0310-adc4-f8d773084564
2011-11-21 21:28:28 +00:00
Alexander Færøy
796134ffbd Add -noautosendcmd to /SERVER and /CONNECT.
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-11-21 21:27:58 +00:00
Jase Thew
518b822db4 Replace remaining usage of deprecated g_strdown(). Follow-up to r5138.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5208 dbcabf3a-b0e7-0310-adc4-f8d773084564
2011-10-30 15:57:42 +00:00
Jase Thew
b77539816c Document available options for /JOIN command.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5207 dbcabf3a-b0e7-0310-adc4-f8d773084564
2011-07-31 16:25:33 +00:00
Jase Thew
04911955fe Clarify delimiter needed for -channels option of /HILIGHT and /IGNORE commands.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5206 dbcabf3a-b0e7-0310-adc4-f8d773084564
2011-07-30 23:24:06 +00:00
Jilles Tjoelker
cbd163aa5a Accept names replies with nick!user@host instead of nick
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-05-15 21:13:12 +00:00
Jase Thew
f3419c3936 Add a reference to /help levels for IGNORE help entry.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5204 dbcabf3a-b0e7-0310-adc4-f8d773084564
2011-05-04 20:10:48 +00:00
Jase Thew
444b42bf3e Ensure that expando_cumode_space() doesn't free unallocated memory when no
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
2011-02-10 06:45:51 +00:00
Jase Thew
2bee6f12ae Add the path contained in the perl_use_lib setting to the search list
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-12-09 09:51:58 +00:00
Jilles Tjoelker
81b8dcdeb2 Do not go beyond the end of the string when processing an octal escape.
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-11-17 20:41:14 +00:00
Jase Thew
c488c3e58b Set window binds for channel items as sticky when re-creating window
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-31 19:40:03 +00:00
Alexander Færøy
e959bd36d4 Strip the argument for boolean options. Patch by Svante Kvarnström. Fixes: #769
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5191 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-10-02 21:52:35 +00:00
Alexander Færøy
5e55d5b974 Readd Freenode to the list of IRC networks in the default configuration file.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5190 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-08-14 21:28:42 +00:00
Alexander Færøy
4976f75295 Fix indention.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5186 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-07-28 16:15:02 +00:00
Wouter Coekaerts
350b346c84 Add prefixes to irc_nicklist_insert() so that nickrec.prefixes is accurate 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-24 14:36:55 +00:00
Wouter Coekaerts
ab33ac15af Bug #748: Fix /ignore -network. Patch by pyropeter
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5175 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-07-13 17:56:02 +00:00
Jase Thew
cbe61df25c When sending a signal to an /exec'd command, send it to the process
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-20 19:00:12 +00:00
Jase Thew
c6986ff767 Update help for /exec - clarify use of % prefix for id in command syntax.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5173 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-05-19 21:21:17 +00:00
Jase Thew
be5b3cf8b8 Correct typo (it's -> its) - spotted by coekie.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5172 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-05-19 19:44:39 +00:00
Jase Thew
7df1c56e1a Add myself to AUTHORS.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5171 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-05-16 17:54:30 +00:00
Jase Thew
ec83dd762a Fix segfault generated by SSL disconnections. (Bug #752)
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5170 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-05-16 17:50:31 +00:00
Alexander Færøy
daf6adc0b0 Remove warnings about uninitialized variables.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5140 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-04-04 12:19:54 +00:00
Alexander Færøy
ada26a8d21 Add missing includes to shut the compiler up.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5139 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-04-04 12:07:26 +00:00
Alexander Færøy
8728207191 deprecated glib strup/down fixes from exg.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5138 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-04-03 20:09:37 +00:00
Alexander Færøy
df1d7a7814 glib iochannel fixes from exg.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5137 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-04-03 20:04:15 +00:00
Alexander Færøy
dd23f39f09 Do not use SSLv2 protocol. From Bazerka.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5136 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-04-03 19:09:11 +00:00
Alexander Færøy
ea9c03cf61 trunk is now 0.8.15-svn
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5135 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-04-03 18:17:28 +00:00
Alexander Færøy
5a747f3407 Preparation for 0.8.15, take two.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5133 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-04-03 16:17:30 +00:00
Alexander Færøy
176e561b68 Remove dodgy check from configure.in. Thanks to exg.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5132 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-04-03 16:02:41 +00:00
Alexander Færøy
b7a0807505 Preparation for 0.8.15
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5131 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-04-02 19:39:54 +00:00
Alexander Færøy
0b179c7150 Minor documentation tweak. Thanks to suom1 and mofo.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5130 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-03-25 22:15:15 +00:00
Wouter Coekaerts
87e54fdfa6 complete NEWS
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5128 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-03-21 20:54:04 +00:00
Alexander Færøy
1693924b3b Slowly prepare for 0.8.15-rc1.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5127 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-03-21 20:25:44 +00:00
Wouter Coekaerts
1aa10ece88 Fix crash when checking for fuzzy nick match when not on the channel. 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-21 20:23:34 +00:00
Alexander Færøy
e37be456cd Allow servers with the same server and port to be part of multiple networks. 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-03-21 20:06:10 +00:00
Jilles Tjoelker
1a4c665686 irssi.conf: Improve /CALC alias:
* get rid of bashism
* use command -v instead of which
* use bc -l option which allows non-integer division results


git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5124 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-03-18 00:16:18 +00:00
Jilles Tjoelker
7a2c8cbdba Show new charybdis +q list in channel window (numerics 728 and 729).
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5123 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-02-27 22:45:27 +00:00
Wouter Coekaerts
4b751d9df6 Use servertag from the active DCC chat when not connected anymore to the IRC 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-27 18:52:41 +00:00
Alexander Færøy
3eea03ccb8 Irssi now detects a paste if it reads at least three bytes in a single read;
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-27 14:57:16 +00:00
Jilles Tjoelker
59142d845d Show "target changing too fast" messages in the channel/query window.
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-26 21:01:39 +00:00
Wouter Coekaerts
bf6afc4a94 Add missing include of misc.h for g_input_add_poll (Bug #740)
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5119 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-02-25 19:42:58 +00:00
Wouter Coekaerts
63c2c08157 Make autogen fail if there is no lynx or links installed
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5118 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-02-22 19:50:54 +00:00
Wouter Coekaerts
dae9a76312 Fix compiling without ssl
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5117 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-02-22 19:37:18 +00:00