1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00
Commit Graph

655 Commits

Author SHA1 Message Date
Timo Sirainen
9b86b024b0 /SAVEWINDOWS - saves the current layout of windows. It's automatically
reloaded at startup.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@572 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-01 01:02:46 +00:00
Timo Sirainen
869279f285 /wjoin and /wquery commands stopped the "channel created" and
"query created" signals - not good.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@571 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-01 00:39:53 +00:00
Timo Sirainen
674d240718 You can change the default line indentation with /SET indent
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@570 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-31 23:16:56 +00:00
Timo Sirainen
e32c3bcd33 updated
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@569 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-31 23:13:11 +00:00
Timo Sirainen
ce821e96a1 Moved lastmsgs variables from irc-server and channel structures to
irc-completion.

/MSG nick completion now gives the nicks in right time order when using
multiple irc networks.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@568 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-31 23:09:39 +00:00
Timo Sirainen
b26ea5d4e7 Don't allow jumping to last line in history from first line
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@567 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-31 22:19:32 +00:00
Timo Sirainen
f2e1be391c Actions didn't trigger window activity
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@566 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-31 22:16:50 +00:00
Timo Sirainen
ef3cb01e6f Check that we're not already joined the channel when receiving JOIN
event, just to fix an irssi proxy bug..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@565 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-31 22:10:18 +00:00
Timo Sirainen
3c594edf07 Added names_nick format.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@564 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-31 22:01:56 +00:00
Timo Sirainen
01a4f9fe04 Added output_format_get_text() function for querying text formats.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@563 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-31 22:01:32 +00:00
Timo Sirainen
059c0f715d Don't draw the last character in entry line, this doesn't work right
with some terminals.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@562 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-31 21:46:31 +00:00
Timo Sirainen
b82d10ca57 Theme fixes: /RELOAD reloads them, /SET current_theme changes the default
theme, you can have window specific themes with /WINDOW THEME.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@561 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-31 21:16:09 +00:00
Timo Sirainen
138079e3bd Fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@560 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-31 20:40:24 +00:00
Timo Sirainen
5acdedd25a Never fallback to alternate_nick if nick is set in ircnet settings.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@559 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-31 20:39:31 +00:00
Timo Sirainen
7d3e27370d Never beep with texts with MSGLEVEL_NOHILIGHT level.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@556 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-31 15:36:40 +00:00
Timo Sirainen
8c6bfaac6a Mail check: the also file size changes as well as modify time changes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@554 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-30 20:15:48 +00:00
Timo Sirainen
2607b22633 Moved the beep settings_add_xxx() calls from irc to core.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@553 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-30 18:37:49 +00:00
Timo Sirainen
18bdc77b88 /SET beep_on_msg handling moved to printtext() where it catches all the
levels, not just the IRC levels.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@552 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-30 17:32:55 +00:00
Timo Sirainen
c8706013f8 Moved some IRC specific server stuff to generic server stuff.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@551 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-30 17:30:54 +00:00
Timo Sirainen
87a8f71344 Bugfixes for non-irc server handling.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@550 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-30 17:19:16 +00:00
Timo Sirainen
05cfbaf9d5 /OP, /DEOP, /VOICE and /DEVOICE without any parameters didn't work right
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@549 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-29 17:59:45 +00:00
Timo Sirainen
9fbc842c7b Bugfixes for the windowing system.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@548 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-29 17:59:22 +00:00
Timo Sirainen
ca402b6f66 send() - ignore EPIPE return value and just return "0 bytes sent". The broken
connection will be noticed after recv().


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@547 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-29 15:35:45 +00:00
Timo Sirainen
85b669b6f4 /CHANNEL ADD -botcmd without -bots crashed irssi.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@546 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-27 19:41:48 +00:00
Timo Sirainen
7832572cdc We want to ignore SIGPIPE *ALWAYS*, don't set it back to SIG_DFL.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@545 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-27 01:09:12 +00:00
Timo Sirainen
4a4cd43f0f /ECHO didn't print to active window if it was empty and status window
existed.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@544 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-26 23:56:09 +00:00
Timo Sirainen
091292e079 Mainwindows use now real curses WINDOWs, this should fix irssi with some
curseses that didn't like setscrreg() (solaris 8).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@542 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-26 23:29:34 +00:00
Timo Sirainen
3969c61040 No, we still don't want silc_init() here..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@538 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-26 18:00:22 +00:00
Timo Sirainen
1fe6d11d7e Command completion should override others.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@535 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-26 17:18:52 +00:00
Timo Sirainen
7f104ed15c Channels and ircnets got lost after /RELOAD and /SAVE
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@534 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-24 23:21:11 +00:00
Timo Sirainen
0b2448b97f /BAN #channel now shows bans and ban exceptions in specified channel
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@533 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-24 00:11:40 +00:00
Timo Sirainen
94c4d228fd Call key_unbind()s at deinit.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@532 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23 23:46:41 +00:00
Timo Sirainen
66dccee7f9 Display bolds with the current_theme->default_color color, not with the
"default color" (0) since it doesn't seem to work right with all
terminals.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@531 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23 23:41:47 +00:00
Timo Sirainen
eebfab17cb Don't try to free ircnet if it's NULL.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@530 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23 23:32:28 +00:00
Timo Sirainen
c529fe0096 Added syntaxes of all commands in comments, they're going to be used to
autogenerate help files.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@529 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23 23:19:22 +00:00
Timo Sirainen
3e9164df1b Moved the PL_perl_destruct_level to irssi_perl_init() so Irssi won't
crash after second /PERLFLUSH.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@528 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23 14:58:54 +00:00
Timo Sirainen
30afa4a611 Implemented /IGNORE -time <seconds>, patch by fuchs.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@527 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23 14:41:42 +00:00
Timo Sirainen
f9d4b9d8c8 Awaylog didn't work right if you did /AWAY multiple times.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@526 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23 14:18:32 +00:00
Timo Sirainen
bd9e53a5d2 A few extra checks.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@524 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23 14:07:20 +00:00
Timo Sirainen
24b56c77ec Connecting to IPv6 IRC server with IP address didn't work because the
USER command didn't like the ':' characters in server address..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@523 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23 13:50:07 +00:00
Timo Sirainen
271ebb5be7 Use net-sendbuffer with DCC chat.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@522 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23 13:43:42 +00:00
Timo Sirainen
7f3f53bffe net_sendbuffer_send(): use const void *data instead of void *data
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@521 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23 13:41:34 +00:00
Timo Sirainen
76be0d746e Added handle != -1 check to net_sendbuffer_create()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@520 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23 13:34:39 +00:00
Timo Sirainen
f38457e710 Printing netsplit nicks printed one too less nicks (netsplit_max_nicks-1)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@519 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23 13:11:56 +00:00
Timo Sirainen
d12c861976 Don't print nick changes and quit messages from same nick more than once
in the same window (if you had joined multiple channels in same window).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@518 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23 12:56:02 +00:00
Timo Sirainen
a3a066e9cf Don't allow recursive aliases.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@517 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23 12:47:14 +00:00
Timo Sirainen
f83f64b6be /SET settings_autosave - If set ON, settings are automatically saved
when quitting and once per hour.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@516 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23 12:29:50 +00:00
Timo Sirainen
e322876342 /NOTIFY -idle fixes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@515 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23 11:55:16 +00:00
Timo Sirainen
1a655f3575 is_numeric() returns now FALSE if it was given empty string.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@514 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23 11:54:54 +00:00
Timo Sirainen
1a816b15f5 SET print_active_channel - if you have multiple channels in same window,
should we always print the channel for each message (<nick:#channel>) or
only when the channel isn't active.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@513 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23 01:39:08 +00:00
Timo Sirainen
a31ac88d7d Listing keys with /BIND key now checks the keys case-insensitively.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@512 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23 00:38:46 +00:00
Timo Sirainen
6a3881ce5c Changed the names of /BIND commands to be epic-compatible. Also added
several new commands.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@511 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23 00:29:31 +00:00
Timo Sirainen
d9b661a1fb Moved /SAVE and /RELOAD to fe-common. Print "config saved" and
"config reloaded" messages.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@510 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-22 22:05:29 +00:00
Timo Sirainen
511f95ccaf Ignore case when checking key names.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@509 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-22 22:03:37 +00:00
Timo Sirainen
aec85e1dbd uname() return value checking fixes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@508 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-22 19:14:57 +00:00
Timo Sirainen
bf77ffaa21 another ircnet == NULL fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@507 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-22 19:03:39 +00:00
Timo Sirainen
0f94de8107 Don't crash at startup if IRC network wasn't specified for some server.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@506 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-22 19:02:39 +00:00
Timo Sirainen
a302e44ba3 Implemented /WINDOW LAST for changing to last current window.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@505 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-22 17:07:27 +00:00
Timo Sirainen
b8a08b235b /HELP wasn't working.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@504 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-22 16:59:36 +00:00
Timo Sirainen
360149891c Autologging: if we're already logging the item somewhere else, make sure
that log file is open.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@503 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-22 16:02:50 +00:00
Timo Sirainen
edfbd51827 /RELOAD still didn't work right.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@502 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-21 23:46:24 +00:00
Timo Sirainen
8454f25561 Don't save autologs.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@501 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-21 22:55:20 +00:00
Timo Sirainen
4ba9a1356b You can now change the texts /FORMAT prints itself.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@500 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-21 18:53:04 +00:00
Timo Sirainen
9f4ab07874 /SET completion_disable_auto -> completion_auto
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@499 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-21 18:46:05 +00:00
Timo Sirainen
4bd56ec361 Set perl destruct level to 1 when destroying the perl interpreter with
/perlflush. This should close all the open files etc.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@498 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-21 16:25:45 +00:00
Timo Sirainen
158817c858 WHOIS bugfix: Don't display the signon time if it isn't known..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@497 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-20 23:10:35 +00:00
Timo Sirainen
b76c7db60e The channel key given in /JOIN should override the one given in setup.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@495 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-20 12:35:54 +00:00
Timo Sirainen
97599703af Removed notices from default highlight level
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@494 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-19 21:47:22 +00:00
Timo Sirainen
7196f9ee9a Irssi::is_channel() didn't work because irc.h wasn't included and
ischannel() macro wasn't expanded..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@493 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-19 20:36:53 +00:00
Timo Sirainen
073c895a7b "/notify -list " (happened easily when using tab completion) didn't work
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@492 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-19 12:19:44 +00:00
Timo Sirainen
d7e017a819 When using status window and query windows, /whois to some queried nick
displyed all replies in query window except idle line in status window.
Also added "x days" to idle line.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@490 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-18 23:35:04 +00:00
Timo Sirainen
8828b8cedd /NOTIFY -list displays now "-idle" before the actual idle time..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@489 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-18 23:34:45 +00:00
Timo Sirainen
ff706b45b9 Tab-msgcompletion didn't work right after you had used /msg -ircnet nick
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@488 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-18 23:13:32 +00:00
Timo Sirainen
39ed5066f2 /LASTLOG ignored LINE_CMD_COLOR0 commands.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@487 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-18 22:54:05 +00:00
Timo Sirainen
38746398cb Autocompletion is disabled by default
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@486 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-17 11:23:04 +00:00
Timo Sirainen
4130241809 reuse_unused_windows is always ON when autoclose_windows is OFF.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@484 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-16 23:49:30 +00:00
Timo Sirainen
11bac62935 typofix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@482 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-16 20:38:09 +00:00
Timo Sirainen
c2397475c5 Cleaned up code.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@480 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-16 20:18:05 +00:00
Timo Sirainen
2a1052bbce Was left out from the sendbuffer commit..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@479 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-16 20:17:09 +00:00
Timo Sirainen
ee226421f1 Implemented network transmit buffer. If all data couldn't be sent
immediately, it's sent after a small timeout. This cleans up some code
with IRC command sending.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@478 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-16 19:00:41 +00:00
Timo Sirainen
04c5baf637 Don't ever add \0\0 to text queue - this might break things. Use \0 +
LINE_CMD_COLOR0 instead.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@476 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-16 17:08:53 +00:00
Timo Sirainen
e8ed53bd92 /RELOAD broke keyboard bindings
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@475 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-16 16:35:37 +00:00
Timo Sirainen
6f111a7987 Ctrl-L calls now irssi_redraw() instead of the curses' default..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@474 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-16 16:32:51 +00:00
Timo Sirainen
5e8fd055fe When redrawing screen, refresh the screen after clear() so that curses
won't try to "optimize" the refresh out.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@473 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-16 16:21:13 +00:00
Timo Sirainen
e2efcbc9fa Use status window by default.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@472 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-16 15:55:36 +00:00
Timo Sirainen
b3523dd4f8 Print the text with the "default" color (whatever is set with xterm -fg) -
not the theme->default_color.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@471 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-16 15:35:08 +00:00
Timo Sirainen
02d9f0f4e1 Don't print the -!- DCCMSGS level.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@469 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-15 20:04:44 +00:00
Timo Sirainen
f47156a7ca /SERVER <ircnet> used always port 6667 when connecting.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@468 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-15 14:38:23 +00:00
Timo Sirainen
b19e1450e1 -list option to /NOTIFY wasn't specified in command options.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@467 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-15 14:33:35 +00:00
Timo Sirainen
92e5447ca7 Small bugfix with resizing window.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@466 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-15 14:30:59 +00:00
Timo Sirainen
5707140938 A few checks to check that we really are dealing with IRC servers.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@465 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-15 13:08:39 +00:00
Timo Sirainen
2afaadb2d7 module_find_id() and module_find_id_str() didn't work right if the
requested module didn't have the specified uniqid.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@464 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-15 13:07:16 +00:00
Timo Sirainen
796d51afe4 Fixed DCC stuff. Added DCCMSGS level for DCC chat messages.
Actions match now either MSGS or PUBLIC level as well as the ACTIONS
level always.

Added DCCMSGS level to default highlight levels. Highlighting works
with other than public messages now even if -nick option is used.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@463 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-15 13:04:03 +00:00
Timo Sirainen
1b736a68a7 /IGNORE didn't show if it had -replies flag
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@462 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-11 10:54:15 +00:00
Timo Sirainen
767aadfb7f Ctrl-K also puts the deleted text to cutbuffer which can be recovered
with Ctrl-Y. /eval $U prints the cutbuffer.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@461 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-11 09:44:38 +00:00
Timo Sirainen
02495002e4 Another /IGNORE -replies fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@460 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-11 09:30:43 +00:00
Timo Sirainen
e43c300e78 KEY_LL = end key
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@459 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-11 09:25:09 +00:00
Timo Sirainen
1475e38417 Ctrl-Y fixed when there was no text to undelete. Added CTRL() macro for
defining control keys easier.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@458 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-11 00:25:50 +00:00
Timo Sirainen
f05068ba7c /IGNORE -replies fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@457 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-10 23:27:37 +00:00
Timo Sirainen
dcc2e89b2e Enabled lots of GCC warnings, fixed those that were easy to fix.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@456 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-10 23:00:56 +00:00
Timo Sirainen
eaf49f020a Removed a warning
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@452 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-09 15:28:17 +00:00
Timo Sirainen
07982e1790 MODE checking didn't work right..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@451 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-09 15:28:05 +00:00
Timo Sirainen
885790d08a Don't add the highlighted window to activity list if it's the current
window..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@447 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-09 14:25:03 +00:00
Timo Sirainen
cc8ddca122 Use MSGLEVEL_MSGS/CTCPS/ACTIONS | MSGSLVEL_DCC
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@446 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-09 14:23:56 +00:00
Timo Sirainen
ac0f82ecc6 We're fe-text module, not gui-text
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@445 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-09 14:22:12 +00:00
Timo Sirainen
be643cb48a -option tab-completion didn't work.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@442 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-09 13:28:14 +00:00
Timo Sirainen
273688f6d7 Don't check CTCP replies for autoignoring. /RELOAD printed some
warnings to screen if you had ignored any channels. Nothing is
autoignored anymore by default since there's been too many bugs with
it, probably still is..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@441 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-09 13:03:40 +00:00
Timo Sirainen
92bce7e219 You can change statusbar colors with /SET statusbar_xxx.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@440 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-09 12:51:33 +00:00
Timo Sirainen
a055127cf1 --enable-perl[=libdir] to configure - you can specify what directory to
install the perl libraries.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@439 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-09 12:33:33 +00:00
Timo Sirainen
0fcb26a955 Ctrl-Y undeletes the last ^U'd line.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@438 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-09 11:39:21 +00:00
Timo Sirainen
8bea491a57 Moved is_base_command() from command completion to command_have_sub()
in core/commands.

/HELP <command with subcommands> works now right.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@437 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-09 00:03:46 +00:00
Timo Sirainen
abb46a0313 Netsplit changes - all netsplit handling is now in netsplit/netjoin
files and fe-events.c doesn't know anything about it. Hides server +o
mode change messages - it's displayed as '@' char before the nick in
netjoin message.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@436 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-08 23:28:31 +00:00
Timo Sirainen
3164aecad0 Implemented /BIND [<key> [<action> [<data>]]] command.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@435 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-08 22:31:11 +00:00
Timo Sirainen
7074381bea Reading and saving keyboard configuration actually works now.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@434 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-08 21:47:05 +00:00
Timo Sirainen
cd9efdf9fe Tab-completion for /FORMAT.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@433 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-07 20:49:23 +00:00
Timo Sirainen
19643089f1 If message was for you (your nick at start of line), print it with
MSGLEVEL_HILIGHT, instead of the previous _NOHILIGHT..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@432 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-04 21:47:40 +00:00
Timo Sirainen
0a86cf7e37 /CAT, /HELP xx and reading autorun commands stuck irssi to infinite
loop.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@431 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-04 21:45:54 +00:00
Timo Sirainen
78bbff304e Changed /TOPIC -d to be /TOPIC -delete instead, the automatic option
completion will take care of it.

Added -clear option to /SET.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@430 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-04 19:36:36 +00:00
Timo Sirainen
f369248f68 User mode wasn't set right after server reconnection if server didn't
set any user mode for you automatically.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@429 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-04 19:23:01 +00:00
Timo Sirainen
20e88f4210 Ahem. still broken ;)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@428 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-04 19:07:45 +00:00
Timo Sirainen
4737da10a1 whops. broke it accidentally.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@427 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-04 19:06:26 +00:00
Timo Sirainen
e4a63db280 (zZzZ) wasn't displayed in statusbar if you didn't have any user mode set.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@426 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-04 19:03:57 +00:00
Timo Sirainen
6c9655a513 If there was any spaces after /DCC CHAT nick (like after used nick
completion), Irssi used the spaces as part of the nick. /MSG =nick
would also fail because of it.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@425 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-04 18:56:39 +00:00
Timo Sirainen
f41dc62570 Don't redraw screen after EVERY /SET, just when /SET colors has changed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@424 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-04 00:44:45 +00:00
Timo Sirainen
d1d7840db1 Removed system version from default CTCP reply.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@423 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-04 00:20:20 +00:00
Timo Sirainen
584fa9a034 Server reconnection was a bit buggy - it didn't have to wait for the 5
minutes if it connected to some other server in same ircnet..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@422 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-02 22:22:55 +00:00
Timo Sirainen
f1e1907e80 forgot to add this
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@421 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-02 22:11:56 +00:00
Timo Sirainen
21999ae205 Implemented runtime loadable modules. /LOAD loads a module, /UNLOAD
unloads it.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@420 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-02 22:04:00 +00:00
Timo Sirainen
4475a04841 If you're pasting text to channel and some of it starts with /, Irssi
will send the "/command" to channel if it doesn't exist (instead of
just printing "unknown command").


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@419 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-02 19:22:30 +00:00
Timo Sirainen
eee71a093a Logs were closed and entirely removed after doing /RELOAD.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@418 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-02 18:52:15 +00:00
Timo Sirainen
7d1cbac459 Fixed a couple of potential problems if there was longer lines than 64k
in help files, autorun file or /catted file.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@417 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-02 18:23:31 +00:00
Timo Sirainen
b9cfabc419 /^command hides the output of the command, it's not written to log
either. Good for sending passwords for example.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@416 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-02 17:57:10 +00:00
Timo Sirainen
c451c94c68 Minor memleak fixed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@415 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-02 16:24:28 +00:00
Timo Sirainen
bb76eec0ff When netsplit is over, irssi prints "Netsplit over, joins: (nicks)" and
hides all the real JOIN messages. Fixed also some netsplit bugs.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@414 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-02 16:19:26 +00:00
Timo Sirainen
cf7d6915f5 Don't check highlighting if the message was meant for you (your nick at
the start of the line). Also, highlighted texts didn't really set the
window's color right in activity list..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@413 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-02 12:07:49 +00:00
Timo Sirainen
2f97b822fb "Temporary error in nameserver" shouldn't remove server reconnections.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@412 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-02 11:56:38 +00:00
Timo Sirainen
c15f655bca Automatic command and option completion didn't check ambiguous commands
right. For example /VER didn't work because there was /VERSION command
too..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@411 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-02 11:30:19 +00:00
Timo Sirainen
f4b1470539 The month name parameter was supposed to go to daychange format, not to
timestamp.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@408 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-01 21:15:53 +00:00
Timo Sirainen
c0e3f556e4 Fixed crash.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@404 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-01 00:34:14 +00:00
Timo Sirainen
68994bd738 Removed some warning messages.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@403 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-30 22:01:36 +00:00
Timo Sirainen
30f4151e51 WI_ITEM_REC was modified, but CHANNEL_REC, etc. wasn't. BIG mistake.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@402 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-30 21:33:57 +00:00
Timo Sirainen
39282a342f If joined channel had some low-ascii (color codes), they were displayed
wrong in statusbar and prompt. Also, if you're invited to some channel,
print the lowascii so that you can see them (^B, etc.)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@400 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-30 19:54:34 +00:00
Timo Sirainen
58397c1ca9 /MSG completion fixes. /HELP command completion works. Some other fixes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@399 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-30 19:51:53 +00:00
Timo Sirainen
e90cdaf4ca Lots of /HILIGHT changes. You can use color names with -color. Window
numbers are colored with the highlight color in activity statusbar
item.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@398 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-30 19:50:56 +00:00
Timo Sirainen
5da58d5849 Added "servertag" format - it's displayed before the message if it
comes from a server different than the one active in window, or in all
empty windows if you're connected to multiple servers.

