summaryrefslogtreecommitdiffhomepage
path: root/src/string.c
AgeCommit message (Expand)Author
2020-05-07Rename (and expose) UTF-8 related functions; ref #4712Yukihiro "Matz" Matsumoto
2020-05-01Fix UTF-8 boundary check; ref #4982Yukihiro "Matz" Matsumoto
2020-02-03Add explicit type cast to return value from `mrmchr`; ref #4940Yukihiro "Matz" Matsumoto
2020-02-03Use simple search for short strings in `mrb_memsearch_qs`; close #4940Yukihiro "Matz" Matsumoto
2020-01-08Fix buffer overflow in `mrb_str_len_to_dbl`.Yukihiro "Matz" Matsumoto
2020-01-07Check memory boundary in `mrb_str_len_to_dbl`.Yukihiro "Matz" Matsumoto
2020-01-06`"0x10".to_f` should be `0`, not `16.0`; fix #4924Yukihiro "Matz" Matsumoto
2020-01-06Check remaining string length before access to avoid OOB access.Yukihiro "Matz" Matsumoto
2020-01-06Need to preserve the original input string in `mrb_str_len_to_dbl`.Yukihiro "Matz" Matsumoto
2020-01-06Fix `mrb_str_len_to_dbl` to support Hexadecimal like `0x10`.Yukihiro "Matz" Matsumoto
2020-01-06Refactor `mrb_cstr_to_dbl`; ref #4920Yukihiro "Matz" Matsumoto
2020-01-06Avoid creating temporary objects in `read_irep_record_1`; close #4920Yukihiro "Matz" Matsumoto
2020-01-01Revert "SHARED string is not required when sharing POOL string" (75949836)KOBAYASHI Shuji
2019-12-14Remove location info from `Exception#inspect`KOBAYASHI Shuji
2019-12-11Fix behavior of `Kernel#Integer` to numbers ending with `_` and spacesKOBAYASHI Shuji
2019-12-10Fix behavior of `String#to_i`/`Kernel#Integer` to numbers starting with `_`KOBAYASHI Shuji
2019-12-09Fix that `String#to_f` accepts consecutive `_` as a numeric expressionKOBAYASHI Shuji
2019-12-08Fix the error message of `Kernel#Float`KOBAYASHI Shuji
2019-11-23Rename `BITSIZE` to `BIT` and `BIT` to `BIT_POS` for consistencyKOBAYASHI Shuji
2019-11-21Introduce `mrb_ssize` type for buffer size on memory; ref #4483KOBAYASHI Shuji
2019-11-19Refactor `mrb_string_value_cstr`KOBAYASHI Shuji
2019-11-08Avoid unnecessary `Symbol#to_s` call; fix #4812Yukihiro "Matz" Matsumoto
2019-11-07Clear `MRB_STR_SHARED` flag in `mrb_str_modify_keep_ascii`; close #4807KOBAYASHI Shuji
2019-11-03Remove unused enum in `mrb_cstr_to_dbl`KOBAYASHI Shuji
2019-10-28Remove documents about `Regexp` argument from `String#{[],[]=}` [ci skip]KOBAYASHI Shuji
2019-10-27Refine `String#split` documentKOBAYASHI Shuji
2019-10-26Optimize `chars2bytes` with `MRB_UTF8_STRING` to ASCII only stringKOBAYASHI Shuji
2019-10-23Optimize `str_subseq` with `MRB_UTF8_STRING` to ASCII only stringKOBAYASHI Shuji
2019-10-22Fix incorrect `MRB_STR_ASCII` flag update in `mrb_str_dump`KOBAYASHI Shuji
2019-10-15Adjust `buf` size in `str_escape`KOBAYASHI Shuji
2019-10-12Merge pull request #4770 from shuujii/sHARED-string-is-not-required-when-shar...Yukihiro "Matz" Matsumoto
2019-10-12SHARED string is not required when sharing POOL stringKOBAYASHI Shuji
2019-10-12Rename `str_make_shared()` to `str_share()` in `src/string.c`KOBAYASHI Shuji
2019-10-10Integrate `mrb_str_inspect` and `mrb_str_dump`KOBAYASHI Shuji
2019-10-06Remove unnecessary function: `mrb_str_freeze`.Yukihiro "Matz" Matsumoto
2019-10-04Freeze strings from `nil.to_s`, `true.to_s`, `false.to_s`.Yukihiro "Matz" Matsumoto
2019-09-27Simplify arguments check in `String#rindex`KOBAYASHI Shuji
2019-09-26Use type predicate macros instead of `mrb_type` if possibleKOBAYASHI Shuji
2019-09-25Rename symbol-to-string functions; close #4684Yukihiro "Matz" Matsumoto
2019-09-19Simplify arguments check in `String#index`KOBAYASHI Shuji
2019-09-14Add a macro `mrb_frozen_p` that points to `MRB_FROZEN_P`.Yukihiro "Matz" Matsumoto
2019-09-14Raise an error from `String#<=>` with a non string operand.Yukihiro "Matz" Matsumoto
2019-09-12Remove `$/` from mruby implementation.Yukihiro "Matz" Matsumoto
2019-09-11Move `String#{getbyte,setbyte,byteslice}` to the core; #4696Yukihiro "Matz" Matsumoto
2019-08-24Suppress warning by gcc with `-Wmaybe-uninitialized`dearblue
2019-08-21Prioritize embedded string over nofree (or normal) stringKOBAYASHI Shuji
2019-08-20Use `RBasic` padding for embedded string on 64-bit CPUKOBAYASHI Shuji
2019-08-19Move `mrb_str_pool` to `src/string.c` to use `str_init` familyKOBAYASHI Shuji
2019-08-19Merge pull request #4638 from dearblue/simplify-get-argsYukihiro "Matz" Matsumoto
2019-08-19Merge pull request #4641 from shuujii/rename-mrb_shared_string-len-to-mrb_sha...Yukihiro "Matz" Matsumoto