Commit Graph

3215 Commits

Author SHA1 Message Date
Ryan Scott 008aec2bbc Cleanup of mruby_objectspace.c and removed the unneccessary README for mruby_objectspace. 2013-05-18 11:03:54 +10:00
Ryan Scott 43d2fe80ad Added mruby-objectspace to the detault gembox. 2013-05-18 10:56:03 +10:00
Ryan Scott 4acfadfee1 Fixed the each object callback to be more consistent with other callbacks. 2013-05-18 10:55:41 +10:00
Ryan Scott 391807b73c Changed the counting so that only objects that are alive are added to the object counts. 2013-05-18 10:46:55 +10:00
Ryan Scott e36a0275e1 Minor formatting change. 2013-05-17 08:04:19 +10:00
Ryan Scott 40d63f7740 Changed the each_object callback so that a pointer is passed for the object, instead of the struct. 2013-05-17 08:02:24 +10:00
Ryan Scott da6b61db79 Removed debug output 2013-05-17 07:56:31 +10:00
Ryan Scott f62cc5b1ee Changed the object_count so that it only iterates over the RBasic object, not the full RVALUE known by the GC 2013-05-17 07:41:13 +10:00
Ryan Scott 222918deae First implementation of ObjectSpace moved outside of gc.c 2013-05-17 07:21:33 +10:00
Ryan Scott a71bf5e3df Change in formatting for os_count_objects to be consistent with other functions. 2013-05-12 19:51:51 +10:00
Ryan Scott 279fce05ae ObjectSpace.count_objects was incorrectly checking if an object was already freed. Amended the count_objects test to ensure the correct distinction 2013-05-12 19:49:56 +10:00
Ryan Scott c2d1105aa9 Merge branch 'master' of git://github.com/mruby/mruby 2013-05-12 18:42:47 +10:00
Ryan Scott 0d4227ac04 Implemented ObjectSpace.count_objects to count the number of allocated objects for each type 2013-05-12 18:42:21 +10:00
Yukihiro "Matz" Matsumoto a1f991194b Merge pull request #1249 from carsonmcdonald/typocleanup
Change alghorithm to algorithm
2013-05-11 07:03:58 -07:00
Yukihiro "Matz" Matsumoto 6c4b58bda7 Merge pull request #1250 from Archytaus/master
Fix for 'inline' macro redefinition error in VS2012 C++
2013-05-11 07:03:33 -07:00
Ryan Scott 37e3643f8f Potential fix for 'inline' macro redefinition error - VS2012 C++ 2013-05-11 23:32:49 +10:00
Carson McDonald 37258d4d7e Change alghorithm to algorithm 2013-05-11 07:46:30 -04:00
Yukihiro "Matz" Matsumoto b7a24de377 change mrb_bug to get mrb_state and %S formatter 2013-05-10 22:11:28 +09:00
Yukihiro "Matz" Matsumoto fad8b1cefa change mrb_warn to get mrb_state and %S formatter 2013-05-10 22:09:02 +09:00
Yukihiro "Matz" Matsumoto 08660c5b51 Merge pull request #1248 from ktaobo/rename-yield-param
Rename parameter names for mrb_yield
2013-05-09 18:48:00 -07:00
Keita Obo 9887f7cb27 Rename parameter names for mrb_yield 2013-05-10 00:16:27 +09:00
Yukihiro "Matz" Matsumoto f545d88373 fix indentation 2013-05-09 23:40:22 +09:00
Yukihiro "Matz" Matsumoto 9e3ec665ca Merge pull request #1242 from schmurfy/gem_version
consider gem version to be 0.0.0 unless specified
2013-05-09 07:33:41 -07:00
Yukihiro "Matz" Matsumoto 2241c39a20 Merge pull request #1245 from NARKOZ/fix-warnings
remove unused variables
2013-05-09 06:15:04 -07:00
Yukihiro "Matz" Matsumoto 2e3e5d9c29 Merge pull request #1247 from carsonmcdonald/issue1246fix
Print mrb_value instead of RClass*
2013-05-09 06:14:40 -07:00
Carson McDonald 697b09924e Print mrb_value instead of RClass* 2013-05-09 08:44:16 -04:00
Yukihiro "Matz" Matsumoto cde83ccfcc Merge pull request #1244 from NARKOZ/regexp-warning
fix regexp warning: character class has duplicated range
2013-05-09 05:44:08 -07:00
Nihad Abbasov 9dd539bb15 remove unused variables 2013-05-09 17:05:59 +05:00
Nihad Abbasov 1d049e0864 fix regexp warning: character class has duplicated range 2013-05-09 16:49:39 +05:00
Julien Ammous 6af7132866 consider empty version requirements as >= 0.0.0 2013-05-09 10:35:52 +02:00
Julien Ammous 7562b28439 consider gem version to be 0.0.0 unless specified 2013-05-09 10:15:20 +02:00
Yukihiro "Matz" Matsumoto 14bd8ceff3 Merge pull request #1241 from bovi/add-gem-dependency-check
[mrbgems] GEM Dependency Check
2013-05-08 20:15:52 -07:00
Daniel Bovensiepen 34f7dd539d Todo is actually already finished :-) 2013-05-09 01:49:53 +08:00
Daniel Bovensiepen a5a7c47e91 Implement GEM dependency check 2013-05-09 01:47:24 +08:00
Yukihiro "Matz" Matsumoto ea10d2d3d6 Merge pull request #1240 from bovi/patch-1
[doc] Add minimal build configuration
2013-05-08 08:13:58 -07:00
Yukihiro "Matz" Matsumoto 25b8ae96ab Merge pull request #1239 from bovi/fallback-print
[TestEnv] Fallback print method
2013-05-08 08:13:19 -07:00
Daniel Bovensiepen 2991c8b0b2 [doc] Add minimal build configuration
In relation to #1225.

