summaryrefslogtreecommitdiffhomepage
path: root/src/string.c
AgeCommit message (Expand)Author
2021-10-23string.c: use FNV1a algorithm for the string hash function.Yukihiro "Matz" Matsumoto
2021-10-03mruby/ops.h: add new instructions `OP_GETIDX` and `OP_SETIDX`.Yukihiro "Matz" Matsumoto
2021-09-09string.c: check integer overflow in `str_replace_partial`.Yukihiro "Matz" Matsumoto
2021-09-09string.c: check integer overflow in `mrb_str_aset()`.Yukihiro "Matz" Matsumoto
2021-09-07object.c: rename `mrb_to_int` to `mrb_to_integer`.Yukihiro "Matz" Matsumoto
2021-09-07string.h: rename `mrb_str_to_inum` to `mrb_str_to_integer`.Yukihiro "Matz" Matsumoto
2021-09-01string.c: need to adjust index for UTF-8.Yukihiro "Matz" Matsumoto
2021-09-01string.c: implement `__sub_replace()` in C.Yukihiro "Matz" Matsumoto
2021-09-01mruby.h: obsolete `mrb_to_str()`.Yukihiro "Matz" Matsumoto
2021-08-21Organize the include of header filesdearblue
2021-08-18string.c: `mrb_str_to_cstr()` should always return a mutable string.Yukihiro "Matz" Matsumoto
2021-08-03Replace `mrb_fixnum_value()` with `mrb_int_value()`.Yukihiro "Matz" Matsumoto
2021-08-03Replace `fixnum` references with `int`.Yukihiro "Matz" Matsumoto
2021-07-25Remove redundant include headers.Yukihiro "Matz" Matsumoto
2021-06-20Added `MRB_OBJ_ALLOC()` macro that does not require a castdearblue
2021-06-08string.c: make `mrb_str_len_{inum,dbl}()` static.Yukihiro "Matz" Matsumoto
2021-06-08string.c: remove two unused functions.Yukihiro "Matz" Matsumoto
2021-06-08string.c: add `base>36` check to `String#to_i`.Yukihiro "Matz" Matsumoto
2021-05-24strtod.c: new public domain implementation of `strtod`; ref #5448Yukihiro "Matz" Matsumoto
2021-05-17Global renaming regarding `integer` and `float`.Yukihiro "Matz" Matsumoto
2021-05-17Rename `mrb_fixnum_to_str` to `mrb_integer_to_str`.Yukihiro "Matz" Matsumoto
2021-05-03symbol.c: remove `id2name` reference from documents.Yukihiro "Matz" Matsumoto
2021-04-28string.{c,rb}: fix type of return values from some methods as Ruby3.0Yukihiro "Matz" Matsumoto
2021-04-16feat(CI): add the GitHub Super LinterJohn Bampton
2021-01-26Revert "Minimize the changes in #5277"Yukihiro "Matz" Matsumoto
2021-01-22Minimize the changes in #5277Yukihiro "Matz" Matsumoto
2021-01-11Avoid including `presym.inc` in existing header filesKOBAYASHI Shuji
2021-01-09Detect invalid first byte of UTF-8 char; fix #5269Yukihiro "Matz" Matsumoto
2021-01-02Use Jenkins One At A Time Hash for `mrb_str_hash()`.Yukihiro "Matz" Matsumoto
2021-01-02Avoid `uint64_t` in string-to-integer conversion; ref #5201Yukihiro "Matz" Matsumoto
2021-01-02Reduce strength of the hash function; ref #5201Yukihiro "Matz" Matsumoto
2020-12-23Fix the integer overflow in `mrb_str_len_to_inum()`.Yukihiro "Matz" Matsumoto
2020-12-13Fix spellingJohn Bampton
2020-11-22Remove `mrb_str_buf_new()` and `MRB_STR_BUF_MIN_SIZE`; close #5171Yukihiro "Matz" Matsumoto
2020-11-18Use `mrb_int_value()` instead of `mrb_fixnum_value()`; fix #5142Yukihiro "Matz" Matsumoto
2020-11-17Revert half of 9fbf0ef8.Yukihiro "Matz" Matsumoto
2020-11-17Refactoring integer ranges.Yukihiro "Matz" Matsumoto
2020-10-12Unify `mrb_str_to_str` to `mrb_obj_as_string`.Yukihiro "Matz" Matsumoto
2020-10-12Restore old function names for compatibility; fix #5070Yukihiro "Matz" Matsumoto
2020-10-12Reorganize `Integer` system.Yukihiro "Matz" Matsumoto
2020-10-12Rename `MRB_TT_FIXNUM` to `MRB_TT_INTEGER`.Yukihiro "Matz" Matsumoto
2020-10-12Integrate `Fixnum` class into `Integer` classdearblue
2020-10-12Rename float configuration option names.Yukihiro "Matz" Matsumoto
2020-10-12Replace entire `irep->pool`.Yukihiro "Matz" Matsumoto
2020-10-12Change the arguments of following implicit conversion functions:Yukihiro "Matz" Matsumoto
2020-09-18Remove redundant type-checkWataru Ashihara
2020-08-11Fix `mrb_int` and `size_t` combination warnings.Yukihiro "Matz" Matsumoto
2020-08-08Reintroduce `mrb_static_assert`; #5051Yukihiro "Matz" Matsumoto
2020-08-06Remove `mrb_static_assert` from the core; #5051Yukihiro "Matz" Matsumoto
2020-07-06Avoid infinite loop when converting objects to strings.Yukihiro "Matz" Matsumoto