summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2020-03-31Fix `mrb_funcall_with_block()` uses more GC arenadearblue
If `mrb->jmp` is `NULL` and the function `mrb_funcall_with_block()` is called, GC Arena is returned from the function with over-used. - A normal (no global exodus) return will consume two GC Arena's. - In the event of an exception, five GC Arena are consumed. This patch reduces consumption in both cases to one.
2020-03-31Merge pull request #4956 from dearblue/null-local_variablesYukihiro "Matz" Matsumoto
Fix NULL pointer dereferences in mrb_local_variables; fix #4955
2020-03-30Fix NULL pointer dereferences in mrb_local_variables; fix #4955dearblue
However, the behavior of `#call` on the method object of `local_variables` is not corrected.
2020-03-08Merge pull request #4954 from dearblue/nostdioYukihiro "Matz" Matsumoto
Improve configuration guard
2020-03-08Add configuration guard for `MRB_DISABLE_STDIO`dearblue
ref #4576 and ref #4947 * Need MRBAPI functions without `MRB_DISABLE_STDIO`: * mrbgems/mruby-bin-debugger * mrbgems/mruby-bin-mirb * mrbgems/mruby-bin-mrbc * mrbgems/mruby-bin-mruby * mrbgems/mruby-bin-strip * Need `stdio.h`: * mrbgems/mruby-io * mrbgems/mruby-print * Need `snprintf()` in `stdio.h`: * mrbgems/mruby-pack * mrbgems/mruby-sprintf
2020-03-08Remove unnecessary 'stdio.h'; ref #4947dearblue
'stdio.h' is included in 'mruby.h' ('mrbconf.h'). However, keep 'stdio.h' used by mruby-test.
2020-03-08Improve conflict error message of mruby-bin-debugger; ref 87d1b2a91dearblue
2020-03-08Merge pull request #4953 from Reckordp/BuildAndroidYukihiro "Matz" Matsumoto
Some rule to CrossBuild Android
2020-03-08Merge branch 'master' into BuildAndroidYukihiro "Matz" Matsumoto
2020-03-08Small refactoring on #4952Yukihiro "Matz" Matsumoto
Fix the argument of `mrb_file_is_absolute_path()`.
2020-03-08Merge pull request #4952 from Reckordp/masterYukihiro "Matz" Matsumoto
Traditional, UNC, and Drive Path
2020-03-08Let me in PleaseReckordp
2020-03-08Increase flexibility of CrossBuildReckordp
2020-03-08Let me in PleaseReckordp
2020-03-08Traditional, UNC, and Device Is Absolute?Reckordp
2020-03-08Commit from remoteReckordp
2020-03-08Evaluate all type pathReckordp
2020-03-07Merge branch 'dearblue-io-pread-pwrite'Yukihiro "Matz" Matsumoto
2020-03-07Small refactoring on #4939Yukihiro "Matz" Matsumoto
2020-03-07Use in-house macro `ISALPHA` instead of `isalpha`; ref #4950Yukihiro "Matz" Matsumoto
2020-03-07Merge branch 'io-pread-pwrite' of https://github.com/dearblue/mruby into ↵Yukihiro "Matz" Matsumoto
dearblue-io-pread-pwrite
2020-03-07Merge pull request #4951 from Reckordp/masterYukihiro "Matz" Matsumoto
Fix unfinished changes
2020-03-07Add absolute path for UNCReckordp
2020-03-07Fix typoReckordp
2020-03-07Merge the update suggested by @mattn; ref #4950Yukihiro "Matz" Matsumoto
2020-03-07Merge pull request #4950 from Reckordp/masterYukihiro "Matz" Matsumoto
Absolute path for windows
2020-03-07Absolute path for windowsReckordp
2020-03-04Merge pull request #4948 from kou/32bit-windows-method-t-structYukihiro "Matz" Matsumoto
Enable MRB_METHOD_T_STRUCT by default on 32bit Windows
2020-03-04Enable MRB_METHOD_T_STRUCT by default on 32bit WindowsSutou Kouhei
Because we can't use the highest 2 bits of function pointers.
2020-02-23Merge pull request #4946 from sizious/sega-dreamcast-exampleYukihiro "Matz" Matsumoto
Improving comments in the cross-compiling sample for the Sega Dreamcast.
2020-02-22Improving comments in the cross-compiling example for the Sega Dreamcast ↵SiZiOUS
(sh-elf).
2020-02-22Merge pull request #4945 from Leo-Neat/masterYukihiro "Matz" Matsumoto
Add CIFuzz action
2020-02-22Merge pull request #4944 from sizious/sega-dreamcast-exampleYukihiro "Matz" Matsumoto
Added example for cross-compiling for Sega Dreamcast (sh-elf).
2020-02-22Merge pull request #4942 from inobelar/patch-1Yukihiro "Matz" Matsumoto
Updated README.md - Fixed link to github issues
2020-02-21CIFuzz actionLeo Neat
2020-02-21Added example for cross-compiling for Sega Dreamcast (sh-elf).SiZiOUS
Thanks to @yujiyokoo for demonstrating mruby usage on Sega Dreamcast at RubyConf AU 2020! See more here: https://youtu.be/ni-1x5Esa_o
2020-02-21Updated README.md - Fixed link to github issuesYurii Nakonechnyi
2020-02-12Fix integer boundary check before `float` to `time_t` casting.Yukihiro "Matz" Matsumoto
2020-02-05Merge pull request #4941 from davidsiaw/mac-compatYukihiro "Matz" Matsumoto
Include time.h for ios
2020-02-03Add explicit type cast to return value from `mrmchr`; ref #4940Yukihiro "Matz" Matsumoto
C++ is stricter in implicit type casting.
2020-02-03Use simple search for short strings in `mrb_memsearch_qs`; close #4940Yukihiro "Matz" Matsumoto
Differences from the PR #4940: * Use simple search for short strings only. * "short" means `m+n` is shorter than `MRB_QS_SHORT_STRING_LENGTH`. * The current default value for `MRB_QS_SHORT_STRING_LENGTH` is 2048.
2020-02-02Implement `IO#pread` and `IO#pwrite`dearblue
It is available by default in environments where `__unix__` is defined. Other environments are enabled by defining `MRB_WITH_IO_PREAD_PWRITE` (requires an implementation of `pread()` and `pwrite()` functions). In any case, you can disable it by defining `MRB_WITHOUT_IO_PREAD_PWRITE`.
2020-02-01Merge pull request #4938 from dearblue/socket-mingwYukihiro "Matz" Matsumoto
Fix builds for old mingw in mruby-socket; ref #4914
2020-02-01Fix builds for old mingw in mruby-socket; ref #4914dearblue
2020-01-31Add explicit casting in `file.c` to silence warnings.Yukihiro "Matz" Matsumoto
2020-01-31Avoid casting warning from `mrb_int` to `int` in `io.c`.Yukihiro "Matz" Matsumoto
2020-01-31Avoid implicit integer casting in `backtrace.c` and `hash.c`.Yukihiro "Matz" Matsumoto
2020-01-31Remove unnecessary use of `uint16_t` in `symbol.c`.Yukihiro "Matz" Matsumoto
2020-01-30Fix arena index type from `mrb_int` to just `int`.Yukihiro "Matz" Matsumoto
2020-01-30Move fallback definitions of `FLT_EPSILON` etc. after `#include <mruby/value.h>`Yukihiro "Matz" Matsumoto
that includes `float.h`. It allows definitions from native headers.