1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-15 04:28:09 -04:00
Commit Graph

1102 Commits

Author SHA1 Message Date
Timo Sirainen
f376e558f7 reversed the window->items change, it broke ^X
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2748 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-02 22:35:01 +00:00
Timo Sirainen
55c2554dba format_read_arglist() now prints the format name also when complaining about
parameters.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2747 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-02 15:55:26 +00:00
Timo Sirainen
73b099cef5 Removed the "GLib" text from glib_error format, to stop people thinking they
have something to do with glib itself.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2744 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-01 18:30:45 +00:00
Timo Sirainen
947c1bb1c6 /notice *, /ctcp * and /nctcp * crashed if there wasn't active window item.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2743 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-30 22:39:13 +00:00
Timo Sirainen
9aa40d0e58 keep the window items sorted in window->items list, based on when they were
last active (just like windows list)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2741 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-30 00:30:53 +00:00
Timo Sirainen
904a4fa830 make sure nick changes in query don't print warning if query->address is
null


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2738 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-29 00:11:18 +00:00
Timo Sirainen
cb85b0081e added host param to your_nick_changed format too
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2732 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-28 11:29:49 +00:00
Timo Sirainen
086e8ac2ff mode change printing fixes, forgot to commit :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2731 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-28 11:28:21 +00:00
Timo Sirainen
4b45f190a2 add temporary window bind if connection is lost with dcc chat.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2729 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-27 21:09:39 +00:00
Timo Sirainen
18143d6bd8 /layout save saves !channels using the short name now, so they work properly
again


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2728 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-27 20:13:27 +00:00
Timo Sirainen
2321deb9d3 /EXEC -quiet now hides the output entirely.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2724 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-27 18:34:40 +00:00
Timo Sirainen
f1efdc6eaa /BIND list changes: added header/footer, added %#, bind_key -> bind_list
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2722 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-27 02:07:18 +00:00
Timo Sirainen
131326fb49 removed handling of "you're not chanop" event so that the default handler
may print the server which sends it (useful with desyncs)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2719 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-26 20:02:52 +00:00
Timo Sirainen
64c8feeede %# now toggles monospace font on/off. fe-text doesn't care about it, but
gtk/kde UI does. By default, all lists are printed using monospace fonts.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2718 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-26 15:43:09 +00:00
Timo Sirainen
88ee09e526 /WINDOW GOTO channel|query didn't work if their server was different from
the one in active window. Also removed a kludge of automatically trying to
find #-prefixed channels if it wasn't given.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2716 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-26 13:01:06 +00:00
Timo Sirainen
90f7cd904c some nick change events didn't print the address parameter.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2714 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-25 15:47:06 +00:00
Timo Sirainen
1c72768b93 added host parameter to /format nick_changed, own_nick_changed and
chanmode_change


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2712 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-24 08:52:33 +00:00
Timo Sirainen
22c0877b56 "message mode" -> "message irc mode", also added in signals.txt
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2701 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-22 09:12:41 +00:00
Timo Sirainen
bcc1bc73be struct naming changes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2700 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-21 17:31:23 +00:00
Timo Sirainen
97af1210e1 signal leak fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2699 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-19 08:32:46 +00:00
Timo Sirainen
8936da1f6d /QUERY existing_nick now switches to the window where it exists, instead of
complaining about /window item move (same fix as to /join recently).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2696 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-17 21:04:25 +00:00
Timo Sirainen
970b49df1a "gui print text" signal changed, last parameter is now TEXT_DEST_REC, not
level.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2694 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-17 21:02:41 +00:00
Timo Sirainen
1ab2cfc1b1 /WINDOW ITEM GOTO now accepts a number too, to jump to nth window item.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2693 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-17 15:30:26 +00:00
Timo Sirainen
ccc66293c2 signal leak fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2685 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-15 14:33:47 +00:00
Timo Sirainen
53d595ba7f fixed several signal leaks
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2683 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-15 14:06:57 +00:00
Timo Sirainen
15667ec7ff GLib errors printed to stderr didn't contain \n
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2681 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-15 13:52:23 +00:00
Timo Sirainen
e03bd9b727 /EXEC -interactive : only numbered /execs should have the % prefix.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2680 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-14 16:30:13 +00:00
Timo Sirainen
d25bb43043 /WINDOW NAME now ignores if you're setting same name to it without
complaining.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2679 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-14 16:26:08 +00:00
Timo Sirainen
607b440627 If some keycombo can't be expanded, add it to state list as-is so it can use
existing combos given by GUI.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2671 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-13 12:28:01 +00:00
Timo Sirainen
0d89364768 Wrong casting with glib2 fix - GSearchFunc, not GCompareFunc :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2670 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-12 22:58:26 +00:00
Timo Sirainen
5ff21626b2 address parameter was missing from /FORMAT invite, nick_changed, kick and
topic.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2669 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-12 22:55:10 +00:00
Timo Sirainen
d5c15a8ee3 /EXEC -out now sends /msg -nick | -channel so it works properly with silc
channels.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2668 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-12 19:45:59 +00:00
Timo Sirainen
dfed19a3c8 window_change_server() : don't change server if it's being disconnected.
fixes a crash with multiple channels being in one windows.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2667 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-12 19:41:51 +00:00
Timo Sirainen
bd00ff54c2 Fixed one error and several warnings with GLIB 2.0
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2663 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-10 02:53:06 +00:00
Timo Sirainen
c89ee2a92e Removed the now useless "/window item move" help with /join
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2661 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-09 19:06:20 +00:00
Timo Sirainen
b1a385b2b4 /JOIN #existing_channel jumps to the window where it's joined.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2660 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-09 19:05:44 +00:00
Timo Sirainen
bfae72766e Don't set channel->server = NULL when disconnecting, so scripts can still
use it in eg. "channel destroyed". Patch by Qrczak


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2648 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-31 19:07:23 +00:00
Timo Sirainen
1f1dd3fea8 Added "nothing" action to /BIND.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2645 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-24 20:41:07 +00:00
Timo Sirainen
753f3666aa Sort /HELP output better when using multiple categories. Patch by c0ffee.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2632 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-19 12:28:55 +00:00
Timo Sirainen
ee3a30e16b $1 can now be used as server tag in /SET autolog_path. This is useful when
you want to log for specified tag before the server exists yet so $tag
wouldn't work. This happens at least when queries print the "querying nick"
text at startup.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2622 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-16 13:28:20 +00:00
Timo Sirainen
0687b42b3e /PART in SILC destroys the channel immediately, so we'll need to check
that it's not destroyed when doing it in /CYCLE..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2620 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-15 21:32:22 +00:00
Timo Sirainen
df7c90463a updated not_good_idea text
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2618 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-15 20:59:00 +00:00
Timo Sirainen
25d5e26e7b /SERVER ADD -ircnet value wasn't strdup()ed so it might have done something
nasty, at least during quit might have crashed.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2617 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-15 00:05:55 +00:00
Timo Sirainen
7d58cc000f Don't crash when trying to print text when there's no windows yet. Also
print the text to stdout.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2610 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-14 06:44:06 +00:00
Timo Sirainen
064d8d3926 "make dist" now doesn't add irc.c / irc-modules.c
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2603 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-13 03:30:07 +00:00
Timo Sirainen
fc20431dbb when autochanging query's nick to be correct case, don't print the
"nick changed" message


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2600 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-13 03:15:39 +00:00
Timo Sirainen
649253e180 ARGH! I hate this new behaviour of CVS not asking if I want to abort
the message - have to RTFM to see if I can get old behaviour back :)