Adds a minimal build configuration for libmruby which contains as less as possible.
2013-05-08 21:54:51 +08:00
Daniel Bovensiepen 72f78316aa Move declaration of kernel to the beginning of the method 2013-05-08 21:20:35 +08:00
Daniel Bovensiepen 520b0f73bf Implement fallback print method for testing environment in case mruby-print GEM wasn't included. 2013-05-08 21:17:08 +08:00
Yukihiro "Matz" Matsumoto 8e45630896 Merge branch 'master' of github.com:mruby/mruby 2013-05-08 16:25:40 +09:00
Yukihiro "Matz" Matsumoto 595b1990bc mirb should handle exception from inspect; close #1238 2013-05-08 16:25:20 +09:00
Yukihiro "Matz" Matsumoto c80103e89a Merge pull request #1237 from monaka/pr-cleanup-hash
Cleanup hash
2013-05-07 22:50:24 -07:00
Masaki Muranaka c9edc5b02e Remove mrb_hash_lookup() as no one uses it. Use mrb_hash_get instead. 2013-05-08 13:33:23 +09:00
Masaki Muranaka 71cc4e13bf Add more test cases for test coverage. 2013-05-08 13:22:35 +09:00
Masaki Muranaka 82c891acee Move comments from hash.c to hash.rb. 2013-05-08 13:22:35 +09:00
Masaki Muranaka a46eacb213 Move Hash#values_at to mruby-hash-ext gem. 2013-05-08 13:22:35 +09:00
Yukihiro "Matz" Matsumoto 11e70f2191 Merge pull request #1234 from gzohari/pr-merge-bang-check-type
Add type check in Hash#merge!
2013-05-05 22:49:21 -07:00
Yukihiro "Matz" Matsumoto f568b49ef4 Merge pull request #1236 from carsonmcdonald/moreresptotests
Adding a few more respond_to tests
2013-05-05 22:49:07 -07:00
Carson McDonald 61c0b8f7df Adding a few more respond_to tests 2013-05-05 09:14:41 -04:00
Yukihiro "Matz" Matsumoto 5e40c9bdb5 Merge pull request #1235 from crimsonwoods/fix_typos
fix typos.
2013-05-05 03:39:15 -07:00