summaryrefslogtreecommitdiffhomepage
path: root/mrbgems
AgeCommit message (Collapse)Author
2018-08-25Check size of the integer multiply before actual overflow; fix #4062Yukihiro "Matz" Matsumoto
2018-07-31Bytecode support for `mrdb`.Yukihiro "Matz" Matsumoto
2018-07-30Keyword argument implemented.Yukihiro "Matz" Matsumoto
2018-07-30New bytecode implementation of mruby VM.Yukihiro "Matz" Matsumoto
2018-07-23Kernel#instance_eval should define singleton methods; fix #4069Yukihiro "Matz" Matsumoto
2018-07-21Network services might not be availableSebastián Katzer
2018-07-11Merge pull request #4068 from yurie/mrbcYukihiro "Matz" Matsumoto
add mrbc option `--remove-lv`
2018-07-10move mrb_irep_remove_lv to codegen.c in mruby-compileryuri
2018-07-10add mrbc option `--remove-lv`yuri
* refactor: move `irep_remove_lv` from `mruby-bin-strip` gem to src/dump and rename to `mrb_irep_remove_lv` * add: mrbc option `--remove-lv` to remove LVAR section
2018-07-08Fix task name is not necessarily a valid pathSebastián Katzer
Errno::ENOENT: No such file or directory @ dir_s_mkdir - mruby:Z:/Documents
2018-07-02Support MRB_WITHOUT_FLOAT to mruby-ioYusuke Endoh
2018-06-20Merge pull request #4052 from take-cheeze/fix_mtime_testYukihiro "Matz" Matsumoto
Use temporary file name for `File#mtime` test to avoid conflicts.
2018-06-20Use temporary name for `File#mtime` test to avoid conflicts.take-cheeze
2018-06-20Merge pull request #4050 from take-cheeze/fix_build_scriptYukihiro "Matz" Matsumoto
Fix build scripts.
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-19Merge pull request #4047 from kou/stop-to-use-freed-valueYukihiro "Matz" Matsumoto
Stop to use freed value
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-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-14Check for switching to uninitialized fiber; fix #4041Yukihiro "Matz" Matsumoto
The problem was caused by `Fiber.current.resume'.
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-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-06add test for evalIchito Nagata
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-05-23Add `then` alias to `yield_self`.Yukihiro "Matz" Matsumoto
`then' was added in CRuby 2.6.
2018-05-10Fix test of mruby-pack with big-endian CPUsNobuhiro Iwamatsu
When running the mruby-pack test with big endian, test data is incorrect, so it will fail with "i" and "I". ------ Fail: pack/unpack "i" (mrbgems: mruby-pack) - Assertion[1] Failed: Expected to be equal Expected: "\xff\xff\xc7\xcf" Actual: "\xff\xff\xcf\xc7" - Assertion[2] Failed: Expected to be equal Expected: [-12345] Actual: [-14385] Fail: pack/unpack "I" (mrbgems: mruby-pack) - Assertion[1] Failed: Expected to be equal Expected: "\x00\x0090" Actual: "\x00\x0009" - Assertion[2] Failed: Expected to be equal Expected: [12345] Actual: [14640] ------ This will fix the test data at big-endian. Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
2018-05-08Fix CI build errors and warnings.Hiroshi Mimaki
2018-05-07Add `-r` option for `mruby` and `mirb`.Hiroshi Mimaki
2018-05-07Fix CI build errors and warnings.Hiroshi Mimaki
2018-05-02Add `-d` option for `mruby` and `mirb`.Hiroshi Mimaki
2018-05-01Update `MRB_FLO_TO_STR_FMT` to "%.16g"; fix #4016Yukihiro "Matz" Matsumoto
2018-05-01Check the return value from `mrb_get_datatype()`; fix #4009Yukihiro "Matz" Matsumoto
The return value (void*) may be NULL. Avoid using `mrb_get_datatype()` directly and use `io_get_open_fptr()` instead.
2018-05-01Fix stack position in multiple assignment; fix #4008Yukihiro "Matz" Matsumoto
This was caused by a patch from #2684.
2018-04-21Implement `String#upto` in Ruby.Yukihiro "Matz" Matsumoto
Avoid using `mrb_yield` in C code. The function is not recommended. Because it doesn't work well with fibers.