summaryrefslogtreecommitdiffhomepage
path: root/src/string.c
AgeCommit message (Collapse)Author
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
2014-04-29define `resize_capa` as a functioncremno
This increases readability and maintainability, and it also doesn't use reserved identifiers.
2014-04-27rename `mrb_str_buf_append` to `mrb_str_cat_str`cremno
The new name is better and less confusing, because: - `mrb_str_append` calls `mrb_str_to_str` and this function doesn't - `mrb_str_buf_append` _is_ `mrb_str_cat` for `mrb_value` strings
2014-04-25better integer size assertion suggested by usakYukihiro "Matz" Matsumoto
2014-04-25eliminate plain int except for a few cases like arena_indexYukihiro "Matz" Matsumoto
2014-04-25remove -Wsign-compare warningsYukihiro "Matz" Matsumoto
2014-04-21remove `mrb_str_buf_cat`cremno
It does the same as `mrb_str_cat`.
2014-04-17Use mrb_regexp_p to check regexp.take_cheeze
2014-04-16Move src/re.h to include/mruby/re.h .take_cheeze
2014-04-15resolve conflictYukihiro "Matz" Matsumoto
2014-04-12mrb_str_dup use sheard string instead of new stringksss
2014-04-04simplify string equality checkYukihiro "Matz" Matsumoto
2014-04-03downto, upto, step to return EnumeratorYukihiro "Matz" Matsumoto
2014-03-27an int literal may have multiple underscores insideYukihiro "Matz" Matsumoto
2014-03-27allow underscores in integer literals; close #1960Yukihiro "Matz" Matsumoto
2014-03-25Fix unnecessary string macroksss
2014-03-25Use mrb_int instead of intcubicdaiya
2014-03-24src/string.c RESIZE_CAPA use safe name variablesksss
This has a possibility of naming conflicts
2014-03-22need not to add assertion in STR_SET_LEN() where n is mrb_intYukihiro "Matz" Matsumoto
2014-03-22Use bool-macro instead of magic-numbercubicdaiya
2014-03-19string functions arguments changed from mrb_int to size_t that would take ↵Yukihiro "Matz" Matsumoto
strlen()
2014-03-16unify indent stylecubicdaiya
2014-03-15string length type to be mrb_intYukihiro "Matz" Matsumoto
2014-03-10set bit field for mrb_boolksss
2014-03-09Merge branch 'master' of github.com:mruby/mrubyYukihiro "Matz" Matsumoto
2014-03-08use mrb_str_cat_lit for literalscremno
2014-03-09remove invocation of strlen() on buffer of strings; with refactoringYukihiro "Matz" Matsumoto
2014-03-08Make type casts safer.Masaki Muranaka
2014-03-06make embed string when create literalsksss
2014-03-06embed small stringksss
use flags 4 for *this object is embed* use flags 8~64 for *embed string length*
2014-03-04fix off-by-one error in String#rindex(fixnum)cubicdaiya
null-terminated string should not be included in search targets.
2014-03-04add new macros for MRB_STR_SHARED operations, based on 0f7aecf from @ksss; ↵Yukihiro "Matz" Matsumoto
ref #1782