- 06 Sep, 2018 7 commits
-
-
Yukihiro "Matz" Matsumoto authored
I misunderstood the return value from `snprintf()`, which is NOT number of characters written in buffer, but the number of character the buffer has to have to write the complete output.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
But when `MRB_WITHOUT_FLOAT` is set, there's no way to sleep for sub seconds. So mruby specific `usleep` is provided.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
- 05 Sep, 2018 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
* Method implementation functions made `static`. * Function declaration style has been changed. * Unnecessary header file `mrb_sleep.h` removed. * Used `mrb_get_args()` instead of self parsing. * Indentation kept untouched.
-
Yukihiro "Matz" Matsumoto authored
-
- 04 Sep, 2018 9 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Support verbose mode in bintest.
-
Yukihiro "Matz" Matsumoto authored
`argv` may be retrieved from an array whose `ptr` is `NULL` when it`s empty.
-
Yukihiro "Matz" Matsumoto authored
This reverts commit c96def7c. This change was from my misunderstanding.
-
Yukihiro "Matz" Matsumoto authored
This change was inspired by [ruby-bugs#7573]
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Avoid root fiber initialization for CRuby.
-
take-cheeze authored
closes #4085.
-
take-cheeze authored
-
- 03 Sep, 2018 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
Reversing gems final
-
- 02 Sep, 2018 1 commit
-
-
dearblue authored
-
- 01 Sep, 2018 7 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
It causes trouble for safe navigation operator.
-
Yukihiro "Matz" Matsumoto authored
But `BasicObject#__send__` is still available from the core.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
- 30 Aug, 2018 4 commits
-
-
Yukihiro "Matz" Matsumoto authored
The bytecode format was updated so the header version constants must be updated as well.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Unlike `mrb_check_hash_type()` that returns `nil` if the argument is not a `Hash`, `mrb_ensure_hash_type()` raises a `TypeError` exception.
-
Yukihiro "Matz" Matsumoto authored
We assume meta-programming is less used in embedded environments. We have moved following methods: * Kernel module global_variables, local_variables, singleton_class, instance_variables, instance_variables_defined?, instance_variable_get, instance_variable_set, methods, private_methods, public_methods, protected_methods, singleton_methods, define_singleton_methods * Module class class_variables, class_variables_defined?, class_variable_get, class_variable_set, remove_class_variable, included_modules, instance_methods, remove_method, method_removed, constants * Module class methods constants, nesting Note: Following meta-programming methods are kept in the core: * Module class alias_method, undef_method, ancestors, const_defined?, const_get, const_set, remove_const, method_defined?, define_method * Toplevel object define_method `mruby-metaprog` gem is linked by default (specified in default.gembox). When it is removed, it will save 40KB (stripped:8KB) on x86-64 environment last time I measured.
-
- 29 Aug, 2018 9 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
This problem only appears when `mrb` executed multiple times (i.e. `mirb`)
-
Yukihiro "Matz" Matsumoto authored
Use `uint32_t` instead. Theoretically `uint32_t` can overflow as well, but I think it is sufficient size for embeddable Ruby VM.
-
Yukihiro "Matz" Matsumoto authored
This commit also fix #4096.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
https://github.com/ukrainskiysergey/mrubyYukihiro "Matz" Matsumoto authored
Merge branch 'node_negate_fix' of https://github.com/ukrainskiysergey/mruby into ukrainskiysergey-node_negate_fix
-
Yukihiro "Matz" Matsumoto authored
Those small stack indexes can cause integer overflow.
-
Yukihiro "Matz" Matsumoto authored
A byte was too small to hold ensure&rescue stacks indexes.
-