summaryrefslogtreecommitdiff
path: root/src/perl/ui
AgeCommit message (Collapse)Author
2017-10-06add two XSFuncs to manipulate command history entriesailin-nemui
it is possible to use Irssi::UI::Window::get_history_entries to save the history entries, load_history_entries to load entries into the command history and delete_history_entries to remove history entries (for example to remove history selectively)
2017-10-06refactor history to use history_entries listailin-nemui
this allows access to the global history even when a using /window history named or /set window_history on, and you want to recall something from one of the other windows' histories. usage (default): ctrl+up/down
2017-01-06make irssi --with-perl build with separate object directoryMartijn Dekker
irssi 1.0.0 will not build if Perl is enabled and a separate object code directory is used. The problem was a relative path to an internal Perl dependency in four Makefile.PL.in files.
2016-06-03silent make perlailin-nemui
2015-12-09Add bindings for exec-type window items to PerlAilin Nemui
These bindings were missing and resulted in non-hash non-undef active entries when an interactive process is executing.
2015-02-16Silence unused value warnings in perl binding codedequis
sed -i 's/hv_store/(void) &/' This only results in a warning in older gcc versions, but that includes the one used in the Travis CI environment by default
2014-06-30Finish 256 colour support for IrssiAilin Nemui
256 colour patch is cleaned up and the remaining cases are made work, this includes especially Theme support, which was not implemented before. Changes not related to colours were reverted again, making a review of the two patches against master easier to follow. As a byproduct of the Hex-colour code parser, the 24bit colours are also implemented. Actually using them in the terminal is guarded by a compile time switch (as well as a run time switch), as it breaks the existing colour protocol and requires additional storage. To make a seamless usage, down-conversion is provided for 8 and 16 colours. Diverging from Tom's approach, the colour protocol is reverted back to the original one. Unfortunately, the changes required in the Theme engine will break the API. For more details, please refer to the patch documentation at either http://irssi-docs.wikispaces.com/Notes-256-Colour or https://github.com/shabble/irssi-docs/wiki/Notes-256-Colour
2014-06-27Merge pull request #59 from ailin-nemui/perl-pl-naAlexander Færøy
get rid of PL_na
2014-06-25cleanup char* casts and replace one useless SvPV with SvPV_nolenAilin Nemui
2014-06-24Define PERL_NO_GET_CONTEXT in all perl source filesDavid Leadbeater
This removes the calls to Perl_get_context() that get automatically added to XS code for ancient source code compatibility reasons. The result is about a ~60K size reduction in the binary (based on comparing two 64-bit stripped irssi binaries compiled --with-perl-staticlib).
2014-06-24get rid of PL_naLukas Mai
2014-06-16fix implementation of format_get_text script apiAilin Nemui
2014-06-10Replace deprecated g_str[n]casecmp with g_ascii_str[n]cmp.David Hill
2012-06-24Properly validate the argument of Irssi::theme_register as an array reference,Emanuele Giaquinta
patch by Olof Johansson. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5214 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-01-17Add Irssi::UI::Window::get_history_lines to get the content of a window'sEmanuele Giaquinta
history. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4993 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-01-10Factor out printformat_module_dest_charargs function fromEmanuele Giaquinta
printformat_module_dest_args and use it in printformat_perl to remove code duplication. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4979 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-08Make some functions static.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4956 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-01-21Remove .cvsignore files.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4672 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-01-11Modify Irssi::UI::Window::command to restore the original active window only ↵Emanuele Giaquinta
if the command executed has not made another one active, bug #403. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4408 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-10-01Add missing format string argument in printtext_dest call, patch by loafier.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4384 dbcabf3a-b0e7-0310-adc4-f8d773084564
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