summaryrefslogtreecommitdiffstats
path: root/src/if_ruby.c
AgeCommit message (Collapse)Author
2020-02-22patch 8.2.0297: compiler warnings for the Ruby interfacev8.2.0297Bram Moolenaar
Problem: Compiler warnings for the Ruby interface. Solution: Undefine a few macros, fix initialization. (Ozaki Kiichi, closes #5677)
2020-02-11patch 8.2.0246: MSVC: deprecation warnings with Rubyv8.2.0246Bram Moolenaar
Problem: MSVC: deprecation warnings with Ruby. Solution: Move _CRT_SECURE_NO_DEPRECATE to build file. (Ken Takata, closes #5622)
2020-01-11patch 8.2.0111: VAR_SPECIAL is also used for booleansv8.2.0111Bram Moolenaar
Problem: VAR_SPECIAL is also used for booleans. Solution: Add VAR_BOOL for better type checking.
2020-01-07patch 8.2.0100: macros for Ruby are too complicatedv8.2.0100Bram Moolenaar
Problem: Macros for Ruby are too complicated. Solution: Do not use DYNAMIC_RUBY_VER, use RUBY_VERSION. (Ken Takata, closes #5452)
2019-12-04patch 8.1.2387: using old C style commentsv8.1.2387Bram Moolenaar
Problem: Using old C style comments. Solution: Use // comments where appropriate.
2019-04-14patch 8.1.1174: cannot build with Ruby 1.8v8.1.1174Bram Moolenaar
Problem: Cannot build with Ruby 1.8. (Tom G. Christensen) Solution: Include ruby/st.h. (Ozaki Kiichi, closes #4257)
2019-03-30patch 8.1.1086: too many curly bracesv8.1.1086Bram Moolenaar
Problem: Too many curly braces. Solution: Remove curly braces where they are not needed. (Hirohito Higashi, closes #3982)
2019-03-26patch 8.1.1056: no eval function for Rubyv8.1.1056Bram Moolenaar
Problem: No eval function for Ruby. Solution: Add rubyeval(). (Ozaki Kiichi, closes #4152)
2019-02-23patch 8.1.0977: blob not tested with Rubyv8.1.0977Bram Moolenaar
Problem: Blob not tested with Ruby. Solution: Add more test coverage. fixes a crash. (Dominique Pelle, closes #4036)
2019-02-18patch 8.1.0947: using MSWIN before it is definedv8.1.0947Bram Moolenaar
Problem: Using MSWIN before it is defined. (Cesar Romani) Solution: Move the block that uses MSWIN to below including vim.h. (Ken Takata)
2019-02-17patch 8.1.0941: macros for MS-Windows are inconsistentv8.1.0941Bram Moolenaar
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)
2019-02-03patch 8.1.0871: build error when building with Ruby 2.6.0v8.1.0871Bram Moolenaar
Problem: Build error when building with Ruby 2.6.0. Solution: Change argument of rb_int2big_stub(). (Android Baumann, closes #3899)
2019-01-30patch 8.1.0848: cannot build with Ruby 1.8v8.1.0848Bram Moolenaar
Problem: Cannot build with Ruby 1.8. (Tom G. Christensen) Solution: Use rb-str_new2(). (Yasuhiro Matsumoto, closes #3883, closes #3884)
2019-01-19patch 8.1.0779: argument for message functions is inconsistentv8.1.0779Bram Moolenaar
Problem: Argument for message functions is inconsistent. Solution: Make first argument to msg() "char *".
2019-01-13patch 8.1.0743: giving error messages is not flexiblev8.1.0743Bram Moolenaar
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.
2019-01-12patch 8.1.0735: cannot handle binary datav8.1.0735Bram Moolenaar
Problem: Cannot handle binary data. Solution: Add the Blob type. (Yasuhiro Matsumoto, closes #3638)
2019-01-08patch 8.1.0704: building with Ruby 2.6 gives compiler warningsv8.1.0704Bram Moolenaar
Problem: Building with Ruby 2.6 gives compiler warnings. Solution: Define a stub for rb_ary_detransient. (Ozaki Kiichi, closes #3779)
2018-12-27patch 8.1.0646: cannot build with Ruby 2.6.0v8.1.0646Bram Moolenaar
Problem: Cannot build with Ruby 2.6.0. Solution: Add rb_ary_detransient(). (Ozaki Kiichi, closes #3724)
2018-12-19patch 8.1.0609: MS-Windows: unused variable, depending on the Ruby versionv8.1.0609Bram Moolenaar
Problem: MS-Windows: unused variable, depending on the Ruby version. Solution: Put ruby_sysinit and NtInitialize inside #ifdef and make them consistent. (Ken Takata)
2018-09-13patch 8.1.0380: "make proto" doesn't work wellv8.1.0380Bram Moolenaar
Problem: "make proto" doesn't work well. Solution: Define a few more types for cproto. Update proto files. Fix that workshop didn't build.
2018-08-11patch 8.1.0269: Ruby Kernel.#p method always returns nilv8.1.0269Bram Moolenaar
Problem: Ruby Kernel.#p method always returns nil. Solution: Copy p method implementation from Ruby code. (Masataka Pocke Kuwabara, closes #3315)
2018-08-04patch 8.1.0239: now Ruby build fails on other systemsv8.1.0239Bram Moolenaar
Problem: Now Ruby build fails on other systems. Solution: Always define rb_intern. (Ken Takata, closes #3275)
2018-08-03patch 8.1.0236: Ruby build fails when ruby_intern is missingv8.1.0236Bram Moolenaar
Problem: Ruby build fails when ruby_intern is missing. Solution: Do not use ruby_intern2. (Ken Takata)
2018-08-01patch 8.1.0232: Ruby error does not include backtracev8.1.0232Bram Moolenaar
Problem: Ruby error does not include backtrace. Solution: Add an error backtrace. (Masataka Pocke Kuwabara, closes #3267)
2018-07-28patch 8.1.0220: Ruby converts v:true and v:false to a numberv8.1.0220Bram Moolenaar
Problem: Ruby converts v:true and v:false to a number. Solution: Use Qtrue and Qfalse instead. (Masataka Pocke Kuwabara, closes #3259)
2018-07-25patch 8.1.0212: preferred cursor column not set in interfacesv8.1.0212Bram Moolenaar
Problem: Preferred cursor column not set in interfaces. Solution: Set w_set_curswant when setting the cursor. (David Hotham, closes #3060)
2018-07-24patch 8.1.0209: stderr output from Ruby messes up displayv8.1.0209Bram Moolenaar
Problem: Stderr output from Ruby messes up display. Solution: Turn the stderr output into a Vim message. (Masataka Pocke Kuwabara, closes #3238)
2018-05-17patch 8.0.1849: compiler warning for unused arguments, missing prototypev8.0.1849Bram Moolenaar
Problem: compiler warning for unused arguments and missing prototype Solution: Add UNUSED. Add static.
2018-01-31patch 8.0.1448: segfault with exception inside :rubyfile commandv8.0.1448Bram Moolenaar
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)
2017-10-28patch 8.0.1236: Mac features are confusingv8.0.1236Bram Moolenaar
Problem: Mac features are confusing. Solution: Make feature names more consistent, add "osxdarwin". Rename feature flags, cleanup Mac code. (Kazunobu Kuriyama, closes #2178)
2017-09-26patch 8.0.1155: Ruby command triggers a warningv8.0.1155Bram Moolenaar
Problem: Ruby command triggers a warning when RUBYOPT is set to "-w". Solution: use "-e_=0" instead of "-e0". (Masataka Pocke Kuwabara, closes #2143)
2017-09-22patch 8.0.1137: cannot build with Rubyv8.0.1137Bram Moolenaar
Problem: Cannot build with Ruby. Solution: Fix misplaced brace.
2017-09-22patch 8.0.1136: W_WIDTH() is always the samev8.0.1136Bram Moolenaar
Problem: W_WIDTH() is always the same. Solution: Expand the macro.
2017-09-16patch 8.0.1118: FEAT_WINDOWS adds a lot of #ifdefsv8.0.1118Bram Moolenaar
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.
2017-09-03patch 8.0.1047: buffer overflow in Rubyv8.0.1047Bram Moolenaar
Problem: Buffer overflow in Ruby. Solution: Allocate one more byte. (Dominique Pelle)
2017-01-29patch 8.0.0270: may get ml_get error when :rubydo deletes linesv8.0.0270Bram Moolenaar
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.
2017-01-15patch 8.0.0191: can't build with Ruby on some systemsv8.0.0191Bram Moolenaar
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)
2017-01-14patch 8.0.0187: cant build with new Ruby versionv8.0.0187Bram Moolenaar
Problem: Building with a new Ruby version fails. Solution: Use ruby_sysinit() instead of NtInitialize(). (Tomas Volf, closes #1382)
2017-01-09patch 8.0.0163: cannot build with Ruby 2.4v8.0.0163Bram Moolenaar
Problem: Ruby 2.4 no longer supports rb_cFixnum. Solution: move rb_cFixnum into an #ifdef. (Kazuki Sakamoto, closes #1365)
2016-08-29patch 7.4.2293v7.4.2293Bram Moolenaar
Problem: Modelines in source code are inconsistant. Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
2016-07-24patch 7.4.2101v7.4.2101Bram Moolenaar
Problem: Looping over windows, buffers and tab pages is inconsistant. Solution: Use FOR_ALL_ macros everywhere. (Yegappan Lakshmanan)
2016-06-13patch 7.4.1929v7.4.1929Bram Moolenaar
Problem: Inconsistent indenting and weird name. Solution: Fix indent, make name all upper case. (Ken Takata)
2016-06-11patch 7.4.1922v7.4.1922Bram Moolenaar
Problem: Ruby 2.4.0 unifies Fixnum and Bignum into Integer. Solution: Use rb_cInteger. (Weiong Mao)
2016-06-01patch 7.4.1863v7.4.1863Bram Moolenaar
Problem: Compiler warnings on Win64. Solution: Adjust types, add type casts. (Ken Takata)
2016-03-30patch 7.4.1689v7.4.1689Bram Moolenaar
Problem: Ruby interface has inconsistent coding style. Solution: Fix the coding style. (Ken Takata)
2016-03-19patch 7.4.1611v7.4.1611Bram Moolenaar
Problem: The versplit feature makes the code uneccessary complicated. Solution: Remove FEAT_VERTSPLIT, always support vertical splits when FEAT_WINDOWS is defined.
2016-02-16patch 7.4.1334v7.4.1334Bram Moolenaar
Problem: Many compiler warnings with MingW. Solution: Add type casts. (Yasuhiro Matsumoto)
2016-01-30patch 7.4.1208v7.4.1208Bram Moolenaar
Problem: Using old style function declarations. Solution: Change to new style function declarations. (script by Hirohito Higashi)
2016-01-23patch 7.4.1154v7.4.1154Bram Moolenaar
Problem: No support for JSON. Solution: Add jsonencode() and jsondecode(). Also add v:false, v:true, v:null and v:none.
2016-01-19patch 7.4.1133v7.4.1133Bram Moolenaar
Problem: Generated function prototypes still have __ARGS(). Solution: Generate function prototypes without __ARGS().