Yukihiro "Matz" Matsumoto
|
9beef5fdb0
|
Merge pull request #1923 from ksss/hash-enumerator-select
Hash#{select,select!} support return Enumerator
|
2014-03-23 16:36:19 +09:00 |
|
ksss
|
d09e4475bf
|
Hash#{select,select!} fix yield value
|
2014-03-23 13:31:26 +09:00 |
|
Jun Hiroe
|
d8d47b80c3
|
Support multiple values in Enumerable#none?
|
2014-03-23 13:06:18 +09:00 |
|
Jun Hiroe
|
1f709c1ef0
|
Add Enumerable#none?
|
2014-03-23 12:58:12 +09:00 |
|
Jun Hiroe
|
5b31ee9a2a
|
Suppoert multiple values in Enumerable#minmax_by
|
2014-03-23 11:48:46 +09:00 |
|
Jun Hiroe
|
776a680e89
|
Enumerable#minmax_by
|
2014-03-23 11:41:23 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
bbee56f284
|
Merge pull request #1915 from suzukaze/add-enum.minmax
Add Enumerable#minmax
|
2014-03-23 02:13:06 +09:00 |
|
ksss
|
5386cd9b9b
|
Hash#each_{key,value} support return Enumerator
if non block given
|
2014-03-23 00:22:22 +09:00 |
|
Jun Hiroe
|
77291f3531
|
Support multiple values in Enumerable#minmax
|
2014-03-22 22:06:39 +09:00 |
|
Jun Hiroe
|
5027aaaf4e
|
Add Enumerable#minmax
|
2014-03-22 21:52:08 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
7182ef6358
|
Merge pull request #1914 from stomar/struct-emsg
use the same error message
|
2014-03-22 18:46:10 +09:00 |
|
Marcus Stollsteimer
|
4f0a163842
|
use the same error message
|
2014-03-22 09:51:46 +01:00 |
|
take_cheeze
|
cad9648bde
|
remove unnecessary mrb_get_args in fiber_switch
|
2014-03-22 17:51:43 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
064030732a
|
Merge branch 'master' of github.com:mruby/mruby
|
2014-03-22 16:56:43 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
22d57105eb
|
add Enumerable#min_by as well; ref #1912
|
2014-03-22 16:55:47 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
04b5e705e0
|
wrap expr with paren
|
2014-03-22 16:54:54 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
ebb337b132
|
fix multiple value support of max_by; ref #1912
|
2014-03-22 16:47:56 +09:00 |
|
Jun Hiroe
|
5ef1021d88
|
Support mulitple values in Enumerable#max_by
|
2014-03-22 14:51:47 +09:00 |
|
Jun Hiroe
|
af7db89aa3
|
Add Enumerable#max_by
|
2014-03-22 14:51:45 +09:00 |
|
cubicdaiya
|
51947f132b
|
Use bool-macro instead of magic-number
|
2014-03-22 09:55:48 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
7c82b9e1bf
|
use mrb_get_args("i")
|
2014-03-21 23:36:03 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
c978fd7b35
|
should test Enumerable#first; close #1905
|
2014-03-21 23:33:59 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
da34749db0
|
add const qualifier to pacify warning; ref #1900
|
2014-03-21 23:19:07 +09:00 |
|
take_cheeze
|
e854a0e850
|
make Fiber#transfer compatible with CRuby
|
2014-03-21 22:10:47 +09:00 |
|
take_cheeze
|
d4d4f1b0d5
|
implement Fiber#transfer
|
2014-03-21 22:10:47 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
07bd65ae65
|
flat_map to support multiple values; ref #1902
|
2014-03-21 13:35:39 +09:00 |
|
Jun Hiroe
|
44763ebc74
|
Add Enumerable#{flat_map,collect_concat}
|
2014-03-21 12:34:21 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
2c44f96e78
|
reduce hash creation by using update method
|
2014-03-21 09:31:44 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
bb5e4cfd6d
|
Merge branch 'master' of github.com:mruby/mruby
|
2014-03-21 09:20:11 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
298c07d6ca
|
add Hash#each_pair
|
2014-03-21 09:19:53 +09:00 |
|
Jun Hiroe
|
6cfc5795af
|
Add Enumerable#count comment
|
2014-03-21 00:44:00 +09:00 |
|
take_cheeze
|
de65d4e2a7
|
make behavior of Fiber without block compatible with CRuby
|
2014-03-20 04:49:14 +09:00 |
|
take_cheeze
|
daaedf320c
|
refactor and use assert_raise in fiber test checking exception raise
|
2014-03-20 04:40:50 +09:00 |
|
take_cheeze
|
272fe3d864
|
use FiberError in fiber exception raise
|
2014-03-20 04:38:34 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
07d81a113d
|
enum methods to support multiple values; all?, any?, grep, include?, drop, drop_while, take, take_while, each_cons, each_slice, group_by, first, count
|
2014-03-19 15:36:55 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
2bf718faf8
|
Merge pull request #1882 from ksss/enum-find_all
Enumerable#find_all return Enumerator if non block given
|
2014-03-19 10:43:54 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
d9107fd157
|
Merge pull request #1890 from take-cheeze/fiber_resuming
Revert MRB_FIBER_RESUMED as MRB_FIBER_RESUMING.
|
2014-03-19 08:59:45 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
9084e03556
|
rename mrb_yield_internal to mrb_yield_with_class since it's no longer internal
|
2014-03-19 08:57:54 +09:00 |
|
Tomoyuki Sahara
|
40c18fca77
|
self must be the newly created object in initialization block; close #1858
|
2014-03-19 01:08:46 +09:00 |
|
Tomoyuki Sahara
|
93694fe521
|
export mrb_yield_internal.
|
2014-03-19 01:08:01 +09:00 |
|
take_cheeze
|
4be7a8b7e8
|
add root fiber resume test to know double resume checking is working
|
2014-03-19 01:05:21 +09:00 |
|
take_cheeze
|
19c4bf6fcb
|
revert MRB_FIBER_RESUMED as MRB_FIBER_RESUMING to fix recurive resume
|
2014-03-19 01:05:21 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
3e24e06b29
|
add a space after C reserved words
|
2014-03-18 23:57:29 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
575d919122
|
should not use nil as default value for Enumerable#count since it prevent counting nil in enums; ref #1887
|
2014-03-18 23:50:31 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
290faf88df
|
Merge pull request #1887 from suzukaze/add-enumerable.count
Add Enumerable#count
|
2014-03-18 23:48:15 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
53a282ac0e
|
stricter check for double resume; close #1885
|
2014-03-18 23:47:01 +09:00 |
|
Jun Hiroe
|
17fdd81573
|
Add Enumerable#count test
|
2014-03-18 23:08:24 +09:00 |
|
Jun Hiroe
|
02ac5dd9f1
|
Add Enumerable#count
|
2014-03-18 23:06:01 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
31b2980acb
|
Merge pull request #1880 from ksss/enum-each_with_index
Enumrable#each_with_index return Enumerator if non block given
|
2014-03-18 22:22:23 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
555c187687
|
Merge pull request #1883 from suzukaze/add-test-enumerable
Add enumerable test
|
2014-03-18 22:21:37 +09:00 |
|