So, this+previous commit: "make distclean" should remove irc.c and
irc-modules.c since they're generated by configure.

!user part is optional in IRC prefix, so nick@server is now handled
correctly.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2598 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-13 03:02:55 +00:00
Timo Sirainen
8fa39c23a7 default_color checks moved from fe-text to fe-common, so they work properly
with window-specific themes. also should fix some weird problems related to
them and gui_printtext_after().


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2576 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-11 03:45:57 +00:00
Timo Sirainen
966ed97f2a Added -4 | -6 to /SERVER ADD syntax.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2572 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 21:38:10 +00:00
Timo Sirainen
1855e6cc5c /SERVER ADD -ircnet should add the network to config with the same case as
in /IRCNET list.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2568 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 19:58:16 +00:00
Timo Sirainen
ba09292f55 crashfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2566 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 19:40:06 +00:00
Timo Sirainen
b89fb4a549 Never ignore kick msg if you get kicked from channel.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2558 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 15:46:22 +00:00
Timo Sirainen
6d6b02d10e Netjoins in +channels were printed as if users joined to "channel" and all
of them had ops, so the message always went to status/active window.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2557 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 15:42:52 +00:00
Timo Sirainen
ee8229be48 /CYCLE tried to do /PART twice.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2555 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 15:12:13 +00:00
Timo Sirainen
a868bbe124 /CAT prints files now with CLIENTCRAP + NEVER level, so timestamps aren't
printed. Also since /AWAY prints the awaylog using /CAT, we don't get
timestamps there either now.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2554 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 15:07:57 +00:00
Timo Sirainen
ca234bdf5e *** empty log message ***
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2553 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 14:55:46 +00:00
Timo Sirainen
418678bc95 /CYCLE reason didn't work
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2552 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 14:46:40 +00:00
Timo Sirainen
9293d23da2 /SET autoclose_query - now only last received private message affects when
the query is closed, ie. /WHOIS requests or nick changes don't reset the
counter.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2549 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 14:24:08 +00:00
Timo Sirainen
b67e363cde Foreground ANSI colors weren't working
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2548 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 14:22:59 +00:00
Timo Sirainen
c62e430a92 /FORMAT tab completion went to infinite loop if there was more spaces than
one in the line..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2530 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-25 17:48:08 +00:00
Timo Sirainen
4d96d7e4df Window level matching code was a bit messy. Also, now the active window is
preferred if there's multiple matches by the same level.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2525 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-22 13:04:07 +00:00
Timo Sirainen
dd65d300b0 Highascii chars in replaces block in theme files could have crashed irssi.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2524 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-22 12:56:24 +00:00
Timo Sirainen
b8eff2d3b2 Some events that contained target parameter weren't printed to correct
window (eg. end of bans).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2511 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-17 20:20:52 +00:00
Timo Sirainen
5e87f04a46 Another crashfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2501 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-17 15:37:41 +00:00
Timo Sirainen
9ebcbffd66 "whops" :) ^D<char> as last chars in line made some screen corruption and
maybe even could have crashed


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2497 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-17 14:00:34 +00:00
Timo Sirainen
490e411814 Don't crash if special vars line ends with '$'.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2488 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-17 09:37:23 +00:00
Timo Sirainen
1dc3dafe0d /ACTION supports -servertag now and tab completion works with it like with
/MSG.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2484 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-16 13:33:17 +00:00
Timo Sirainen
a52d99ecf4 /RELOAD didn't update the statusbar colors the first time. /SET theme never
changed the statusbar colors.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2465 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-16 00:08:47 +00:00
Timo Sirainen
fa94c72774 Allow still showing ping time even if client replied with only one ping
parameter.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2455 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15 16:24:53 +00:00
Timo Sirainen
d84c054024 Added /SET window_check_level_first and /SET window_default_level. This allows you to keep all messages with specific level in it's own window, even if it was supposed to be printed in channel window. patch by mike@po.cs.msu.su
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2452 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15 14:54:00 +00:00
Timo Sirainen
fcc61f2382 window_activity() and window_item_activity() are now public. Added them to
perl as well.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2445 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15 09:05:45 +00:00
Timo Sirainen
e30c1b4f8e Some /NAMES fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2441 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15 07:31:25 +00:00
Timo Sirainen
dd77726aa8 added user counts parameters to /NAMES header (not used by default), header/footer is printed with CLIENTCRAP, not CRAP level. patch by zinx@magenet.net
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2439 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-13 15:36:40 +00:00
Timo Sirainen
926342839b Separated ctcp command/data in "message irc ctcp" signal and format. Added
/FORMAT ctcp_requestd_unknown.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2438 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-13 15:31:57 +00:00
Timo Sirainen
0da21a5f59 That msg completion nick thing broke some other completions in msgs window,
like /SET.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2434 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-13 10:09:05 +00:00
Timo Sirainen
0bb2b6a9d4 don't update window->last_line timestamp with MSGLEVEL_NEVER text, so >1d
/SET autoclose_query setting works with "day changed" messagse.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2433 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-13 07:16:02 +00:00
Timo Sirainen
8dd775252f stupid format string bugs. wasn't there long though :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2431 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-11 16:19:00 +00:00
Timo Sirainen
dddd9d17a6 In msgs window, you can now complete anywhere /MSG completion nicks (eg.
/ignore nick<tab>)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2430 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-11 09:13:17 +00:00
Timo Sirainen
27665c5cfb -actcolor %n now means that the activity isn't changed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2429 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-11 08:23:02 +00:00
Timo Sirainen
d883248be2 "/WINDOW IMMORTAL" shows the mortal-state. Error messages are printed in
active window.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2428 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-11 07:58:24 +00:00
Timo Sirainen
64e98b7f4a Correctly handle DCC GET write() failures.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2427 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10 18:42:23 +00:00
Timo Sirainen
113ed9118e theme_format_compress_colors() doesn't assume the default color as %n
anymore. This is useful at least when you want to set statusbar background
color to %n so it won't be compressed to ""..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2425 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10 15:09:58 +00:00
Timo Sirainen
57629dcadc Layout save support for immortality..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2423 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10 15:00:15 +00:00
Timo Sirainen
9bb16705a5 Support for "immortal" windows, that can't be closed until explicitly set to
mortal with /WINDOW IMMORTAL OFF. Status and msgs windows are immortal by
default.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2422 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10 14:59:36 +00:00
Timo Sirainen
59c5bb100a Changed some clientnotices to clienterrors
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2421 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10 14:53:55 +00:00
Timo Sirainen
7f8b0f07ec support for event 477 which aborts joins to +R channels in dalnet.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2414 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10 12:13:00 +00:00
Timo Sirainen
92eccaaf26 /MSG completion should work with /QUERY as well
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2413 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10 11:24:51 +00:00
Timo Sirainen
9a3af7072a Default event handler now prints the server name where it received the
event, unless it's the server we're connected to. /FORMAT default_event can
be used to modify where/if the server name is printed.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2409 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10 10:51:14 +00:00
Timo Sirainen
3990779dc5 /BIND meta-k erase_completion - support for removing completion data.
Currently this works only with /MSG completion, so eg. /MSG nick <meta-k>
removes nick from completion list and jumps to next completion.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2407 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10 10:07:12 +00:00
Timo Sirainen
62028ad487 Level for own dcc chat messages should contain NO_ACT too (which also
disables beeping).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2406 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10 09:35:38 +00:00
Timo Sirainen
747347c990 "default event" now resends "default event numeric" which gets handled by
the event_received() function.. I think now all those extra spaces showing
up in places should be fixed :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2402 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-07 23:58:51 +00:00
Timo Sirainen
dbb279a1fe Don't crash in /NAMES list if /SET names_max_width was too small
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2398 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-07 00:34:43 +00:00
Timo Sirainen
a3ccfb08d4 Still some event_received() fixes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2397 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-06 23:37:03 +00:00
Timo Sirainen
f8114c834f DCC /MSG handlers broke /MSG -ircnet
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2396 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-06 18:07:55 +00:00
Timo Sirainen
3a2b45559f /EXEC's last output line wasn't printed if it didn't contain newline at end
of line.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2395 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-06 18:03:58 +00:00
Timo Sirainen
f2c78cf482 Fixed the generic event_received() hadler not to remove ':' char twice in
some situations..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2394 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-06 04:20:34 +00:00
Timo Sirainen
d1ade13a71 Broke DCC CHAT queries.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2391 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-04 21:20:05 +00:00
Timo Sirainen
dfa60cf38f Use the server tag printing with queries now too.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2389 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-04 04:35:11 +00:00
Timo Sirainen
cf83236346 printtext(): you can now specify server target with tag name instead of
record. This is useful with DCC chats when you know the initial server tag
but the server might be already disconnected.

