summaryrefslogtreecommitdiff
path: root/src/perl/ui
AgeCommit message (Collapse)Author
2005-09-29Fix compilation with gcc4 and --with-gc, Patch by Michael PooleWouter Coekaerts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4013 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-03-07Fix /script reset, which caused crashes (Bug 48)Wouter Coekaerts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3721 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-01-25Lets see if GC happens to work now without explicit free() calls. PerlTimo Sirainen
objects now set the C pointer to NULL once they're done with it, so this might just work without leaking.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3101 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-01-07didn't compile with older perls.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3093 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-28Added support to define new default abstracts at runtime.Timo Sirainen
Irssi::abstracts_register([key => value, ...]); git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3079 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-07Some compiling fixes found by -Wall in perl dirs..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2990 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-28fix for new perlsTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2979 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-16Better !channel support - window items now have "visual_name" and channelsTimo Sirainen
and queries also have "name". Normally they're identical but with !channels the visible_name contains the short !channel name, while name contains full !ABCDEchannel name. The visible_name should be used whenever displaying the channel name, or as printtext()'s target. So, this breaks a few scripts in !channels, they need to be modified to use $channel->{visible_name} instead. Also /LAYOUT SAVE should finally work properly with !channels. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2797 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-13fixesTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2791 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-13fixed memory leaks with several functions.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2789 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-13Added format_create_dest() + $dest->print() functions. here's also our firstTimo Sirainen
magic perl variable - many thanks to Qrczak for helping with it :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2784 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-11added format_get_length(), format_real_length() and strip_codes()Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2774 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-27Irssi::Theme::get_format() now uses format tag instead of number.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2727 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-27added Irssi::Theme::get_format()Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2726 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-27Irssi::format_get_text() didn't workTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2725 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-24Perl's print and printf calls now write the text to irssi's window. YouTimo Sirainen
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-14$window->command() changed active window temporarily to wanted one and thenTimo Sirainen
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-02-15window_activity() and window_item_activity() are now public. Added them toTimo Sirainen
perl as well. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2445 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10Support for "immortal" windows, that can't be closed until explicitly set toTimo Sirainen
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-01-27Scripts using Irssi::printformat() might have crashed irssi, especially ifTimo Sirainen
they cought in autolog. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2349 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-20Added command history groups, set them with /WINDOW HISTORY. Patch by ↵Timo Sirainen
peder@ifi.uio.no git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2276 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-11I always forget Perl 5.004 doesn't have PL_na .. so, now I've declared forTimo Sirainen
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-10Allow exporting symbols, patch by juerd@juerd.nlTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2233 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-10Moved Irssi::command(), Irssi::Server::command() and ↵Timo Sirainen
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-03Irssi::UI::Window's data_level and hilight_color contained wrong hashTimo Sirainen
length arguments. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2189 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-03Added processes to be extern instead of static. Also added Irssi::processes()Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2182 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-27max number of parameters for printformat() was calculated wrong.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2158 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25printformat_perl() crashfix was buggy :)Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2151 dbcabf3a-b0e7-0310-adc4-f8d773084564
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-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-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-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-14typofixTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2001 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-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-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-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-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-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-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
2001-07-12Removed everything from @EXPORT - they weren't supposed to be there.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1610 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-12Irssi::Server::command() - window item parameter should be NULLTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1609 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-29Added some new variables for UI::WindowTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1594 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-27Moved fe_perl module to use Irssi::UI .. this breaks several scripts thatTimo Sirainen
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