| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2019-05-10 | Raise `TypeError` if the argument type is unsupported in `mrb_stat0` | KOBAYASHI Shuji | |
| 2019-05-08 | Use `mrb_string_value_cstr` in `mrb_str_to_dbl` | KOBAYASHI Shuji | |
| 2019-05-07 | Refactor `mrb_str_to_cstr` and `mrb_string_value_cstr` | KOBAYASHI Shuji | |
| - Extract null byte check to function. - Avoid string allocation if null byte is included. - Use `str_new` instead of `mrb_str_dup` + `mrb_str_modify` | |||
| 2019-05-06 | Avoid using `mrb_str_to_cstr` if possible | KOBAYASHI Shuji | |
| Because it always allocate new string. Replace with the followings: - Use `RSRING_PTR` if string is guaranteed to be null-terminated. - Use `mrb_string_value_cstr` or `mrb_get_args("z")` if return value isn't modified. | |||
| 2019-05-05 | Use `mrb_fixnum_to_str()` instead of `Fixnum#to_s` | KOBAYASHI Shuji | |
| 2019-05-03 | Clean duplicate code | dearblue | |
| Removed duplicates in the code entered for "Concatenate string literal". | |||
| 2019-05-02 | Use a normal method instead of a lambda in bintest/mruby; ref #4416 | Yukihiro "Matz" Matsumoto | |
| 2019-05-01 | Small fix in `mruby-bin-mruby` | KOBAYASHI Shuji | |
| - Modify some error messages for consistency. - Add test for codegen error. - Use regular expression for error message matching in test. | |||
| 2019-04-30 | Refine error message output for `mruby` command | KOBAYASHI Shuji | |
| - Write message to stderr instead of stdout. - Avoid duplicate message output (`SyntaxError`, `ScriptError` etc). - Refine invalid option message. - Suppress redundant usage output. - Fix some incorrect exit code. | |||
| 2019-04-29 | Fix missing assertions in `mruby-io` test | KOBAYASHI Shuji | |
| 2019-04-28 | Commented out "Struct.new removes existing constant" test | KOBAYASHI Shuji | |
| Because this test is always skipped. | |||
| 2019-04-27 | Remove duplicated `String#each_char` | KOBAYASHI Shuji | |
| 2019-04-25 | Singleton class of frozen object should be frozen | KOBAYASHI Shuji | |
| Before this patch: p (class << Object.new.freeze; self end).frozen? #=> false sc = class << (o=Object.new); self end; o.freeze; p sc.frozen? #=> false After this patch / Ruby: p (class << Object.new.freeze; self end).frozen? #=> true sc = class << (o=Object.new); self end; o.freeze; p sc.frozen? #=> true | |||
| 2019-04-24 | Fix modiying class variable to frozen class/module | KOBAYASHI Shuji | |
| 2019-04-22 | Merge pull request #4356 from shuujii/add-assert_match-and-assert_not_match | Yukihiro "Matz" Matsumoto | |
| Add `assert_match` and `assert_not_match` | |||
| 2019-04-21 | Commented out `String#scan` because it is not implemented yet | KOBAYASHI Shuji | |
| 2019-04-17 | Add `Array#sample` test | KOBAYASHI Shuji | |
| And simplify tests for `Array#shuffle` and `Array#shuffle!`. | |||
| 2019-04-16 | Merge branch 'master' into fix_mruby-io_test | Shokuji | |
| 2019-04-15 | Fix missing assertions in `mruby-random` test | KOBAYASHI Shuji | |
| 2019-04-15 | Fix test, popen and cmd in mruby-io | Shouji Kuboyama | |
| 2019-04-14 | Merge pull request #4376 from dearblue/leak-symbols | Yukihiro "Matz" Matsumoto | |
| Fix leaked function symbols | |||
| 2019-04-14 | Add `assert_match` and `assert_not_match` | KOBAYASHI Shuji | |
| 2019-04-14 | Fix leaked function symbols | dearblue | |
| - `free_heap()` in src/gc.c - `symhash()` in src/symbol.c - `no_optimize()` in mrbgems/mruby-compiler/core/codegen.c | |||
| 2019-04-14 | Fix string index for appending | dearblue | |
| `sizeof(string-literal)` is included `'\0'` character | |||
| 2019-04-14 | Fix hexdigits convertion | dearblue | |
| 2019-04-12 | Deallocate `s->lines` in `codegen_error`; ref #4370 | Yukihiro "Matz" Matsumoto | |
| 2019-04-12 | The number of local variables should be less than 1024; fix #4370 | Yukihiro "Matz" Matsumoto | |
| The `env` stores stack length in a 10 bit field. See `MRB_ENV_STACK_LEN()` macro. | |||
| 2019-04-11 | Fix buffer overflows in parser. | Clayton Smith | |
| 2019-04-10 | Merge pull request #4367 from shuujii/extract-frozen-checking-to-function | Yukihiro "Matz" Matsumoto | |
| Extract frozen checking to function | |||
| 2019-04-10 | Fixed old style declaration; ref #4365 | Yukihiro "Matz" Matsumoto | |
| 2019-04-10 | Rename `itoa` to `dump_int` to avoid name crash; ref #4173 | Yukihiro "Matz" Matsumoto | |
| 2019-04-09 | Extract frozen checking to function | KOBAYASHI Shuji | |
| 2019-04-08 | Avoid using `snprintf` when `MRB_DISABLE_STDIO` is set; fix #4173 | Yukihiro "Matz" Matsumoto | |
| 2019-04-06 | Move `Array#(append|prepend)` from core to `mruby-ary-ext` | KOBAYASHI Shuji | |
| They are not included in ISO standard. | |||
| 2019-04-04 | Use `mrb_proc_arity` instead of `Proc#arity` call in `Method#arity` | KOBAYASHI Shuji | |
| 2019-04-01 | Avoid keeping pointers from `mrb_sym2name_len()`; fix #4342 | Yukihiro "Matz" Matsumoto | |
| The addresses for packed inline symbols reference `mrb->symbuf` that could be overridden by the later call of `mrb_sym2name_len`. Since file names in call stack information are kept as symbols, keeping the address in the C structures could cause problems like #4342. This changes small incompatible changes in function prototypes: * `mrb_parser_get_filename`: return value changed to `mrb_sym`. * `mrb_debug_get_filename`: add `mrb_state*` as a first argument. * `mrb_debug_get_line`: ditto. I believe above functions are almost internal, and no third-party mrbgem use them. | |||
| 2019-03-29 | Fix missing assertions in `mruby-math` test | KOBAYASHI Shuji | |
| 2019-03-28 | Use `Mrbtest::FLOAT_TOLERANCE` instead of `Math::TORELANCE`; ref #4345 | Yukihiro "Matz" Matsumoto | |
| 2019-03-28 | Break loop whem `sum==0` to avoid zero division; ref #4345 | Yukihiro "Matz" Matsumoto | |
| 2019-03-28 | Use `DBL_EPSILON` instead of `1E-12`; ref #4345 | Yukihiro "Matz" Matsumoto | |
| 2019-03-25 | Use uppercase version of `ctype` macros e.g. `ISSPACE`; fix #4338 | Yukihiro "Matz" Matsumoto | |
| 2019-03-23 | Refactor `t_print` for test | KOBAYASHI Shuji | |
| 2019-03-19 | Use `FrozenError` instead of `RuntimeError` in frozen object modification test | KOBAYASHI Shuji | |
| 2019-03-17 | Fix class/instance variable name validation | KOBAYASHI Shuji | |
| - `@@?` etc are invalid class variable name. - `@1` etc are invalid instance variable name. | |||
| 2019-03-15 | Use `FrozenError` instead of `RuntimeError` in `String#rstrip!` | KOBAYASHI Shuji | |
| 2019-03-13 | Do not raise an exception when bintest fail | KOBAYASHI Shuji | |
| - An exception do not raise when mrbtest fail. - There are no useful informations in exception message and backtrace. | |||
| 2019-03-12 | Merge pull request #4322 from shuujii/reduce-String-creation-in-checking-name | Yukihiro "Matz" Matsumoto | |
| Reduce `String` creation in `check_(cv|const)_name_sym` | |||
| 2019-03-12 | Fix missing assertions in `mruby-string-ext` test | KOBAYASHI Shuji | |
| 2019-03-11 | Reduce `String` creation in `check_(cv|const)_name_sym` | KOBAYASHI Shuji | |
| 2019-03-07 | Add a missing file for #4314 | KOBAYASHI Shuji | |
