summaryrefslogtreecommitdiffstats
path: root/runtime/doc/if_perl.txt
AgeCommit message (Collapse)Author
2024-01-02patch 9.1.0000: Vim 9.1 releasev9.1.0000v9.1.0Christian Brabandt
Problem: Need a new release Solution: Release Vim 9.1 Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-08-29patch 9.0.1818: dynamically linking perl is brokenv9.0.1818Christian Brabandt
Problem: dynamically linking perl is broken Solution: Fix all issues This is a combination of several commits: 1) Fix if_perl.xs not being able to build on all versions of Perl (5.30) This fixes the dynamic builds of Perl interface. The Perl interface file previously had to manually copy and paste misc inline functions verbatim from the Perl headers, because we defined `PERL_NO_INLINE_FUNCTIONS` which prevents us form getting some function definitions. The original reason we defined it was because those inline functions would reference Perl functions that would cause linkage errors. This is a little fragile as every time a new version of Perl comes out, we inevitably have to copy over new versions of inline functions to our file, and it's also easy to miss updates to existing functions. Instead, remove the `PERL_NO_INLINE_FUNCTIONS` define, remove the manual copy-pasted inline functions. Simply add stub implementations of the missing linked functions like `Perl_sv_free2` and forward them to the DLL version of the function at runtime. There are only a few functions that need this treatment, and it's a simple stub so there is very low upkeep compared to copying whole implementations to the file. Also, fix the configure script so that if we are using dynamic linkage, we don't pass `-lperl` to the build flags, to avoid accidental external linkage while using dynamic builds. This is similar to how Python integration works. 2) Fix GIMME_V deprecation warnings in Perl 5.38 Just use GIMME_V, and only use GIMME when using 5.30 to avoid needing to link Perl_block_gimme. We could provide a stub like the other linked functions like Perl_sv_free2, but simply using GIMME is the simplest and it has always worked before. 3) Fix Perl 5.38 issues Fix two issues: 3.1. Perl 5.38 links against more functions in their inline headers, so we need to stub them too. 3.2. Perl 5.38 made Perl_get_context an inline function, but *only* for non-Windows build. Fix that. Note that this was happening in Vim currently, as it would build, but fail to run Perl code at runtime. 4) Fix Perl 5.36/5.38 when thread local is used Perl 5.36 introduced using `_Thread_local` for the current context, which causes inline functions to fail. Create a stub `PL_current_context` thread local variable to satisfy the linker for inlined functions. Note that this is going to result in a different `PL_current_context` being used than the one used in the library, but so far from testing it seems to work. 5) Add docs for how to build Perl for dynamic linking to work closes: #12827 closes: #12914 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Yee Cheng Chin <ychin.git@gmail.com>
2023-05-14Update runtime filesBram Moolenaar
2022-06-28release version 9.0v9.0.0000Bram Moolenaar
Problem: About time to release Vim 9.0. Solution: Update the version number everywhere.
2022-03-19Update runtime filesBram Moolenaar
2022-01-29Update runtime filesBram Moolenaar
2022-01-08Update runtime filesBram Moolenaar
2020-04-14patch 8.2.0578: heredoc for interfaces does not support "trim"v8.2.0578Bram Moolenaar
Problem: Heredoc for interfaces does not support "trim". Solution: Update the script heredoc support to be same as the :let command. (Yegappan Lakshmanan, closes #5916)
2019-12-12Vim 8.2 releasev8.2.0000v8.2.0Bram Moolenaar
2019-12-07Runtime file updates.Bram Moolenaar
2019-10-16Update runtime files.Bram Moolenaar
2019-07-31Update runtime files.Bram Moolenaar
2019-05-05patch 8.1.1280: remarks about functionality not in Vi clutters the helpv8.1.1280Bram Moolenaar
Problem: Remarks about functionality not in Vi clutters the help. Solution: Move all info about what is new in Vim or already existed in Vi to vi_diff.txt. Remove {not in Vi} remarks. (closes #4268) Add "noet" to the help files modeline. Also include many other help file improvements.
2019-02-03Update runtime files.Bram Moolenaar
2019-01-12patch 8.1.0735: cannot handle binary datav8.1.0735Bram Moolenaar
Problem: Cannot handle binary data. Solution: Add the Blob type. (Yasuhiro Matsumoto, closes #3638)
2018-11-16Update runtime files.Bram Moolenaar
2018-07-31Update runtime files.Bram Moolenaar
2018-07-29Update runtime files.Bram Moolenaar
2018-05-17Vim 8.1 releasev8.1.0000Bram Moolenaar
Update version number and information. Fix a couple of tests.
2017-11-30Update runtime filesBram Moolenaar
2017-06-05Update runtime files.Bram Moolenaar
2016-09-12Vim 8.0 releasev8.0.0000Bram Moolenaar
2016-09-08Updated runtime filesBram Moolenaar
2016-03-20Updated runtime files.Bram Moolenaar
2015-11-02patch 7.4.907v7.4.907Bram Moolenaar
Problem: Libraries for dynamically loading interfaces can only be defined at compile time. Solution: Add options to specify the dll names. (Kazuki Sakamoto, closes #452)
2013-10-06Runtime file updates.Bram Moolenaar
2013-08-10release version 7.4v7.4Bram Moolenaar
2013-07-28Update files for the 7.4b BETA release.v7.4b.000Bram Moolenaar
2013-07-06Vim 7.4a BETA release.v7.4aBram Moolenaar
2012-11-15Updated runtime files.Bram Moolenaar
2012-08-15Update runtime files.Bram Moolenaar
2010-08-15Last changes for the 7.3 release!v7.3Bram Moolenaar
2010-08-14Version 7.3f -> 7.3gBram Moolenaar
2010-08-09Version 7.3e -> 7.3f.Bram Moolenaar
2010-08-047.3d -> 7.3e.Bram Moolenaar
2010-08-01Version 7.3c -> 7.3dBram Moolenaar
2010-07-257.3b -> 7.3cBram Moolenaar
2010-07-21Make it possible to load Perl dynamically on Unix. (James Vega)Bram Moolenaar
2010-07-20Update timestamps for recently changed help files.Bram Moolenaar
2010-07-20Fix typos in documentation. (Dominique Pelle)Bram Moolenaar
2010-07-18Vim 7.3a -> 7.3b.Bram Moolenaar
2010-07-18Fixes and improvements for MS-Windows build.Bram Moolenaar
2010-05-15First step in the Vim 7.3 branch. Changed version numbers.Bram Moolenaar
2008-08-09updated for version 7.2-000v7.2.000v7.2Bram Moolenaar
2008-08-06updated for version 7.2c-000v7.2c.000Bram Moolenaar
2008-07-13updated for version 7.2b-000v7.2b.000Bram Moolenaar
2008-06-24updated for version 7.2aBram Moolenaar
2007-05-12updated for version 7.1Bram Moolenaar
2007-05-10updated for version 7.1bBram Moolenaar
2007-05-05updated for version 7.1aBram Moolenaar