summaryrefslogtreecommitdiff
path: root/src/perl
AgeCommit message (Collapse)Author
2001-11-25Irssi::printformat() doesn't crash anymore if you try to use unregisteredTimo Sirainen
format. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2143 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25Added printtext_string_window(), Irssi::UI::Window::print() uses it alsoTimo Sirainen
now. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2141 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25Irssi::Window::command() should make the specified window active_winTimo Sirainen
temporarily. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2138 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-24Irssi::printformat() crashed if the registered format contained $0- etc.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2137 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19perl_command() - just a small sanity check that we're not sending emptyTimo Sirainen
command. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2106 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19Settings of perl scripts are now stored in "perl/core/scripts" instead ofTimo Sirainen
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-19Irssi::Irc::Dcc::* is now correctly blessed instead of using Irssi::Irc::DccTimo Sirainen
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-19Chat protocol ID was assumed to be 8bit or less, this may not be so sinceTimo Sirainen
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-18Added ctcp_register() and ctcp_unregister() for registering CTCP commands.Timo Sirainen
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-18Irssi::Server::print()'s level parameter wasn't optional like in otherTimo Sirainen
print()s. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2061 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18Irssi::Chatnet can now be accessed from perl.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2055 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18Added Irssi::chatnets() and chatnet_find()Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2054 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18/SCRIPT UNLOAD didn't destroy the perl package from memory. Also the scriptsTimo Sirainen
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-17"error loading script" -> "error in script" because it can be printed at anyTimo Sirainen
time. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2041 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-17Didn't I already commit these? .. added format_get_text(),Timo Sirainen
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-17added ui/Formats.xs to EXTRA_DISTTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2038 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-17Added support for "optional events" in redirection. They're checked rightTimo Sirainen
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-16Fixed a few memory leaksTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2035 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-16Added Irssi::version() for returning the IRSSI_VERSION_DATE, fixed ↵Timo Sirainen
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"setup reread" signal now sends the config file as parameter. AddedTimo Sirainen
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-15redirect_event() didn't give the correct parameter to event_hash2list().Timo Sirainen
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-14typofixTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2001 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-12Redirection fixes - added count parameter.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1999 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-12redirect_event() fixed to change empty arg/failure_signal to NULLTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1994 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-12Added Irssi::redirect_get_signal() and Irssi::redirect_peek_signal().Timo Sirainen
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-11Updated perl API version. Fixed irssi to behave better if the API doesn'tTimo Sirainen
match (doesn't crash). git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1985 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-11Moved rewritten server redirection code from core to irc. This new codeTimo Sirainen
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-05Moved $(GLIB_CFLAGS) after -I includes, to make sure our own .h files get ↵Timo Sirainen
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-01server->ischannel(char *) -> server->ischannel(SERVER_REC *, char *). AddedTimo Sirainen
#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-10-25Irssi crashed if script died in statusbar handler.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1922 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-25Added flags option for Irssi::UI::Theme::format_expand().Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1921 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-25Added Irssi::current_theme() and Irssi::Theme::format_expand()Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1918 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-25Boot dynaloader too even if perl libraries are compiled statically in irssi.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1917 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-24typofix - s/per/perl/Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1916 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-24bugfixTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1915 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-24Added --with-perl-staticlib option to configure. If used, irssi's perlTimo Sirainen
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-24Removed unfinished code that was not supposed to go to cvs..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1913 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-24Added support for changing indentation behaviour with modules.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1912 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-24Removed some unused code.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1910 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-24/SET perl_use_lib setting to specify the path for irssi's perl libraries.Timo Sirainen
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-23/SCRIPT without parameters now prints list of loaded scripts.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1901 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-23Added eval { } around the DynaLoader::dl_unload_file() calls to get rid ofTimo Sirainen
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-21Moved theme registering stuff to Themes.xs. Corrected signal "scriptTimo Sirainen
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-21Settings registered with Irssi::settings_add_xx() are now correctly removedTimo Sirainen
after script is unloaded. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1883 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21added irssi_init_finished variable to core.h which is TRUE after "irssi initTimo Sirainen
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-21Statusbar items weren't unregistered correctly when script was unloaded.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1871 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-20forgot one core_sources -> common_sources changeTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1864 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-20renamed XXX_SOURCES -> xxx_sources so automake 1.5 won't complain about itTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1863 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-20Dependencies finally work correctly in perl libraries (they're each compiledTimo Sirainen
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-20Added API version check between perl module and perl libs.Timo Sirainen
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