summaryrefslogtreecommitdiff
path: root/src/if_ruby.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 9.0.1183: code is indented more than necessaryv9.0.1183Yegappan Lakshmanan2023-01-121-74/+75
| | | | | | Problem: Code is indented more than necessary. Solution: Use an early return where it makes sense. (Yegappan Lakshmanan, closes #11805)
* patch 9.0.0965: using one window for executing autocommands is insufficientv9.0.0965Bram Moolenaar2022-11-281-33/+42
| | | | | Problem: Using one window for executing autocommands is insufficient. Solution: Use up to five windows for executing autocommands.
* patch 9.0.0949: crash when unletting a variable while listing variablesv9.0.0949Bram Moolenaar2022-11-251-2/+2
| | | | | | Problem: Crash when unletting a variable while listing variables. Solution: Disallow changing a hashtable while going over the entries. (closes #11435)
* patch 9.0.0546: supporting Ruby 1.8 makes code complicatedv9.0.0546K.Takata2022-09-221-172/+69
| | | | | Problem: Supporting Ruby 1.8 makes code complicated. Solution: Drop Ruby 1.8 support, it is ancient. (Ken Takata, closes #11195)
* patch 9.0.0491: no good reason to build without the float featurev9.0.0491Bram Moolenaar2022-09-171-4/+0
| | | | | Problem: No good reason to build without the float feature. Solution: Remove configure check for float and "#ifdef FEAT_FLOAT".
* patch 9.0.0206: redraw flags are not named specificallyv9.0.0206Bram Moolenaar2022-08-141-6/+6
| | | | | Problem: Redraw flags are not named specifically. Solution: Prefix "UPD_" to the flags, for UPDate_screen().
* patch 8.2.4199: MS-Windows: Support for MSVC 2003 is not usefulv8.2.4199K.Takata2022-01-241-5/+0
| | | | | Problem: MS-Windows: Support for MSVC 2003 is not useful. Solution: Remove the exceptions for MSVC 2003. (Ken Takata, closes #9616)
* patch 8.2.4032: ATTRIBUTE_NORETURN is not neededv8.2.4032ichizok2022-01-071-1/+5
| | | | | Problem: ATTRIBUTE_NORETURN is not needed. Solution: Use NORETURN(). (Ozaki Kiichi, closes #9487)
* patch 8.2.3977: error messages are spread outv8.2.3977Bram Moolenaar2022-01-011-9/+9
| | | | | Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
* patch 8.2.3967: error messages are spread outv8.2.3967Bram Moolenaar2022-01-011-2/+2
| | | | | Problem: Error messages are spread out. Solution: Move more errors to errors.h.
* patch 8.2.3922: cannot build with dynamic Ruby 3.1v8.2.3922ichizok2021-12-281-10/+47
| | | | | | Problem: Cannot build with dynamic Ruby 3.1. Solution: Add "_EXTRA" variables for CI. Add missing functions. (Ozaki Kiichi, closes #9420)
* patch 8.2.3751: cannot assign a lambda to an option that takes a functionv8.2.3751Yegappan Lakshmanan2021-12-061-2/+2
| | | | | | Problem: Cannot assign a lambda to an option that takes a function. Solution: Automatically convert the lambda to a string. (Yegappan Lakshmanan, closes #9286)
* patch 8.2.3208: dynamic library load error does not mention why it failedv8.2.3208Martin Tournoij2021-07-241-1/+3
| | | | | Problem: Dynamic library load error does not mention why it failed. Solution: Add the error message. (Martin Tournoij, closes #8621)
* patch 8.2.2448: compilation error with Ruby 3.0v8.2.2448Bram Moolenaar2021-02-011-5/+7
| | | | | Problem: Compilation error with Ruby 3.0. Solution: Adjust #ifdefs and declaration. (Ken Takata, closes #7761)
* patch 8.2.2312: build failure with Ruby 3.0 and 32 bitsv8.2.2312Bram Moolenaar2021-01-081-0/+2
| | | | | Problem: Build failure with Ruby 3.0 and 32 bits. Solution: Add #ifdef. (closes #7638)
* patch 8.2.2254: Vim9: bool option type is numberv8.2.2254Bram Moolenaar2020-12-311-6/+2
| | | | | | Problem: Vim9: bool option type is number. Solution: Have get_option_value() return a different value for bool and number options. (closes #7583)
* patch 8.2.2235: build failure with some Ruby versionsv8.2.2235Bram Moolenaar2020-12-281-54/+89
| | | | | Problem: Build failure with some Ruby versions. Solution: Adjust the code for Ruby 3.0. (Ozaki Kiichi, closes #7564)
* patch 8.2.2126: Ruby: missing function prototypev8.2.2126Bram Moolenaar2020-12-101-0/+4
| | | | | Problem: Ruby: missing function prototype. Solution: Add the prototype.
* patch 8.2.2104: build problem with Ruby 2.7v8.2.2104Bram Moolenaar2020-12-061-8/+20
| | | | | Problem: Build problem with Ruby 2.7. Solution: Adjust function declarations. (Ozaki Kiichi, closes #7430)
* patch 8.2.0967: unnecessary type casts for vim_strnsave()v8.2.0967Bram Moolenaar2020-06-121-1/+1
| | | | | Problem: Unnecessary type casts for vim_strnsave(). Solution: Remove the type casts.
* patch 8.2.0853: ml_delete() often called with FALSE argumentv8.2.0853Bram Moolenaar2020-05-301-1/+1
| | | | | Problem: ml_delete() often called with FALSE argument. Solution: Use ml_delete_flags(x, ML_DEL_MESSAGE) when argument is TRUE.
* patch 8.2.0828: Travis: regexp patttern doesn't work everywherev8.2.0828Bram Moolenaar2020-05-261-1/+7
| | | | | Problem: Travis: regexp patttern doesn't work everywhere. Solution: Use [:blank:] instead of \b. (Ozaki Kiichi, closes #6146)
* patch 8.2.0541: Travis CI does not give compiler warningsv8.2.0541Bram Moolenaar2020-04-111-0/+6
| | | | | | Problem: Travis CI does not give compiler warnings. Solution: Add flags for warnings. Fix uncovered problems. (Ozaki Kiichi, closes #5898)
* patch 8.2.0500: using the same loop in many placesv8.2.0500Bram Moolenaar2020-04-021-1/+1
| | | | | Problem: Using the same loop in many places. Solution: Define more FOR_ALL macros. (Yegappan Lakshmanan, closes #5339)
* patch 8.2.0479: unloading shared libraries on exit has no purposev8.2.0479Bram Moolenaar2020-03-291-16/+0
| | | | | Problem: Unloading shared libraries on exit has no purpose. Solution: Do not unload shared libraries on exit.
* patch 8.2.0297: compiler warnings for the Ruby interfacev8.2.0297Bram Moolenaar2020-02-221-2/+10
| | | | | | Problem: Compiler warnings for the Ruby interface. Solution: Undefine a few macros, fix initialization. (Ozaki Kiichi, closes #5677)
* patch 8.2.0246: MSVC: deprecation warnings with Rubyv8.2.0246Bram Moolenaar2020-02-111-6/+6
| | | | | | Problem: MSVC: deprecation warnings with Ruby. Solution: Move _CRT_SECURE_NO_DEPRECATE to build file. (Ken Takata, closes #5622)
* patch 8.2.0111: VAR_SPECIAL is also used for booleansv8.2.0111Bram Moolenaar2020-01-111-3/+3
| | | | | Problem: VAR_SPECIAL is also used for booleans. Solution: Add VAR_BOOL for better type checking.
* patch 8.2.0100: macros for Ruby are too complicatedv8.2.0100Bram Moolenaar2020-01-071-84/+80
| | | | | | Problem: Macros for Ruby are too complicated. Solution: Do not use DYNAMIC_RUBY_VER, use RUBY_VERSION. (Ken Takata, closes #5452)
* patch 8.1.2387: using old C style commentsv8.1.2387Bram Moolenaar2019-12-041-49/+49
| | | | | Problem: Using old C style comments. Solution: Use // comments where appropriate.
* 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)