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

1005 Commits

Author SHA1 Message Date
Timo Sirainen
5f2f6886c8 more enum fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@862 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-23 22:59:14 +00:00
Timo Sirainen
1fd6f8faf6 more changes from int xx:1 to unsigned int xx:1
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@861 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-23 22:57:59 +00:00
Timo Sirainen
8ce36c05ea several fixes to make irssi compile without warnings with MIPSpro
also fixed ctcp_queue_clean() - it might have crashed sometimes..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@859 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-23 21:40:07 +00:00
Timo Sirainen
8fb2249f07 hilight-text: whops, bugfix went wrong :)
fe-text: removed the warning that happened when calling printbeep()


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@858 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-22 20:01:47 +00:00
Timo Sirainen
2912532875 bugfixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@857 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-22 19:46:43 +00:00
Timo Sirainen
8dd24a4444 Added input_add() / input_remove()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@856 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-21 23:26:07 +00:00
Timo Sirainen
d62177df3c crashfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@855 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-21 12:56:27 +00:00
Timo Sirainen
e923b1651a /SCROLLBACK REDRAW - redraw the contents of current window according to
active formats, ie. changing theme changes scrollback.

It's still a bit buggy (can crash) with multiline formats, need to fix
it as soon as I figure out where the problem is..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@852 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-21 03:00:05 +00:00
Timo Sirainen
e3084d3ffa Win32 fixes - Irssi now compiles with MSVC++ :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@851 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-18 15:32:59 +00:00
Timo Sirainen
14e5dc8b8e compiler warning fixes + one real bug in dcc-chat
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@850 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-18 15:31:28 +00:00
Timo Sirainen
c4af878047 windows.h -> fe-windows.h
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@849 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-18 15:25:04 +00:00
Timo Sirainen
df3da57de2 Don't crash if MAIL environment isn't set.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@848 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-17 18:02:17 +00:00
Timo Sirainen
7adca508b1 Use signal.h, not sys/signal.h
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@847 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-17 16:55:46 +00:00
Timo Sirainen
39630c3d58 windows.h conflicted with microsoft's windows.h :) renamed windows.[ch] to
fe-windows.[ch]


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@846 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-17 16:27:14 +00:00
Timo Sirainen
2edcdd715f Remember who set the topic and when, display the info when using /TOPIC.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@845 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-17 14:59:32 +00:00
Timo Sirainen
090e88b34d If other side replies to our DCC CHAT request with DCC CHAT request of
their own (maybe we were inside firewall and other side noticed it),
connect to it immediately.

