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

3975 Commits

Author SHA1 Message Date
Timo Sirainen
444f88ac88 Disconnect if net_sendbuffer_send() fails.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@651 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-06 22:00:28 +00:00
Timo Sirainen
4969326cd6 line_split() : use g_memmove() instead of memcpy() .. hm. how could
this even work before? :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@650 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-06 21:54:53 +00:00
Timo Sirainen
2d1ac3059a /set autocreate_query -> /set autocreate_query_level
fixes to /ircnet, /server and /channel commands
other updates and fixes


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@649 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-06 21:30:56 +00:00
Timo Sirainen
008ec45db2 config_node_clear() didn't work right.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@648 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-06 21:02:32 +00:00
Timo Sirainen
5b92180b13 Added tab-completion for /BIND's commands.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@647 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-06 19:32:17 +00:00
Timo Sirainen
097bbcef14 Restoring saved windows (/savewindows) didn't work.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@646 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-06 19:22:07 +00:00
Timo Sirainen
86a8cc7d6d /bind <key> command <cmd> - <cmd> doesn't need to start with / anymore
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@645 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-06 19:16:02 +00:00
Timo Sirainen
1b5099752a /PART #channel1,#channel2 didn't work
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@644 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-05 00:37:33 +00:00
Timo Sirainen
e75bea0afa Actions will now show up in window activity with hilight or
message-color, not the text-color as before.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@643 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-04 23:39:42 +00:00
Timo Sirainen
3edf444ca1 bugfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@642 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-02 19:29:32 +00:00
Timo Sirainen
755a8d40eb Updates.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@641 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-02 18:53:58 +00:00
Timo Sirainen
28a7908e73 Added chat protocol register. Changed all chat_type fields to use it.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@640 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-01 00:26:46 +00:00
Timo Sirainen
03091413ee Automatic joining to channels didn't work
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@639 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-31 21:03:40 +00:00
Timo Sirainen
b4bdec4436 Object type checking fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@638 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-30 22:29:55 +00:00
Timo Sirainen
cf7eb945ea Highlighting fixes with public messages.
/msg tab completion list growed to size of completion_keep_privates,
the new nicks were removed from list instead of the old nicks.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@637 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-29 23:43:59 +00:00
Timo Sirainen
18a0499ce7 /mode #channel -oooo... would deop the first 3, and then op the rest.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@636 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-29 19:26:05 +00:00
Timo Sirainen
3e2f19b030 updates
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@634 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-27 23:07:01 +00:00
Timo Sirainen
e395e87ded Lots of moving stuff around - hopefully I didn't break too much :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@632 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-26 15:39:44 +00:00
Timo Sirainen
3d124da13b Some fixes to handling +l and +k mode.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@631 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-26 00:35:32 +00:00
Timo Sirainen
2e886d62f5 Don't allow sending data to dcc chats if connection isn't finished yet.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@630 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-25 22:53:22 +00:00
Timo Sirainen
776895eeac log_day_change was never printed in logs.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@629 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-25 21:10:05 +00:00
Timo Sirainen
9a2b8e95ed /BAN could crash when showing bans
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@628 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-25 10:46:47 +00:00
Timo Sirainen
c084cfc5ca send "irssi init finished" _after_ setting up perl support.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@627 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-24 01:49:10 +00:00
Timo Sirainen
d74313b368 Signals that sent GSList as parameters didn't work right with perl scripts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@624 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-24 00:57:26 +00:00
Timo Sirainen
cac3d29be9 masks_match() was buggy
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@623 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-24 00:56:46 +00:00
Timo Sirainen
6415f506de Call idlok() for all new subwindows.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@622 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-23 02:06:38 +00:00
Timo Sirainen
3f8c35db91 fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@621 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-23 01:44:46 +00:00
Timo Sirainen
48cb846230 Unloading perl script crashed if it has used Irssi::timeout_add().
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@620 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-22 22:11:37 +00:00
Timo Sirainen
08c6484b6b Using blinking/bright background colors would crash irssi..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@619 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-22 21:39:18 +00:00
Timo Sirainen
2e64899f18 HAS_MODE_ARG() wasn't updated here yet..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@618 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-22 20:28:03 +00:00
Timo Sirainen
67cc9af1bd Channel mode handling changed - there's no more mode_xxx fields in
channel structure, but instead just one mode string field. Also
handling half-ops (+h) should work right.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@617 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-20 07:17:13 +00:00
Timo Sirainen
7cbd164e75 If nick argument isn't given to /OPER, your current nick will be used.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@616 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-19 20:14:09 +00:00
Timo Sirainen
c8ff099563 Parameters to key_bind() with scroll_end was given in wrong order.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@615 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-19 19:28:04 +00:00
Timo Sirainen
4476029fdd plugin -> module
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@614 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-16 00:49:02 +00:00
Timo Sirainen
8dab451d18 Small memleak fixed
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@613 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-16 00:48:51 +00:00
Timo Sirainen
2e3a056110 /LAST - didn't work right.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@612 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-16 00:48:29 +00:00
Timo Sirainen
2de5b40ac5 More fixes for 5.004 and older.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@611 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-16 00:26:07 +00:00
Timo Sirainen
337d34fe54 Fixes to make irssi work with other (older and newer) perl versions
than 5.005


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@610 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-16 00:20:05 +00:00
Timo Sirainen
a02b903252 /MSG -servertag crashed irssi.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@609 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-15 21:54:33 +00:00
Timo Sirainen
3baf7fbd4c Some changes handling g_input_add() - maybe this helps to problems
where irssi sometimes eats all the cpu.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@608 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-15 00:22:08 +00:00
Timo Sirainen
a2d0944eee Some server reconnection fixes. Reconnect now allows you to have
more than one reconnection to the same server.

