| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2015-12-31 | Use memchr for performance | ksss | |
| ```ruby s = "b" str = ("a" * 100 + s) t = Time.now str.index(s) puts Time.now - t ``` before => 0.000788 after => 0.000508 --- ```ruby s = "b" str = ("a" * 100 * 1024 * 1024 + s) t = Time.now str.index(s) puts Time.now - t ``` before => 0.225474 after => 0.008658 | |||
| 2015-12-22 | fix build on VS2012 | Yasuhiro Matsumoto | |
| 2015-12-16 | mrb_str_len_to_inum(): fixed a bug with MRB_INT_MIN conversion; fix #3048 | Yukihiro "Matz" Matsumoto | |
| 2015-12-16 | mrb_str_len_to_inum(): fixed a bug with underscores in digits; fix #3049 | Yukihiro "Matz" Matsumoto | |
| 2015-12-14 | mrb_str_len_to_inum(): string may not be NUL terminated; ref #3043 | Yukihiro "Matz" Matsumoto | |
| 2015-12-14 | mrb_str_len_to_inum(): fixed a bug with separating _ in the digits; ref #3043 | Yukihiro "Matz" Matsumoto | |
| 2015-12-12 | mrb_str_len_to_inum: should not raise "string contains null byte" error on ↵ | Yukihiro "Matz" Matsumoto | |
| "0x"; fix #3043 | |||
| 2015-12-12 | mrb_str_len_to_inum: converting may not be terminated by NUL; fix #3044 | Yukihiro "Matz" Matsumoto | |
| 2015-12-01 | preserve original string for error message | Yukihiro "Matz" Matsumoto | |
| 2015-12-01 | mrb_str_len_to_inum(): inspect string in error message | Yukihiro "Matz" Matsumoto | |
| 2015-12-01 | new API function mrb_string_value_len() | Yukihiro "Matz" Matsumoto | |
| 2015-12-01 | mrb_str_to_inum(): should treat null byte in strings properly; fix #3040 | Yukihiro "Matz" Matsumoto | |
| 2015-12-01 | mrb_cstr_to_inum(): should ignore trailing white spaces even when badcheck set | Yukihiro "Matz" Matsumoto | |
| 2015-12-01 | mrb_str_to_inum(): should raise error when string contains null byte | Yukihiro "Matz" Matsumoto | |
| 2015-12-01 | mrb_str_to_inum(): no need to call mrb_string_value_cstr() here; ref 05411ee | Yukihiro "Matz" Matsumoto | |
| 2015-12-01 | mrb_string_value_cstr() should not raise error for frozen strings | Yukihiro "Matz" Matsumoto | |
| cf. http://qiita.com/tsahara@github/items/b2a442af95ac893e10a1 (Japanese). | |||
| 2015-11-27 | include changed from by quotes ("") to by brackets (<>); close #3032 | Yukihiro "Matz" Matsumoto | |
| 2015-10-20 | Increasing docs coverage | Seba Gamboa | |
| 2015-09-29 | chop with utf-8. fix #2967 | Yasuhiro Matsumoto | |
| 2015-09-27 | fix String#inspect with MRB_UTF8_STRING | takahashim | |
| cf. #2963 | |||
| 2015-09-25 | inspect prints valid UTF-8 character without escaping | Yukihiro "Matz" Matsumoto | |
| 2015-09-25 | add boundary check to utf8len() to avoid oob memory access | Yukihiro "Matz" Matsumoto | |
| 2015-09-24 | UTF-8 string support in core | Yukihiro "Matz" Matsumoto | |
| define MRB_UTF8_STRING (in mrbconf.h) to enable UTF-8 support. | |||
| 2015-09-23 | String#rindex should no longer take integer argument | Yukihiro "Matz" Matsumoto | |
| 2015-09-22 | String#index should no longer take integer argument | Yukihiro "Matz" Matsumoto | |
| 2015-09-19 | Fix indents | Jun Hiroe | |
| 2015-09-11 | Support windows locale | Yasuhiro Matsumoto | |
| Add mrb_utf8_from_locale, mrb_utf8_free, mrb_locale_from_utf8, mrb_locale_free. Just works for windows. | |||
| 2015-09-03 | unsigned long may be smaller than mrb_int; use uint64_t instead; fix #2935 | Yukihiro "Matz" Matsumoto | |
| 2015-09-02 | update string.h.md; ref #2931 | Yukihiro "Matz" Matsumoto | |
| 2015-08-27 | add String#freeze to the core | Yukihiro "Matz" Matsumoto | |
| 2015-07-07 | Merge pull request #2877 from cremno/fix-dangling-ptr | Yukihiro "Matz" Matsumoto | |
| Coverity: fix dangling pointer | |||
| 2015-07-05 | Fix typo in comment in String#mrb_cstr_to_inum [skip ci] | Anton Davydov | |
| 2015-07-03 | fix dangling pointer | cremno | |
| CID 75872 (#3-2 of 3): Pointer to local outside scope (RETURN_LOCAL) 38. use_invalid: Using p, which points to an out-of-scope variable buf. | |||
| 2015-06-24 | Remove unnecessary backticks. | Franck Verrot | |
| Dr Markus Kuhn published in 1999 an article [1] explaining in details why we shouldn't use the ASCII grave accent (0x60) as a left quotation. Backticks have been used most notably to produce nice-looking LaTeX documents but it doesn't seem to be an issue on modern platforms and for the oldest ones, there are workarounds as mentioned by Dr Kuhn. [1]: https://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html | |||
| 2015-06-22 | *Correctly* removing extra mrb_str_to_str call | Jared Breeden | |
| 2015-06-22 | Reverting overzealous changes | Jared Breeden | |
| 2015-06-22 | Removing redundant mrb_str_to_str call | Jared Breeden | |
| 2015-06-22 | Calling mrb_str_to_str in mrb_string_value_cstr. Fixes #2847 | Jared Breeden | |
| 2015-06-19 | Merge pull request #2839 from yui-knk/fix/string_split_sample | Yukihiro "Matz" Matsumoto | |
| [ci skip] Remove some Srting#split samples | |||
| 2015-06-19 | [ci skip] Remove some Srting#split samples | yui-knk | |
| mruby not support regexp, so remove these samples. | |||
| 2015-05-28 | remove unnecessary including of <ctype.h> | cremno | |
| Not needed anymore since 85075bef7583edd0a48cfbdfaa632cbdacf78f2c | |||
| 2015-05-21 | remove an always-true conditional. | Tomoyuki Sahara | |
| 2015-05-20 | RSTRING_PTR may be changed in while loop. | Tomoyuki Sahara | |
| 2014-12-27 | Use suitable type. | Tatsuhiko Kubo | |
| 2014-12-17 | String#[]: float handling merged to #2677 | Yukihiro "Matz" Matsumoto | |
| 2014-12-17 | try to convert not only nil but every objects to fixnums; ref #2677 | Yukihiro "Matz" Matsumoto | |
| 2014-12-17 | String#[] should reject nil index | h2so5 | |
| 2014-12-17 | mrb_str_new(mrb, "", len) creates an unmodifiable string object; ref #2674 | Yukihiro "Matz" Matsumoto | |
| 2014-11-26 | add "fall through" comment | Yukihiro "Matz" Matsumoto | |
| 2014-11-26 | fix(String) String#[] accepts float; close #2650 #2651 | Robert Mosolgo | |
