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

437 Commits

Author SHA1 Message Date
Emanuele Giaquinta
1b27be4abc Emit message irc own_{action,notice,wall} and message dcc own{,_action} with
message in client encoding.


git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4891 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-09 23:53:40 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
f866799bb0 Use dynamic storage for return value of channel_get_nickmode.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4471 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-04-29 12:26:02 +00:00
Wouter Coekaerts
ea9f3be18c This patch fixes the problem that irssi keeps saying Netsplit over for joins from a certain user, if that user split and then rejoined some but not all channels they used to be in. (by Jilles Tjoelker)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4376 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-22 08:49:10 +00:00
Wouter Coekaerts
e76afb528d Fix whois_hide_safe_channel_id: only look at the beginning of a channel name, not in the middle
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4268 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-05-18 12:33:07 +00:00
Timo Sirainen
429bb1e05b Using "/VER" in channel now doesn't directly ask CTCP VERSION from it.
Channel name or "*" is required as parameter. It still works in query
though.



git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4080 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-11-19 16:44:28 +00:00
Valentin Batz
0b8a23ad63 fixed a bug in recode when target is NULL and really use the recoded string for printing
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4042 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-10-16 11:16:33 +00:00
Valentin Batz
4a7107437d fixed recode for actions and added recode for numeric events
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4041 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-10-15 18:45:25 +00:00
Valentin Batz
d8d47ef37f fixed recoding of own messages.
recode after expand_emphasis
remove the redundant call to setlocale(LC_CTYPE, )


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4038 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-10-12 18:22:14 +00:00
Valentin Batz
fd476e8b31 Make the compiler happy by replacing 'const char *' by 'char *'.
Pass the pointer to the SERVER_REC to dcc_ctcp_message.
Recode 'own' messages back for printing just before they actually get printed. (ugly but more effective than adding all the signals in fe-recode and doing it there)
Replaced SERVER_REC by IRC_SERVER_REC in dcc-chat.c since it's belongs to IRC(makes the compiler happy again).

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4034 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-10-10 18:32:32 +00:00
Wouter Coekaerts
262086c781 with unknown (special) lines in whois, display the full content, not just the first parameter
(this may include "real content" as well as the description of what that field means)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3989 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-09-10 03:23:27 +00:00
Wouter Coekaerts
4a8ebb150a - rename "whois not found" to "whois try whowas", because that's what needs to be done when the signal is sent (and it doesn't mean whois_not_found should be printed)
- rename "whois event noserver" to "whois event not found", because the signal means the nickname wasn't found (but it comes as a "no such server" because it was a /whois nick nick), whois_not_found should be printed, and so it makes sense to also use it for the next fix:
- send "whois event not found" for 401, when auto_whowas is off, so the message is displayed correctly (Bug 295)
- handle 402 the same with auto_whowas off as with on, (fixes /whois with not existing server specified, with auto_whowas off).
- and since the auto_whowas on and off cases are similar now, merge them together, so they stay consistent.

- pass every argument given to /whowas to the server, not just the first (count). Fixes remote whowas (Bug 256)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3988 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-09-10 01:36:06 +00:00
Valentin Batz
a65e346f83 Fixed recode for incoming messages, private messages didn't work properly. (Bug http://bugs.irssi.org/?do=details&id=286)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3896 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-08-04 08:41:33 +00:00
Valentin Batz
8b41206248 Fixed a leak in fe-events-numeric.c, patch by Toby Peterson
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3738 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-05-09 15:30:59 +00:00
Wouter Coekaerts
0e878b22f9 Fix displaying of ctcp userinfo and clientinfo (Bug 222)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3725 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-04-25 20:31:12 +00:00
Wouter Coekaerts
ecae975c2b Added IRCNET command again, as a deprecated alias for NETWORK
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3701 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-01-12 02:09:07 +00:00
Valentin Batz
7be7dd374c Added <tag>/<target> support for recode.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3692 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-12-20 13:59:15 +00:00
Valentin Batz
d5fb3039e2 Fixed printing of the recoded realname in whowas
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3686 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-11-29 15:59:21 +00:00