summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-struct
AgeCommit message (Collapse)Author
2014-06-05mruby-struct: internal linkage for all functionscremno
2014-05-28Add invalid key type check in `Struct#[]=`.take_cheeze
2014-05-28Support string key in `Struct#[]=`.take_cheeze
2014-05-03refactoring mruby-structYukihiro "Matz" Matsumoto
2014-05-03use proper length for mrb_get_values_at()Yukihiro "Matz" Matsumoto
separate mrb_range_beg_len() into two: the one truncates range into the sequence size, and the one does not. #values_at uses the latter.
2014-05-02Implement Struct#values_at and Array#values_at .take_cheeze
Add API `mrb_get_values_at()` to mruby/range.h .
2014-04-30Implement Struct#to_h .take_cheeze
2014-04-27Implement Struct#to_a and Struct#values .take_cheeze
2014-04-25Use mrb_int in mrbgem rest argument getting.take_cheeze
2014-04-21Remove `Struct` defined check in test.take_cheeze
2014-04-20Implement Struct#size and Struct#length .take_cheeze
2014-04-18Use RARRAY_* macro instead of accessing RArray field.take_cheeze
2014-04-12Restore arena index since large struct may create many Proc objects; a patch ↵Yukihiro "Matz" Matsumoto
from @take-cheeze; ref #2052
2014-04-12Add test cases to 'large struct' test; a patch from @take-cheeze; ref #2052Yukihiro "Matz" Matsumoto
2014-03-25Use mrb_int instead of intcubicdaiya
2014-03-22use the same error messageMarcus Stollsteimer
2014-03-19rename mrb_yield_internal to mrb_yield_with_class since it's no longer internalYukihiro "Matz" Matsumoto
2014-03-19self must be the newly created object in initialization block; close #1858Tomoyuki Sahara
2014-03-17move summary of mrbgems in default gembox to its spectake_cheeze
2014-03-15symbol length type to be mrb_intYukihiro "Matz" Matsumoto
2014-03-12fix mrb_funcall callingtake_cheeze
2014-03-01use C style comments instead of C++ style commentscubicdaiya
According to CONTRIBUTING.md, Don't use C++ style comments /* This is the prefered comment style */ Use C++ style comments only for temporary comment e.g. commenting out some code lines.
2014-02-26Merge pull request #1744 from cubicdaiya/feature/introduce_mrb_str_cat_litYukihiro "Matz" Matsumoto
Introduce mrb_str_cat_lit
2014-02-26use mrb_str_cat_lit() more widelycubicdaiya
2014-02-26use mrb_str_new_lit instead of mrb_str_new for C string literalscubicdaiya
2014-02-13mrb_str_cat2: deprecated since 0cedf8fcremno
2014-01-16Increase test coverage of mruby-structCarson McDonald
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-09-23eliminate use of traditional intern API (mrb_intern()) completelyYuichi Nishiwaki
2013-07-23"spec.author" is better for single-author gems.Tomoyuki Sahara
"spec.author=" expects a String represents a single author. "spec.authors=" expects an Array which is a list of multiple authors. http://guides.rubygems.org/specification-reference/
2013-07-14Replace mrb_intern() with mrb_intern2() or mrb_intern_cstr().Jun Hiroe
2013-07-01Fix signed/unsigned warning.Carson McDonald
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-29remove unnecessary intern; access to non-member cause IndexErrorYukihiro "Matz" Matsumoto
2013-04-29rename mrb_to_id to mrb_obj_to_sym since symbol is nothing to do with ↵Yukihiro "Matz" Matsumoto
identifier in mruby
2013-04-25rename every ARGS_XXX to MRB_ARGS_XXX; ref #1206Yukihiro "Matz" Matsumoto
2013-04-04Use mrb_name_error() as possible.Masaki Muranaka
2013-03-28Fix raisef formats in struct.c.Masaki Muranaka
2013-03-24resolve conflictYukihiro Matz Matsumoto
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 mrb_struct_eql().Masaki Muranaka
2013-03-19Use mrb_true_or_false_value() / in mrb_struct_equal().Masaki Muranaka
2013-03-14use mrb_int as possible based on a patch from @monaka; close #994Yukihiro Matz Matsumoto
2013-03-14use size_t for string length C APIYukihiro Matz Matsumoto
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.