summaryrefslogtreecommitdiffhomepage
path: root/src/error.c
AgeCommit message (Collapse)Author
2014-03-01move jmpbuf_id to generated filetake_cheeze
2014-03-01support c++ exceptiontake_cheeze
2014-02-27use mrb_str_cat_lit() intead of mrb_str_catcubicdaiya
2014-02-27revert 38e9ce21 and API changed; mrb_get_backtrace() -> renamed to ↵Yukihiro "Matz" Matsumoto
mrb_exc_backtrace since this is a backtrace method implementation of Exception; mrb_get_backtrace_at() -> removed; mrb_get_backtrace() -> added to get backtrace in array (like caller)
2014-02-20move src/error.h to include/mruby/error.htake_cheeze
2014-01-31use mrb_bool, FALSE and TRUE morecremno
It doesn't matter to me if one is using FALSE/TRUE instead of 1/0 but I prefer a type (alias) which emphasizes boolean vars to int. I changed 1/0 to FALSE/TRUE anyway.
2014-01-31clean up external symbolscremno
remove unused and unneeded: - sysexit_status - type (a global variable) add mrb_ prefix to: - codedump_all - class_instance_method_list - parser_dump make various functions static, incl.: - yyparse - make_exception
2014-01-07remove superfluous includescremno
- reduce compile time by a little bit (full-core: ~0.7s for me) - thanks to 'include-what-you-use' for some help - include Standard C header files before any other (coding style)
2013-12-01add mrb_intern_lit for creating symbol from string literaltake_cheeze
2013-11-29rename mrb_intern2() to mrb_intern(); huge API incompatibility; close #1513Yukihiro "Matz" Matsumoto
2013-11-18renamed mrb_exc_new3 to mrb_exc_new_strcremno
- more descriptive name (there's no mrb_exc_new2) - no wrapper (macro/static inline function) for backwards compatibility because nothing besides mruby itself seems to be calling this function: <http://mruby-code-search.ongaeshi.me/home?query=mrb_exc_new3>
2013-10-15better error position displayYukihiro "Matz" Matsumoto
2013-09-03remove Exception#verbose_backtrace; #1495Yukihiro "Matz" Matsumoto
2013-09-02rename debug function nametake_cheeze
2013-09-02support multiple filename in ireptake_cheeze
2013-09-02add verbose_backtracetake_cheeze
2013-08-25add Exception#backtracewanabe
2013-08-13define Class#new in ruby to call #initializeYukihiro "Matz" Matsumoto
2013-07-25refactor out longjmp() to a functionYukihiro "Matz" Matsumoto
2013-07-22change else formattingYukihiro "Matz" Matsumoto
2013-05-20primary mruby fiber implementationYukihiro "Matz" Matsumoto
2013-05-10change mrb_bug to get mrb_state and %S formatterYukihiro "Matz" Matsumoto
2013-05-10change mrb_warn to get mrb_state and %S formatterYukihiro "Matz" Matsumoto
2013-04-25rename every ARGS_XXX to MRB_ARGS_XXX; ref #1206Yukihiro "Matz" Matsumoto
2013-04-04Add `NameError#name`. Fix `NameError.new` and `NameError.initialize`. Enable ↵Masaki Muranaka
2nd argument for `NameError.new` in C API.
2013-03-29Remove API mrb_string_value(). There have mrb_str_to_str() in the core. And ↵Masaki Muranaka
mrb_string_value() is no merit to keep using.
2013-03-29Sort include files. Some redundant includes are removed.Masaki Muranaka
2013-03-28Merge branch 'pr-fix-mrb_format' of https://github.com/monaka/mruby into ↵Yukihiro "Matz" Matsumoto
monaka-pr-fix-mrb_format
2013-03-28Modify mrb_name_error() to use mrb_format().Masaki Muranaka
2013-03-28Fix. In some cases, %S substitutions were failed.Masaki Muranaka
2013-03-28Remove the escape backslash from the result string.Masaki Muranaka
2013-03-27use new mrb_format API from mrb_raisef; its only format specifier is "%S" ↵Yukihiro Matz Matsumoto
(stringify) and takes mrb_value; close #1062
2013-03-27implement mrb_format and mrb_vformatYukihiro Matz Matsumoto
2013-03-25remove unused functions 'mrb_strerrno' and 'mrb_bug_errno'.crimsonwoods
2013-03-24Remove unused mrb_sprintfmattn
2013-03-23Rename API mrb_str_cat2() to mrb_str_cat_cstr(). This is for naming ↵Masaki Muranaka
orthogonality. mrb_str_cat2() is also left for backward compatibility.
2013-03-23Use mrb_str_cat() instead of mrb_str_cat2() as possible.Masaki Muranaka
2013-03-22Use mrb_intern2() instead of mrb_intern(). This is for avoiding overhead by ↵Masaki Muranaka
strlen().
2013-03-19rename mrb_true_or_false_value() to mrb_bool_value()Yukihiro Matz Matsumoto
2013-03-19Use mrb_true_or_false_value() / in exc_equal().Masaki Muranaka
2013-03-16Remove stdlib.h from mruby.h. It is for portability (care for freestanding ↵Masaki Muranaka
environments). This is a first step. It will be reduced stdlib.h in each files later.
2013-03-15obsolete mrb_object; opposite of bc870ceYukihiro Matz Matsumoto
2013-03-13mrb_str_new2 -> mrb_str_new_cstrTomoyuki Sahara
2013-03-13Merge branch 'master' into pr-systemcallerrorTomoyuki Sahara
2013-03-13mrb_sys_fail raises SystemCallError if we have it.Tomoyuki Sahara
2013-03-12Remove mrb_str_new2(). Use mrb_str_new_cstr() instead.Masaki Muranaka
Make mrb_str_new_cstr() accept NULL pointer. It generates 0byte strings by NULL pointer.
2013-03-05Make some printf enclose in #ifdef ENABLE_STDIO.Masaki Muranaka
2013-03-05Modify API configuration.Masaki Muranaka
C API mrb_p() is always callable. - But it will do nothing when ENABLE_STDIO is not defined. Kernel#__printstr__ is always callable. - But it will do nothing when ENABLE_STDIO is not defined.
2013-03-05Include stdio.h in mrbconf.h instead of C extension sources.Masaki Muranaka
2013-03-03Merge pull request #931 from matsumoto-r/fix_some_indentsYukihiro "Matz" Matsumoto
Adjust some indents