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

4312 Commits

Author SHA1 Message Date
Emanuele Giaquinta
b555e18985 When returning G_IO_STATUS_ERROR in irssi_ssl_{read,write} create a GError with
the openssl error string.


git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4884 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-02 14:49:48 +00:00
Emanuele Giaquinta
fc85d71d12 Cleanup error handling in irssi_ssl_{read,write}. Return G_IO_STATUS_AGAIN if
openssl error is SSL_WANT_{READ,WRITE}, G_IO_STATUS_ERROR otherwise.


git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4883 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-02 14:02:00 +00:00
Jochen Eisinger
f8461d39bc introduce the type Irssi::Irc::Client and signals to communicate with proxy
clients to allow for scripting parts of the irssi-proxy.



git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4882 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-02 12:13:36 +00:00
Emanuele Giaquinta
73b18f2672 Fix r4879 change.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4881 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-02 07:34:35 +00:00
Emanuele Giaquinta
200caf1ac6 Factor the code to update svn changelog into a script.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4880 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-01 23:50:58 +00:00
Jilles Tjoelker
aa39fba88d Remove the refcount on LINE_REC.
It seems to have no clear purpose.


git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4879 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-01 17:56:56 +00:00
Jilles Tjoelker
875adf35a0 Fix a memory leak with /lastlog -count and rejected (too much) /lastlog.
The matched lines would not be freed when they expired
from the buffer.


git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4878 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-10-31 10:57:32 +00:00
Jilles Tjoelker
c955bcd672 Also display 407 numerics that are not "duplicate channel".
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4877 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-10-28 17:29:49 +00:00
Emanuele Giaquinta
86a5e8085a Remove scrollback_levelclear_levels setting and add a 'level' option to
'sb levelclear' to specify a comma separated list of levels.


git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4876 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-10-21 11:09:51 +00:00
Emanuele Giaquinta
5e4c08d8a1 Fix r4743 change, avoid sign extension.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4875 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-10-08 22:58:27 +00:00
Jilles Tjoelker
e563de4b81 Fix display of ratbox-style operspy whois (/whois !nick).
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4874 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-08-30 23:55:04 +00:00
Jilles Tjoelker
6e1d887a7a Ignore DNS not found errors when considering reconnect.
Contrary to the standards, these are often transient.


git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4873 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-08-25 16:34:02 +00:00
Jilles Tjoelker
84e1e871e7 Fix crash on startup if perl is compiled in.
bug #618