In "daychange" format you can use $3 to print the current month name.
Changed the default to "dd mon yyyy" style.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@397 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-30 19:49:12 +00:00
Timo Sirainen
4faf4d1303 /SCROLLBACK HOME/END/GOTO commands weren't working right.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@396 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-30 19:45:28 +00:00
Timo Sirainen
d0dcffab7b When doing "/OP nick1 nick2" (two spaces), irssi tried to op "" nick too.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@395 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-30 19:44:50 +00:00
Timo Sirainen
6b7d03e2cf /SET window_close_on_part -> /SET autoclose_windows
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@394 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-28 22:58:54 +00:00
Timo Sirainen
77adc998ef /REHASH -> /RELOAD so it won't collide with the server's rehash command.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@393 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-28 22:29:06 +00:00
Timo Sirainen
f1877ec705 Added options -delete and -reset for /FORMAT. -delete sets the string
empty, and -reset sets it to the original format.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@392 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-28 22:25:07 +00:00
Timo Sirainen
95b74de316 /HILIGHT changed. -nick option now tells to hilight only the nick, not
the whole line. -mask option matches the text for nick mask (it didn't
even work before).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@391 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-28 21:47:13 +00:00
Timo Sirainen
dc22d8830d Setting lag_min_show to -1 disables displaying lag entirely.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@390 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-28 21:06:17 +00:00
Timo Sirainen
d4f8ad2c3f Don't count messages that have "FOLDER INTERNAL DATA" text in their
subject.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@389 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-28 20:46:46 +00:00
Timo Sirainen
8fc1e0535c You can send message to different server with /MSG -<server tag> nick...
Tab-completion changes:
 - in empty line, it completed /MSG nick1 fine, but another tab press
   didn't give the next nick.
 - "/command <tab>" doesn't try to complete /command, but instead it tries
   to complete it's subcommand or first parameter.
 - /MSG completion now goes through nicks in ALL servers prefixing the nick
   with -<server tag> if needed.
 - /MSG -tag <tab> completes only nicks in "tag" server.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@388 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-28 20:00:39 +00:00
