summaryrefslogtreecommitdiffhomepage
path: root/src/string.c
AgeCommit message (Collapse)Author
2014-09-30mrbconf.h option MRB_USE_ETEXT_EDATA to reduce memory.Yukihiro "Matz" Matsumoto
on platforms with _etext and _edata, mruby can distinguish string literals so that it avoids memory allocation to copy them. for example, on my Linux box (x86 32bit), memory consumed by mrbtest decreased from 8,168,203 to 8,078,848 (reduced 88KB).
2014-09-09Add inline to str_with_class().Tatsuhiko Kubo
2014-09-03get rid of shadowing variablescremno
Mostly by renaming the shadowing variable. If a shadowing variable was deleted, the shadowed one can be used instead.
2014-08-29Remove unused macro.Tatsuhiko Kubo
OutOfRange() is no longer used.
2014-08-29Merge pull request #2570 from cubicdaiya/issues/unify_duplicated_functionsYukihiro "Matz" Matsumoto
Unify and rename duplicated functions (noregexp() and regexp_check()).
2014-08-29Fix mismatches for MRB_API declarations.Tatsuhiko Kubo
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-08-27Add a missing space after ",".Tatsuhiko Kubo
2014-08-12changed some string method's mrb-aspeckkkkkt
2014-08-11mrb_str_bytesize is a carbon copy of mrb_str_size. remove it.Tomoyuki Sahara
mruby core does not support any character encodings but ASCII.
2014-08-11changed mrb_str_size and mrb_str_bytesize comments.kkkkkt
2014-08-05revert accidental constify.Tomoyuki Sahara
2014-08-04change linkage of mrb_str_size to internalcremno
Use RSTRING_LEN to get the length.
2014-08-04add MRB_API modifiers to mruby API functionsYukihiro "Matz" Matsumoto
2014-07-13use C style comments instead of C++ style commentsTatsuhiko Kubo
2014-07-09remove unused `mrb_str_body`cremno
2014-06-18update String#slice docYukihiro "Matz" Matsumoto
2014-06-15Unsupported Regex in mrb_str_aref_m()Jun Hiroe
2014-06-12Merge pull request #2389 from ksss/str-mem-leaksYukihiro "Matz" Matsumoto
Fix memory leaks in String
2014-06-11str_replace: self should not be shared and nofreeksss
2014-06-11Refactor how to use RSTR_NOFREE_P macroJun Hiroe
2014-06-11Add NOFREE macrosJun Hiroe
2014-06-08Check `RSTRING_EMBED_LEN_MAX` with static assert.take_cheeze
2014-06-07move String#clear to mruby-string-ext; ref #2370Yukihiro "Matz" Matsumoto
2014-06-07move STR_* macros to mruby/string.h with renamingYukihiro "Matz" Matsumoto
2014-06-07clear shared and nofree flags; ref #2370Yukihiro "Matz" Matsumoto
2014-06-07inline str_discard(); ref #2370Yukihiro "Matz" Matsumoto
2014-06-07Implement String#clearJun Hiroe
2014-06-05don't (re-)define `ascii_isspace` and `isascii`cremno
`ISSPACE` and `ISASCII` can be used instead.
2014-06-06move IS_EVSTR macro that should be private to src/string.cYukihiro "Matz" Matsumoto
2014-05-18Add a space aftre bracket.yui-knk
2014-05-17Refactor mrb_str_intern() in string.cJun Hiroe
2014-05-17Refactor mrb_str_equal_m in string.cJun Hiroe
2014-05-17Refactor mrb_str_new() in string.cJun Hiroe
2014-05-17Fix indentsJun Hiroe
2014-05-05Merge pull request #2194 from suzukaze/refactor-string.c2Yukihiro "Matz" Matsumoto
Refactor string.c
2014-05-05Merge pull request #2195 from suzukaze/fix-indent-string.cYukihiro "Matz" Matsumoto
Fix indents in mrb_str_inspect() of string.c
2014-05-05Fix indents in mrb_str_inspect() of string.cJun Hiroe
2014-05-05Refactor mrb_str_hash()Jun Hiroe
2014-05-05Refacotr mrb_str_substr()Jun Hiroe
2014-05-05Refactor mrb_str_upcase_bangJun Hiroe
2014-05-05Refactor mrb_str_split_m()Jun Hiroe
2014-05-05Refactor mrb_str_downcase_bang()Jun Hiroe
2014-05-05Refactor mrb_str_capitalize_bang()Jun Hiroe
2014-04-29Merge pull request #2155 from cremno/define-resize_capa-as-a-functionYukihiro "Matz" Matsumoto
define `resize_capa` as a function
2014-04-29Merge pull request #2157 from cremno/remove-mrb_str_offsetYukihiro "Matz" Matsumoto
remove `mrb_str_offset`
2014-04-29remove `mrb_str_offset`cremno
2014-04-29remove `DBL_DIG` fallback definitioncremno
2014-04-29include the missing header for `DBL_DIG`cremno