1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00
Commit Graph

2978 Commits

Author SHA1 Message Date
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
Emanuele Giaquinta
e55d0a862c Change 'actlist_moves' boolean to 'actlist_sort' string which specifies the
sorting type to use for the activity bar:
- refnum (default)
- recent (same as actlist_moves on)
- level (sort by window level, same ordering used by active_window command)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4583 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-07-26 13:53:22 +00:00
Jilles Tjoelker
380d0d3d38 SSL: Fix assertion failures when net_connect_ip() detects
an error, e.g. bad bind address, localhost connection
refused.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4577 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-07-08 19:00:42 +00:00
Jilles Tjoelker
55c2d17c2b Fix crash when SSL-connecting to something which closes
the connection immediately. Also clarify the error message
when the SSL handshake fails.
This bug was introduced after 0.8.11.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4576 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-07-08 18:39:32 +00:00
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
Jochen Eisinger
433c3795ae add fe_common to the list of possible submodules
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4503 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-20 16:38:28 +00:00
Emanuele Giaquinta
9dc678e1d3 Factor common code in recode_{in,out}.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4499 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-18 14:41:44 +00:00
Emanuele Giaquinta
4058a9338f Use CASEMAPPING dependent comparison to match channel names.
Patch by Jon Mayo, bug #436.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4497 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-18 09:56:08 +00:00
Emanuele Giaquinta
38c3984d10 Fix irc_nickcmp_ascii by mapping only ASCII 65-90 to the corresponding
lowercase counterparts.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4496 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-18 09:51:30 +00:00
Emanuele Giaquinta
0e4fc15add Use rfc1459 comparison for nicks by default (it is not a functional change
because irc_nickcmp_ascii is bogusly the same as irc_nickcmp_rfc1459).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4495 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-18 09:49:11 +00:00
Emanuele Giaquinta
c235c679cc Remove code duplication.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4493 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-14 21:22:41 +00:00
Wouter Coekaerts
0a9a05c5c0 Update chanop flag before emitting nick mode changed signal (patch by Johan Kiviniemi)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4492 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-12 13:19:35 +00:00
Emanuele Giaquinta
a7f2fc3535 Allow logging of lines with no target only to logs with no items or with a
wildcard item.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4491 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-10 20:33:02 +00:00
Wouter Coekaerts
9c2d621cc6 Oops. Update address correctly now.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4490 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-08 18:41:10 +00:00
Wouter Coekaerts
023026e12b Update FSF address
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4489 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-08 18:16:58 +00:00
Emanuele Giaquinta
2b2b904ada Do not call iconfig_get_str when target is NULL.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4487 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-06 16:22:09 +00:00
Emanuele Giaquinta
6f9dbc794d Do not recode the channel name used as target for the recoding of
input line.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4486 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-06 16:15:31 +00:00
Emanuele Giaquinta
7ae34b2877 Off-by-one in parsing the channel name.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4485 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-06 15:13:30 +00:00
Emanuele Giaquinta
bfc0b362e8 Move input recoding in irc_server_event.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4483 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-05 15:37:58 +00:00
Emanuele Giaquinta
56902320b4 Revert, do not use IS_PRINTABLE in reverse_controls.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4475 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-03 21:37:43 +00:00
Emanuele Giaquinta
7c84b6fc2e Add common IS_PRINTABLE macro.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4474 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-03 15:49:19 +00:00
Emanuele Giaquinta
b8380772e2 Remove broken code that prevents unloading of a script in some cases.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4473 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-03 08:42:33 +00:00