Commit Graph

4956 Commits

Author SHA1 Message Date
Yukihiro "Matz" Matsumoto b046ded67d remove mirb regression test that fails on travis-ci only 2014-04-12 23:10:58 +09:00
Yukihiro "Matz" Matsumoto 17f4835141 Restore arena index since large struct may create many Proc objects; a patch from @take-cheeze; ref #2052 2014-04-12 21:45:01 +09:00
Yukihiro "Matz" Matsumoto 9e3fe6c53d Add test cases to 'large struct' test; a patch from @take-cheeze; ref #2052 2014-04-12 21:42:26 +09:00
Yukihiro "Matz" Matsumoto bff93ba93f simplify Fixnum#== 2014-04-12 16:38:28 +09:00
Yukihiro "Matz" Matsumoto 1ef77ab3ff simplify Numeric#eql? 2014-04-12 16:30:45 +09:00
Yukihiro "Matz" Matsumoto 8321ad3f56 remove num_equal() that potentially cause infinite loop 2014-04-12 16:08:47 +09:00
Yukihiro "Matz" Matsumoto f5e14afacc Merge pull request #2051 from suzukaze/add-array_bang_test
Add Array#uniq! test
2014-04-12 16:03:50 +09:00
Jun Hiroe c471cea4d7 Add Array#uniq_bang test 2014-04-12 15:57:14 +09:00
Yukihiro "Matz" Matsumoto 141593ee09 Merge pull request #2050 from suzukaze/refactor-array-test
Refactor array test to use assert_xxx method
2014-04-12 15:27:53 +09:00
Jun Hiroe 957a0d0439 Refactor array test to use assert_xxx method 2014-04-12 15:18:07 +09:00
Yukihiro "Matz" Matsumoto 63eddaa696 Merge branch 'master' of github.com:mruby/mruby 2014-04-12 14:28:52 +09:00
Yukihiro "Matz" Matsumoto 18ee842bea replace memcpy() with a magic number by two assignments as suggested by @cremno; close #2048 2014-04-12 14:28:43 +09:00
Yukihiro "Matz" Matsumoto fcd6e4a7a4 Merge pull request #2049 from ksss/str-dup
mrb_str_dup return shared string instead of new string
2014-04-12 14:09:35 +09:00
ksss d305a9dad7 mrb_str_dup use sheard string instead of new string 2014-04-12 04:44:56 +00:00
ksss e08998be8f Delegate irep string free to mrb_gc_free_str 2014-04-12 04:44:56 +00:00
Yukihiro "Matz" Matsumoto 3308177c4d retrieve values in Hash#each to handle modified keys 2014-04-12 10:42:02 +09:00
Yukihiro "Matz" Matsumoto 077c87bad6 Merge pull request #2047 from suzukaze/add-array-rotate_bang
Add Array#rotate!
2014-04-12 02:24:37 +09:00
Jun Hiroe 0898f40ccc Add Array#rotate_bang 2014-04-12 01:19:44 +09:00
Yukihiro "Matz" Matsumoto fe55b9dd1c Merge pull request #2045 from suzukaze/add-array.rotate
Array#rotate
2014-04-11 23:45:52 +09:00
Yukihiro "Matz" Matsumoto 92156b4619 Merge pull request #2044 from take-cheeze/const_argv
Qualify argv argument of API `const`.
2014-04-11 23:45:15 +09:00
Yukihiro "Matz" Matsumoto f53b2601a0 Merge pull request #2043 from ksss/khash-fix
Fix bug kh_put after kh_del report by @mirichi
2014-04-11 23:44:44 +09:00
Jun Hiroe 7ed47c1223 Array#rotate 2014-04-11 23:42:40 +09:00
ksss 91f68f77a8 kh_put return value should be found index 2014-04-11 21:13:43 +09:00
Takeshi Watanabe 824d3450c5 Qualify argv argument of API const. 2014-04-11 20:38:23 +09:00
ksss b6cfe0e001 Fix bug kh_put after kh_del report by @mirichi 2014-04-11 19:32:32 +09:00
Yukihiro "Matz" Matsumoto b20d711c4d Numeric#round takes optinal argument; close #2042 2014-04-11 14:22:48 +09:00
Yukihiro "Matz" Matsumoto 0887fd1586 Merge pull request #2040 from take-cheeze/yield_const_argv
Qualify mrb_yield_*'s argv `const`.
2014-04-11 01:24:11 +09:00
take_cheeze 9f24cd6d79 Qualify mrb_yield_*'s argv const. 2014-04-10 17:34:38 +09:00
Yukihiro "Matz" Matsumoto 847b7c5e19 Merge pull request #2038 from ksss/khash-refactoring
Refactoring for kh_put
2014-04-10 16:57:20 +09:00
ksss 93904fee21 Refactoring for kh_put 2014-04-10 08:48:34 +09:00
Yukihiro "Matz" Matsumoto 93491caec9 revert b45e99 since a bug in khash.h was fixed 2014-04-10 00:57:21 +09:00
Yukihiro "Matz" Matsumoto aecdafb9ce kh_put in khash.h should work when direct bucket is deleted one 2014-04-10 00:53:32 +09:00
Yukihiro "Matz" Matsumoto 8389066272 Merge pull request #2036 from ksss/assert-kh_del
add assert before write khash del flags
2014-04-10 00:16:32 +09:00
Yukihiro "Matz" Matsumoto 020116fa6b revert 40eaf705 for performance reason; ref #2022 2014-04-10 00:14:57 +09:00
ksss cf5aabeba1 add assert before write khash del flags 2014-04-09 23:11:37 +09:00
Yukihiro "Matz" Matsumoto 90e1a4fb56 Merge pull request #2034 from mattn/fix_hash_usage
Fix invalid hash type
2014-04-09 21:52:24 +09:00
mattn 948ddace20 Fix invalid hash type 2014-04-09 21:48:13 +09:00
Yukihiro "Matz" Matsumoto b45e99b0d5 call kh_get before kh_put to avoid potential key lost; reported by @mirichi 2014-04-09 21:38:29 +09:00
Yukihiro "Matz" Matsumoto ef9daf7ef3 fixed typos in operand descriptions 2014-04-09 21:37:28 +09:00
Yukihiro "Matz" Matsumoto b531ae93bf Merge pull request #2033 from take-cheeze/mrb_tt_has_basic_p
Add MRB_TT_HAS_BASIC_P macro.
2014-04-09 14:35:04 +09:00
take_cheeze 90d74b99ff Add MRB_TT_HAS_BASIC_P macro to check whether a typetag has MRB_OBJECT_HEADER. 2014-04-09 14:26:26 +09:00
Yukihiro "Matz" Matsumoto c2bc09be3d Merge pull request #2032 from take-cheeze/enable_bintest
Make bintest enabling like other `enable_xxx` methods.
2014-04-09 14:07:56 +09:00
take_cheeze 604134e57d Make bintest enabling like other enable_xxx methods. 2014-04-09 13:59:39 +09:00
Yukihiro "Matz" Matsumoto 63cf7073de improve hash function based on #2027; close #2027 2014-04-09 11:49:26 +09:00
Yukihiro "Matz" Matsumoto d95d55089d Merge branch 'master' of github.com:mruby/mruby 2014-04-09 11:35:27 +09:00
Yukihiro "Matz" Matsumoto 6abb9de7e0 mention 1.9 compatibility in README.md; close #2031 2014-04-09 11:35:12 +09:00
Yukihiro "Matz" Matsumoto 7f3b8ddb53 Merge pull request #2029 from take-cheeze/mrb_bug_fix
Fix wrong `mrb_bug` use found with mruby-clang-plugin.
2014-04-09 10:32:18 +09:00
Yukihiro "Matz" Matsumoto ec0f97ddfd Merge pull request #2030 from kyab/fix-build_config-arduinodue
Fix build_config.rb for ArduinoDue
2014-04-09 10:31:50 +09:00
kyab c4214d3ace Fix build_config.rb for ArduinoDue 2014-04-08 23:50:25 +09:00
take_cheeze 70f6aa0496 Fix wrong mrb_bug use found with mruby-clang-plugin. 2014-04-08 23:46:18 +09:00