| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2021-01-29 | Remove unnecessary range confirmation | dearblue | |
| This is a correction based on the review by @matz. https://github.com/mruby/mruby/pull/5306#pullrequestreview-578378401 | |||
| 2021-01-29 | Fixed `String#unpack` to handle the highest range of integer values | dearblue | |
| Previously, problems occurred when the `fixnum` was exceeded. - 32-bit cpu mode with `MRB_WORD_BOXING` and `MRB_INT32`: ```console % bin/mruby -e 'p [0x7fffffff].pack("N").unpack("N")' trace (most recent call last): -e:1: cannot unpack to Integer: 2147483647 (RangeError) ``` - 64-bit cpu mode with `MRB_WORD_BOXING` and `MRB_INT64`: ```console % bin/mruby -e 'p [0x7fffffff_ffffffff].pack("q").unpack("q")' trace (most recent call last): -e:1: cannot unpack to Integer: 9223372036854775807 (RangeError) ``` | |||
| 2021-01-29 | Replace `mrb_intern_cstr` to `mrb_intern_lit`. | Yukihiro "Matz" Matsumoto | |
| 2021-01-28 | Merge pull request #5307 from dearblue/stackerr | Yukihiro "Matz" Matsumoto | |
| Raise SystemStackError if mruby VM stack expansion fails | |||
| 2021-01-28 | Merge pull request #5305 from dearblue/symbol0 | Yukihiro "Matz" Matsumoto | |
| Check first `0` when converting symbols into strings | |||
| 2021-01-28 | Raise SystemStackError if mruby VM stack expansion fails | dearblue | |
| 2021-01-28 | Check first `0` when converting symbols into strings | dearblue | |
| This was because it caused `SIGSEGV` when `mruby -v` displayed an unnamed variable. ```console % bin/mruby -ve 'call { |(a, b)| }' ...SNIP... irep 0x8007d0050 nregs=3 nlocals=1 pools=0 syms=1 reps=1 iseq=12 file: -e 1 000 OP_LOADSELF R1 1 002 OP_BLOCK R2 I(0:0x8007d00a0) 1 005 OP_SENDB R1 :call 0 1 009 OP_RETURN R1 1 011 OP_STOP irep 0x8007d00a0 nregs=6 nlocals=5 pools=0 syms=0 reps=0 iseq=29 local variable names: zsh: segmentation fault (core dumped) bin/mruby -ve 'call { |(a, b)| }' ``` | |||
| 2021-01-28 | Merge pull request #5304 from shuujii/refine-preprocess_options | Yukihiro "Matz" Matsumoto | |
| Refine `preprocess_options`; ref d95ffb036 | |||
| 2021-01-28 | Remove duplicated `--cflags`; [ci skip] | Yukihiro "Matz" Matsumoto | |
| 2021-01-28 | Refine `preprocess_options`; ref d95ffb036 | KOBAYASHI Shuji | |
| If we modify an option that may have been specified by users, we may make unintended changes, so it is better not to modify it as much as possible, IMO. | |||
| 2021-01-28 | Update `limitation.md` for integer division change in 3.0. | Yukihiro "Matz" Matsumoto | |
| 2021-01-28 | Stop mentioning `MRB_NO_PRESYM` in the doc. | Yukihiro "Matz" Matsumoto | |
| It's for internal use. Please use `conf.disable_presym`. | |||
| 2021-01-28 | Silence VC warning. | Yukihiro "Matz" Matsumoto | |
| 2021-01-28 | Stop generating `build/<build>/src/*.pi.d`. | Yukihiro "Matz" Matsumoto | |
| 2021-01-28 | Describe disabling preallocated symbols in the doc. | Yukihiro "Matz" Matsumoto | |
| 2021-01-28 | Update `TODO` after mruby3.0. | Yukihiro "Matz" Matsumoto | |
| 2021-01-28 | Remove unnecessary bit shift in `rational_new_f`. | Yukihiro "Matz" Matsumoto | |
| 2021-01-27 | Add symbol names as comments to `presym_length_table`; ref #5303 | Yukihiro "Matz" Matsumoto | |
| 2021-01-27 | Add `static` modifiers to preallocated symbols tables; ref #5303 | Yukihiro "Matz" Matsumoto | |
| 2021-01-27 | Merge pull request #5303 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/split-presym_table-for-reduced-program-size Split `presym_table` for reduced program size | |||
| 2021-01-27 | Split `presym_table` for reduced program size | KOBAYASHI Shuji | |
| Because a structure that is an element of `presym_table` has padding, split it into individual arrays for name and length. #### Result (64-bit CPU with full-core gembox) | | mruby | libmruby.a | |--------|------------|------------| | Before | 1,087,444B | 1,476,872B | | After | 1,079,340B | 1,469,784B | | |||
| 2021-01-27 | Merge pull request #5302 from shuujii/rename-.i-created-for-presym-scan-to-.pi | Yukihiro "Matz" Matsumoto | |
| Rename `.i` created for presym scan to `.pi` | |||
| 2021-01-27 | Rename `.i` created for presym scan to `.pi` | KOBAYASHI Shuji | |
| This is because compiler's `-save-temps=obj` option creates `.i` with the same name. | |||
| 2021-01-27 | Merge pull request #5301 from shuujii/fix-typos-in-mruby-presym-disableenable.h | Yukihiro "Matz" Matsumoto | |
| Fix typos in `mruby/presym/{disable,enable}.h` [ci skip] | |||
| 2021-01-27 | Fix typos in `mruby/presym/{disable,enable}.h` [ci skip] | KOBAYASHI Shuji | |
| 2021-01-27 | Merge pull request #5300 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/avoid-possible-loss-of-data-casting-in-binary-search Avoid 'possible loss of data' casting in binary search | |||
| 2021-01-27 | Merge pull request #5299 from shuujii/fix-Use-MRB_SYM-for-error-class-retrieval | Yukihiro "Matz" Matsumoto | |
| Fix "Use `MRB_SYM()` for error class retrieval"; ref 2ddfd50df | |||
| 2021-01-27 | Avoid 'possible loss of data' casting in binary search | KOBAYASHI Shuji | |
| Because it may not be expected result. example: https://wandbox.org/permlink/F5Mp7IEJ1VY3CFLp | |||
| 2021-01-27 | Fix "Use `MRB_SYM()` for error class retrieval"; ref 2ddfd50df | KOBAYASHI Shuji | |
| The new macro (`MRB_E_SYM`) was not being used, so it is being used. Also `MRB_E_SYM` is confusing with `MRB_SYM_E`, so change it to `MRB_ERROR_SYM`. | |||
| 2021-01-26 | Adjust spaces after list markers. | Yukihiro "Matz" Matsumoto | |
| 2021-01-26 | Revert "Fix the wrong directory `host-bin` to `host/bin`." | Yukihiro "Matz" Matsumoto | |
| This reverts commit 34f82f24e941f36edc8d947a8a9300631b3121ff. Ref #5282 | |||
| 2021-01-26 | Clarify that contributors agree with MIT license in `CONTRIBUTING.md`. | Yukihiro "Matz" Matsumoto | |
| 2021-01-26 | Update `doc/mruby3.md`. | Yukihiro "Matz" Matsumoto | |
| 2021-01-26 | Add `doc/symbols.md`. [ci skip] | Yukihiro "Matz" Matsumoto | |
| To describe how to use symbols, especially preallocated symbols from C. | |||
| 2021-01-26 | Change `mruby-config` to print usage on invalid arguments. | Yukihiro "Matz" Matsumoto | |
| Or no argument at all. | |||
| 2021-01-26 | Fix the wrong directory `host-bin` to `host/bin`. | Yukihiro "Matz" Matsumoto | |
| Where `mruby-config` command should be generated. | |||
| 2021-01-26 | Use `MRB_SYM()` for error class retrieval; ref #5277 | Yukihiro "Matz" Matsumoto | |
| Note that `MRB_SYM()` is only available when `mruby/presym.h` is included. Use `mrb_intern_lit()` otherwise. | |||
| 2021-01-26 | Revert "Minimize the changes in #5277" | Yukihiro "Matz" Matsumoto | |
| This reverts commit dc51d89ac22acc60b9bfeed87115863565b74085. | |||
| 2021-01-25 | Silence 'loss of data' warnings in `symbol.c`. | Yukihiro "Matz" Matsumoto | |
| 2021-01-25 | Merge pull request #5297 from hasumikin/fix-typo-in-rite-binary-header | Yukihiro "Matz" Matsumoto | |
| Fix TYPO and checking minor version in RITE BINARY HEADER | |||
| 2021-01-25 | fix comparison of minor version | HASUMI Hitoshi | |
| 2021-01-25 | fix TYPO in RITE BINARY HEADER | HASUMI Hitoshi | |
| 2021-01-25 | Silence 'loss of data' warnings. | Yukihiro "Matz" Matsumoto | |
| 2021-01-25 | Fix a bug for the case `frexp()` return `Infinity`. | Yukihiro "Matz" Matsumoto | |
| 2021-01-25 | Should use a limit for 32 bit platform; ref 05a8cc44 | Yukihiro "Matz" Matsumoto | |
| 2021-01-25 | Add description for `mruby-config` in `compile.md`. [ci skip] | Yukihiro "Matz" Matsumoto | |
| For easier compiling and linking of the application embedding `mruby` | |||
| 2021-01-24 | Define `RAT_INT_LIMIT` for 32 bit platforms. | Yukihiro "Matz" Matsumoto | |
| 2021-01-24 | Prohibit `r` suffix after scientific notation (e.g. `1e10`). | Yukihiro "Matz" Matsumoto | |
| As CRuby does. | |||
| 2021-01-24 | Detect integer overflow in `rational_new_f()`. | Yukihiro "Matz" Matsumoto | |
| 2021-01-23 | Remove test debug lines in fallback `presym.inc` | Yukihiro "Matz" Matsumoto | |
| ref dc51d89ac22 | |||
