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

489 Commits

Author SHA1 Message Date
Timo Sirainen
230735f18b bugfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2646 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-24 20:59:37 +00:00
Timo Sirainen
0d26146cf6 Perl's print and printf calls now write the text to irssi's window. You
can give the level like a file handle, eg. "print CRAP 'text';". You can
also give the window/server/target with $fh = $window->create_handle([level])
and $server->create_handle(target, [level]). Patch by juerd@juerd.nl


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2644 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-24 19:37:12 +00:00
Timo Sirainen
c9f6f04079 destruct level isn't touched anymore, it crashes irssi with a few people..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2641 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-24 16:35:20 +00:00
Timo Sirainen
665ad121a8 "make clean" now cleans all perl subdirs properly too.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2621 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-16 11:14:35 +00:00
Timo Sirainen
2a1b4c0a17 $window->command() changed active window temporarily to wanted one and then
back to old one. This wasn't very good idea if the old window was destroyed
by the command..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2613 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-14 21:59:16 +00:00
Timo Sirainen
bfb8e8da33 removed the debugging code..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2593 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-13 01:33:30 +00:00
Timo Sirainen
7b1d5ed41a added some debugging code to irssi_bless_iobject() - can it really be an
overflow? :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2590 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-13 00:40:12 +00:00
Timo Sirainen
5fde51a364 added ownnick to Irssi::Channel
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2583 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-11 16:44:42 +00:00
Timo Sirainen
34e5a31673 "use Irssi" now prints a warning if it's used outside irssi, but doesn't
die.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2543 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-09 12:17:32 +00:00
Timo Sirainen
dd00622d39 scripts should be looked from share dir, not lib dir.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2534 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-01 19:56:50 +00:00
Timo Sirainen
fcc61f2382 window_activity() and window_item_activity() are now public. Added them to
perl as well.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2445 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15 09:05:45 +00:00
Timo Sirainen
9bb16705a5 Support for "immortal" windows, that can't be closed until explicitly set to
mortal with /WINDOW IMMORTAL OFF. Status and msgs windows are immortal by
default.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2422 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10 14:59:36 +00:00
Timo Sirainen
aaeea771c2 all subdirs are now specified in "perl_dirs" so it's easier to add/remove
directories.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2416 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10 14:01:25 +00:00
Timo Sirainen
75e724fdf7 bugfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2393 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-05 04:36:07 +00:00
Timo Sirainen
6c291d34a4 broke $server->send_message()..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2386 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-03 23:06:36 +00:00
Timo Sirainen
d322b86c3d Removed some backwards compatibility code between CVS versions that broke
/SET use_perl_lib


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2367 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-01 23:14:00 +00:00
Timo Sirainen
3801628b44 Forgot to commit utf8 change here.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2356 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-29 03:35:18 +00:00
Timo Sirainen
ebe60cca55 Scripts using Irssi::printformat() might have crashed irssi, especially if
they cought in autolog.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2349 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-27 22:15:37 +00:00
Timo Sirainen
f4897860b5 toupper(), tolower(), isspace(), is..etc..() aren't safe with chars in some
systems, use our own is_...() functions now instead.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2348 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-27 20:45:59 +00:00
Timo Sirainen
16693c461f Tab-completion for /SCRIPT UNLOAD crashed irssi soon after
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2342 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-23 20:36:52 +00:00
Timo Sirainen
5202ef9314 distclean -> distclean-generic so it'll be executed before clean-am which
removes */Makefiles.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2337 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-22 19:52:17 +00:00
Timo Sirainen
fbfc2b8ab6 Irssi::command_bind*() allows using hash.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2336 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-22 18:25:39 +00:00
Timo Sirainen
e4aa149c54 Irssi::signal_add_first() and .._last() allows hashes now.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2334 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-21 19:20:08 +00:00
Timo Sirainen
1af5f41812 Added Irssi::term_refresh_freeze() and ..thaw()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2333 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-21 18:20:44 +00:00
Timo Sirainen
7131ceb909 g_strdup() the error message before emitting "script error" signal, since
perl scripting might be executed during that signal and it clears the error
message.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2302 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-10 17:36:41 +00:00
Timo Sirainen
d723a5b64b command_bind_first() and command_bind_last() didn't work properly.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2292 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-03 23:25:18 +00:00
Timo Sirainen
cffe29818d Irssi::signal_emit() - make sure the parameter is a reference before trying
to unreference it.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2291 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-03 21:19:16 +00:00
Timo Sirainen
de6f8a7439 Irssi::version() should return the time always with 4 digits, padded with
zeros if needed.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2285 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-27 22:35:16 +00:00
Timo Sirainen
9ddebe6bcf Added command history groups, set them with /WINDOW HISTORY. Patch by peder@ifi.uio.no
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2276 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-20 13:29:20 +00:00
Timo Sirainen
5916b9dcb8 Still more version changes .. Irssi::version() now returns the version in
"date.time" format, so now it's also possible to "use Irssi 20011216.0149;".

