summaryrefslogtreecommitdiffhomepage
path: root/src/string.c
AgeCommit message (Expand)Author
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
2012-06-05mruby/string.h: rename buf to ptrYukihiro Matsumoto
2012-06-04symbol can contain non printable charactersYukihiro Matsumoto
2012-06-03str_modify() revives string buffer kept in shared structure if refcnt == 1Yukihiro Matsumoto
2012-06-03string.subseq should update shared refcntYukihiro Matsumoto
2012-06-03strig.c should properly decref shared entitiesYukihiro Matsumoto
2012-06-03should decref shared string body on gc_freeYukihiro Matsumoto
2012-06-03should initialize shared->buf as well as s->bufYukihiro Matsumoto
2012-06-03str_make_shared not to return new stringYukihiro Matsumoto
2012-06-03make shared string to reference-counted C structure to reduce GC pressureYukihiro Matsumoto
2012-06-02ensure str_modify is called at the beginning of modifying methodsYukihiro Matsumoto
2012-06-02mrb_str_concat was broken for shared strings; close #214Yukihiro Matsumoto
2012-06-01reorder mrb_ary_new_from_values() args to (argc, argv)Yukihiro Matsumoto
2012-05-31correctly share string bodiesYukihiro Matsumoto
2012-05-31remove unused str_new_frozenYukihiro Matsumoto
2012-05-31shared strings should not chainYukihiro Matsumoto
2012-05-31allow string shared bodyYukihiro Matsumoto
2012-05-31reimplement String#*Yukihiro Matsumoto
2012-05-31reimplement String#<=>Yukihiro Matsumoto
2012-05-31reimplement String#capitalizeYukihiro Matsumoto
2012-05-31reimplement String#chompYukihiro Matsumoto
2012-05-31reimplement String#upcaseYukihiro Matsumoto
2012-05-31reimplement String#downcaseYukihiro Matsumoto