summaryrefslogtreecommitdiffhomepage
path: root/src/string.c
AgeCommit message (Expand)Author
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
2012-06-20remove RuntimeError from mrb_stateYukihiro Matsumoto
2012-06-15Remove TRUE/FALSE definition in C sources. (Reported by #282 but not applied.)Masaki Muranaka
2012-06-15use ENABLE/DISABLE instead of INCLUDE for configuration macro namesYukihiro Matsumoto
2012-06-15Remove some redundant code.Masaki Muranaka
2012-06-12String#split("") should split per character (byte for now)Yukihiro Matsumoto
2012-06-12corrupted String#inspect on backslash escapesYukihiro Matsumoto
2012-06-12s.split(nil) should work like s.split()Yukihiro Matsumoto
2012-06-12remove obsolete commentYukihiro Matsumoto
2012-06-12String#split now understands string sepYukihiro Matsumoto
2012-06-11should increment p on every iteration; close #254Yukihiro Matsumoto
2012-06-11string.subseq should create new string based on 'ptr' not on 'aux.shared'.Masamitsu MURASE