summaryrefslogtreecommitdiffhomepage
path: root/src/string.c
AgeCommit message (Expand)Author
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
2019-08-18Rename `mrb_shared_string::len` to `mrb_shared_string::capa`KOBAYASHI Shuji
2019-08-18Also use `str_init_shared` for `orig` in `str_make_shared()`KOBAYASHI Shuji
2019-08-18Simplify get argumentsdearblue
2019-08-17Merge pull request #4634 from shuujii/refactor-set-unset-string-type-flagsYukihiro "Matz" Matsumoto
2019-08-17Refactor set/unset string type flagsKOBAYASHI Shuji
2019-08-17Fix `String#rindex` with invalid UTF-8 stringdearblue
2019-08-16SHARED/FSHARED string is not required when sharing NOFREE stringKOBAYASHI Shuji
2019-08-15Remove unneeded `#include` in `src/string.c`KOBAYASHI Shuji
2019-08-14Extract initialization code of shared and fshared string to functionKOBAYASHI Shuji
2019-08-14Small refactoring on #4630Yukihiro "Matz" Matsumoto
2019-08-13Extract `struct RString` initialization code to functionKOBAYASHI Shuji
2019-08-12Merge pull request #4626 from shuujii/mrb_str_modify_keep_ascii-can-embed-one...Yukihiro "Matz" Matsumoto
2019-08-12Replacing region may overwrap with the target region; fix #4627Yukihiro "Matz" Matsumoto
2019-08-11Add `NUL` always to short strings; ref 98fc887Yukihiro "Matz" Matsumoto
2019-08-11`mrb_str_modify_keep_ascii` can embed one more byteKOBAYASHI Shuji
2019-08-07Update `mrb_to_str` and related functions.Yukihiro "Matz" Matsumoto
2019-08-07Reorganize `mrb_string_value_cstr` and related functions.Yukihiro "Matz" Matsumoto
2019-08-05Use new specifiers/modifiers of `mrb_vfromat()`KOBAYASHI Shuji
2019-07-22Set `MRB_STR_ASCII` flag in `String#inspect`KOBAYASHI Shuji
2019-07-17Avoid `MRB_INLINE` for `mrb_str_modify()`; ref #4579Yukihiro "Matz" Matsumoto
2019-07-16Copy receiver's `MRB_STR_ASCII` flag in some methods of `String`KOBAYASHI Shuji
2019-07-16Merge pull request #4579 from shuujii/keep-MRB_STR_ASCII-flag-in-some-methods...Yukihiro "Matz" Matsumoto
2019-07-15Add `MRB_API` to `mrb_str_modify_keep_ascii()`KOBAYASHI Shuji
2019-07-14Keep `MRB_STR_ASCII` flag in some methods of `String`KOBAYASHI Shuji
2019-07-14Improve `utf8len()` performance with UTF-8dearblue
2019-07-13Change type of a variable for signedness mismatch; ref #4573Yukihiro "Matz" Matsumoto
2019-07-12Fix heap buffer overflow; fix #4569dearblue
2019-07-11Improve performance `String#index` with UTF-8dearblue
2019-07-10Remove an unused argument of `str_with_class()`KOBAYASHI Shuji
2019-07-05Read/write `MRB_STR_ASCII` flag only when `MRB_UTF8_STRING` is definedKOBAYASHI Shuji
2019-07-04Rename `MRB_STR_NO_UTF` to 'MRB_STR_ASCII`; close #4550Yukihiro "Matz" Matsumoto
2019-07-04Fix heap buffer overflow; ref #4549dearblue
2019-06-29Simplify `mrb_str_aref_m()` and `mrb_str_aref()`dearblue
2019-06-29Replace `String#[]=` method by C implementsdearblue
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