summaryrefslogtreecommitdiffhomepage
path: root/src/string.c
AgeCommit message (Expand)Author
2017-01-11String#replace should check replacing string; fix #3374Yukihiro "Matz" Matsumoto
2017-01-06Improve capacity enhancing conditionsYukihiro "Matz" Matsumoto
2017-01-06Add pointer cast to pacify warnings.Yukihiro "Matz" Matsumoto
2017-01-06Move mrb_assert() position.Yukihiro "Matz" Matsumoto
2017-01-06Should not deallocate shared string referring static; fix #3373Yukihiro "Matz" Matsumoto
2017-01-02Fix memory error on str_buf_catksss
2017-01-02Small refactoring: should use RSTR_CAPAksss
2016-12-31str_buf_cat(): better size check added; ref #3342Yukihiro "Matz" Matsumoto
2016-12-31str_buf_cat(): should allocate at least RSTRING_EMBED_LEN_MAX+1.Yukihiro "Matz" Matsumoto
2016-12-25Merge pull request #3364 from ksss/string2Yukihiro "Matz" Matsumoto
2016-12-23Check overflow string lengthksss
2016-12-23Do nothing when empty stringksss
2016-12-15Fix crash when exponent is -2147483648Clayton Smith
2016-12-13Add assertion to make sure new capacity does not overflow.Yukihiro "Matz" Matsumoto
2016-12-13Make sure str->capa is under MRB_INT_MAX; fix #3342Yukihiro "Matz" Matsumoto
2016-12-12rename prefix RBASIC_ to MRB_; ref #3340Yukihiro "Matz" Matsumoto
2016-12-11Implement Object#freezeTakashi Kokubun
2016-12-08Removed unnecessary const macro - const keyword is already a dependencyFelix Jones
2016-12-08disable define const on VSYasuhiro Matsumoto
2016-12-07Removed the errno declaration from string.cFelix Jones
2016-12-07Wrapped string.c errno with ifndef macro for platforms that use inbuilt errno...Felix Jones
2016-12-03add MRB_API to mrb_float_read(); ref #3270Yukihiro "Matz" Matsumoto
2016-12-03Import locale insensitive strtod() from Ruby1.8; fix #3270Yukihiro "Matz" Matsumoto
2016-11-24Get String length after args in String#chomp!Clayton Smith
2016-11-24Fixes for compiling mruby as C++Tomasz Dąbrowski
2016-11-17String#include? does not take integersYukihiro "Matz" Matsumoto
2016-11-16Correct argument specifications for few methods:Tomasz Dąbrowski
2016-09-27mrb_str_strlen() should be MRB_API; ref #3216Yukihiro "Matz" Matsumoto
2016-09-25Remove needless MRB_APIKouhei Sutou
2016-02-05[cppcheck] mrb_str_rindex() remove unnecessary len update by chars2bytes()Yukihiro "Matz" Matsumoto
2016-02-04cache UTF8 status for utf8_strlen(); ref #980Yukihiro "Matz" Matsumoto
2016-01-14Fix all zero string caseSyohei YOSHIDA
2016-01-05bytes2chars() conversion to fail if target byte offset is not on the characte...Yukihiro "Matz" Matsumoto
2015-12-31Use memchr for performanceksss
2015-12-22fix build on VS2012Yasuhiro Matsumoto
2015-12-16mrb_str_len_to_inum(): fixed a bug with MRB_INT_MIN conversion; fix #3048Yukihiro "Matz" Matsumoto
2015-12-16mrb_str_len_to_inum(): fixed a bug with underscores in digits; fix #3049Yukihiro "Matz" Matsumoto
2015-12-14mrb_str_len_to_inum(): string may not be NUL terminated; ref #3043Yukihiro "Matz" Matsumoto
2015-12-14mrb_str_len_to_inum(): fixed a bug with separating _ in the digits; ref #3043Yukihiro "Matz" Matsumoto
2015-12-12mrb_str_len_to_inum: should not raise "string contains null byte" error on "0...Yukihiro "Matz" Matsumoto
2015-12-12mrb_str_len_to_inum: converting may not be terminated by NUL; fix #3044Yukihiro "Matz" Matsumoto
2015-12-01preserve original string for error messageYukihiro "Matz" Matsumoto
2015-12-01mrb_str_len_to_inum(): inspect string in error messageYukihiro "Matz" Matsumoto
2015-12-01new API function mrb_string_value_len()Yukihiro "Matz" Matsumoto
2015-12-01mrb_str_to_inum(): should treat null byte in strings properly; fix #3040Yukihiro "Matz" Matsumoto
2015-12-01mrb_cstr_to_inum(): should ignore trailing white spaces even when badcheck setYukihiro "Matz" Matsumoto
2015-12-01mrb_str_to_inum(): should raise error when string contains null byteYukihiro "Matz" Matsumoto
2015-12-01mrb_str_to_inum(): no need to call mrb_string_value_cstr() here; ref 05411eeYukihiro "Matz" Matsumoto
2015-12-01mrb_string_value_cstr() should not raise error for frozen stringsYukihiro "Matz" Matsumoto
2015-11-27include changed from by quotes ("") to by brackets (<>); close #3032Yukihiro "Matz" Matsumoto