Timo Sirainen
7e531cec7a Automatic command completion and a few other fixes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@387 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-28 17:15:37 +00:00
Timo Sirainen
dd7ce4af23 You can complete #channels, Irssi uses only the joined channels and
channels in setup.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@386 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-28 15:44:43 +00:00
Timo Sirainen
c248de0eca -options can now be completed with tabulator. There's also automatic
completion for them, like instead of /join -invite you can use just
/join -i.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@385 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-28 15:36:57 +00:00
Timo Sirainen
6757207328 The "max. count" parameter in /LAST didn't work right.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@384 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-27 19:20:23 +00:00
Timo Sirainen
7718294fa0 "print text stripped" signal wasn't resent with MSGLEVEL_HILIGHT level.
This broke at least logging hilighted messages.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@383 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-27 19:11:25 +00:00
Timo Sirainen
2f53972523 Closing active window that had window items could crash.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@382 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-27 18:26:22 +00:00
Timo Sirainen
0dbfd281c9 Created signal_get_uniq_id() macro. Added some documentation about
signals to design.txt.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@381 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-25 23:39:23 +00:00
Timo Sirainen
69b8d4f81b Subcommand and command parameter completion works now also if you use
alias as the base command.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@380 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-25 22:59:49 +00:00
Timo Sirainen
0415b1bbce Using \n with /SET expand_escapes ON didn't work right.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@379 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-25 22:40:25 +00:00
Timo Sirainen
4f034717c0 WHOIS and "no such nick" messages are displayed in nick's query window
if it exists + other cleanups and minor changes.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@378 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-25 22:25:24 +00:00
Timo Sirainen
97bf5f5b39 Settings completion works with /TOGGLE also, it completes only boolean
settings. /SET completion works now even if '/' isn't in command chars.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@377 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-25 22:14:09 +00:00
Timo Sirainen
892afcb9e6 completing files in root directory put extra / character at the start
of the line


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@376 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-25 22:05:44 +00:00
Timo Sirainen
0bc084770c File name completion crashed if you tried to complete file in directory
that didn't exist or you didn't have read permission.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@375 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-25 21:59:30 +00:00
Timo Sirainen
cb1666cb21 /command -option fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@374 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-20 19:28:19 +00:00
Timo Sirainen
6fda8d1059 /topic's cmd_get_params() had wrong parameter count..
removed unused variable from netsplit.c


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@372 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-20 10:14:15 +00:00
Timo Sirainen
2cb75b5eb2 cmd_get_params() calls had wrong parameter counts.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@371 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-20 09:21:54 +00:00
Timo Sirainen
1ba308c26c When scrollback buffer got full and you hadn't done /LAST or /AWAY,
Irssi crashed..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@370 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-20 09:20:45 +00:00
Timo Sirainen
49c4506bd8 Display /ALIAS list sorted.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@369 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-18 10:25:39 +00:00
Timo Sirainen
aca24d1795 Don't use cmd_get_params() to split the two hosts, it's a lot easier to
use strchr()..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@368 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-18 10:10:48 +00:00
Timo Sirainen
e21e289b5d File completion updates:
- ~/ isn't expanded to /home/xxx/
 - . and .. don't show up in list anymore
 - .files won't be added to list unless you try to complete file name
   starting with .


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@367 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-18 10:05:14 +00:00
Timo Sirainen
d110c9cb3b Added g_dirname() so ig_free() won't complain when free()ing it.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@366 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-18 10:02:39 +00:00
Timo Sirainen
a5d31a195d Changed option handling in /commands. Irssi will now complain about
unknown options and missing option arguments.

