Commit Graph

4873 Commits

Author SHA1 Message Date
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 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
ksss 84ccc82ef9 Delete khash member mask and inc
because there can be substituted by n_buckets
2014-04-02 15:42:31 +00:00
Yukihiro "Matz" Matsumoto ba4746749f Merge pull request #1990 from ksss/khash-bool-macro
Use bool macro KHASH_DEFINE and KHASH_DECLARE
2014-04-02 22:44:33 +09:00
ksss 8d15ef2e89 Use bool macro KHASH_DEFINE and KHASH_DECLARE 2014-04-02 13:38:43 +00:00
Yukihiro "Matz" Matsumoto de818e9859 Merge pull request #1989 from ksss/khash-size_t
use size_t instead of int
2014-04-02 22:28:21 +09:00
ksss 0f1a984a4f use size_t instead of int 2014-04-02 13:24:50 +00:00
Yukihiro "Matz" Matsumoto 8eaee91892 Merge pull request #1988 from ksss/khash-mask
delete unused indexes __m_* masks
2014-04-02 22:07:43 +09:00
ksss c816558b01 delete unused indexes __m_* masks 2014-04-02 12:44:11 +00:00
Yukihiro "Matz" Matsumoto b4043256d0 implement part of Array#<=> in C 2014-04-02 18:04:09 +09:00
Yukihiro "Matz" Matsumoto 94effc6a37 implement Array comparisons by Ruby 2014-04-02 17:33:25 +09:00
Yukihiro "Matz" Matsumoto 9b45189626 remove some empty lines 2014-04-02 10:42:56 +09:00
Yukihiro "Matz" Matsumoto 911764e8e2 handle CR before LF; close #1781 2014-04-02 03:22:06 +09:00
Yukihiro "Matz" Matsumoto 3b339ed47f simpler escape handling in ?c strings 2014-04-02 02:21:57 +09:00
Yukihiro "Matz" Matsumoto 5bcaa749fc fix else indentation style 2014-04-02 02:16:09 +09:00
Yukihiro "Matz" Matsumoto 164dcd8b33 Hash#keys to update memory region directly 2014-04-01 15:19:53 +09:00
Yukihiro "Matz" Matsumoto 312e11da39 should adjust hash value order at deletion 2014-04-01 15:19:11 +09:00
Yukihiro "Matz" Matsumoto 1690fc4c99 implement Hash#== and eql? in Ruby 2014-04-01 14:56:23 +09:00
Yukihiro "Matz" Matsumoto 8b141b07b6 function expansion in hash.c 2014-04-01 14:37:10 +09:00
Yukihiro "Matz" Matsumoto d9feed6703 move Array#inspect implementation to mrblib/array.rb 2014-04-01 14:31:39 +09:00
Yukihiro "Matz" Matsumoto cf58d0d3e9 move Hash#inspect implementation to mrblib/hash.rb 2014-04-01 14:21:40 +09:00
Yukihiro "Matz" Matsumoto f05069fd1a Hash to preserve order as Ruby1.9 does 2014-04-01 14:18:21 +09:00
Yukihiro "Matz" Matsumoto 00f3484ff7 Merge pull request #1986 from take-cheeze/proc_macro
REnv macros.
2014-04-01 11:24:32 +09:00
take_cheeze 755ded2ef0 Use MRB_ENV_STACK_SHARED_P to check cioff field of REnv. 2014-04-01 01:53:28 +09:00
take_cheeze b38eb72d82 Add macro MRB_ENV_UNSHARE_STACK instead of assigning -1 directly. 2014-04-01 01:35:40 +09:00