summaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)Author
2013-10-30fix 3a4c8e2fleuria
unfortunately the previouse commit is incorrect, which still concate the keywords, but like this: method='"end\nb"' (201)
2013-10-30resolve conflict #1552Yukihiro "Matz" Matsumoto
2013-10-30Merge pull request #1551 from Fleurer/fix1550Yukihiro "Matz" Matsumoto
fix #1550
2013-10-30type check class/module in mrb_get_args(); close #1477Yukihiro "Matz" Matsumoto
2013-10-30implement Class.new with blockh2so5
2013-10-30preserve only arguments on stack; fix #1527Yukihiro "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-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-23fix #1542fleuria
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-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-10remove unused value for mrb_gv_removeMATSUMOTO Ryosuke
2013-10-10add mrb_gv_remove(); untestedYukihiro "Matz" Matsumoto
2013-10-05simplify stack_clear()Yukihiro "Matz" Matsumoto
2013-10-05Disable implicit integer conversion in mrb_get_argsh2so5
2013-10-02Improve Grammar of DocumentationDaniel Bovensiepen
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-09-26fix build error when ENABLE_DEBUG is definedAtsushi_Morimoto
2013-09-25Merge pull request #1509 from FUKUZAWA-Tadashi/heredoc-bugfixYukihiro "Matz" Matsumoto
fix bugs on Heredocument
2013-09-23eliminate use of traditional intern API (mrb_intern()) completelyYuichi Nishiwaki
2013-09-22fix bugs on HeredocumentFUKUZAWA-Tadashi
- heredoc in array literal - heredoc in args - heredoc in expression expand
2013-09-21Merge pull request #1507 from ktaobo/yield-selfYukihiro "Matz" Matsumoto
Use self for the given proc in mrb_yield
2013-09-21rename voidp to cptrYukihiro "Matz" Matsumoto
2013-09-21index to mrb_digitmap[] should always be positiveYukihiro "Matz" Matsumoto
2013-09-20Use self for the given procKeita Obo
2013-09-20incomplete renaming node->filename -> node->filename_indexYukihiro "Matz" Matsumoto
2013-09-20remove unreferenced local variables caused by mrb_assert()Yukihiro "Matz" Matsumoto
2013-09-20rename node->filename to node->filename_indexYukihiro "Matz" Matsumoto
2013-09-20refactor genop_peep(); ref #1505Yukihiro "Matz" Matsumoto
2013-09-18Fix self value in a block is changed with return value for Fixnum, nil, ↵Keita Obo
instance variable. Fix #1504
2013-09-18Fixed self value in a block is changed with return valueKeita Obo
fix #1504
2013-09-10Fix checking return value of fread()Akito Mochizuki
2013-09-07check file debug info is appended correctlytake_cheeze
2013-09-07remove unnecessary scope filename updatetake_cheeze
2013-09-07update filename before appending file debug infotake_cheeze
2013-09-07fix line getting handler of line_arytake_cheeze
2013-09-04resolve conflictYukihiro "Matz" Matsumoto
2013-09-04Merge pull request #1497 from cremno/msvc-debug-info-featureYukihiro "Matz" Matsumoto
MSVC: compilation works again (+minor style fixes)
2013-09-04add comment to mrb_assert in src/debug.ctake_cheeze
2013-09-04check returning line entry pointer is greater or equal to the first line ↵take_cheeze
entry pointer