Changed the deinit() order in IRC module to cleanly free all memory.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@607 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-14 21:42:37 +00:00
Timo Sirainen
ee83de5526 /SET wall_format updated, it sent only first word of the wall message
($1 -> $1-)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@606 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-14 21:17:51 +00:00
Timo Sirainen
ab316612d5 Added i18n initialization.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@605 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-13 23:15:05 +00:00
Timo Sirainen
1e88ec7dcd Mail counter fixes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@604 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-13 22:02:32 +00:00
Timo Sirainen
1e7d7490f6 Perl scripts with non-alphanumeric characters in file name failed to
load. Now such chars are converted to _ automatically.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@603 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-13 21:35:59 +00:00
Timo Sirainen
38d257e236 /DCC LIST: % done didn't work right with large files.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@602 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-13 15:58:20 +00:00
Timo Sirainen
97c0b8311d Updated /QUERY syntax
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@601 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-13 15:28:14 +00:00
Timo Sirainen
c96a0d2ac5 Implemented Irssi::print_window(), added optional level parameter to
Irssi::print()


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@597 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-13 13:54:34 +00:00
Timo Sirainen
9fe81dcaf0 bugfixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@595 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-12 23:51:53 +00:00
Timo Sirainen
98b037ac71 Query windows are now restored if they were saved with /SAVEWINDOWS.
Moved /QUERY command handling to fe-query and simplified handling the
-window option.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@594 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-12 22:58:16 +00:00
Timo Sirainen
c036632b8f removed log rotating stuff.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@593 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-12 21:12:33 +00:00
Timo Sirainen
9e5926c207 Don't trigger window activity if window is already visible in some
other split window.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@592 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-12 16:40:39 +00:00
Timo Sirainen
6675cec459 mkpath() - behaves like mkdir -p. Autologging now uses it to create
log directories.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@591 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-12 15:50:50 +00:00
Timo Sirainen
308e84bbc4 WJOIN -> /JOIN -window
WQUERY -> /QUERY -window.
Added support for /QUERY -<server tag>.
Added aliases for WJOIN and WQUERY to default config file.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@590 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-12 02:16:52 +00:00
Timo Sirainen
81af47808b Don't trigger window activity when you send /MSG etc.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@589 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-12 01:42:54 +00:00
Timo Sirainen
31984127a8 Added namespaces for perl scripts.
You can unload scripts with /UNLOAD <name>.

Running scripts that are already loaded, destroys the old script from
memory.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@588 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-12 01:24:40 +00:00
Timo Sirainen
32851fcfe3 Entry line scrolling works better.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@587 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-11 22:13:27 +00:00
Timo Sirainen
ccf12d2bfc /LOG: Removed the -rotate option, it was pretty useless since adding
the % formats to file name already tells that the log should be
rotated.

