Commit: patch 9.1.1103: if_perl: still some compile errors with Perl 5.38

2025-02-11 Fir de Conversatie Christian Brabandt
patch 9.1.1103: if_perl: still some compile errors with Perl 5.38 Commit: https://github.com/vim/vim/commit/8cc725e9276d9bc314ca9cf1cb753dc8c9483181 Author: Drew Vogel Date: Tue Feb 11 20:06:07 2025 +0100 patch 9.1.1103: if_perl: still some compile errors with Perl 5.38 Problem

Commit: patch 9.1.1096: if_perl: Perl 5.38 adds new symbols causing link failure

2025-02-10 Fir de Conversatie Christian Brabandt
patch 9.1.1096: if_perl: Perl 5.38 adds new symbols causing link failure Commit: https://github.com/vim/vim/commit/97baa1cfe83c08eff1a452aca8d91f51112ca932 Author: Drew Vogel Date: Mon Feb 10 20:17:56 2025 +0100 patch 9.1.1096: if_perl: Perl 5.38 adds new symbols causing link failure

Re: [vim/vim] [RFC] string in if_perl should be SvUTF8 flagged (#3644)

2018-11-29 Fir de Conversatie Damien
Le Thu, Nov 29, 2018 at 06:58:57AM -0800, mattn a écrit : In current implementation, string in if_perl is bytes. I'm trying to add blob type in #3638, but if_perl does not have a way to recognize the type of value which is blob or string. So I suggest to the strings in if_perl to add flag S

Re: Suggested follow-on to patches 474 and 478 (if_perl)

2018-10-16 Fir de Conversatie Bram Moolenaar
Michael Soyka wrote: > Since patch 474 places if_perl.c in "auto", the following patch is > suggested.  I can't test the Visual C changes but it looks like it > should work. Yeah, that makes sense. Deleting src/if_perl.c still makes sense for a while, it may still exist when updating to newe

Re: Suggested follow-on to patches 474 and 478 (if_perl)

2018-10-15 Fir de Conversatie Ken Takata
Hi, 2018/10/16 Tue 7:05:57 UTC+9 Michael Soyka wrote: > Since patch 474 places if_perl.c in "auto", the following patch is > suggested.  I can't test the Visual C changes but it looks like it > should work. > > > diff --git a/src/Make_cyg_ming.mak b/src/Make_cyg_ming.mak > index e213b803d..057

Suggested follow-on to patches 474 and 478 (if_perl)

2018-10-15 Fir de Conversatie Michael Soyka
Since patch 474 places if_perl.c in "auto", the following patch is suggested.  I can't test the Visual C changes but it looks like it should work. diff --git a/src/Make_cyg_ming.mak b/src/Make_cyg_ming.mak index e213b803d..05725e988 100644 --- a/src/Make_cyg_ming.mak +++ b/src/Make_cyg_ming.ma

Re: if_perl

2018-08-02 Fir de Conversatie Bram Moolenaar
Damien wrote: > A another Perl patch. > > https://framagit.org/Damien43/patches/raw/master/vim/perl-SvREFCNT++.patch > > This fix the suspicious test and add one `SvREFCNT_dec()` to avoid > leaks. > > Please check. Well, don't know how to check exactly, but the test fails without the code ch

if_perl

2018-08-02 Fir de Conversatie Damien
Hi Bram and list. A another Perl patch. https://framagit.org/Damien43/patches/raw/master/vim/perl-SvREFCNT++.patch This fix the suspicious test and add one `SvREFCNT_dec()` to avoid leaks. Please check. Regards, Damien -- -- You received this message from the "vim_dev" maillist. Do not top-p

Re: if_perl

2018-07-16 Fir de Conversatie Bram Moolenaar
Damien - > Here some failing refcount tests in Perl interface. > > https://framagit.org/Damien43/patches/raw/master/vim/perl-Sv-leaks.patch I'll include it, thanks. A few comments would help to explain what happens here. - Bram -- Did you hear about the new 3 million dollar West Virginia S

if_perl

2018-07-16 Fir de Conversatie Damien
Hi Bram and list. Here some failing refcount tests in Perl interface. https://framagit.org/Damien43/patches/raw/master/vim/perl-Sv-leaks.patch Regards, Damien -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For m

Re: [patch] Suppress warning in if_perl

2017-09-25 Fir de Conversatie Bram Moolenaar
Ken Takata wrote: > Attached patch fixes warning in if_perl.xs. > "id" is no longer used. Thanks! -- Press any key to continue, press any other key to quit. /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.

[patch] Suppress warning in if_perl

2017-09-25 Fir de Conversatie Ken Takata
Hi, Attached patch fixes warning in if_perl.xs. "id" is no longer used. Regards, Ken Takata -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You re

Re: [if_perl][patch] Improve I/O integration

2016-03-02 Fir de Conversatie Christian J. Robinson
I've been using this patch for a while. It seems stable, and it's a needed change to the Perl interface. Bram, any chance of it being included? On Fri, Jan 22, 2016 at 11:30 AM, Damien wrote: > Hi Christian > > Le Fri, Jan 22, 2016 at 10:40:04AM -0700, Christian J. Robinson a écrit : > > On Fri,

Re: [if_perl][patch] Improve I/O integration

2016-01-22 Fir de Conversatie Damien
Hi Christian Le Fri, Jan 22, 2016 at 10:40:04AM -0700, Christian J. Robinson a écrit : > On Fri, 22 Jan 2016, Damien wrote: > > >I updated this patch with v7.4.1152. > > It compiles and functions properly, but I do get a couple of warnings for > the usage of char: > > proto/syntax.pro:43:5: not

Re: [if_perl][patch] Improve I/O integration

2016-01-22 Fir de Conversatie Christian J. Robinson
On Fri, 22 Jan 2016, Damien wrote: I updated this patch with v7.4.1152. It compiles and functions properly, but I do get a couple of warnings for the usage of char: proto/syntax.pro:43:5: note: expected ‘char_u *’ but argument is of type ‘char *’ if_perl.xs:719:1: note: expected ‘char_u *’

Re: [if_perl][patch] Improve I/O integration

2016-01-22 Fir de Conversatie Damien
Hi list, > Damien wrote: > The attached patch add a minimal implementation of PerlIO Layer > feature and try to use it for STDOUT/STDERR. I updated this patch with v7.4.1152. Regards, Damien -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below th

Re: [if_perl][patch] Improve I/O integration

2016-01-09 Fir de Conversatie Damien
Le Fri, Jan 08, 2016 at 05:57:11PM +0100, Damien a écrit : > Actually, Perl users cannot use 'print' operator for writing > directly in standard IO witch embed perl interpreter. > > The attached patch add a minimal implementation of PerlIO Layer > feature and try to use it for STDOUT/STDERR. Hi.

Re: [if_perl][patch] Improve I/O integration

2016-01-09 Fir de Conversatie Bram Moolenaar
Damien wrote: > Actually, Perl users cannot use 'print' operator for wrinting > directly in standard IO witch embed perl interpreter. > > The attached patch add a minimal implementation of PerlIO Layer > feature and try to use it for STDOUT/STDERR. Thanks. I would appreciate if a few people ca

[if_perl][patch] Improve I/O integration

2016-01-08 Fir de Conversatie Damien
Hi list, Actually, Perl users cannot use 'print' operator for wrinting directly in standard IO witch embed perl interpreter. The attached patch add a minimal implementation of PerlIO Layer feature and try to use it for STDOUT/STDERR. Please check it. Regards, Damien -- -- You received this

Re: [patch] Build failure with clang 3.5 and if_perl on Cygwin

2015-06-21 Fir de Conversatie Bram Moolenaar
Ken Takata wrote: > When I build Vim with clang 3.5 and if_perl enabled on Cygwin, it fails with > the following error: > > configure:5624: checking if compile and link flags for Perl are sane > configure:5644: clang -o conftest.exe -O2 -fno-strength-reduce -Wall > -DPE

[patch] Build failure with clang 3.5 and if_perl on Cygwin

2015-06-20 Fir de Conversatie Ken Takata
Hi, When I build Vim with clang 3.5 and if_perl enabled on Cygwin, it fails with the following error: configure:5624: checking if compile and link flags for Perl are sane configure:5644: clang -o conftest.exe -O2 -fno-strength-reduce -Wall -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -ggdb -O2

Re: [patch] Add tests for if_perl and if_ruby

2015-06-19 Fir de Conversatie Bram Moolenaar
Ken Takata wrote: > Currently, there are no tests for if_perl and if_ruby. > I wrote very simple tests for them. Actually I rarely use if_perl and > if_ruby, so I hope someone to improve the tests. ;-) Thanks, I'll include them. It's always good to have a start. -- hundr

