Commit Graph

4072 Commits

Author SHA1 Message Date
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
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