Autologging supports log rotating now too, just add the wanted %
formats to /SET autolog_path


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@586 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-11 22:07:42 +00:00
Timo Sirainen
82d272799c Autologging fixes: Don't log WHOIS replies by default
(autolog_level = all -crap). And with /msg nick1,nick2 don't log to
file nick1,nick2.log but nick1.log and nick2.log separately.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@585 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-11 20:13:49 +00:00
Timo Sirainen
8eb324accc When destroying window, change to different window before destroying
window items so that if they print anything, it won't get lost.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@584 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-11 19:57:58 +00:00
Timo Sirainen
ead41669db Use perl_destruct_level, not PL_perl_destruct_level so that we're
compatible with older versions of perl.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@583 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-11 19:51:59 +00:00
Timo Sirainen
3a2cc3b937 Topic bar doesn't get erased anymore after resize.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@582 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-10 20:50:06 +00:00
Timo Sirainen
4145834a4f /connect ircnet doesn't fail anymore if there's no ircnet servers in
server list but just tries to connect to server in address "ircnet"..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@581 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-10 20:25:57 +00:00
Timo Sirainen
92e0995223 Still some fixes for curseses without wresize() or resizeterm().
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@579 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-10 20:01:32 +00:00
Timo Sirainen
a25a912ec8 /channel add -bots: You can now use @ or + before the nick mask to
indicate that bot should have either ops or voices/ops.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@578 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-10 19:39:06 +00:00
Timo Sirainen
a900cb580f Windowing system fixes, doesn't crash anymore after window resizes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@577 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-10 19:13:54 +00:00
Timo Sirainen
fc890ebd82 Added support for dalnet's whois registered event.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@576 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-10 12:23:56 +00:00
Timo Sirainen
d1a25e0fc2 Don't autoclose window after part/unquery if there was still some
channels/queries left in window.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@575 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-10 11:25:34 +00:00
Timo Sirainen
bcd7b636ed When server is disconnected, change to use some other server in windows
where the server was active, instead of just setting the server to NULL.

Ctrl-X didn't work right if there was no active server in window.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@574 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-04 15:52:32 +00:00
Timo Sirainen
8209e131d9 fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@573 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-01 01:31:49 +00:00
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
Timo Sirainen
6e2f0ec988 "/ text" sends "text" to active channel.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@233 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-25 12:58:14 +00:00
Timo Sirainen
96020e6999 With some systems Irssi didn't notice if connect() failed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@232 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-25 12:52:38 +00:00
Timo Sirainen
48b409ea14 /set max_textbuffer_lines changed to /set scrollback_lines and
/set scrollback_hours - this means that keep scrollback usually max.
x lines, but allow more if the text is newer than n hours.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@231 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-25 12:24:09 +00:00
Timo Sirainen
76605ad0ae Added bot plugin, it also has almost-functional botnet.
Changed configure.in's functionality so that you could tell what modules you
want to build in main irssi binary and it will create automatically the .c
files that need to call the module_init()/deinit() functions.

