summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2017-08-10VM stack may be reallocated during `mrb_hash_get`; fix #3771Yukihiro "Matz" Matsumoto
2017-08-10Merge pull request #3770 from christopheraue/tabs_to_spacesYukihiro "Matz" Matsumoto
Replaced tabs with spaces
2017-08-09Replaced tabs with spacesChristopher Aue
2017-08-09Merge branch 'vvakame-add-hash-compact'Yukihiro "Matz" Matsumoto
2017-08-09Implement `Hash#compact!` in C; ref #3769Yukihiro "Matz" Matsumoto
2017-08-09add method(compact, compact!) and test of Hash to mruby-hash-extvvakame
2017-08-09Wrong blkargs pos for vararg; ref #3768Yukihiro "Matz" Matsumoto
2017-08-09The block argument offset saved in the env was wrong; fix #3768Yukihiro "Matz" Matsumoto
When the method takes variable number of argument (`argc = -1`), the block argument offset should be `-1` not `0`.
2017-08-09Support `break` within rescue clauses; fix #3767 ref #3721Yukihiro "Matz" Matsumoto
2017-08-08Float values divided by zero should honor signs; fix #3766Yukihiro "Matz" Matsumoto
It also fixes unexpected resurrection of #3745 by #3752
2017-08-08Set the current `pc` as the error position in `OP_ERR`; ref #3765Yukihiro "Matz" Matsumoto
2017-08-08Check if `ptr` is NULL before calling `memset`; fix #3765Yukihiro "Matz" Matsumoto
2017-08-07Merge pull request #3764 from christopheraue/new_hash_perfYukihiro "Matz" Matsumoto
Improved speed of creating new hash tables
2017-08-05Prevented resizing just created hashes in specific size rangesChristopher Aue
2017-08-04Improved speed of creating new hash tablesChristopher Aue
2017-08-05`proc->body.irep` may be NULL; fix #3761Yukihiro "Matz" Matsumoto
2017-08-05Fixed heap buffer overflow in `mrb_ary_unshift_m`; fix #3760Yukihiro "Matz" Matsumoto
2017-08-05Change return type of `scan_oct` from `int` to `int32_t`.Yukihiro "Matz" Matsumoto
2017-08-05Left shift of signed integers is undefined behavior in C; fix #3762Yukihiro "Matz" Matsumoto
2017-08-04Merge pull request #3763 from mimaki/fix-mrdb-source-pathYukihiro "Matz" Matsumoto
Fixed a invalid source path name on mruby debugger.
2017-08-04Fixed a invalid source path name on mruby debugger.Hiroshi Mimaki
2017-08-02Now `local_variables` works when for closures; fix #3710Yukihiro "Matz" Matsumoto
2017-08-01Better class name management.Yukihiro "Matz" Matsumoto
The change removes several internal instance variables used by class name management. The variables `__classid__` and `__classpath__` are no longer available. `__outer__` is used only for unnamed outer classes/modules (and will be removed after they are named). [Important note] Along with this change we removed several public functions. - mrb_class_outer_module() - mrb_class_sym() We believe no one have used those functions, but if you do, please ask us for the workaround.
2017-08-01Cosmetic changes (removing spaces before `*` in return types).Yukihiro "Matz" Matsumoto
2017-08-01Move naming unnamed classes/modulesYukihiro "Matz" Matsumoto
From `mrb_mod_const_set` to `mrb_const_set`.
2017-08-01Reimplement constant look-up rule to follow lexical scoping.Yukihiro "Matz" Matsumoto
This update fix CRuby scoping incompatibility; close #600; close #3200
2017-08-01Implements `Module::nesting' (15.2.2.3.2); ref #600, #3200Yukihiro "Matz" Matsumoto
2017-07-31Merge pull request #3759 from christopheraue/authors_updateYukihiro "Matz" Matsumoto
Updated AUTHORS
2017-07-31Merge pull request #3758 from christopheraue/enumeration_perfYukihiro "Matz" Matsumoto
Improved speed of enumeration methods
2017-07-30Updated AUTHORSChristopher Aue
2017-07-30Improved speed of enumeration methodsChristopher Aue
2017-07-29Merge branch 'udzura-move-task-class-definitions'Yukihiro "Matz" Matsumoto
2017-07-29Merge branch 'move-task-class-definitions' of ↵Yukihiro "Matz" Matsumoto
https://github.com/udzura/mruby into udzura-move-task-class-definitions
2017-07-29Merge pull request #3757 from christopheraue/module_const_get_class_pathYukihiro "Matz" Matsumoto
Extended Module#const_get to support class paths
2017-07-29Merge pull request #3755 from christopheraue/array_bsearch_indexYukihiro "Matz" Matsumoto
Added Array#bsearch_index
2017-07-29Merge pull request #3756 from christopheraue/fix_mod_include_ret_valYukihiro "Matz" Matsumoto
Fixed return value of Module#include and #prepend
2017-07-28Added Array#bsearch_indexChristopher Aue
2017-07-28Refactored Array#bsearchChristopher Aue
2017-07-28Extended Module#const_get to support class pathsChristopher Aue
2017-07-28Added mrb_str_index to the mrb APIChristopher Aue
2017-07-28Fixed return value of Module#include and #prependChristopher Aue
2017-07-28Tested Array#bsearch more thoroughlyChristopher Aue
2017-07-27Rename `MRB_SEGMENT_SIZE` to `MRB_IV_SEGMENT_SIZE`.Yukihiro "Matz" Matsumoto
2017-07-27Always use `MRB_USE_IV_SEGLIST`.Yukihiro "Matz" Matsumoto
2017-07-27Embed small size array elements in the heap.Yukihiro "Matz" Matsumoto
It reduces the memory consumption and sometimes improve the performance as well. For example, the consumed memory size of `bench/bm_ao_render.rb` is reduced from 1.2GB to 1GB, and its total execution time become 18.795 sec from 22.229 sec.
2017-07-27Remove loop from `OP_POPERR`.Yukihiro "Matz" Matsumoto
2017-07-26`(0).div(0.0)` should be NaN; fix #3754Yukihiro "Matz" Matsumoto
2017-07-25`(0.0).div(0)` should not be infinity; fix #3753Yukihiro "Matz" Matsumoto
2017-07-25`0/0` should not be infinity; fix #3752Yukihiro "Matz" Matsumoto
2017-07-25Reimplement sort method to reduce array copying.Yukihiro "Matz" Matsumoto