[patch] Add tests for if_perl and if_ruby

2015-06-19 Fir de Conversatie Ken Takata
Hi, Currently, there are no tests for if_perl and if_ruby. I wrote very simple tests for them. Actually I rarely use if_perl and if_ruby, so I hope someone to improve the tests. ;-) Regards, Ken Takata -- -- You received this message from the "vim_dev" maillist. Do not top-post!

Re: Can't build if_perl if -Dusethreads is specified.

2014-02-24 Fir de Conversatie mattn
On Tuesday, February 25, 2014 1:46:18 PM UTC+9, mattn wrote: > I need to add small fix about this patch. Please wait. Done. Updated https://gist.github.com/mattn/9202034 -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying

Re: Can't build if_perl if -Dusethreads is specified.

2014-02-24 Fir de Conversatie mattn
I need to add small fix about this patch. Please wait. -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are sub

Re: Can't build if_perl if -Dusethreads is specified.

2014-02-24 Fir de Conversatie mattn
On Tuesday, February 25, 2014 1:34:30 PM UTC+9, Bram Moolenaar wrote: > Yasuhiro Matsumoto wrote: > > > When -Dusethreads is specified for building perl, build stops with error. > > Below is a patch. > > > > https://gist.github.com/mattn/9202034 > > > > I tested this on: > > > > linux perl 5.14