Fixed several minor things..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@230 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-25 11:30:47 +00:00
Timo Sirainen
487da41745 now other than long nicks in NAMES list were displayed wrong. changed back
to old behaviour, but added a small kludge..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@229 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-25 11:11:23 +00:00
Timo Sirainen
665963703b NAMES list crashed with long nicks .. hope it doesn't crash now somewhere
else :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@228 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-25 10:59:22 +00:00
Timo Sirainen
8f341a9308 timestamp_timeout setting is integer, not boolean
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@227 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-19 09:17:53 +00:00
Timo Sirainen
ae25925a1f Some logging fixes. Flood checking had a memory leak. Query had a small
memory leak. Text buffer fixes.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@226 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-18 08:46:56 +00:00
Timo Sirainen
a0aa649368 /mode #channel -k key now removes the "+k" mode too instead of just setting
the channel key to NULL.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@225 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-17 09:42:31 +00:00
Timo Sirainen
0ce6aa720c /PART <message> displays the whole message now, not just the first word
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@224 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-17 09:32:46 +00:00
Timo Sirainen
45788e7788 Also print the "CTCP TIME received" to screen :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@223 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-15 15:32:27 +00:00
Timo Sirainen
ffaab13c8b Irssi will reply to CTCP TIME request.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@222 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-15 15:22:28 +00:00
Timo Sirainen
c3a45ce00e bugfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@218 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-15 14:22:34 +00:00
Timo Sirainen
20af1dfcfe bugfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@217 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-15 08:40:46 +00:00
Timo Sirainen
cbdaf7d06d Lots of changes again. Biggest ones:
- window's text buffer should work better
- themes are almost working, you can change the text formats with /format
- automatically try to rejoin the channel after 5 minutes if the join there
failed because it was "temporarily unavailable" (netsplits)
- generally cleaning code..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@216 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-15 08:25:45 +00:00
Timo Sirainen
969cfe8abc Display CTCP REPLY in a channel with a different text format than private
CTCP replies


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@215 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-12 15:37:34 +00:00
Timo Sirainen
bb4d7566c2 iconfig's caching was a bit buggy - it didn't notice if some config node was
removed.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@213 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-10 13:57:42 +00:00
Timo Sirainen
afc4fbc223 If lag checking period was long, Irssi displayed the (??) until the lag was
checked again.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@212 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-10 13:01:26 +00:00
Timo Sirainen
ae5c4164c8 Netsplit displays the IRC network where it happened
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@211 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-10 12:47:22 +00:00
Timo Sirainen
d729474195 /LAST didn't work when window's max. number of lines was full + a few
cleanups.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@210 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-10 12:38:00 +00:00
Timo Sirainen
ee254bd146 DCC SEND fixed
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@209 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-10 11:32:21 +00:00
Timo Sirainen
58aaae794e IRCNet specific nick name wasn't used
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@208 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-10 11:31:24 +00:00
Timo Sirainen
749640e793 /MODE was buggy
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@207 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-10 11:29:55 +00:00
Timo Sirainen
240df09c45 A few more bugfixes to make /window prev work.. :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@206 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-10 10:00:01 +00:00
Timo Sirainen
36421bb11b /window prev didn't work because of small "typo".
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@205 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-10 09:26:39 +00:00
Timo Sirainen
00b03e8c01 window next in last window jumps to first window
window prev in first window jumps to last window


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@204 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-09 13:24:13 +00:00
Timo Sirainen
e33da25e8a /dehilight fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@203 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-09 13:14:07 +00:00
Timo Sirainen
ef6b0a1ad9 Ctrl-D = delete
Ctrl-K = erase the rest of the line
(patches by Tommi Komulainen)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@202 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-09 12:55:38 +00:00
Timo Sirainen
549d504b92 typo fixed
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@201 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-09 12:53:54 +00:00
Timo Sirainen
93d6032151 - Compiling fixes
- GNOME version isn't anymore build here so you don't need all that GTK and
GNOME crap to compile irssi-text.
- Some fixes to compile with -ansi -pedantic


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@200 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-09 11:42:42 +00:00
Timo Sirainen
90ff30fcd0 Removed the "No such window" message - it was annoying :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@199 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-05 22:34:46 +00:00
Timo Sirainen
4ca7184955 Fixed a crash
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@198 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-05 20:15:57 +00:00
Timo Sirainen
d3dc9a1307 .. lots of changes ..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@197 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-04 10:32:42 +00:00
Timo Sirainen
576d5d6a7b Implemented Irssi::Window::command(), Irssi::Windowitem::command()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@195 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-28 09:16:14 +00:00
Timo Sirainen
eea919678c /ban and /invite crashed, /mode didn't work. ctcp.c doesn't need
irssi-version.h


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@194 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-28 09:02:44 +00:00
Timo Sirainen
8cfcd1b40f Removed the N_() from module formats, the internationalization should be
done in theme files instead of in pot files..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@192 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-28 08:25:53 +00:00
Timo Sirainen
a5a66264de Perl working again, better than ever (unless there's bugs :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@191 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-28 08:07:42 +00:00
Timo Sirainen
9cbf26d519 If we return with cmd_param_error() or cmd_return_error(), call
signal_stop() so if the command is bound multiple times (like core, which
does the functionality and fe-common which prints the texts) it won't print
the error message ever twice.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@190 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-27 12:21:37 +00:00
Timo Sirainen
242a9c17df after doing /INVITE nick #channel - instead of printing just "nick #channel",
print "Inviting nick to #channel"


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@189 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-27 12:10:38 +00:00
Timo Sirainen
b90d2e9cc2 show_quit_once displayed the quit window always in active window. now
it's displayed in first window that contains a channel where the nick was.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@188 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-27 12:02:54 +00:00
Timo Sirainen
142025467e Setting window's prompt didn't check that the window was active -> some
other window's prompt could sometime appear in screen.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@187 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-27 11:48:05 +00:00
Timo Sirainen
7bd9e701fa updates
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@186 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-27 11:45:50 +00:00
Timo Sirainen
642a4525d4 updated aliases, added #irssi/efnet
/BANSTAT -> /BAN


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@185 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-27 11:44:55 +00:00
Timo Sirainen
a94e6e735c Fixes for servers that replied to WHO #a,#b with 403 message.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@184 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-27 11:38:52 +00:00
Timo Sirainen
849c091ac4 Removed several header files that only had xxx_init(); xxx_deinit(); - moved
them to the .c file where they were called.

nicklist didn't notice nick changes right.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@183 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-27 10:31:14 +00:00
Timo Sirainen
d769109f57 joining to multiple channels at once crashed
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@182 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-27 09:48:06 +00:00
Timo Sirainen
b1e041435e missing query_init(), query_deinit()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@181 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-27 09:19:34 +00:00
Timo Sirainen
9471d16ba3 Query: sending msg displayed msg[nick] instead of the plain <nick>
Nick's address didn't show up in topic bar


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@180 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-27 08:05:51 +00:00
Timo Sirainen
79dbc156b6 Delete key works again
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@179 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-26 10:22:52 +00:00
Timo Sirainen
be0ccafd36 same user mode problem fixed with reconnects
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@178 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-26 10:19:57 +00:00
Timo Sirainen
d4195b31a2 crashed with servers that didn't automatically set any user mode
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@177 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-26 10:13:29 +00:00
Timo Sirainen
2b711f1383 updates
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@176 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-26 09:43:45 +00:00
Timo Sirainen
9044f31921 fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@175 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-26 09:37:31 +00:00
Timo Sirainen
00c2388666 fixed
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@174 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-26 09:19:03 +00:00
Timo Sirainen
d29ca0b107 rest of the ~rewrite?
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@172 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-26 08:10:09 +00:00
Timo Sirainen
c95034c6de ..adding new files..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@171 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-26 08:03:38 +00:00
Timo Sirainen
d01b094151 ..still removing..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@170 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-26 07:50:02 +00:00
Timo Sirainen
4482d518b8 section can be NULL - which is same as "". Fixed several functions to allow
it.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@164 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-14 12:49:02 +00:00
Timo Sirainen
53b248f6de Sorry for a big update - I still don't have internet connection at home
and this is what I've been doing a few weeks now.. :) You really shouldn't
upgrade to this version without keeping a backup of the working one, since
this will break everything and at least notify list is broken - probably
something else too.

* On the way to 0.8.0 .. Major rewriting/rearranging code. There's
  some changes in behaviour because I'm trying to make Irssi a bit
  more compatible with EPIC.

* libPropList isn't needed anymore - I'm using my own configuration
  library. This is mostly because different proplists worked a bit
  differently everywhere and several people had problems with it.
  It's also yet another extra library that you needed to compile
  Irssi. New configuration library has several advantages:

  You can add comments to configuration file and they also stay
  there when it's saved.

  It's not nearly as vulnerable as proplist. If some error occurs,
  instead of just not reading anything it will try to continue if
  possible. Also the error messages are written to irssi's text
  window instead of stdout.

  It can be managed more easily than proplist - setting/getting the
  configuration is a lot more easier.

* Coding style changes - I'm not using gint, gchar etc. anymore,
  they're just extra pain when moving code to non-glib projects and
  syntax hilighting doesn't work by default with most editors ;)

  Indentation style was also changed to K&R because of some political
  reasons ;) And I'm already starting to like it.. :) It forces me
  to split code to different functions more often and the result is
  that the code gets more readable.

  And finally I'm also using nst' all over the place.

