1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00
Commit Graph

440 Commits

Author SHA1 Message Date
Timo Sirainen
5311736a68 Irssi::Server::command() - window item parameter should be NULL
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1609 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-12 19:44:54 +00:00
Timo Sirainen
05bb4cf82f void should be in separate line
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1604 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-01 10:53:35 +00:00
Timo Sirainen
3005cad5c3 use Irssi; use Irssi::Irc and use Irssi::UI are now automatically called so
you won't need to add those to scripts.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1603 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-30 11:53:03 +00:00
Timo Sirainen
f1ecfca8a7 Updates to perl documentation. Moved Rawlog->{lines} to Rawlog::get_lines()
instead.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1601 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-30 09:49:59 +00:00
Timo Sirainen
f9c9e6fc75 Windowitem->{type} wasn't set properly
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1595 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-29 22:57:03 +00:00
Timo Sirainen
76e0e448af Added some new variables for UI::Window
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1594 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-29 22:51:37 +00:00
Timo Sirainen
dead8321a8 UI fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1590 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-29 21:14:10 +00:00
Timo Sirainen
78986b59c8 Irssi::xx -> Irssi::UI::xx
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1589 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-29 21:11:29 +00:00
Timo Sirainen
f0ccd539df Added size/skipped to Dcc::Send / Get records
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1588 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-29 20:41:35 +00:00
Timo Sirainen
c249f62544 Don't print GLIB critical when trying to bless unknown iobject - this could
well happen with some unknown objects like /EXEC -interactive's WI_ITEM_REC.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1583 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-27 23:05:20 +00:00
Timo Sirainen
89d7498019 Moved fe_perl module to use Irssi::UI .. this breaks several scripts that
use UI-specific code, but simply adding the "use Irssi::UI;" after use
Irssi; should work. make install now removes libfe_perl.* files from global
module directory, but if you have it somewhere else you should manually
remove it.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1582 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-27 22:56:17 +00:00
Timo Sirainen
740f041c26 Perl blessing fixes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1566 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-26 17:01:42 +00:00
Timo Sirainen
3d2f2704c0 added real_fname to log record.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1559 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-26 13:47:38 +00:00
Timo Sirainen
3a0534da46 plain objects weren't blessed correctly in lists
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1554 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-11 23:54:50 +00:00
Timo Sirainen
651972ab33 $/ was set to undef for perl scripts. removed unused variable.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1552 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-11 22:39:32 +00:00
Timo Sirainen
fdb57e148c "complete word" signal works now with perl and it's possible to manipulate
the completion list.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1542 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-08 22:27:06 +00:00
Timo Sirainen
c9ccfcd408 added topic_by, topic_time
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1541 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-08 21:20:15 +00:00
Timo Sirainen
99e9ab582f added Irssi::parse_special()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1529 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-01 17:53:14 +00:00
Timo Sirainen
5f6d953602 Irssi::command_runsub() - patch by fuchs
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1519 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-30 08:58:48 +00:00
Timo Sirainen
0701f53e63 PL_na doesn't exist in Perl 5.004, don't use it.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1479 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 14:23:09 +00:00
Timo Sirainen
014c07d71c Added TEXT_DEST_REC to perl, fixed "print text..." signal declarations.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1453 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-04-20 19:24:20 +00:00
Timo Sirainen
463d5fbd2f Irssi::printformat() didn't work
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1452 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-04-20 19:08:21 +00:00
Timo Sirainen
0cb1752123 related changes to textbuffer update..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1444 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-04-14 22:54:06 +00:00
Timo Sirainen
c3da7fa8ab Hilighting updates. /HILIGHT -color, /SET hilight_color and /SET
hilight_act_color now use %codes for specifying color.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1402 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-17 01:52:43 +00:00
Timo Sirainen
689fb5a267 if $(MAKE) crap -> ($(MAKE) || $(MAKE)), a lot better :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1391 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-15 15:42:11 +00:00
Timo Sirainen
c6843a71a5 if ! $(MAKE) -> if $(MAKE); then echo; else
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1390 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-15 15:23:00 +00:00
Timo Sirainen
ef1d2e3b43 make distclean works now properly for common/ and irc/ directories (by tko)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1378 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-11 02:33:00 +00:00
Timo Sirainen
11c54b6109 typofix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1370 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-10 02:30:11 +00:00
Timo Sirainen
7f12b1cd6c updated
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1368 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-08 14:54:23 +00:00
Timo Sirainen
21ce8803d6 some perl fixes. NICK_REC is also now "iobject"..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1358 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-07 12:09:38 +00:00
Timo Sirainen
d8128cdcda removed Flood.xs
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1356 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04 16:22:00 +00:00
Timo Sirainen
c5cccfcdaa fe-common/irc/flood removed. Some autoignore / ignore -time updates.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1330 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 23:27:07 +00:00
Timo Sirainen
4f2be94115 /BANTYPE -> /SET ban_type. /BAN: -type option added to override default
ban type.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1318 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 20:48:23 +00:00
Timo Sirainen
2f4969aefc make -> $(MAKE)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1308 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 17:18:17 +00:00
Timo Sirainen
afacade780 Fixed for building from objdir
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1292 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-23 05:12:04 +00:00
Timo Sirainen
469fde3618 Verify in configure that linking with perl's LDFLAGS actually works. If
perl lib dir is set, add 'use lib "/perl/lib/dir"' before each script
automatically.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1287 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-22 20:39:35 +00:00
Timo Sirainen
432ac912c1 Removed AUTOIGNORE_REC since it doesn't exist anyremo
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1284 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-22 09:03:30 +00:00
Timo Sirainen
2aeb9259e0 DCC updates
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1267 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-20 02:37:01 +00:00
Timo Sirainen
4803538e39 my_perl fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1264 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-20 00:48:30 +00:00
Timo Sirainen
6ee833f0a5 updated
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1258 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 06:37:44 +00:00
Timo Sirainen
c2a1971cc3 updates for latest changes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1240 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-18 20:32:22 +00:00
Timo Sirainen
513e140bce Irssi::command_bind(): Don't run the command twice. Log updated for
log_write_rec()


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1236 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-17 12:23:18 +00:00
Timo Sirainen
c0726196ea Moved fe stuff from perl-common to perl-fe.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1234 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-17 11:33:12 +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
187412eb7c Perl 5.6 wants PREFIX=xx, not LIB=xx when default isn't used
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1216 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-15 00:05:22 +00:00
Timo Sirainen
935ec3a9a4 #include "perl-common.h" to define my_perl
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1215 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-14 23:44:34 +00:00
Timo Sirainen
bebb9d3de8 irssi_perl_interp -> my_perl and made it non-static. should help compiling
with some weird perl implementations.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1213 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-14 22:06:47 +00:00
Timo Sirainen
f4aef7c706 Added PROCESS_REC to fe-exec.h and perl support for it. "exec new" and
"exec remove" sends PROCESS_REC as first argument. Added "exec input"
signal to perl.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1212 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-13 19:26:43 +00:00
Timo Sirainen
677e0a6736 Updates so that DCC stuff compiles again. Still missing DCC chat/get/send
specific stuff.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1208 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-12 16:31:33 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
015612c59a Irssi::signal_emit(): changed max. parameter count from 6 to 7
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1007 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-17 08:28:33 +00:00
Timo Sirainen
2523a02104 Irssi::printformat() syntax changed: removed server and target, use
$server->printformat() or $target->printformat() if needed..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@997 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-17 01:29:07 +00:00
Timo Sirainen
062d662834 /perl command does now "use Irssi::Proto" for all chat protocols that
have .pm file in @INC


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@983 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-09 21:58:53 +00:00
Timo Sirainen
5dcd683324 fixes, perl should work correctly now :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@982 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-09 20:54:47 +00:00
Timo Sirainen
bb594d2aa6 bugfix in handling command(), cmdchar at start of command was still required..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@975 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-06 05:35:34 +00:00
Timo Sirainen
e9db7e54a2 irssi_bless() crashed with NULL parameter
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@973 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-06 05:22:47 +00:00
Timo Sirainen
e95f309b50 perl changes - values() method doesn't exist anymore, instead of
$server->values()->{...} you now use directly $server->{...}


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@972 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-06 05:03:11 +00:00
Timo Sirainen
a5e46bad36 nl_langinfo() was a bad idea, don't use it.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@948 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-03 06:39:28 +00:00
Timo Sirainen
b3a642e548 command() doesn't need cmdchar at start of command anymore.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@937 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-03 04:43:53 +00:00
Timo Sirainen
df94b9a44c window_[add|remove]_item -> window_item_[add|remove]
added window_item_destroy(), window_item_remove() doesn't destroy the
item anymore