Renamed /SERVER -add, -remove and -list to /SERVER ADD, REMOVE and LIST.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@365 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-18 01:18:12 +00:00
Timo Sirainen
a9a0f4fd64 Added file name completion for commands /CAT, /RUN, /SAVE, /REHASH and
/RAWLOG OPEN/SAVE.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@363 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-17 16:10:29 +00:00
Timo Sirainen
0762fbc945 "command complete" -> "complete command" so that it won't conflict with
/complete command .. also changed "word complete" to "complete word".


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@362 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-17 16:03:43 +00:00
Timo Sirainen
8fa6ca5e61 File name completion for /DCC SEND
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@361 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-17 15:58:40 +00:00
Timo Sirainen
f0d6ef99dc Completion list is now sorted.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@360 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-17 13:16:42 +00:00
Timo Sirainen
8c60237fbe Don't add same /command more than once to completion list.
Completion didn't work right when completing subcommands's subcommand.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@359 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-17 13:04:19 +00:00
Timo Sirainen
ea00d4c948 Forgot to add this.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@358 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-17 12:23:59 +00:00
Timo Sirainen
8ea2400269 Added /SET reuse_unused_windows setting, default is OFF
If window_close_on_part is ON, we don't anymore close the window if we
get kicked or connection gets lost. Also don't close DCC chat window if
the other side disconnects.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@357 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-17 12:22:56 +00:00
Timo Sirainen
234e95ef94 Rewrite Tab-completion to work with signals - now it should be easy to
add completion to whatever command.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@356 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-17 11:53:45 +00:00
Timo Sirainen
bc8848f965 /LAST -away checks only lines that came after last time you went away.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@355 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-15 23:00:52 +00:00
Timo Sirainen
cf75515274 You can specify command(s) to be sent automatically to server after
connected with /IRCNET -autosendcmd. Useful for IRC networks with
NickServ. Patch by <Tommi.Komulainen@iki.fi>