Re: Can't build if_perl if -Dusethreads is specified.

2014-02-24 Fir de Conversatie Bram Moolenaar
Yasuhiro Matsumoto wrote: > When -Dusethreads is specified for building perl, build stops with error. > Below is a patch. > > https://gist.github.com/mattn/9202034 > > I tested this on: > > linux perl 5.14 & --enable-perlinterp=yes (OK) > linux perl 5.14 & --enable-perlinterp=dynamic (OK) > li

Re: Can't build if_perl if -Dusethreads is specified.

2014-02-24 Fir de Conversatie mattn
Sorry typo. On Tuesday, February 25, 2014 12:46:53 PM UTC+9, mattn wrote: > When -Dusethreads is specified for building perl, build stops with error. > Below is a patch. When -Dusethreads is NOT specified for building perl, And building with --enable-perlinterp=dynamic, build stops with error. B

Can't build if_perl if -Dusethreads is specified.

2014-02-24 Fir de Conversatie mattn
When -Dusethreads is specified for building perl, build stops with error. Below is a patch. https://gist.github.com/mattn/9202034 I tested this on: linux perl 5.14 & --enable-perlinterp=yes (OK) linux perl 5.14 & --enable-perlinterp=dynamic (OK) linux perl 5.16 & --enable-perlinterp=yes (OK) lin

Re: [patch] Fix "cast from/to integer of different size" warnings in if_perl

2012-02-01 Fir de Conversatie Bram Moolenaar
James McCoy wrote: > The attached patch updates the if_perl code to use the usual XS macros > for casting between external pointers and their "scalar value"s. This > fixes the warnings mentioned in the subject. Thanks, I'll include it soon. -- hundred-and-one sympt

[patch] Fix "cast from/to integer of different size" warnings in if_perl

2012-01-30 Fir de Conversatie James McCoy
Hi Bram, The attached patch updates the if_perl code to use the usual XS macros for casting between external pointers and their "scalar value"s. This fixes the warnings mentioned in the subject. Cheers, -- James GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy diff --git a/src/if_per