Timo Sirainen
0123ba3b26
chat_protocol_register() didn't work properly when the chat protocol
...
was already registered.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1242 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-18 23:40:18 +00:00
Timo Sirainen
6a469c46bb
Support for multiple identical nicknames.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1241 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-18 22:46:25 +00:00
Timo Sirainen
b0178d7248
crashfix
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1239 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-18 00:11:23 +00:00
Timo Sirainen
0d4d9204a9
Support for multiple identically named nicks.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1238 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-17 21:46:35 +00:00
Timo Sirainen
be6ba53fa4
Config file: ircnets -> chatnets, added type = "chat protocol" to
...
chatnet config. Moved reading chatnets to core. Lots of other
multiprotocol updates.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1237 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-17 19:44:22 +00:00
Timo Sirainen
e5f1216797
log_write_rec(): added level parameter. writing /LASTLOG to log files
...
doesn't anymore print the current timestamp at the start of line since
/LASTLOG messages have their original timestamp already.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1235 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-17 12:08:31 +00:00
Timo Sirainen
abe4ddb52a
/LOAD module tries to load "module_core" instead. If it wasn't found,
...
it fallbacks to "module" again. If it is found, it tries to load several
other modules too, like irc_module, fe_module and fe_irc_module.
Split perl module to perl_core and fe_perl. Removed "_common" from some
fe_common modules.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1228 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-17 10:35:35 +00:00
Timo Sirainen
2517c4099a
ig_module_build_path() prototype was missing..
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1223 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-17 10:26:59 +00:00
Timo Sirainen
657defae1d
added g_module_build_path()
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1222 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-17 10:09:49 +00:00
Timo Sirainen
e9b4784836
If log file locking fails, check that it failed because file was
...
locked, not because filesystem doesn't know locks or some other reason.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1219 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-16 20:21:18 +00:00
Timo Sirainen
88b091cc95
Write buffer - logs and rawlogs write to files through this. By default
...
everything gets written immediately, but you can make it wait until
there's specified amount of data in buffer or write once in a hour or
so. Useful for people who want to keep hard disk at sleep at nights but
still want to log.
/SET write_buffer_mins, /SET write_buffer_kb: When to flush buffer.
/FLUSHBUFFER: Flush the buffer immediately
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1201 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10 05:54:35 +00:00
Timo Sirainen
194dd60f36
/SET names_max_columns, /SET names_max_width: Limit width of /NAMES list.
...
Forced max. 6 columns limit to /HELP
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1199 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10 04:54:09 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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