summaryrefslogtreecommitdiffhomepage
path: root/src/class.c
AgeCommit message (Collapse)Author
2014-08-16refactor class.c methods (fix indent, remove unneed temp value. )go kikuta
2014-08-04add MRB_API modifiers to mruby API functionsYukihiro "Matz" Matsumoto
2014-07-18add Module#module_functiondreamedge
2014-07-17avoid infinite recursion when error was happened in #inspect; fix #2474Yukihiro "Matz" Matsumoto
2014-07-09Clean up value.h and mrb_value boxingDavid Turnbull
2014-06-15Proc class define before a first methodksss
mrb_define_method setting mrb->proc_class for method proc
2014-06-02Implement `NoMethodError#args`.take_cheeze
2014-05-23Should not call inherited methodksss
when class nothing
2014-05-22call Class#initialize from Class.new; ref ISO 15.2.3.3.1Yukihiro "Matz" Matsumoto
2014-05-22allocate object after mrb_get_args()Yukihiro "Matz" Matsumoto
2014-05-22Merge pull request #2304 from ksss/class-newYukihiro "Matz" Matsumoto
Class.new do not call `class_eval'
2014-05-22Class.new do not call `class_eval'ksss
and set self for block argument
2014-05-21Module#initialize set created objectksss
for block argument
2014-05-21direct invocation of module_eval; ref #2298Yukihiro "Matz" Matsumoto
2014-05-19mrb_include_module support class and moduleksss
that not have methods each other
2014-05-19Implement Module#initialize (15.2.2.4.31)ksss
2014-05-18support class define in singleton classksss
2014-05-18Add a space aftre bracket.yui-knk
2014-05-17Use boolean macroJun Hiroe
2014-05-16const_missing error message more detailksss
2014-04-26Class.constants to take optional argument; close #2133Yukihiro "Matz" Matsumoto
2014-04-25eliminate plain int except for a few cases like arena_indexYukihiro "Matz" Matsumoto
2014-04-16various functions should have internal linkagecremno
2014-04-15resolve conflictYukihiro "Matz" Matsumoto
2014-04-11Qualify argv argument of API `const`.Takeshi Watanabe
2014-04-10revert b45e99 since a bug in khash.h was fixedYukihiro "Matz" Matsumoto
2014-04-09call kh_get before kh_put to avoid potential key lost; reported by @mirichiYukihiro "Matz" Matsumoto
2014-04-02Use bool macro KHASH_DEFINE and KHASH_DECLAREksss
2014-03-31singleton class needs to set __outer__; fixed #1983Yukihiro "Matz" Matsumoto
2014-03-28do not use "to_f" to retrieve floats in mrb_get_args(); close #1965Yukihiro "Matz" Matsumoto
2014-03-27Adapt for Float and IntegerDaniel Bovensiepen
2014-03-27Adapt TypeError Message for String to Integer Conversion.Daniel Bovensiepen
MRI: "str" * "3" => TypeError: no implicit conversion of String into Integer mruby: "str" * "3" => TypeError: String can't be coerced into int
2014-03-21Prevent accepting String value for mrb_get_args("i")Keita Obo
Accepting String value for mrb_get_args("i") causes unintentional expression. * `"str" * "3"` => `"strstrstr"` This change prevents String->Integer conversion for mrb_get_args("i") and fixes above problem. See also: https://github.com/mruby/mruby/issues/1903
2014-03-19rename mrb_yield_internal to mrb_yield_with_class since it's no longer internalYukihiro "Matz" Matsumoto
2014-03-19export mrb_yield_internal.Tomoyuki Sahara
2014-03-15symbol length type to be mrb_intYukihiro "Matz" Matsumoto
2014-03-09remove invocation of strlen() on buffer of strings; with refactoringYukihiro "Matz" Matsumoto
2014-03-09Merge pull request #1831 from monaka/pr-make-type-casts-saferYukihiro "Matz" Matsumoto
Make type casts safer
2014-03-09add "?" specifier to check if preceding optional argument is givenYukihiro "Matz" Matsumoto
2014-03-08Make type casts safer.Masaki Muranaka
2014-03-06make embed string when create literalsksss
2014-03-06embed small stringksss
use flags 4 for *this object is embed* use flags 8~64 for *embed string length*
2014-03-01use C style comments instead of C++ style commentscubicdaiya
According to CONTRIBUTING.md, Don't use C++ style comments /* This is the prefered comment style */ Use C++ style comments only for temporary comment e.g. commenting out some code lines.
2014-02-27use mrb_str_cat_lit() intead of mrb_str_catcubicdaiya
2014-02-27boot_defclass: super may be NULLYukihiro "Matz" Matsumoto
2014-02-27avoid recursion when method_missing happened in inspect; fix #1746Yukihiro "Matz" Matsumoto
2014-02-26use mrb_intern_lit instead of mrb_intern_cstr for C string literalscubicdaiya
2014-02-21add 'd' format specifier to get data pointer directly from mrb_get_argstake_cheeze
2014-02-20move src/error.h to include/mruby/error.htake_cheeze
2014-02-08made mrb_define_class to return existing class, with heavy refactoringYukihiro "Matz" Matsumoto