ksss
40eaf7058c
Delete khash_mask macro.
...
And fix expression to more simple and readable.
2014-04-06 13:26:10 +00:00
Yukihiro "Matz" Matsumoto
950fe963ac
should have passed args to to_enum
2014-04-06 20:31:37 +09:00
Yukihiro "Matz" Matsumoto
8808c9a31a
wrap args by parens
2014-04-06 20:29:54 +09:00
Yukihiro "Matz" Matsumoto
d016059b07
Merge pull request #2017 from suzukaze/fix_enumerator.inspect
...
Add args in Enumerator#inspect
2014-04-06 20:27:07 +09:00
Yukihiro "Matz" Matsumoto
eab754d859
Merge pull request #2021 from take-cheeze/count_objects_total
...
Always increment `total` field of `os_count_struct` in callback.
2014-04-06 20:16:15 +09:00
Yukihiro "Matz" Matsumoto
9002fb7946
Merge pull request #2018 from akuroda/pr_false_test
...
add tests for FalseClass
2014-04-06 20:15:15 +09:00
Yukihiro "Matz" Matsumoto
4875f9b461
Merge pull request #2019 from monaka/pr-add-macro-for-mrbgem-version
...
Pass gem's version information to compilers.
2014-04-06 20:13:25 +09:00
Yukihiro "Matz" Matsumoto
ce1544783d
Merge pull request #2020 from iij/pr-remove-unicode-escape-tests
...
remove tests for unicode chars in regular expression literals.
2014-04-06 20:12:35 +09:00
take_cheeze
c4f14755a7
Always increment total field of os_count_struct in callback.
...
Check sum of `ObjectSpace.count_objects` values is twice of total objects count.
(Which is CRuby's behavior.)
2014-04-06 18:13:29 +09:00
Tomoyuki Sahara
8df73d250b
remove tests for unicode chars in regular expression literals.
...
mruby does not parse escape characters in a regular expression
literal (ref #2007 ). It is parsed by the external mrbgem that
provides Regexp class, if any. These tests should not be in
mruby core but in the mrbgem.
2014-04-06 17:13:29 +09:00
Masaki Muranaka
a54176d4a7
Pass gem's version information to compilers.
2014-04-06 11:58:57 +09:00
Akira Kuroda
0eee513a47
add tests for FalseClass
...
reorder and add tests for 15.2.6.1
2014-04-06 11:48:38 +09:00
Jun Hiroe
1368ae647b
Add args in Enumerator#inspect
2014-04-06 02:45:04 +09:00
Yukihiro "Matz" Matsumoto
63dc51c2f9
Merge pull request #2015 from kyab/detect_vc2010_build_config
...
Add detection of VC++2010 in build_config.rb
2014-04-06 00:19:43 +09:00
kyab
a2bd5fdbf4
Add detection of VC++2010 in build_config.rb
2014-04-05 19:41:36 +09:00
Yukihiro "Matz" Matsumoto
237feb7d39
Merge pull request #2014 from kyab/fix_msvc_build_test
...
Fix 'make test' fail to build on Windows(MSVC)
2014-04-05 19:32:45 +09:00
kyab
0ad9b900a5
Fix 'make test' fail to build on Windows(MSVC)
2014-04-05 19:28:48 +09:00
Yukihiro "Matz" Matsumoto
4f3f22ec62
Merge pull request #2013 from take-cheeze/objectspace
...
Fix ObjectSpace.count_objects document.
2014-04-05 19:05:17 +09:00
take_cheeze
0d27f18fe7
Fix ObjectSpace.count_objects document.
2014-04-05 14:48:44 +09:00
Yukihiro "Matz" Matsumoto
f39a5c1d2a
Merge pull request #2008 from rkh/patch-1
...
Update mruby-head installed on Travis CI
2014-04-04 23:43:31 +09:00
Konstantin Haase
642e4cc985
Update mruby-head installed on Travis CI
...
This way other projects can test against it.
2014-04-04 23:41:16 +09:00
Yukihiro "Matz" Matsumoto
9f6d7d0a42
Merge pull request #2006 from take-cheeze/tsort_dep
...
Refactor MRuby::Gem::List#check.
2014-04-04 13:52:12 +09:00
take_cheeze
69cc80abbc
Refactor MRuby::Gem::List#check.
...
* Create mrbgem table before dependencies check.
* Topoligical sort gem list.
* Check circular mrbgem dependency.
2014-04-04 13:17:27 +09:00
Yukihiro "Matz" Matsumoto
5f2817b36c
backslash escapes in regexp should be addressed by Regexp processor; close #2005
2014-04-04 13:12:58 +09:00
Yukihiro "Matz" Matsumoto
59cd24d41f
Hash#replace should copy default as well; close #2004
2014-04-04 12:14:23 +09:00
Yukihiro "Matz" Matsumoto
9f6d69ee56
simplify string equality check
2014-04-04 12:06:13 +09:00
Yukihiro "Matz" Matsumoto
8cfd5f17da
merge test code from #2003
2014-04-04 11:06:11 +09:00
Yukihiro "Matz" Matsumoto
b9a4d64064
implement Hash#initialize in C
2014-04-04 11:03:26 +09:00
Yukihiro "Matz" Matsumoto
786ed10d59
call to_hash before replacing hash
2014-04-04 10:55:48 +09:00
Yukihiro "Matz" Matsumoto
b8ab6af39d
protect NoMethodError from calling to_hash in ==/eql?; close #2002
2014-04-04 10:54:46 +09:00
Yukihiro "Matz" Matsumoto
28ab106292
Hash#replace to preserve order; close #2001
2014-04-04 10:50:42 +09:00
Yukihiro "Matz" Matsumoto
7a9630a5bb
add mruby-enum-lazy mrbgem for Enumerable::Lazy
2014-04-04 10:33:17 +09:00
Yukihiro "Matz" Matsumoto
4e5ec1993a
Merge pull request #2000 from kyab/add-help-for-mruby-config
...
add --help option to mruby-config
2014-04-04 01:49:29 +09:00
Yukihiro "Matz" Matsumoto
2d61698799
should not access proc->body.irep if proc is PROC_CFUNC; close #1999
2014-04-04 01:47:47 +09:00
kyab
97ecf30fb8
add --help option to mruby-config
2014-04-04 01:01:15 +09:00
Yukihiro "Matz" Matsumoto
fc2b37f0ee
space adjustment in khash.h
2014-04-03 20:35:27 +09:00
Yukihiro "Matz" Matsumoto
fdf87b7a3f
Merge branch 'master' of github.com:mruby/mruby
2014-04-03 20:33:21 +09:00
Yukihiro "Matz" Matsumoto
6b6f893773
Merge pull request #1998 from ksss/khash-delete-upper_bound
...
delete khash member upper_bound
2014-04-03 20:33:07 +09:00
ksss
169cf75b1e
delete khash member upper_bound
2014-04-03 11:26:37 +00:00
Yukihiro "Matz" Matsumoto
19c3c957fc
add assertion before casting
2014-04-03 20:23:39 +09:00
Yukihiro "Matz" Matsumoto
653ddd6d3e
downto, upto, step to return Enumerator
2014-04-03 20:19:54 +09:00
Yukihiro "Matz" Matsumoto
697684654c
Merge pull request #1997 from kyab/fix-make_test-fail-without-gems
...
Fix build fail for 'make test' with no mrbgems
2014-04-03 19:43:01 +09:00
kyab
ad6fa200e2
Fix build fail for 'make test' with no mrbgems
2014-04-03 19:39:25 +09:00
Yukihiro "Matz" Matsumoto
f67038a11b
Merge pull request #1996 from take-cheeze/objectspace
...
Support :T_FIBER in ObjectSpace.count_objects .
2014-04-03 17:47:22 +09:00
take_cheeze
6d75f89ee5
Support :T_FIBER in ObjectSpace.count_objects .
2014-04-03 17:18:46 +09:00
Yukihiro "Matz" Matsumoto
09d1c42308
Merge pull request #1993 from iij/pr-array-should-not-depend-on-enumerator
...
test fails when we don't have Enumerator.
2014-04-03 12:29:24 +09:00
Tomoyuki Sahara
23f522c877
test fails when we don't have Enumerator.
2014-04-03 11:47:26 +09:00
Yukihiro "Matz" Matsumoto
83a1e7122b
Merge branch 'master' of github.com:mruby/mruby
2014-04-03 10:14:55 +09:00
Yukihiro "Matz" Matsumoto
5be2bfb523
too much peephole optimization; close #1992
2014-04-03 10:14:38 +09:00
Yukihiro "Matz" Matsumoto
91805fb0a5
Merge pull request #1991 from ksss/khash-delete-member
...
Delete member mask and inc
2014-04-03 00:43:52 +09:00