+ /EVAL <commands> - Expand all the special variables from string and
  run it. Commands can be split with ; character. See
  docs/SPECIAL_VARS for more info.
+ Aliases are parsed just like /EVAL - arguments are in $0..$9.
+ Text formats are also parsed like /EVAL, arguments used to be in
  $1..$9, now they're in $0..$8 so it messes up existing themes..
+ /SET [key [value]] - no more the '=' character. Boolean values
  also need to be changed with ON/OFF/TOGGLE values (not yes/no).
  Settings aren't saved to disk until you use /SAVE.
+ /TOGGLE <key> [ON/OFF] - same as /SET <key> TOGGLE


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@163 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-14 11:27:14 +00:00
Timo Sirainen
7f4eac0dd4 Moved all server connection information to SERVER_CONNECT_REC from
SERVER_REC and RECONNECT_REC.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@160 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-03-19 22:35:56 +00:00
Timo Sirainen
6275dd69ad Several GLists moved to GSLists.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@159 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-03-19 17:57:32 +00:00
Timo Sirainen
8d6dd5f992 Removed as many warnings as possible when compiling with -ansi -pedantic
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@158 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-03-19 14:11:01 +00:00
Timo Sirainen
c701648ab3 Server reconnection tries always the first server in the list where
connection hasn't failed for the last half an hour.

