summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2020-04-22Add new function `mrb_singleton_class_ptr()`; ref #4973Yukihiro "Matz" Matsumoto
The difference between `mrb_singleton_class` and `mrb_singleton_class_ptr`: - `mrb_singleton_class_ptr` returns `struct RClass*`. - `mrb_singleton_class_ptr` returns `NULL` on immediate values where `mrb_singleton_class` raises exceptions.
2020-04-21Removed comments mentioning `MRB_INT16`.Yukihiro "Matz" Matsumoto
2020-04-21Fix the bug by `#instance_eval` called via a method object; fix #4973Yukihiro "Matz" Matsumoto
The tranpoline code in 6a0b68f8b was wrong; reverted.
2020-04-21Simplified `mrb_obj_instance_eval`; ref #4973Yukihiro "Matz" Matsumoto
2020-04-21`Kernel#clone` and `Kernel#dup` no longer raise `TypeError`; fix #4974Yukihiro "Matz" Matsumoto
In ISO, those methods should raise `TypeError`, but the spec has been changed. The change was discussed in [Feature#12979].
2020-04-15Merge pull request #4968 from dearblue/check-fdYukihiro "Matz" Matsumoto
Check the file descriptor with `IO#initialize`; resolve #4966
2020-04-14Selecting fd should be less than `FD_SETSIZE`; close #4966Yukihiro "Matz" Matsumoto
2020-04-14Merge pull request #4972 from dearblue/boxnan-cptrYukihiro "Matz" Matsumoto
Fix `MRB_TT_CPTR` object with `MRB_NAN_BOXING`
2020-04-14Merge pull request #4969 from dearblue/nostdio-packYukihiro "Matz" Matsumoto
Support `MRB_DISABLE_STDIO` for mruby-pack; ref #4954
2020-04-14Merge pull request #4970 from dearblue/nostdio-sprintfYukihiro "Matz" Matsumoto
Support `MRB_DISABLE_STDIO` for mruby-sprintf; ref #4954
2020-04-14Merge pull request #4971 from dearblue/mruby-configYukihiro "Matz" Matsumoto
Fixed a build error in mruby-config
2020-04-13Fix `MRB_TT_CPTR` object with `MRB_NAN_BOXING`dearblue
Previously, if `MRB_NAN_BOXING` is defined, for example, `mrb_cptr_value()` could not keep an odd address. If it is `MRB_32BIT`, it can be embedded in `NaN` as it is. If it is `MRB_64BIT`, some operations are shared with `MRB_WORD_BOXING`. In this case, the MRB_API function `mrb_nan_boxing_cptr_value()` is defined.
2020-04-12Check the file descriptor with `IO#initialize`; resolve #4966dearblue
2020-04-11Support `MRB_DISABLE_STDIO` for mruby-sprintf; ref #4954dearblue
2020-04-11Add `mrb_float_to_cstr()` MRB_API functiondearblue
In order to share the same operation with `mrb_float_to_str()`, the internal structure is modified.
2020-04-11Supports some specifier flags with `mrb_float_to_str()`dearblue
Changed to understand `#`, `0`, `-`, ` ` and `+`. Based on src/stdio/vfprintf.c in git://git.musl-libc.org/musl
2020-04-11Supports width specifier with `mrb_float_to_str()`dearblue
Based on src/stdio/vfprintf.c in git://git.musl-libc.org/musl
2020-04-11Add missing `MRB_API`dearblue
2020-04-11Fixed a build error in mruby-configdearblue
The build error occurred when the "build/XXX/bin" directory did not exist.
2020-04-11Support `MRB_DISABLE_STDIO` for mruby-pack; ref #4954dearblue
2020-04-10Update version to `2.1.1`. (mruby 2.1.1 RC)2.1.1-rcHiroshi Mimaki
2020-04-08Merge pull request #4965 from mimaki/remove-cygwin_filenameYukihiro "Matz" Matsumoto
Merged `cygwin_filename()` into `filename()`.
2020-04-08Merged `cygwin_filename()` into `filename()` because Cygwin pathnames are in ↵mimaki
UNIX format.
2020-04-05Merge pull request #4960 from Reckordp/BuildAndroidYukihiro "Matz" Matsumoto
Validate windows by Dir testing
2020-04-04Unused library folderReckordp
2020-04-04Correct naming file from MingwReckordp
2020-04-04Revert part of #4959Yukihiro "Matz" Matsumoto
To prevent infinite loop on errors; reported by @shuujii
2020-04-03Helper for link window's libraryReckordp
2020-04-02Merge pull request #4959 from dsisnero/masterYukihiro "Matz" Matsumoto
build when directories and files have spaces
2020-04-01fix for quoting visualcppdsisnero
2020-04-01build when directories and files have spacesDominic Sisneros
Modified the build to quote filenames so that it builds when files have spaces
2020-04-01Avoid unnecessary `nextc()` recursion.Yukihiro "Matz" Matsumoto
2020-04-01Merge pull request #4957 from dearblue/excessive-arenaYukihiro "Matz" Matsumoto
Fix `mrb_funcall_with_block()` uses more GC arena
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