Emanuele Giaquinta
9003a61629
Move recoding of outgoing messages into irc send_message routine. Handlers for
...
message own_{private,public} now receive the message in the client encoding.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4890 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-09 23:33:24 +00:00
Emanuele Giaquinta
9ce4352e1d
Move recoding of incoming quit messages to irc 'event quit' handler.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4889 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-09 23:06:37 +00:00
Emanuele Giaquinta
c647f8b206
Revert part of r4041. It is not clear which bug it is supposed to fix, and the
...
change seems wrong anyway because notice/action message is already recoded in
fe-events.c:event_notice/ctcp_action.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4888 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-09 19:37:25 +00:00
Emanuele Giaquinta
110f94ceb6
Recode a WALL message also when sending a notice to @#channel.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4887 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-08 22:09:20 +00:00
Emanuele Giaquinta
483589efb5
Recode an incoming quit message once with a nick charset preference rather than
...
doing it for every joined channel the user was in with a channel charset
preference.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4885 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-04 14:05:57 +00:00
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
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
Emanuele Giaquinta
9da9751aca
Document config_node_set_str.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4757 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-11 14:32:04 +00:00
Emanuele Giaquinta
4ca476d465
Fix typos.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4756 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-11 13:26:33 +00:00
Emanuele Giaquinta
75352a5998
Keep documentation for public api only in headers to avoid duplication.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4755 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-11 13:25:33 +00:00
Emanuele Giaquinta
88a7492566
Remove unused macros.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4753 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-10 21:31:35 +00:00
Emanuele Giaquinta
f74cc02f97
Disable versioning for the proxy module, patch by darix.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4750 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-10 15:21:45 +00:00
Emanuele Giaquinta
da232b18c1
Make line_add_colors part of the textbuffer api.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4748 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-10 12:05:43 +00:00
Emanuele Giaquinta
a3526caf41
Make a copy of the entry buffer only when a paste begins rather than
...
everytime a key is pressed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4747 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-10 09:48:02 +00:00
Emanuele Giaquinta
02a10e4f9c
Do not buffer keys when waiting for paste confirmation.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4746 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-09 23:57:28 +00:00
Emanuele Giaquinta
37381fe1bc
Simplify history handling in key_send_line.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4745 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-09 23:03:45 +00:00
Emanuele Giaquinta
ef47cde2b9
Rename variable.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4744 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-09 18:16:50 +00:00
Emanuele Giaquinta
b5fe742ace
Replace usage of get_utf8_char with g_utf8_get_char_validated and
...
factor the corresponding code into a function.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4743 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-09 18:08:40 +00:00
Emanuele Giaquinta
fee983d9fc
Replace usage of get_utf8_char with g_utf8_get_char_validated.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4742 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-09 16:41:20 +00:00
Emanuele Giaquinta
72930e0be3
Use g_ascii_str{,n}casecmp for case insensitive comparison with
...
ascii only strings.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4739 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-09 12:17:55 +00:00
Emanuele Giaquinta
7df46597e1
Use g_ascii_str{,n}casecmp for case insensitive comparison with
...
ascii only strings.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4738 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-09 12:01:16 +00:00
Emanuele Giaquinta
496d82ac48
Fix indentation.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4737 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-09 11:13:09 +00:00
Emanuele Giaquinta
a3021ccf5f
Use GIOChannel API to read a file linewise.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4736 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-09 11:08:44 +00:00
Emanuele Giaquinta
2b0ebef911
Remove unneeded includes.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4735 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-07 19:33:23 +00:00
Emanuele Giaquinta
f93befe282
g_mem_set_vtable must be called before using any other GLib functions.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4734 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-07 15:11:24 +00:00
Emanuele Giaquinta
8c3e50489f
Remove useless PERL_LIBTOOL indirection.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4731 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-07 10:56:38 +00:00
Emanuele Giaquinta
3e37906cf7
Remove long unmaintained botnet module.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4723 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-04 18:15:51 +00:00
Emanuele Giaquinta
af3b0b2b93
Replace g_strdup+g_str{up,down} with g_ascii_str{up,down}.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4721 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-04 10:42:23 +00:00
Emanuele Giaquinta
40f7904a1a
Remove unneeded upcasing (level_get matching is case-insensitive).
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4720 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-04 09:48:49 +00:00
Emanuele Giaquinta
65f43a705c
Group together declarations for string functions.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4719 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-03 12:33:17 +00:00
Emanuele Giaquinta
cb7d969963
Rename some variables.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4718 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-03 01:57:50 +00:00
Emanuele Giaquinta
2e63374f31
Use g_strchomp to remove trailing whitespace.
...
This fixes an invalid read, when the string is empty, reported by Enrico Scholz.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4717 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-02 19:54:34 +00:00
Jilles Tjoelker
4e2fcc71ae
Show setter/time in +I lists, if sent by the server.
...
Code mostly copied from +e.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4716 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-02-20 20:28:07 +00:00
Emanuele Giaquinta
0eb386ecd8
Move output recoding in irc_send_cmd_full.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4715 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-02-16 23:28:53 +00:00
Emanuele Giaquinta
a0400dc3d2
Rename config.h to irssi-config.h to avoid collisions.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4714 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-02-16 11:13:45 +00:00
Emanuele Giaquinta
f1a00f7643
Fix argument name in declaration.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4712 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-02-15 23:44:46 +00:00
Emanuele Giaquinta
e79829b6a5
Remove unneeded includes.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4709 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-02-05 15:03:33 +00:00
Emanuele Giaquinta
1ea1c6f813
Remove check for ancient default.theme.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4707 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-02-05 01:15:38 +00:00
Emanuele Giaquinta
4fb888ce80
Remove support for perl 5.004 and older.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4706 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-02-05 01:01:06 +00:00
Emanuele Giaquinta
ffe5bd6930
Remove trailing whitespace.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4705 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-02-04 15:30:38 +00:00
Emanuele Giaquinta
dfb91dc79a
Fix deps.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4702 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-02-04 00:30:38 +00:00
Emanuele Giaquinta
ab8da71d29
Remove popt and use glib GOption commandline option parser
...
(glib-2.6 is now the minimum required version).
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4700 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-02-03 16:48:02 +00:00
Emanuele Giaquinta
c403b70de4
Remove broken by design /set translation.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4698 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-02-02 18:36:57 +00:00
Emanuele Giaquinta
ee59980363
Remove unneeded include.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4697 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-02-02 18:05:05 +00:00
Emanuele Giaquinta
feab8e7503
Fix indentation.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4696 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-02-02 17:54:51 +00:00
Emanuele Giaquinta
2d417002bb
Remove term-curses.h (was added for cuix).
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4695 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-02-02 10:13:42 +00:00
Emanuele Giaquinta
036b1d3300
Reset colors and attributes on newline.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4694 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-02-01 16:02:56 +00:00
Emanuele Giaquinta
2fbde1a24e
Properly initialize and reset last_{fg,bg}.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4693 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-01-28 11:07:11 +00:00
Emanuele Giaquinta
3e700f4b20
Do not export iopt_tables pointer.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4690 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-01-25 12:43:16 +00:00
Emanuele Giaquinta
e13216adf7
Update the terminfo backend to query the 'colors' capability and support more
...
than 16 colors (sync from icecap).
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4687 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-01-25 11:20:40 +00:00
Emanuele Giaquinta
3e5ad97676
Do not assume that bit 0x80 enables blink, rather call set_blink when
...
blink is requested.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4686 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-01-24 13:39:17 +00:00
Emanuele Giaquinta
fab544bdbe
Add function to set blink to the terminfo backend.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4685 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-01-24 09:47:08 +00:00
Emanuele Giaquinta
ac006c3442
Remove empty function.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4684 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-01-24 09:40:10 +00:00
Emanuele Giaquinta
f5194e296d
Remove undocumented /RAWQUOTE command.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4676 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-01-21 17:30:14 +00:00
Emanuele Giaquinta
3edcc7a611
Reindent.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4675 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-01-21 15:44:05 +00:00
Emanuele Giaquinta
b9a26388b5
Simplify.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4674 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-01-21 15:41:12 +00:00
Emanuele Giaquinta
3c7c3941d7
Remove .cvsignore files.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4672 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-01-21 11:49:10 +00:00
Emanuele Giaquinta
7b08caa814
Remove unneeded resets of paste_keycount (check_pasting will reset it
...
at the next call).
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4670 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-01-21 11:06:46 +00:00
Emanuele Giaquinta
f7856f2071
Move code to insert paste prompt into its own function.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4669 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-01-21 10:50:50 +00:00
Jilles Tjoelker
7d30a05879
Apply -usermode before -autosendcmd.
...
The -usermode is now implicitly treated as a requested
usermode change; the MODE command setting it is not
redirected. This is good because user MODE may or may
not give a reply and this could be confused with the MODE
message indicating the initial usermode.
Possible issue here: '-' modes in -usermode persist only
until you change your umode via /mode.
Bug #548
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4668 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-12-23 16:48:24 +00:00
Emanuele Giaquinta
6331ffdc2b
Revert r2471, having the erase commands clear the cutbuffer when the
...
line is empty is annoying and not useful.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4667 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-12-12 12:35:14 +00:00
Emanuele Giaquinta
cce9683658
Simplify is_valid_charset by just checking with g_iconv_open that the
...
conversion is supported.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4665 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-12-09 16:10:07 +00:00
Emanuele Giaquinta
1b99b57e4f
Add 'active' tag for active logs in /log output.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4664 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-12-09 14:39:06 +00:00
Emanuele Giaquinta
519b8f1b8d
Simplify itemcmp.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4656 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-12-05 23:36:33 +00:00
Emanuele Giaquinta
fee12d7e84
Remove gettext leftover.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4652 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-12-05 14:29:08 +00:00
Emanuele Giaquinta
1d74d1e21f
Reindent.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4651 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-12-05 13:06:55 +00:00
Emanuele Giaquinta
338834c08c
Fix typo.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4650 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-12-05 13:04:48 +00:00
Emanuele Giaquinta
474699f14d
Remove unneeded casts.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4647 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-11-20 13:34:45 +00:00
Emanuele Giaquinta
66080034ee
Fix last change.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4646 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-11-19 10:34:40 +00:00
Jilles Tjoelker
d5ea8d7bbc
autolog: do not create *.log, send it to <your nick>.log instead
...
*.log resulted from server notices to * (as sent by
ratbox) for example, and was subsequently interpreted
as a wildcard (note that only * alone is a wildcard for
log targets).
Bug #533
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4645 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-11-18 21:33:11 +00:00
Jilles Tjoelker
0efac764f6
Pass through (redirect) WHOWAS reply to proxy clients.
...
Bug #490 (patch from Alex Schumann)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4644 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-11-18 21:21:51 +00:00
Emanuele Giaquinta
c1b446e5ed
Saner fix for bug #35 .
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4642 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-11-17 21:50:31 +00:00
Emanuele Giaquinta
5c91508b78
Reload the layout after saving it, fix bug #35 .
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4641 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-11-17 16:42:21 +00:00
Jilles Tjoelker
18f2a0fc67
Do not allow /ping by itself to ctcp ping a channel.
...
This is like the new /ver behaviour.
Bug #542 , patch by Geert with tweaks by exg
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4640 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-11-17 16:35:47 +00:00
Emanuele Giaquinta
5bf14bbbe5
Fix grammar errors, patch by Mikael Magnusson.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4639 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-11-16 11:30:37 +00:00
Jilles Tjoelker
90b66dbe6c
Rework redirections to deal with multiple concurrent redirects better.
...
These mostly happen when doing remote whois and the
target server is slow.
The code uses the source server but will try to do what it
can if servers think they need to mask it.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4638 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-11-14 23:02:40 +00:00
Jilles Tjoelker
fabecae6e6
Fix mode display in whois with unreal (379 numeric).
...
Bug #479
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4637 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-11-03 00:24:55 +00:00
Jilles Tjoelker
55c1685999
Remove a space that messed up alignment in whois mode replies.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4636 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-11-03 00:06:47 +00:00
Jilles Tjoelker
c4d88a3b72
Fix RPL_WHOISHOST (378) code and strip off the "*@" from the hostname.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4635 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-11-02 22:41:24 +00:00
Jilles Tjoelker
ffb294ae3f
Add support for RPL_WHOISACTUALLY (338), both ratbox and ircu style.
...
Note that the ratbox style only shows ip, this appears as
hostname: <ip> which is slightly different from the other
real host numerics.
Bug #428
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4634 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-11-02 22:40:36 +00:00
Jilles Tjoelker
7a48e35b34
Unbreak the build by removing idle_check_time from Irssi::Irc::Notifylist.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4633 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-11-02 12:02:45 +00:00
Jilles Tjoelker
78dad04c7b
Remove /notify -idle, it can only work with not-nice automated remote whois.
...
(causes infrequent "server load too heavy" etc)
If people really want this, they should write a script.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4632 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-10-31 22:58:44 +00:00
Emanuele Giaquinta
d9782fab84
Fallback on rename also when errno is ENOSYS/EOPNOTSUPP because
...
FUSE/BSD sets this value when link is not available.
Based on a patch by Juuso Tähkäpää, bug 536.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4631 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-10-29 15:37:31 +00:00
Wouter Coekaerts
37468a8641
Same for s/-fullword/-full/
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4628 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-10-22 16:45:48 +00:00
Emanuele Giaquinta
9fd8510d87
Handle server == NULL case in skip_target, fix regression with irssi-icb.
...
Patch by Stuart Henderson, bug #539 .
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4627 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-10-22 13:27:56 +00:00
Jilles Tjoelker
5f6a7547ee
Recognize 431/461 (not enough parameters) as end of whois reply.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4626 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-10-18 20:47:44 +00:00
Wouter Coekaerts
d5f4c983ec
Make /hilight output -mask instead of -nickmask, consistent with the parameter it expects.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4625 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-10-18 18:35:12 +00:00
Jilles Tjoelker
b99baa96a5
Also copy oper status when an already known user joins another channel.
...
(Realname and away status were already copied.)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4623 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-10-16 17:26:59 +00:00
Jilles Tjoelker
94c6e008ad
Update oper status from userhost reply.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4622 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-10-16 17:20:12 +00:00
Jilles Tjoelker
b0b26b6e77
Get -kicks and -msgs from TARGMAX and MAXTARGETS 005 tokens.
...
We do not do this for WHOIS because the resulting replies
tend to be buggy and inconsistent.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4617 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-10-12 15:09:12 +00:00
Geert Hauwaerts
4f03840ba8
Fix broken URI.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4612 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-10-11 16:02:27 +00:00
Jilles Tjoelker
c5b4e72382
Make alt/meta+arrow keys work in recent versions of xterm.
...
Bug #496
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4603 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-08-24 17:13:21 +00:00
Wouter Coekaerts
f5793daed5
Make /LASTLOG -after/-before work without text to match
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4601 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-08-22 19:31:47 +00:00
Emanuele Giaquinta
de4c2af324
Use autoconf PACKAGE_TARNAME/PACKAGE_VERSION macros rather than automake
...
PACKAGE/VERSION ones.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4597 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-08-07 14:55:14 +00:00
Emanuele Giaquinta
39d42bdad4
Fix /window goto to reach all the items with the same name when there
...
are more than two.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4595 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-08-04 16:38:01 +00:00
Emanuele Giaquinta
9af4399089
Replace 0 with NULL.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4591 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-08-04 12:49:57 +00:00
Wouter Coekaerts
dfb892559c
Add Perl bindings for some gui_entry methods.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4590 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-08-04 08:35:59 +00:00
Jilles Tjoelker
5a639efef3
- Make notices to +#channel (and all other STATUSMSG=)
...
appear in the channel window.
- Make actions and ctcp to @#channel etc appear in the
channel window.
- Clean up the code a little.
This fixes bug #46 apart from incoming msg to +#channel.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4589 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-08-03 17:24:25 +00:00
Emanuele Giaquinta
3823400390
Sort the layout to save by refnum.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4586 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-07-26 14:27:18 +00:00
Emanuele Giaquinta
022b6f183a
Fix typo.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4585 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-07-26 14:15:12 +00:00
Emanuele Giaquinta
927f7bc53e
Remove backward compatibility for very old options.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4584 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-07-26 14:06:38 +00:00