Ability to send a command automatically to server IRC network


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@354 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-15 20:56:58 +00:00
Timo Sirainen
91396de740 bugfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@353 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-15 19:34:54 +00:00
Timo Sirainen
afb6d6fd02 If join to !channel wasn't successfull (banned, etc.), Irssi didn't remove
the channel's window item.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@352 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-15 19:34:31 +00:00
Timo Sirainen
09e20e1d78 "window changed" signal handler didn't check if the old or new window
is NULL.

window_has_query()


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@351 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-15 18:33:08 +00:00
Timo Sirainen
df2ad566d8 Whops, last "fix" broke timestamp's time.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@350 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-15 10:39:24 +00:00
Timo Sirainen
b810f0d545 Don't waste time calculating timestamp differeces if the
timestamp_timeout is 0.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@349 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-14 22:31:59 +00:00
Timo Sirainen
84efea6a6a Remove line cache from memory after 10 minutes of inactivity.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@345 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-14 20:12:51 +00:00
Timo Sirainen
6b811b1c2c Don't show "End of WHOWAS" if none of the nicks were found.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@344 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-14 19:40:23 +00:00
Timo Sirainen
6140ab3704 Renamed /SET query_auto_close to autoclose_query.
Added /SET autocreate_own_query - it specifies if we want to create
query window when we send /MSG to someone.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@343 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-14 19:05:51 +00:00
Timo Sirainen
627d288a49 Tab-completion works now with /commands and /set variables, patch by
<Tommi.Komulainen@iki.fi>. Fixed also a few memleaks.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@342 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-14 18:19:05 +00:00
Timo Sirainen
72b32ff175 Ctrl-W deletes word in left - patch from
Kjetil �degaard <kjetilod@orakel.ntnu.no>


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@341 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-14 18:02:13 +00:00
Timo Sirainen
22b12d85ee In netsplit quit messages, display @ in front of operators' nicks.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@340 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-14 17:58:14 +00:00
Timo Sirainen
47fd84c5bc Fixed some flood detection, ignoring and autoignoring bugs.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@339 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-14 17:52:03 +00:00
Timo Sirainen
6d77cdc8b7 Read new server specific settings when reconnecting to new server.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@338 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-14 17:50:16 +00:00
Timo Sirainen
db8918ae61 /SET mail_counter on|off. Also, it doesn't anymore read through the file
if it's modification time hasn't changed.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@337 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-14 17:48:13 +00:00
Timo Sirainen
c5d1dab0bc tab-completion in the middle of line left the cursor in wrong place.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@336 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-14 17:44:03 +00:00
Timo Sirainen
c892353bf4 "window changed" signal now gives the old window as it's second argument.
query_auto_close now resets the "last check" time when changing to some
other window FROM it.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@335 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-14 17:41:45 +00:00
Timo Sirainen
4f9df44cb6 Logging wrote to message to file twice.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@334 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-14 17:33:41 +00:00
Timo Sirainen
0238eeb5e2 If name tag contains '_', it shouldn't be quoted.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@333 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-14 17:31:53 +00:00
Timo Sirainen
7365afddea Max. mode parameter count was taken from wrong place.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@332 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-12 23:33:35 +00:00
Timo Sirainen
8458c2ee15 Changed the default flood detection values.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@331 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-12 23:30:00 +00:00
Timo Sirainen
dc50f35b75 Flood detection fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@330 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-12 23:27:41 +00:00
Timo Sirainen
d446fefa32 Channel messages were printed wrong because of previous cleanup :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@329 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-12 23:19:34 +00:00
Timo Sirainen
661ad04688 /HILIGHT -channels didn't work right.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@328 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-12 23:18:24 +00:00
Timo Sirainen
18f3c74d68 CTCP msgs/replies stops the "event privmsg" or "event notice" signals now
so you don't have to check for them anymore (unless you use
signal_add_first()..).

