summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-compiler
AgeCommit message (Collapse)Author
2017-03-07`__FILE__` should not update `p->filename`; fix #3485Yukihiro "Matz" Matsumoto
2017-03-02Fixed a bug in register size calculation; fix #3479Yukihiro "Matz" Matsumoto
2017-03-02Reorganize C++ exceptions; ref #3470Yukihiro "Matz" Matsumoto
There are 3 levels of C++ exception handling: * default - no C++ exception (use setjmp/longjmp) * enable_cxx_exception (use C++ exceptions with C ABI) * enable_cxx_abi (use C++ ABI including exceptions)
2017-03-01Keep space for safe navigation operator; fix #3475Yukihiro "Matz" Matsumoto
2017-03-01Newlines in strings should be counted; fix #3477Yukihiro "Matz" Matsumoto
2017-02-28Ignore empty ensure clause.Yukihiro "Matz" Matsumoto
2017-02-28`return` (and `break`) should handle splat correctly; fix #3472Yukihiro "Matz" Matsumoto
2017-02-28Fix NODE_DREGX dump; ref #3471Yukihiro "Matz" Matsumoto
2017-02-28Fixed a bug in dregex option generation; fix #3471Yukihiro "Matz" Matsumoto
2017-02-28Update codegen.c commentsYukihiro "Matz" Matsumoto
2017-02-24replace "yylval" with "pylval" to make it compile with byacc.Tomoyuki Sahara
2017-02-13Fixed codegen error of redo in rescue; fix #3422Yukihiro "Matz" Matsumoto
The issue (and the fix) was reported by https://hackerone.com/dgaletic
2017-02-06Check maximum number of formal arguments.Yukihiro "Matz" Matsumoto
http://hkdnet.hatenablog.com/entry/2017/02/06/080000 (Japanese)
2017-02-04Jump address should fit in 16 bits range; fix #3426Yukihiro "Matz" Matsumoto
2017-01-23Fix a double free problem in codegen.c; fix #3378Yukihiro "Matz" Matsumoto
This issue was first reported by https://hackerone.com/geeknik The fix was proposed by @titanous
2017-01-23Fix memory leak; ref #3378Yukihiro "Matz" Matsumoto
The fix was proposed by @titanous
2017-01-21Fix incorrect parsing of block parameters.Clayton Smith
2017-01-20Remove problematic optimization.Clayton Smith
2016-12-18NODE_NEGATE cdr may not be code-node; fix #3348 ref #3324Yukihiro "Matz" Matsumoto
Reported by Denis Kasak https://hackerone.com/dkasak
2016-12-18Zero length heredoc still crashed; ref Shopify/mruby-internal#81Yukihiro "Matz" Matsumoto
2016-12-14remove debug code; ref #3344Yukihiro "Matz" Matsumoto
2016-12-13tLABEL should not come after conditional ternary; fix #3344Yukihiro "Matz" Matsumoto
2016-12-13void_expr_error(): n may be NULL.Yukihiro "Matz" Matsumoto
Reported from @clayton-shopify.
2016-12-13Fixed wrong condition in new_sym() that breaks symbol data.Yukihiro "Matz" Matsumoto
2016-12-13Failed to realloc irep->syms in certain condition.Yukihiro "Matz" Matsumoto
Also msym size changed to 512 from 256.
2016-12-10Merge pull request #3324 from bouk/mruby/bouk-negateYukihiro "Matz" Matsumoto
Don't generate code for NODE_NEGATE if the result isn't used Reported by https://hackerone.com/haquaman
2016-12-10Clear parsing_heredoc at the end of fileYukihiro "Matz" Matsumoto
2016-12-09Fix segfault in gen_values with NOVAL and more than 127 argsBouke van der Bijl
2016-12-08Fix segfault when undef is called with exactly 127 argumentsBouke van der Bijl
The issue is that when there are more than 126 arguments an array needs to be created to pass the arguments on with. Reported by https://hackerone.com/revskills
2016-12-07Promote load_exec to mruby API as mrb_load_exec (fixes #3248)Tomasz Dąbrowski
2016-12-07Don't generate code for NODE_NEGATE if the result isn't usedBouke van der Bijl
Reported by https://hackerone.com/haquaman
2016-12-05Reorganize heredoc rules; fix #3273Yukihiro "Matz" Matsumoto
The following codes used to be SyntaxError: (1) a = <<-EOD; hello EOD (2) <<-EOD.bla begin k EOD end
2016-12-03Import locale insensitive strtod() from Ruby1.8; fix #3270Yukihiro "Matz" Matsumoto
The function was renamed to `mrb_float_read(const char*, char**)`.
2016-12-03Needed to apply block from safe-navigation operators; fix #3310Yukihiro "Matz" Matsumoto
2016-12-03Print NODE_SCALL (&.) from mrb_parser_dump()Yukihiro "Matz" Matsumoto
2016-12-03codegen: avoid unnecessary OP_MOVE after CASEYukihiro "Matz" Matsumoto
2016-12-01Fix segfault when using result of rest assignmentBouke van der Bijl
Reported by https://hackerone.com/haquaman
2016-12-01avoid comparison between signed and unsigned integer; ref #3312Yukihiro "Matz" Matsumoto
2016-12-01Support multiple elements \u syntaxNobuyoshi Nakada
2016-12-01Extract read_escape_unicode from read_escapeNobuyoshi Nakada
2016-11-30Fixed too much void_expr_error(); fix #3307Yukihiro "Matz" Matsumoto
2016-11-29Interpret argument in 'f ()' as nil instead of nothingBouke van der Bijl
2016-11-27parse.y: use opt_paren_args to simplify yield ruleYukihiro "Matz" Matsumoto
2016-11-25resolve conflict; ref #3279Yukihiro "Matz" Matsumoto
2016-11-25resolve conflict; ref #3283Yukihiro "Matz" Matsumoto
2016-11-25resolve conflict; ref #3285Yukihiro "Matz" Matsumoto
2016-11-25resolve conflict; ref #3286Yukihiro "Matz" Matsumoto
2016-11-24Fix unsafe peephole optimizationFrancis Bogsanyi
Reported by https://hackerone.com/dkasak
2016-11-24Fix segfault caused by empty condition in ternaryBouke van der Bijl
Reported by https://hackerone.com/jpenalbae
2016-11-24Fix codegen issue causing misaligned registerBouke van der Bijl
Reported by https://hackerone.com/haquaman