| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2015-06-01 | Compile mruby compiler as mrbgem. | take_cheeze | |
| Compiler codes is moved to "mruby-compiler". Executable `mrbc` is moved to "mruby-bin-mrbc". | |||
| 2015-05-28 | fix capture group index bug | cremno | |
| atoi() is used to convert the index to an int but the behavior is undefined if the value can't be represented. > $9999999999 00007 NODE_SCOPE: 00007 NODE_BEGIN: 00007 NODE_NTH_REF: $2147483647 irep 00630580 nregs=2 nlocals=1 pools=0 syms=1 reps=0 file: (mirb) 7 000 OP_GETGLOBAL R1 :$2147483647 7 001 OP_STOP Call strtoul() instead as its behavior in such cases is defined and add a simple range check. Alternatively NODE_NTH_REF's cdr could be changed from int to mrb_sym (like NODE_GVAR). | |||
| 2015-05-25 | Move "src/mrb_throw.h" to "include/mruby/throw.h". | take_cheeze | |
| Related to #2760. | |||
| 2015-05-23 | Add null check on lex_strterm in heredoc block | Carson McDonald | |
| 2015-05-22 | Add locals null checks | Carson McDonald | |
| 2015-05-20 | there may be expecting here-doc when we see terminating characters; fix #2780 | Yukihiro "Matz" Matsumoto | |
| 2015-05-13 | remove unused token declarations | cremno | |
| 2015-05-04 | define YYDEBUG macro conditionally | cremno | |
| The YYDEBUG macro enables parser debugging which unnecessarily increases the executable size (9 to 10 KB). Now it only will be defined when PARSER_DEBUG is too. | |||
| 2015-04-30 | push cmdarg_stack in lambda body; fix [ruby-bug#11107] | Yukihiro "Matz" Matsumoto | |
| 2015-04-30 | Merge pull request #2777 from cremno/fix-parser-locals-null-deref | Yukihiro "Matz" Matsumoto | |
| parser: fix possible null dereferences | |||
| 2015-04-28 | fix null dereference (ref: #2769) | cremno | |
| parser_state->locals might be a null pointer. Fixes (and other similiar invalid code): def a; Proc.new do def x==x end end | |||
| 2015-04-28 | prevent accidental macro redefinition of strndup() | cremno | |
| 2015-04-27 | parser_state->locals may be NULL on some error conditions; fix #2769 | Yukihiro "Matz" Matsumoto | |
| 2014-12-11 | mrb_parser_dump() did not work with block arguments | Yukihiro "Matz" Matsumoto | |
| 2014-11-22 | should support recursive mlhs decomposition, e.g. (a,b),c = [1,2],3 | Yukihiro "Matz" Matsumoto | |
| 2014-10-28 | Merge pull request #2621 from suzukaze/fix-parse_string | Yukihiro "Matz" Matsumoto | |
| Replace int with mrb_bool in parse_string func | |||
| 2014-10-28 | Replace int with mrb_bool in parse_string func | Jun Hiroe | |
| 2014-10-28 | Replace int with mrb_bool in local_var_p func | Jun Hiroe | |
| 2014-10-27 | Refactor yylex func | Jun Hiroe | |
| 2014-10-27 | Refactor mrbc_context_new func | Jun Hiroe | |
| 2014-09-08 | fixed wandering filename problem | Yukihiro "Matz" Matsumoto | |
| 2014-09-05 | add some MRB_API to function prototypes | Yukihiro "Matz" Matsumoto | |
| 2014-09-04 | rename a local variable current_node -> nodetype; ref #2583 | Yukihiro "Matz" Matsumoto | |
| 2014-09-03 | get rid of shadowing variables | cremno | |
| Mostly by renaming the shadowing variable. If a shadowing variable was deleted, the shadowed one can be used instead. | |||
| 2014-08-29 | allow no_optimize esp. for debugger | Yukihiro "Matz" Matsumoto | |
| 2014-08-29 | Fix mismatches for MRB_API declarations. | Tatsuhiko Kubo | |
| 2014-08-29 | adjust node lineno of muiti line statements | Yukihiro "Matz" Matsumoto | |
| 2014-08-29 | print lineno of dumping node | Yukihiro "Matz" Matsumoto | |
| 2014-08-26 | printf: cast variables to the expected type | cremno | |
| %x expects unsigned int and %p expects void * GCC emits a diagnostic about %p/void* in pedantic mode: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26542 | |||
| 2014-08-25 | Remove spaces in end-of-line. | Tatsuhiko Kubo | |
| 2014-08-20 | Use specified macro(NULL) instead of magic-number. | Tatsuhiko Kubo | |
| 2014-06-25 | Not create local variables in scope_new | ksss | |
| 2014-06-25 | Merge branch 'master' of github.com:mruby/mruby | Yukihiro "Matz" Matsumoto | |
| 2014-06-25 | Merge pull request #2333 from yui-knk/fix/dump | Yukihiro "Matz" Matsumoto | |
| Fix to not print unnecessary comma. | |||
| 2014-06-25 | revert #2344 because of #2395 | Yukihiro "Matz" Matsumoto | |
| 2014-06-21 | clear local variables for the first execution of mrb_context_run(); close #2405 | Yukihiro "Matz" Matsumoto | |
| 2014-06-14 | Merge pull request #2344 from yui-knk/fix-locals | Yukihiro "Matz" Matsumoto | |
| Change to always use locals->car->car. | |||
| 2014-06-13 | Fixed dead assignment in 'parser.y' reported by 'clang-analyzer' | Jose Narvaez | |
| 2014-06-13 | Fixed dead assignment in 'parser.y' reported by 'clang-analyzer' | Jose Narvaez | |
| 2014-06-13 | Fixed dead assignment in 'parser.y' reported by 'clang-analyzer' | Jose Narvaez | |
| 2014-06-13 | Fixed dead assignment in 'parse.y' reported by 'clang-analyzer' | Jose Narvaez | |
| 2014-06-08 | do not ignore negative characters (e.g. EOF and partial EOF); fix #2361 fix ↵ | Yukihiro "Matz" Matsumoto | |
| #2369 | |||
| 2014-06-08 | revert #2368 due to #2369 | Yukihiro "Matz" Matsumoto | |
| 2014-06-06 | Treat partial hook success '\n' to fix #2361 . | take_cheeze | |
| Now it will parse the #2361 code as: ``` module A end module B end ``` instead of ``` module A end module B end ``` | |||
| 2014-06-05 | use uppercase US-ASCII ctype macros | cremno | |
| 2014-06-05 | don't (re-)define `ascii_isspace` and `isascii` | cremno | |
| `ISSPACE` and `ISASCII` can be used instead. | |||
| 2014-06-05 | `ISSPACE` evaluates its argument multiple times | cremno | |
| 2014-06-03 | Fix indent. | yui-knk | |
| 2014-06-03 | Remove space. | yui-knk | |
| 2014-06-02 | Change to always use locals->car->car. | yui-knk | |
| When p->locals->car is not NULL and p->locals->car->car is NULL, local_add_f dose not append sym to p->locals->car->car. This commit change to append sym to p->locals->car->car. This will close #2333. | |||