window_find_item()'s first parameter changed from WINDOW_REC to SERVER_REC


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@922 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-02 19:08:21 +00:00
Timo Sirainen
9ab8b13fd8 small "fix"
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@913 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-02 04:48:27 +00:00
Timo Sirainen
6aa8af346c forgot to add this
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@887 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-27 01:23:28 +00:00
Timo Sirainen
079932c405 Perl fixes and additions. theme_register() / printformat() works now
with scripts


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@884 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-26 09:22:18 +00:00
Timo Sirainen
746bd9b4f0 added functions from fe-windows.h and window-items.h
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@868 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-25 23:05:50 +00:00
Timo Sirainen
d1d70fd5d7 s/enum GInputCondition/int/ - enums aren't supposed to orred together i
think.. at least MIPSpro gave warnings about it and it also feels wrong :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@865 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-23 23:29:32 +00:00
Timo Sirainen
8961d23171 Still some warnings removed..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@864 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-23 23:23:45 +00:00
Timo Sirainen
4e0166a44d more warning fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@863 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-23 23:06:29 +00:00
Timo Sirainen
8ce36c05ea several fixes to make irssi compile without warnings with MIPSpro
also fixed ctcp_queue_clean() - it might have crashed sometimes..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@859 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-23 21:40:07 +00:00
Timo Sirainen
8dd24a4444 Added input_add() / input_remove()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@856 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-21 23:26:07 +00:00
Timo Sirainen
c4af878047 windows.h -> fe-windows.h
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@849 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-18 15:25:04 +00:00
Timo Sirainen
5da6c63cdd Moved the ISA defines from .pm to irssi code, so that non-irc protocols
would work also without a specific .pm file. Also you don't need to
use Irssi::Irc anymore if you don't need IRC specific functions.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@800 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-30 22:52:51 +00:00
Timo Sirainen
25fa27c5f0 Automatic appending of .pl to script name didn't work for file names
less than 4 chars.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@787 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-27 01:46:20 +00:00
Timo Sirainen
7bba8f19c5 updates
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@770 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-18 22:45:26 +00:00
Timo Sirainen
fcb1374e40 fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@768 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-18 20:50:12 +00:00
Timo Sirainen
ac6bfeba1f Signal fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@767 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-18 01:32:14 +00:00
Timo Sirainen
0977ab90e5 Logging fixes. Autologging with same named channels in different
networks should work correctly.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@765 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-17 23:37:21 +00:00
Timo Sirainen
1fa98c2369 updating user modes were handled as they were channel modes, like +o
etc. thought they needed arguments.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@735 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-13 22:05:57 +00:00
Timo Sirainen
00f9af313b try running make again if it fails the first time - it's probably
because Makefile.PL was updated and make needs to be run again.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@730 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-11 22:06:04 +00:00
Timo Sirainen
55299b6b4a Ignore was moved to core.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@729 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-11 22:01:23 +00:00
Timo Sirainen
c5add0e0a4 Create libtool-static for creating irssi modules that don't need .a
libraries.

