Jilles Tjoelker
3b72b51257
Update channel forwarding code.
...
This is now on numeric 470 instead of 379.
It works with hyperion and charybdis, and puts the
channel you were forwarded to in the window the original
channel would be in.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4575 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-07-08 16:44:35 +00:00
Jilles Tjoelker
131d92c4d3
Fix 477 numeric broken by r4572
...
(should be displayed in status if it's a join failure,
channel window otherwise)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4574 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-07-07 10:49:19 +00:00
Jilles Tjoelker
3f84c9d19d
/lastlog -file: use stdio instead of two write(2) calls per line
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4573 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-07-06 21:54:32 +00:00
Jilles Tjoelker
8312144547
Move the check for 4xx numeric for join failures last, so
...
that the CHANNEL_REC is still around when handlers for
specific numerics are executed. This allows removing the
ugly special case for 437; I will also use this for 470
(channel forwarding).
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4572 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-07-06 21:43:23 +00:00
Jilles Tjoelker
0b8bee080a
If 001 has not been received yet, also treat "Banned" or
...
"Bad user info" (case insensitive) in an ERROR message as
an indication of a server ban.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4571 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-29 18:45:14 +00:00
Emanuele Giaquinta
566f6d24be
Do not require that a line matches the input level to add it to the
...
'after' context, so that '/lastlog -hilight -after 10 foo' has the same
semantic as '/lastlog -hilight -before 10 foo'.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4570 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-28 22:50:58 +00:00
Emanuele Giaquinta
bc45b39030
Do not compile the regexp if the input string is empty.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4569 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-28 18:29:03 +00:00
Emanuele Giaquinta
b67f641ac1
Remove cuix from trunk.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4560 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-17 14:40:13 +00:00
Jilles Tjoelker
98e3a37d7b
Use $(mkdir_p) instead of if [ ! -d X ]; then mkdir X; fi,
...
fixing a race condition with parallel builds.
Submitted by mandriva
Slightly simplified by me
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4559 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-17 13:22:36 +00:00
Emanuele Giaquinta
95a1e5dce3
Document -window option of join command.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4557 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-16 15:11:42 +00:00
Emanuele Giaquinta
d434820cd7
Use again MSGLEVEL_NICKS for printing a nick change in queries, broken in
...
r2389.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4556 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-16 15:02:17 +00:00
Emanuele Giaquinta
f0cf56bda4
Revert r4549.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4555 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-16 14:58:13 +00:00
Emanuele Giaquinta
3845518b3a
Fix comment.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4554 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-16 14:50:05 +00:00
Jochen Eisinger
d700521273
fix off by one error when extracting e.g. fe from fe_silc
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4553 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-14 19:12:10 +00:00
Timo Sirainen
8e178969ac
Removed special error==1 handling from net_gethosterror(). It wasn't used
...
anymore, and even when it originally was used it was wrong.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4551 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-10 19:37:06 +00:00
Emanuele Giaquinta
3a1ef5d9eb
Make /window goto start searching at the window after the active one and stop
...
at the one before, bug #332 .
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4550 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-10 18:00:26 +00:00
Emanuele Giaquinta
d51a03ed01
Make -window option of /join and /query accept an optional numeric argument
...
that specifies the refnum of the window to create the item in, bug #203 .
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4549 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-10 17:15:14 +00:00
Emanuele Giaquinta
db0eac61e4
When parsing a '@' option verify that the whole argument, rather than only the
...
first character, is numeric.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4548 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-10 17:07:31 +00:00
Jilles Tjoelker
9d6335735b
Add support for the ACCEPT command, which is part of the
...
CALLERID server side ignore system in hybrid7 and derived
ircds.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4546 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-08 18:49:24 +00:00
Jilles Tjoelker
10ae40c368
Various updates/enhancements/fixes to the help files.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4545 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-08 15:59:02 +00:00
Jilles Tjoelker
ff63982d4f
Don't add the same mask to the knockout list multiple times.
...
This fixes bug #510 . Note that #510 only happened if multiple
bans were sent before the MODE came back and multiple unbans
were sent before the MODE came back.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4544 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-06 17:57:28 +00:00
Emanuele Giaquinta
0bfffb33ce
Enhance /set completer to complete option names also when a command option
...
is present and to complete option values.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4543 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-06 17:49:10 +00:00
Emanuele Giaquinta
64e6e92f20
Add g_strdup forgotten in r4471.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4542 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-06 16:55:48 +00:00
Jilles Tjoelker
78e24b0378
Put "account" before services login name (330 numeric, whois_extra).
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4541 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-05 20:24:33 +00:00
Emanuele Giaquinta
51ab0c1350
Cleanup cmd_set by moving the code to print the settings matching a
...
pattern in its own function and using settings_get_record for exact
matching.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4540 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-05 12:03:18 +00:00
Emanuele Giaquinta
1e5554a203
Remove code duplication.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4539 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-05 11:27:58 +00:00
Emanuele Giaquinta
b228bb30f5
Change active_window to select, when there is more than one window
...
with the highest data level, the window with the lowest refnum.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4538 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-04 09:59:03 +00:00
Jilles Tjoelker
c0674522ae
- Repair channels_rejoin_unavailable. Enabled by default,
...
this retries joins that failed because of netsplits
(channel temporarily unavailable (437), duplicate channel)
A few servers abuse 437 for juped channels which should
not be retried, you should disable channels_rejoin_unavailable
if this is a problem.
- Display 437 and 407 numerics if channels_rejoin_unavailable
is not enabled.
Bug #495
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4537 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-03 13:08:47 +00:00
Emanuele Giaquinta
273152762f
Rewrite SSL connection/handshake code.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4536 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-31 23:56:51 +00:00
Emanuele Giaquinta
5bcafebbd4
Assume width 1 for control characters in places where a non-negative width is
...
expected.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4535 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-31 13:56:35 +00:00
Emanuele Giaquinta
d3687d8a97
Rename IS_PRINTABLE macro to unichar_isprint and move it to utf8.h.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4534 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-31 13:19:05 +00:00
Jochen Eisinger
bd7bc8781b
skip fe_common prefix when freeing prefix list
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4533 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-31 06:37:13 +00:00
Jilles Tjoelker
1f009670a1
Apply patch from bug #202 (from "Irssi Fan"); when calling
...
reconnect_save_status() for a server that has not sent 001
yet, do not free and reallocate conn->channels twice, and do
not copy the channels if server->connrec->no_autojoin_channels
is set. It seems a special case because reconnect_save_status()
is not usually called for servers that have not sent 001
yet, but it can't really hurt.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4532 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-30 21:18:22 +00:00
Emanuele Giaquinta
b05e103ad9
Cleanup and optimize a bit sig_statusbar_activity_hilight.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4531 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-30 21:17:59 +00:00
Emanuele Giaquinta
326084e883
Do not install utf8.h, it is a private header.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4530 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-30 17:30:35 +00:00
Emanuele Giaquinta
152acd26ec
Fix build after last change to option processing.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4529 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-29 08:19:24 +00:00
Jilles Tjoelker
ee2c45beec
- Display more numerics (such as cannot send to channel,
...
cannot /msg, user is +g) in the channel or query window,
if any.
- Put the target name in front of "generic" numerics
printed to the channel/query window (useful if there are
multiple in one window, or if there is no such window).
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4526 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-28 13:59:05 +00:00
Emanuele Giaquinta
20d8f4d26b
Hide --session from --help output and remove its mention from the manual,
...
internal use only.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4525 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-26 12:19:08 +00:00
Emanuele Giaquinta
fda5181dbd
Oops.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4524 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-26 12:00:15 +00:00
Jilles Tjoelker
f8eada63c7
Pick up host changes on charybdis and ircu servers (396 numeric).
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4523 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-25 23:27:27 +00:00
Emanuele Giaquinta
4f98e29bab
Make word commands unicode friendly.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4522 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-25 23:21:38 +00:00
Emanuele Giaquinta
8a9da9cf2d
Add function to delete the whole cell under the cursor and use it for
...
delete_character.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4521 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-25 22:21:39 +00:00
Emanuele Giaquinta
ceea629e3e
Move the cursor cell-wise in utf8.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4520 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-25 22:13:24 +00:00
Emanuele Giaquinta
a429e2bf23
Forbid insertion of a character with width 0 as the first character in
...
the prompt.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4519 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-25 22:06:32 +00:00
Emanuele Giaquinta
a8741bd799
Replace utf8_width with Markus Kuhn's wcwidth.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4518 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-25 21:56:30 +00:00
Emanuele Giaquinta
24bf34c6ca
Move 'version' option in main.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4511 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-24 00:44:29 +00:00
Emanuele Giaquinta
841cd8d0cf
Cleanup option handling.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4510 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-24 00:25:36 +00:00
Emanuele Giaquinta
afa4292466
Farewell glib-1.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4509 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-20 23:13:29 +00:00
Jilles Tjoelker
cb1287ab63
If we get a ERR_NOSUCHNICK for the nick "*", display
...
the text in the numeric rather than a fixed "no such
nick/channel". This often contains more information for
at least ircu/ratbox/charybdis (Target left IRC with
failed text when /msg crosses quit/split).
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4508 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-20 20:07:12 +00:00
Jilles Tjoelker
bf937e5e69
Fix recognition of realnames starting with spaces in /who replies.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4507 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-20 19:29:38 +00:00