Don't allow more than one identical DCC request, if more is received
just update the port of the previous request.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@844 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-17 03:08:32 +00:00
Timo Sirainen
54815d198b Check that enough parameters are given to /DCC CLOSE
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@843 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-17 02:45:04 +00:00
Timo Sirainen
29a64a8924 /SET autocreate_query_level DCCMSGS specifies now if DCC chats should
create query windows automatically.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@842 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-17 02:40:18 +00:00
Timo Sirainen
da9fd56f71 Added some comments about redirection problems.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@840 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-16 21:34:42 +00:00
Timo Sirainen
a890edfd41 Don't close non-autologs when leaving channel / closing query.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@839 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-15 23:34:32 +00:00
Timo Sirainen
0b125e8476 /NICK was broken.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@838 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-14 01:14:02 +00:00
Timo Sirainen
99a6645142 Forgot to call formats_init() / ..deinit()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@837 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-13 01:52:41 +00:00
Timo Sirainen
d1330fff6d Text printing changes. Formats are now optionally saved to each line so
later if you used /format it would change the old lines too. However
the actual line changing doesn't work yet :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@836 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-12 20:20:05 +00:00
Timo Sirainen
61f33a6bb2 Some sizeof() fixes to IPv6 support when connecting to IPv4 addresses.
Linux didn't seem to have any problem with these but some other OSes
did.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@835 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-11 20:27:37 +00:00
Timo Sirainen
86840d61cd Ctrl-T = transpose_characters
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@833 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-11 01:46:15 +00:00
Timo Sirainen
63491d7d4f /SET dcc_autodisplay_dialog isn't used for anything, removed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@832 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-11 00:56:13 +00:00
Timo Sirainen
527aada63a Use nodelay() instead of halfdelay()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@831 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-10 01:23:50 +00:00
Timo Sirainen
d3250be956 Don't change client's nick every time someone else changes nick..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@830 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-10 00:38:48 +00:00
Timo Sirainen
0f4ec3deac "NOTIFY" was missing from syntax
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@829 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-09 23:40:48 +00:00
Timo Sirainen
f3d4c6bc63 let actions pass through the proxy to clients, they're not "real" CTCPs..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@828 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-09 22:03:20 +00:00
Timo Sirainen
07106c4029 ping/pong was broken again, hope this now _finally_ works :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@827 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-09 21:48:51 +00:00
Timo Sirainen
4710a37762 I had broken the /names list.. :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@826 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-09 21:43:10 +00:00
Timo Sirainen
4211d1e80b Use ircnet name as the proxy's "real address".
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@825 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-09 21:40:22 +00:00
Timo Sirainen
9895d0cc11 One final fix for ping/pong
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@824 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-09 21:32:46 +00:00
Timo Sirainen
ea5109d6c5 fix to ping/pong handling :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@823 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-09 21:29:39 +00:00
Timo Sirainen
82a3f10480 When sending /NAMES after join: Don't send lines longer than 512 chars -
non-irssi clients don't like them :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@822 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-09 21:26:55 +00:00
Timo Sirainen
76ca80087b Hide IRSSILAG notices from clients
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@821 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-09 21:22:56 +00:00
Timo Sirainen
4b7bcde577 PING from client wasn't handled correctly.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@820 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-09 21:21:29 +00:00
Timo Sirainen
a4bb4fb983 /SET activity_level, /SET hilight_level .. which message levels should
be treated as msg/hilight activity. Patch by tommik.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@819 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-09 20:38:50 +00:00
Timo Sirainen
b3b1438d22 when finding window for item, prefer empty windows that don't have
anything waiting channels list to those that have.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@818 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-09 20:38:04 +00:00
Timo Sirainen
d49248c7fe level_get() didn't check ambiguous commands correctly - dcc always failed
because it was partial for dccmsgs.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@817 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-08 23:40:34 +00:00
Timo Sirainen
39811fb47d nick changes were buggy
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@816 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-08 22:55:43 +00:00
Timo Sirainen
499db646e1 minor speed enhance
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@815 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-07 01:46:25 +00:00
Timo Sirainen
228c0842fc minor cleanups
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@814 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-07 01:42:21 +00:00
Timo Sirainen
6e27475e98 Updated stristr() and stristr_full() to be a bit faster.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@813 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-07 01:25:46 +00:00
Timo Sirainen
4301e04791 Regexp ignores are now compiled when they're created, not every time
they're checked (every time a new line is received). This should reduce
some CPU load when using them.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@812 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-07 00:06:35 +00:00
Timo Sirainen
6cc6f90468 Connecting to proxy when server connection was down didn't work correctly.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@811 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-06 23:27:46 +00:00
Timo Sirainen
a8c139d5e2 Proxy plugin fixes and cleanups. Supports now multiple servers, doesn't
let clients see CTCP requests and if one client writes message, other
clients will see it as well.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@810 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-06 02:29:01 +00:00
Timo Sirainen
2fc8c5b83f Wallop format fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@809 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-05 12:36:58 +00:00
Timo Sirainen
84de26d0b7 rejoin timeout 1min -> 5min
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@808 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-04 18:57:29 +00:00
Timo Sirainen
745a3e2104 added small sanity check
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@807 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-04 18:56:14 +00:00
Timo Sirainen
cbcf1b07bc Fixed lag checking when nick was just being changed.
Support for DALnet event 437 "can't change nick while being banned in
some channel" which conflicts with ircnet's "nick/channel temporarily
unavailable"


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@806 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-04 16:54:58 +00:00
Timo Sirainen
990e2741aa Removed useless part of code.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@805 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-04 14:54:39 +00:00
Timo Sirainen
2ba63e1863 privmsg fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@804 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-02 21:09:21 +00:00
Timo Sirainen
3d551427c6 fixed notices in theme.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@802 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-02 17:50:51 +00:00
Timo Sirainen
da4d8445f1 small "fix"
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@801 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-02 16:29:05 +00:00
Timo Sirainen
5da6c63cdd Moved the ISA defines from .pm to irssi code, so that non-irc protocols
would work also without a specific .pm file. Also you don't need to
use Irssi::Irc anymore if you don't need IRC specific functions.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@800 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-30 22:52:51 +00:00
Timo Sirainen
ae06c90be1 long word handling fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@799 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-29 19:03:19 +00:00
Timo Sirainen
78064ed161 Don't indent the next line when long word is split. Also we try not to
do any cursor movement so that terminals could notice that the word
continues to next line .. however terminfo or curses or something is
being stupid and breaks this anyway, with TERM=ansi it seems to work :)
also using gnome-terminal long URLs work right too.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@798 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-29 00:35:28 +00:00
Timo Sirainen
73858a2e5e Some fixes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@797 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-28 21:04:01 +00:00
Timo Sirainen
4dcbe05c0f Cleaned up printtext.c, split part of it to formats.c
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@796 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-28 20:14:19 +00:00
Timo Sirainen
8653c6ea36 /SET log_theme - you can now write to log files with different theme
than to screen.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@795 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-28 03:01:11 +00:00
Timo Sirainen
80dd793c60 Updated new default.theme to module-formats files.
default.theme still contains the abstracts.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@794 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-28 01:52:16 +00:00
Timo Sirainen
1e6f81e38f Compress colors.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@793 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-28 00:48:36 +00:00
Timo Sirainen
1541257ac7 Some fixes for handling %n
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@792 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-28 00:04:21 +00:00
Timo Sirainen
000ba23aa7 Support for templates in theme files.
module-formats.c files needs to be updated, meanwhile here's default.theme
you can use.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@791 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-27 23:06:26 +00:00
Timo Sirainen
35fd48a0b4 use sigaction() instead of signal(). With some OSes the signal handler
is set back to default after each time signal is raised if signal() is
used (by norpan).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@790 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-27 18:37:32 +00:00
Timo Sirainen
d813ecd194 A simple /EXEC command by Tinuk.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@788 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-27 18:30:36 +00:00
Timo Sirainen
25fa27c5f0 Automatic appending of .pl to script name didn't work for file names
less than 4 chars.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@787 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-27 01:46:20 +00:00
Timo Sirainen
ed1b4e69a9 If nick isn't found from channel (for whatever reason), print the nick
mode as " ", not "".


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@786 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-27 01:19:15 +00:00
Timo Sirainen
b875e2e29d signal_stop(); signal_emit("same signal", ...); didn't work. other way
around it did though


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@785 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-27 01:18:16 +00:00
Timo Sirainen
e0bc134d66 Win32 updates
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@784 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-26 18:57:23 +00:00
Timo Sirainen
df10f182c0 Some fixes for compiling with Win32 :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@783 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-26 18:12:20 +00:00
Timo Sirainen
c6808b3724 Add the server specific functions immediately after the server
connection is started, not after the connection is successfully
finished.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@782 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-22 15:46:28 +00:00
Timo Sirainen
9b459cfe46 Fixed glib warning with autologging and queries.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@781 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-22 15:38:53 +00:00
Timo Sirainen
c78f0d12c8 Wildcards didn't with /OP (/DEOP, /VOICE, etc.) if there was more than
one masks used.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@780 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-22 15:25:17 +00:00
Timo Sirainen
4ee8b929b9 Key bindings weren't loaded at startup correctly.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@779 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-22 15:00:52 +00:00
Timo Sirainen
688c39045c If window_set_active() was called with NULL window (shouldn't happen
ofter/ever?) irssi added NULL window to windows list.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@778 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-22 12:33:47 +00:00
Timo Sirainen
c8ab59eb8a Missing channels-rejoin.h
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@774 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-19 19:39:50 +00:00
Timo Sirainen
ce4eda21f4 Added debug
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@772 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-19 15:44:49 +00:00
Timo Sirainen
7bba8f19c5 updates
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@770 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-18 22:45:26 +00:00
Timo Sirainen
cefc72bfe7 Log items weren't read correctly from config
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@769 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-18 21:29:22 +00:00
Timo Sirainen
fcb1374e40 fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@768 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-18 20:50:12 +00:00
Timo Sirainen
ac6bfeba1f Signal fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@767 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-18 01:32:14 +00:00
Timo Sirainen
0977ab90e5 Logging fixes. Autologging with same named channels in different
networks should work correctly.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@765 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-17 23:37:21 +00:00
Timo Sirainen
4f997ffe8f Rejoin fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@763 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-15 21:14:13 +00:00
Timo Sirainen
a2cac63e56 Irssi won't automatically overwrite configuration files if they're
changed while irssi is running:

