Timo Sirainen
e16b2fa495
Removed statusbar-items.h
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1990 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-12 09:15:39 +00:00
Timo Sirainen
1b2f3a6d4c
Added Irssi::redirect_get_signal() and Irssi::redirect_peek_signal().
...
Changed syntax of Irssi::redirect_register() and Irssi::redirect_event().
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1989 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-12 09:13:12 +00:00
Timo Sirainen
65f92c5e9d
added server_redirect_peek_signal() function.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1988 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-11 22:44:47 +00:00
Timo Sirainen
af6b115527
--version now shows the date version too.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1987 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-11 22:42:26 +00:00
Timo Sirainen
09ca671577
Fixed to work with new redirection code. Also don't set the mode to +(null)
...
if there's no server mode.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1986 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-11 22:41:03 +00:00
Timo Sirainen
ea03650b3f
Updated perl API version. Fixed irssi to behave better if the API doesn't
...
match (doesn't crash).
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1985 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-11 22:39:56 +00:00
Timo Sirainen
571f3acaf8
"mode e" was registered twice - the second one should have been "mode I".
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1984 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-11 20:27:46 +00:00
Timo Sirainen
5e1993346e
Redirection fixes.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1983 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-11 20:20:43 +00:00
Timo Sirainen
24d51a694b
/RAWLOG commands should work immediately after connection to server was
...
accepted (ie. don't wait for 001 event from server).
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1982 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-11 20:05:10 +00:00
Timo Sirainen
f044505694
/WHOIS unknown_nick printed the "there was no such nickname" message
...
as well as the "there is no such nick" message.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1981 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-11 19:02:32 +00:00
Timo Sirainen
850cf993eb
Moved rewritten server redirection code from core to irc. This new code
...
should be able to do the redirecting a lot more error-proof. Changed
lag-checking to use PINGs instead of NOTIFYs. This breaks scripts using
redirection. Hopefully this doesn't break too much things in irssi :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1980 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-11 18:59:19 +00:00
Timo Sirainen
712f3b383d
net_listen(): if creating IPv6 socket fails because of EPROTONOSUPPORT, try
...
without IPv6.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1979 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-10 20:15:24 +00:00
Timo Sirainen
9abd857618
net_connect(): if bind() fails, set the address back to INADDR_ANY to make sure it doesn't leave the socket in buggy state.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1978 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-07 14:35:00 +00:00
Timo Sirainen
1ca2218e46
separated the different /RAWLOG commands with empty lines - otherwise irssi would join those lines into one when printing it..
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1977 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-07 14:10:13 +00:00
Timo Sirainen
90285425a8
Removed " = " in /SET autolog_path example - it really shouldn't be there :)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1976 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-07 11:54:44 +00:00
Timo Sirainen
6a82e806b4
Moved $(GLIB_CFLAGS) after -I includes, to make sure our own .h files get before possibly identically named headers in the glib's include directory.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1975 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-05 14:48:03 +00:00
Timo Sirainen
a6e9d7dfb7
Terminfo is now the default, always.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1974 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-05 14:13:52 +00:00
Timo Sirainen
6197339b8d
/CHANNEL xxx - don't crash if not connected to server.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1973 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-05 11:47:52 +00:00
Timo Sirainen
d589ac85ce
Still messing up with colors.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1972 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-04 21:47:37 +00:00
Timo Sirainen
5397b33d2d
removed, not needed.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1971 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-04 20:13:24 +00:00
Timo Sirainen
f4e98cc936
Looks like I went and broke /PART accidentally..
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1970 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-04 18:11:59 +00:00
Timo Sirainen
dd04f35cc6
Stupid me, remembered wrong how PARAM_FLAG_OPTCHAN worked. This broke /CTCP,
...
/NCTCP and /NOTICE for non-channel targets. Back to old code, except "*" is
now treated as active target.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1969 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-04 14:36:51 +00:00
Timo Sirainen
c5e2b28d2c
Added missing irc-commands.h
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1968 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-03 22:52:49 +00:00
Timo Sirainen
e69f081127
* works now as active channel with /NOTICE, /CTCP and /NCTCP.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1967 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-03 18:36:40 +00:00
Timo Sirainen
3578cea258
Virtualized cursor movement and clearing to end of line. Now neither is done
...
unless really needed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1966 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-03 15:31:13 +00:00
Timo Sirainen
d4d72e5583
Don't clear the window before redrawing, it's faster to do it at the same
...
time window is being redrawn.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1965 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-03 14:50:43 +00:00
Timo Sirainen
25b04419d4
Reset the color before clearing screen. Set the cursor invisible when moving
...
around in screen and set it visible again when it's in wanted position.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1964 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-03 14:42:28 +00:00
Timo Sirainen
67a9ad0598
/OP, /DEOP, /VOICE and /DEVOICE fixed not to print glib error if used in
...
non-channel window.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1963 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-03 13:31:33 +00:00
Timo Sirainen
655e111007
update_cmd_color() updated colors wrong.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1962 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-03 13:28:06 +00:00
Timo Sirainen
6e24ac82ed
Commands that accepeted * parameter as active channel didn't work properly -
...
active channel was used but the * wasn't removed from parameters.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1961 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-03 13:16:36 +00:00
Timo Sirainen
ab99ca7231
Quit if terminal gets lost.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1960 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-03 13:12:15 +00:00
Timo Sirainen
06435bea22
/RECONNECT ALL crashed irssi (typofix - s/unref/ref/ :)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1959 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-03 12:58:36 +00:00
Timo Sirainen
8f65188776
Some fixes to drawing lines & handling long lines.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1958 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-03 12:54:29 +00:00
Timo Sirainen
806ab849bf
Yet another fix of /UPTIME alias - maybe it finally works now :)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1957 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-03 10:54:04 +00:00
Timo Sirainen
585527b979
compile fix - patch by manoj@io.com
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1956 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-02 14:53:39 +00:00
Timo Sirainen
f354fe54c7
Moved some stuff from irc to core. Added command_bind_proto() function to
...
bind protocol-specific commands. Added #define command_bind_irc() for easier
access. CMD_IRC_SERVER(server) check should be done at the beginning of each
command requiring IRC server as active server, it handles it correctly the
cases when it is not. Did some other cleanups as well.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1955 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-02 01:05:14 +00:00
Timo Sirainen
95b94ed83c
server->ischannel(char *) -> server->ischannel(SERVER_REC *, char *). Added
...
#define server_ischannel(server, data) and it's now used everywhere..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1954 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-01 22:52:23 +00:00
Timo Sirainen
9833844f38
Buffer overflow fix (read-only, might have caused some crashes).
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1953 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-01 22:30:45 +00:00
Timo Sirainen
f6fea30ff5
Check that it's IRC-channel we're destroying before doing any IRC-specific
...
deinitialization.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1952 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-01 21:04:26 +00:00
Timo Sirainen
083bdc74be
indent_always setting was wrongly set when configuration was changed.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1951 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-01 17:55:49 +00:00
Timo Sirainen
00f94a93a5
Crashfix when module didn't contain deinit() function.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1950 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-31 23:30:34 +00:00
Timo Sirainen
ee93268315
changed default log directory mode to 0700 and file mode to 0600.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1949 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-31 15:18:18 +00:00
Timo Sirainen
91d1be7e67
updated for $cumode_space
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1948 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-30 12:14:01 +00:00
Timo Sirainen
6bc16fc0ed
added $cumode_space expando. Like $cumode, but gives " " if there's no mode.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1947 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-30 12:12:25 +00:00
Timo Sirainen
8b6d6b086e
typofix :)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1946 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-29 21:46:46 +00:00
Timo Sirainen
f68c48bcec
Link with $LDFLAGS when trying to compile one of the test programs..
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1945 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-29 21:32:32 +00:00
Timo Sirainen
7b7b235ce8
forgot to define TI_rep for repeat() command.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1944 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-29 20:44:45 +00:00
Timo Sirainen
6d1d0208fe
bug in last commit :) background color was broken
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1943 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-29 19:17:54 +00:00
Timo Sirainen
3d50a058b9
when colors aren't used, don't save last_fg and last_bg. This helps at least clrtoeol().
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1942 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-29 19:16:14 +00:00
Timo Sirainen
3cdedf5b4b
terminfo's term_clrtoeol() uses the clrtoeol() command only when using the default colors. otherwise it just goes and fills the line with spaces.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1941 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-29 19:13:52 +00:00