Commit Graph

1156 Commits

Author SHA1 Message Date
Yukihiro Matsumoto bd035bcbb6 do not use INT32_MAX; close #407 2012-07-30 09:40:41 +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
Yukihiro Matsumoto 08213e32e8 const reference from instance_eval should not cause SEGV 2012-07-25 08:53:49 +09:00
Akira Kuroda f114e3e252 fix segmentation fault in Array#last 2012-07-25 00:05:51 +09:00
Yukihiro Matsumoto 88b638cf82 instance_eval should set target_class in the block 2012-07-24 23:16:41 +09:00
Yukihiro Matsumoto 42b7d75a67 instance_eval should raise NotImplementedError on string argument 2012-07-24 22:57:59 +09:00
Yukihiro Matsumoto 328353b287 treat exceptional usec value 2012-07-23 23:25:00 +09:00
Yukihiro Matsumoto fcc64c9f93 Merge branch 'master' of github.com:mruby/mruby 2012-07-23 17:06:58 +09:00
Yukihiro "Matz" Matsumoto edee3f33c0 Merge pull request #392 from monaka/pr-use-memcpy-instead-of-strncpy
Use memcpy instead of strncpy
2012-07-23 00:27:27 -07:00
Masaki Muranaka d73a54d80a Use memcpy instead of strncpy 2012-07-23 10:18:11 +09:00
Yukihiro Matsumoto cac740c750 remove duplicated variable declaration 2012-07-23 08:45:53 +09:00
Yukihiro Matsumoto 8b6f6faf1e separate sec and usec in mrb_time_plus 2012-07-23 08:38:24 +09:00
Yukihiro Matsumoto 8dc69cf216 time.c: separate sec and usec to keep precisions 2012-07-23 07:33:18 +09:00
Yukihiro "Matz" Matsumoto 6cd32ee4c2 Merge pull request #391 from crimsonwoods/android_ndk_support
fix: SIZE_MAX is not defined in "stdint.h"
2012-07-22 14:02:09 -07:00
Yukihiro Matsumoto a9a91c3561 Time.at should take optional second argument 2012-07-22 23:16:40 +09:00
crimsonwoods d61cb77346 fix: SIZE_MAX is not defined in "stdint.h" 2012-07-22 23:10:15 +09:00
Yukihiro Matsumoto 3de8c4441e Merge branch 'master' of github.com:mruby/mruby 2012-07-22 23:07:45 +09:00
Yukihiro Matsumoto 6ada0df27e mruby should print exception 2012-07-22 23:07:21 +09:00
Yukihiro "Matz" Matsumoto 1b9708ef83 Merge pull request #390 from akuroda/float_test
add test cases in test/t/float.rb
2012-07-22 06:35:13 -07:00
Yukihiro "Matz" Matsumoto 5926a4406e Merge pull request #389 from masamitsu-murase/modify_module_initialization
Remove initialization of mt.
2012-07-22 06:34:39 -07:00
Akira Kuroda 9dd3ac36d1 add test cases for floor, inifinite?, truncate, ceil, and round 2012-07-22 21:53:58 +09:00
Masamitsu MURASE a4c6b1c75e Remove initialization of mt. 2012-07-22 00:35:49 +09:00
Yukihiro "Matz" Matsumoto 78aa61453e Merge pull request #388 from masamitsu-murase/modify_irep_allocation_size
Modify allocation size of mrb->irep.
2012-07-21 06:51:54 -07:00
Masamitsu MURASE 7010aebbce Modify allocation size of mrb->irep. 2012-07-21 19:40:20 +09:00
Yukihiro "Matz" Matsumoto c98134905f Merge pull request #387 from spiritloose/mrb_load_return_value
mrb_load_* should return value
2012-07-19 22:32:55 -07:00
Jiro Nishiguchi 4bc416cae9 mrb_load_* should return value 2012-07-19 23:13:29 +09:00
Yukihiro Matsumoto 4b9ef5dabe use no malloc in mrb_funcall; close #386 2012-07-19 17:45:13 +09:00
Yukihiro Matsumoto 8ae67d10b3 make MRB_ARENA_SIZE to be configurable 2012-07-19 11:28:06 +09:00