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
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
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
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
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
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
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
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
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
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
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.
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
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,
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
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 *’
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
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.
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
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
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
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
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
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!
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
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
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
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
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
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
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
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
31 matches
Mail list logo