summaryrefslogtreecommitdiffhomepage
path: root/mrbgems
AgeCommit message (Collapse)Author
2014-10-02remove accidental check-in of mruby-thread gemYukihiro "Matz" Matsumoto
2014-10-02cast MRB_ENV_STACK_LEN to (mrb_int); ref #2600Yukihiro "Matz" Matsumoto
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-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-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-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-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-06implement Hash.[]INOUE Yasuyuki
2014-09-04refactor MACRO to avoid local variable name conflict; ref #2585Yukihiro "Matz" Matsumoto
2014-09-04get rid of shadowing variables (mrbgems)cremno
Mostly renaming, except that the definition of struct accessor methods is now done in a new function.
2014-09-02move mrb_proc_new_cfunc_with_env() to the coreYukihiro "Matz" Matsumoto
2014-08-29Merge pull request #2570 from cubicdaiya/issues/unify_duplicated_functionsYukihiro "Matz" Matsumoto
Unify and rename duplicated functions (noregexp() and regexp_check()).
2014-08-29Fix mismatches for MRB_API declarations.Tatsuhiko Kubo
2014-08-28Rename functions for avoinding symbol confiliction.Tatsuhiko Kubo
Add prefix(mrb) to noregexp() and regexp_check().
2014-08-28Unify duplicated functions (noregexp() and regexp_check()).Tatsuhiko Kubo
2014-08-25Remove spaces in end-of-line.Tatsuhiko Kubo
2014-08-22Use sizeof() instead of strlen().Tatsuhiko Kubo
2014-08-22Update math.cbggd
2014-08-22Merge pull request #2551 from cubicdaiya/issues/use_mrb_str_cat_litYukihiro "Matz" Matsumoto
use mrb_str_cat_lit() instead of mrb_str_cat_cstr().
2014-08-21use mrb_str_cat_lit() instead of mrb_str_cat_cstr().Tatsuhiko Kubo
2014-08-21changed to call check_cv_name_str in check_cv_name_sym and adjust indentkkkkkt
2014-08-20Merge pull request #2548 from take-cheeze/mrb_data_initYukihiro "Matz" Matsumoto
Add API `mrb_data_init` to initialize `MRB_TT_DATA` tagged instance.
2014-08-20Add API `mrb_data_init` to initialize `MRB_TT_DATA` tagged instance.take_cheeze
2014-08-20Remove empty lines.Tatsuhiko Kubo
2014-08-19Fix error handling for mrb_generate_code().Tatsuhiko Kubo
The return value of mrb_generate_code() must be null-checked before referencing.
2014-08-19Fix error handlings in mirb.Tatsuhiko Kubo
mrb_parser_new() and mrb_generate_code() may return NULL.
2014-08-15Improve replacement math functions for Visual C++.chasonr
2014-08-11"-a-a-".succ should be "-a-b-"mattn
2014-08-11Fix String#succ. "-a-".succ should be "-b-"mattn
2014-08-11Fix String#succ. "-".succ should be "."mattn
2014-08-09timer on windows bug fixed.dycoon
2014-08-08remove test for succ on Unicode (non-ASCII) char; #2520Yukihiro "Matz" Matsumoto
2014-08-08Merge branch 'string-succ' of https://github.com/mattn/mruby into ↵Yukihiro "Matz" Matsumoto
mattn-string-succ
2014-08-08Add String#succ, String#succ!, String#next, String#next!mattn
2014-08-08fixed evaluation context of eval(string) and instance_eval(string)Satoshi Odawara
2014-08-08move StopIteration to core; close #2518Yukihiro "Matz" Matsumoto
2014-08-06Merge pull request #2510 from cremno/mruby-strip-use-mrb_open_coreYukihiro "Matz" Matsumoto
mruby-strip doesn't need mrbgems
2014-08-05added Math.cos and Math.tan test casekkkkkt
2014-08-04mruby-strip doesn't need mrbgemscremno
Reduces executable size by more than 50% (409->171 KB).
2014-08-04add MRB_API modifiers to mruby API functionsYukihiro "Matz" Matsumoto
2014-08-03Time#to_i and Time#usec should care about mrb_int overflow on MRB_INT16; ref ↵Yukihiro "Matz" Matsumoto
#2495
2014-07-30Merge pull request #2462 from cremno/mirb-malloc-history_pathYukihiro "Matz" Matsumoto
mirb: allocate `history_path` dynamically
2014-07-22restore mrb_get_args() in f_instance_eval to check arguments typeYukihiro "Matz" Matsumoto
2014-07-22exception in instance_eval should not exit mrb_run; fix #2483Yukihiro "Matz" Matsumoto