- /SAVE asks whether to save it or not
- autosave at quit saves it to config.autosave file


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@762 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-15 19:21:21 +00:00
Timo Sirainen
228c1d7f36 Some hilight+window activity related fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@761 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-15 18:04:06 +00:00
Timo Sirainen
6e0d956f3d Netsplit cleanups. Added /SET netsplit_nicks_hide_threshold.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@760 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-14 21:17:45 +00:00
Timo Sirainen
4474c7b822 chanserv url bugfix :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@758 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-14 19:43:01 +00:00
Timo Sirainen
afcf554bf8 Added format for the chanserv url event.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@757 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-14 19:41:47 +00:00
Timo Sirainen
2b4f089bd0 when received event 328 (chanserv url in dalnet) write it to correct
channel.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@756 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-14 19:28:14 +00:00
Timo Sirainen
bd19c4a7d7 "/whois x x" - if x isn't found irssi now prints "there's no such nick x"
instead of complaining about unknown server x.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@755 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-14 16:02:35 +00:00
Timo Sirainen
76a6b9a931 perl fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@754 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-14 15:19:56 +00:00
Timo Sirainen
5733a8c6e3 /WHOIS in a query asks the queried nick's whois.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@753 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-14 14:37:01 +00:00
Timo Sirainen
148a6692e6 /LAST doesn't print the -!- at the start of lines.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@752 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-14 14:34:40 +00:00
Timo Sirainen
4c882129c3 /connect + /server server/chatnet completion by tommik.
Completion works now with commands that optionally could have
subcommands, like /server l<tab> could return list (subcommand) or
localhost (server).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@751 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-14 14:32:53 +00:00
Timo Sirainen
98060c3185 Moved nick/msg/channel completion to core with some cleanups.
Moved ignore checking to fe-ignore-messages.c.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@750 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-14 14:07:31 +00:00
Timo Sirainen
8c4b167327 multiprotocol fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@749 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-14 02:41:46 +00:00
Timo Sirainen
f9a07afa5e match_nick_flags() didn't check that the nick actually began with a flag.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@748 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-14 02:10:22 +00:00
Timo Sirainen
2feb56f980 irc_server_get_channels() now returns also the channels that are in
rejoin list.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@747 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-14 02:00:19 +00:00
Timo Sirainen
3977308cda added
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@746 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-14 01:57:27 +00:00
Timo Sirainen
015a598fa3 [irc_]channels_setup_[de]init() calls were in wrong places.
Reconnection forgot to join to old channels after the first
reconnection try.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@744 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-14 01:43:05 +00:00
Timo Sirainen
46424964de /format own_dcc_me -> own_dcc_action
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@743 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-14 01:09:19 +00:00
Timo Sirainen
f6dbbfae1f When joining to !channel the join message was printed to active window
instead of the channel's.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@742 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-14 01:06:24 +00:00
Timo Sirainen
d398247f76 Handle event "407 duplicate channel" correctly - happens when trying to
create !channel (/join !!channel) while it already exists.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@741 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-14 01:03:11 +00:00
Timo Sirainen
ad97695841 fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@740 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-14 00:53:59 +00:00
Timo Sirainen
6a3efe49ab Autorejoin when join temporarily fails because of netsplit is handled
better now. Irssi prints a nice message about it only once and you can
abort it with /RMREJOINS command.

