Bram Moolenaar
4f97475d32
patch 8.1.0941: macros for MS-Windows are inconsistent
...
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-17 17:44:42 +01:00
Bram Moolenaar
63d1fea814
patch 8.1.0871: build error when building with Ruby 2.6.0
...
Problem: Build error when building with Ruby 2.6.0.
Solution: Change argument of rb_int2big_stub(). (Android Baumann,
closes #3899 )
2019-02-03 15:18:35 +01:00
Bram Moolenaar
b191be2f00
patch 8.1.0848: cannot build with Ruby 1.8
...
Problem: Cannot build with Ruby 1.8. (Tom G. Christensen)
Solution: Use rb-str_new2(). (Yasuhiro Matsumoto, closes #3883 ,
closes #3884 )
2019-01-30 21:00:12 +01:00
Bram Moolenaar
32526b3c18
patch 8.1.0779: argument for message functions is inconsistent
...
Problem: Argument for message functions is inconsistent.
Solution: Make first argument to msg() "char *".
2019-01-19 17:43:09 +01:00
Bram Moolenaar
f9e3e09fdc
patch 8.1.0743: giving error messages is not flexible
...
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-13 23:38:42 +01:00
Bram Moolenaar
6e5ea8d2a9
patch 8.1.0735: cannot handle binary data
...
Problem: Cannot handle binary data.
Solution: Add the Blob type. (Yasuhiro Matsumoto, closes #3638 )
2019-01-12 22:47:31 +01:00
Bram Moolenaar
f62fc316a2
patch 8.1.0704: building with Ruby 2.6 gives compiler warnings
...
Problem: Building with Ruby 2.6 gives compiler warnings.
Solution: Define a stub for rb_ary_detransient. (Ozaki Kiichi, closes #3779 )
2019-01-08 20:29:32 +01:00
Bram Moolenaar
b09c684195
patch 8.1.0646: cannot build with Ruby 2.6.0
...
Problem: Cannot build with Ruby 2.6.0.
Solution: Add rb_ary_detransient(). (Ozaki Kiichi, closes #3724 )
2018-12-27 22:11:01 +01:00
Bram Moolenaar
9d5c84a08f
patch 8.1.0609: MS-Windows: unused variable, depending on the Ruby version
...
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-12-19 20:48:46 +01:00
Bram Moolenaar
32d19c1820
patch 8.1.0380: "make proto" doesn't work well
...
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-09-13 17:26:54 +02:00
Bram Moolenaar
51e9fbf1c7
patch 8.1.0269: Ruby Kernel.#p method always returns nil
...
Problem: Ruby Kernel.#p method always returns nil.
Solution: Copy p method implementation from Ruby code. (Masataka Pocke
Kuwabara, closes #3315 )
2018-08-11 14:24:11 +02:00
Bram Moolenaar
218beb3e96
patch 8.1.0239: now Ruby build fails on other systems
...
Problem: Now Ruby build fails on other systems.
Solution: Always define rb_intern. (Ken Takata, closes #3275 )
2018-08-04 17:24:44 +02:00
Bram Moolenaar
82593c1a3a
patch 8.1.0236: Ruby build fails when ruby_intern is missing
...
Problem: Ruby build fails when ruby_intern is missing.
Solution: Do not use ruby_intern2. (Ken Takata)
2018-08-03 22:03:17 +02:00
Bram Moolenaar
f711cb2f12
patch 8.1.0232: Ruby error does not include backtrace
...
Problem: Ruby error does not include backtrace.
Solution: Add an error backtrace. (Masataka Pocke Kuwabara, closes #3267 )
2018-08-01 18:42:13 +02:00
Bram Moolenaar
d84b26a03b
patch 8.1.0220: Ruby converts v:true and v:false to a number
...
Problem: Ruby converts v:true and v:false to a number.
Solution: Use Qtrue and Qfalse instead. (Masataka Pocke Kuwabara,
closes #3259 )
2018-07-28 17:18:09 +02:00
Bram Moolenaar
53901442f3
patch 8.1.0212: preferred cursor column not set in interfaces
...
Problem: Preferred cursor column not set in interfaces.
Solution: Set w_set_curswant when setting the cursor. (David Hotham,
closes #3060 )
2018-07-25 22:02:36 +02:00
Bram Moolenaar
b6c8cd8dc3
patch 8.1.0209: stderr output from Ruby messes up display
...
Problem: Stderr output from Ruby messes up display.
Solution: Turn the stderr output into a Vim message. (Masataka Pocke
Kuwabara, closes #3238 )
2018-07-24 05:41:30 +02:00
Bram Moolenaar
0b39464f69
patch 8.0.1849: compiler warning for unused arguments, missing prototype
...
Problem: compiler warning for unused arguments and missing prototype
Solution: Add UNUSED. Add static.
2018-05-17 13:11:46 +02:00
Bram Moolenaar
37badc898b
patch 8.0.1448: segfault with exception inside :rubyfile command
...
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 )
2018-01-31 20:15:30 +01:00
Bram Moolenaar
d057301b1f
patch 8.0.1236: Mac features are confusing
...
Problem: Mac features are confusing.
Solution: Make feature names more consistent, add "osxdarwin". Rename
feature flags, cleanup Mac code. (Kazunobu Kuriyama, closes #2178 )
2017-10-28 21:11:06 +02:00
Bram Moolenaar
d1bc96ce24
patch 8.0.1155: Ruby command triggers a warning
...
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-26 21:21:44 +02:00
Bram Moolenaar
e745d75c3e
patch 8.0.1137: cannot build with Ruby
...
Problem: Cannot build with Ruby.
Solution: Fix misplaced brace.
2017-09-22 16:56:22 +02:00
Bram Moolenaar
0263146b5d
patch 8.0.1136: W_WIDTH() is always the same
...
Problem: W_WIDTH() is always the same.
Solution: Expand the macro.
2017-09-22 15:20:32 +02:00
Bram Moolenaar
4033c55eca
patch 8.0.1118: FEAT_WINDOWS adds a lot of #ifdefs
...
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-16 20:54:51 +02:00
Bram Moolenaar
00ccf54630
patch 8.0.1047: buffer overflow in Ruby
...
Problem: Buffer overflow in Ruby.
Solution: Allocate one more byte. (Dominique Pelle)
2017-09-03 15:17:48 +02:00
Bram Moolenaar
c593fee0e5
patch 8.0.0270: may get ml_get error when :rubydo deletes lines
...
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-29 23:11:25 +01:00
Bram Moolenaar
4f391796b7
patch 8.0.0191: can't build with Ruby on some systems
...
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-15 16:59:07 +01:00
Bram Moolenaar
fe6ce331d9
patch 8.0.0187: cant build with new Ruby version
...
Problem: Building with a new Ruby version fails.
Solution: Use ruby_sysinit() instead of NtInitialize(). (Tomas Volf,
closes #1382 )
2017-01-14 20:12:01 +01:00
Bram Moolenaar
6abda995a5
patch 8.0.0163: cannot build with Ruby 2.4
...
Problem: Ruby 2.4 no longer supports rb_cFixnum.
Solution: move rb_cFixnum into an #ifdef. (Kazuki Sakamoto, closes #1365 )
2017-01-09 21:10:31 +01:00
Bram Moolenaar
edf3f97ae2
patch 7.4.2293
...
Problem: Modelines in source code are inconsistant.
Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
2016-08-29 22:49:24 +02:00
Bram Moolenaar
2932359000
patch 7.4.2101
...
Problem: Looping over windows, buffers and tab pages is inconsistant.
Solution: Use FOR_ALL_ macros everywhere. (Yegappan Lakshmanan)
2016-07-24 22:04:11 +02:00
Bram Moolenaar
2016ae586b
patch 7.4.1929
...
Problem: Inconsistent indenting and weird name.
Solution: Fix indent, make name all upper case. (Ken Takata)
2016-06-13 20:08:43 +02:00
Bram Moolenaar
06469e979f
patch 7.4.1922
...
Problem: Ruby 2.4.0 unifies Fixnum and Bignum into Integer.
Solution: Use rb_cInteger. (Weiong Mao)
2016-06-11 22:26:53 +02:00
Bram Moolenaar
9b0ac229bc
patch 7.4.1863
...
Problem: Compiler warnings on Win64.
Solution: Adjust types, add type casts. (Ken Takata)
2016-06-01 20:31:43 +02:00
Bram Moolenaar
758535a1df
patch 7.4.1689
...
Problem: Ruby interface has inconsistent coding style.
Solution: Fix the coding style. (Ken Takata)
2016-03-30 22:06:16 +02:00
Bram Moolenaar
44a2f923c0
patch 7.4.1611
...
Problem: The versplit feature makes the code uneccessary complicated.
Solution: Remove FEAT_VERTSPLIT, always support vertical splits when
FEAT_WINDOWS is defined.
2016-03-19 22:11:51 +01:00
Bram Moolenaar
6aa2cd4be2
patch 7.4.1334
...
Problem: Many compiler warnings with MingW.
Solution: Add type casts. (Yasuhiro Matsumoto)
2016-02-16 15:06:59 +01:00
Bram Moolenaar
68c2f638e6
patch 7.4.1208
...
Problem: Using old style function declarations.
Solution: Change to new style function declarations. (script by Hirohito
Higashi)
2016-01-30 17:24:07 +01:00
Bram Moolenaar
520e1e41f3
patch 7.4.1154
...
Problem: No support for JSON.
Solution: Add jsonencode() and jsondecode(). Also add v:false, v:true,
v:null and v:none.
2016-01-23 19:46:28 +01:00
Bram Moolenaar
ef26954a35
patch 7.4.1133
...
Problem: Generated function prototypes still have __ARGS().
Solution: Generate function prototypes without __ARGS().
2016-01-19 13:22:12 +01:00
Bram Moolenaar
25e4fcde76
patch 7.4.1065
...
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.
2016-01-09 14:57:47 +01:00
Bram Moolenaar
0d27f64f71
patch 7.4.987
...
Problem: Can't build with Ruby 1.9.2.
Solution: Require Rub 2.0 for defining USE_TYPEDDATA.
2015-12-28 22:05:28 +01:00
Bram Moolenaar
f2f6d29796
patch 7.4.985
...
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)
2015-12-28 20:57:10 +01:00
Bram Moolenaar
9b1067e038
patch 7.4.927
...
Problem: Ruby crashes when there is a runtime error.
Solution: Use ruby_options() instead of ruby_process_options(). (Damien)
2015-11-19 19:33:15 +01:00
Bram Moolenaar
d94464ee29
patch 7.4.907
...
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 )
2015-11-02 15:28:18 +01:00
Bram Moolenaar
bbc1a592a0
patch 7.4.705
...
Problem: Can't build with Ruby 2.2.
Solution: Add #ifdefs to handle the incompatible change. (Andrei Olsen)
2015-04-21 15:25:31 +02:00
Bram Moolenaar
0c7485fdbb
updated for version 7.4.570
...
Problem: Building with dynamic library does not work for Ruby 2.2.0
Solution: Change #ifdefs and #defines. (Ken Takata)
2015-01-14 14:04:10 +01:00
Bram Moolenaar
9014074913
updated for version 7.4.534
...
Problem: Warnings when compiling if_ruby.c.
Solution: Avoid the warnings. (Ken Takata)
2014-11-27 17:44:08 +01:00
Bram Moolenaar
3e9a161496
updated for version 7.4.511
...
Problem: Generating proto for if_ruby.c uses type not defined elsewhere.
Solution: Do not generate a prototype for
rb_gc_writebarrier_unprotect_promoted()
2014-11-12 16:05:04 +01:00
Bram Moolenaar
498af70e06
updated for version 7.4.227
...
Problem: Can't build with Ruby 1.8.
Solution: Do include a check for the Ruby version. (Ken Takata)
2014-03-28 21:58:21 +01:00