Commit Graph

4940 Commits

Author SHA1 Message Date
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
Yukihiro "Matz" Matsumoto c11157eb40 Merge pull request #2026 from take-cheeze/disable_cxx_exception
Add MRuby::Build#disable_cxx_exception to force C++ ABI disable.
2014-04-08 22:56:16 +09:00
take_cheeze 702cadae4c Add documentation of MRuby::Build#disable_cxx_exception . 2014-04-08 20:30:19 +09:00
take_cheeze 758cdd5b33 Add MRuby::Build#disable_cxx_exception to force C++ ABI disable. 2014-04-08 20:16:18 +09:00
Yukihiro "Matz" Matsumoto b26ca1b55b Merge pull request #2025 from take-cheeze/cxx_abi_fix
Fix C++ files detection for automatic C++ ABI enabling.
2014-04-07 17:53:40 +09:00
take_cheeze 66e0df34e0 Fix C++ files detection for automatic C++ ABI enabling. 2014-04-07 17:38:30 +09:00
Yukihiro "Matz" Matsumoto c5c87424a8 Merge branch 'master' of github.com:mruby/mruby 2014-04-07 02:03:43 +09:00
Yukihiro "Matz" Matsumoto 4e2ae3e376 Hash#replace should copy default from original even when the default value of the original is not set 2014-04-07 02:02:53 +09:00
Yukihiro "Matz" Matsumoto 0d9cc9ccc6 Merge pull request #2023 from ksss/khash-readable
Use kh_end instead to n_buckets
2014-04-06 23:19:40 +09:00
Yukihiro "Matz" Matsumoto e54d775ccc Merge pull request #2022 from ksss/khash-delete-khash_mask
Delete khash_mask macro
2014-04-06 22:55:57 +09:00
ksss f946465fe4 Use kh_end instead to n_buckets 2014-04-06 13:45:32 +00:00
ksss 40eaf7058c Delete khash_mask macro.
And fix expression to more simple and readable.
2014-04-06 13:26:10 +00:00
Yukihiro "Matz" Matsumoto 950fe963ac should have passed args to to_enum 2014-04-06 20:31:37 +09:00
Yukihiro "Matz" Matsumoto 8808c9a31a wrap args by parens 2014-04-06 20:29:54 +09:00
Yukihiro "Matz" Matsumoto d016059b07 Merge pull request #2017 from suzukaze/fix_enumerator.inspect
Add args in Enumerator#inspect
2014-04-06 20:27:07 +09:00
Yukihiro "Matz" Matsumoto eab754d859 Merge pull request #2021 from take-cheeze/count_objects_total
Always increment `total` field of `os_count_struct` in callback.
2014-04-06 20:16:15 +09:00
Yukihiro "Matz" Matsumoto 9002fb7946 Merge pull request #2018 from akuroda/pr_false_test
add tests for FalseClass
2014-04-06 20:15:15 +09:00