summaryrefslogtreecommitdiffhomepage
path: root/src/kernel.c
AgeCommit message (Collapse)Author
2012-08-12add const qualifier to stop warningYukihiro Matsumoto
2012-08-11add check for instance variable namesYukihiro Matsumoto
2012-08-03mrb_singleton_class should raise TypeError for immediate objectsYukihiro Matsumoto
2012-08-01make mrb_funcall_argv and mrb_funcall_with_block to take mrb_sym as a method ↵Yukihiro Matsumoto
name
2012-07-29Make all(?) void casts explicit for C++Max Anselm
2012-07-29Remove commented out code.Masaki Muranaka
2012-07-24instance_eval should set target_class in the blockYukihiro Matsumoto
2012-07-24instance_eval should raise NotImplementedError on string argumentYukihiro Matsumoto
2012-07-14Remove unnecessary header inclusionJunji Sawada
2012-07-14mrb_load_xxx to return undef + mrb_undef_pYukihiro Matsumoto
2012-07-13less <stdio.h>Yukihiro Matsumoto
2012-07-05move RDoc commentsYukihiro Matsumoto
2012-06-27do not undef config macrosYukihiro Matsumoto
2012-06-24Modify Kernel#clone and Kernel#dup.Masamitsu MURASE
Kernel#clone, Kernel#dup: - 'iv' should not be shared with the original object, but it should be copied. Kernel#clone: - 'mt' of singleton_class should be copied.
2012-06-23reduce calling mrb_str_new_cstr() to avoid strlen(); #301Yukihiro Matsumoto
2012-06-23check object type before retrieving instance variabls; close #311Yukihiro Matsumoto
2012-06-21move KHASH_DECLARE to header filesYukihiro Matsumoto
2012-06-21Merge branch 'modify_khash' of https://github.com/crimsonwoods/mruby into ↵Yukihiro Matsumoto
crimsonwoods-modify_khash
2012-06-20remove RuntimeError from mrb_stateYukihiro Matsumoto
2012-06-20__send__ addedYukihiro Matsumoto
2012-06-20ISO conforming lambdaYukihiro Matsumoto
2012-06-19split declaration and definition for 'khash_xxx'.crimsonwoods
2012-06-19remove dummy local_variablesYukihiro Matsumoto
2012-06-19remove dummy require/loopYukihiro Matsumoto
2012-06-19remove obsolete commentYukihiro Matsumoto
2012-06-19Kernel#raise: better argument checkYukihiro Matsumoto
2012-06-19forgot to replace INLCUDE_KERNEL_SPRINTF by ENABLE_KERNEL_SPRINTFYukihiro Matsumoto
2012-06-15Remove some redundant code.Masaki Muranaka
2012-06-14remove get_errorinfo; close #275Yukihiro Matsumoto
2012-06-14Remove as err is already unused since applied 54bc7e0721ffcMasaki Muranaka
2012-06-14!= should call == inside; close #268Yukihiro Matsumoto
2012-06-14avoid accessing non-allocated memory; close #271Yukihiro Matsumoto
2012-06-14update RDoc for #raiseYukihiro Matsumoto
2012-06-13mrb_f_send to use mrb_get_args(n)Yukihiro Matsumoto
2012-06-13remove unused variable from mrb_f_block_given_p_mYukihiro Matsumoto
2012-06-12Merge pull request #263 from monaka/pr-make-sprintf-optionalYukihiro "Matz" Matsumoto
Make sprintf/format optional.
2012-06-12block_given? should work; close #262Yukihiro Matsumoto
2012-06-12raise error if string arg is given to Kernel#instance_evalYukihiro Matsumoto
2012-06-12remove Kernel#eval from the core; close #261Yukihiro Matsumoto
2012-06-12Make sprintf/format optional.Masaki Muranaka
2012-06-02'mrb_sym' used as 'uint32_t'. it's broken portability; based on the work ↵Yukihiro Matsumoto
from @crimsonwoods; close #216
2012-06-01remove unused mrb_f_send; and rename mrb_f_send_m to mrb_f_sendYukihiro Matsumoto
2012-06-01remove spawn (and backtick) method that cannot be implemented without ↵Yukihiro Matsumoto
platform support
2012-06-01reorder arguments to mrb_get_args in mrb_f_send_mYukihiro Matsumoto
2012-06-01add Kernel#sendYuichiro MASUI
2012-05-24made mrb_get_args() better (optinal args, type checks); close #173 #176Yukihiro Matsumoto
2012-05-23cast style consistencyYukihiro Matsumoto
2012-05-20More C++ compilability work: mrb_obj_alloc void* conversionsMitchell Blank Jr
One of the biggest set of changes needed to make C++ compile, is that you can't autoconvert "void*" to a different pointer type without a cast (you can of course, convert pointers *to* "void*"!) For the first part, convert the users of "mrb_obj_alloc". Since it has to return something, make it RBasic* (that's what mrb_obj_alloc() is operating on anyway). This way, even in C you'll get a warning if you don't cast it. For places where there are a lot of similar calls to mrb_obj_alloc(), this can be easily hidden through a macro. I did this in string.c: #define mrb_obj_alloc_string(mrb) ((struct RString *) mrb_obj_alloc((mrb), MRB_TT_STRING, (mrb)->string_class)) I also updated the mrb_object() macro to also return a RBasic* -- my previous commit changed that from "void*" -> "RObject*", but I figure it should be consistent with mrb_obj_alloc()
2012-05-18remove unused method.h from kernel.cYukihiro Matsumoto
2012-05-09move declaration in the middleYukihiro Matsumoto