git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4872 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-08-23 16:05:47 +00:00
Emanuele Giaquinta
47f129e0a5 Call PERL_SYS_INIT3() and PERL_SYS_TERM() as documented in perlembed(1), patch
by Gerfried Fuchs (debian bug #495059).


git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4871 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-08-22 11:54:32 +00:00
Emanuele Giaquinta
7e3bf21139 Remove duplicated help file.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4870 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-08-22 11:47:21 +00:00
Emanuele Giaquinta
7c3e1437f3 Update NEWS.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4869 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-08-06 09:43:40 +00:00
Jilles Tjoelker
a7419662f7 Add some changes of mine to NEWS.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4868 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-08-06 00:47:59 +00:00
Emanuele Giaquinta
9fa8cbe7a2 Revert recode changes r4483 and r4715.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4867 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-08-02 13:15:38 +00:00
Emanuele Giaquinta
d788673eb9 Set null encoding for file channels.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4866 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-08-01 12:38:58 +00:00
Emanuele Giaquinta
13849ba4f2 Fix typos.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4865 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-08-01 12:27:37 +00:00
Jilles Tjoelker
3540d21ee1 Include various overheads in /sb status memory count.
Overheads caused by the "view" cache are not included.


git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4864 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-06-19 21:57:52 +00:00
Geert Hauwaerts
9d28437a57 Updated irssi.conf
- Added new networks: Rizon, GameSurge, LinkNet, WebChat, OFTC
- Changed the default IPv6 and IPv4 IRCnet servers


git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4863 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-06-18 21:52:36 +00:00
Emanuele Giaquinta
21abb51130 Cache charset related data rather than computing it everytime recode_{in,out}
is called.


git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4862 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-06-10 22:49:00 +00:00
Emanuele Giaquinta
bd63e4c746 s/nickserv ident/nickserv identify/
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4861 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-06-10 10:49:25 +00:00
Emanuele Giaquinta
f84a7d9e2b Add 'actlist_names' option to add active items names in 'act' statusbar item.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4860 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-06-10 10:21:00 +00:00
Emanuele Giaquinta
8c482d03a9 Pass NULL to settings_set_str to reset term_charset to its default
value rather than hardcoding the string.


git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4859 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-06-06 22:19:57 +00:00
Emanuele Giaquinta
1aa6cbc3f9 Remove kludge and add the 'setup changed' handler with higher priority
so that term_charset validation is performed before any use.


git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4858 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-06-06 22:07:56 +00:00
Wouter Coekaerts
1a79bd055c Fix /set hilight_level not taking effect immediately (bug #598). Patch by exg.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4857 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-06-04 19:33:00 +00:00
Emanuele Giaquinta
1e3e062b24 Simplify, append directly to GString rather than allocating a
temporary string.


git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4854 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-31 13:18:43 +00:00
Jilles Tjoelker
278dfd7f76 Reduce some memory waste in the scrollback buffer.
Formerly, TEXT_CHUNK_REC was slightly more than a page.
Due to glib changes (GMemChunk -> GSlice), this is now
malloced directly, and many mallocs round up allocations
larger than a page to page boundaries.
On a whole this seems to save about 10%.


git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4853 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-30 23:17:37 +00:00
Emanuele Giaquinta
7bf2ef0f6d Fix typo.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4852 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-27 18:20:23 +00:00
Emanuele Giaquinta
a01f13202f Fix leak.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4851 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-27 18:19:34 +00:00
Jilles Tjoelker
647c3cb4da Read more bytes at a time from servers.
(at most 2048 instead of 512)
This should reduce syscalls and TCP packets.


git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4849 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-24 20:55:27 +00:00
Emanuele Giaquinta
d917a439da Cosmetic.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4848 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-24 15:43:12 +00:00
Emanuele Giaquinta
58d050db7c Fix minor leak.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4847 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-23 11:19:43 +00:00
Emanuele Giaquinta
82d6797306 Reindent.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4846 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-23 10:05:44 +00:00
Emanuele Giaquinta
3236daa97a Fix leaks.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4845 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-23 09:59:59 +00:00
Emanuele Giaquinta
54f5beb8f5 Do nothing in word_complete if erase is true and we are not continuing
a completion.


git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4844 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-23 09:47:40 +00:00
Emanuele Giaquinta
8e8d46f211 Update NEWS.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4843 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-23 07:51:10 +00:00
Emanuele Giaquinta
ae18e36735 Fix command description.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4842 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-23 07:44:16 +00:00
Emanuele Giaquinta
f053542dcf Extend net_sendbuffer by adding a LINEBUF_REC member and a net_sendbuffer_receive_line
function to read linewise from the associated io channel.
Rewrite irc/dcc/proxy read logic on top of it.


git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4841 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-22 22:38:29 +00:00
Jilles Tjoelker
9f99376a8a Allow increasing the send buffer to 1MB/connection, and warn if that is exceeded.
It should really close connections that exceed the
limit, but does not do that yet.


git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4840 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-22 21:42:29 +00:00
Emanuele Giaquinta
ba80576b1e Remove some global variables used to store settings values, instead get the
values when needed.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4836 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-19 21:55:04 +00:00
Emanuele Giaquinta
547e3defc2 Add 'list' option to bind command to list all the available commands and remove
hardcoded list in bind help.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4835 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-19 11:25:14 +00:00
Wouter Coekaerts
f9376ec8e7 Improve descriptions of key bind items
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4834 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-18 20:49:20 +00:00
Emanuele Giaquinta
87e1889e83 Update option names after r3080.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4833 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-18 14:47:01 +00:00
Emanuele Giaquinta
9b730ecab6 Remove duplicated help file.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4832 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-18 14:31:03 +00:00
Emanuele Giaquinta
ad5059da77 Clarify the meaning of 'port' option for 'server add', patch by Dyana Wu.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4831 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-18 14:03:35 +00:00
Emanuele Giaquinta
548e5115bb Add 'word_completion_backward' command to scroll backwards in the completion
list, bug #313.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4830 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-17 13:12:21 +00:00
Emanuele Giaquinta
4faa743972 Pass NULL to settings_set_str to reset recode_fallback to its default
value rather than hardcoding the string, fixes also a possible invalid
g_free reported by Sven Wegener.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4829 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-17 09:42:23 +00:00