Also fixed a memory leak for Irssi::parse_special().


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2260 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-15 23:49:35 +00:00
Timo Sirainen
7bda808395 Added $versiontime and Irssi::version_time()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2257 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-15 23:26:09 +00:00
Timo Sirainen
4dff614333 Irssi::ignores() wasn't working, it looked at the server list..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2254 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-15 20:37:50 +00:00
Timo Sirainen
1aed7cb956 IRSSI_VERSION_DATE is now a number, so you can do #iffing with it
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2252 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-15 19:28:44 +00:00
Timo Sirainen
369ce5d699 perl_timeout_add() didn't add the script pointer to the source record, so
unloading scripts didn't remove the timeouts.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2245 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-14 15:59:35 +00:00
Timo Sirainen
6774b4b30f Added reference counting to server record. At least now we don't accidentally
use a destroyed server record when some /command disconnects the server
(shouldn't happen really) or when irc_send_cmd() fails sending data to server
and disconnects the server (I don't know if this ever happens, but if it does,
it very well could have caused crashes)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2243 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-14 01:54:12 +00:00
Timo Sirainen
617123b5d4 I always forget Perl 5.004 doesn't have PL_na .. so, now I've declared for
5.004, and changed all STRLEN n_a code to use PL_na instead.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2238 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-11 16:44:53 +00:00
Timo Sirainen
d08830f9cb Added Irssi::settings_add_...(), patch by peder@ifi.uio.no
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2235 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-11 00:07:18 +00:00
Timo Sirainen
020861c698 Netsplit saved the NICK_REC, but didn't save the dynamically allocated strings
which were part of it. Removed it now and replaced it with saving only
op/halfop/voice status. Might have caused some crashes? (hopefully did :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2234 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-10 23:32:46 +00:00
Timo Sirainen
3b8622f1aa Allow exporting symbols, patch by juerd@juerd.nl
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2233 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-10 20:23:50 +00:00
Timo Sirainen
eb91b126ec Moved Irssi::command(), Irssi::Server::command() and Irssi::Windowitem::command() from ui to core. Also, Irssi::command() now doesn't default to active server/window item, if this breaks any scripts change them use Irssi::active_win()->command() instead.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2232 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-10 17:37:51 +00:00
Timo Sirainen
83adc00160 Added Irssi::command_set_options()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2229 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-09 21:55:06 +00:00
Timo Sirainen
15e815e8d3 Better support for halfops, patch by yathen@web.de
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2228 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-09 17:13:48 +00:00
Timo Sirainen
ac8109ac9e fixed wrong hash key lengths, patch by peder@ifi.uio.no
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2224 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-09 00:41:33 +00:00
Timo Sirainen
3359d091b0 Fixed server_redirect_peek_signal() to compile again.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2222 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-08 02:03:25 +00:00
Timo Sirainen
0f29e57c14 Removed Irssi::require_version(), we'll use "use Irssi 20011207;" style now.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2217 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-07 22:18:39 +00:00
Timo Sirainen
a09075938f Added Irssi::require_version()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2216 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-07 21:52:41 +00:00
Timo Sirainen
3f275ebd55 Added support for 326 and 327 whois numerics in OPN.
Removed keeping track of ban exceptions and invite list.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2212 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-07 19:40:37 +00:00
Timo Sirainen
d59dfd54b3 parameters types for timeout_add() and input_add() changed from void* to SV*
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2208 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-07 02:55:15 +00:00
Timo Sirainen
2533e17bcc Removed g_free(package) that wasn't supposed to be there.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2207 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-07 02:40:30 +00:00
Timo Sirainen
6be1390303 /UPGRADE broke reconnections to server.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2204 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-06 23:05:54 +00:00
Timo Sirainen
e173a416d2 Added some max_*_in_cmd + some more stuff to Irssi::Irc::Server record.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2202 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-06 21:14:06 +00:00
Timo Sirainen
e558f1252a Irssi::signal_add() accepts now a hash, so you can do eg. signal_add('sig1'
=> 'func1', 'sig2' => 'func2');


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2200 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-06 20:46:31 +00:00
Timo Sirainen
31dcd8258f Irssi::signal_add(), Irssi::timeout_add(), Irssi::input_add() and their
variants now also allow use of code references.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2199 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-06 17:17:40 +00:00
Timo Sirainen
80dff168fd added signal_get_emitted() and signal_get_emitted_id()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2197 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-04 16:41:49 +00:00
Timo Sirainen
6041c93b56 Irssi::UI::Window's data_level and hilight_color contained wrong hash
length arguments.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2189 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-03 23:18:31 +00:00
Timo Sirainen
544af9942e added a few asserts to make sure we don't mess up if IDs go above 16bit
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2183 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-03 17:45:34 +00:00
Timo Sirainen
9f5c181936 Added processes to be extern instead of static. Also added Irssi::processes()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2182 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-03 17:05:09 +00:00
Timo Sirainen
cb0c661069 a bit more proper initializing of Irssi package..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2180 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-03 14:40:54 +00:00
Timo Sirainen
294c94573a removed unused variable
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2178 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-03 13:05:46 +00:00
Timo Sirainen
fa37db9205 Added ~/.irssi/scripts and PREFIX/lib/irssi/scripts to default @INC path
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2173 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-01 18:34:01 +00:00
Timo Sirainen
6976bec3d9 Allow using Irssi::signal_add('command ...', ..) so irssi won't crash when
the script is unloaded.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2167 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-29 22:12:28 +00:00
Timo Sirainen
266193aa7e Added Irssi::Irc::get_mask() and Irssi::Irc::MASK_*
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2163 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-28 21:49:39 +00:00
Timo Sirainen
337ae1a862 max number of parameters for printformat() was calculated wrong.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2158 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-27 20:29:56 +00:00
Timo Sirainen
e246ca668b printformat_perl() crashfix was buggy :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2151 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25 18:34:20 +00:00
Timo Sirainen
ba445fe37e /SCRIPT LOAD modifies the script name so that all non-alphanumeric
characters are translated to '_' char .. now this behaviour is done also
when /SCRIPT UNLOAD is done, so people don't get confused why their "test-1"
script can't be unloaded.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2145 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25 16:17:44 +00:00
Timo Sirainen
f0ce4f221b Irssi::printformat() doesn't crash anymore if you try to use unregistered
format.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2143 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25 15:43:08 +00:00
Timo Sirainen
7ae96f540d Added printtext_string_window(), Irssi::UI::Window::print() uses it also
now.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2141 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25 15:27:47 +00:00
Timo Sirainen
66b0ffe057 Irssi::Window::command() should make the specified window active_win
temporarily.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2138 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25 15:01:39 +00:00
Timo Sirainen
ea904f8dc9 Irssi::printformat() crashed if the registered format contained $0- etc.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2137 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-24 01:31:49 +00:00
Timo Sirainen
32f26d0ff5 perl_command() - just a small sanity check that we're not sending empty
command.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2106 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 22:47:32 +00:00
Timo Sirainen
08162d83bf Settings of perl scripts are now stored in "perl/core/scripts" instead of
old "perl/core". The settings are automatically moved to the
perl/core/scripts for now - this will be removed before 0.7.99 comes out.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2101 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 21:26:30 +00:00
Timo Sirainen
3819189ef4 Irssi::Irc::Dcc::* is now correctly blessed instead of using Irssi::Irc::Dcc
always. did s/irssi_bless/iobject_bless/, added simple_iobject_bless which
DCC uses.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2092 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 19:36:21 +00:00
Timo Sirainen
99a6a85b85 Chat protocol ID was assumed to be 8bit or less, this may not be so since
the ID is taken from generic unique ID-pool which grows fast.. Now the we'll
divide the 32bit number to 16bit chat protocol ID and 16bit object ID. They
might not fit either, so I think I'll need to rewrite this part of code some
day :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2091 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 18:46:40 +00:00
Timo Sirainen
5ee08ed3c9 Added ctcp_register() and ctcp_unregister() for registering CTCP commands.
It's used by CTCP CLIENTINFO to print list of known CTCP commands. Also
added CTCP USERINFO command + /SET ctcp_userinfo_reply.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2063 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18 21:36:11 +00:00
Timo Sirainen
8e20972f4f Irssi::Server::print()'s level parameter wasn't optional like in other
print()s.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2061 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18 19:01:47 +00:00
Timo Sirainen
73a3b8d908 Irssi::Chatnet can now be accessed from perl.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2055 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18 16:36:31 +00:00
Timo Sirainen
c374e628dc Added Irssi::chatnets() and chatnet_find()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2054 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18 16:27:49 +00:00
Timo Sirainen
51db872da0 /SCRIPT UNLOAD didn't destroy the perl package from memory. Also the scripts
weren't destroyed when error occured in them.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2053 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18 16:16:13 +00:00
Timo Sirainen
81c0ddeedf "error loading script" -> "error in script" because it can be printed at any
time.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2041 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-17 12:02:28 +00:00
Timo Sirainen
00423151f9 Didn't I already commit these? .. added format_get_text(),
gui_printtext_after(), last_line_insert() and fixed a few memleaks.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2040 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-17 00:25:20 +00:00
Timo Sirainen
ca0711f981 added ui/Formats.xs to EXTRA_DIST
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2038 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-17 00:12:04 +00:00
Timo Sirainen
1c29219d1c Added support for "optional events" in redirection. They're checked right
after stop-signal is received. This fixes /WHOIS non_existing_nick in OPN,
and also hides the Channel created-event when joining to channel that's
received in several networks after /MODE #channel.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2037 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-17 00:07:24 +00:00
Timo Sirainen
15933dcea0 Fixed a few memory leaks
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2035 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-16 21:35:18 +00:00
Timo Sirainen
8af17ef24c Added Irssi::version() for returning the IRSSI_VERSION_DATE, fixed get_irssi_dir() and get_irssi_config() not to complain about const char*.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2033 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-16 16:17:16 +00:00
Timo Sirainen
e3fea8cf01 "setup reread" signal now sends the config file as parameter. Added
Irssi::get_irssi_dir() and Irssi::get_irssi_config(). Patch by peder@linpro.no


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2029 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-16 11:50:14 +00:00
Timo Sirainen
179faf0416 redirect_event() didn't give the correct parameter to event_hash2list().
Changed void* parameters -> SV* and using them directly instead of ST(x).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2011 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-15 00:04:16 +00:00
Timo Sirainen
4437ac855a typofix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2001 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-14 12:33:45 +00:00
Timo Sirainen
e66ec6cf8b Redirection fixes - added count parameter.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1999 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-12 22:15:04 +00:00
Timo Sirainen
0dd98581b6 redirect_event() fixed to change empty arg/failure_signal to NULL
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1994 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-12 14:49:21 +00:00
Timo Sirainen
1b2f3a6d4c Added Irssi::redirect_get_signal() and Irssi::redirect_peek_signal().
Changed syntax of Irssi::redirect_register() and Irssi::redirect_event().


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1989 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-12 09:13:12 +00:00
Timo Sirainen
ea03650b3f Updated perl API version. Fixed irssi to behave better if the API doesn't
match (doesn't crash).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1985 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-11 22:39:56 +00:00
Timo Sirainen
850cf993eb Moved rewritten server redirection code from core to irc. This new code
should be able to do the redirecting a lot more error-proof. Changed
lag-checking to use PINGs instead of NOTIFYs. This breaks scripts using
redirection. Hopefully this doesn't break too much things in irssi :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1980 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-11 18:59:19 +00:00
Timo Sirainen
6a82e806b4 Moved $(GLIB_CFLAGS) after -I includes, to make sure our own .h files get before possibly identically named headers in the glib's include directory.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1975 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-05 14:48:03 +00:00
Timo Sirainen
95b94ed83c server->ischannel(char *) -> server->ischannel(SERVER_REC *, char *). Added
#define server_ischannel(server, data) and it's now used everywhere..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1954 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-01 22:52:23 +00:00
Timo Sirainen
67cee57fb9 Irssi crashed if script died in statusbar handler.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1922 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-25 19:45:29 +00:00
Timo Sirainen
d9b6bb152a Added flags option for Irssi::UI::Theme::format_expand().
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1921 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-25 18:17:21 +00:00
Timo Sirainen
be48bdc22c Added Irssi::current_theme() and Irssi::Theme::format_expand()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1918 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-25 11:21:18 +00:00
Timo Sirainen
c5c2242ee3 Boot dynaloader too even if perl libraries are compiled statically in irssi.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1917 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-25 10:00:33 +00:00
Timo Sirainen
a2289ab8ae typofix - s/per/perl/
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1916 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-24 23:36:06 +00:00
Timo Sirainen
feff2b1adc bugfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1915 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-24 23:29:48 +00:00
Timo Sirainen
ddf1b27c04 Added --with-perl-staticlib option to configure. If used, irssi's perl
libraries are compiled statically into irssi binary.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1914 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-24 23:17:27 +00:00
Timo Sirainen
bbd4b47306 Removed unfinished code that was not supposed to go to cvs..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1913 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-24 23:12:55 +00:00
Timo Sirainen
2a75c88f99 Added support for changing indentation behaviour with modules.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1912 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-24 22:52:15 +00:00
Timo Sirainen
bdf5bf9785 Removed some unused code.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1910 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-24 22:18:39 +00:00
Timo Sirainen
1c9a8ab897 /SET perl_use_lib setting to specify the path for irssi's perl libraries.
Default should work usually, but if you for some reason want to use different
then change this. May contain multiple paths separated with space.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1905 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-24 13:20:26 +00:00
Timo Sirainen
3f578b4b53 /SCRIPT without parameters now prints list of loaded scripts.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1901 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-23 20:49:17 +00:00
Timo Sirainen
62c6a35aeb Added eval { } around the DynaLoader::dl_unload_file() calls to get rid of
the errors it's printing with perl < 5.6.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1900 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-23 20:37:53 +00:00
Timo Sirainen
99fe282e6d Moved theme registering stuff to Themes.xs. Corrected signal "script
destroy" -> "script destroyed" - unregistering themes works now properly.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1886 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21 18:28:42 +00:00
Timo Sirainen
ebd0334cb6 Settings registered with Irssi::settings_add_xx() are now correctly removed
after script is unloaded.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1883 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21 16:52:36 +00:00
Timo Sirainen
ae1b5b0d50 added irssi_init_finished variable to core.h which is TRUE after "irssi init
finished" signal is sent.

Perl scripts aren't now autoloaded until irssi_init_finished is TRUE (fixes
the crash at startup).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1879 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21 13:22:28 +00:00
Timo Sirainen
b5fa93c6e7 Statusbar items weren't unregistered correctly when script was unloaded.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1871 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21 10:22:55 +00:00
Timo Sirainen
8433d560f0 forgot one core_sources -> common_sources change
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1864 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-20 20:23:07 +00:00
Timo Sirainen
ed779db220 renamed XXX_SOURCES -> xxx_sources so automake 1.5 won't complain about it
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1863 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-20 20:14:00 +00:00
Timo Sirainen
76c6e9ab83 Dependencies finally work correctly in perl libraries (they're each compiled
separately now). Added statusbar code to available to perl, it's now
possible to create new statusbar items with perl scripts.

statusbar_items_redraw(char *name) can now be used to easily redraw all
named statusbar items in screen.

Probably several other changes I've already forgotten :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1861 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-20 19:52:07 +00:00
Timo Sirainen
a5b32b70a7 Added API version check between perl module and perl libs.
perl_scripts_deinit() now destroys all dynamically loaded libraries (Irssi,
Irssi::Irc, Irssi::UI too) so /UNLOAD perl should now release more memory,
this also makes /unload perl, /load perl work again.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1859 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-20 13:19:25 +00:00
Timo Sirainen
8c5ac3fb24 refcount for timeouts/inputs wasn't 0 initially so it caused some memleaks.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1842 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-15 18:30:33 +00:00
Timo Sirainen
80dd9a15ca Irssi::timeout_add() and Irssi::input_add() now accepts any type of variable
as data instead of just string.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1825 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-14 09:07:26 +00:00
Timo Sirainen
a51170c00f channel_create() wasn't called properly
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1813 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-22 16:06:15 +00:00
Timo Sirainen
8104317897 perl_signal_remove() didn't work.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1801 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-20 14:21:46 +00:00
Timo Sirainen
422ef7759d typofix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1761 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-17 11:55:08 +00:00
Timo Sirainen
fd69089568 added textui
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1760 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-17 11:51:21 +00:00
Timo Sirainen
87a439e994 Irssi::TextUI::TextBufferVew should also contain the scroll..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1755 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14 11:24:11 +00:00
Timo Sirainen
5694dbfdb7 Updated for view->scroll.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1754 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14 11:23:22 +00:00
Timo Sirainen
803d805016 Module loading updates - /LOAD shows now also the statically loaded modules.
You can't /LOAD the same module twice. Syntax changed to /LOAD <module>
[<submodule>], /UNLOAD <module> [<submodule>].

NOTE: all modules now need to call register_module() in their init()
function.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1748 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14 00:41:59 +00:00
Timo Sirainen
33fbc0a069 Removed some extra ';' chars which made it not compile with perl 5.00x.
textbuffer_get_lines() now actually returns the value.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1734 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-09 10:26:02 +00:00
Timo Sirainen
01d3e74f63 Added Irssi::TextUI.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1733 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-09 01:59:36 +00:00
Timo Sirainen
2aaed8dc0b Irssi crashed if script died in a signal handler.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1730 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08 22:43:00 +00:00
Timo Sirainen
be601764ae Irssi crashed if loading script failed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1713 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-07 21:03:26 +00:00
Timo Sirainen
b80d4e62ab /SCRIPT RESET didn't work properly (start/stop functions were called in
wrong order). Added a few extra deinits.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1712 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-07 15:25:41 +00:00
Timo Sirainen
137b3ae504 Stop scripts when there's error in signal/timeout/input handler.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1694 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-31 01:22:32 +00:00
Timo Sirainen
642622624d --with-perl-path -> --with-perl-lib=[site|vendor|DIR] with some fixes to
make it work better.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1693 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-30 22:10:11 +00:00
Timo Sirainen
6acc71e9a2 bugfix for parameter handling...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1690 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-30 13:07:26 +00:00
Timo Sirainen
fedc4dac4f /SCRIPT FLUSH -> /SCRIPT RESET. Fixed parameter handling for /SCRIPT
LOAD & UNLOAD.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1689 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-30 13:06:21 +00:00
Timo Sirainen
82034efb11 Script name is printed now correctly if there's an error in
timeouts/signals.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1688 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-30 12:56:57 +00:00
Timo Sirainen
892d627fb4 "\n", not '\n'..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1685 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 13:14:32 +00:00
Timo Sirainen
7c358c1844 /SCRIPT EXEC took only one argument. /SCRIPT LIST is now printed with
CLIENTCRAP level. maybe local($/) = '\n' in irssi-core.pl now resets it
correctly? ..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1684 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 13:13:16 +00:00
Timo Sirainen
3fc2d6ad7f don't use strict since it was forced to scripts too. added a missing $.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1682 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 12:18:58 +00:00
Timo Sirainen
5f3fc50f51 forgot module-formats.h
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1681 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 12:14:08 +00:00
Timo Sirainen
6c2f9c685a --enable-perl* -> --with-perl*. Added a new libfe_perl which handles /SCRIPT
commands. /RUN -> /SCRIPT LOAD, /PERLFLUSH -> /SCRIPT FLUSH, /PERL ->
/SCRIPT EXEC. Added /SCRIPT UNLOAD, /SCRIPT LIST. Lots of cleanups.

filename_complete() has extra argument for "default directory" which is
searched if no path is given when completing.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1680 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 09:17:53 +00:00
Timo Sirainen
4740336c3f fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1678 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 04:51:29 +00:00
Timo Sirainen
af86920d3f bugfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1676 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 04:03:58 +00:00
Timo Sirainen
81eb94fa9b Use INSTALLDIRS=perl option with MakeMaker if perl install directory is
specified.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1674 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 03:56:46 +00:00
Timo Sirainen
338e58cbad Don't crash when trying to bless NULLs
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1645 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-24 22:21:48 +00:00
Timo Sirainen
40ffd87ded Irssi::printformat() called printformat_window() to print the text which
lost server/target information. Added printtext_dest() function which it
uses now.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1642 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-18 19:03:07 +00:00
Timo Sirainen
0d3b5c729f Added Irssi::command_bind_first() and Irssi::command_bind_last()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1638 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-16 20:03:36 +00:00
Timo Sirainen
fd547c3ebe textui isn't done yet.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1631 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-15 15:16:38 +00:00
Timo Sirainen
316bd7d142 Moved awaylog to core.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1629 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-15 14:07:48 +00:00
Timo Sirainen
79d1d7089a Added --home and --config command line parameters to irssi to specify
locations for ~/.irssi and ~/.irssi/config


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1626 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-15 00:39:48 +00:00
Timo Sirainen
dd37b9ca2c Removed everything from @EXPORT - they weren't supposed to be there.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1610 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-12 19:51:33 +00:00
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