summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2013-10-30preserve only arguments on stack; fix #1527Yukihiro "Matz" Matsumoto
2013-10-30fix wrong actual and expected orderYukihiro "Matz" Matsumoto
2013-10-30fix #1550fleuria
emit a "\n" as the first token for parser instead of taking the first character from the next file for lexer, to prevent mruby "concatenate" two keywords between files it should be regarded as a work around, for it can not resolve this case: $ cat a.rb " $ cat b.rb b" $ bin/mrbc -o- -v a.rb b.rb mruby - Embeddable Ruby Copyright (c) 2010-2013 mruby developers NODE_SCOPE: NODE_BEGIN: NODE_STR " b " len 4 irep 0 nregs=2 nlocals=1 pools=1 syms=0 000 OP_STRING R1 "\n\nb " 001 OP_STOP thanks @bovi 's idea
2013-10-27Uniquify the results of Object#methodsh2so5
2013-10-26nil/false should not be implicitly converted to integers in mrb_get_args(); ↵Yukihiro "Matz" Matsumoto
close #1529
2013-10-26mrb_Integer() should not convert strings to integersYukihiro "Matz" Matsumoto
2013-10-26Merge pull request #1530 from h2so5/args-explicit-conversionYukihiro "Matz" Matsumoto
Disable implicit integer conversion in mrb_get_args
2013-10-25update test code to ensure return value from class statementYukihiro "Matz" Matsumoto
2013-10-25add a regression for #1544fleuria
2013-10-25fix #1544fleuria
We have already reserved that register in codegen()'s case NODE_DEF, but what we care about is actually the previous register. So what we need is get that register by cursp() after pop(), then recover the reservation by push().
2013-10-24Merge pull request #1543 from Fleurer/issue1542Yukihiro "Matz" Matsumoto
fix #1542
2013-10-23fix #1542fleuria
2013-10-23modify upto/downto for compatibilityYukihiro "Matz" Matsumoto
2013-10-22move some methods to make floats and integers compatible [mruby special]Yukihiro "Matz" Matsumoto
2013-10-22implement some Numeric methods in RubyYukihiro "Matz" Matsumoto
2013-10-21implement Integer#succ in RubyYukihiro "Matz" Matsumoto
2013-10-20Fixnum#succ may overflowYukihiro "Matz" Matsumoto
2013-10-16move declarations to the beginning of blocksYukihiro "Matz" Matsumoto
2013-10-15Merge pull request #1538 from carsonmcdonald/conststackfixYukihiro "Matz" Matsumoto
Set regs to stack on return of const_get calls before use
2013-10-15Set regs to stack on return of const_get calls before useCarson McDonald
2013-10-15better error position displayYukihiro "Matz" Matsumoto
2013-10-15define Module#const_missingYukihiro "Matz" Matsumoto
2013-10-15remove unused code and irrelevant comment.Tomoyuki Sahara
2013-10-09Merge pull request #1534 from skandhas/pr-add-some-symbol-methodsYukihiro "Matz" Matsumoto
Add some methods to Symbol
2013-10-09Merge pull request #1535 from matsumoto-r/del_unused_varaiableYukihiro "Matz" Matsumoto
remove unused value for mrb_gv_remove
2013-10-10add mrb_gv_remove(); untestedYukihiro "Matz" Matsumoto
2013-10-10more IPPROTO_* related to IPv6.Tomoyuki Sahara
2013-10-10remove unused value for mrb_gv_removeMATSUMOTO Ryosuke
2013-10-09fix typo...Tomoyuki Sahara
2013-10-08add some methods to Symbolskandhas
2013-10-05simplify stack_clear()Yukihiro "Matz" Matsumoto
2013-10-05Disable implicit integer conversion in mrb_get_argsh2so5
2013-10-03Merge pull request #1528 from Ahti/masterYukihiro "Matz" Matsumoto
fix no multiline strings in mirb
2013-10-04fix no multiline strings in mirbLukas Stabe
2013-10-03fix RSTRING_PTR usage.Tomoyuki Sahara
2013-10-02Merge pull request #4 from pbosetti/masterTomoyuki Sahara
Truncate the file to zero length on opening when "w" mode is set
2013-10-02Merge branch 'master' of https://github.com/iij/mruby-ioPaolo Bosetti
2013-10-02Truncate file on File.open(file, "w")Paolo Bosetti
2013-10-02Merge pull request #1522 from bovi/patch-1Yukihiro "Matz" Matsumoto
Improve Grammar of Documentation
2013-10-01Merge pull request #1523 from wrl/relative-gembox-nokeywordYukihiro "Matz" Matsumoto
Implement gembox-relative gemdir paths
2013-10-01Fix for caller_dir relative gemsWilliam Light
2013-10-01Implement gembox-relative gemdir pathsWilliam Light
In the case where a relative path is specified to a gembox from build_config.rb, it was previously tricky to specify relative gem paths from inside that gembox. For example, consider a project in which mruby is checked out as a submodule in the project root: +- project_root | +- mruby/ | | | +- build_config.rb | | | +- ... | +- my_gembox/ | +- my_gembox.gembox | +- my_gem/ | +- mrbgem.rake | +- ... If build_config.rb refers to my_gembox with a relative path, it's difficult for my_gembox to then refer to my_gem. With this proposed change, my_gembox.gembox can look like this: MRuby::GemBox.new do |conf| conf.gem "my_gem" end
2013-10-02Improve Grammar of DocumentationDaniel Bovensiepen
2013-10-01Merge pull request #1520 from pbosetti/masterYukihiro "Matz" Matsumoto
Added test for inline arrays longer than 126 elements.
2013-10-01Merge pull request #1521 from Fleurer/issue-1519Yukihiro "Matz" Matsumoto
fix #1519
2013-10-01fix #1519fleuria
the 128th element in an array literal would trigger a corner case on splat mode checking, in which mruby will splat an that value into its parent array. the issue was masked by the fact of ary_concat() also accept non-array value: 1.9.3p286 :002> a = 1 1.9.3p286 :003> [*a] => [1] the expected behaviour should be OP_ARYPUSH the 128th element, instead of splat it by OP_ARYCAT.
2013-10-01Added test for inline arrays longer than 126 elements.Paolo Bosetti
2013-09-30syswrite must write to fd2 if it is properly set.Tomoyuki Sahara
closes #3.
2013-09-30styleTomoyuki Sahara
2013-09-30don't retry when we cannot fork(2).Tomoyuki Sahara
EAGAIN indicates the system is under heavy load. Retrying make things worse.