summaryrefslogtreecommitdiffhomepage
path: root/src/kernel.c
AgeCommit message (Collapse)Author
2017-03-02The method_missing removal condition in a76dc04a was wrong.Yukihiro "Matz" Matsumoto
2017-02-27Remove default Kernel#method_missing.Yukihiro "Matz" Matsumoto
Internal method_missing works without problems.
2017-02-15Move #__id__ to BasicObject; ref #3417Yukihiro "Matz" Matsumoto
2017-02-15Move #instance_eval to BasicObject; ref #3417Yukihiro "Matz" Matsumoto
2017-02-15Move #__send__ to BasicObject; ref #3417Yukihiro "Matz" Matsumoto
2017-02-15Move #== and #!= to BasicObject; ref #3417Yukihiro "Matz" Matsumoto
2017-02-15Move BasicObject#method_missing to Kernel#method_missing; ref #3417Yukihiro "Matz" Matsumoto
More compatibility to CRuby. Updated tests that assume old mruby behavior.
2017-02-14Do not use mrb_funcall() if Hash#default is not overridden; ref #3421Yukihiro "Matz" Matsumoto
This change reduces the recursion level, but does not solve the stack overflow issue entirely.
2017-02-06Kernel#local_variables: Make result array uniqueksss
2017-02-04`argv` may be modified when `mrb_funcall()` is called; fix #3419Yukihiro "Matz" Matsumoto
Calling `mrb_funcall()` and `mrb_yield()` (and their related functions) are discouraged unless absolutely necessary, because it can cause this kind of issues very easily.
2017-01-06Merge pull request #3377 from ksss/respond_toYukihiro "Matz" Matsumoto
Check intern object returned by mrb_check_string_type
2017-01-06Check intern object returned by mrb_check_string_typeksss
2017-01-05Add new method Kernel#frozen?; ref #3370Yukihiro "Matz" Matsumoto
2016-12-25Fix segv when primitive valueksss
Fix #3352
2016-12-12rename prefix RBASIC_ to MRB_; ref #3340Yukihiro "Matz" Matsumoto
2016-12-11Implement Object#freezeTakashi Kokubun
2016-11-24Copy over INSTANCE_TT when duping classBouke van der Bijl
2016-11-23local_variables() should not touch unshared envYukihiro "Matz" Matsumoto
2016-11-17renamed "inline" to "istruct" to represent inline struct; ref #3251Yukihiro "Matz" Matsumoto
2016-11-17inline structures data type for mruby (MRB_TT_INLINE) (fix #3237)Tomasz Dąbrowski
Inline structures have no instance variables, no finalizer, and offer as much space as possible in RBASIC object. This means 24 bytes on 64-bit platforms and 12 bytes on 32-bit platforms. mruby-inline-struct gem is only provided for testing.
2016-10-24macro mrb_bool() may evaluate arg multiple times; ref #3228Yukihiro "Matz" Matsumoto
2016-10-23Kernel#respond_to? should return true|false onlyksss
2016-06-18fix public_methods(false)Yasuhiro Matsumoto
2015-11-27include changed from by quotes ("") to by brackets (<>); close #3032Yukihiro "Matz" Matsumoto
2015-10-20Increasing docs coverageSeba Gamboa
2015-09-23should initialize local variable prepended to falseYukihiro "Matz" Matsumoto
2015-09-18Replace 1 with TURE macroJun Hiroe
2015-09-05remove `origin` member to implement prepend from struct RClass; ref #2885Yukihiro "Matz" Matsumoto
instead origin is saved in ICLASS with MRB_FLAG_IS_ORIGIN set.
2015-07-13Include prepended methods in the instance_methods list.Blaž Hrastnik
2015-07-13Additional patches to make this workCorey Powell
2015-06-01singleton_class should not be duped; fix #2815Yukihiro "Matz" Matsumoto
2015-06-01singleton_class should not be cloned; close #2815Yukihiro "Matz" Matsumoto
2015-01-31block_given? should work with nested block; fix #2695 close #2712Yukihiro "Matz" Matsumoto
2014-12-19block_given? should return correct value when called in blocks; close #2678Yukihiro "Matz" Matsumoto
avoid a loop to find parent's callinfo using mrb->c->cibase[env->cioff]
2014-12-19block_given? should return false on top-level; ref #2678Yukihiro "Matz" Matsumoto
2014-12-11block_given did not work with nested block invocation for some cases; fix #2665Yukihiro "Matz" Matsumoto
2014-10-20instance_methods etc should not include undef'ed method names; based on a ↵Yukihiro "Matz" Matsumoto
patch from @cremno; fix #2613
2014-09-02Refactor mrb_obj_is_kind_of_m() in kernel.cJun Hiroe
2014-09-02Refactor obj_is_instance_of() in kernel.cJun Hiroe
2014-09-02refactor valid instance variable name checkYukihiro "Matz" Matsumoto
2014-08-27Add a missing space after ",".Tatsuhiko Kubo
2014-08-21Remove a discarded comparison.Tatsuhiko Kubo
mrb_method_search() does not return NULL. Instead it raises an exception. So it is not necessary to evaluate a return value of mrb_method_search().
2014-08-18refactor mruby method(fix indent. remove temporary value, duplicate procedure)kkkkkt
2014-08-04rename obsolete mrb_special_const_p to mrb_immediate_pYukihiro "Matz" Matsumoto
2014-08-04add MRB_API modifiers to mruby API functionsYukihiro "Matz" Matsumoto
2014-07-21Use MRB_TT_EXCEPTION in exception object.take_cheeze
2014-06-05update Kernel#raise/fail argument descriptionYukihiro "Matz" Matsumoto
2014-05-28Fix invalid array initialize for VS2012bggd
2014-05-22Merge pull request #2286 from suzukaze/refactor-kernelYukihiro "Matz" Matsumoto
Use boolean macro in kernel.c
2014-05-21direct invocation of instance_evalYukihiro "Matz" Matsumoto