| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2019-08-19 | Merge pull request #4645 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/move-mrb_str_pool-to-src-string.c-to-use-str_init-family Move `mrb_str_pool` to `src/string.c` to use `str_init` family | |||
| 2019-08-19 | Move `mrb_str_pool` to `src/string.c` to use `str_init` family | KOBAYASHI Shuji | |
| 2019-08-19 | Merge pull request #4643 from lopopolo/externally-define-MRB_API | Yukihiro "Matz" Matsumoto | |
| Allow external definition of MRB_API macro | |||
| 2019-08-18 | Allow external definition of MRB_API macro | Ryan Lopopolo | |
| When building WebAssembly targets with clang (e.g. wasm32-unknown-unknown), all symbols are hidden by default. To export a symbol, it must be marked with __attribute__((visibility(default))) Rather than detecting this exotic target in mruby, allow MRB_API to be defined externally. | |||
| 2019-08-19 | Merge pull request #4639 from dearblue/suppress-Wstringop-truncation | Yukihiro "Matz" Matsumoto | |
| Suppress warnings for `strncat()` | |||
| 2019-08-19 | Merge pull request #4638 from dearblue/simplify-get-args | Yukihiro "Matz" Matsumoto | |
| Simplify get arguments | |||
| 2019-08-19 | Merge pull request #4636 from davidsiaw/doxygen | Yukihiro "Matz" Matsumoto | |
| Generate doxygen docs for mruby | |||
| 2019-08-19 | Merge pull request #4642 from dearblue/unique-symlink | Yukihiro "Matz" Matsumoto | |
| Make symbolic link names unique for test | |||
| 2019-08-19 | Merge pull request #4641 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/rename-mrb_shared_string-len-to-mrb_shared_string-capa Rename `mrb_shared_string::len` to `mrb_shared_string::capa` | |||
| 2019-08-19 | Merge pull request #4640 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/also-use-str_init_shared-for-orig-in-str_make_shared Also use `str_init_shared` for `orig` in `str_make_shared()` | |||
| 2019-08-18 | Merge pull request #4637 from dearblue/immutable-iseq | Yukihiro "Matz" Matsumoto | |
| Prohibit changes to iseq in principle | |||
| 2019-08-18 | Make symbolic link names unique for test | dearblue | |
| 2019-08-18 | fix up documentation for values | David Siaw | |
| 2019-08-18 | Rename `mrb_shared_string::len` to `mrb_shared_string::capa` | KOBAYASHI Shuji | |
| Because this field is used as capacity of string buffer. | |||
| 2019-08-18 | Also use `str_init_shared` for `orig` in `str_make_shared()` | KOBAYASHI Shuji | |
| 2019-08-18 | Suppress warnings for `strncat()` | dearblue | |
| `strncat()` also needs `'\0'`. | |||
| 2019-08-18 | Simplify get arguments | dearblue | |
| - `mrb_str_index_m()` and `mrb_str_rindex()` Make `mrb_get_args()` called only once from called twice. - `mrb_str_byteslice()` Replace `goto` with `if ~ else`. | |||
| 2019-08-18 | Prohibit changes to iseq in principle | dearblue | |
| 2019-08-18 | fix up markdown display in doxygen | David Siaw | |
| 2019-08-18 | first bit of doc generation | David Siaw | |
| 2019-08-17 | Merge pull request #4634 from shuujii/refactor-set-unset-string-type-flags | Yukihiro "Matz" Matsumoto | |
| Refactor set/unset string type flags | |||
| 2019-08-17 | Fix wrong argument for `fprintf` in `mruby-bin-mrbc` | KOBAYASHI Shuji | |
| 2019-08-17 | Refactor set/unset string type flags | KOBAYASHI Shuji | |
| Introduce `RSTR_SET_TYPE_FLAG` macro to set the specified string type flag and clear the others. | |||
| 2019-08-17 | Merge pull request #4625 from dearblue/rindex-broken-utf8 | Yukihiro "Matz" Matsumoto | |
| Fix `String#rindex` with invalid UTF-8 string | |||
| 2019-08-17 | Resolve conflict between #4582 and C++ warning. | Yukihiro "Matz" Matsumoto | |
| 2019-08-17 | Implement `Array#each` using inline mruby bytecode. | Yukihiro "Matz" Matsumoto | |
| 2019-08-17 | Remove unnecessary `OP_JMPNOT` for `unless` statement. | Yukihiro "Matz" Matsumoto | |
| 2019-08-17 | Fix `String#rindex` with invalid UTF-8 string | dearblue | |
| Previously `String#rindex` returned the wrong index when given an invalid UTF-8 string. ```terminal % ruby26 -e 'str = "\xf0☀\xf1☁\xf2☂\xf3☃\xf0☀\xf1☁\xf2☂\xf3☃"; p str.rindex("☁")' 11 % ./mruby-head -e 'str = "\xf0☀\xf1☁\xf2☂\xf3☃\xf0☀\xf1☁\xf2☂\xf3☃"; p str.rindex("☁")' nil % ./mruby-patched -e 'str = "\xf0☀\xf1☁\xf2☂\xf3☃\xf0☀\xf1☁\xf2☂\xf3☃"; p str.rindex("☁")' 11 ``` | |||
| 2019-08-17 | Stop using `mrb_to_str` as a converter (it is not). | Yukihiro "Matz" Matsumoto | |
| 2019-08-17 | Add `String#rindex` test for invalid UTF-8 string | dearblue | |
| 2019-08-17 | Fix `String#rindex` test for UTF-8 string | dearblue | |
| 2019-08-17 | Avoid `mrb_funcall` from `Class#new` when no overloading. | Yukihiro "Matz" Matsumoto | |
| 2019-08-16 | Merge pull request #4633 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/shared-fshared-string-is-not-required-when-sharing-nofree-string SHARED/FSHARED string is not required when sharing NOFREE string | |||
| 2019-08-16 | Update `struct RArray` union to silence C++ warning. | Yukihiro "Matz" Matsumoto | |
| 2019-08-16 | Optimize bytecode for `Class#new`. | Yukihiro "Matz" Matsumoto | |
| 2019-08-16 | Implement `Class#new` using inline mruby bytecode. | Yukihiro "Matz" Matsumoto | |
| 2019-08-16 | SHARED/FSHARED string is not required when sharing NOFREE string | KOBAYASHI Shuji | |
| I think the string buffer of NOFREE string always exists and does not need to be released, so it can be shared as another NOFREE string. Also changed the `mrb_shared_string` field order so that eliminate padding if `int` and `mrb_int` sizes are less than pointer size. | |||
| 2019-08-16 | Avoid creating unnecessary empty arrays on splat. | Yukihiro "Matz" Matsumoto | |
| But this changes requires `OP_ARYCAT` and `OP_ARYPUSH` to accept `nil` as their first operand. Alternative VMs (e.g. `mruby/c`) that understand mruby bytecode need to be updated. | |||
| 2019-08-16 | Stop raising exceptions from `undef` C API. | Yukihiro "Matz" Matsumoto | |
| Some `undef' functions may be called before initialization, thus causes infinite error recursion. | |||
| 2019-08-15 | Merge pull request #4632 from shuujii/remove-unneeded--include-in-src-string.c | Yukihiro "Matz" Matsumoto | |
| Remove unneeded `#include` in `src/string.c` | |||
| 2019-08-15 | Remove unneeded `#include` in `src/string.c` | KOBAYASHI Shuji | |
| 2019-08-14 | Merge pull request #4631 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/extract-initialization-code-of-shared-and-fshared-string-to-function Extract initialization code of shared and fshared string to function | |||
| 2019-08-14 | Extract initialization code of shared and fshared string to function | KOBAYASHI Shuji | |
| 2019-08-14 | Avoid array copying in `mrb_instance_new`. | Yukihiro "Matz" Matsumoto | |
| 2019-08-14 | Integrate `kazuho/mruby-class-new-fiber-safe` in the master. | Yukihiro "Matz" Matsumoto | |
| Avoid calling `initialize` via `mrb_funcall`, which cause `cross C boundary` error from Fibers started in the method. | |||
| 2019-08-14 | Small refactoring on #4630 | Yukihiro "Matz" Matsumoto | |
| 2019-08-14 | Remove `MRB_API` from functions only called from `vm.c`. | Yukihiro "Matz" Matsumoto | |
| * `mrb_vm_define_class` * `mrb_vm_define_module` Only functions called from user code requires `MRB_API`. | |||
| 2019-08-14 | Merge pull request #4630 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/extract-struct-RString-initialization-code-to-function Extract `struct RString` initialization code to function | |||
| 2019-08-13 | Extract `struct RString` initialization code to function | KOBAYASHI Shuji | |
| 2019-08-12 | Merge pull request #4629 from shuujii/mrb_str_pool-can-embed-one-more-byte | Yukihiro "Matz" Matsumoto | |
| `mrb_str_pool` can embed one more byte; ref #4626 | |||