If all have failed, just try connecting to any of them.

+several code cleanups.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@157 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-03-19 00:46:41 +00:00
Timo Sirainen
6b96becc79 Merged line-split from i2k. Several other cleanups.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@156 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-03-18 21:50:38 +00:00
Timo Sirainen
cc01075295 Merged in i2k's networking code
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@155 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-03-18 19:46:12 +00:00
Timo Sirainen
2b026b6d0f Merged some of i2k's signal handling code. All signals are now linked
to some module, so plugin_bind() was removed as useless.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@154 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-03-18 18:49:41 +00:00
Timo Sirainen
90fb674a9b Remove gui_timeout_add/remove, gui_input_add/remove and lib-nongui, use
Glib instead.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@151 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-03-18 12:52:51 +00:00
wiget
c48606a440 - fix perl related problems
- use libtool to build helping libraries


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@131 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-03-01 11:50:34 +00:00
Timo Sirainen
f5fc624781 Irssi 0.7.27 released.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@130 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-02-25 17:03:17 +00:00
Timo Sirainen
3d513eebfa Perl documentation and updates
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@129 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-02-24 23:43:49 +00:00
Timo Sirainen
4eb989ccb1 Updated perl support
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@128 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-02-24 21:14:44 +00:00
Timo Sirainen
962e6fea11 Don't allow any setup file changes or log writing if another irssi
session is running.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@121 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-02-18 22:50:21 +00:00
Timo Sirainen
accc66c511 updates for new version:
+ configure displays a summary of things to compile
+ /set toggle_use_colors = yes|no, sets colors on/off in irssi-text
- Some kB/s messages displayed wrong values when resuming DCC
  transfers. Also, kB/s is now displayed with two decimals
- "Day changed to 00-10-2000" .. month was wrong. No Y2K bugs
  however ;)
- List of ircnets was displyed wrong in server dialog.
- Userhost replies didn't handle ircops right..
- Doesn't quit when receives SIGHUP - some window managers send it
  when restarting itself (Afterstep)
- Specifying "source host IP" didn't work (vhosts).
- Using ctrl-b etc. didn't move the cursor forward..
- Don't try to compile GTK parts of plugins if we don't even want
  build GTK irssi
- Doesn't crash when trying to create DCC dialog after being
  disconnected from IRC server


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@104 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-01-12 22:10:30 +00:00
Timo Sirainen
b36b88af1b IRC Network specific settings: nick, username, realname,
max. kicks/modes/msgs per command.

Keeps track of "wanted nick", ie. the nick you specified in the setup
or to /server or /nick. When reconnecting to server it always tries the
wanted nick before falling back to alternate nicks.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@98 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-12-19 19:00:11 +00:00
Timo Sirainen
f4dc754e3f Last changes for 0.7.19
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@77 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-11-20 14:00:24 +00:00
Timo Sirainen
2b16677044 Automatic text replaces, useful for things like :9 -> :) .. This
is actually almost same as completions, except they are activated
with different keys..

