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

206 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
06a6428d83 security fixes from 0.7.97.2
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1017 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-19 17:48:42 +00:00
Timo Sirainen
99b29df17c put back ircnet -> chatnet backwards compatibility, this time modify
the config file to use chatnet so after .98 we could remove this


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1016 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-19 17:47:33 +00:00
Timo Sirainen
db2c620951 when changing config file to new format send "setup changed" signal at
startup so that some settings that were tried to be used before
settings_check() was called would be properly loaded.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1015 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-19 17:42:56 +00:00
Timo Sirainen
cf0c2a7fb6 removed backwards compatibility from ircnet -> chatnet change
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1006 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-17 07:40:59 +00:00
Timo Sirainen
bbc33bff5e /SET prompt, /SET prompt_window - Specifies the text in prompt.
'prompt' is used when channel or query is active in window and
'prompt_window' is used with empty windows.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1005 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-17 07:39:22 +00:00