summaryrefslogtreecommitdiff
path: root/src/if_perl.xs
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.1.0978: blob not tested with Perlv8.1.0978Bram Moolenaar2019-02-231-1/+1
| | | | | | Problem: Blob not tested with Perl. Solution: Add more test coverage. Fixes a crash. (Dominique Pelle, closes #4037)
* patch 8.1.0941: macros for MS-Windows are inconsistentv8.1.0941Bram Moolenaar2019-02-171-3/+3
| | | | | | | Problem: Macros for MS-Windows are inconsistent, using "32", "3264 and others. Solution: Use MSWIN for all MS-Windows builds. Use FEAT_GUI_MSWIN for the GUI build. (Hirohito Higashi, closes #3932)
* patch 8.1.0881: can execute shell commands in rvim through interfacesv8.1.0881Bram Moolenaar2019-02-081-8/+5
| | | | | | Problem: Can execute shell commands in rvim through interfaces. Solution: Disable using interfaces in restricted mode. Allow for writing file with writefile(), histadd() and a few others.
* patch 8.1.0779: argument for message functions is inconsistentv8.1.0779Bram Moolenaar2019-01-191-2/+2
| | | | | Problem: Argument for message functions is inconsistent. Solution: Make first argument to msg() "char *".
* patch 8.1.0744: compiler warnings for signed/unsigned stringsv8.1.0744Bram Moolenaar2019-01-131-5/+5
| | | | | Problem: Compiler warnings for signed/unsigned strings. Solution: A few more type cast fixes.
* patch 8.1.0743: giving error messages is not flexiblev8.1.0743Bram Moolenaar2019-01-131-8/+8
| | | | | | | | Problem: Giving error messages is not flexible. Solution: Add semsg(). Change argument from "char_u *" to "char *", also for msg() and get rid of most MSG macros. (Ozaki Kiichi, closes #3302) Also make emsg() accept a "char *" argument. Get rid of an enormous number of type casts.
* patch 8.1.0735: cannot handle binary datav8.1.0735Bram Moolenaar2019-01-121-0/+24
| | | | | Problem: Cannot handle binary data. Solution: Add the Blob type. (Yasuhiro Matsumoto, closes #3638)
* patch 8.1.0420: generating vim.lib when using ActivePerl 5.20.3 or laterv8.1.0420Bram Moolenaar2018-09-211-4/+10
| | | | | Problem: Generating vim.lib when using ActivePerl 5.20.3 or later. Solution: Redefine XS_EXTERNAL(). (Ken Takata, closes #3462)
* patch 8.1.0234: incorrect reference counting in Perl interfacev8.1.0234Bram Moolenaar2018-08-021-8/+7
| | | | | Problem: Incorrect reference counting in Perl interface. Solution: Call SvREFCNT_inc more often, add a test. (Damien)
* patch 8.1.0212: preferred cursor column not set in interfacesv8.1.0212Bram Moolenaar2018-07-251-0/+1
| | | | | | Problem: Preferred cursor column not set in interfaces. Solution: Set w_set_curswant when setting the cursor. (David Hotham, closes #3060)
* patch 8.1.0203: building with Perl 5.28 fails on Windowsv8.1.0203Bram Moolenaar2018-07-221-7/+15
| | | | | Problem: Building with Perl 5.28 fails on Windows. Solution: Define Perl_mg_get. (closes #3196)
* patch 8.1.0190: Perl refcounts are wrongv8.1.0190Bram Moolenaar2018-07-161-12/+37
| | | | | Problem: Perl refcounts are wrong. Solution: Improve refcounting. Add a test. (Damien)
* patch 8.1.0167: lock flag in new dictitem is reset in many placesv8.1.0167Bram Moolenaar2018-07-081-4/+2
| | | | | Problem: Lock flag in new dictitem is reset in many places. Solution: Always reset the lock flag.
* patch 8.0.1576: Perl VIM::Buffers() does not find every bufferv8.0.1576Bram Moolenaar2018-03-061-1/+1
| | | | | | Problem: Perl VIM::Buffers() does not find every buffer. Solution: Also find unlisted buffer by number or name. (Chris Weyl, closes #2692)
* patch 8.0.1215: newer gcc warns for implicit fallthroughv8.0.1215Bram Moolenaar2017-10-241-0/+1
| | | | | Problem: Newer gcc warns for implicit fallthrough. Solution: Consistently use a FALLTHROUGH comment. (Christian Brabandt)
* patch 8.0.1145: warning when compiling with Perlv8.0.1145Bram Moolenaar2017-09-251-1/+0
| | | | | Problem: Warning when compiling with Perl. Solution: Remove unused variable. (Ken Takata0
* patch 8.0.1123: cannot define a toolbar for a windowv8.0.1123Bram Moolenaar2017-09-171-10/+3
| | | | | Problem: Cannot define a toolbar for a window. Solution: Add a window-local toolbar.
* patch 8.0.1118: FEAT_WINDOWS adds a lot of #ifdefsv8.0.1118Bram Moolenaar2017-09-161-18/+0
| | | | | | Problem: FEAT_WINDOWS adds a lot of #ifdefs while it is nearly always enabled and only adds 7% to the binary size of the tiny build. Solution: Graduate FEAT_WINDOWS.
* patch 8.0.0631: can't build with Perl 5.26v8.0.0631Bram Moolenaar2017-06-101-0/+24
| | | | | Problem: Perl 5.26 also needs S_TOPMARK and S_POPMARK defined. Solution: Define the functions when needed. (Jesin, closes #1748)
* patch 8.0.0593: duplication of code for adding a list or dict return valuev8.0.0593Bram Moolenaar2017-04-301-6/+2
| | | | | Problem: Duplication of code for adding a list or dict return value. Solution: Add rettv_dict_set() and rettv_list_set(). (Yegappan Lakshmanan)
* patch 8.0.0448: some macros are in lower casev8.0.0448Bram Moolenaar2017-03-121-1/+1
| | | | | Problem: Some macros are in lower case, which can be confusing. Solution: Make a few lower case macros upper case.
* patch 8.0.0269: may get ml_get error when :perldo deletes linesv8.0.0269Bram Moolenaar2017-01-291-1/+5
| | | | | | Problem: May get ml_get error when :perldo deletes lines or switches to another buffer. (Nikolai Pavlov, issue #1421) Solution: Check the buffer and line every time.
* patch 7.4.2293v7.4.2293Bram Moolenaar2016-08-291-1/+1
| | | | | Problem: Modelines in source code are inconsistant. Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
* patch 7.4.2101v7.4.2101Bram Moolenaar2016-07-241-3/+3
| | | | | Problem: Looping over windows, buffers and tab pages is inconsistant. Solution: Use FOR_ALL_ macros everywhere. (Yegappan Lakshmanan)
* patch 7.4.1958v7.4.1958Bram Moolenaar2016-06-261-114/+114
| | | | | Problem: Perl interface preprocessor statements not nicely indented. Solution: Improve the indenting. (Ken Takata)
* patch 7.4.1957v7.4.1957Bram Moolenaar2016-06-261-12/+4
| | | | | Problem: Perl interface has obsolete workaround. Solution: Remove the workaround added by 7.3.623. (Ken Takata)
* patch 7.4.1872v7.4.1872Bram Moolenaar2016-06-021-0/+3
| | | | | Problem: Still build problem with old version of Perl. Solution: Also define SvREFCNT_inc_void_NN if needed. (Ken Takata)
* patch 7.4.1869v7.4.1869Bram Moolenaar2016-06-021-0/+11
| | | | | Problem: Can't build with old version of Perl. Solution: Define PERLIO_FUNCS_DECL. (Tom G. Christensen)
* patch 7.4.1863v7.4.1863Bram Moolenaar2016-06-011-3/+4
| | | | | Problem: Compiler warnings on Win64. Solution: Adjust types, add type casts. (Ken Takata)
* patch 7.4.1848v7.4.1848Bram Moolenaar2016-05-261-8/+24
| | | | | Problem: Can't build with Strawberry Perl 5.24. Solution: Define S_SvREFCNT_dec() if needed. (Damien, Ken Takata)
* patch 7.4.1746v7.4.1746Bram Moolenaar2016-04-151-0/+1
| | | | | Problem: Memory leak in Perl. Solution: Decrement the reference count. Add a test. (Damien)
* patch 7.4.1729v7.4.1729Bram Moolenaar2016-04-141-1/+97
| | | | | | | Problem: The Perl interface cannot use 'print' operator for writing directly in standard IO. Solution: Add a minimal implementation of PerlIO Layer feature and try to use it for STDOUT/STDERR. (Damien)
* patch 7.4.1693v7.4.1693Bram Moolenaar2016-04-021-6/+10
| | | | | Problem: Building the Perl interface gives compiler warnings. Solution: Remove a pragma. Add noreturn attributes. (Damien)
* patch 7.4.1400v7.4.1400Bram Moolenaar2016-02-231-3/+3
| | | | | Problem: Perl eval doesn't work properly on 64-bit big-endian machine. Solution: Use 32 bit type for the key. (Danek Duvall)
* patch 7.4.1334v7.4.1334Bram Moolenaar2016-02-161-0/+9
| | | | | Problem: Many compiler warnings with MingW. Solution: Add type casts. (Yasuhiro Matsumoto)
* patch 7.4.1225v7.4.1225Bram Moolenaar2016-01-311-41/+37
| | | | | Problem: Still a few old style function declarations. Solution: Make them new style. (Hirohito Higashi)
* patch 7.4.1200v7.4.1200Bram Moolenaar2016-01-291-4/+4
| | | | | Problem: Still using __ARGS. Solution: Remove __ARGS in several files. (script by Hirohito Higashi)
* patch 7.4.1125v7.4.1125Bram Moolenaar2016-01-171-17/+297
| | | | | Problem: There is no perleval(). Solution: Add perleval(). (Damien)
* patch 7.4.1065v7.4.1065Bram Moolenaar2016-01-091-6/+1
| | | | | | Problem: Cannot use the "dll" options on MS-Windows. Solution: Support the options on all platforms. Use the built-in name as the default, so that it's clear what Vim is looking for.
* patch 7.4.908v7.4.908Bram Moolenaar2015-11-021-1/+1
| | | | | Problem: Build error with MingW compiler. (Cesar Romani) Solution: Change #if into #ifdef.
* patch 7.4.907v7.4.907Bram Moolenaar2015-11-021-1/+6
| | | | | | | 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)
* patch 7.4.756v7.4.756Bram Moolenaar2015-06-251-3/+25
| | | | | Problem: Can't use strawberry Perl 5.22 x64 on MS-Windows. Solution: Add new defines and #if. (Ken Takata)
* updated for version 7.4.321v7.4.321Bram Moolenaar2014-06-121-0/+9
| | | | | Problem: Can't build with strawberry perl 5.20 + mingw-w64-4.9.0. Solution: Define save_strlen. (Ken Takata)
* updated for version 7.4.198v7.4.198Bram Moolenaar2014-03-121-1/+11
| | | | | | Problem: Can't build Vim with Perl when -Dusethreads is not specified for building Perl, and building Vim with --enable-perlinterp=dynamic. Solution: Adjust #ifdefs. (Yasuhiro Matsumoto)
* updated for version 7.4.128v7.4.128Bram Moolenaar2013-12-141-0/+5
| | | | | Problem: Perl 5.18 for MSVC doesn't work. Solution: Add check in makefile and define __inline. (Ken Takata)
* updated for version 7.4.127v7.4.127Bram Moolenaar2013-12-141-7/+7
| | | | | Problem: Perl 5.18 on Unix doesn't work. Solution: Move workaround to after including vim.h. (Ken Takata)
* updated for version 7.4.120v7.4.120Bram Moolenaar2013-12-111-1/+3
| | | | | Problem: Can't build with Perl 5.18 on Linux. (Lcd 47) Solution: Add #ifdef. (Ken Takata)
* updated for version 7.4.117v7.4.117Bram Moolenaar2013-12-111-11/+36
| | | | | | | Problem: Can't build with Cygwin/MingW and Perl 5.18. Solution: Add a linker argument for the Perl library. (Cesar Romani) Adjust CFLAGS and LIB. (Cesar Romani) Move including inline.h further down. (Ken Takata)
* updated for version 7.4b.010v7.4b.010Bram Moolenaar2013-08-021-1/+1
| | | | | Problem: Win32: Tcl library load does not use standard mechanism. Solution: Call vimLoadLib() instead of LoadLibraryEx(). (Ken Takata)
* updated for version 7.4b.007v7.4b.007Bram Moolenaar2013-08-021-0/+14
| | | | | Problem: On 32 bit MS-Windows :perldo does not work. Solution: Make sure time_t uses 32 bits. (Ken Takata)