summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-string-utf8
AgeCommit message (Collapse)Author
2014-08-28Rename functions for avoinding symbol confiliction.Tatsuhiko Kubo
Add prefix(mrb) to noregexp() and regexp_check().
2014-08-28Unify duplicated functions (noregexp() and regexp_check()).Tatsuhiko Kubo
2014-07-13use C style comments instead of C++ style commentsTatsuhiko Kubo
2014-06-25add a few const qualifierSanta Zhang
2014-06-07move STR_* macros to mruby/string.h with renamingYukihiro "Matz" Matsumoto
2014-06-05don't (re-)define `ascii_isspace` and `isascii`cremno
`ISSPACE` and `ISASCII` can be used instead.
2014-06-04Merge pull request #2356 from mattn/string-codepointsYukihiro "Matz" Matsumoto
Add String#chars, String#each_char, String#codepoints, String#each_codepoint
2014-06-04Refactor variable definitionsmattn
2014-06-04arena save/restoremattn
2014-06-04Add String#chars, String#each_char, String#codepoints, String#each_codepointmattn
2014-06-04add dependency from mruby-string-utf8 to mruby-string-ext to ensure loading ↵Yukihiro "Matz" Matsumoto
order
2014-06-04Merge pull request #2352 from suzukaze/fix-indentYukihiro "Matz" Matsumoto
Fix indents in mruby-string-utf8
2014-06-04Merge pull request #2353 from suzukaze/refactor-string-utf8Yukihiro "Matz" Matsumoto
Refactor mrb_utf8_strlen() in mruby-string-utf8
2014-06-03Refactor mrb_utf8_strlen() in mruby-string-utf8Jun Hiroe
2014-06-03Fix indents in mruby-string-utf8Jun Hiroe
2014-06-03Add testmattn
2014-06-03Implement String#chr for utf-8mattn
2014-04-30remove trailing spacesNobuyoshi Nakada
2014-04-26mruby-string-utf8: use mrb_int instead of size_tYukihiro "Matz" Matsumoto
2014-04-25Use mrb_int in mrbgem rest argument getting.take_cheeze
2014-04-20Fix typos in tests for mruby-string-utf8Jun Hiroe
2014-04-19Add tests for utf8-string#rindexJun Hiroe
2014-04-18mruby-string-utf8: update UTF-8 tests; ref #2076Yukihiro "Matz" Matsumoto
2014-04-18mruby-string-utf8: str_subseq takes UTF-8 index, not byte index; ref #2076Yukihiro "Matz" Matsumoto
2014-04-18Add one more testmattn
2014-04-18Add test for String#ord, String#split for mruby-string-utf8mattn
2014-04-18Implement String#ord, String#split for mruby-string-utf8mattn
2014-04-18mruby-string-utf8: String#reverse! may leak memory when mrb_str_modify() ↵Yukihiro "Matz" Matsumoto
raises exception
2014-04-17Cosmetic changemattn
2014-04-17Handle utf-8 code in index/rindexmattn
2014-04-17Implement String#index, fixes #2073mattn
2014-04-17Use mrb_regexp_p to check regexp.take_cheeze
2014-04-16Use mruby/re.h instead of duplicate definition.take_cheeze
2014-04-15Add test for UTF-8 string String#size .take_cheeze
2014-03-27use suitable typecubicdaiya
2014-03-25Use mrb_int instead of intcubicdaiya
2014-03-17add summary to mrbgems without ittake_cheeze
2014-03-05use mrb_int instead of size_t since string length is represented by mrb_int; ↵Yukihiro "Matz" Matsumoto
close #1810
2014-02-26Implement sprintf("%c") for UTF-8.chasonr
* sprintf("%c") is changed to accept a string for which String#size returns 1, even if it is longer than one byte, and to convert a Fixnum via Fixnum#chr (possibly returning more than one byte). Thus, if the UTF-8 gem is in use, a character will be understood as a single UTF-8 character. * The change to sprintf depends on the implementation of Fixnum#chr added to mrbgems/mruby-string-utf8/src/string.c. This should work with any other gem that implements a multibyte encoding, as long as it implements String#size and Fixnum#chr as appropriate.
2014-01-23fix utf-8 codepageh2so5
2014-01-10String#length should be an alias of String#sizeh2so5
2014-01-08add String#reverse, String#reverse! for UTF-8h2so5
2014-01-07Remove duplicate testmattn
2014-01-07mruby-string-utf8: redefine String#size for UTF-8 string; #1646Yukihiro "Matz" Matsumoto
2014-01-07mruby-string-utf8: UTF-8 string may contail NUL; #1646Yukihiro "Matz" Matsumoto
2014-01-07Add mruby-string-utf8mattn