Nicklist popup menu is now configurable. It's now in the automation setup
dialog which is a bit wrong..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@74 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-11-07 01:18:15 +00:00
Timo Sirainen
e7e2b79f7c Keyboard configuration works
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@73 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-11-06 20:05:49 +00:00
Timo Sirainen
b09265682e "window server changed" -> "channel server changed"
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@72 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-11-06 14:51:01 +00:00
Timo Sirainen
d23d35fc30 NLS support should work without gnome now.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@71 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-11-03 20:05:16 +00:00
Timo Sirainen
260c792804 Changed setting code behaviour. setup_get_str(), setup_get_int() and
setup_get_bool() should be used instead of directly accessing setup
variables. This has the advantage of not requiring to build the whole irssi
every time when adding new configuration variable.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@64 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-10-26 21:34:58 +00:00
Timo Sirainen
e14fef979c Autoaccept dcc chat from given nick/address
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@62 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-10-20 21:09:48 +00:00
Timo Sirainen
04828d0a21 Autoget DCC if nick/mask is found from list
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@61 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-10-20 18:57:52 +00:00
Timo Sirainen
08814b59ab str2list() updates - added separator argument and you'll need to free only
the first item on the list instead of all of them.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@59 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-10-19 18:59:01 +00:00
Timo Sirainen
eb736e0e7a Fix for building with objdir
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@57 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-10-16 22:53:30 +00:00
Timo Sirainen
8f59b3ec6e Use command_bind() and command_unbind() for binding commands, they
automatically update /help


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@56 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-10-16 19:50:30 +00:00
Timo Sirainen
25098df8b6 "nick gone changed" signal is sent when gone status changes instead of
"nicklist changed" ..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@46 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-10-12 16:52:51 +00:00
Timo Sirainen
3603846e7c Each window can have it's own command history buffer
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@44 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-10-10 09:01:08 +00:00
Timo Sirainen
6ef49200e2 Lag detection displayed in statusbar, can also automatically disconnect
if too much lagged.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@43 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-10-10 08:26:47 +00:00
Timo Sirainen
dd6f49543d moved the strerror() implementation if it doesn't exist
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@41 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-10-09 18:56:57 +00:00
Timo Sirainen
85d0af725c Fixes to make irssi to work properly with several different irc servers/nets.
Some servers didn't allow WHO #a,#b,.., undernet servers reply with only one
End of WHO message, some servers that don't understand MODE #a,#b,.. reply
with "you're not on that channel". Also checking if irc server understands
channel excepition/invites is done at server connect from event 004.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@40 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-10-09 18:14:52 +00:00
Timo Sirainen
15dcd0a2c5 popt-gnome.h isn't used anymore
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@39 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-10-09 18:04:21 +00:00
Timo Sirainen
ccfef94ec5 config_section() and config_list_section() changed
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@38 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-10-09 17:59:42 +00:00
Timo Sirainen
95c6a0d9f6 libpopt is now distributed with irssi since it's small enough and I got
tired of installing it to every computer when I tried to run irssi..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@37 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-10-06 16:47:43 +00:00
Timo Sirainen
9ccee0a31b Command line argument handling works.
-c server [-p port] : connects to server at startup
 -n : don't autoconnect to any servers


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@33 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-10-03 14:37:29 +00:00
Timo Sirainen
25d7d58da9 Moved background pixmap settings to theme specific.
Fixed some memory leaks.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@31 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-10-02 13:56:16 +00:00
Timo Sirainen
5b96b49e38 --without-bot to configure doesn't build irssi-bot
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@30 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-10-02 10:29:01 +00:00
Timo Sirainen
0d12891b58 More GtkIText changes. Most of the ZVT things are removed.
You can now change font and background. Background pixmaps also work,
they can be scrollable, shaded and scaled/tiled.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@28 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-09-27 16:54:39 +00:00
Timo Sirainen
8936bd1c88 Removed the "multichannel query" thing since it wasn't actually needed :)
Replaced it with server specific timeout between sending commands, after
raising it to 3 seconds all servers worked just fine.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@27 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-09-21 14:31:28 +00:00
Timo Sirainen
74d81cf7c7 New server specific option: "Send queries for all channels at once". It's
faster to use it but some servers (I've found only one so far..) hang the
connection with this.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@26 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-09-18 16:22:32 +00:00
Timo Sirainen
313c44eb2e You can specify what port to use with DCC.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@25 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-09-17 14:42:29 +00:00
Timo Sirainen
feb15cbffd Related to channel query changes..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@24 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-09-15 20:31:53 +00:00
Timo Sirainen
75e5c4a847 Netsplit code changes, should work now.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@18 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-09-11 08:58:00 +00:00
Timo Sirainen
afee6cfa8f Autojoining to channels work with irssi-text too
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@15 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-09-04 20:06:53 +00:00
Timo Sirainen
ce0a796a23 Initial revision
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-09-03 14:32:03 +00:00
Timo Sirainen
770ae4596d Initial revision
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-09-03 14:27:29 +00:00