| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2019-05-03 | Simplify conversion process for `i` in `mrb_get_args()` | KOBAYASHI Shuji | |
| 2019-04-25 | Singleton class of frozen object should be frozen | KOBAYASHI Shuji | |
| Before this patch: p (class << Object.new.freeze; self end).frozen? #=> false sc = class << (o=Object.new); self end; o.freeze; p sc.frozen? #=> false After this patch / Ruby: p (class << Object.new.freeze; self end).frozen? #=> true sc = class << (o=Object.new); self end; o.freeze; p sc.frozen? #=> true | |||
| 2019-04-24 | Fix modiying class variable to frozen class/module | KOBAYASHI Shuji | |
| 2019-04-23 | Fix "ambiguous first argument" warning in `test/t/float.rb` | KOBAYASHI Shuji | |
| 2019-04-22 | Merge pull request #4356 from shuujii/add-assert_match-and-assert_not_match | Yukihiro "Matz" Matsumoto | |
| Add `assert_match` and `assert_not_match` | |||
| 2019-04-22 | Add `assert_predicate` and `assert_operator` | KOBAYASHI Shuji | |
| 2019-04-21 | Commented out `String#scan` because it is not implemented yet | KOBAYASHI Shuji | |
| 2019-04-19 | Add type check (conversion) in `String#[]=` | KOBAYASHI Shuji | |
| Before this patch: 'a'[0] = 1 #=> 1 'a'[:a] = '1' #=> ArgumentError 'a'[:a, 0] = '1' #=> ArgumentError 'a'[0, :a] = '1' #=> ArgumentError 'a'[0, 1] = 1 #=> 1 After this patch / Ruby: 'a'[0] = 1 #=> TypeError 'a'[:a] = '1' #=> TypeError 'a'[:a, 0] = '1' #=> TypeError 'a'[0, :a] = '1' #=> TypeError 'a'[0, 1] = 1 #=> TypeError | |||
| 2019-04-14 | Add `assert_match` and `assert_not_match` | KOBAYASHI Shuji | |
| 2019-04-10 | Use `mrb_immediate_p()` in `mrb_obj_freeze()` and `mrb_obj_frozen()` | KOBAYASHI Shuji | |
| 2019-04-07 | Fix test for `Array#slice` | KOBAYASHI Shuji | |
| 2019-04-05 | `Module#alias_method` should return `self` in ISO standard | KOBAYASHI Shuji | |
| 2019-03-25 | Remove implementation of `Symbol#===` | KOBAYASHI Shuji | |
| For reducing program size. | |||
| 2019-03-25 | Update float test values to avoid precision errors. | Yukihiro "Matz" Matsumoto | |
| 2019-03-25 | Avoid infinite binary floating numbers in `float`. | Yukihiro "Matz" Matsumoto | |
| 2019-03-22 | Simplify `assert_step` in `test/t/numeric.rb` | KOBAYASHI Shuji | |
| 2019-03-21 | Fix `Float#eql?` | KOBAYASHI Shuji | |
| 2019-03-19 | Use `FrozenError` instead of `RuntimeError` in frozen object modification test | KOBAYASHI Shuji | |
| 2019-03-17 | Fix class/instance variable name validation | KOBAYASHI Shuji | |
| - `@@?` etc are invalid class variable name. - `@1` etc are invalid instance variable name. | |||
| 2019-03-15 | Merge pull request #4328 from shuujii/fix-constant-name-validation | Yukihiro "Matz" Matsumoto | |
| Fix constant name validation | |||
| 2019-03-15 | Avoid using infinite binary floating point numbers in tests. | Yukihiro "Matz" Matsumoto | |
| 2019-03-14 | Fix constant name validation | KOBAYASHI Shuji | |
| `X!` etc are invalid constant name. | |||
| 2019-03-02 | Fix missing assertion in `test/t/class.rb` | KOBAYASHI Shuji | |
| 2019-03-02 | Remove useless regression tests; ref #4306 | Yukihiro "Matz" Matsumoto | |
| 2019-03-02 | Remove useless regression tests; fix #4306 | Yukihiro "Matz" Matsumoto | |
| 2019-02-28 | Remove `?A` style string literals from string tests; #4303 | Yukihiro "Matz" Matsumoto | |
| We have a plan to obsolete this style in the future. | |||
| 2019-02-27 | Add test for string literal concatenation | dearblue | |
| 2019-02-19 | Use more appropriate assertion methods | KOBAYASHI Shuji | |
| 2019-02-18 | Fix wrong assertion method in some tests | KOBAYASHI Shuji | |
| 2019-01-28 | `class`/`module` expression with empty body should return `nil` | KOBAYASHI Shuji | |
| Before: p(class A end) #=> A p(class << self; end) #=> #<Class:#<Object:0x7fdc3880e420>> p(module B end) #=> B After/Ruby: p(class A end) #=> nil p(class << self; end) #=> nil p(module B end) #=> nil | |||
| 2019-01-22 | Fix tests for `String#reverse` with `MRB_UTF8_STRING` | KOBAYASHI Shuji | |
| 2019-01-17 | Fix assertion name for `Numeric#**` test | KOBAYASHI Shuji | |
| 2019-01-15 | Fix coercing for first step counter in `Numeric#step` | KOBAYASHI Shuji | |
| Before: a=[]; 7.step(4, -3.0) { |c| a << c }; p a #=> [7, 4.0] After / Ruby: a=[]; 7.step(4, -3.0) { |c| a << c }; p a #=> [7.0, 4.0] | |||
| 2019-01-13 | Improve compatibility to CRuby for `Float#to_s` | KOBAYASHI Shuji | |
| Bfore: Float::INFINITY.to_s #=> "inf" 50.0.to_s #=> "50" 1e20.to_s #=> "1e+20" After / CRuby: Float::INFINITY.to_s #=> "Infinity" 50.0.to_s #=> "50.0" 1e20.to_s #=> "1.0e+20" | |||
| 2019-01-12 | Use `__send__` instead of `send`; ref #4207 | KOBAYASHI Shuji | |
| 2019-01-05 | Add `assert_same` and `assert_not_same` | KOBAYASHI Shuji | |
| 2019-01-03 | Remove `Kernel#class_defined?` which is not available in CRuby; #3829 | Yukihiro "Matz" Matsumoto | |
| 2019-01-01 | range: Embed edges in RRange on boxing environment. | KOBAYASHI Shuji | |
| [Breaking changes] Developers must use following APIs for accessing attributes of RRange because RRange structure depends on boxing setting. - mrb_range_beg - mrb_range_end - mrb_range_excl_p | |||
| 2019-01-01 | Use `__send__` instead of `send` in a Range test. | KOBAYASHI Shuji | |
| This assertion is accidentaly passed because `send` was removed from mruby core so `NoMethodError` is raised and `NoMethodError` is subclass of `NameError`. | |||
| 2018-11-19 | Remove implicit conversion using `to_str` method; fix #3854 | Yukihiro "Matz" Matsumoto | |
| We have added internal convenience method `__to_str` which does string type check. The issue #3854 was fixed but fundamental flaw of lack of stack depth check along with fibers still remains. Use `MRB_GC_FIXED_ARENA` for workaround. | |||
| 2018-11-05 | Fixed a bug in argument number check with kwargs; fix #4159 | Yukihiro "Matz" Matsumoto | |
| 2018-10-18 | replace quicksort with mergesort. | Tomoyuki Sahara | |
| 2018-10-12 | `Hash#delete` should return the deleted value; fix #4133 | Yukihiro "Matz" Matsumoto | |
| 2018-09-20 | Move `Symbol#to_proc` to the core from `mruby-symbol-ext` gem. | Yukihiro "Matz" Matsumoto | |
| Even though `Symbol#to_proc` is not included in ISO standard, the `some_method(&:method_name)` is used very widely and convenient. So we moved it to the core. | |||
| 2018-09-07 | Clear terminated space | dearblue | |
| 2018-09-01 | Move `Kernel#send` to `mruby-metaprog` gem. | Yukihiro "Matz" Matsumoto | |
| But `BasicObject#__send__` is still available from the core. | |||
| 2018-08-30 | Separate 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-25 | Fix misspelling words in comments | Kazuhiro Sera | |
| 2018-07-31 | Add test case corresponding to 53e2723. | Yukihiro "Matz" Matsumoto | |
| 2018-07-30 | Keyword argument implemented. | Yukihiro "Matz" Matsumoto | |