"channel query" -> "channel joined"

channels_join() must not use cmd_return|param_error() commands since we
don't necessarily call it from command handler and signal_stop() could
cause some damage.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@739 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-14 00:45:16 +00:00
Timo Sirainen
f850204479 "/WHOIS *" requires -yes option to work.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@738 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-13 22:34:19 +00:00
Timo Sirainen
20bac288f6 Forgot to move fe-ignore to core.
/unignore now complains if you don't give parameters to it.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@737 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-13 22:26:33 +00:00
Timo Sirainen
1627ad03bd Don't show timestamps when doing /LAST.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@736 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-13 22:17:37 +00:00
Timo Sirainen
1fa98c2369 updating user modes were handled as they were channel modes, like +o
etc. thought they needed arguments.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@735 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-13 22:05:57 +00:00
Timo Sirainen
28f3e476da Complain only once with autologging if opening some log file failed
(locked by another irssi)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@734 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-13 21:53:25 +00:00
Timo Sirainen
0ef25c9fb4 match_wildcards() failed if there was * at the end of the mask but
otherwise data matched (str* vs. str)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@733 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-13 21:47:32 +00:00
Timo Sirainen
e51eba853a Saving theme didn't complain if the save failed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@732 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-13 21:24:44 +00:00
Timo Sirainen
00f9af313b try running make again if it fails the first time - it's probably
because Makefile.PL was updated and make needs to be run again.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@730 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-11 22:06:04 +00:00
Timo Sirainen
55299b6b4a Ignore was moved to core.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@729 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-11 22:01:23 +00:00
Timo Sirainen
b61e210389 removed warning
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@728 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-11 21:10:43 +00:00
Timo Sirainen
f07f552661 Moved join, part, quit, kick, nick, invite and topic printing to core.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@726 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-10 00:08:23 +00:00
Timo Sirainen
3c78d95614 Moved ignore to core.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@725 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-09 23:40:18 +00:00
Timo Sirainen
11f2accbb1 --disable-curses-windows option to configure
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@723 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-08 12:54:26 +00:00
Timo Sirainen
62473e354f If mode didn't have the expected argument irssi would loop forever.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@722 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-07 15:12:50 +00:00
Timo Sirainen
c5add0e0a4 Create libtool-static for creating irssi modules that don't need .a
libraries.

