1
0
forked from aniani/vim

62 Commits

Author SHA1 Message Date
Christian Brabandt
b4ddc6c11e
patch 9.1.0000: Vim 9.1 release
Problem:  Need a new release
Solution: Release Vim 9.1

Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-01-02 16:51:11 +01:00
Christian Brabandt
55460da26c
patch 9.0.1818: dynamically linking perl is broken
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-08-29 21:31:28 +02:00
Bram Moolenaar
b7398fe41c Update runtime files 2023-05-14 18:50:25 +01:00
Bram Moolenaar
eb49041875 release version 9.0
Problem:    About time to release Vim 9.0.
Solution:   Update the version number everywhere.
2022-06-28 13:44:46 +01:00
Bram Moolenaar
47c532e2bc Update runtime files 2022-03-19 15:18:53 +00:00
Bram Moolenaar
f10911e5db Update runtime files 2022-01-29 22:20:48 +00:00
Bram Moolenaar
2f0936cb9a Update runtime files 2022-01-08 21:51:59 +00:00
Bram Moolenaar
6c2b7b8055 patch 8.2.0578: heredoc for interfaces does not support "trim"
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)
2020-04-14 20:15:49 +02:00
Bram Moolenaar
98056533b9 Vim 8.2 release 2019-12-12 14:18:35 +01:00
Bram Moolenaar
664f3cf3f2 Runtime file updates. 2019-12-07 16:03:51 +01:00
Bram Moolenaar
2e693a88b2 Update runtime files. 2019-10-16 22:35:02 +02:00
Bram Moolenaar
5477506a9f Update runtime files. 2019-07-31 21:07:14 +02:00
Bram Moolenaar
25c9c680ec patch 8.1.1280: remarks about functionality not in Vi clutters the help
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-05-05 18:13:34 +02:00
Bram Moolenaar
314dd79cac Update runtime files. 2019-02-03 15:27:20 +01:00
Bram Moolenaar
6e5ea8d2a9 patch 8.1.0735: cannot handle binary data
Problem:    Cannot handle binary data.
Solution:   Add the Blob type. (Yasuhiro Matsumoto, closes #3638)
2019-01-12 22:47:31 +01:00
Bram Moolenaar
f0d58efc9d Update runtime files. 2018-11-16 16:13:44 +01:00
Bram Moolenaar
d2855f5454 Update runtime files. 2018-07-31 22:23:58 +02:00
Bram Moolenaar
91f84f6e11 Update runtime files. 2018-07-29 15:07:52 +02:00
Bram Moolenaar
b1c9198afb Vim 8.1 release
Update version number and information.  Fix a couple of tests.
2018-05-17 17:04:55 +02:00
Bram Moolenaar
2f0584910c Update runtime files 2017-11-30 20:27:52 +01:00
Bram Moolenaar
6aa8cea46d Update runtime files. 2017-06-05 14:44:35 +02:00
Bram Moolenaar
bb76f24af2 Vim 8.0 release 2016-09-12 14:24:39 +02:00
Bram Moolenaar
abd468ed0f Updated runtime files 2016-09-08 22:22:43 +02:00
Bram Moolenaar
e18c0b3981 Updated runtime files. 2016-03-20 21:08:34 +01:00
Bram Moolenaar
d94464ee29 patch 7.4.907
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)
2015-11-02 15:28:18 +01:00
Bram Moolenaar
b133208080 Runtime file updates. 2013-10-06 14:22:40 +02:00
Bram Moolenaar
3b1db36689 release version 7.4 2013-08-10 15:00:24 +02:00
Bram Moolenaar
1a42b4befb Update files for the 7.4b BETA release. 2013-07-28 18:29:08 +02:00
Bram Moolenaar
913df81e74 Vim 7.4a BETA release. 2013-07-06 15:44:11 +02:00
Bram Moolenaar
97d62497f5 Updated runtime files. 2012-11-15 21:28:22 +01:00
Bram Moolenaar
9b4512500a Update runtime files. 2012-08-15 17:43:31 +02:00
Bram Moolenaar
7f03644116 Last changes for the 7.3 release! 2010-08-15 15:24:20 +02:00
Bram Moolenaar
4421d6af22 Version 7.3f -> 7.3g 2010-08-14 13:33:56 +02:00
Bram Moolenaar
82d1c33a8a Version 7.3e -> 7.3f. 2010-08-09 20:16:32 +02:00
Bram Moolenaar
257a9c873f 7.3d -> 7.3e. 2010-08-04 19:29:04 +02:00
Bram Moolenaar
9379f83030 Version 7.3c -> 7.3d 2010-08-01 20:38:51 +02:00
Bram Moolenaar
c3301874a6 7.3b -> 7.3c 2010-07-25 20:53:06 +02:00
Bram Moolenaar
e06c188bbf Make it possible to load Perl dynamically on Unix. (James Vega) 2010-07-21 22:05:20 +02:00
Bram Moolenaar
b8521960d6 Update timestamps for recently changed help files. 2010-07-20 22:45:13 +02:00
Bram Moolenaar
fcb7ab6117 Fix typos in documentation. (Dominique Pelle) 2010-07-20 11:16:17 +02:00
Bram Moolenaar
d28478b557 Vim 7.3a -> 7.3b. 2010-07-18 23:29:58 +02:00
Bram Moolenaar
69154f22a6 Fixes and improvements for MS-Windows build. 2010-07-18 21:42:34 +02:00
Bram Moolenaar
fff2beeeaa First step in the Vim 7.3 branch. Changed version numbers. 2010-05-15 13:56:02 +02:00
Bram Moolenaar
ed39e1d53c updated for version 7.2-000 2008-08-09 17:55:22 +00:00
Bram Moolenaar
e37d50a5de updated for version 7.2c-000 2008-08-06 17:06:04 +00:00
Bram Moolenaar
c236c16d08 updated for version 7.2b-000 2008-07-13 17:41:49 +00:00
Bram Moolenaar
3577c6fafb updated for version 7.2a 2008-06-24 21:16:56 +00:00
Bram Moolenaar
9fe9d16c38 updated for version 7.1 2007-05-12 13:47:10 +00:00
Bram Moolenaar
7263a77b99 updated for version 7.1b 2007-05-10 17:35:54 +00:00
Bram Moolenaar
9964e468c0 updated for version 7.1a 2007-05-05 17:54:07 +00:00