summaryrefslogtreecommitdiffhomepage
path: root/src/string.c
AgeCommit message (Collapse)Author
2013-11-19irep->pool struct pool -> mrb_valueMiura Hideki
2013-11-07irep->pool not to be GCedYukihiro "Matz" Matsumoto
2013-09-21index to mrb_digitmap[] should always be positiveYukihiro "Matz" Matsumoto
2013-08-26Merge branch 'mruby' into pr-typeerror-string-start-end-withTomoyuki Sahara
Conflicts: mrbgems/mruby-string-ext/src/string.c mrbgems/mruby-string-ext/test/string.rb
2013-08-24Fix a problem of 'z' option and shared stringh2so5
2013-08-23add mrb_string_type().Tomoyuki Sahara
2013-08-11I fix ISO No in String class in comparison with ↵Jun Hiroe
ISO_IEC_30170_2012(E)-Charactor_PDF_document.pdf
2013-07-23String `=~` and `match` to work with pluggable Regexp; close #1398Yukihiro "Matz" Matsumoto
2013-07-15Repalace int with mrb_bool because a return value is boolean.Jun Hiroe
2013-07-11Replace 0 with '\0' as nul terminated string.Jun Hiroe
2013-06-21Cleanup mrb_str_resize().Masaki Muranaka
2013-06-21make mrb_str_new_cstr DRYcubicdaiya
Using str_new eliminates duplicated codes in mrb_str_new_cstr.
2013-06-15Merge upstreamDaniel Bovensiepen
2013-06-17Add ISO Number to StringDaniel Bovensiepen
2013-05-26Add MRB_WORD_BOXING mode (represent mrb_value as a word)kimu_shu
2013-04-29always use unsigned int as mrb_bool even in C++Yukihiro "Matz" Matsumoto
2013-04-29fix mrb_string_shared memory leaksYukihiro "Matz" Matsumoto
2013-04-29move mrb_shared_string definition to src/string.cYukihiro "Matz" Matsumoto
2013-04-28mrb_str_new_static(): zero copy string creationYukihiro "Matz" Matsumoto
2013-04-25remove unnecessary local variableYukihiro "Matz" Matsumoto
2013-04-25Remove sprintf().Masaki Muranaka
2013-04-25remove calling sprintf(); ref #1210Yukihiro "Matz" Matsumoto
2013-04-25a string may have a lot of non-printable chars.Tomoyuki Sahara
2013-04-25rename every ARGS_XXX to MRB_ARGS_XXX; ref #1206Yukihiro "Matz" Matsumoto
2013-04-21Use memcmp instead of strcmp if it is possible.Masaki Muranaka
2013-04-21Remove a comment.Masaki Muranaka
2013-04-21Clean up variable types and type casts.Masaki Muranaka
2013-04-20put spaces after if/whileYukihiro "Matz" Matsumoto
2013-04-19Make str_modify publich2so5
2013-04-10Refactor mrb_str_dumph2so5
2013-04-05factor out redundant Regexp check into functionsYukihiro "Matz" Matsumoto
2013-03-29Rename mrb_fix2str() to mrb_fixnum_to_str(). This is for naming consistency.Masaki Muranaka
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-29Rearrange SIZE_MAX. It is supported also VC++ since its version10. And there ↵Masaki Muranaka
seems SIZE_MAX is defined in stdint.h. And it possibly (depends on the version of VC++) conflicts with SIZE_MAX in limits.h. This patch is no need if I did not support VC++.
2013-03-29Sort include files. Some redundant includes are removed.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-26Preprocessor # should be the top of line.Masaki Muranaka
2013-03-26Remove unused macros.Masaki Muranaka
2013-03-24Adjusted indent, space and tabMATSUMOTO Ryosuke
2013-03-23rename mrb_ptr_as_string() to mrb_ptr_to_str()Yukihiro Matz Matsumoto
2013-03-23Merge branch 'pr-add-mrb_ptr_as_string' of https://github.com/monaka/mruby ↵Yukihiro Matz Matsumoto
into monaka-pr-add-mrb_ptr_as_string
2013-03-23Remove _obj_classname() as unused.Masaki Muranaka
2013-03-23Use mrb_obj_classname() instead of _obj_classname(). They are complietely same.Masaki Muranaka
2013-03-23Add new API mrb_ptr_as_string().Masaki Muranaka
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-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_str_include().Masaki Muranaka
2013-03-19Use mrb_true_or_false_value() / in mrb_str_eql().Masaki Muranaka
2013-03-19Use mrb_true_or_false_value() / in mrb_str_empty_p().Masaki Muranaka