Commit Graph

1583 Commits

Author SHA1 Message Date
Yukihiro Matsumoto d749ccfd3e add description of MRB_IV_INITIAL_SIZE 2012-07-30 23:56:34 +09:00
Yukihiro Matsumoto 515862cc01 khash refactoring; no more MRB_KHASH_INITIAL_SIZE 2012-07-30 23:55:35 +09:00
Yukihiro Matsumoto 857370c2b7 use const MRB_IV_INITIAL_SIZE 2012-07-30 17:33:54 +09:00
Yukihiro Matsumoto 0c55f7ecc3 add description of MRB_HEAP_PAGE_SIZE 2012-07-30 17:18:32 +09:00
Yukihiro Matsumoto d91f475e55 better mrbconf decsription 2012-07-30 17:16:13 +09:00
Yukihiro Matsumoto e75c76ecee iv khash initial size to 8 2012-07-30 17:16:05 +09:00
Yukihiro Matsumoto c808f647aa allow specifying khash initial size 2012-07-30 16:41:05 +09:00
Yukihiro "Matz" Matsumoto c6f62104d3 Merge pull request #409 from monaka/pr-configurable-initial_hash_size
MRB_INITIAL_HASH_SIZE : Make the initial hash size configurable.
2012-07-30 00:33:34 -07:00
Masaki Muranaka b1cc715b36 MRB_INITIAL_HASH_SIZE : Make the initial hash size configurable. 2012-07-30 15:31:49 +09:00
Yukihiro Matsumoto 14410d1391 configurable MRB_HEAP_PAGE_SIZE 2012-07-30 13:18:24 +09:00
Yukihiro Matsumoto 446005620b remove __STDC_LIMIT_MACROS for INT32_MAX 2012-07-30 10:51:24 +09:00
Yukihiro Matsumoto eb34ad365b fixed the comment English 2012-07-30 09:45:37 +09:00
Yukihiro "Matz" Matsumoto ff707384c3 Merge pull request #407 from silverhammermba/cpp
C++ compatibility
2012-07-29 17:42:17 -07:00
Yukihiro Matsumoto d0c1b7b4a8 Merge branch 'master' of github.com:mruby/mruby 2012-07-30 09:40:53 +09:00
Yukihiro Matsumoto bd035bcbb6 do not use INT32_MAX; close #407 2012-07-30 09:40:41 +09:00
Yukihiro "Matz" Matsumoto 179b2aceea Merge pull request #406 from MobiRuby/mrbc_stdin
Added mrbc support output to stdout
2012-07-29 17:38:40 -07:00
Max Anselm 50b9f54a65 Make void casts explicit.
(Forgot a couple files)
2012-07-29 20:11:08 -04:00
Max Anselm dacae7fda9 Remove unnecessary mrb_assoc_new prototype
Include array.h instead.
2012-07-29 19:51:14 -04:00
Max Anselm 5a4beeed2d Make all(?) void casts explicit for C++ 2012-07-29 19:48:48 -04:00
Max Anselm ee899778c4 Define __STDC_LIMIT_MACROS for INT32_MAX in C++ 2012-07-29 19:44:49 -04:00
Yuichiro MASUI ef993d7549 Added mrbc support output to stdout 2012-07-29 20:58:02 +09:00
Yukihiro "Matz" Matsumoto e56cd70cdb Merge pull request #405 from monaka/pr-remove-unimplemented-declaration
Remove unimplemented declarations.
2012-07-29 04:48:12 -07:00
Yukihiro "Matz" Matsumoto c152b10d1f Merge pull request #404 from monaka/pr-cleanup-hash
Clean up hash.[ch]
2012-07-29 04:47:33 -07:00
Yukihiro "Matz" Matsumoto 8afe33b210 Merge pull request #403 from masamitsu-murase/modify_return_value_of_mrbtest
Modify return value of mrbtest.
2012-07-29 04:46:37 -07:00
Masaki Muranaka 7ac4b56141 Remove unimplemented declarations. 2012-07-29 20:35:23 +09:00
Masaki Muranaka 22b032fcdf mrb_hash_delete_key(), mrb_hash_keys() : Declare as static.
mrb_check_hash_type(): Remove as no implementation.
2012-07-29 20:11:43 +09:00
Masamitsu MURASE d5bcaafd91 Modify return value of mrbtest.
This is an improvement for CI, such as Travis.
2012-07-29 18:45:47 +09:00
Yukihiro "Matz" Matsumoto 0584874e59 Merge pull request #402 from monaka/pr-remove-commented-out-code
Remove commented out code.
2012-07-29 01:57:39 -07:00
Yukihiro "Matz" Matsumoto fccd2d4cf0 Merge pull request #401 from masamitsu-murase/modify_class_inheritance
Modify class inheritance
2012-07-29 01:56:50 -07:00
Yukihiro "Matz" Matsumoto 622b3f010b Merge pull request #400 from monaka/pr-add-myself
Please append my name to AUTHORS.
2012-07-29 01:55:56 -07:00
Masaki Muranaka b2fc62f3a9 Remove commented out code. 2012-07-29 15:25:14 +09:00
Masamitsu MURASE b71063b239 Modify test for Class.
* Rename some classes in test/t/class.rb to avoid name conflict.
* Add tests for mismatch fo superclass.
2012-07-29 14:21:12 +09:00
Masamitsu MURASE 99e2035f42 Modify mrb_vm_define_class.
* Check mismatch of superclass.
* Check constant value whose name is specified as a class's name.
2012-07-29 14:21:12 +09:00
Masaki Muranaka 6cbaeda1e6 Add Masaki Muranaka. 2012-07-29 14:11:33 +09:00
Yukihiro "Matz" Matsumoto 5ed89a401c Merge pull request #399 from akuroda/array_first_fix
fix segmentation fault in Array#first
2012-07-28 16:01:58 -07:00
Akira Kuroda a2aa7e7f52 fix segmentation fault in Array#first 2012-07-29 00:21:40 +09:00
Yukihiro "Matz" Matsumoto 919a84771b Merge pull request #398 from masamitsu-murase/modify_hash_shift
Protect deleted key and value from GC.
2012-07-28 06:44:55 -07:00
Yukihiro "Matz" Matsumoto 5d58bd0d78 Merge pull request #397 from masamitsu-murase/modify_op_send
Modify ci->nregs.
2012-07-28 06:44:04 -07:00
Masamitsu MURASE b48cfea736 Protect deleted key and value from GC. 2012-07-28 21:10:57 +09:00
Masamitsu MURASE a985cf7945 Modify ci->nregs. 2012-07-28 19:16:54 +09:00
Yukihiro Matsumoto 7f8076ef90 more peephole optimization on OP_MOVE 2012-07-28 11:23:29 +09:00
Yukihiro Matsumoto 88043c5ccd remove <stdio.h> that added for debugging 2012-07-27 12:54:19 +09:00
Yukihiro Matsumoto 638a66fd78 adjust ci->nregs for C implemented methods 2012-07-27 10:05:47 +09:00
Yukihiro Matsumoto 92d37403f1 temporary protection not to access out of stack 2012-07-27 05:57:22 +09:00
Yukihiro Matsumoto 344946233c do not use TrueClass/FalseClass.new 2012-07-26 23:00:34 +09:00
Yukihiro "Matz" Matsumoto a621f08ecf Merge pull request #395 from monaka/pr-add-more-test-for-array
Add tests for coverage.
2012-07-26 04:33:44 -07:00
Yukihiro "Matz" Matsumoto aed200686f Merge pull request #394 from silverhammermba/master
Undefine class method new rather than instance method.
2012-07-26 04:33:04 -07:00
Max Anselm ea25912999 Undefine new for class rather than instance.
Applies to NilClass, TrueClass, FalseClass, Fixnum, and Float. Add
mrb_undef_class_method for DRYness.
2012-07-25 18:22:26 -04:00
Masaki Muranaka 1cda5e0768 Add tests for coverage. 2012-07-25 16:13:44 +09:00
Yukihiro "Matz" Matsumoto ec309c6fd7 Merge pull request #393 from akuroda/array_last_fix
fix segmentation fault in Array#last
2012-07-24 16:55:12 -07:00