So what this means is that you now get ~/irclogs/ircnet/=nick.log instead of
~/irclogs/=nick.log :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2388 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-04 04:27:45 +00:00
Timo Sirainen
7c94cb083f Added target_type to send_message(), -channel and -nick parameters to /MSG
to specify if it's supposed to be to channel/nick. /MSG -channel is used
automatically by irssi when sending messages to channel (the "normal" way
without /msg). This should help with protocols that don't have any channel
name prefixes.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2383 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-03 21:53:37 +00:00
Timo Sirainen
b2c92f3b4b s/query_trace_nick_changes/query_track_nick_changes/ :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2378 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-02 22:46:28 +00:00
Timo Sirainen
77e866c542 Added /SET query_trace_nick_changes, which tells if irssi should track nick
changes in queries (eg. you get a msg from nick who's user@host is the same
as you already have query with). This feature has existed before, but now
you can turn if OFF if you want :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2377 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-02 22:34:06 +00:00
Timo Sirainen
0ce3f8243e Comments are now allowed everywhere in config files.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2374 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-02 17:37:44 +00:00
Timo Sirainen
9089ea2365 Replaced /SET msgs_timestamps with /SET timestamp_level, defaults to ALL.
/SET timestamps must be ON for timestamp_level to have any effect.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2369 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-02 01:38:58 +00:00
Timo Sirainen
9cc6acc9a2 Don't eat unknown keys that aren't combinations
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2363 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-01 13:56:50 +00:00
Timo Sirainen
4f5f17e94a Unknown key bindings don't print the last invalid key anymore to input line.
Also, removed some debugging code which was accidentally there :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2362 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-31 03:15:03 +00:00
Timo Sirainen
a6ee439c26 "Your nick is owned by .." message was checked always with default nick.
This wasn't wanted with eg. /IRCNET ADD -nick.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2350 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-28 02:37:54 +00:00
Timo Sirainen
f4897860b5 toupper(), tolower(), isspace(), is..etc..() aren't safe with chars in some
systems, use our own is_...() functions now instead.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2348 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-27 20:45:59 +00:00
Timo Sirainen
182adb805c /SERVER ADD: added -noproxy option and -proxy which just removes the
-noproxy.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2344 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-24 20:57:16 +00:00
Timo Sirainen
2cd0cb5ef8 removed some unused code.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2335 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-22 15:56:29 +00:00
Timo Sirainen
77c658bf80 Added "dccownquerynick" which /FORMAT own_dcc_query uses.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2321 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-19 18:49:35 +00:00
Timo Sirainen
9941ad52bf /SAVE -formats saves all the /formats to theme file.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2319 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-18 16:23:57 +00:00
Timo Sirainen
757be11fff Add commas between splitted nicks. patch by Qrczak
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2312 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-12 12:47:12 +00:00
Timo Sirainen
66e8aa2c74 Using "server1 <-> server2, server3" format for netsplit messages now.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2310 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-12 11:11:09 +00:00
Timo Sirainen
e35c8e4d08 dcc chat actions didn't work properly
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2309 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-11 12:19:47 +00:00
Timo Sirainen
9fffa58c20 Actions are now sent in "ctcp action" signal which is never ignored. "ctcp
msg action" doesn't work anymore nor does it show in "ctcp msg"s.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2303 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-10 18:02:22 +00:00
Timo Sirainen
4032addbf9 When /SET expand_escapes was ON, \012 and \015 should be treated as newlines
so that text after them is sent as privmsgs, not as direct commands to
server.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2301 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-10 04:03:34 +00:00
Timo Sirainen
805f59d9ee small bugfix, mirc color flag was set on unless both /set hide_mirc_colors
and /set hide_text_style was on.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2300 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-09 17:10:46 +00:00
Timo Sirainen
6e4730b65d Added "message dcc xxx" signals for printing DCC messages.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2298 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-09 16:04:53 +00:00
Timo Sirainen
3f75bd3c3c Abort joins on 442-numeric that dalnet sends when you can't join to channel
because you've not registered your nick.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2288 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-31 16:30:32 +00:00
Timo Sirainen
92933dace3 Server parameter is sent now too with /WHO, though the format itself wasn't changed. patch by peder.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2282 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-27 11:38:46 +00:00
Timo Sirainen
db907c209f Don't add command to history if it's already in there as last entry. patch by peder.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2281 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-27 11:37:31 +00:00
Timo Sirainen
acffe7b322 /LOG OPEN -window accepts now -targets too to specify the refnum
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2279 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-21 15:13:05 +00:00
Timo Sirainen
d87d8caece Some crashfixes with command history.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2277 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-20 21:52:16 +00:00
Timo Sirainen
9ddebe6bcf Added command history groups, set them with /WINDOW HISTORY. Patch by peder@ifi.uio.no
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2276 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-20 13:29:20 +00:00
Timo Sirainen
f6cd4478c3 And the final #include :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2274 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-20 02:18:35 +00:00
Timo Sirainen
bf5b6c08c5 Added WINDOW_REC declaration to common.h, removed unneeded #include "servers.h" from fe-windows.h which broke several files, added the #include in them.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2272 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-20 02:14:49 +00:00
Timo Sirainen
5b5df3ebbe /VERSION printed time wrong, hopefully the last version fix..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2262 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-16 02:21:27 +00:00
Timo Sirainen
6720940e1a Leading zeros didn't work well in IRSSI_VERSION_TIME.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2261 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-16 01:41:29 +00:00
Timo Sirainen
5f271da0a4 Print IRSSI_VERSION_TIME in /VERSION too.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2259 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-15 23:39:24 +00:00
Timo Sirainen
7d722f6ca3 irssi --version now prints the IRSSI_VERSION_TIME as well
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2258 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-15 23:33:44 +00:00
Timo Sirainen
1aed7cb956 IRSSI_VERSION_DATE is now a number, so you can do #iffing with it
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2252 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-15 19:28:44 +00:00
Timo Sirainen
740ab0d550 warning fixed
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2247 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-14 22:04:28 +00:00
Timo Sirainen
020861c698 Netsplit saved the NICK_REC, but didn't save the dynamically allocated strings
which were part of it. Removed it now and replaced it with saving only
op/halfop/voice status. Might have caused some crashes? (hopefully did :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2234 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-10 23:32:46 +00:00
Timo Sirainen
45bb286d59 307 line is used for /USERIP in undernet. Also changed some other alternative
reply handlers to call event_received() instead of print it itself.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2230 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-10 00:38:12 +00:00
Timo Sirainen
15e815e8d3 Better support for halfops, patch by yathen@web.de
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2228 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-09 17:13:48 +00:00
Timo Sirainen
a8419ed5b9 Support for OPN's channel forwarding.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2227 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-09 17:13:10 +00:00
Timo Sirainen
9f4ba1f5d9 /IGNORE list: Show the -pattern and also show if the regexp is invalid.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2223 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-08 14:41:57 +00:00
Timo Sirainen
9b08e5c640 /SET hide_mirc_colors - patch by paul@raade.org
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2218 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-07 22:46:09 +00:00
Timo Sirainen
3f275ebd55 Added support for 326 and 327 whois numerics in OPN.
Removed keeping track of ban exceptions and invite list.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2212 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-07 19:40:37 +00:00
Timo Sirainen
4c6237256f /IRCNET ADD -usermode option added.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2206 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-06 23:29:48 +00:00
Timo Sirainen
be8778052e On nick collision kills, reconnect back immediately. On any other type of
kills, stop reconnecting to the server entirely.

When reconnecting to server and setting back the old user mode, only use the
modes that we actually wanted to change with /MODE commands, don't try to
set back modes given to us by server (eg. +r).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2205 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-06 23:10:41 +00:00
Timo Sirainen
2e78d926ef $winref and $winname shouldn't crash if there's no active window.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2201 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-06 20:57:28 +00:00
Timo Sirainen
575a5a3b8b Don't match nicks in -nick hilights.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2191 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-04 14:08:34 +00:00
Timo Sirainen
aa3513eaaf Show @#channel notices as regular notices again. Don't hilight it or @#channel msgs.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2184 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-03 19:50:21 +00:00
Timo Sirainen
9f5c181936 Added processes to be extern instead of static. Also added Irssi::processes()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2182 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-03 17:05:09 +00:00
Timo Sirainen
ed7d5addc9 Disable lag detection in servers that don't understand PING command (yes,
there was at least one..)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2174 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-01 19:44:54 +00:00
Timo Sirainen
5d52832efd /WALLCHOPS are now printed to screen. Receiving notices for @#channel
are printed like receiving wall messages. /ACTION @#channel didn't work
properly.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2169 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-29 23:31:16 +00:00
Timo Sirainen
444f329b5f irssi --help printed --password=SERVER option, changed to
--password=PASSWORD :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2168 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-29 22:58:42 +00:00
Timo Sirainen
9e1aba8cec /QUERY without a parameter but with options (eg. /alias query query -window)
now does the same /UNQUERY properly.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2162 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-28 21:38:35 +00:00
Timo Sirainen
fe82eafa44 /EXEC -interactive was broken.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2161 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-28 20:49:10 +00:00
Timo Sirainen
847ad423de "event 378" is also used to end /MAP in OPN.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2160 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-28 01:43:21 +00:00
Timo Sirainen
698f7b9ea7 default level for /EXEC should be CLIENTCRAP, not CLIENTNOTICE.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2155 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-27 13:56:00 +00:00
Timo Sirainen
09b5baa3d9 window_get_theme() now checks that window isn't NULL, so we don't crash if
something tries to print to screen when there's no windows yet.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2146 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25 16:31:24 +00:00
Timo Sirainen
ff16e15389 /FORMAT timestamp and /FORMAT day_changed use now strftime()-style
formats for specifying time. %x is still treated as color format, so
you'll need to escape them with another % (%%H:%%S). The $ parameters
don't work anymore.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2142 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25 15:41:37 +00:00
Timo Sirainen
7ae96f540d Added printtext_string_window(), Irssi::UI::Window::print() uses it also
now.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2141 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25 15:27:47 +00:00
Timo Sirainen
8fd09aa09f /WINDOW NAME now complains if you try to change the window's name to
something that's already in use.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2140 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25 15:16:28 +00:00
Timo Sirainen
d133a90eaa 377 numeric seems to be used as motd by some servers..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2134 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20 21:19:35 +00:00
Timo Sirainen
c355002886 using signal_add() instead of signal_add_first() again. the ..first() wasn't
really needed and it broke autoaway.pl script .. which is because
/DISCONNECT and /UPGRADE commands destroy the server record, but it's still
left in the signal's parameter. Guess I'll need to add reference counting to
server record as well..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2128 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20 12:51:28 +00:00
Timo Sirainen
637a3c76c1 data_is_empty() might have crashed when it was called at the startup when
there was no active window.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2127 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20 12:38:03 +00:00
Timo Sirainen
7bdd1cbec9 Added /FORMAT names_prefix to print prefix at the beginning of each /NAMES
list line.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2121 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20 03:11:02 +00:00
Timo Sirainen
29aa8ef2c8 /SET autocreate_split_windows - If autocreated windows should be split
windows instead of hidden.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2118 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20 02:25:38 +00:00
Timo Sirainen
1eff191e65 Added halfop support for nick modes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2117 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20 02:22:12 +00:00
Timo Sirainen
26128a3de2 Previous commit in core/commands.c broke /^cmd (command output hiding).
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2116 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20 02:08:37 +00:00
Timo Sirainen
0fc752528f /BIND works a bit better again when parsing the given key.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2110 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 23:56:00 +00:00
Timo Sirainen
a9428129a5 378 event (whois realhost) data is different between irc servers, so added
support for another server. Also added support for 377 event (whois
usermode).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2107 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 23:04:58 +00:00
Timo Sirainen
1efdf062c6 Removed whois_coming-flag which was used to figure out if 301 event
should be printed as whois-message or normal "nick is away" message.
Server redirections are used for that now. Some servers also send 301
event in /WHOWAS reply, this works now as well.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2104 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 22:34:50 +00:00
Timo Sirainen
dc11f23afd /HILIGHT -actcolor didn't work with -nick (which was default)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2100 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 21:10:39 +00:00
Timo Sirainen
e98a83b538 Actually :) The /SET show_own_nick_change_once is still there, but it's OFF
by default now, and printing the own nick changes just don't trigger window
activity.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2099 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 20:47:36 +00:00
Timo Sirainen
9bec3628a2 /SET show_own_nickchange_once ON - show own nick changes only in active
window instead of every channel you've joined. This is the default now.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2098 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 20:42:36 +00:00
Timo Sirainen
360083dea8 Added /EXEC -level option.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2096 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 20:37:55 +00:00
Timo Sirainen
2079164128 Actually, we do want to have the space after nick completion.. :) It's much
more often wanted than not, and I can't really think of any way to figure
out if we want space or not.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2093 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 20:06:57 +00:00
Timo Sirainen
381c823e1a Don't add space after tab-completed nicks.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2090 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 18:06:15 +00:00
Timo Sirainen
f5c9e3648e "message irc notice" - when figuring out if it's server notice or not,
check also if address == "" instead of just == NULL. At least if perl script
emits the signal it gets "".


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2088 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 17:21:11 +00:00
Timo Sirainen
0c79d92d5d data_is_empty() didn't check properly for $0-$9 variables and broke
statusbar.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2086 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 16:38:00 +00:00
Timo Sirainen
65c9a361ab If /SET dcc_upload_path is empty, we should use the current directory, not
root directory.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2074 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 02:46:26 +00:00
Timo Sirainen
b3c0778dc4 Filename completion for /DCC SEND looked files from wrong default directory.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2073 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 02:25:42 +00:00
Timo Sirainen
ff2357f16b Event 001 wasn't printed to screen.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2069 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 01:30:13 +00:00
Timo Sirainen
edf0e479b5 Added new formats for ops/halfops/voices in /NAMES list.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2067 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18 22:27:58 +00:00
Timo Sirainen
7433dafcb1 Execute ~/.irssi/startup before autoconnecting to servers. This way you can
get autoconnecting work with dynamically loaded chat protocols.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2062 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18 19:37:18 +00:00
Timo Sirainen
bfe3e83b62 Even if notice is from server, print it to given target, since it could be
meant for some channel.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2050 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18 13:43:05 +00:00
Timo Sirainen
58eb5f783d When printing /IGNORE list, if there's no ignores print the
IGNORE_NO_IGNORES format which wasn't used before for anything..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2049 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18 13:40:51 +00:00
Timo Sirainen
05d3bb58cb added assert to window_item_add().
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2034 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-16 16:51:56 +00:00
Timo Sirainen
4322da78aa When printing notify joins/leaves, don't print them with hilight color after
all.. they're annoying when they create autolog files.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2027 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-15 22:51:50 +00:00
Timo Sirainen
fc91857029 Changed the escaping system - theme_format_expand_data()'s
EXPAND_FLAG_IGNORE_EMPTY now also checks if the argument is a $variable that
is empty. Statusbar now first expands the formats and after then expands
$variables. Should fix at least when trying to print #$$$ channel in
statusbar.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2023 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-15 20:02:15 +00:00
Timo Sirainen
c6302cd6e7 Lag checking fixes - should work fine again.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2016 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-15 13:47:51 +00:00
Timo Sirainen
a9a380fd54 settings_save() now sends "setup saved" signal - patch by peder@ifi.uio.no
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2003 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-14 16:28:56 +00:00
Timo Sirainen
e66ec6cf8b Redirection fixes - added count parameter.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1999 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-12 22:15:04 +00:00
Timo Sirainen
af6b115527 --version now shows the date version too.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1987 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-11 22:42:26 +00:00
Timo Sirainen
850cf993eb Moved rewritten server redirection code from core to irc. This new code
should be able to do the redirecting a lot more error-proof. Changed
lag-checking to use PINGs instead of NOTIFYs. This breaks scripts using
redirection. Hopefully this doesn't break too much things in irssi :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1980 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-11 18:59:19 +00:00
Timo Sirainen
6a82e806b4 Moved $(GLIB_CFLAGS) after -I includes, to make sure our own .h files get before possibly identically named headers in the glib's include directory.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1975 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-05 14:48:03 +00:00
Timo Sirainen
6197339b8d /CHANNEL xxx - don't crash if not connected to server.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1973 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-05 11:47:52 +00:00
Timo Sirainen
5397b33d2d removed, not needed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1971 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-04 20:13:24 +00:00
Timo Sirainen
dd04f35cc6 Stupid me, remembered wrong how PARAM_FLAG_OPTCHAN worked. This broke /CTCP,
/NCTCP and /NOTICE for non-channel targets. Back to old code, except "*" is
now treated as active target.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1969 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-04 14:36:51 +00:00
Timo Sirainen
e69f081127 * works now as active channel with /NOTICE, /CTCP and /NCTCP.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1967 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-03 18:36:40 +00:00
Timo Sirainen
f354fe54c7 Moved some stuff from irc to core. Added command_bind_proto() function to
bind protocol-specific commands. Added #define command_bind_irc() for easier
access. CMD_IRC_SERVER(server) check should be done at the beginning of each
command requiring IRC server as active server, it handles it correctly the
cases when it is not. Did some other cleanups as well.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1955 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-02 01:05:14 +00:00
Timo Sirainen
95b94ed83c server->ischannel(char *) -> server->ischannel(SERVER_REC *, char *). Added
#define server_ischannel(server, data) and it's now used everywhere..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1954 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-01 22:52:23 +00:00
Timo Sirainen
4f58b17ecb /WINDOW SERVER -unsticky crashed irssi if it was used when you weren't connected to server.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1939 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-29 16:15:47 +00:00
Timo Sirainen
2ba339a26b Added support for using terminfo/termcap instead of curses. By default,
configure chooses to use ncurses if found, of terminfo if only curses was
found. --with-terminfo parameter can be used to specify if you want it or
not.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1924 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-28 11:30:26 +00:00
Timo Sirainen
d4178292e5 Renamed /FORMAT whois_oper_type to whois_oper which is now removed.
whois_oper wasn't really used anywhere AFAIK.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1919 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-25 12:02:10 +00:00
Timo Sirainen
2a75c88f99 Added support for changing indentation behaviour with modules.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1912 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-24 22:52:15 +00:00
Timo Sirainen
e4f34d9cd3 When logs are rotated, automatically create the new directory where to open
the log if it has changed.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1897 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-22 21:26:58 +00:00
Timo Sirainen
230a51cefd Remove SYNTAX: OPER from here - it's already in core (and syntax.pl gets
twice the same syntaxes currently..)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1889 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21 20:11:18 +00:00
Timo Sirainen
bc8ee2d26c Don't expand %{ and %} in themes to { and } - they could be treated as
abstracts again. Printing %{ and %} now prints just { and }. This fixes
printing {stuff} in statusbar (eg. {nick}).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1885 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21 17:56:42 +00:00
Timo Sirainen
3ae5080619 /TOPIC <tab> inserts the topic in active channel.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1876 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21 11:22:06 +00:00
Timo Sirainen
d4ef1bdd03 When printing server disconnection texts, use the server parameter for
printformat() so the texts go to correct windows.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1865 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-20 21:09:17 +00:00
Timo Sirainen
75ebab8089 Get the server tag to query from dcc->servertag, not dcc->server->tag, to
make it work correctly when accepting dcc chat when not connected to server.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1857 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-20 11:26:40 +00:00
Timo Sirainen
f33c283317 /BIND -delete doesn't anymore leave empty {} blocks in configuration file.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1856 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-20 11:20:37 +00:00
Timo Sirainen
b3779bc7a5 -ansicolors -mirccolors => -colors in /LOG OPEN syntax, since there's only -colors currently..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1841 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-15 15:31:40 +00:00
Timo Sirainen
4e9ff3d6d8 $winname expando didn't change on "window changed" signal.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1832 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-14 11:25:26 +00:00
Timo Sirainen
dbe49236d2 Configurable statusbar - see default config file (irssi.conf) for example
how to configure it. Added %> format which clears to end of line using the
current bg color. Added support for multiple input lines (just the core, not
used anywhere yet).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1821 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-13 16:11:13 +00:00
Timo Sirainen
c988af4150 Added MODULE_DATA_UNSET() macro and started using it. Just to make sure we
don't try to access free'd data.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1818 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-02 07:55:51 +00:00
Timo Sirainen
56331f78e0 Use the nick as target when printing notify messages, so they go to query windows.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1817 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-01 12:05:50 +00:00
Timo Sirainen
de0ab10145 /SET translation was broken - fixed by lam@e-gate.pl.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1815 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-01 07:04:11 +00:00
Timo Sirainen
bb507a8b85 /SET translation now says if there were any errors
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1810 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-22 11:25:08 +00:00
Timo Sirainen
e41f1dc73f bind_key format updated. Doesn't truncate the key now.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1807 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-21 14:09:44 +00:00
Timo Sirainen
29d983093e PARAMS -> ARGS fix again..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1805 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-20 16:50:27 +00:00
Timo Sirainen
7814192f03 special vars: added PARSE_FLAG_ONLY_PARAMS. Theme loading now uses it so
you can use $C etc. in themes to print the active channel. printformat()
also expands it now correctly to the server/target where the message was
printed, not to the active window's server/target.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1802 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-20 15:58:14 +00:00
Timo Sirainen
0abee30dc2 "Unknown chat network" error now tells to create it with /IRCNET ADD
(..which is a bit wrong with non-IRC..)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1799 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-18 15:37:07 +00:00
Timo Sirainen
56b7f5ecbf Print the log's expanded file name when complaining about not being able to
create log file.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1798 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-17 13:04:23 +00:00
Timo Sirainen
50eae89a96 /BIND ^W-1 was treated as ^W + '-' + '1', not as ^W + '1'..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1794 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-11 18:32:43 +00:00
Timo Sirainen
5360b3eaaf escape_target() didn't escape / chars properly, it just crashed irssi..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1793 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-11 18:20:10 +00:00
Timo Sirainen
3432f02a05 It's now possible to stop single character /BINDs from printing to input
line. Hiascii characters didn't work properly with /BIND.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1792 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-11 18:15:17 +00:00
Timo Sirainen
8cab35aed3 Server notices shouldn't contain target field when printing it, it's always
you anyway.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1790 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-11 18:02:17 +00:00
Timo Sirainen
eb9f1eb985 autolog: target name is now always lowercased with irc protocol.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1789 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-11 17:47:31 +00:00
Timo Sirainen
5c45593f02 /WINDOW ITEM MOVE didn't work properly if there was space after parameter
(..which tab-completion added..)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1779 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-08 18:57:09 +00:00
Timo Sirainen
ff884ba0bb Print the server tag in "query started" messages with query->server_tag, not
query->server->tag since query->server can be NULL when restoring window
layout.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1773 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-31 16:32:35 +00:00
Timo Sirainen
d1e0a0f44f Check that word isn't empty instead of just assuming it isn't. This one
probably caused several completion problems.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1771 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-28 11:12:03 +00:00
Timo Sirainen
2dae72a698 removed accidental 'i' :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1768 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-23 10:54:54 +00:00
Timo Sirainen
5bf0edbb35 Added server tag to query_start format.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1767 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-23 10:32:32 +00:00
Timo Sirainen
1c07041811 Added option /SET autolog_colors. Colors are now off by default for /WINDOW
LOGs too.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1764 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-20 12:01:01 +00:00
Timo Sirainen
0d5e569195 Some internal changes how /SERVER command works. Added /SERVER PURGE
[<target>] command. The channel output is purged at /PART if the output
queue is larger than 10.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1759 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14 13:19:06 +00:00
Timo Sirainen
6c022b0a5e Some support for lain ircd's /SETHOST - It /PART + /JOINs all channels, so
add all the joined channels to window binds temporarily so /PART doesn't
close the windows if /SET autoclose_windows is ON.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1757 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14 12:33:29 +00:00
Timo Sirainen
ed93f91d96 Typofix - might have caused a crash if channel was destroyed with /WINDOW
CLOSE.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1753 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14 11:22:19 +00:00
Timo Sirainen
803d805016 Module loading updates - /LOAD shows now also the statically loaded modules.
You can't /LOAD the same module twice. Syntax changed to /LOAD <module>
[<submodule>], /UNLOAD <module> [<submodule>].

