summaryrefslogtreecommitdiffhomepage
path: root/src/error.c
AgeCommit message (Collapse)Author
2012-11-02show all callinfo's.Tomoyuki Sahara
2012-10-23mrb_raisef(): new function. Same as previou version of mrb_raise().Masaki Muranaka
mrb_raise(): API modified. It cannot treat variable arguments.
2012-10-04fix indent of mrb_exc_raiseYukihiro Matsumoto
2012-09-12check if an Exception instance has a "mesg" attributeTomoyuki Sahara
fix the issue that "Exception.new.inspect" causes SIGSEGV.
2012-09-09mrb might be intialized incompletely from mrbc; close #457Yukihiro Matsumoto
2012-09-03do no generate lineno info if no filename is specifiedYukihiro Matsumoto
2012-09-03should print file:line when exception is raised within mrblibYukihiro Matsumoto
2012-08-31source position added to exception representationYukihiro Matsumoto
2012-08-22abort() if mrb->jmp is emptyYukihiro Matsumoto
2012-08-18reduce mrb_funcall invocationsYukihiro Matsumoto
2012-08-12now segmented list can be used as instance variable tables by ↵Yukihiro Matsumoto
-DMRB_USE_IV_SEGLIST; we still need to measure the performance and memory consumption
2012-08-01make mrb_funcall_argv and mrb_funcall_with_block to take mrb_sym as a method ↵Yukihiro Matsumoto
name
2012-07-29Remove commented out code.Masaki Muranaka
2012-07-14Remove unnecessary header inclusionJunji Sawada
2012-06-27Use sizeof to get char array sizes.Masaki Muranaka
2012-06-20remove RuntimeError from mrb_stateYukihiro Matsumoto
2012-06-19raise should initialize Exception objectYukihiro Matsumoto
2012-06-18move exception definiton to mrblibYukihiro Matsumoto
2012-06-18ignore id to create NameErrorYukihiro Matsumoto
2012-06-15do not use fixed sized buffer in mrb_bug/mrb_warn; close #287Yukihiro Matsumoto
2012-06-15Move Subclasses of ScriptError to mrblib.Masaki Muranaka
2012-06-15Use return value of vsnprintf() for the string length. It is redundant using ↵Masaki Muranaka
strlen().
2012-06-15Remove unused funcions.Masaki Muranaka
2012-06-15Remove as NotImplemenetedError is defined in mrblib/.Masaki Muranaka
2012-06-15Remove some redundant code.Masaki Muranaka
2012-06-14remove unused variableYukihiro Matsumoto
2012-06-14add newline between functionsYukihiro Matsumoto
2012-06-14inspect format for exception has changedYukihiro Matsumoto
2012-05-31the argument for Exception.new is optinalYukihiro Matsumoto
2012-05-24remove ZeroDivisionError since mruby gives float for integer divisionYukihiro Matsumoto
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-17remove unused assignmentsYukihiro Matsumoto
2012-05-16Remove unused static functions.Masaki Muranaka
2012-05-04remove unused eval_intern.h; make clean firstYukihiro Matsumoto
2012-04-30rm whitespaceroco
2012-04-24move header files {irep,dump,cdump,ritehash}.h to /include/mrubyYukihiro Matsumoto
2012-04-24mv variable.h to mruby/variable.hYukihiro Matsumoto
2012-04-23wrong type argument for mrb_funcallYukihiro Matsumoto
2012-04-23add file headermimaki
2012-04-20linux compiler does not like double use of va_listFrank Celler
2012-04-20add mruby sourcesmimaki