Commit Graph

6147 Commits

Author SHA1 Message Date
Yukihiro "Matz" Matsumoto 82515722ff Merge pull request #2353 from suzukaze/refactor-string-utf8
Refactor mrb_utf8_strlen() in mruby-string-utf8
2014-06-04 09:12:25 +09:00
Yukihiro "Matz" Matsumoto a789f776c7 Merge pull request #2351 from mattn/add-string-utf8.chr
Add string String#chr for utf8
2014-06-04 09:11:50 +09:00
Yukihiro "Matz" Matsumoto 863abfc298 Merge pull request #2350 from suzukaze/add-string.chr
Implement String#chr
2014-06-04 09:11:23 +09:00
Yukihiro "Matz" Matsumoto c3ed6e3d25 use is_a? Array for String#% argument check as the original PR did in #2349 2014-06-04 09:08:22 +09:00
Jun Hiroe ce45304ec4 Refactor mrb_utf8_strlen() in mruby-string-utf8 2014-06-03 20:56:17 +09:00
Jun Hiroe 73874f4008 Fix indents in mruby-string-utf8 2014-06-03 20:53:51 +09:00
mattn 1fab96668c Add test 2014-06-03 20:33:02 +09:00
mattn ab0b1c4783 Implement String#chr for utf-8 2014-06-03 20:20:30 +09:00
Jun Hiroe e67817fcec Implement String#chr 2014-06-03 19:49:38 +09:00
Yukihiro "Matz" Matsumoto 9fe8653e86 Merge branch 'iij-pr-string-percent' 2014-06-03 16:34:45 +09:00
Yukihiro "Matz" Matsumoto 427ea605e7 Merge branch 'master' of github.com:mruby/mruby 2014-06-03 16:34:21 +09:00
Yukihiro "Matz" Matsumoto 4380f86150 Special treatment for Hashes, not Arrays; ref #2349 2014-06-03 16:33:30 +09:00
Tomoyuki Sahara fe9f3fdd20 add 'String#%'. 2014-06-03 16:31:20 +09:00
Jun Hiroe b81f0d0ffb Add comments in String#lstrip, rstrip, strip, lstring_bang, rstrip_bang and strip_bang 2014-06-03 16:29:42 +09:00
Carson McDonald fe09686c2f Fix mgem test args passing 2014-06-03 16:29:42 +09:00
yui-knk 72305efe61 Remove space. 2014-06-03 16:29:42 +09:00
yui-knk b56a47cc38 Fix indent. 2014-06-03 16:29:42 +09:00
katmutua 4039355fd8 Fix typos in gc 2014-06-03 16:29:42 +09:00
yui-knk 490d946bca Remove space. 2014-06-03 16:29:42 +09:00
Yukihiro "Matz" Matsumoto 037a1d7088 Merge pull request #2348 from takkanm/add_array_to_h
Add Array#to_h
2014-06-03 15:50:52 +09:00
Yukihiro "Matz" Matsumoto b83ff9ff30 Merge pull request #2347 from take-cheeze/nomethod_args
Implement `NoMethodError#args`.
2014-06-03 15:46:16 +09:00
Yukihiro "Matz" Matsumoto 896c131231 Merge pull request #2346 from suzukaze/add-string-comment2
Fix indent in String#casecmp comments
2014-06-03 15:44:13 +09:00
Yukihiro "Matz" Matsumoto 6e94f9bb30 Merge pull request #2345 from suzukaze/add-string-comment
Add comments in String#lstrip, rstrip, strip, lstring_bang, rstrip_bang ...
2014-06-03 14:34:38 +09:00
Mitsutaka Mimura a0b12bf6b4 Add Array#to_h 2014-06-02 23:06:02 +09:00
take_cheeze acec9d1ff1 Implement NoMethodError#args. 2014-06-02 22:38:02 +09:00
Jun Hiroe 85ed19ca4d Fix indent in String#casecmp comments 2014-06-02 22:03:29 +09:00
Jun Hiroe cbe73e93f7 Add comments in String#lstrip, rstrip, strip, lstring_bang, rstrip_bang and strip_bang 2014-06-02 22:00:05 +09:00
Yukihiro "Matz" Matsumoto f370a0f0fd Merge pull request #2343 from carsonmcdonald/fixmgemargspassing
Fix mgem test args passing
2014-06-02 09:39:22 +09:00
yui-knk b5ef16ba03 Change to always use locals->car->car.
When p->locals->car is not NULL and p->locals->car->car is NULL,
local_add_f dose not append sym to p->locals->car->car.
This commit change to append sym to p->locals->car->car.
This will close #2333.
2014-06-02 09:38:24 +09:00
Carson McDonald de8916b1f2 Fix mgem test args passing 2014-06-01 09:51:21 -04:00
Yukihiro "Matz" Matsumoto 991b19b195 Merge pull request #2341 from yui-knk/remove-space
Remove space.
2014-06-01 22:18:04 +09:00
Yukihiro "Matz" Matsumoto cfb288e23d Merge pull request #2342 from yui-knk/fix-indent
Fix indent.
2014-06-01 22:17:42 +09:00
yui-knk 15ab1b7ab0 Fix indent. 2014-06-01 22:07:28 +09:00
yui-knk e413294488 Remove space. 2014-06-01 22:04:51 +09:00
Yukihiro "Matz" Matsumoto a22495df00 Merge branch 'master' of github.com:mruby/mruby 2014-06-01 02:51:24 +09:00
Yukihiro "Matz" Matsumoto 35d4137da1 remove part of 9cd71916 test for same reason as 5306e47 2014-06-01 02:51:04 +09:00
Yukihiro "Matz" Matsumoto c86d7fe834 Merge pull request #2336 from katmutua/master
Fix typos in gc
2014-05-31 23:35:17 +09:00
katmutua 36ab17d8ce Fix typos in gc 2014-05-31 10:42:39 -03:00
Yukihiro "Matz" Matsumoto 2ad2cf2fed Merge pull request #2334 from yui-knk/remove-space
Remove space.
2014-05-31 16:06:36 +09:00
yui-knk c131f69d21 Remove space. 2014-05-31 14:10:30 +09:00
yui-knk 536697f41e Fix to not print unnecessary comma.
When `n2->car` is 0 and `n2->cdd` is not 0,
unnecessary comma was printed before first local variables.
2014-05-31 14:00:30 +09:00
Yukihiro "Matz" Matsumoto 6bf1ee78c8 add internal function mrb_toplevel_run_keep() to keep stack contents; close #2326 2014-05-30 15:25:58 +09:00
Yukihiro "Matz" Matsumoto f38e53ecca Merge pull request #2330 from take-cheeze/struct_set_str
Improve `Struct#[]=`.
2014-05-29 11:57:39 +09:00
take_cheeze 32bfa1f15c Add invalid key type check in Struct#[]=. 2014-05-28 23:21:13 +09:00
take_cheeze 7bc4d08f71 Support string key in Struct#[]=. 2014-05-28 23:14:28 +09:00
Yukihiro "Matz" Matsumoto 415b8fc6b0 Merge pull request #2329 from bggd/patch-4
Fix invalid array initialize for VS2012
2014-05-28 13:16:53 +09:00
bggd 69c2b8310f Fix invalid array initialize for VS2012 2014-05-28 11:04:28 +09:00
Yukihiro "Matz" Matsumoto 0f432e9028 Merge pull request #2324 from yui-knk/fix-indent
fix indent.
2014-05-27 15:03:06 +09:00
yui-knk 5fd1eaec58 fix indent. 2014-05-27 08:48:12 +09:00
Yukihiro "Matz" Matsumoto 6cf5618b44 Merge branch 'master' of github.com:mruby/mruby 2014-05-25 23:19:35 +09:00