| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Problem: Can't build with Ruby 1.9.2.
Solution: Require Rub 2.0 for defining USE_TYPEDDATA.
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
Problem: Ruby crashes when there is a runtime error.
Solution: Use ruby_options() instead of ruby_process_options(). (Damien)
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
Problem: Can't build with Ruby 2.2.
Solution: Add #ifdefs to handle the incompatible change. (Andrei Olsen)
|
|
|
|
|
| |
Problem: Building with dynamic library does not work for Ruby 2.2.0
Solution: Change #ifdefs and #defines. (Ken Takata)
|
|
|
|
|
| |
Problem: Warnings when compiling if_ruby.c.
Solution: Avoid the warnings. (Ken Takata)
|
|
|
|
|
|
| |
Problem: Generating proto for if_ruby.c uses type not defined elsewhere.
Solution: Do not generate a prototype for
rb_gc_writebarrier_unprotect_promoted()
|
|
|
|
|
| |
Problem: Can't build with Ruby 1.8.
Solution: Do include a check for the Ruby version. (Ken Takata)
|
|
|
|
|
| |
Problem: Dynamic Ruby doesn't work on Solaris.
Solution: Always use the stubs. (Danek Duvall, Yukihiro Nakadaira)
|
|
|
|
|
| |
Problem: SIZEOF_LONG clashes with similar defines in header files.
Solution: Rename to a name starting with VIM_. Also for SIZEOF_INT.
|
|
|
|
|
| |
Problem: Can't compile with Ruby 2.1.0.
Solution: Add support for new GC. (Kohei Suzuki)
|
|
|
|
|
|
| |
Problem: Can't build with ruby 1.8.5.
Solution: Only use ruby_init_stack() when RUBY_INIT_STACK is defined.
(Yukihiro Nakadaira)
|
|
|
|
|
|
| |
Problem: Ruby 1.8: Missing piece for static linking on 64 bit systems.
Solution: Define ruby_init_stack() (Hiroshi Shirosaki)
Also fix preprocessor indents.
|
|
|
|
|
|
| |
Problem: Init stack works differently on 64 bit systems.
Solution: Handle 64 bit systems and also static library. (Yukihiro
Nakadaira)
|
|
|
|
|
| |
Problem: Ruby on Mac crashes due to GC failure.
Solution: Init the stack from main(). (Hiroshi Shirosaki)
|
|
|
|
|
| |
Problem: Typos in source files.
Solution: Fix the typos. (Ken Takata)
|
|
|
|
|
| |
Problem: Can't build with Ruby 2.0 on a 64 bit system.
Solution: Define rb_fix2int and rb_num2int. (Kohei Suzuki)
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
Problem: Ruby 2.0 has a few API changes.
Solution: Add handling of Ruby 2.0. (Yasuhiro Matsumoto)
|
|
|
|
|
|
| |
Problem: Build errors and warnings when building with small features and
Lua, Perl or Ruby.
Solution: Add #ifdefs and UNUSED.
|
|
|
|
|
| |
Problem: Building with Ruby fails on some systems.
Solution: Remove "static" and add #ifndef PROTO. (Ken Takata)
|
|
|
|
|
| |
Problem: Ruby interface defines local functions globally.
Solution: Make the functions static.
|
|
|
|
|
| |
Problem: Ruby compilation on Windows 32 bit doesn't work.
Solution: Only use some functions for 64 bit. (Ken Takata)
|
|
|
|
|
| |
Problem: Can't build Ruby interface with Ruby 1.9.3.
Solution: Add missing functions. (V. Ondruch)
|
|
|
|
|
| |
Problem: Warning for unused argument.
Solution: Add UNUSED.
|
|
|
|
|
| |
Problem: Error for "flush" not being defined when using Ruby command.
Solution: Defined "flush" as a no-op method. (Kent Sibilev)
|
|
|
|
|
| |
Problem: Ruby on Mac OS X 10.7 may crash.
Solution: Avoid alloc(0). (Bjorn Winckler)
|
|
|
|
|
|
| |
Problem: ino_t defined with wrong size.
Solution: Move including auto/config.h before other includes. (Marius
Geminas)
|
|
|
|
|
| |
Problem: Ruby can't load Gems sometimes, may cause a crash.
Solution: Undefine off_t. Use ruby_process_options(). (Yasuhiro Matsumoto)
|
|
|
|
|
| |
Problem: Clang warnings for dead code.
Solution: Remove it. (Carlo Teubner)
|
|
|
|
|
| |
Problem: Ruby: Init_prelude is not always available.
Solution: Remove use of Init_prelude. (Yasuhiro Matsumoto)
|
|
|
|
|
| |
Problem: Error "code converter not found" when loading Ruby script.
Solution: Load Gem module. (Yasuhiro Matsumoto)
|
|
|
|
|
| |
Problem: Can't build Ruby on MS-Windows.
Solution: Add #ifdef, don't use WIN3264 before including vim.h.
|
|
|
|
|
| |
Problem: Can't load Ruby dynamically on Unix.
Solution: Adjust the configure script. (James Vega)
|
|
|
|
|
| |
Problem: Win32: may be loading .dll from the wrong directory.
Solution: Go to the Vim executable directory when opening a library.
|
|
|
|
|
|
| |
Problem: Dynamic loading with Ruby doesn't work for 1.9.2.
Solution: Handle rb_str2cstr differently. Also support dynamic loading on
Unix. (Jon Maken)
|
| |
|
| |
|
|
|
|
| |
Attempt at a fix.
|
| |
|
|
|
|
|
| |
Problem: Compiler warning for pointer type. (Tony Mechelynck)
Solution: Move type cast to the right place.
|
|
|
|
|
|
|
| |
Problem: Dynamic Ruby is not initialised properly for version 1.9.1.
Ruby cannot create strings from NULL.
Solution: Cleanup #ifdefs. Handle NULL like an empty string. Add
ruby_init_stack. (Sergey Khorev)
|
|
|
|
|
| |
Problem: Ruby with MingW still doesn't build all versions.
Solution: More #ifdefs for the Ruby code. (Sergey Khorev)
|
|
|
|
|
| |
Problem: Ruby eval() doesn't understand Vim types.
Solution: Add the vim_to_ruby() function. (George Gensure)
|
|
|
|
|
| |
Problem: Ruby interface: Appending line doesn't work. (Michael Henry)
Solution: Reverse check for NULL line. (James Vega)
|
|
|
|
|
| |
Problem: Ruby 1.9 is not supported.
Solution: Add Ruby 1.9 support. (Msaki Suketa)
|
|
|
|
|
| |
Problem: Ruby on MS-Windows: can't use sockets.
Solution: Call NtInitialize() during initialization. (Ariya Mizutani)
|
| |
|
| |
|