/WINDOW MOVE command had some bugs.

CTCP reply to some channel didn't display the channel name.

Several code cleanups.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@327 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-12 22:57:53 +00:00
Timo Sirainen
919abb2c6f /EVAL will now expand \n and \t to newline and tab.
If you /SET expand_escapes ON and type \n or \t to text line, they
will be expanded.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@326 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-11 22:58:17 +00:00
Timo Sirainen
b8e1bb0444 Print "starting query with <nick>" when query is created.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@325 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-11 21:01:30 +00:00
Timo Sirainen
10c92487a3 /SET close_window_on_part - should we close the window too when
/PARTing channel


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@324 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-11 20:21:12 +00:00
Timo Sirainen
153e95f728 Clear window's waiting_channels list if some other channel/query is
created in the window.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@323 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-11 20:04:15 +00:00
Timo Sirainen
524a7ca1b9 If you're not allowed to connect to server (K-lined, no I-line), Irssi
won't try to reconnect back to the server.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@322 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-11 19:34:29 +00:00
Timo Sirainen
e6187b66e9 Cleaned up some code.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@321 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-11 00:58:15 +00:00
Timo Sirainen
b44acaf46e Displays Mail counter in statusbar. Read the FIXME for more info :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@320 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-11 00:42:37 +00:00
Timo Sirainen
a914922f36 Check ignores when printing net split messages.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@319 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-11 00:03:28 +00:00
Timo Sirainen
08af8081d0 if command is unknown, and cmdchar is found inside the command name, we
probably want to send the whole line to channel. for example when
pasting a path /usr/bin/xxx


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@318 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-10 23:40:47 +00:00
Timo Sirainen
89b47010b3 Changed the behaviour of how to handle "send command" signal (text you
typed to entry field).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@317 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-10 23:20:22 +00:00
Timo Sirainen
fbb5cd6990 same cmdchar twice ignores aliases ignores aliases - not any two cmdchars
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@316 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-10 22:48:18 +00:00
Timo Sirainen
15d49dbd85 /WHOIS automatically sends a /WHOWAS query if nick wasn't in IRC.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@315 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-10 21:40:00 +00:00
Timo Sirainen
bdb70fe464 /JOIN -<server tag> #channel joins to channel in specified server.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@314 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-10 20:03:43 +00:00
Timo Sirainen
c1b73039cd If autocreate_query is ON, /MSG nick now creates the query.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@313 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-10 19:51:36 +00:00
Timo Sirainen
ff86916dc3 Ctrl-X changes IRC server in stats/msgs/empty windows.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@312 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-10 19:16:25 +00:00
Timo Sirainen
f877d934b3 "Day changed" is now printed at right time, never after already printed
some messages after 00:00..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@311 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-10 18:56:03 +00:00
Timo Sirainen
03ca2e6d90 Don't display the msgs window by default anymore since query windows are
created by default also..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@310 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-10 18:12:28 +00:00
Timo Sirainen
47c7817bc5 /MODE +something or /MODE -something assumes that we want to change the
active channel's mode.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@309 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-10 08:58:52 +00:00
Timo Sirainen
9b6d5f7e99 Rotate time names changed :) week -> weekly, day -> daily, etc.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@308 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-10 08:39:19 +00:00
Timo Sirainen
7503302d23 /CHANNEL LIST displayed comma at the end of channel options. ugly.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@307 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-10 08:34:20 +00:00
Timo Sirainen
5a94ff859c Added Irssi::Dcc::values(), updated a few other DCC things too.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@306 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-09 17:29:12 +00:00
Timo Sirainen
3fd3a03402 Beeps should work(?). ANSI colors had some bugs, bolds weren't working and
blinking crashed irssi.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@305 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-09 16:58:52 +00:00
Timo Sirainen
6ee0a40abb Window activity is now "msg to you" with lines containing hilighted text.
You can disable window activity notifies in some channels with
/SET noact_channels #chan1 #chan2 .. The activity is displayed if some
text had "msg to you" level.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@304 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-09 16:19:42 +00:00
Timo Sirainen
41ff80bb3e You can specify the format of the /WALL text with /SET wall_format,
default is "[Wall/#channel] text". The WALL is also printed to screen.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@303 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-09 15:50:04 +00:00
Timo Sirainen
f4d7561660 /WHO and /WHO * should disply who list of the active channel.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@302 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-07 18:35:15 +00:00
Timo Sirainen
4282f07347 If config_node_get_str() is given NULL node, return the given default.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@301 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-06 19:14:51 +00:00
Timo Sirainen
0a1282765e Use INADDR_BROADCAST if INADDR_NONE isn't defined.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@300 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-06 19:13:35 +00:00
Timo Sirainen
c583a08c53 Replying to dcc get and chat requests didn't work.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@299 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-06 19:12:19 +00:00
Timo Sirainen
69b38e702d bugfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@298 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-06 16:58:06 +00:00
Timo Sirainen
27b82cea35 Maybe I should have tried to run irssi after the ignore_signals "fix" ..
now really fixed.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@297 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-05 17:38:27 +00:00
Timo Sirainen
a53aa269c2 ignore_signals setting wasn't read at startup..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@296 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-05 17:32:29 +00:00
Timo Sirainen
3980201361 /HILIGHT displayed levels twice.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@295 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-04 21:11:53 +00:00
Timo Sirainen
80c03f4572 fixed two minor memleaks. irc/bot directory isn't now build if you specify
--without-bot parameter to configure


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@294 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-04 20:54:33 +00:00
Timo Sirainen
7755aae26b 0.7.90 released.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@292 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-04 16:01:19 +00:00
Timo Sirainen
29ac175069 forgot this file..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@291 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-04 15:33:48 +00:00
Timo Sirainen
a7f5540cba /IRCNET command.
PARAM_FLAG_NOQUOTES flag for cmd_get_params()


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@290 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-04 14:52:47 +00:00
Timo Sirainen
ee46dc71ab Updated /SERVER, /CHANNEL and /IGNORE in manual.
/CHANNEL ADD works now better when modifying existing channel.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@289 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-04 13:24:53 +00:00
Timo Sirainen
086e433bc6 /LOG show reference number for each log, you can use it with /LOG START,
STOP and CLOSE commands instead of file name.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@288 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-04 12:59:46 +00:00
Timo Sirainen
8562737548 completion_msgtoyou() -> irc_nick_match()
Implemented -replies option to /ignore.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@287 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-04 12:38:28 +00:00
Timo Sirainen
1a541c149d ..and fixed DCC resume that I just broke.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@286 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-04 01:52:51 +00:00
Timo Sirainen
35fab0c9ef Lots of DCC related fixes.
Added command_bind_first() and command_bind_last() functions.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@285 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-04 01:36:07 +00:00
Timo Sirainen
841736a7d3 Removed a warning.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@284 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-04 00:04:02 +00:00
Timo Sirainen
3d39cded63 bits2level() with zero as argument printed some glib warnings.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@283 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-03 18:54:59 +00:00
Timo Sirainen
94adc5ef62 /SET hostname didn't affect until restart.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@282 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-02 22:55:20 +00:00
Timo Sirainen
ba69fc3ae7 ..and cvsignores for new binaries..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@281 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-02 01:59:19 +00:00
Timo Sirainen
3225399ce6 Changed binary names: irssi-text -> irssi, irssi-bot -> botti
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@280 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-02 01:58:52 +00:00
Timo Sirainen
2191eedbb2 Changed irssi's url to http://irssi.org
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@279 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-02 01:55:03 +00:00
Timo Sirainen
65a6e49964 If we used /SB GOTO 23:59 or something, we wanted to jump to
previous day's 23:59 time instead of into future..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@277 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-02 01:49:10 +00:00
Timo Sirainen
b9393e864b /AWAY <away message> now sets yourself away in all IRC servers.
If you wish to set it only to one server, use /AWAY -one <message>


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@276 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-02 01:19:06 +00:00
Timo Sirainen
bf61b699da Awaylog is printed to screen when you set yourself unaway.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@275 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-02 01:15:51 +00:00
Timo Sirainen
d2df583801 /CAT <file name> [seek position]
If we don't want to print the file from beginning.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@274 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-02 01:15:19 +00:00
Timo Sirainen
0e65ba80ca common-setup.h wasn't removed from here - Made rawlog to use
"log_create_mode" setting.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@273 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-02 01:04:42 +00:00
Timo Sirainen
3e4f947934 removed common-setup.h, put all settings in it to files where they belong to.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@272 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-02 00:36:54 +00:00
Timo Sirainen
397def0d3c if you were at the top of the scrollback buffer and the first line line
was removed from buffer, ypos was updated wrong and it messed up some things.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@271 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-02 00:27:57 +00:00
Timo Sirainen
f3e4224748 --more-- in statusbar should now work right.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@270 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-02 00:19:11 +00:00
Timo Sirainen
6519b1ba58 Or actually :) SIGINT shouldn't be ignored, it's used to detect Ctrl-C...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@269 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-01 23:33:47 +00:00
Timo Sirainen
676673e960 Removed "ignore_sigquit" and added "ignore_signals" instead. You can ignore
signals: hup, int, quit, term, pipe, alrm, usr1, usr2


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@268 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-01 23:30:40 +00:00
Timo Sirainen
defb53e6ce "ignore_sigquit" setting - when enabled, ignore SIGQUIT signals. ncurses
does this when pressing ctrl-4. With some terminals, there's no meta key and
you'll have to use ctrl-3 instead which is pretty close to 4..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@267 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-01 23:11:31 +00:00
Timo Sirainen
c7fbd670e6 /server -add messed up everything when modifying existing servers.
Now it also changes only the specified settings in the server instead of
replacing it entirely.

