summaryrefslogtreecommitdiff
path: root/src/if_ruby.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.0.0270: may get ml_get error when :rubydo deletes linesv8.0.0270Bram Moolenaar2017-01-291-0/+5
| | | | | | Problem: May get ml_get error when :rubydo deletes lines or switches to another buffer. (Nikolai Pavlov, issue #1421) Solution: Check the buffer and line every time.
* patch 8.0.0191: can't build with Ruby on some systemsv8.0.0191Bram Moolenaar2017-01-151-4/+4
| | | | | | | Problem: Some systems do not have ruby_sysinit(), causing the build to fail. Solution: Clean up how ruby_sysinit() and NtInitialize() are used. (Taro Muraoka)
* patch 8.0.0187: cant build with new Ruby versionv8.0.0187Bram Moolenaar2017-01-141-0/+4
| | | | | | Problem: Building with a new Ruby version fails. Solution: Use ruby_sysinit() instead of NtInitialize(). (Tomas Volf, closes #1382)
* patch 8.0.0163: cannot build with Ruby 2.4v8.0.0163Bram Moolenaar2017-01-091-1/+2
| | | | | Problem: Ruby 2.4 no longer supports rb_cFixnum. Solution: move rb_cFixnum into an #ifdef. (Kazuki Sakamoto, closes #1365)
* 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.1929v7.4.1929Bram Moolenaar2016-06-131-6/+6
| | | | | Problem: Inconsistent indenting and weird name. Solution: Fix indent, make name all upper case. (Ken Takata)
* patch 7.4.1922v7.4.1922Bram Moolenaar2016-06-111-0/+13
| | | | | Problem: Ruby 2.4.0 unifies Fixnum and Bignum into Integer. Solution: Use rb_cInteger. (Weiong Mao)
* patch 7.4.1863v7.4.1863Bram Moolenaar2016-06-011-1/+1
| | | | | Problem: Compiler warnings on Win64. Solution: Adjust types, add type casts. (Ken Takata)
* patch 7.4.1689v7.4.1689Bram Moolenaar2016-03-301-12/+24
| | | | | Problem: Ruby interface has inconsistent coding style. Solution: Fix the coding style. (Ken Takata)
* patch 7.4.1611v7.4.1611Bram Moolenaar2016-03-191-1/+1
| | | | | | Problem: The versplit feature makes the code uneccessary complicated. Solution: Remove FEAT_VERTSPLIT, always support vertical splits when FEAT_WINDOWS is defined.
* patch 7.4.1334v7.4.1334Bram Moolenaar2016-02-161-1/+7
| | | | | Problem: Many compiler warnings with MingW. Solution: Add type casts. (Yasuhiro Matsumoto)
* patch 7.4.1208v7.4.1208Bram Moolenaar2016-01-301-10/+9
| | | | | | Problem: Using old style function declarations. Solution: Change to new style function declarations. (script by Hirohito Higashi)
* patch 7.4.1154v7.4.1154Bram Moolenaar2016-01-231-0/+5
| | | | | | Problem: No support for JSON. Solution: Add jsonencode() and jsondecode(). Also add v:false, v:true, v:null and v:none.
* patch 7.4.1133v7.4.1133Bram Moolenaar2016-01-191-1/+1
| | | | | Problem: Generated function prototypes still have __ARGS(). Solution: Generate function prototypes without __ARGS().
* 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.987v7.4.987Bram Moolenaar2015-12-281-3/+9
| | | | | Problem: Can't build with Ruby 1.9.2. Solution: Require Rub 2.0 for defining USE_TYPEDDATA.
* patch 7.4.985v7.4.985Bram Moolenaar2015-12-281-11/+95
| | | | | | Problem: Can't build with Ruby 2.3.0. Solution: Use the new TypedData_XXX macro family instead of Data_XXX. Use TypedData. (Ken Takata)
* patch 7.4.927v7.4.927Bram Moolenaar2015-11-191-4/+4
| | | | | Problem: Ruby crashes when there is a runtime error. Solution: Use ruby_options() instead of ruby_process_options(). (Damien)
* 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.705v7.4.705Bram Moolenaar2015-04-211-0/+8
| | | | | Problem: Can't build with Ruby 2.2. Solution: Add #ifdefs to handle the incompatible change. (Andrei Olsen)
* updated for version 7.4.570v7.4.570Bram Moolenaar2015-01-141-2/+30
| | | | | Problem: Building with dynamic library does not work for Ruby 2.2.0 Solution: Change #ifdefs and #defines. (Ken Takata)
* updated for version 7.4.534v7.4.534Bram Moolenaar2014-11-271-5/+6
| | | | | Problem: Warnings when compiling if_ruby.c. Solution: Avoid the warnings. (Ken Takata)
* updated for version 7.4.511v7.4.511Bram Moolenaar2014-11-121-1/+2
| | | | | | Problem: Generating proto for if_ruby.c uses type not defined elsewhere. Solution: Do not generate a prototype for rb_gc_writebarrier_unprotect_promoted()
* updated for version 7.4.227v7.4.227Bram Moolenaar2014-03-281-3/+9
| | | | | Problem: Can't build with Ruby 1.8. Solution: Do include a check for the Ruby version. (Ken Takata)
* updated for version 7.4.225v7.4.225Bram Moolenaar2014-03-271-6/+2
| | | | | Problem: Dynamic Ruby doesn't work on Solaris. Solution: Always use the stubs. (Danek Duvall, Yukihiro Nakadaira)
* updated for version 7.4.188v7.4.188Bram Moolenaar2014-02-231-6/+6
| | | | | Problem: SIZEOF_LONG clashes with similar defines in header files. Solution: Rename to a name starting with VIM_. Also for SIZEOF_INT.
* updated for version 7.4.168v7.4.168Bram Moolenaar2014-02-051-0/+20
| | | | | Problem: Can't compile with Ruby 2.1.0. Solution: Add support for new GC. (Kohei Suzuki)
* updated for version 7.3.974v7.3.974Bram Moolenaar2013-05-201-15/+23
| | | | | | Problem: Can't build with ruby 1.8.5. Solution: Only use ruby_init_stack() when RUBY_INIT_STACK is defined. (Yukihiro Nakadaira)
* updated for version 7.3.936v7.3.936Bram Moolenaar2013-05-121-147/+151
| | | | | | Problem: Ruby 1.8: Missing piece for static linking on 64 bit systems. Solution: Define ruby_init_stack() (Hiroshi Shirosaki) Also fix preprocessor indents.
* updated for version 7.3.935v7.3.935Bram Moolenaar2013-05-111-3/+17
| | | | | | Problem: Init stack works differently on 64 bit systems. Solution: Handle 64 bit systems and also static library. (Yukihiro Nakadaira)
* updated for version 7.3.933v7.3.933Bram Moolenaar2013-05-111-5/+12
| | | | | Problem: Ruby on Mac crashes due to GC failure. Solution: Init the stack from main(). (Hiroshi Shirosaki)
* updated for version 7.3.925v7.3.925Bram Moolenaar2013-05-061-2/+2
| | | | | Problem: Typos in source files. Solution: Fix the typos. (Ken Takata)
* updated for version 7.3.889v7.3.889Bram Moolenaar2013-04-141-0/+19
| | | | | Problem: Can't build with Ruby 2.0 on a 64 bit system. Solution: Define rb_fix2int and rb_num2int. (Kohei Suzuki)
* updated for version 7.3.848v7.3.848Bram Moolenaar2013-03-071-1/+10
| | | | | | Problem: Can't build with Ruby 2.0 when using MinGW x64 or MSVC10. Solution: Fix it. Also detect RUBY_PLATFORM and RUBY_INSTALL_NAME for x64. (Ken Takata)
* updated for version 7.3.834v7.3.834Bram Moolenaar2013-02-261-0/+17
| | | | | Problem: Ruby 2.0 has a few API changes. Solution: Add handling of Ruby 2.0. (Yasuhiro Matsumoto)
* updated for version 7.3.820v7.3.820Bram Moolenaar2013-02-141-5/+5
| | | | | | Problem: Build errors and warnings when building with small features and Lua, Perl or Ruby. Solution: Add #ifdefs and UNUSED.
* updated for version 7.3.729v7.3.729Bram Moolenaar2012-11-241-3/+3
| | | | | Problem: Building with Ruby fails on some systems. Solution: Remove "static" and add #ifndef PROTO. (Ken Takata)
* updated for version 7.3.721v7.3.721Bram Moolenaar2012-11-201-2/+2
| | | | | Problem: Ruby interface defines local functions globally. Solution: Make the functions static.
* updated for version 7.3.676v7.3.676Bram Moolenaar2012-10-031-0/+6
| | | | | Problem: Ruby compilation on Windows 32 bit doesn't work. Solution: Only use some functions for 64 bit. (Ken Takata)
* updated for version 7.3.662v7.3.662Bram Moolenaar2012-09-181-1/+9
| | | | | Problem: Can't build Ruby interface with Ruby 1.9.3. Solution: Add missing functions. (V. Ondruch)
* updated for version 7.3.503v7.3.503Bram Moolenaar2012-04-251-1/+1
| | | | | Problem: Warning for unused argument. Solution: Add UNUSED.
* updated for version 7.3.501v7.3.501Bram Moolenaar2012-04-201-0/+6
| | | | | Problem: Error for "flush" not being defined when using Ruby command. Solution: Defined "flush" as a no-op method. (Kent Sibilev)
* updated for version 7.3.267v7.3.267Bram Moolenaar2011-08-041-5/+13
| | | | | Problem: Ruby on Mac OS X 10.7 may crash. Solution: Avoid alloc(0). (Bjorn Winckler)
* updated for version 7.3.101v7.3.101Bram Moolenaar2011-01-171-3/+3
| | | | | | Problem: ino_t defined with wrong size. Solution: Move including auto/config.h before other includes. (Marius Geminas)
* updated for version 7.3.088v7.3.088Bram Moolenaar2010-12-241-16/+14
| | | | | Problem: Ruby can't load Gems sometimes, may cause a crash. Solution: Undefine off_t. Use ruby_process_options(). (Yasuhiro Matsumoto)
* updated for version 7.3.076v7.3.076Bram Moolenaar2010-12-081-2/+2
| | | | | Problem: Clang warnings for dead code. Solution: Remove it. (Carlo Teubner)
* updated for version 7.3.067v7.3.067Bram Moolenaar2010-11-241-3/+0
| | | | | Problem: Ruby: Init_prelude is not always available. Solution: Remove use of Init_prelude. (Yasuhiro Matsumoto)
* updated for version 7.3.058v7.3.058Bram Moolenaar2010-11-161-12/+22
| | | | | Problem: Error "code converter not found" when loading Ruby script. Solution: Load Gem module. (Yasuhiro Matsumoto)
* updated for version 7.3.046v7.3.046Bram Moolenaar2010-10-271-2/+4
| | | | | Problem: Can't build Ruby on MS-Windows. Solution: Add #ifdef, don't use WIN3264 before including vim.h.