Commit Graph

4047 Commits

Author SHA1 Message Date
Carson McDonald 3911a052a6 More object_id test coverage 2013-12-31 14:47:17 -05:00
Yukihiro "Matz" Matsumoto ca642dd3ef Merge pull request #1624 from cubicdaiya/issues/invalid_return_in_top_level
return-value of mrb_run is invalid in top-level-scope
2013-12-30 21:10:30 -08:00
Yukihiro "Matz" Matsumoto c845798ba4 Merge pull request #1625 from iij/pr-string-partition
add String#partition and String#rpartition.
2013-12-30 21:09:49 -08:00
Yukihiro "Matz" Matsumoto 70d6d04ce9 Merge pull request #1626 from carsonmcdonald/moreclasstests
More tests for Class behavior
2013-12-30 21:09:05 -08:00
Yukihiro "Matz" Matsumoto ced2f044d6 Merge pull request #1629 from akuroda/add_array_test
add tests for Array methods
2013-12-30 21:05:49 -08:00
Akira Kuroda 5ed6040eb1 add some tests for [], delete_at, index, and rindex 2013-12-30 23:34:56 +09:00
Carson McDonald 0b8e342d59 When superclass isn't a class tests 2013-12-27 18:33:25 -05:00
Carson McDonald 9f212b9e81 More singleton tests 2013-12-27 18:32:11 -05:00
Tomoyuki Sahara 120a02c15d add String#partition and String#rpartition. 2013-12-27 15:30:20 +09:00
cubicdaiya 325c3bcfa4 return-value of mrb_run is invalid in top-level-scope
The return-value of mrb_run in top-level-scope
should be the evaluated value at last.
2013-12-27 15:11:20 +09:00
Yukihiro "Matz" Matsumoto 14bff248c3 adjust register position for return value; fix #1620 2013-12-26 17:47:26 +09:00
Yukihiro "Matz" Matsumoto efbaa53c53 revert fix in #1620 2013-12-26 17:43:53 +09:00
Yukihiro "Matz" Matsumoto 2ec67c651e Merge branch 'singletonfix' of https://github.com/carsonmcdonald/mruby into carsonmcdonald-singletonfix 2013-12-26 17:42:41 +09:00
Carson McDonald a89cba9fa4 Fix return when value expected 2013-12-25 12:17:33 -05:00
Carson McDonald 66747603d5 Add more testing for singletons 2013-12-25 12:16:53 -05:00
Yukihiro "Matz" Matsumoto b72f3f92f7 use static symbols for debug filename info 2013-12-25 14:52:13 +09:00
Yukihiro "Matz" Matsumoto c70e2f7099 wrong operator precedence fixed 2013-12-25 13:30:03 +09:00
Yukihiro "Matz" Matsumoto ab47d907b6 Merge pull request #1619 from carsonmcdonald/fixmoduleattrtest
Change :vattr= to :cattr= in respond_to? test
2013-12-24 17:58:27 -08:00
Yukihiro "Matz" Matsumoto 673d9183cf avoid copying when the original string comes with MRB_STR_NOFREE 2013-12-25 10:30:48 +09:00
Yukihiro "Matz" Matsumoto 9b7b18aaf4 clear STR_NOFREE flag on modify 2013-12-25 10:19:35 +09:00
Yukihiro "Matz" Matsumoto ee9e5fa6da Merge branch 'master' of github.com:mruby/mruby 2013-12-25 10:06:24 +09:00
Yukihiro "Matz" Matsumoto 48ad07eb41 zero copy str_new from static allocate irep 2013-12-25 09:48:57 +09:00
Yukihiro "Matz" Matsumoto bd76b2dea8 zero copy intern from static allocate irep 2013-12-25 08:49:18 +09:00
Yukihiro "Matz" Matsumoto c6ceed22d9 rename mrb_intern_litral -> mrb_intern_static 2013-12-25 08:40:26 +09:00
Carson McDonald 5ab9979ba4 Change :vattr= to :cattr= in respond_to? test 2013-12-24 12:12:50 -05:00
Yukihiro "Matz" Matsumoto 68ec811323 Merge pull request #1618 from h2so5/fix-1617
fix #1617
2013-12-24 01:16:07 -08:00
h2so5 6c6633843c fix #1617 2013-12-24 13:33:26 +09:00
Yukihiro "Matz" Matsumoto c209fa9514 class/module body to honor whether value is required or not; reduce a few instructions for normal cases 2013-12-24 12:29:06 +09:00
Yukihiro "Matz" Matsumoto bc7a6e88a1 zero copy C literal strings in symbol table 2013-12-24 08:27:42 +09:00
Yukihiro "Matz" Matsumoto 9fab01caee remove MRB_IREP_ARRAY_INIT_SIZE which is no longer used 2013-12-24 07:26:35 +09:00
Yukihiro "Matz" Matsumoto 4d92d2e1aa string type check based on #to_str to encourage duck typing; #1616 2013-12-24 07:02:37 +09:00
Yukihiro "Matz" Matsumoto d957a67841 Merge pull request #1616 from h2so5/verify-string-match
verify the argument of String#=~
2013-12-23 13:59:17 -08:00
h2so5 e137d1423d verify the argument of String#=~ 2013-12-24 00:09:34 +09:00
Yukihiro "Matz" Matsumoto 55ef024e83 Merge pull request #1615 from crimsonwoods/remove_strong_coupling_by_khash
Remove 'mrb_state' field from 'kh_xxx_t' structure.
2013-12-23 04:31:58 -08:00
Yukihiro "Matz" Matsumoto 045a9cada4 Merge pull request #1614 from h2so5/change-sym2str
change behavior of mrb_sym2str
2013-12-23 04:30:31 -08:00
crimsonwoods 370ad6fade Remove 'mrb_state' field from 'kh_xxx_t' structure.
'kh_xxx_t' requires 'mrb_state' to allocate, free, and compute hash value.
But 'mrb_state' should not be held by 'kh_xxx_t' and 'mrb_state' should be
supplied from outside.
2013-12-23 00:33:07 -08:00
h2so5 a94be45546 change behavior of mrb_sym2str 2013-12-23 03:27:56 +09:00
Yukihiro "Matz" Matsumoto 83c45e73d4 Merge pull request #1613 from h2so5/test-case-statements
add some tests for case statements
2013-12-20 09:15:21 -08:00
h2so5 e80c0c90cd add some tests for case statements 2013-12-20 15:29:23 +09:00
Yukihiro "Matz" Matsumoto 7dffeb6215 Merge pull request #1612 from h2so5/node-case
fix codegen bug in NODE_CASE
2013-12-19 06:05:49 -08:00
Yukihiro "Matz" Matsumoto d7a34b625b Merge pull request #1611 from h2so5/inspect-type
fix TypeError message
2013-12-19 06:03:20 -08:00
Yukihiro "Matz" Matsumoto c514b3697d Merge pull request #1610 from mruby-debian/for-upstream
Fix typo from expornent to exponent
2013-12-19 06:01:42 -08:00
h2so5 61ac9ff2ea fix codegen bug in NODE_CASE 2013-12-19 21:30:51 +09:00
h2so5 38a0a60412 fix TypeError message 2013-12-19 17:40:47 +09:00
Nobuhiro Iwamatsu 01fb0f02d5 Fix typo from expornent to exponent
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2013-12-19 09:37:20 +09:00
Yukihiro "Matz" Matsumoto 8cd42f6466 Merge pull request #1609 from carsonmcdonald/updateinstallinfo
Update the INSTALL information to be more accurate
2013-12-16 22:35:31 -08:00
Carson McDonald c89a03cfa5 Update the INSTALL information to be more accurate 2013-12-16 17:51:08 -05:00
Yukihiro "Matz" Matsumoto 06f518b93a Merge pull request #1608 from nanamiwang/vmcrash
Fixed callinfo buffer overflow while calling ensure handlers
2013-12-15 15:38:42 -08:00
nanami 87a392067a Fixed callinfo buffer overflow while calling ensure handlers 2013-12-15 22:25:59 +08:00
Yukihiro "Matz" Matsumoto 882afdea20 Merge pull request #1607 from h2so5/avoid-recursive-inspection
Avoid recursive instance variable inspections
2013-12-10 07:41:48 -08:00