only the settings you change changed parts


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@266 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-01 18:04:34 +00:00
Timo Sirainen
b4a9ee1966 Some strange servers replied to MODE #chan1,#chan2 with "Cannot join channel
(illegal name)". IMHO this is not a logical reply from server.. fixed, anyway.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@265 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-01 17:36:39 +00:00
Timo Sirainen
bb5d6a730b crashed when reconnecting to server that didn't automatically set
any user mode (I _did_ fix this a week ago, what happened to it?)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@264 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-01 17:31:03 +00:00
Timo Sirainen
f741a73ad4 /BAN * and /UNBAN * equals to /BAN * * or /UNBAN * *, so you don't have to
write the * twice when banning/unbanning everyone..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@263 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-01 17:22:17 +00:00
Timo Sirainen
4dd5c50390 match_wildcards() didn't work right if data contained '*' characters and
we were matching it to '*'..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@262 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-01 17:17:45 +00:00
Timo Sirainen
6233d6d9bf Leaving from some channel didn't update status bar.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@261 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-01 17:08:30 +00:00
Timo Sirainen
7a255bf839 forgot these from /MOTD fix..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@260 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-01 17:07:32 +00:00
Timo Sirainen
1b297770a0 Manually asking /MOTD didn't work if we had skip_motd setting enabled
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@259 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-01 16:55:15 +00:00
Timo Sirainen
9bbd284721 /topic -d [#channel] clears the topic.
When topic cleared, the topic bar wasn't refreshed immediately.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@258 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-01 16:49:19 +00:00
Timo Sirainen
6046bf4c5b /ignore -asd tried to print "unignored" text with NULL argument.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@257 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-01 16:48:20 +00:00
Timo Sirainen
e5385ceb35 cmd_get_params() fixes:
- arguments and optional channel flags couldn't be used together
- -- argument treats the rest of the text as non-arguments, like
  /topic -- -hello- sets the topic to -hello-.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@256 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-01 16:46:50 +00:00
Timo Sirainen
bf8616ee26 /userhost command didn't work ("unknown command"), and sending it with
/quote userhost crashed.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@255 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-01 15:04:41 +00:00
Timo Sirainen
70cc8afa4a when nick is quitting only from one channel, don't print the channel's name.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@254 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-30 14:54:36 +00:00
Timo Sirainen
ed14019530 Sending files through botnet works.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@253 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-29 23:31:48 +00:00
Timo Sirainen
9747762593 bugfixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@252 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-29 17:34:47 +00:00
Timo Sirainen
329fbd3ee8 signal_stop_by_name() didn't work
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@251 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-29 17:10:22 +00:00
Timo Sirainen
93173356bb --with-modules=xxx builds now specified extra modules to irssi binary.
memdebug (if enabled) doesn't now by default check for buffer overflows
since it's a huge slowup.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@250 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-29 16:37:00 +00:00
Timo Sirainen
4255d6c075 User changes are sent to botnet. Botnet commands are automatically sent
forward unless you stop it with signal_stop_by_name("botnet event").


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@249 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-29 12:47:25 +00:00
Timo Sirainen
59d47df22d msgs window was irc server specific - messages from other irc servers were
displayed in active window.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@248 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-29 00:32:48 +00:00
Timo Sirainen
8c06612a28 text buffer fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@247 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-28 22:53:35 +00:00
Timo Sirainen
34c127babe Long lines sometimes had some colors displayed wrong.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@246 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-27 14:51:58 +00:00
Timo Sirainen
64e67302ea Netsplit messages are now printed with QUITS message level.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@245 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-27 13:49:29 +00:00
Timo Sirainen
b6cadd5388 fixed a crash (first cvs commit in home for 2 months :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@244 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-26 15:28:13 +00:00
Timo Sirainen
dc61a24934 Didn't work, fixed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@243 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-25 17:41:26 +00:00
Timo Sirainen
64810700e2 Didn't compile with IPv6 support.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@242 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-25 17:12:44 +00:00
Timo Sirainen
555a2bf929 Print nicks who quit IRC in netsplit message. See netsplit section in
docs/manual.txt for more information.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@241 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-25 16:40:25 +00:00
Timo Sirainen
c39c27a1ff If we couldn't connect to any of our uplinks, wait for 5 minutes and
try again.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@240 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-25 14:34:40 +00:00
Timo Sirainen
2440a5b0b6 Unline glib.h tells, g_getenv() doesn't return newly allocated string
after all..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@239 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-25 13:54:43 +00:00
Timo Sirainen
71e4687a76 If line didn't have a color change code at the beginning, it could have
been printed with wrong color.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@237 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-25 13:27:17 +00:00
Timo Sirainen
5896d8350d When connecting, USER's second (and third?) parameters sometimes are
meaningful, server won't let more than one people in from host specified in
second parameter. Since irssi always set both of these to "-", only one
Irssi could connect to the server.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@236 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-25 13:15:57 +00:00
Timo Sirainen
69d15cfd79 If server's host name lookup fails, don't try to reconnect back to it.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@235 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-25 13:09:22 +00:00
Timo Sirainen
9c8516f2ee irc/irc.c and fe-common/irc/irc-modules.c are generated by configure
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@234 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-25 12:58:59 +00:00