Small update to curses's help


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@719 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-04 00:22:59 +00:00
Timo Sirainen
f6a284af37 Perl compiling updates
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@718 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-03 23:54:56 +00:00
Timo Sirainen
5e97ea1549 --enable-perl=[yes|no|static]
Allows building perl support either as loadable irssi module or
statically linked to irssi binary.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@716 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-03 22:57:14 +00:00
Timo Sirainen
391a419a1f s/core/common/ - because make clean tried to delete it :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@715 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-03 19:10:24 +00:00
Timo Sirainen
6fc2a34121 Added -avoid-version options and disable-static for SILC module.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@714 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-02 01:11:53 +00:00
Timo Sirainen
f8ea75ceb1 added
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@709 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-01 21:56:20 +00:00
Timo Sirainen
c48a05c3e8 Perl updates
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@707 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-01 21:46:48 +00:00
Timo Sirainen
62dee8fdaf Perl works again :) Split to Irssi and Irssi::Irc packages.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@705 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-01 20:48:48 +00:00
Timo Sirainen
2b8580c8a7 multiprotocol updates. SILC prints channel and private messages now
using the same message formats as IRC.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@699 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-30 22:49:48 +00:00
Timo Sirainen
2d16538dec Moved the PL_perl_destruct_level check to configure script, it should
now work with Perl 5.6 too.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@657 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-07 22:43:07 +00:00
Timo Sirainen
17bb7faf2f Perl works now only as a runtime loadable module
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@656 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-07 21:55:58 +00:00
Timo Sirainen
e395e87ded Lots of moving stuff around - hopefully I didn't break too much :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@632 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-26 15:39:44 +00:00
Timo Sirainen
d74313b368 Signals that sent GSList as parameters didn't work right with perl scripts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@624 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-24 00:57:26 +00:00
Timo Sirainen
48cb846230 Unloading perl script crashed if it has used Irssi::timeout_add().
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@620 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-22 22:11:37 +00:00
Timo Sirainen
67cc9af1bd Channel mode handling changed - there's no more mode_xxx fields in
channel structure, but instead just one mode string field. Also
handling half-ops (+h) should work right.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@617 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-20 07:17:13 +00:00
Timo Sirainen
4476029fdd plugin -> module
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@614 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-16 00:49:02 +00:00
Timo Sirainen
2de5b40ac5 More fixes for 5.004 and older.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@611 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-16 00:26:07 +00:00
Timo Sirainen
337d34fe54 Fixes to make irssi work with other (older and newer) perl versions
than 5.005


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@610 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-16 00:20:05 +00:00
Timo Sirainen
1e7d7490f6 Perl scripts with non-alphanumeric characters in file name failed to
load. Now such chars are converted to _ automatically.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@603 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-13 21:35:59 +00:00
Timo Sirainen
c96a0d2ac5 Implemented Irssi::print_window(), added optional level parameter to
Irssi::print()


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@597 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-13 13:54:34 +00:00
Timo Sirainen
c036632b8f removed log rotating stuff.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@593 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-12 21:12:33 +00:00
Timo Sirainen
31984127a8 Added namespaces for perl scripts.
You can unload scripts with /UNLOAD <name>.

