summaryrefslogtreecommitdiff
path: root/src/if_ruby.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.1.1174: cannot build with Ruby 1.8v8.1.1174Bram Moolenaar2019-04-141-1/+4
| | | | | Problem: Cannot build with Ruby 1.8. (Tom G. Christensen) Solution: Include ruby/st.h. (Ozaki Kiichi, closes #4257)
* patch 8.1.1086: too many curly bracesv8.1.1086Bram Moolenaar2019-03-301-6/+0
| | | | | | Problem: Too many curly braces. Solution: Remove curly braces where they are not needed. (Hirohito Higashi, closes #3982)
* patch 8.1.1056: no eval function for Rubyv8.1.1056Bram Moolenaar2019-03-261-113/+309
| | | | | Problem: No eval function for Ruby. Solution: Add rubyeval(). (Ozaki Kiichi, closes #4152)
* patch 8.1.0977: blob not tested with Rubyv8.1.0977Bram Moolenaar2019-02-231-1/+1
| | | | | | Problem: Blob not tested with Ruby. Solution: Add more test coverage. fixes a crash. (Dominique Pelle, closes #4036)
* patch 8.1.0947: using MSWIN before it is definedv8.1.0947Bram Moolenaar2019-02-181-16/+18
| | | | | | Problem: Using MSWIN before it is defined. (Cesar Romani) Solution: Move the block that uses MSWIN to below including vim.h. (Ken Takata)
* patch 8.1.0941: macros for MS-Windows are inconsistentv8.1.0941Bram Moolenaar2019-02-171-5/+5
| | | | | | | 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.0871: build error when building with Ruby 2.6.0v8.1.0871Bram Moolenaar2019-02-031-0/+4
| | | | | | Problem: Build error when building with Ruby 2.6.0. Solution: Change argument of rb_int2big_stub(). (Android Baumann, closes #3899)
* patch 8.1.0848: cannot build with Ruby 1.8v8.1.0848Bram Moolenaar2019-01-301-1/+1
| | | | | | Problem: Cannot build with Ruby 1.8. (Tom G. Christensen) Solution: Use rb-str_new2(). (Yasuhiro Matsumoto, closes #3883, closes #3884)
* patch 8.1.0779: argument for message functions is inconsistentv8.1.0779Bram Moolenaar2019-01-191-5/+5
| | | | | Problem: Argument for message functions is inconsistent. Solution: Make first argument to msg() "char *".
* patch 8.1.0743: giving error messages is not flexiblev8.1.0743Bram Moolenaar2019-01-131-12/+12
| | | | | | | | 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-1/+27
| | | | | Problem: Cannot handle binary data. Solution: Add the Blob type. (Yasuhiro Matsumoto, closes #3638)
* patch 8.1.0704: building with Ruby 2.6 gives compiler warningsv8.1.0704Bram Moolenaar2019-01-081-1/+8
| | | | | Problem: Building with Ruby 2.6 gives compiler warnings. Solution: Define a stub for rb_ary_detransient. (Ozaki Kiichi, closes #3779)
* patch 8.1.0646: cannot build with Ruby 2.6.0v8.1.0646Bram Moolenaar2018-12-271-4/+11
| | | | | Problem: Cannot build with Ruby 2.6.0. Solution: Add rb_ary_detransient(). (Ozaki Kiichi, closes #3724)
* patch 8.1.0609: MS-Windows: unused variable, depending on the Ruby versionv8.1.0609Bram Moolenaar2018-12-191-6/+12
| | | | | | Problem: MS-Windows: unused variable, depending on the Ruby version. Solution: Put ruby_sysinit and NtInitialize inside #ifdef and make them consistent. (Ken Takata)
* patch 8.1.0380: "make proto" doesn't work wellv8.1.0380Bram Moolenaar2018-09-131-0/+1
| | | | | | Problem: "make proto" doesn't work well. Solution: Define a few more types for cproto. Update proto files. Fix that workshop didn't build.
* patch 8.1.0269: Ruby Kernel.#p method always returns nilv8.1.0269Bram Moolenaar2018-08-111-1/+18
| | | | | | Problem: Ruby Kernel.#p method always returns nil. Solution: Copy p method implementation from Ruby code. (Masataka Pocke Kuwabara, closes #3315)
* patch 8.1.0239: now Ruby build fails on other systemsv8.1.0239Bram Moolenaar2018-08-041-12/+6
| | | | | Problem: Now Ruby build fails on other systems. Solution: Always define rb_intern. (Ken Takata, closes #3275)
* patch 8.1.0236: Ruby build fails when ruby_intern is missingv8.1.0236Bram Moolenaar2018-08-031-9/+8
| | | | | Problem: Ruby build fails when ruby_intern is missing. Solution: Do not use ruby_intern2. (Ken Takata)
* patch 8.1.0232: Ruby error does not include backtracev8.1.0232Bram Moolenaar2018-08-011-4/+54
| | | | | Problem: Ruby error does not include backtrace. Solution: Add an error backtrace. (Masataka Pocke Kuwabara, closes #3267)
* patch 8.1.0220: Ruby converts v:true and v:false to a numberv8.1.0220Bram Moolenaar2018-07-281-2/+4
| | | | | | Problem: Ruby converts v:true and v:false to a number. Solution: Use Qtrue and Qfalse instead. (Masataka Pocke Kuwabara, closes #3259)
* 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.0209: stderr output from Ruby messes up displayv8.1.0209Bram Moolenaar2018-07-241-0/+7
| | | | | | Problem: Stderr output from Ruby messes up display. Solution: Turn the stderr output into a Vim message. (Masataka Pocke Kuwabara, closes #3238)
* patch 8.0.1849: compiler warning for unused arguments, missing prototypev8.0.1849Bram Moolenaar2018-05-171-1/+1
| | | | | Problem: compiler warning for unused arguments and missing prototype Solution: Add UNUSED. Add static.
* patch 8.0.1448: segfault with exception inside :rubyfile commandv8.0.1448Bram Moolenaar2018-01-311-4/+11
| | | | | | | Problem: Segmentation fault when Ruby throws an exception inside :rubyfile command. Solution: Use rb_protect() instead of rb_load_protect(). (ujihisa, closes #2147, greywolf, closes #2512, #2511)
* patch 8.0.1236: Mac features are confusingv8.0.1236Bram Moolenaar2017-10-281-5/+9
| | | | | | Problem: Mac features are confusing. Solution: Make feature names more consistent, add "osxdarwin". Rename feature flags, cleanup Mac code. (Kazunobu Kuriyama, closes #2178)
* patch 8.0.1155: Ruby command triggers a warningv8.0.1155Bram Moolenaar2017-09-261-1/+1
| | | | | | Problem: Ruby command triggers a warning when RUBYOPT is set to "-w". Solution: use "-e_=0" instead of "-e0". (Masataka Pocke Kuwabara, closes #2143)
* patch 8.0.1137: cannot build with Rubyv8.0.1137Bram Moolenaar2017-09-221-1/+1
| | | | | Problem: Cannot build with Ruby. Solution: Fix misplaced brace.
* patch 8.0.1136: W_WIDTH() is always the samev8.0.1136Bram Moolenaar2017-09-221-1/+1
| | | | | Problem: W_WIDTH() is always the same. Solution: Expand the macro.
* patch 8.0.1118: FEAT_WINDOWS adds a lot of #ifdefsv8.0.1118Bram Moolenaar2017-09-161-10/+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.1047: buffer overflow in Rubyv8.0.1047Bram Moolenaar2017-09-031-1/+1
| | | | | Problem: Buffer overflow in Ruby. Solution: Allocate one more byte. (Dominique Pelle)
* 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)