summaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)Author
2014-10-30add cast to return from aget_index(); ref #2627Yukihiro "Matz" Matsumoto
2014-10-29Handle Array#[float, int] Close #2626mattn
2014-10-29Fix mrb_convert_to_integer.Jun Hiroe
2014-10-28Refactor for_body funcJun Hiroe
2014-10-28Merge pull request #2623 from suzukaze/fix-indentYukihiro "Matz" Matsumoto
Fix indent
2014-10-28Merge pull request #2621 from suzukaze/fix-parse_stringYukihiro "Matz" Matsumoto
Replace int with mrb_bool in parse_string func
2014-10-28Fix indentJun Hiroe
2014-10-28Replace int with mrb_bool in parse_string funcJun Hiroe
2014-10-28Replace int with mrb_bool in local_var_p funcJun Hiroe
2014-10-27Refactor yylex funcJun Hiroe
2014-10-27Refactor mrbc_context_new funcJun Hiroe
2014-10-20instance_methods etc should not include undef'ed method names; based on a ↵Yukihiro "Matz" Matsumoto
patch from @cremno; fix #2613
2014-10-15fix typo (i->idx)Jan Berdajs
2014-10-02fixed. cygwin-gcc(ver4.8.3) warning in conv_digit()Hiroyuki Matsuzaki
2014-10-02cast MRB_ENV_STACK_LEN to (mrb_int); ref #2600Yukihiro "Matz" Matsumoto
2014-10-02Pacify MSVC warnings for numeric.c, proc.c, and symbol.cHiroshi Mimaki
2014-10-01load.c to use mrb_ro_data_p()Yukihiro "Matz" Matsumoto
2014-09-30mrbconf.h option MRB_USE_ETEXT_EDATA to reduce memory.Yukihiro "Matz" Matsumoto
on platforms with _etext and _edata, mruby can distinguish string literals so that it avoids memory allocation to copy them. for example, on my Linux box (x86 32bit), memory consumed by mrbtest decreased from 8,168,203 to 8,078,848 (reduced 88KB).
2014-09-30mrb_sym2name_len() should initialize lenp even when proper symbol does not existYukihiro "Matz" Matsumoto
2014-09-30remove unnecessary trailing comma to remove pre C99 declaration error with ↵Yukihiro "Matz" Matsumoto
-Wdeclaration-after-statement
2014-09-30O(1) mrb_sym2name_len(); close #2591Yukihiro "Matz" Matsumoto
instead of adding sym->name hash table, linear symbol table is added, and reduced name->sym hash table size.
2014-09-21Fix `mrb_get_args` arguments types found by mruby-clang-plugin.take_cheeze
2014-09-19code reduce by using mrb_get_args("n")Yukihiro "Matz" Matsumoto
2014-09-19`Module#const_defined?` to take second optional argument as CRuby; fix #2593Yukihiro "Matz" Matsumoto
2014-09-19change class argument of mrb_const_defined_at from `struct RClass*` to ↵Yukihiro "Matz" Matsumoto
`mrb_value` to make it consistent with mrb_const_defined; ref #2593
2014-09-19const_defined? to check superclasses; ref #2593Yukihiro "Matz" Matsumoto
2014-09-15change mrb_sym type from uint16_t to uint32_tYukihiro "Matz" Matsumoto
2014-09-12constify pointer from RARRAY_PTR to detect potential write barrier bugs.Yukihiro "Matz" Matsumoto
if you see compiler errors due to this commit, you'd better to use array-modifying functions, e.g. mrb_ary_set() or mrb_ary_push(), otherwise you might see nasty GC bugs in the future. if you are sure what you are doing, replace `RARRAY_PTR(ary)` by `mrb_ary_ptr(ary)->ptr`. but be warned.
2014-09-09Add inline to str_with_class().Tatsuhiko Kubo
2014-09-08fixed wandering filename problemYukihiro "Matz" Matsumoto
2014-09-05support native byteorder in mrb files; ref 3492beYukihiro "Matz" Matsumoto
2014-09-05condition refactoring in load.cYukihiro "Matz" Matsumoto
2014-09-05add some MRB_API to function prototypesYukihiro "Matz" Matsumoto
2014-09-05use uint16_t instead of short; ref #2568Yukihiro "Matz" Matsumoto
2014-09-04fix strict aliasing rule violationcremno
2014-09-04instance variable name validation based on <ctype.h>; fix #2584Yukihiro "Matz" Matsumoto
2014-09-04wrong iseq conversion flagYukihiro "Matz" Matsumoto
2014-09-04avoid iseq allocation from static irep binary. it reduces 424KB allocation ↵Yukihiro "Matz" Matsumoto
for mrbtest
2014-09-04rename a local variable current_node -> nodetype; ref #2583Yukihiro "Matz" Matsumoto
2014-09-03get rid of shadowing variablescremno
Mostly by renaming the shadowing variable. If a shadowing variable was deleted, the shadowed one can be used instead.
2014-09-03Merge pull request #2582 from iij/pr-attr-accessor-save-arenaYukihiro "Matz" Matsumoto
save and restore arena index to prevent arena overflow.
2014-09-03save and restore arena index to prevent arena overflow.Tomoyuki Sahara
2014-09-03Use mrb_str_cat_lit() instead of mrb_str_cat_cstr() for string-literals.Tatsuhiko Kubo
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-02implement attr_reader and attr_writer in C; use cfunc closure to speed-upYukihiro "Matz" Matsumoto
2014-09-02refactor valid instance variable name checkYukihiro "Matz" Matsumoto
2014-09-02move mrb_proc_new_cfunc_with_env() to the coreYukihiro "Matz" Matsumoto
2014-09-01remove ci->nreg initialization from cipush()Yukihiro "Matz" Matsumoto
2014-08-30remove unnecessary MRB_API from mrb_num_div(); close #2578Yukihiro "Matz" Matsumoto