summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2017-07-19Avoid C undefined behavior of division by zero; close #3745Yukihiro "Matz" Matsumoto
2017-07-19Merge pull request #3746 from christopheraue/mod_singleton_class_pYukihiro "Matz" Matsumoto
Implemented Module#singleton_class?
2017-07-19Merge branch 'christopheraue-const_set_mod_to_s'Yukihiro "Matz" Matsumoto
2017-07-19Avoid constant-set duplication; ref #3747Yukihiro "Matz" Matsumoto
2017-07-19Merge branch 'const_set_mod_to_s' of https://github.com/christopheraue/mruby ↵Yukihiro "Matz" Matsumoto
into christopheraue-const_set_mod_to_s
2017-07-18Fixed Module#to_s and #name for #const_set modulesChristopher Aue
2017-07-18implemented Module#singleton_class?Christopher Aue
2017-07-18Simplify `mrb_gc_arena_restore()` to reduce overhead.Yukihiro "Matz" Matsumoto
It will no longer shrink arena region. Instead `vm.c` uses a static function `mrb_gc_arena_shrink()` to shrink.
2017-07-17Merge pull request #3743 from christopheraue/sprintf_d_testsYukihiro "Matz" Matsumoto
added tests for #3736
2017-07-17Merge pull request #3742 from christopheraue/iter_exp_testsYukihiro "Matz" Matsumoto
added basic tests for while/until/break/next
2017-07-16added tests for #3736Christopher Aue
2017-07-16added basic tests for while/until/break/nextChristopher Aue
2017-07-15Add `Hash#transform_keys!` and `Hash#transform_values`.Yukihiro "Matz" Matsumoto
2017-07-15Use `keys.each` instead of unstable `each_keys`.Yukihiro "Matz" Matsumoto
2017-07-14Remove duplication in `mruby-hash-ext` test.Yukihiro "Matz" Matsumoto
2017-07-14Avoid duplicated width filling for sprintf `%d` specifier; fix #3736Yukihiro "Matz" Matsumoto
2017-07-14Add `Hash#transform_{keys,values}` to `mruby-hash-ext`.Yukihiro "Matz" Matsumoto
2017-07-13Use `floor()` to implement `round()` on WIN32 platform.Yukihiro "Matz" Matsumoto
This change was suggested by Akira Kakuto.
2017-07-13Define `round()` only on WIN32 platform; fix #3741Yukihiro "Matz" Matsumoto
2017-07-12`while`|`until` should have the value from `break`; fix #3735Yukihiro "Matz" Matsumoto
2017-07-12Avoid float operation to shrink arena buffer size.Yukihiro "Matz" Matsumoto
2017-07-12Add `inline` modifier to `cipush()` and `cipop()` functions.Yukihiro "Matz" Matsumoto
2017-07-12Use "$!" specifier of `mrb_get_args`.Yukihiro "Matz" Matsumoto
2017-07-12Update `mrb_get_args()` document.Yukihiro "Matz" Matsumoto
2017-07-12Add "*!" argument specifier to avoid stack copying.Yukihiro "Matz" Matsumoto
2017-07-12Add `ary_modify_check()` to `Array#unshift`; ref #3737Yukihiro "Matz" Matsumoto
2017-07-12Merge pull request #3740 from christopheraue/fix_test_outputYukihiro "Matz" Matsumoto
fixed printing failed assertions
2017-07-11fixed printing failed assertionsChristopher Aue
2017-07-11`POSFIXABLE` and `NEGFIXABLE` should take one argument.Yukihiro "Matz" Matsumoto
2017-07-10Resurrect `POSFIXABLE` and `NEGFIXABLE`; ref 9186828Yukihiro "Matz" Matsumoto
2017-07-09Merge pull request #3739 from ksss/array-shiftYukihiro "Matz" Matsumoto
Should only check frozen fix #3737
2017-07-09Should only check frozen for Array#popksss
2017-07-09Add frozen test for Array#shiftksss
2017-07-09Should only check frozen fix #3737ksss
2017-07-07Add fallback definitions of `DBL_EPSILPN` and `LDBL_EPSILON`; fix #3733Yukihiro "Matz" Matsumoto
This is a workaround for mingw-w64 (5.3.1) bug.
2017-07-06Reduce allocation size of backtrace arrays.Yukihiro "Matz" Matsumoto
2017-07-06Avoid out-of-bounds access of the backtrace array.Yukihiro "Matz" Matsumoto
2017-07-06`FIXABLE_FLOAT()` fails sometimes in `MRB_INT64` environment.Yukihiro "Matz" Matsumoto
2017-07-05`print("%d", 0)` should not print `-0`; fix #3731Yukihiro "Matz" Matsumoto
2017-07-05Put a space between error position and error message.Yukihiro "Matz" Matsumoto
For readability's sake.
2017-07-05Negation was not a good way to handle negative integers; fix #3729Yukihiro "Matz" Matsumoto
There's a number that negation does not work (-2147483648 in 32bit environment).
2017-07-05In Ruby, `sprintf` specifier `%u` should behave as `%d`; fix #3730Yukihiro "Matz" Matsumoto
Since there's no unsigned integer in Ruby. Binary, octal and hexadecimal negative numbers can be represented by using 2's compliment. But decimal (not being power of 2) cannot be use that kind of format.
2017-07-05Check stack size before accessing env stack; fix #3727Yukihiro "Matz" Matsumoto
2017-07-05Avoid undefined behavior of left shifting negative integer; #3728Yukihiro "Matz" Matsumoto
2017-07-05Avoid undefined behavior of signed integer overflow; fix #3728Yukihiro "Matz" Matsumoto
2017-07-04Merge pull request #3726 from mruby/stableYukihiro "Matz" Matsumoto
mruby-1.3.0
2017-07-04Set the mruby-1.3.0 release date to `2017-7-4`.1.3.0Hiroshi Mimaki
2017-07-04Refactor `sprintf()` code.Yukihiro "Matz" Matsumoto
2017-07-04Initialize `flags` for each loop.Yukihiro "Matz" Matsumoto
2017-07-03Fixed an unit test to work on Cygwin.Hiroshi Mimaki