summaryrefslogtreecommitdiff
path: root/src/perl
AgeCommit message (Collapse)Author
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
2001-10-15refcount for timeouts/inputs wasn't 0 initially so it caused some memleaks.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1842 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-14Irssi::timeout_add() and Irssi::input_add() now accepts any type of variableTimo Sirainen
as data instead of just string. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1825 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-22channel_create() wasn't called properlyTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1813 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-20perl_signal_remove() didn't work.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1801 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-17typofixTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1761 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-17added textuiTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1760 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14Irssi::TextUI::TextBufferVew should also contain the scroll..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1755 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14Updated for view->scroll.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1754 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14Module loading updates - /LOAD shows now also the statically loaded modules.Timo Sirainen
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-09Removed some extra ';' chars which made it not compile with perl 5.00x.Timo Sirainen
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-09Added Irssi::TextUI.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1733 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08Irssi crashed if script died in a signal handler.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1730 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-07Irssi crashed if loading script failed.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1713 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-07/SCRIPT RESET didn't work properly (start/stop functions were called inTimo Sirainen
wrong order). Added a few extra deinits. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1712 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-31Stop scripts when there's error in signal/timeout/input handler.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1694 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-30--with-perl-path -> --with-perl-lib=[site|vendor|DIR] with some fixes toTimo Sirainen
make it work better. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1693 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-30bugfix for parameter handling...Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1690 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-30/SCRIPT FLUSH -> /SCRIPT RESET. Fixed parameter handling for /SCRIPTTimo Sirainen
LOAD & UNLOAD. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1689 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-30Script name is printed now correctly if there's an error inTimo Sirainen
timeouts/signals. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1688 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29"\n", not '\n'..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1685 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29/SCRIPT EXEC took only one argument. /SCRIPT LIST is now printed withTimo Sirainen
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-29don't use strict since it was forced to scripts too. added a missing $.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1682 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29forgot module-formats.hTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1681 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29--enable-perl* -> --with-perl*. Added a new libfe_perl which handles /SCRIPTTimo Sirainen
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-29fixTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1678 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29bugfixTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1676 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29Use INSTALLDIRS=perl option with MakeMaker if perl install directory isTimo Sirainen
specified. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1674 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-24Don't crash when trying to bless NULLsTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1645 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-18Irssi::printformat() called printformat_window() to print the text whichTimo Sirainen
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