summaryrefslogtreecommitdiffhomepage
path: root/src/string.c
AgeCommit message (Expand)Author
2013-03-12Rename STR_BUF_MIN_SIZE to MRB_STR_BUF_MIN_SIZE. Make it configurable.Masaki Muranaka
2013-03-11Fix indent in string.ckano4
2013-03-05Replace tabs with spaceskano4
2013-03-05Remove RB_GC_GUARD(x) macro. See also mruby/mruby#948.Masaki Muranaka
2013-03-05Include stdio.h in mrbconf.h instead of C extension sources.Masaki Muranaka
2013-03-03The variable len isn't used anywhere.Carson McDonald
2013-03-01Add typedef to structures that have mrb_ prefix. Use typedef-ed type instead ...Masaki Muranaka
2013-02-26Simplify mrb_range_beg_len(). Don't use OTHER macro.Masaki Muranaka
2013-02-23Merge pull request #878 from monaka/pr-reduce-sprintfYukihiro "Matz" Matsumoto
2013-02-24Remove commented out code. Remove redundant function calls.Masaki Muranaka
2013-02-23Reduce sprintf() calls. Remove mrb_int_to_str() and MRB_INT_FORMAT.Masaki Muranaka
2013-02-18String#split should honor limit argYukihiro Matz Matsumoto
2013-02-15REGEXP_CLASSmattn
2013-02-15Should be OP_LOADLmattn
2013-02-15Pluggable Regexpmattn
2013-02-11add mrb_str_to_cstrAkira Yumiyama
2013-02-03Restore arena in `String#split`.Masamitsu MURASE
2013-01-29Remove API mrb_str_catf().Masaki Muranaka
2013-01-11remove mrb_str_each_line form src/string.cskandhas
2012-12-19Modify String#bytes.Masamitsu MURASE
2012-12-10Fix memory leak in String#to_i and String#to_f.Masamitsu MURASE
2012-12-01Fix typos: invalide -> invalid; patch from @darashi; close #577Yukihiro Matz Matsumoto
2012-11-17int and mrb_int should not be mixed under -DMRB_INT64; may fix #557Yukihiro Matz Matsumoto
2012-11-08adjust string length after String#chomp!Akira Yumiyama
2012-11-04replace RBASIC by mrb_basicYukihiro Matz Matsumoto
2012-11-04add new predicates mrb_string_p(),mrb_array_p(),mrb_hash_p()Yukihiro Matz Matsumoto
2012-11-01add String#bytes to return bytes in a stringYukihiro Matsumoto
2012-10-23mrb_raisef(): new function. Same as previou version of mrb_raise().Masaki Muranaka
2012-10-22Remove redundant sizeof(char). "Always sizeof(char) == 1" is described in ISO...Masaki Muranaka
2012-09-13should define String#+ (non inlined); close #469Yukihiro Matsumoto
2012-09-12two more wrapper macros for ctype.hTomoyuki Sahara
2012-09-11Define DBL_DIG only if it wasn't previously definedemboss
2012-08-18reduce mrb_funcall invocationsYukihiro Matsumoto
2012-08-13use TRUE/FALSE instead of 1/0Yukihiro Matsumoto
2012-07-29Merge pull request #407 from silverhammermba/cppYukihiro "Matz" Matsumoto
2012-07-30do not use INT32_MAX; close #407Yukihiro Matsumoto
2012-07-29Make all(?) void casts explicit for C++Max Anselm
2012-07-29Remove commented out code.Masaki Muranaka
2012-07-14Remove unnecessary header inclusionJunji Sawada
2012-07-13less <stdio.h>Yukihiro Matsumoto
2012-07-13remove st.h inclusionYukihiro Matsumoto
2012-07-06remove debug printf; close #345Yukihiro Matsumoto
2012-06-30Fix str_replace in string.cMasamitsu MURASE
2012-06-27sizeof("a") is bigger by one than strlen("a")Yukihiro Matsumoto
2012-06-27use return value from sprintf/snprintfYukihiro Matsumoto
2012-06-26Prevent memory leak when string literal is created.Masamitsu MURASE
2012-06-23reduce calling mrb_str_new_cstr() to avoid strlen(); #301Yukihiro Matsumoto
2012-06-23remove assertion for false assumption; mrb_str_new(0, len) where len > 0 can ...Yukihiro Matsumoto
2012-06-22Use mrb_str_new() instead of mrb_str_new2() as possible.Masaki Muranaka
2012-06-21reduce calling of strlen(); #301Yukihiro Matsumoto