summaryrefslogtreecommitdiffhomepage
path: root/src/string.c
AgeCommit message (Expand)Author
2019-06-26Silence unused label warnings from gcc; ref #4524KOBAYASHI Shuji
2019-06-26Merge pull request #4524 from dearblue/reverse-utf8Yukihiro "Matz" Matsumoto
2019-06-26Merge pull request #4532 from shuujii/fix-String-byteslice-with-MRB_UTF8_STRI...Yukihiro "Matz" Matsumoto
2019-06-25Fix `String#byteslice` with `MRB_UTF8_STRING` and some edge casesKOBAYASHI Shuji
2019-06-25Fix `mrb_str_to_str()` to handle symbols.Yukihiro "Matz" Matsumoto
2019-06-22Fix the unnecessary `mrb_str_modify()` calldearblue
2019-06-22Delete the unnecessary block brace in `mrb_str_reverse_bang`dearblue
2019-06-22Fix string brakes for one UTF-8 charactordearblue
2019-06-22Change to UTF-8 string reversing with in placedearblue
2019-06-22Replacement to function for string reversingdearblue
2019-06-22Fix potential overflow in `utf8len()`dearblue
2019-05-25Fix double rounded by negative indexdearblue
2019-05-25Name the return value of `mrb_range_beg_len()`dearblue
2019-05-08Use `mrb_string_value_cstr` in `mrb_str_to_dbl`KOBAYASHI Shuji
2019-05-07Refactor `mrb_str_to_cstr` and `mrb_string_value_cstr`KOBAYASHI Shuji
2019-05-02Merge pull request #4417 from shuujii/unify-overflow-error-class-for-conversi...Yukihiro "Matz" Matsumoto
2019-05-02Unify overflow error class for conversion to integer to `RangeError`KOBAYASHI Shuji
2019-05-01Remove unneeded `argc` check in `mrb_str_aref_m()`KOBAYASHI Shuji
2019-04-24Remove unnecessary `mrb_regexp_check()` and related functions.Yukihiro "Matz" Matsumoto
2019-04-09Extract frozen checking to functionKOBAYASHI Shuji
2019-03-26Fix missing `MRB_API` prefix for functions below; clse #4267Yukihiro "Matz" Matsumoto
2019-03-25Use uppercase version of `ctype` macros e.g. `ISSPACE`; fix #4338Yukihiro "Matz" Matsumoto
2019-02-06Reduce invocation of `mrb_convert_type()` from `mrb_str_to_str()`.Yukihiro "Matz" Matsumoto
2019-02-05Fix markup and remove unneeded comment for doc in `src/string.c` [ci skip]KOBAYASHI Shuji
2019-02-04Fix `Symbol#size` for multi-byte characters with `MRB_UTF8_STRING`KOBAYASHI Shuji
2019-01-29Remove unused macro in `src/string.c`KOBAYASHI Shuji
2018-12-17Recover `String#to_str`; ref #4177Yukihiro "Matz" Matsumoto
2018-11-19Call `mrb_str_to_str` from `mrb_string_value_ptr` for compatibility.Yukihiro "Matz" Matsumoto
2018-11-19Use type checking `mrb_to_str` instead of converting `mrb_str_to_str`.Yukihiro "Matz" Matsumoto
2018-11-19Remove implicit conversion using `to_str` method; fix #3854Yukihiro "Matz" Matsumoto
2018-06-28Use `mrb_raise()` instead of `mrb_raisef()`; ref #4062Yukihiro "Matz" Matsumoto
2018-06-27Add negative check in `mrb_str_resize`; fix #4062Yukihiro "Matz" Matsumoto
2018-05-02Need to call `mrb_str_modify()` in `mrb_str_cat_str()`; fix #4018Yukihiro "Matz" Matsumoto
2018-04-28Fix broken support of `MRB_WITHOUT_FLOAT`; fix #4015Yukihiro "Matz" Matsumoto
2018-04-17Fallback to float when caompiled binary with 64bit compiler.Takeshi Watanabe
2018-03-24Return nil if type differ in `String#<=>`.Takeshi Watanabe
2018-02-12`String#inspect` to use hexadecimal, not octal to print unprintable.Yukihiro "Matz" Matsumoto
2017-12-23Make source compilable with C++17Lothar Scholz
2017-12-12Modifying frozen objects will raise `FrozenError`.Yukihiro "Matz" Matsumoto
2017-11-08Should allocate memory region before updating `len`; fix #3842Yukihiro "Matz" Matsumoto
2017-11-04Merge branch 'master' of github.com:mruby/mrubyYAMAMOTO Masaya
2017-11-03Should not use `FSHARED` state for string from `irep` pools; fix #3829Yukihiro "Matz" Matsumoto
2017-10-11Add MRB_WITHOUT_FLOATYAMAMOTO Masaya
2017-10-01Add new type of shared string: `RSTR_FSHARED`.Yukihiro "Matz" Matsumoto
2017-09-27fix: src\string.c(2219): warning C4244: 'function': conversion from 'mrb_int'...Tomasz Dąbrowski
2017-09-27fix: src\string.c(1924): warning C4244: '=': conversion from 'mrb_int' to 'in...Tomasz Dąbrowski
2017-09-27fix: src\string.c(1130): warning C4244: '=': conversion from 'mrb_int' to 'in...Tomasz Dąbrowski
2017-09-27fix: src\string.c(497): warning C4244: '=': conversion from 'mrb_int' to 'lon...Tomasz Dąbrowski
2017-09-27fix: src\hash.c(27): warning C4244: '=': conversion from 'mrb_int' to 'khint_...Tomasz Dąbrowski
2017-08-22`strlen` returns `size_t`; need to cast before assigning to `int`.Yukihiro "Matz" Matsumoto