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

1138 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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