summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2014-10-02remove accidental check-in of mruby-thread gemYukihiro "Matz" Matsumoto
2014-10-02fixed. cygwin-gcc(ver4.8.3) warning in conv_digit()Hiroyuki Matsuzaki
2014-10-02Merge pull request #2601 from mimaki/mrblib_absolute_pathYukihiro "Matz" Matsumoto
Change mrblib's source path to absolute path
2014-10-02cast MRB_ENV_STACK_LEN to (mrb_int); ref #2600Yukihiro "Matz" Matsumoto
2014-10-02Merge pull request #2600 from mimaki/fix_msvc_warningsYukihiro "Matz" Matsumoto
Pacify MSVC warnings for numeric.c, proc.c, and symbol.c
2014-10-02Change mrblib's source path to absolute pathHiroshi Mimaki
2014-10-02Pacify MSVC warnings for numeric.c, proc.c, and symbol.cHiroshi Mimaki
2014-10-02use __init_array_start to determine readonly data section;Yukihiro "Matz" Matsumoto
b72e94f used _etext and _edata to distinguish C string literals from heap allocated strings, but using _edata, global char arrays may be considered as string literals. to avoid the issue, we have to use __init_array_start, which might be less portable. you can still use _edata, by using MRB_NO_INIT_ARRAY_START.
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-30Merge pull request #2599 from SatoshiOdawara/fix_target_class_in_instance_evalYukihiro "Matz" Matsumoto
target_class should not be TT_ICLASS in instance_eval(string); ref #1152
2014-09-30Merge pull request #2598 from SatoshiOdawara/fix_lv_scope_evalYukihiro "Matz" Matsumoto
fixed. closures scope in eval(string)
2014-09-29target_class should not be TT_ICLASS in instance_eval(string); ref #1152Satoshi Odawara
2014-09-29fixed. closures scope in eval(string)Satoshi Odawara
2014-09-28Merge pull request #2597 from kou/remove-duplicated-declarationYukihiro "Matz" Matsumoto
Remove duplicated mrb_print_backtrace() declaration
2014-09-27Remove duplicated mrb_print_backtrace() declarationKouhei Sutou
It is declared in mruby.h.
2014-09-21Merge pull request #2596 from take-cheeze/fix_argsYukihiro "Matz" Matsumoto
Fix `mrb_get_args` arguments type error found by mruby-clang-plugin.
2014-09-21Fix `mrb_get_args` arguments types found by mruby-clang-plugin.take_cheeze
2014-09-21Merge pull request #2595 from drbrain/80_column_READMEYukihiro "Matz" Matsumoto
Wrap README, etc. to 80 columns
2014-09-21Wrap CONTRIBUTING.md to 80 columnsEric Hodel
2014-09-21Wrap INSTALL to 80 columnsEric Hodel
2014-09-21Wrap README.md to 80 columnsEric Hodel
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-19to_hash/to_a check in Hash[] should only be done when only one argument is ↵Yukihiro "Matz" Matsumoto
given; ref #2594
2014-09-19Merge pull request #2594 from yasuyuki/hashYukihiro "Matz" Matsumoto
Implement Hash[]
2014-09-18copy documentation comment from CRubyINOUE Yasuyuki
2014-09-18remove line number from raise messageINOUE Yasuyuki
2014-09-18refactor Hash generator loopINOUE Yasuyuki
2014-09-17Merge pull request #2592 from miura1729/original2Yukihiro "Matz" Matsumoto
update outdated links to the original program.
2014-09-16update outdated links to the original program.Miura Hideki
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-10add benchmark/bm_app_lc_fizzbuzz.rbYukihiro "Matz" Matsumoto
2014-09-09Merge pull request #2590 from cubicdaiya/issues/inline2Yukihiro "Matz" Matsumoto
Add inline to str_with_class().
2014-09-09Add inline to str_with_class().Tatsuhiko Kubo
2014-09-08Merge branch 'master' of github.com:mruby/mrubyYukihiro "Matz" Matsumoto
2014-09-08Merge pull request #2589 from take-cheeze/fix_msvc_cxxYukihiro "Matz" Matsumoto
Fix MSVC C++ ABI build. Close #2588.
2014-09-08Fix MSVC C++ ABI build. Close #2588.take_cheeze
2014-09-08remove execution bit from benchmark/fib39.rbYukihiro "Matz" Matsumoto
2014-09-08fixed wandering filename problemYukihiro "Matz" Matsumoto
2014-09-06implement Hash.[]INOUE Yasuyuki
2014-09-05Merge pull request #2587 from take-cheeze/fix_def_gem_loadYukihiro "Matz" Matsumoto
Fix default gem loading in `generate_gem_table`.
2014-09-05Fix default gem loading in `generate_gem_table`.take_cheeze
2014-09-05support native byteorder in mrb files; ref 3492beYukihiro "Matz" Matsumoto