summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2018-06-20Merge pull request #4049 from take-cheeze/fix_mirb_leakYukihiro "Matz" Matsumoto
Fix memory leaks in mirb.
2018-06-20Make codacy happy.take-cheeze
2018-06-20Fix dependencies.take-cheeze
2018-06-20Comment out unused variable.take-cheeze
2018-06-20Fix forgotten argument passing.take-cheeze
2018-06-20Fix dependencies.take-cheeze
2018-06-20Add forgotten `mkdir_p`s.take-cheeze
2018-06-20Fix memory leaks in mirb.take-cheeze
2018-06-20Add test_dependency from mruby-io to mruby-time.Yukihiro "Matz" Matsumoto
2018-06-20Turn off `enable_debug` flag in `build_config.rb` by default.Yukihiro "Matz" Matsumoto
This will improve the default performance of mruby; fix #4045
2018-06-20Merge pull request #4048 from kou/export-mrb-utf8-localeYukihiro "Matz" Matsumoto
Export mrb_utf8_from_locale() and mrb_locale_from_utf8()
2018-06-20Export mrb_utf8_from_locale() and mrb_locale_from_utf8()Kouhei Sutou
2018-06-19Merge pull request #4047 from kou/stop-to-use-freed-valueYukihiro "Matz" Matsumoto
Stop to use freed value
2018-06-19Merge pull request #4046 from kou/fix-wrong-free-functionYukihiro "Matz" Matsumoto
Fix wrong free function
2018-06-19Stop to use freed valueKouhei Sutou
2018-06-19Fix wrong free functionKouhei Sutou
mrb_locale_free() should be used for the return value of mrb_locale_from_utf8().
2018-06-15Fixed wrong usages of `mrb_raisef()`; ref #4043Yukihiro "Matz" Matsumoto
`mrb_raisef()` only takes `%S` specifier. If you don't have extra arguments, use `mrb_raise()`.
2018-06-14Resolve sign comparison warning; ref #4044Yukihiro "Matz" Matsumoto
2018-06-14Merge pull request #4044 from iij/fixes-from-iij-socketTomoyuki Sahara
incorporate fixes from iij/socket
2018-06-14sa_family_t is not defined on windows.Tomoyuki Sahara
2018-06-14set sockaddr_un.sun_len on the systems that have sockaddr.sa_len.Tomoyuki Sahara
If your system has sa_len but is not BSD-derived, define HAVE_SA_LEN=1 on mrbgem.rake or build_config.rb.
2018-06-14struct sockaddr_un can be truncated.Tomoyuki Sahara
When we have "struct sockaddr_un *s_un", we could not assume *s_un points to a memory region which size is at least sizeof(*s_un). Even worse, it may be shorter than sizeof(struct sockaddr) on some systems.
2018-06-14struct sockaddr_un can be shorter than struct sockaddr.Tomoyuki Sahara
ref: https://github.com/iij/mruby-socket/issues/45
2018-06-14Restore GC arena after raised exceptions; ref #4042Yukihiro "Matz" Matsumoto
2018-06-14Need to add a write barrier for ranges; fix #4042Yukihiro "Matz" Matsumoto
Ranges are almost immutable but `initialize` and `initialize_copy` modify the receiver so that we need to add a write barrier.
2018-06-14Check for switching to uninitialized fiber; fix #4041Yukihiro "Matz" Matsumoto
The problem was caused by `Fiber.current.resume'.
2018-06-14Merge pull request #4043 from take-cheeze/fix_test_depYukihiro "Matz" Matsumoto
Fix unnecessary rebuild of tests.
2018-06-13Fix unnecessary rebuild of tests.take-cheeze
2018-06-11Revert "No longer need to insert write barriers for fibers."Yukihiro "Matz" Matsumoto
This reverts commit c6736357a72049a0eb2a31ccabcc3cd2baba7c9e. The assumption was wrong and caused the issue; fix #4020
2018-06-11Retrieve `b` operand from the instruction (for debugging); ref #4020Yukihiro "Matz" Matsumoto
2018-06-08`mrb_class_real()` did not work for `BasicObject`; fix #4037Yukihiro "Matz" Matsumoto
2018-06-07Allow `Object#clone` to copy frozen status only; fix #4036Yukihiro "Matz" Matsumoto
Copying all flags from the original object may overwrite the clone's flags e.g. the embedded flag.
2018-06-07Merge pull request #4035 from katzer/patch-1Yukihiro "Matz" Matsumoto
[mruby-socket] Declare inet_ntop and inet_pton as static
2018-06-07Merge pull request #4039 from i110/i110/fix-broken-lexical-variablesYukihiro "Matz" Matsumoto
fix broken lexical variables
2018-06-07Extend stack when pushing arguments that does not fit in; fix #4038Yukihiro "Matz" Matsumoto
2018-06-07Export `stack_extend` function (renamed `mrb_stack_extend`); fix #3219Yukihiro "Matz" Matsumoto
This change is required to support #4038.
2018-06-06add test for evalIchito Nagata
2018-06-06Revert "Fix heap use after free on mruby-aws-sigv4."Ichito Nagata
This reverts commit b8869498b7b1458af1cf2a5ccc7644849f826230.
2018-06-05Declare inet_ntop and inet_pton as static Sebastián Katzer
To avoid conflicts with multiple definitions of inet_ntop and inet_pton if compiled with # define _WIN32_WINNT _WIN32_WINNT_VISTA C:/mingw-w64/x86_64-7.2.0-posix-seh-rt_v5-rev1/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/lib/../lib/libWs2_32.a(dghfs00169.o):(.text+0x0): multiple definition of `inet_pton' 722C:/projects/iss/mruby/build/host/lib/libmruby.a(socket.o):C:/projects/iss/mruby/mrbgems/mruby-socket/src/socket.c:80: first defined here define _WIN32_WINNT _WIN32_WINNT_VISTA
2018-06-03Merge pull request #4033 from i110/i110/fix-envadjustYukihiro "Matz" Matsumoto
fix env->stack misadjusting: fix #4029
2018-06-03fix env->stack misadjustingIchito Nagata
2018-06-01Instead of defining `Hash#dup`, we should define `Hash#initialize_copy`.Yukihiro "Matz" Matsumoto
`Hash#clone` did not work properly; fix #4030
2018-06-01The `clone` method should copy object status (e.g. frozen) too; #4030Yukihiro "Matz" Matsumoto
2018-06-01Merge pull request #4031 from i110/i110/hash_defaultYukihiro "Matz" Matsumoto
let Hash#merge keep ifnone value
2018-06-01let Hash#merge keep ifnone valueIchito Nagata
2018-05-30Should not call `initialize_copy` for `TT_ICLASS`; fix #4027Yukihiro "Matz" Matsumoto
Since `TT_ICLASS` is a internal object that should never be revealed to Ruby world.
2018-05-30Clear `__classname__` of duped class/module; ref #4027Yukihiro "Matz" Matsumoto
2018-05-23Check if the exception is frozen; fix #4025Yukihiro "Matz" Matsumoto
`exc_debug_info()` and `mrb_keep_backtrace()` raise `FrozenError` if the exception is frozen and lead to infinite loop.
2018-05-23Add `then` alias to `yield_self`.Yukihiro "Matz" Matsumoto
`then' was added in CRuby 2.6.
2018-05-11Merge pull request #4023 from iwamatsu/fix-upstreamYukihiro "Matz" Matsumoto
Fix test of mruby-pack with big-endian CPUs