NOTE: all modules now need to call register_module() in their init()
function.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1748 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14 00:41:59 +00:00
Timo Sirainen
78b1e8d9d6 "IRC Net" -> "Network" in /SERVER LIST and /CHANNEL LIST
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1746 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-13 22:01:38 +00:00
Timo Sirainen
f370a3cc2e /INVITELIST prints "Invite list is empty" message and complains about not
being synced. Changed level to CLIENTNOTICE when printing the "no bans"
message.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1744 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-13 14:00:57 +00:00
Timo Sirainen
4e3b1bba62 /LOG OPEN -color, /SET awaylog_colors - specifies that the color codes
should be written to log file.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1742 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-13 13:51:49 +00:00
Timo Sirainen
53c13065d2 One more limit to "key" names - it can't start with a digit. This allows us
to use /BIND foo meta2-18~ etc. more easily.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1740 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-12 17:05:36 +00:00
Timo Sirainen
55be71a726 Bugfix to keyb. code :) And now the "key" names can contain only
alphanumeric + '_' characters, which makes /BIND foo meta-5~ work again
because 5~ are treated separately, not as one "key" name.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1739 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-12 17:02:06 +00:00
Timo Sirainen
22e5f3a3fe Keyboard code fixes - meta-arrows etc. should work now correctly.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1738 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-12 16:48:34 +00:00
Timo Sirainen
a444a3c92a /WINDOW CLOSE <first> didn't work if <last> too wasn't specified..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1737 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-12 13:05:57 +00:00
Timo Sirainen
22e1a6dacc /VERSION command and /SV alias now print the version date too.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1732 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-09 00:50:22 +00:00
Timo Sirainen
98b82723a1 Added function expand_escapes() which handles now escaping /EVAL and input
line if /SET expand_escapes is set. Supported escapes are \t, \r, \n, \e
(ESC), \x (HEX, \x1b), \c (CTRL char, \cA), \000 (octal, \033)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1727 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08 20:00:25 +00:00
Timo Sirainen
b667af72aa Restoring window layout shouldn't make the queries active.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1726 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08 18:23:25 +00:00
Timo Sirainen
c86333393c Changed signal / function names for /LAYOUT stuff. /LAYOUT RESET now resets
the split windows too.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1725 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08 18:05:50 +00:00
Timo Sirainen
4737d16290 Fixed leaking window binds. They were added but rarely removed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1721 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08 16:08:47 +00:00
Timo Sirainen
9beaf82839 /SET autofocus_new_items ON - if newly created window items should be set
active automatically.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1718 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08 15:29:56 +00:00
Timo Sirainen
f124f07a4e /NOTIFY printed '!' character after nick if mask was given.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1715 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08 12:50:49 +00:00
Timo Sirainen
45bb5c3cee Restoring layout for split windows works betters now. Some sticky window
changes/fixes. Renamed /WINDOW MOVE LEFT|RIGHT -> PREV|NEXT, added commands
/WINDOW MOVE UP|DOWN|LEFT|RIGHT. The new LEFT|RIGHT now moves the window
only inside split windows. mainwindows-save.c -> mainwindows-layout.c


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1710 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-07 12:41:10 +00:00
Timo Sirainen
dcf1bdb82c /UNIGNORE - skip spaces at end of line.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1703 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-04 01:36:39 +00:00
Timo Sirainen
ce0bd80b05 Added sticky window information to /WINDOW.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1701 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-03 22:54:08 +00:00
Timo Sirainen
daaf2756ca Minor cleanup.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1700 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-03 20:50:34 +00:00
Timo Sirainen
79ae6fceb3 /WINDOW command now prints all information related to window.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1699 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-03 20:04:39 +00:00
Timo Sirainen
279f149295 /TOGGLE didn't send "setup changed" signal
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1687 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-30 12:24:24 +00:00
Timo Sirainen
6c2f9c685a --enable-perl* -> --with-perl*. Added a new libfe_perl which handles /SCRIPT
commands. /RUN -> /SCRIPT LOAD, /PERLFLUSH -> /SCRIPT FLUSH, /PERL ->
/SCRIPT EXEC. Added /SCRIPT UNLOAD, /SCRIPT LIST. Lots of cleanups.

