summaryrefslogtreecommitdiffhomepage
path: root/mrbgems
AgeCommit message (Collapse)Author
2019-06-25Renamed `stacked` to `onstack`; ref #4523Yukihiro "Matz" Matsumoto
2019-06-23Merge pull request #4523 from dearblue/use-stackYukihiro "Matz" Matsumoto
Use stack memory for small name of Struct members
2019-06-22Merge pull request #4518 from ↵Yukihiro "Matz" Matsumoto
shuujii/add-ISO-section-number-to-Kernel-local_variables Add ISO section number to `Kernel.#local_variables` [ci skip]
2019-06-22Use stack memory for small name of Struct membersdearblue
2019-06-21Move `Kernel#__send__` test to core from `mruby-metaprog`KOBAYASHI Shuji
2019-06-20Add ISO section number to `Kernel.#local_variables` [ci skip]KOBAYASHI Shuji
2019-06-19Merge pull request #4510 from shuujii/remove-unneeded-mrb_str_dup-in-Module-nameYukihiro "Matz" Matsumoto
Remove unneeded `mrb_str_dup()` in `Module#name`
2019-06-18Fix path of `error.h`.Hiroshi Mimaki
2019-06-17Remove unneeded `mrb_str_dup()` in `Module#name`KOBAYASHI Shuji
`mrb_class_path()` always returns a new string or `nil`.
2019-06-17Merge pull request #4508 from ↵Yukihiro "Matz" Matsumoto
shuujii/fix-cvar-ivar-const-and-method-can-be-removed-to-frozen-object Fix cvar, ivar, const and method can be removed to frozen object
2019-06-17Merge pull request #4507 from shuujii/fix-index-in-error-message-of-Struct-arefYukihiro "Matz" Matsumoto
Fix index in error message of `Struct#[]`
2019-06-17Fixed indentation in parse.yYukihiro "Matz" Matsumoto
2019-06-17Allow newlines and comments between method calls.Yukihiro "Matz" Matsumoto
2019-06-17Support `&.` at the beginning of the line.Yukihiro "Matz" Matsumoto
2019-06-17Fixed wrong behavior on `..` at the beginning of the line.Yukihiro "Matz" Matsumoto
2019-06-17Merge pull request #4502 from ↵Yukihiro "Matz" Matsumoto
shuujii/adjust-allocation-size-in-mrb_id_attrset-mruby-struct Adjust allocation size in `mrb_id_attrset()` (`mruby-struct`)
2019-06-16Fix cvar, ivar, const and method can be removed to frozen objectKOBAYASHI Shuji
2019-06-15Fix index in error message of `Struct#[]`KOBAYASHI Shuji
Before this patch: $ bin/mruby -e 'Struct.new(:a,:b).new[-3]' #=> offset -1 too small for struct(size:2) (IndexError) After this patch (same as Ruby): $ bin/mruby -e 'Struct.new(:a,:b).new[-3]' #=> offset -3 too small for struct(size:2) (IndexError)
2019-06-14Remove a meaningless branch condition in `mruby-struct`KOBAYASHI Shuji
The following branch condition is always true: // mrbgems/mruby-struct/src/struct.c:187 in make_struct_define_accessors() if (is_local_id(mrb, name) || is_const_id(mrb, name)) {
2019-06-13Fix class name validation in `Struct.new`KOBAYASHI Shuji
Before this patch: $ bin/mruby -e 'p Struct.new("A-")' #=> Struct::"A-" After this patch: $ bin/mruby -e 'p Struct.new("A-")' #=> NameError: identifier A- needs to be constant
2019-06-13Merge pull request #4500 from ↵Yukihiro "Matz" Matsumoto
shuujii/kernel-global_variables-should-not-include-undefined-gvar `Kernel#global_variables` should not include undefined `$1`-`$9`
2019-06-12Fix typo in `String#setbyte` error messageKOBAYASHI Shuji
2019-06-12Adjust allocation size in `mrb_id_attrset()` (`mruby-struct`)KOBAYASHI Shuji
2019-06-11Remove redundant colon in `Proc#inspect` (`mruby-proc-ext`)KOBAYASHI Shuji
Before this patch: $ bin/mruby -e 'p proc{}' #=> #<Proc:0x7fd5eb8206d0@-e::1> After this patch: $ bin/mruby -e 'p proc{}' #=> #<Proc:0x7fd5eb8206d0@-e:1>
2019-06-11Merge pull request #4496 from dearblue/replace-obsoleteYukihiro "Matz" Matsumoto
Replace obsolete macros
2019-06-10`Kernel#global_variables` should not include undefined `$1`-`$9`KOBAYASHI Shuji
- They are not include in Ruby. - Appear in duplicate when `$1`-`$9` are defined.
2019-06-10Merge pull request #4495 from shuujii/remove-Kernel-global_variables-from-coreYukihiro "Matz" Matsumoto
Remove `Kernel#global_variables` from core
2019-06-07Replace obsolete macrosdearblue
2019-06-07Remove `Kernel#global_variables` from coreKOBAYASHI Shuji
This method is defined in `mruby-metaprog` gem.
2019-06-06Clarify `mruby-(kernel|object)-ext` gem summary; ref 8e637bdd [ci skip]KOBAYASHI Shuji
2019-06-02Fix missing assertions in `mruby-objectspace` testKOBAYASHI Shuji
2019-05-31Comment out the empty `Array#bsearch_index` testKOBAYASHI Shuji
2019-05-30Fix missing assertions in `mruby-fiber` testKOBAYASHI Shuji
2019-05-29`Kernel#itself` should not be a module functionKOBAYASHI Shuji
2019-05-29Slightly simplify `Rational#==`; ref #4475Yukihiro "Matz" Matsumoto
2019-05-29Merge pull request #4475 from shuujii/fix-Rational-eq-ComplexYukihiro "Matz" Matsumoto
Fix `Rational#==(Complex)`
2019-05-28Fix missing assertions in `mruby-pack` testKOBAYASHI Shuji
2019-05-27Fix `Rational#==(Complex)`KOBAYASHI Shuji
Consider a Numreic class like `Complex` that does not have `<=>` but `==` works (`0i == 0r` is `true`).
2019-05-27Make some functions static in `mrbgems/mruby-metaprog/src/metaprog.c`KOBAYASHI Shuji
2019-05-27Merge pull request #4472 from ↵Yukihiro "Matz" Matsumoto
shuujii/move-mrb_mod_s_nesting-to-mruby-metaprog-gem-from-the-core Move `mrb_mod_s_nesting()` to `mruby-metaprog` gem from the core
2019-05-26Move `mrb_mod_s_nesting()` to `mruby-metaprog` gem from the coreKOBAYASHI Shuji
2019-05-26Add `Complex.rect`KOBAYASHI Shuji
2019-05-26Remove some overhead from methods defined in Ruby in Complex.Yukihiro "Matz" Matsumoto
2019-05-25Name the return value of `mrb_range_beg_len()`dearblue
2019-05-24Fix the order of "expected" and "actual" in `mruby-time` testKOBAYASHI Shuji
2019-05-23Freeze `Rational` and `Complex` objectsKOBAYASHI Shuji
2019-05-22`Kernel#Rational` requires numeratorKOBAYASHI Shuji
2019-05-21Use `MRB_TT_ISTRUCT` for `Complex` numbers if possible.Yukihiro "Matz" Matsumoto
2019-05-21Implements part of `Complex` class in C.Yukihiro "Matz" Matsumoto
2019-05-21Remove `Complex(string)` complex generation.Yukihiro "Matz" Matsumoto
It should raise an error.