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

3142 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
Emanuele Giaquinta
b8ac543f82 Stop the 'complete word' signal in the default completer when the
channel name completion list is non empty, bug #316.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4828 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-16 12:46:09 +00:00
Emanuele Giaquinta
24fe627a25 Complete server tags for /window server.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4827 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-15 17:17:53 +00:00
Emanuele Giaquinta
37b8c55640 Use a GString rather than g_strdup_printf to build the format string.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4826 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-15 16:54:01 +00:00
Emanuele Giaquinta
aa002fa78c Re-add sort by level / aux-sort by refnum and re-map actlist_sort
'level' value to it. Add 'level,recent' value for sort by level /
aux-sort by most recent activity. Requested by tomaw.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4824 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-15 10:54:03 +00:00
Emanuele Giaquinta
764f311a8b Use g_get_charset to check if the locale codeset is UTF-8.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4822 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-14 09:11:31 +00:00
Emanuele Giaquinta
b44bcd68cb Use g_get_charset to retrieve the locale codeset.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4821 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-14 08:58:04 +00:00
Emanuele Giaquinta
c54fa04781 Remove theme format and signal doc for no more notify idle code.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4820 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-14 08:29:33 +00:00
Emanuele Giaquinta
fd44be823e Use g_input_add_poll to create a watcher for an fd.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4819 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-13 14:43:33 +00:00
Emanuele Giaquinta
e592a1f085 Remove note about the need to restart irssi in windows_layout_saved
theme format, bindings are instantly effective now.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4818 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-13 14:35:02 +00:00
Emanuele Giaquinta
97da8b64f4 Set PL_perl_destruct_level to 1 before calling perl_destruct, without
it /script reset may cause irssi to crash.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4817 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-13 14:27:03 +00:00
Emanuele Giaquinta
b85e843297 Update notify_list theme format for idle option removal.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4816 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-12 23:46:33 +00:00
Emanuele Giaquinta
09afda5234 Make some functions static.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4815 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-04-28 22:35:31 +00:00
Emanuele Giaquinta
e32e6fea4b Make some variables static.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4814 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-04-28 09:27:13 +00:00
Emanuele Giaquinta
cad6fb2e19 Refactor code to create a watcher for an fd into a function.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4813 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-04-25 08:42:47 +00:00
Emanuele Giaquinta
e88bd31323 Use term_add_unichar to print ucs-4 chars.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4812 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-04-21 20:44:04 +00:00
Emanuele Giaquinta
83ad9855e7 Reindent.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4811 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-04-21 20:23:17 +00:00
Emanuele Giaquinta
a6090c7f8f Remove no longer needed kludge to inhibit writing in the last cell.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4810 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-04-21 17:32:55 +00:00
Emanuele Giaquinta
951a0de704 Fix leak with $L expando.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4809 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-04-21 14:00:02 +00:00
Emanuele Giaquinta
eb6ee3136f Simplify.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4808 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-04-20 10:27:32 +00:00
Emanuele Giaquinta
0957ac5dfe Simplify computation of TERM_REC fields offsets using G_STRUCT_OFFSET/G_STRUCT_MEMBER_P.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4807 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-04-20 09:24:12 +00:00
Emanuele Giaquinta
7bd938542e Remove non-working detach/attach code.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4806 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-04-19 15:01:16 +00:00
Emanuele Giaquinta
e361d2f498 Remove the need to buffer input by moving the 'gui key pressed' events
generation into term_gets.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4805 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-04-16 21:14:05 +00:00
Emanuele Giaquinta
77dd63ac83 Make last_{fg,bg,flags} members of TEXT_BUFFER_REC.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4804 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-04-16 20:32:36 +00:00
Emanuele Giaquinta
2aac604293 Remove workaround no longer needed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4803 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-04-11 21:27:12 +00:00
Emanuele Giaquinta
0b9a3f4aef Factor strchr call.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4802 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-04-08 13:02:56 +00:00
Emanuele Giaquinta
b2c8ba134b Slightly optimize update of activity list when a window is destroyed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4801 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-04-06 19:19:46 +00:00
Emanuele Giaquinta
2e78cb54e0 Really make actlist_sort = level match active_window ordering.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4800 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-04-06 19:07:38 +00:00
Emanuele Giaquinta
e2362f7884 Partly revert r4796, it is not a bug but by design that
recode_fallback is honored only when the terminal encoding is utf-8.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4799 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-04-05 17:07:37 +00:00
Emanuele Giaquinta
c280030608 Restore the behaviour of active_window to go to the window with most recent activity
between the ones with highest data level, and make actlist_sort = level match this 
ordering.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4798 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-04-05 14:09:01 +00:00
Emanuele Giaquinta
68763eb4e8 Cosmetics.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4797 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-04-05 13:11:22 +00:00
Emanuele Giaquinta
76fb9b6ac2 Fix logic in recode_in:
Honour recode_fallback also when the terminal encoding is not utf-8.
Return the string as it is when the terminal encoding is utf-8, the
string is valid utf-8, and the first conversion failed, rather than
trying again the same conversion.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4796 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-04-05 13:07:26 +00:00
Emanuele Giaquinta
2f13aacf43 Change type of 'chr' argument in terminfo_repeat/term_addch to 'char'.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4795 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-04-04 08:41:44 +00:00
Emanuele Giaquinta
e8ae6d827d Always use g_realloc rather than using g_malloc when the pointer
is NULL.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4794 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-04-02 11:07:03 +00:00
Emanuele Giaquinta
d39d949b79 Print warning messages to stderr rather than to stdout.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4793 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-31 21:55:12 +00:00
Emanuele Giaquinta
f50b700ed3 Set is_readable/is_writeable/use_buffer flags.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4792 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-30 14:13:52 +00:00
Emanuele Giaquinta
f34b9bba3b Make irssi_ssl_{seek,close} call giochan->funcs->io_{seek,close}
rather than g_io_channel_{seek,close}.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4791 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-30 14:05:39 +00:00
Emanuele Giaquinta
26a1d639e7 Use g_io_channel_unref rather than g_io_channel_close for file
channels.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4789 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-30 13:30:52 +00:00
Emanuele Giaquinta
1ffed412c6 Implement linebuf_find using memchr.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4788 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-30 13:23:12 +00:00
Emanuele Giaquinta
fa50bb7209 Remove useless assignment.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4787 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-30 09:54:53 +00:00
Emanuele Giaquinta
683738e935 Move autorun_startup in fe-common-core.c and remove autorun.{c,h}.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4785 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-29 18:15:34 +00:00
Emanuele Giaquinta
7e4bc5c7f4 Remove unneeded includes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4784 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-29 10:26:05 +00:00
Emanuele Giaquinta
7e1128029f Move net_disconnect_later declaration from network.h to net-disconnect.h.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4783 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-29 10:25:15 +00:00
Emanuele Giaquinta
d198fa0abb Use g_io_channel_seek_position in irssi_ssl_seek.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4782 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-28 23:03:17 +00:00
Emanuele Giaquinta
cd9e7e110a Remove useless uses of replace_chars.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4781 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-28 18:30:26 +00:00
Emanuele Giaquinta
cdaf0c72e8 Make strstr_full_case internal.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4778 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-28 12:59:26 +00:00
Emanuele Giaquinta
3dcfe43579 Move selection of string searching function out of the loop by using a
function pointer.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4777 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-28 12:42:27 +00:00
Emanuele Giaquinta
be3818930a Remove unused global use_ssl and ssl_* settings.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4776 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-15 19:13:38 +00:00
Emanuele Giaquinta
010a6e99ae Revert unrelated changes slipped in r4774.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4775 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-15 19:10:26 +00:00
Emanuele Giaquinta
546e06c8b5 Fix typo.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4774 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-15 18:40:37 +00:00
Emanuele Giaquinta
8ccdc7267f Simplify recode target computation.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4773 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-15 14:51:06 +00:00
Emanuele Giaquinta
52053f1717 Use g_ascii_str{,n}casecmp for case insensitive comparison with
ascii only strings.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4772 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-15 13:27:17 +00:00
Emanuele Giaquinta
4b4980badd Replace tab between else and opening brace with space.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4771 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-15 13:19:41 +00:00
Emanuele Giaquinta
81ef5de591 Remove silly macro.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4770 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-15 13:02:55 +00:00
Emanuele Giaquinta
074b121858 Remove trailing whitespace.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4769 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-15 12:58:20 +00:00
Emanuele Giaquinta
31c341ff56 Replace missed strncasecmp calls with g_ascii_strncasecmp.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4767 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-14 19:06:32 +00:00
Emanuele Giaquinta
dee3b35ba2 Honour -channels preference for ignore -replies, fix bug #227.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4766 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-14 18:57:58 +00:00
Emanuele Giaquinta
aea2e737f9 Make /layout reset take effect immediately.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4765 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-14 12:39:35 +00:00
Emanuele Giaquinta
ca1bb6a8ed Make ignore exceptions take precedence over ignores in all cases, as documented.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4764 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-14 12:25:01 +00:00
Emanuele Giaquinta
db5b348b5e Remove code duplication in ignore_check.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4763 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-14 11:54:43 +00:00
Emanuele Giaquinta
aa602a00ac Do not check for standard C headers.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4761 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-14 10:34:34 +00:00
Emanuele Giaquinta
e1713c17cb After last change paste_entry includes the key before the one
that begins the pasting, so do not add the same key to paste_buffer,
otherwise it will show up twice.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4760 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-12 09:59:35 +00:00
Emanuele Giaquinta
30aee7b46c Move lib-config typedefs in iconfig.h.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4759 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-11 14:55:46 +00:00
Emanuele Giaquinta
fb7736fb21 Use struct name rather than typedef name in pointer declaration.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4758 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-11 14:52:56 +00:00