filename_complete() has extra argument for "default directory" which is
searched if no path is given when completing.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1680 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 09:17:53 +00:00
Timo Sirainen
2d5edb8c4d /NAMES #channel_you're_not_joined doesn't print the "total of xx nick" line
anymore - it was always just full of 0 and people thought it was a bug (it's
a missing feature :).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1679 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 05:32:38 +00:00
Timo Sirainen
c4fe917be3 " <tab>" in query printed glib warnings.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1677 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 04:38:31 +00:00
Timo Sirainen
bdde1d884c /NOTIFY, /NOTIFY -list: Added "The notify list is empty" message
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1669 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 01:46:34 +00:00
Timo Sirainen
2a44f98a51 Added "Closed query with nick" message.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1668 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 01:41:01 +00:00
Timo Sirainen
d1d13a4b36 Escape % chars in logs so strftime() won't mess with them.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1667 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 01:35:10 +00:00
Timo Sirainen
11072cc4d7 Removed unused signal_gui_print_text, added a g_return_if_fail(dest->window
!= NULL) to "print text" signal - window should be set or it is treated as
GUI print event.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1666 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 01:16:27 +00:00
Timo Sirainen
802ee7564c Fixed /RELOAD crashing without parameters.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1664 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 00:27:23 +00:00
Timo Sirainen
9668285467 OK, no more forcing the reuse_unused_windows. It's up to the user to set it.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1663 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-28 23:40:00 +00:00
Timo Sirainen
0fa4e20497 /SET reuse_unused_windows is now forced ON only if /SET autocreate_windows
is ON and autoclose_windows is OFF.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1662 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-28 23:28:46 +00:00
Timo Sirainen
35ce180f10 --hostname and --nick options didn't have effect for autoconnected servers.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1661 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-28 23:24:45 +00:00
Timo Sirainen
3fb7a4115d added destroy() function to WI_ITEM_REC. This fixes a potential crash when
"window item destroy" signal was being used.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1655 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-26 01:49:08 +00:00
Timo Sirainen
219d276b0a bugfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1654 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-26 01:38:46 +00:00
Timo Sirainen
f81291622f buffer overflow fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1647 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-25 19:16:21 +00:00
Timo Sirainen
fc4f81c751 SYNTAX: ACTION updated - target is required
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1646 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-25 17:40:56 +00:00
Timo Sirainen
559a5be42f fixed a small memory leak
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1643 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-22 12:08:36 +00:00
Timo Sirainen
40ffd87ded Irssi::printformat() called printformat_window() to print the text which
lost server/target information. Added printtext_dest() function which it
uses now.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1642 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-18 19:03:07 +00:00
Timo Sirainen
088358ca61 /NAMES -count now prints only the "total" line, not "users(#channel)" anymore
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1641 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-17 18:22:24 +00:00
Timo Sirainen
7e630b22cf added another hilight kludge
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1636 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-16 17:20:23 +00:00
Timo Sirainen
118b5f48a2 Hilight fixes - mode lines shouldn't be hilighted accidentally anymore.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1633 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-15 19:03:27 +00:00
Timo Sirainen
27fcabbc19 Previous foreach fixes to /FOREACH WINDOW too.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1632 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-15 18:21:44 +00:00
Timo Sirainen
c1ac5765b3 New /IGNOREs weren't immediately effective for nicks in channel. Some small
fixes for unignoring levels with /IGNORE.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1630 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-15 14:50:26 +00:00
Timo Sirainen
79d1d7089a Added --home and --config command line parameters to irssi to specify
locations for ~/.irssi and ~/.irssi/config


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1626 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-15 00:39:48 +00:00
Timo Sirainen
c930f8f8e6 command option/parameter completion was case sensitive (ie. /MSG <tab>
didn't, work, /msg <tab> did)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1624 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-14 20:06:00 +00:00
Timo Sirainen
4425f87f98 /NAMES -count: print only the Total xxx nicks line
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1615 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-14 18:19:22 +00:00
Timo Sirainen
fca13a0fba removed a useless "fix"
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1614 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-14 18:19:08 +00:00
Timo Sirainen
2ddba459c0 Moved location of config, theme and doc files. Added debian dir for building a .deb easily.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1607 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-05 23:16:18 +00:00
Timo Sirainen
3eca462859 Removed GLIB warning at certain condition with tab completion.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1606 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-03 22:21:40 +00:00
Timo Sirainen
f70160c503 /SET netsplit_nicks_hide_threshold must not be smaller than /SET
netsplit_max_nicks or no nicks were printed with netsplits.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1597 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-29 23:11:43 +00:00
Timo Sirainen
f20a6b0198 If .theme suffix was given for /SET theme, irssi printed "theme changed to
xxx" message every time any setting was changed.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1596 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-29 23:10:48 +00:00
Timo Sirainen
84e8d9acfa whois_away had one extra space at the beginning.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1587 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-29 19:03:55 +00:00
Timo Sirainen
b62615e32a Nick changes were printed twice in queries.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1586 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-28 22:40:24 +00:00
Timo Sirainen
77b72271c8 when theme is changed, it should print the message to status window, not to active window..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1585 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-28 17:43:53 +00:00
Timo Sirainen
d7342a6c4f removed useless #define
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1581 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-27 22:54:51 +00:00
Timo Sirainen
53975363ce Using different ports in one server for different chat networks didn't work
properly.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1580 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-27 21:47:31 +00:00
Timo Sirainen
5cb945cedf Don't autoclose windows with bound items.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1579 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-27 21:31:26 +00:00
Timo Sirainen
69c864f8d5 Added -delete option to /WINDOW THEME. /WINDOW THEME without parameters
prints the active theme.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1576 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-27 21:16:43 +00:00
Timo Sirainen
0db8e96019 Fixed window specific themes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1575 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-27 21:05:04 +00:00
Timo Sirainen
75543048b5 Added -v / --version command line option. Moved POPT_AUTOHELP option to
fe-common from fe-text.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1574 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-27 20:22:43 +00:00
Timo Sirainen
8ec78b0723 use signal_add_last() to bind the "message xxx" signals when printing them,
so that scripts/modules can stop the signal without affecting the rest of
the functionality.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1571 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-26 22:29:16 +00:00
Timo Sirainen
f5a161bee9 added whois abstract to themes. should make it easier to change whois output
in theme


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1570 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-26 22:04:54 +00:00
Timo Sirainen
6362ab86f6 "print text finished" -> "gui print text finished". Added %[options] format
for printing text. The syntax for options is [+-]<option>[+-]<option>...
Currently supports options 't' = timestamp, 'T' = server tag, 's' =
line_start, 'S' = line_start_irssi. -s or -S means don't print the
line_start. For example %[-st+T] would never print line_start or timestamp
to line, but would always print server tag to line.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1569 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-26 21:28:00 +00:00
Timo Sirainen
3f2b189a4c /WINDOW SERVER -sticky / -unsticky crashed if the tag wasn't given and
there was no active server in window


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1553 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-11 23:12:43 +00:00
Timo Sirainen
0192a6fb97 Multiple /LAYOUT SAVEd queries in same window didn't get restored to the
same window.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1550 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-11 00:15:38 +00:00
Timo Sirainen
4da53bb5f4 When disconnecting from server when you had queries without active server
irssi printed some glib errors.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1549 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-11 00:14:48 +00:00