Timo Sirainen
118f9a11eb
DCC chat nicks are in /MSG completion list now if chat isn't in query.
...
Sending actions to non-query DCC chats now display the target.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1193 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-09 22:00:51 +00:00
Timo Sirainen
8938a0f42b
/CONNECT, /SERVER: added -4 and -6 options for specifying if we should
...
connect to IPv4 or IPv6 address of the server. If -host or /SET
hostname is set irssi determines from it if it should use IPv4 or v6.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1192 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-09 21:26:50 +00:00
Timo Sirainen
6358c2d627
#include "irc-channels.h"
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1191 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-08 16:54:52 +00:00
Timo Sirainen
1dfd86fe95
/SET opermode - set this mode when you get ircop status.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1190 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-08 09:24:25 +00:00
Timo Sirainen
e06e831608
/LOAD ./path/module - loads module from path relative to current
...
directory instea of trying to find it from ~/.irssi/modules or
$PREFIX/lib/modules
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1189 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-07 19:36:45 +00:00
Timo Sirainen
45ad955d9e
/ACTION didn't print the target when there was no query/channel where
...
to print the action
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1188 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-06 22:10:57 +00:00
Timo Sirainen
70322d695f
Don't autolog CTCPs by default (so CTCP floods don't create lots of
...
useless files)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1187 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-06 21:56:51 +00:00
Timo Sirainen
16012d63ce
check_ignore() didn't check correctly if everything in specified level
...
was ignored
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1186 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-06 21:49:57 +00:00
Timo Sirainen
c741abe23f
'=' isn't really necessary, warn if it's missing but don't fail without
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1185 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-06 21:42:58 +00:00
Timo Sirainen
3f113f51b9
make deinitialization between screen_refresh_freeze() and
...
screen_refresh_thaw() so screen won't get redrawn needlessly
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1184 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-05 01:06:42 +00:00
Timo Sirainen
7612cf4773
added fe-channels.h
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1183 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-03 23:29:39 +00:00
Timo Sirainen
e2acaaa067
Added gui_printtext() function for printing text in printtext() format
...
to screen in specified position.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1182 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-03 19:29:38 +00:00
Timo Sirainen
e9b48e8942
irc_nick_insert(): Irssi::Nick, Irssi::Channel -> Irssi::Irc::...
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1181 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-03 18:14:20 +00:00
Timo Sirainen
6ad5d24e0d
DCC RESUME, DCC ACCEPT: we might have crashed with invalid parameters.
...
Some other "cleanups".
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1178 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-03 17:38:01 +00:00
Timo Sirainen
e387516951
Nicklist updates so that protocol specific xxx_NICK_REC can be used
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1177 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-02 22:10:20 +00:00
Timo Sirainen
7240717198
get_max_column_count(), columns_sort_list(): fixed to work properly
...
with empty list
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1176 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-02 22:09:11 +00:00
Timo Sirainen
4dd1d73f80
Print own mode changes immediately to screen without the 2sec wait.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1175 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-31 21:21:19 +00:00
Timo Sirainen
9044226d6e
Print the color hilight with two digits so it won't accidentally use the
...
next char if it's numeric.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1174 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-31 20:53:09 +00:00
Timo Sirainen
b24243e45a
/SB STATUS: for debugging mostly, displays number of lines and used kBs
...
of memory per window and totally
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1173 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-31 20:11:47 +00:00
Timo Sirainen
2a31ecaa32
Ugly quick hack to make act: never disappear but print as much activity
...
to statusbar as fits.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1172 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-31 11:23:29 +00:00
Timo Sirainen
8acf2cd5f9
/nctcp crashed
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1171 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-29 12:39:13 +00:00
Timo Sirainen
e09be2c7b4
/SET activity_hide_targets now hides them even if level is MSGS. Only
...
activity of highlighted text is not hidden.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1170 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 19:31:45 +00:00
Timo Sirainen
3db17abb4d
/SET hilight_levels -> hilight_level
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1169 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 19:11:34 +00:00
Timo Sirainen
f771409214
Ignores without nick masks didn't work
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1168 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 16:54:25 +00:00
Timo Sirainen
c4753213fe
Ignore didn't check properly nick masks that contained only nick
...
without mask part (!*).
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1167 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 16:43:13 +00:00
Timo Sirainen
4bcae4c071
get_max_column_count() didn't work properly when there was only one item
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1166 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 16:37:13 +00:00
Timo Sirainen
f5ea5348c0
get_max_column_count(): we didn't handle correctly a situation where
...
last column of the list was empty
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1165 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 16:27:09 +00:00
Timo Sirainen
adf8b864fc
bugfix
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1164 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 16:17:53 +00:00
Timo Sirainen
e76aafff31
DCC updated
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1163 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 16:15:55 +00:00
Timo Sirainen
3927ef9713
/HELP, /NAMES: using now the column helper function in misc.c. /NAMES
...
moved to core and is printed immediately instead of sending /NAMES
request to server.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1162 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 15:46:00 +00:00
Timo Sirainen
4339c9a7ed
WINDOW_REC: added width and height variables
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1161 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 15:44:29 +00:00
Timo Sirainen
e75ce196e8
get_max_column_count(), columns_sort_list(): helper functions for
...
printing column lists
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1160 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 15:43:38 +00:00
Timo Sirainen
b4a56832cb
backwards compatibility fix: when changing ircnet -> chatnet, the
...
chatnet name in memory was corrupted
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1159 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 10:19:53 +00:00
Timo Sirainen
669c2c18d8
Removed own_wall msg format, using now the same as @#channel messages.
...
Added printing of ctcps, notices, actions and /WALLs to
fe-irc-messages.c
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1158 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 10:16:43 +00:00
Timo Sirainen
5e3aa6f077
Emphasis are now expanded with own public/private messages. Added some
...
checks when not to expand: before _word_ must be space or beginning of
the line, next char after _word_ must not be '_' or '*'.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1157 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 09:31:45 +00:00
Timo Sirainen
96512a3d6a
/SB END: Don't do anything when already at the bottom (it was broken if
...
there was empty space at bottom)
Horizontal resizing now keeps window position. Also some fixes to
vertical resizing.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1156 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 09:16:22 +00:00
Timo Sirainen
56abbcd2e3
Ignoring updates. Added support for nickmatch cache. One ignore can't
...
have both except and normal levels. Nick ignoring checks now with both
old and new nicks.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1155 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 07:22:22 +00:00
Timo Sirainen
6c32ffdc4f
Print notify joins, unaways and unidles with HILIGHT level.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1154 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 04:07:52 +00:00
Timo Sirainen
a4cdb86128
/SET timestamp_format now specifies format of $Z. timestamp msg format
...
now uses $Z instead of that horrible $[-2.0]3:$[-2.0]4 that no-one
understood :) It's still possible to use the old method too.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1153 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 04:03:56 +00:00
Timo Sirainen
90e0d79d2a
Added TXT_WINDOW_LEVEL, changed most of the /WINDOW commands to print
...
output to active window, not status window.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1152 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 03:52:29 +00:00
Timo Sirainen
f382abee30
%N does now same as %n, except in .theme files it always does the
...
terminal default color while %n sets the "previous color".
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1150 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 03:41:17 +00:00
Timo Sirainen
cff8ba0c92
/SET beep_on_msg -> /SET beep_msg_level
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1147 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 03:19:19 +00:00
Timo Sirainen
5e8d21e68d
/SET beep_on_msg -> beep_msg_level
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1146 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 03:19:06 +00:00
Timo Sirainen
f6e9160bc9
Netjoin mode printing: handle +v and +h like +o was handled (joins:
...
@opnick +voicenick %halfopick)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1145 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 03:17:55 +00:00
Timo Sirainen
00492856da
Spaces at the start of line confused the completion some.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1144 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 03:04:44 +00:00
Timo Sirainen
4cbabe2a83
nicklist_find() now finds only full nicks, nicklist_find_mask() finds
...
nick masks. This fixes *a* and similiar emphasis where irssi tried to
find nick mask *a* instead of nick *a*.
Also, emphasis with highascii didn't work unless emphasis_multiword was
set ON.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1143 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 01:45:31 +00:00
Timo Sirainen
db03c25952
nickmatch-cache wasn't initialized if there wasn't hilights = { ... }
...
block in config file
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1142 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-26 18:52:01 +00:00
Timo Sirainen
ff5961dd09
Removed MSGS from hilight_level, not very useful IMHO
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1141 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-22 20:17:25 +00:00
Timo Sirainen
c3a6417c0f
strip_real_length() : bolds, underlines, etc. one character styling
...
left it to infinite loop
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1140 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-22 19:35:07 +00:00
Timo Sirainen
391a7e5710
Highlighting updates. -word renamed to -full. Added new -word option
...
meaning to highlight only the found word in line. Removed -nonick
option but added -line which means pretty much the same. -actcolor
specifies what color to show in activity list, default is the same as
-color. Also uses the nick cache to match nickmasks faster.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1139 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-21 04:14:24 +00:00
Timo Sirainen
1bfa0e1ee3
Nickmatch cache. A couple of helper functions to check if channel nicks
...
belong to something. Used for checking nickmasks in highlighting and
ignores (well, ignore isn't done yet).
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1138 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-21 04:09:48 +00:00
Timo Sirainen
443ba1a97d
nickliset_set_host() for setting host, sends signal "nicklist host changed".
...
Changed "nick gone|serverop" -> "nicklist gone|serverop changed"
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1137 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-21 00:49:52 +00:00
Timo Sirainen
1157ed5800
mainwindows_recreate() should be declared always
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1136 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-18 02:58:16 +00:00
Timo Sirainen
ce6e5a12f9
DCC cleanups - half rewrite. New features: file names with spaces work
...
properly, you can have multiple dcc chats with same people (or more
useful, same nick in different ircnets), /DCC CHAT|GET|RESUME with no
arguments accepts the last request, notifies if dcc request was sent to
channel, warns about connecting to lowports, /SET dcc_autoget_lowports
specifies if autogetting should work with lowports, complains of
invalid dcc ctcps instead of ignoring. And fixed /SET dcc_autorename
OFF which didn't work before.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1135 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-18 02:30:59 +00:00
Timo Sirainen
babf7c77ac
net_getservbyport() - Get name of TCP service
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1134 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-18 02:23:35 +00:00
Timo Sirainen
0ef53540c0
Minor speedup, return immediately if masks == ""
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1133 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-18 02:23:11 +00:00
Timo Sirainen
769815a3f4
signal_emit() - one parameter after last one wasn't NULL but was taken
...
from va_list
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1132 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-18 02:01:59 +00:00
Timo Sirainen
c180c61816
memmove() -> g_memmove()
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1131 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-18 01:03:18 +00:00
Timo Sirainen
269a0499b1
/WHOIS without parameters in query does now same as /WII <queried nick>
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1130 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-17 20:28:42 +00:00
Timo Sirainen
078b63ccbe
added channel parameter to quit/nick messages
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1127 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-16 19:18:39 +00:00
Timo Sirainen
ac6cb753af
nickmatch-cache.[ch] wasn't supposed to be included yet..
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1126 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-16 00:19:45 +00:00
Timo Sirainen
e66e10af19
Check if libtool creates libraries in .libs dir. Check if -lgmodule
...
doesn't work. #include "../config.h" instead of <config.h>, this should
fix problems when config.h is found in some -I dir.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1125 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-16 00:14:14 +00:00
Timo Sirainen
0d62878d6e
Fixed some signedness warnings and memdebug.h should compile now fine
...
with -ansi.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1124 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-15 23:36:11 +00:00
Timo Sirainen
ae2bb54a42
screen resizing fixes when resizeterm() isn't supported
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1123 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-15 22:47:51 +00:00
Timo Sirainen
0807bafbe8
no, bugfix done wrong :) reversed.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1122 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-15 22:25:49 +00:00
Timo Sirainen
24dd6d0917
Compiling with --disable-curses-windows was broken
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1121 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-15 22:20:30 +00:00
Timo Sirainen
a5d88f4db1
#undef some things term.h #defines that break irssi
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1120 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-15 22:18:09 +00:00
Timo Sirainen
0d7e4c1f54
Added #define PL_sv_undef sv_undef for 5.004 compatibility
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1119 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-15 01:04:30 +00:00
Timo Sirainen
51a4e8bcb9
Use | instead of + when playing with ansi colors. Doesn't change
...
anything really, except if someone now wants to change ansi colors to
some bright colors it's easier..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1118 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-14 18:57:39 +00:00
Timo Sirainen
6f370cf6ff
/HELP without any parameters read data outside it's buffer
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1117 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-14 18:33:30 +00:00
Timo Sirainen
43186de148
Minor speed enhancement
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1116 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-14 18:31:53 +00:00
Timo Sirainen
c49b5adc1b
Added nicklist_rename()
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1115 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-14 18:30:02 +00:00
Timo Sirainen
93ba91b8ed
Added my_asctime()
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1114 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-14 18:16:39 +00:00
Timo Sirainen
d427f74143
Check the return value of strftime() properly
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1113 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-14 18:02:03 +00:00
Timo Sirainen
aa447813d0
use_protocols variable wasn't initialized
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1112 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-14 01:04:49 +00:00
Timo Sirainen
4941f4f6e9
Removed Channel::command(), Windowitem::command() is already there
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1111 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-13 23:35:32 +00:00
Timo Sirainen
3582973c93
Added "exec new" and "exec remove" signals.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1110 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-13 23:28:05 +00:00
Timo Sirainen
8cb5ebc0a3
/SET activity_levels, hilight_levels, noact_channels ->
...
activity_msg_levels, activity_hilight_levels, activity_hide_targets.
Added /SET hilight_levels to specify the default level for /HILIGHTs
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1109 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-13 14:04:11 +00:00
Timo Sirainen
65cb0afd4b
Added pidwait_add() and pidwait_remove()
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1106 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-13 02:23:24 +00:00
Timo Sirainen
1698500f80
$[.10]var truncates the var to 10 chars, but doesn't pad if var is
...
shorter than 10 chars
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1105 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-12 17:05:05 +00:00
Timo Sirainen
1a3c700838
Some signed/unsigned warnings removed. Don't call fe_exec_init/deinit in win32
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1104 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-11 10:15:34 +00:00
Timo Sirainen
348060073d
cmd_param_error -> cmd_return_error
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1103 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-11 09:25:16 +00:00
Timo Sirainen
091e06387b
/SET theme - complains if theme isn't found. Setting theme's name to
...
"xxx.theme" now works, too many people tried it with the .theme suffix :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1102 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-11 09:14:21 +00:00
Timo Sirainen
ebdaa110f1
bugfixes
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1101 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-10 21:12:39 +00:00
Timo Sirainen
c5832fdc56
Fixed, added comment what it does so I wouldn't forget again :)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1099 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-09 21:29:00 +00:00
Timo Sirainen
d256f71a00
Highlighting cleanups. Added /HILIGHT -priority option.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1098 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-09 21:06:45 +00:00
Timo Sirainen
f8f1f814a5
query_find() didn't check for queries with no active server
...
Some DCC CHAT format fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1097 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-09 18:56:56 +00:00
Timo Sirainen
d6ee17e8cd
/LOAD without parameters prints loaded modules
...
GLib warnings/criticals are now printed with printformat(), not into
standard output messing up the screen.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1096 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-09 17:25:21 +00:00
Timo Sirainen
1de2aade40
In core/module-formats.h: IRCTXT_ -> TXT_
...
Added "message irc ctcp" signal to print CTCPs
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1094 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-07 19:42:59 +00:00
Timo Sirainen
e46e2b5e09
When using a /command that has only subcommands, print the list of the
...
subcommands instead of just "unknown command" text.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1093 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-07 13:53:58 +00:00
Timo Sirainen
afc9800964
"MODE #channel b" list wasn't printed correctly
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1091 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-07 10:11:29 +00:00
Timo Sirainen
ddfb8dea3a
updated
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1090 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-07 09:59:21 +00:00
Timo Sirainen
abcb44f835
perl updates
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1089 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-07 09:54:21 +00:00
Timo Sirainen
3f1b28ead9
item_get_dcc(void *item) -> WI_ITEM_REC *item
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1088 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-07 09:26:45 +00:00
Timo Sirainen
2faf78fe7c
ban -> bans, just like in .c file :)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1087 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-07 08:44:02 +00:00
Timo Sirainen
14dbcd00bf
"return 1" doesn't anymore stop signals in perl scripts. Fixed
...
Irssi::signal_stop() to properly stop the signal from going to other
perl scripts.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1086 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-07 08:23:06 +00:00
Timo Sirainen
a2d9661982
Don't write indent spaces to empty lines
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1085 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-07 08:05:14 +00:00
Timo Sirainen
9745db6925
Fixes for printing errors in themes
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1084 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-07 07:58:15 +00:00
Timo Sirainen
f8f6d7670a
Template packing: After $variables the color could be anything, don't
...
even try to guess it.
Some changes to templates in theme. Nick mode is now separate argument.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1083 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-07 07:48:56 +00:00
Timo Sirainen
069d9f3f02
nick_match_msg() : check was case sensitive
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1082 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-06 23:49:19 +00:00
Timo Sirainen
341cd55587
Perl updates. Lots of updates to perl documentation :)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1081 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-06 21:59:28 +00:00
Timo Sirainen
dd68c2fa5f
Removed window parameter from window_item_remove() and
...
window_item_destroy()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1079 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-06 21:58:28 +00:00
Timo Sirainen
28465db59c
theme updates
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1078 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-06 21:57:06 +00:00
Timo Sirainen
ba4b59d134
When msg list is full, remove old messages, not new messages..
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1077 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-06 15:39:36 +00:00
Timo Sirainen
0a44c31101
/HELP: Set indent to 0 when printing text. syntax.pl now changes tabs
...
to 9 spaces at the start of lines in help files.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1075 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-05 09:43:38 +00:00
Timo Sirainen
19d111eff4
printtext_string() fix, should actually work now :)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1073 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-05 08:34:39 +00:00
Timo Sirainen
86aa2d514d
Added printtext_string() which works like printtext(), except it prints
...
text from a string, so that %s, %d, etc. don't work. Changed perl's
Irssi::print() use this instead as well as /HELP printer.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1072 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-05 08:30:01 +00:00
Timo Sirainen
5eaec93b29
Removed wrong SYNTAX: NOTICE, it's already correctly in irc/core
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1070 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-05 07:26:06 +00:00
Timo Sirainen
64dcb756b6
/BIND comment updates
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1069 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-05 07:22:58 +00:00
Timo Sirainen
b4f4a1a9dd
In "Configuration file was modified ..." text, added "Use /SAVE or
...
/RELOAD to get rid of this message."
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1068 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-05 06:49:47 +00:00
Timo Sirainen
59d46dcadf
MIRC colors >=16 changed to work as in MIRC (color %= 16)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1066 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-04 19:20:09 +00:00
Timo Sirainen
93c0086d41
Complain about errors in theme file
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1065 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-04 19:01:01 +00:00
Timo Sirainen
d431bea439
Renamed libtool-static to libtool-shared. Generating it should now also
...
work properly with older libtool versions than 1.3.5.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1064 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-04 18:35:26 +00:00
Timo Sirainen
596ef586b2
Added keyboard_entry_redirect() function to keyboard.[ch] which sends
...
the signal "gui entry redirect" signal. Added possibility to keep the
entry hidden.
/OPER [<nick> [<password>]] - syntax changed. If password isn't given,
it's asked.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1063 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-04 18:01:51 +00:00
Timo Sirainen
d844880515
/UNBAN <ref#> works. /BAN list shows reference numbers.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1062 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-04 17:28:26 +00:00
Timo Sirainen
f3f80c1499
Allow stopping signal more than once without sending GLib warning
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1061 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-04 17:27:21 +00:00
Timo Sirainen
60df6d7be8
fixed minor memory leak
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1060 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-04 17:13:29 +00:00
Timo Sirainen
fe8710ac41
Unbinding commands didn't work properly
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1058 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-04 09:45:46 +00:00
Timo Sirainen
69f3b3f159
/LIST: don't require -yes option if there's 1000 channels or less.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1057 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-04 08:49:48 +00:00
Timo Sirainen
131825ea0e
/WINDOW NUMBER: fixed small memory leak
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1056 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-04 08:35:33 +00:00
Timo Sirainen
1e4c658a18
Removed the "signal" and "last signal" signals. Changed perl's
...
signaling system to work without them, it should now work faster and
better.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1053 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-03 07:34:12 +00:00
Timo Sirainen
db66d47e26
"No such nick xx" is printed now with nick argument so it could get
...
printed to query window with xx
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1052 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-02 19:15:24 +00:00
Timo Sirainen
be4b473be5
/SET dcc_autoresume - like /SET dcc_autoget, but resume the files if
...
they're already found. Also fixed file transfer being stuck when
resuming file that was already fully sent (happened with both send and
get). /dcc close was also broken.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1051 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-02 16:14:19 +00:00
Timo Sirainen
d58ea58abc
net_accept(), net_getsockname() IPv6 fixes pointed out by pv2b :)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1050 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-02 07:05:07 +00:00
Timo Sirainen
806e1f0765
removed the win32 EINPROGRESS define, that wouldn't work anyway
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1049 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-02 05:55:36 +00:00
Timo Sirainen
ebeb48d307
Query bugfixes
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1048 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01 19:29:05 +00:00
Timo Sirainen
3ef279fd1c
/SET windows_auto_renumber - should window refnums be packed when some
...
window is destroyed
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1047 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01 18:32:48 +00:00
Timo Sirainen
4613196cd2
/WINDOW NUMBER: -sticky option added. Closing windows before a sticky
...
window won't change refnum of the sticky window and windows after it
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1046 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01 18:30:23 +00:00
Timo Sirainen
8b5475f789
int:1 -> unsigned int:1
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1045 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01 18:13:54 +00:00
Timo Sirainen
08b869e8ee
ischannel()'s parameter updated from char -> char* as done in C API.
...
[irc_]query_create()'s SERVER_REC* parameter -> char *server_tag
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1044 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01 17:34:03 +00:00
Timo Sirainen
c2ea82642d
Some query changes. They should now work properly with /SAVEWINDOWS
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1043 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01 17:13:55 +00:00
Timo Sirainen
21865aa8de
MODULE_DATA(item) -> window_item_window(item) - forgot to change these
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1042 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01 17:07:08 +00:00
Timo Sirainen
2ae679be08
added "message own_public" and "message own_private" events that are
...
sent when /msg command is used. this way we don't need to parse the
/msg's options everywhere. also efnet @#channels support works now better.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1041 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01 16:57:25 +00:00
Timo Sirainen
219c83ae6a
window_item_create(): when there's multiple choices where the window
...
item could be placed, the first window is now selected instead of the
last accessed one of them (which most people think of as a random
window).
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1040 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01 14:57:55 +00:00
Timo Sirainen
acf60a729c
small extra checks to /whois redirect checking
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1039 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01 14:42:22 +00:00
Timo Sirainen
d304bc65ca
Perl's ldflags usually include at least -lm and maybe some others too.
...
But in some OSes adding shared library dependencies to other shared
libs don't work (or maybe I'd need to do something differently :), so
check in configure that if it doesn't work, perl is never even tried to
be built as module.
On the other hand, if it does work irssi now links with libperl.so if
it's found instead of libperl.a which was always used before.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1035 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01 10:42:15 +00:00
Timo Sirainen
4a33801669
Added/moved several "typedef struct _XXX XXX;" to common.h so that
...
they're known to all files and I don't need those stupid "void *xxx"
anymore just to avoid useless #include. Header files themselves don't
either include others as often anymore.
Added channel->ownnick to point to our NICK_REC in channel's nicks.
Gives a minor speedup in few places :)
Moved completion specific lastmsgs from channel/server core records to
fe-common/core specific records. Also changed the nick completion logic
a bit so it should work better now. Removed
completion_keep_publics_count setting, but changed the meaning of
completion_keep_publics to same as _count was before. Nick completion
doesn't have any time specific code anymore.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1034 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01 07:45:54 +00:00
Timo Sirainen
21f9da6092
When joining to !channel because of "407 duplicate channel", it just
...
means that there's some server sync problems. rejoining after a while
should work again.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1033 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01 04:33:27 +00:00
Timo Sirainen
078a10900f
don't do emphasis on nicks in channel (<nick1> _nick2_: hello won't underline)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1032 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01 04:22:31 +00:00
Timo Sirainen
ab0c12b74c
removed FIXME text :)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1031 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-30 00:43:11 +00:00
Timo Sirainen
f372f6d327
pidwait: send status as second agument.
...
Implemented EPIC-compatible /EXEC
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1030 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-30 00:42:47 +00:00
Timo Sirainen
1257104980
comment update :)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1029 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-29 21:56:25 +00:00
Timo Sirainen
86b714881c
Irssi::print() doesn't call printtext() with args (.., "%s", text)
...
since it broke %_ etc. formats. But instead of crashing every time
someone prints %s with Irssi::print(), irssi now checks all those
formats and prints them as-is.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1028 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-29 19:48:02 +00:00
Timo Sirainen
e50535a64e
Irssi::signal_emit() was broken.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1027 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-29 19:22:00 +00:00
Timo Sirainen
84d672ee42
If msg comes from unknown channel (like when you just closed some
...
channel window and server sends the last msg to the channel) irssi now
prints the msg to active window instead of sending glib warning.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1026 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-29 00:11:24 +00:00
Timo Sirainen
b6075cf36c
removed warning
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1025 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-28 17:42:17 +00:00
Timo Sirainen
46a427b410
server->cmd_last_split wasn't used anymore, removed code related to it.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1024 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-28 17:23:06 +00:00
Timo Sirainen
1a536c204c
Instead of trying to send data to server every 1/10th of second, send
...
it whenever there's space in buffer using g_input_add() with G_IO_WRITE
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1023 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-28 17:22:35 +00:00
Timo Sirainen
db5e7f3731
emphasis moved to fe-messages. added a few checks so that non-words
...
aren't treated as emphasis
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1022 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-28 17:04:33 +00:00
Timo Sirainen
ae030c4302
Fix for handling duplicate channels
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1018 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-22 13:02:33 +00:00