1
0
mirror of https://github.com/irssi/irssi.git synced 2024-10-13 05:03:45 -04:00
Commit Graph

61 Commits

Author SHA1 Message Date
Ailin Nemui
db16a0a853 meson build support 2019-07-10 09:25:26 +02:00
ailin-nemui
7e6e1f2e10 Use full paths to includes 2019-05-01 22:08:45 +02:00
vague666
c66fe616e1 Bump ABI and add another perl api function 2019-04-02 09:53:42 +02:00
vague666
40d800637a add access to set hidden_level from perl 2019-03-22 19:24:18 +01:00
ailin-nemui
034752ade3 fix gui_input_get_extent
it was causing a free of data with [transfer=none]
2019-02-04 14:33:41 +01:00
ailin-nemui
288f220f87 fix width of byte codepoints 2018-11-13 00:14:15 +01:00
ailin-nemui
deaa1da55e cast to unsigned char 2018-11-12 14:11:27 +01:00
ailin-nemui
9e5e5d8625 expose wcwidth and related to perl 2018-11-12 13:14:02 +01:00
ailin-nemui
9072e98819 change color -> extents (malloc based) 2018-02-02 13:56:56 +01:00
GinjaNinja32
925ae6e6ad Add color support for input bar 2018-01-18 10:08:00 +01:00
Jari Matilainen
4041f29711 Changed spaces to tab 2018-01-09 23:16:26 +01:00
Jari Matilainen
f2e73a7046 Add perl access to hidden_level in TEXT_BUFFER_VIEW_REC 2018-01-09 23:15:08 +01:00
ailin-nemui
2b918fd9b8 move decls before code 2017-11-30 11:17:05 +01:00
Martijn Dekker
c9c45e4f89 make irssi --with-perl build with separate object directory
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.
2017-01-06 12:24:36 +01:00
LemonBoy
21539019dd Make sure to make a copy of ERRSV content.
Otherwise we might end up showing an empty message.
Fixes #522.
2016-09-13 17:11:05 +02:00
ailin-nemui
03aec7d3b3 silent make perl 2016-06-03 13:55:13 +02:00
dequis
8e8bc5fdbc Silence unused value warnings in perl binding code
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
2015-02-16 13:45:14 -03:00
David Leadbeater
beec29c305 Make configure checks able to build with -Werror
Also fix a few compiler warnings, this combined with pull #82 allows me to build
with CFLAGS="-Werror -Wall".
2014-07-06 18:56:17 +01:00
Alexander Færøy
2e6f16c0fa Merge pull request #11 from ailin-nemui/print_text_after_time-api
add print_text_after_time to specify time stamp for lines
2014-06-30 00:07:14 +02:00
Alexander Færøy
aaa0cb6e03 Merge pull request #52 from dgl/stack-cleanup
Correct use of perl stack macros
2014-06-29 14:27:12 +02:00
Ailin Nemui
e71c9f1b06 add print_text_after_time to specify time stamp for lines
add signal for line removal from textbuffer
2014-06-27 15:50:36 +02:00
Alexander Færøy
b8c2915d79 Merge pull request #59 from ailin-nemui/perl-pl-na
get rid of PL_na
2014-06-27 14:31:04 +02:00
David Leadbeater
c5d81c598d Correct use of perl stack macros
Further to pull #49 this is the result of an audit of the use of perl
stack macros. There were several cases where PUTBACK was being called
where the stack pointer could be out-of-date.

Also some misc. cleanup where the macros were used needlessly.
2014-06-27 11:20:48 +01:00
David Leadbeater
43df6e424e Define PERL_NO_GET_CONTEXT in all perl source files
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-24 20:20:27 +01:00
Lukas Mai
7dbb8efdde get rid of PL_na 2014-06-24 16:45:55 +02:00
Ailin Nemui
21bf59f4c1 correct package of server gui_printtext_after 2014-06-16 01:55:46 +02:00
Ailin Nemui
31c7c8eb95 fix package of term_refresh_* script api 2014-06-16 01:55:46 +02:00
Emanuele Giaquinta
1b7296dc5f Revert r4964, at least one script uses ypos.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4965 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-12 10:42:14 +00:00
Emanuele Giaquinta
feb95100ce Remove ypos field of TEXT_BUFFER_VIEW_REC, it is used to compute the row
position where to draw a new line and if the view is at the bottom of the
textbuffer, but the same information can be computed more easily by other
means.


git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4964 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-11 20:59:21 +00:00
Emanuele Giaquinta
f9f031826f Remove methods to create/destroy TextBuffer and TextBufferView and low level
api to add/remove lines, scripts should be fine using Window::print_after and
TextBufferView::remove_line.


git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4963 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-10 10:21:04 +00:00
Emanuele Giaquinta
29a56d7974 Add print_after method to Window perl object analogous to
gui_printtext_after but which also expands formats and forces a full
line.


git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4962 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-10 09:35:25 +00:00
Emanuele Giaquinta
20c362a93d Remove resize method of TextBufferView perl object, it is not useful
and dangerous.


git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4959 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-09 18:02:53 +00:00
Emanuele Giaquinta
73b18f2672 Fix r4879 change.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4881 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-02 07:34:35 +00:00
Jilles Tjoelker
aa39fba88d Remove the refcount on LINE_REC.
It seems to have no clear purpose.


git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4879 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-01 17:56:56 +00:00
Emanuele Giaquinta
3c7c3941d7 Remove .cvsignore files.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4672 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-01-21 11:49:10 +00:00
Wouter Coekaerts
dfb892559c Add Perl bindings for some gui_entry methods.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4590 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-08-04 08:35:59 +00:00
Emanuele Giaquinta
9d72e78ccd Revert perl utf8 stuff for now.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4412 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-02-06 23:06:14 +00:00
Emanuele Giaquinta
4d9895ea77 Add support for utf8 to Irssi::TextUI::Line::get_text.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4371 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-20 23:29:41 +00:00
Wouter Coekaerts
9124723ce1 Fix /script reset, which caused crashes (Bug 48)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3721 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-03-07 15:37:31 +00:00
Timo Sirainen
df7ccce8ec Some compiling fixes found by -Wall in perl dirs..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2990 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-07 17:40:05 +00:00
Timo Sirainen
d58e119a98 Exported expando interface to perl. Fix for statusbar deinit.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2975 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-27 22:30:41 +00:00
Timo Sirainen
452db286da another crashfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2873 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-08 15:12:34 +00:00
Timo Sirainen
577c6fdb78 crashfix for sbitem->{window}
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2872 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-08 14:40:23 +00:00
Timo Sirainen
c7d1fa390b Added window variable to Irssi::TextUI::StatusbarItem
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2871 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-08 13:56: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
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
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
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
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
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