| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 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 | |||
| 2021-01-23 | Fixed typo; ref #5296 | Yukihiro "Matz" Matsumoto | |
| 2021-01-23 | Merge pull request #5296 from yevgenko/patch-1 | Yukihiro "Matz" Matsumoto | |
| Fix typo | |||
| 2021-01-23 | Fix typo | Yevhen Viktorov | |
| 2021-01-22 | Minimize the changes in #5277 | Yukihiro "Matz" Matsumoto | |
| Instead of including `mruby/presym.h` everywhere, we provided the fallback `mruby/presym.inc` under `include/mruby` directory, and specify `-I<build-dir>/include` before `-I<top-dir>/include` in `presym.rake`. So even when someone drops `-I<build-dir>/include` in compiler options, it just compiles without failure. | |||
| 2021-01-21 | Reduce size of `mrb_callinfo` by rearranging members. | Yukihiro "Matz" Matsumoto | |
| From 48 bytes to 40 bytes on 64 bit platforms (unchanged on 32 bit). | |||
| 2021-01-21 | Merge branch 'shuujii-avoid-including-presym.inc-in-existing-header-files' | Yukihiro "Matz" Matsumoto | |
| 2021-01-21 | Merge branch 'avoid-including-presym.inc-in-existing-header-files' of ↵ | Yukihiro "Matz" Matsumoto | |
| https://github.com/shuujii/mruby into shuujii-avoid-including-presym.inc-in-existing-header-files | |||
| 2021-01-21 | Fix a bug that `:_1` to cause syntax error; fix #5295 | Yukihiro "Matz" Matsumoto | |
| 2021-01-21 | Better error messages with yacc tokens. | Yukihiro "Matz" Matsumoto | |
| 2021-01-21 | Silence gcc warning from `strncpy()`. | Yukihiro "Matz" Matsumoto | |
| 2021-01-20 | Remove CRC16 from dumped mruby binary. | Yukihiro "Matz" Matsumoto | |
| `calc_crc_16_ccitt()` consumes a lot of clock cycles in programs like `mrbtest` which loads a lot of dumped binary. Error detection for flaky channels should be done in the higher level. Note: `mruby/c` should be updated to support this change. | |||
| 2021-01-19 | Compile `mruby-bin-debugger` with `ci/gcc-clang.rb`. | Yukihiro "Matz" Matsumoto | |
| 2021-01-18 | Merge pull request #5294 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/fix-that-Hash-may-not-contain-any-empty-buckets Fix that Hash may not contain any empty buckets | |||
| 2021-01-18 | Fix that Hash may not contain any empty buckets | KOBAYASHI Shuji | |
| The Hash implementation assumed that there were always empty buckets, but sometimes there were only active or deleted buckets (no empty buckets). Therefore, fix it so that this situation does not occur. ### Example ```ruby # example.rb class A attr_reader :v def initialize(v) @v = v end def ==(o) @v == o.v end def hash; @v end def to_s; "#{self.class}[#{@v}]" end alias eql? == alias inspect to_s end keys = (0..31).map{A.new(_1)} h = {} (0..16).each{h[keys[_1]] = _1} (17..31).each do k = keys[_1] h[k] = _1 h.delete(k) end p h.keys ``` #### Before this patch: ```console $ bin/mruby example.rb [A[0], A[1], A[2], A[3], A[4], A[5], A[6], A[7], A[8], A[9], A[10], A[11], A[12], A[13], A[14], A[15], A[16], A[30], A[31]] ``` #### After this patch: ```console $ bin/mruby example.rb [A[0], A[1], A[2], A[3], A[4], A[5], A[6], A[7], A[8], A[9], A[10], A[11], A[12], A[13], A[14], A[15], A[16]] ``` | |||
| 2021-01-18 | Merge pull request #5293 from dearblue/fix-5272.2 | Yukihiro "Matz" Matsumoto | |
| Fix build error for mruby-bin-debugger | |||
| 2021-01-18 | Fix build error for mruby-bin-debugger | dearblue | |
| This is a missing change in #5272. This issue was reported by @shuujii. https://github.com/mruby/mruby/pull/5272#issuecomment-761819737 | |||
| 2021-01-17 | Add tests for `Integer#quo` and `Float#quo`; #5268 | Yukihiro "Matz" Matsumoto | |
| 2021-01-17 | Fix `int_quo` to do float division; fix #5268 | Yukihiro "Matz" Matsumoto | |
| 2021-01-17 | Define `Rational#quo`; fix #5268 | Yukihiro "Matz" Matsumoto | |
| 2021-01-17 | Make `mrb_to_flo()` to convert objects, not integer, not float; #5268 | Yukihiro "Matz" Matsumoto | |
| Thinking `Ratinal` and `Complex` in mind. | |||
| 2021-01-16 | Merge pull request #5292 from dearblue/objspace-memsize | Yukihiro "Matz" Matsumoto | |
| Fix NULL pointer dereference with mruby-os-memsize and mruby-method | |||
