Commit Graph

4925 Commits

Author SHA1 Message Date
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
Yukihiro "Matz" Matsumoto 4875f9b461 Merge pull request #2019 from monaka/pr-add-macro-for-mrbgem-version
Pass gem's version information to compilers.
2014-04-06 20:13:25 +09:00
Yukihiro "Matz" Matsumoto ce1544783d Merge pull request #2020 from iij/pr-remove-unicode-escape-tests
remove tests for unicode chars in regular expression literals.
2014-04-06 20:12:35 +09:00
take_cheeze c4f14755a7 Always increment total field of os_count_struct in callback.
Check sum of `ObjectSpace.count_objects` values is twice of total objects count.
(Which is CRuby's behavior.)
2014-04-06 18:13:29 +09:00
Tomoyuki Sahara 8df73d250b remove tests for unicode chars in regular expression literals.
mruby does not parse escape characters in a regular expression
literal (ref #2007).  It is parsed by the external mrbgem that
provides Regexp class, if any.  These tests should not be in
mruby core but in the mrbgem.
2014-04-06 17:13:29 +09:00
Masaki Muranaka a54176d4a7 Pass gem's version information to compilers. 2014-04-06 11:58:57 +09:00
Akira Kuroda 0eee513a47 add tests for FalseClass
reorder and add tests for 15.2.6.1
2014-04-06 11:48:38 +09:00
Jun Hiroe 1368ae647b Add args in Enumerator#inspect 2014-04-06 02:45:04 +09:00
Yukihiro "Matz" Matsumoto 63dc51c2f9 Merge pull request #2015 from kyab/detect_vc2010_build_config
Add detection of VC++2010 in build_config.rb
2014-04-06 00:19:43 +09:00
kyab a2bd5fdbf4 Add detection of VC++2010 in build_config.rb 2014-04-05 19:41:36 +09:00
Yukihiro "Matz" Matsumoto 237feb7d39 Merge pull request #2014 from kyab/fix_msvc_build_test
Fix 'make test' fail to build on Windows(MSVC)
2014-04-05 19:32:45 +09:00
kyab 0ad9b900a5 Fix 'make test' fail to build on Windows(MSVC) 2014-04-05 19:28:48 +09:00
Yukihiro "Matz" Matsumoto 4f3f22ec62 Merge pull request #2013 from take-cheeze/objectspace
Fix ObjectSpace.count_objects document.
2014-04-05 19:05:17 +09:00
take_cheeze 0d27f18fe7 Fix ObjectSpace.count_objects document. 2014-04-05 14:48:44 +09:00
Yukihiro "Matz" Matsumoto f39a5c1d2a Merge pull request #2008 from rkh/patch-1
Update mruby-head installed on Travis CI
2014-04-04 23:43:31 +09:00
Konstantin Haase 642e4cc985 Update mruby-head installed on Travis CI
This way other projects can test against it.
2014-04-04 23:41:16 +09:00