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
Timo Sirainen
2500457729
Windows weren't created with correct size. When setting statusbar lines for
...
windows, irssi didn't resize the window properly.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1940 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-29 18:42:42 +00:00
Timo Sirainen
4f58b17ecb
/WINDOW SERVER -unsticky crashed irssi if it was used when you weren't connected to server.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1939 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-29 16:15:47 +00:00
Timo Sirainen
59e310c723
stuff in LIBS moved to PROG_LIBS again. Otherwise linking perl module (and maybe some other stuff as well) tries to link all that with the module.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1938 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-29 13:43:46 +00:00
Timo Sirainen
6729317cac
not needed anymore, code is in term*.[ch] now.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1937 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-29 13:04:15 +00:00
Timo Sirainen
92ec922637
clrtoeol() wasn't called always when drawing buffer, so some garbage could
...
have been left to screen.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1936 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-28 23:52:36 +00:00