summaryrefslogtreecommitdiffhomepage
path: root/mrbgems
AgeCommit message (Collapse)Author
2018-09-01Move `Kernel#send` to `mruby-metaprog` gem.Yukihiro "Matz" Matsumoto
But `BasicObject#__send__` is still available from the core.
2018-09-01Use `__send__` instead of `send`.Yukihiro "Matz" Matsumoto
2018-08-30Separate meta-programming features to `mruby-metaprog` gem.Yukihiro "Matz" Matsumoto
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.
2018-08-30Remove consequent `OP_RETURN` by peephole optimization.Yukihiro "Matz" Matsumoto
2018-08-29Merge branch 'node_negate_fix' of https://github.com/ukrainskiysergey/mruby ↵Yukihiro "Matz" Matsumoto
into ukrainskiysergey-node_negate_fix
2018-08-29Check iseq buffer size before code emission; fix #4090Yukihiro "Matz" Matsumoto
The type of `s->pc` is now `uint16_t` that can be overflowed easily. Need more checks.
2018-08-28Merge branch 'mruby2-draft'Yukihiro "Matz" Matsumoto
2018-08-25Reduce integer casting warnings.Yukihiro "Matz" Matsumoto
2018-08-25fixup! New bytecode implementation of mruby VM.Yukihiro "Matz" Matsumoto
2018-08-25Hash splat `**` should not be ignored.Yukihiro "Matz" Matsumoto
Implemented by adding `OP_HASHCAT` that merges hashes.
2018-08-25Remove unused `NODE_*` constants from `node.h`.Yukihiro "Matz" Matsumoto
2018-08-25Add `NODE_KW_HASH` support in `mrb_parser_dump()`.Yukihiro "Matz" Matsumoto
2018-08-25Remove `arg_value` from `parse.y`.Yukihiro "Matz" Matsumoto
2018-08-25New bytecode implementation of mruby VM.Yukihiro "Matz" Matsumoto
2018-08-25Try to fix a fragile `File#mtime` test.Yukihiro "Matz" Matsumoto
2018-08-25Remove potential path to avoid uninitialized variable access.Yukihiro "Matz" Matsumoto
2018-08-25Simplify `mruby-inline-struct` tests.Yukihiro "Matz" Matsumoto
`gcc -O3` raises error on truncation using `snprintf`.
2018-08-25Fix misspelling words in commentsKazuhiro Sera
2018-08-25Reimplement `Hash#compact!` to conform the standard behavior.Yukihiro "Matz" Matsumoto
`Hash#compact!` should return `nil` if the receiver does not change.
2018-08-25Small refactoring.Yukihiro "Matz" Matsumoto
The macro `RCLASS_SUPER`, `RCLASS_IV_TBL` and `RCLASS_M_TBL` are removed from `include/mruby/class.h`.
2018-08-25Remove `nregs` member from `mrb_callinfo`.Yukihiro "Matz" Matsumoto
This means reducing one word per a call frame.
2018-08-25Should update `ci->env` to share the environment; fix #4073Yukihiro "Matz" Matsumoto
2018-08-25Check size of the integer multiply before actual overflow; fix #4062Yukihiro "Matz" Matsumoto
2018-08-18`Kernel#p` should return an array of arguments; fix #4083Yukihiro "Matz" Matsumoto
Although the return value is not defined in ISO, it is better to behave as CRuby does.
2018-08-13Try to fix a fragile `File#mtime` test.Yukihiro "Matz" Matsumoto
2018-08-13Remove potential path to avoid uninitialized variable access.Yukihiro "Matz" Matsumoto
2018-08-13Simplify `mruby-inline-struct` tests.Yukihiro "Matz" Matsumoto
`gcc -O3` raises error on truncation using `snprintf`.
2018-08-11Fix misspelling words in commentsKazuhiro Sera
2018-08-10Added push() after OP_SENDUkrainskiy Sergey
2018-08-09Small fixUkrainskiy Sergey
2018-08-09Fix weird behavior of the NODE_NEGATEUkrainskiy Sergey
2018-08-06Reimplement `Hash#compact!` to conform the standard behavior.Yukihiro "Matz" Matsumoto
`Hash#compact!` should return `nil` if the receiver does not change.
2018-08-06Small refactoring.Yukihiro "Matz" Matsumoto
The macro `RCLASS_SUPER`, `RCLASS_IV_TBL` and `RCLASS_M_TBL` are removed from `include/mruby/class.h`.
2018-08-01Remove `nregs` member from `mrb_callinfo`.Yukihiro "Matz" Matsumoto
This means reducing one word per a call frame.
2018-08-01Should update `ci->env` to share the environment; fix #4073Yukihiro "Matz" Matsumoto
2018-07-31Bytecode support for `mrdb`.Yukihiro "Matz" Matsumoto
2018-07-31Check size of the integer multiply before actual overflow; fix #4062Yukihiro "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.