Running scripts that are already loaded, destroys the old script from
memory.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@588 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-12 01:24:40 +00:00
Timo Sirainen
ead41669db Use perl_destruct_level, not PL_perl_destruct_level so that we're
compatible with older versions of perl.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@583 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-11 19:51:59 +00:00
Timo Sirainen
3e9164df1b Moved the PL_perl_destruct_level to irssi_perl_init() so Irssi won't
crash after second /PERLFLUSH.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@528 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23 14:58:54 +00:00
Timo Sirainen
4bd56ec361 Set perl destruct level to 1 when destroying the perl interpreter with
/perlflush. This should close all the open files etc.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@498 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-21 16:25:45 +00:00
Timo Sirainen
7196f9ee9a Irssi::is_channel() didn't work because irc.h wasn't included and
ischannel() macro wasn't expanded..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@493 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-19 20:36:53 +00:00
Timo Sirainen
a055127cf1 --enable-perl[=libdir] to configure - you can specify what directory to
install the perl libraries.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@439 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-09 12:33:33 +00:00
Timo Sirainen
7e531cec7a Automatic command completion and a few other fixes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@387 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-28 17:15:37 +00:00
Timo Sirainen
0dbfd281c9 Created signal_get_uniq_id() macro. Added some documentation about
signals to design.txt.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@381 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-25 23:39:23 +00:00
Timo Sirainen
5a94ff859c Added Irssi::Dcc::values(), updated a few other DCC things too.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@306 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-09 17:29:12 +00:00
Timo Sirainen
7755aae26b 0.7.90 released.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@292 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-04 16:01:19 +00:00
Timo Sirainen
cbdaf7d06d Lots of changes again. Biggest ones:
- window's text buffer should work better
- themes are almost working, you can change the text formats with /format
- automatically try to rejoin the channel after 5 minutes if the join there
failed because it was "temporarily unavailable" (netsplits)
- generally cleaning code..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@216 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-15 08:25:45 +00:00
Timo Sirainen
d3dc9a1307 .. lots of changes ..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@197 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-04 10:32:42 +00:00
Timo Sirainen
576d5d6a7b Implemented Irssi::Window::command(), Irssi::Windowitem::command()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@195 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-28 09:16:14 +00:00
Timo Sirainen
a5a66264de Perl working again, better than ever (unless there's bugs :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@191 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-28 08:07:42 +00:00
Timo Sirainen
2b711f1383 updates
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@176 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-26 09:43:45 +00:00
Timo Sirainen
d29ca0b107 rest of the ~rewrite?
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@172 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-26 08:10:09 +00:00