Santa Zhang
|
8d5f67e6f3
|
add a few const qualifier
|
2014-06-24 15:16:13 -04:00 |
|
take_cheeze
|
257725cecb
|
Add Symbol#intern.
|
2014-06-24 21:44:22 +09:00 |
|
take_cheeze
|
1633469e9c
|
Reduce string creation in Symbol#casecmp by using case!.
|
2014-06-23 19:51:27 +09:00 |
|
take_cheeze
|
7015493efb
|
Reduce string creation of length, size, empty? method of Symbol extension.
|
2014-06-23 19:51:27 +09:00 |
|
take_cheeze
|
0a6b54acd6
|
Reduce new string creation in capitalize, downcase, upcase method of Symbol class extension.
Add test to check unmodified result is working.
|
2014-06-23 19:51:27 +09:00 |
|
Akito Mochizuki
|
ec04fa7e8d
|
Modify return value of String#slice! if idx == self.size
|
2014-06-19 17:34:17 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
d9985631e7
|
Merge pull request #2396 from take-cheeze/superclass_check
Move direct superclass checking to `test/t/superclass.rb`.
|
2014-06-17 11:51:04 +09:00 |
|
Jun Hiroe
|
00fa8097f9
|
Implement String#slice_bang
|
2014-06-15 21:11:54 +09:00 |
|
take_cheeze
|
77047b5ed4
|
Test all ISO defined classes direct superclass except Object class.
Move mrbgems ISO direct superclass test to `superclass.rb`.
Skips test if class isn't defined.
Close #2332.
|
2014-06-15 17:07:01 +09:00 |
|
ksss
|
f1e15b0236
|
String#clear: use String#replace to simple
|
2014-06-11 14:46:52 +00:00 |
|
Jun Hiroe
|
9c259c501a
|
Add NOFREE macros
|
2014-06-11 01:00:35 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
f1b1a8acd1
|
Merge pull request #2376 from kou/patch-1
Add a missing space after ","
|
2014-06-09 23:26:54 +09:00 |
|
Kouhei Sutou
|
4f3114dbc9
|
Add a missing space after ","
|
2014-06-09 23:00:02 +09:00 |
|
take_cheeze
|
d386b35337
|
Fix Time.at args spec.
|
2014-06-09 16:34:04 +09:00 |
|
take_cheeze
|
aa187956cf
|
Add test for end-of-program marker.
|
2014-06-08 01:38:44 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
6459a98448
|
move String#clear to mruby-string-ext; ref #2370
|
2014-06-07 22:28:42 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
76012a885d
|
remove UTF-8 strings from mruby-string-ext test
|
2014-06-07 22:23:25 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
32e450166f
|
move STR_* macros to mruby/string.h with renaming
|
2014-06-07 22:16:16 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
232b8b07e4
|
Merge branch 'ascii' of https://github.com/cremno/mruby into cremno-ascii
|
2014-06-06 12:48:48 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
ccd871bcca
|
reduce calling mrb_sym2name_len() from struct.c; ref #2365
|
2014-06-06 09:25:29 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
b533917aa6
|
Merge pull request #2365 from cremno/mruby-struct-function-changes
various mruby-struct function changes
|
2014-06-06 09:17:37 +09:00 |
|
cremno
|
71c7d58736
|
partially revert 1a5841b for mirb
Fix compilation fail caused by GNU Readline and `ISPRINT`.
Also add missing `unsigned char` cast.
|
2014-06-06 00:13:24 +02:00 |
|
cremno
|
1a5841b4b1
|
use uppercase US-ASCII ctype macros
|
2014-06-05 21:00:47 +02:00 |
|
cremno
|
f9f864d4dd
|
don't (re-)define ascii_isspace and isascii
`ISSPACE` and `ISASCII` can be used instead.
|
2014-06-05 20:27:17 +02:00 |
|
cremno
|
025b8f7644
|
mruby-struct: implement mrb_is_(local|const)_id
|
2014-06-05 18:48:17 +02:00 |
|
Yukihiro "Matz" Matsumoto
|
cbbed40295
|
add nil#to_h; ref #2348
|
2014-06-05 13:20:17 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
e52533a703
|
update Kernel#raise/fail argument description
|
2014-06-05 13:17:29 +09:00 |
|
cremno
|
65a7eac1a9
|
mruby-struct: remove unused functions
|
2014-06-05 01:31:15 +02:00 |
|
cremno
|
64b0e48dcb
|
mruby-struct: use correct data types
|
2014-06-05 01:27:39 +02:00 |
|
cremno
|
0249e7dd7f
|
mruby-struct: internal linkage for all functions
|
2014-06-05 01:16:23 +02:00 |
|
Yukihiro "Matz" Matsumoto
|
13728e203e
|
add Enumerable#to_h; ref #2348
|
2014-06-04 23:37:13 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
172060877a
|
add Hash#to_h; ref #2348
|
2014-06-04 18:57:31 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
b01bb33b75
|
fix String#lines comment; ref mattn@2e1855a
|
2014-06-04 10:51:09 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
04962ca075
|
Merge pull request #2357 from mattn/string-lines
Add String#lines
|
2014-06-04 10:45:11 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
e3074eff6f
|
Merge pull request #2356 from mattn/string-codepoints
Add String#chars, String#each_char, String#codepoints, String#each_codepoint
|
2014-06-04 10:41:24 +09:00 |
|
mattn
|
c927277486
|
Add String#lines
|
2014-06-04 10:41:07 +09:00 |
|
mattn
|
6d0388c68e
|
Refactor variable definitions
|
2014-06-04 10:28:34 +09:00 |
|
mattn
|
5410b9c46c
|
arena save/restore
|
2014-06-04 10:20:51 +09:00 |
|
mattn
|
f18771eb42
|
Add String#chars, String#each_char, String#codepoints, String#each_codepoint
|
2014-06-04 10:10:58 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
9763eee616
|
add dependency from mruby-string-utf8 to mruby-string-ext to ensure loading order
|
2014-06-04 09:47:01 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
c31c6c0833
|
Merge pull request #2352 from suzukaze/fix-indent
Fix indents in mruby-string-utf8
|
2014-06-04 09:12:46 +09:00 |
|
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 |
|