Commit Graph

4086 Commits

Author SHA1 Message Date
Yukihiro "Matz" Matsumoto fe19ac2bcd small cosmetic variable renaming 2014-01-06 14:24:33 +09:00
Yukihiro "Matz" Matsumoto 07e8f80040 adjust proc->target_class according to surrounding proc->target_class; based on a patch from @Fleurer; close #1627 2014-01-06 14:04:50 +09:00
Yukihiro "Matz" Matsumoto 91fbbe2f59 Merge pull request #1644 from carsonmcdonald/testraiseinensure
Test for raise in ensure
2014-01-05 15:12:41 -08:00
Yukihiro "Matz" Matsumoto 3c7ab32e39 Merge pull request #1643 from take-cheeze/remove_unnecessary_depedency
Reduce unnecessary mrbgems full test rebuild.
2014-01-05 15:11:59 -08:00
Carson McDonald 072d98dd94 Test for raise in ensure 2014-01-05 09:20:31 -05:00
Yukihiro "Matz" Matsumoto 791021575c need not to initialize ci->err at toplevel 2014-01-05 20:03:45 +09:00
Yukihiro "Matz" Matsumoto f5cca078e3 avoid decrimenting eidx out of ecall() 2014-01-05 19:18:13 +09:00
h2so5 0e23038a60 execute ensure clause correctly without OP_EPOP 2014-01-05 16:24:20 +09:00
Yukihiro "Matz" Matsumoto 0b92025c3d Merge pull request #1640 from carsonmcdonald/splatwhentest
Test case statement with splat
2014-01-04 15:59:30 -08:00
Carson McDonald 8bff2a8f9d Test case statement with splat 2014-01-04 13:58:09 -05:00
Yukihiro "Matz" Matsumoto d40a62e2d2 object_id may not return Fixnum (ISO says Integer), since intptr_t may be bigger than Fixnum, so type check for Numeric; ref #1630 2014-01-04 21:12:18 +09:00
Yukihiro "Matz" Matsumoto 925137475c should splat and iterate elements when "*ary" speficied in the case-when clause; close #1627 2014-01-04 11:25:53 +09:00
Yukihiro "Matz" Matsumoto 2122cf48db pop ensure stack before execution; close #1638 2014-01-04 01:30:38 +09:00
Yukihiro "Matz" Matsumoto 6bcbef5064 always clear ci->err 2014-01-04 00:54:05 +09:00
Yukihiro "Matz" Matsumoto 4b68fbcd83 quicker release of arena after ensure calls 2014-01-04 00:13:28 +09:00
Yukihiro "Matz" Matsumoto d32a67e4b4 Merge branch 'master' of github.com:mruby/mruby 2014-01-04 00:07:34 +09:00
Yukihiro "Matz" Matsumoto 0bafa49d90 Merge pull request #1639 from h2so5/macro-ci-err
use macros for assignments to ci->err
2014-01-03 07:07:24 -08:00
Yukihiro "Matz" Matsumoto 6d7b3a7bc9 mrb_ary_splat() to call #to_a 2014-01-03 23:57:20 +09:00
h2so5 77f215c837 use macros for assignments to ci->err 2014-01-03 21:54:58 +09:00
Yukihiro "Matz" Matsumoto dc27c2be46 Merge pull request #1634 from cremno/use-mrb_fixnum_p
tiny word boxing optimization
2014-01-02 15:46:00 -08:00
Yukihiro "Matz" Matsumoto 1012c595f2 Merge pull request #1632 from cremno/superfluous-return
remove superfluous return in codedump_all
2014-01-02 15:45:07 -08:00
Yukihiro "Matz" Matsumoto a26a6fecee Merge pull request #1637 from h2so5/extended-arena-size
Fix extended arena check in gc_protect
2014-01-02 15:44:31 -08:00
Yukihiro "Matz" Matsumoto 18f393013a Merge pull request #1636 from cremno/mrb_get_args-z-errmsg
use the same error msg as mrb_str_to_cstr/CRuby
2014-01-02 15:43:49 -08:00
Yukihiro "Matz" Matsumoto 0d8737c1a7 Merge pull request #1635 from cremno/cpp-conditionals
remove various preprocessor conditionals
2014-01-02 15:43:23 -08:00
Yukihiro "Matz" Matsumoto d6a0308a71 Merge pull request #1633 from cremno/nan-boxing-uintptr_t
NaN boxing: use uintptr_t for bit manipulations
2014-01-02 15:42:26 -08:00
Yukihiro "Matz" Matsumoto a90e8317cc Merge pull request #1631 from cremno/fix-ruby-warnings
fix some warnings emitted by 'ruby -w'
2014-01-02 15:41:47 -08:00
h2so5 a44cc14e1c Fix extended arena check in gc_protect 2014-01-02 18:23:26 +09:00
cremno edf93c8bd6 use the same error msg as mrb_str_to_cstr/CRuby
It's better to have one message for the same error
than two different (although similar worded) ones.
2014-01-02 07:53:53 +01:00
cremno 18433731ed remove various preprocessor conditionals
- HAVE_IEEEFP_H is nowhere defined or needed at all
- FreeBSD < 4 is unsupported since years
- MSVC workaround (around what exactly?)
2014-01-02 07:33:33 +01:00
cremno 09bb30870b tiny word boxing optimization 2014-01-02 06:36:29 +01:00
cremno 16c5cf92b0 NaN boxing: use uintptr_t for bit manipulations 2014-01-02 06:19:20 +01:00
cremno d69deadfc8 codegen.c: remove superfluous return 2014-01-02 01:34:32 +01:00
cremno 4804b3f7dd fix some warnings emitted by 'ruby -w'
- File.exists? is deprecated since 2.1.0
- tasks/mruby_build_commands.rake:268: ambiguous argument
2014-01-02 01:09:03 +01:00
Yukihiro "Matz" Matsumoto e8dd8180ba return value from #object_id may not be Fixnum; ref #1630 2014-01-01 12:24:20 +09:00
Yukihiro "Matz" Matsumoto 047f318cf9 successful recursion check to be shallower; ref #1630 2014-01-01 12:20:48 +09:00
Yukihiro "Matz" Matsumoto 9007aafef4 Merge pull request #1630 from carsonmcdonald/morekerneltests
More kernel testing
2013-12-31 19:19:11 -08:00
Carson McDonald 60cd1c341b Method missing and inspect tests 2013-12-31 14:53:44 -05:00
Carson McDonald 9cd7191622 Test coverage of extending stack and overflow 2013-12-31 14:49:24 -05:00
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
take_cheeze c8e8f3e446 remove unnecessary depedency in test build 2013-12-27 03:44:02 +09:00
Yukihiro "Matz" Matsumoto 14bff248c3 adjust register position for return value; fix #1620 2013-12-26 17:47:26 +09:00