Small update to curses's help


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@719 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-04 00:22:59 +00:00
Timo Sirainen
f6a284af37 Perl compiling updates
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@718 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-03 23:54:56 +00:00
Timo Sirainen
5e97ea1549 --enable-perl=[yes|no|static]
Allows building perl support either as loadable irssi module or
statically linked to irssi binary.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@716 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-03 22:57:14 +00:00
Timo Sirainen
391a419a1f s/core/common/ - because make clean tried to delete it :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@715 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-03 19:10:24 +00:00
Timo Sirainen
6fc2a34121 Added -avoid-version options and disable-static for SILC module.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@714 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-02 01:11:53 +00:00
Timo Sirainen
b7ce4dc814 fixes .. still not perfect
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@713 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-02 01:04:39 +00:00
Timo Sirainen
f0b2564809 Window activity was displayed in wrong window if query windows were
autocreated


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@712 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-01 23:42:58 +00:00
Timo Sirainen
84ebe10cd7 bugfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@711 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-01 23:37:31 +00:00
Timo Sirainen
0158782b02 Keyboard should never get stuck again when receiving huge amounts of
text from server that irssi doesn't handle fast enough.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@710 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-01 22:12:01 +00:00
Timo Sirainen
f8ea75ceb1 added
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@709 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-01 21:56:20 +00:00
Timo Sirainen
c48a05c3e8 Perl updates
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@707 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-01 21:46:48 +00:00
Timo Sirainen
54ee1c6e8c /SILENCE updates, added /UNSILENCE command.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@706 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-01 21:00:59 +00:00
Timo Sirainen
62dee8fdaf Perl works again :) Split to Irssi and Irssi::Irc packages.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@705 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-01 20:48:48 +00:00
Timo Sirainen
c1a191955b Chat protocol updates.
Module loading tries to load first from home dir, then the global dir.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@704 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-01 20:48:10 +00:00
Timo Sirainen
8c2799b5f8 multiprotocol fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@703 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-01 16:17:12 +00:00
Timo Sirainen
414348ca3c forgot to add this
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@702 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-30 22:59:37 +00:00
Timo Sirainen
e754aa1c30 bugfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@700 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-30 22:52:30 +00:00
Timo Sirainen
2b8580c8a7 multiprotocol updates. SILC prints channel and private messages now
using the same message formats as IRC.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@699 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-30 22:49:48 +00:00
Timo Sirainen
965def294b When connecting to server, change the active window's server if the
window is empty.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@698 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-30 00:11:56 +00:00
Timo Sirainen
d549526735 Updated Irssi proxy to work with latest version, thanks to fuchs :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@697 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-29 23:59:51 +00:00
Timo Sirainen
3eea53d2ee minor updates
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@696 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-29 23:57:30 +00:00
Timo Sirainen
359453abb0 own_dcc_query fixed
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@695 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-28 18:54:43 +00:00
Timo Sirainen
195d49f338 multiprotocol fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@694 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-28 14:19:17 +00:00
Timo Sirainen
4e4ba04b7e multiprotocol fixes for /AWAY -all
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@693 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-28 01:38:50 +00:00
Timo Sirainen
6dd07c76cb fixes for multiprotocol support
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@692 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-28 01:31:52 +00:00
Timo Sirainen
c91e8f98a4 multiprotocol fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@691 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-28 00:32:56 +00:00
Timo Sirainen
9843c46cc7 fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@690 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-28 00:28:48 +00:00
Timo Sirainen
49b22f8b31 multiprotocol fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@689 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-28 00:25:14 +00:00
Timo Sirainen
796531e31f fix for multiserver support
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@688 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-27 23:59:20 +00:00
Timo Sirainen
e256b3a108 Moved /DISCONNECT to core, other multiprotocol fixes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@687 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-27 23:47:51 +00:00
Timo Sirainen
ec8c613101 module deinit fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@686 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-27 23:46:20 +00:00
Timo Sirainen
29c8c6e1cd net_gethostbyaddr() fixed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@685 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-27 23:45:17 +00:00
Timo Sirainen
79100fea45 modules are deinitialized at quit.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@684 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-27 23:43:53 +00:00
Timo Sirainen
b6de29afbd /SERVER irc.server.org 1234 now connects to port 1234 always even if
some other port is specified for the same server in setup.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@682 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-27 00:25:26 +00:00
Timo Sirainen
833bf37831 Show help with "clientcrap" message level, not "never".
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@681 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-27 00:17:23 +00:00
Timo Sirainen
b363402b5c /BIND <key> /command works now directly instead of needing the
"command" id in the middle


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@680 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-27 00:14:58 +00:00
Timo Sirainen
a3accf4bbe Also moving windows and changing refnum updates activity list.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@679 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-27 00:11:06 +00:00
Timo Sirainen
407ee2bd1b Closing window didn't update window activity list.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@678 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-27 00:08:03 +00:00
Timo Sirainen
bae879de22 irc_nick_match() should now work better for checking if nick at the
start of the message was really meant for you.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@677 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-26 22:24:53 +00:00
Timo Sirainen
3d627ca527 if printformat() was given a argument ending with ^C it could mess up
one or two chars of the following text (part/quit messages).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@676 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-26 22:02:19 +00:00
Timo Sirainen
91b4c3af46 PART and QUIT messages set the background color to default before
printing the last "]" char


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@675 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-26 21:46:50 +00:00
Timo Sirainen
5f752567f6 "NONE" works now with combine_levels(). /WINDOW LEVEL NONE works and if
window doesn't have level it prints "NONE" instead of empty string.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@674 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-26 21:44:20 +00:00
Timo Sirainen
64e0b8d96b backwards compatibility for s/ircnet/chanet/ change.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@673 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-26 21:39:33 +00:00
Timo Sirainen
c23403d95e Display CTCP PING replies even if they're not in the form irssi
expected.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@671 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-25 19:01:40 +00:00
Timo Sirainen
c389144c2a Ping replies should have displayed always with 3 decimals
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@669 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-25 18:09:25 +00:00
Timo Sirainen
48a472728f Added target parameter to own_dcc format
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@668 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-25 17:26:52 +00:00
Timo Sirainen
886ca98e11 Don't show statusbar with bold color
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@667 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-25 17:19:37 +00:00
Timo Sirainen
bb20de0d43 If /SET show_quit_once was set and ignored nick quitted, irssi printed
GLib warning.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@666 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-25 13:23:01 +00:00
Timo Sirainen
cb9c32d981 Bugfix for checking if user mode was empty (don't show (+) in statusbar)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@665 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-24 16:31:45 +00:00
Timo Sirainen
f76248133a /SET completion_nicks_lowercase
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@664 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-22 10:26:52 +00:00
Timo Sirainen
e316475afd Netsplit fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@663 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-19 21:14:35 +00:00
Timo Sirainen
0790ad02f6 Irssi crashed if you used "/JOIN" or "/JOIN -invite" without connected
to server.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@662 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-19 12:55:49 +00:00
Timo Sirainen
7a8000f1d2 /OP, /DEOP, etc. commands printed warning if no valid nicks were found.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@658 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-10 19:28:56 +00:00
Timo Sirainen
2d16538dec Moved the PL_perl_destruct_level check to configure script, it should
now work with Perl 5.6 too.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@657 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-07 22:43:07 +00:00
Timo Sirainen
17bb7faf2f Perl works now only as a runtime loadable module
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@656 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-07 21:55:58 +00:00
Timo Sirainen
8478a63c36 /SET default_nick -> /SET nick
/FORMAT own_me -> /FORMAT own_action


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@654 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-06 23:24:12 +00:00
Timo Sirainen
ecb334b6cc When pressing line down, the command line wasn't saved to history.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@653 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-06 23:15:42 +00:00
Timo Sirainen
9870fbe92e No, SILC stuff still shouldn't be here :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@652 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-06 22:05:01 +00:00
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