summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2021-01-06Merge branch 'shuujii-improve-source-scanning-for-presym'Yukihiro "Matz" Matsumoto
2021-01-06Merge branch 'improve-source-scanning-for-presym' of ↵Yukihiro "Matz" Matsumoto
https://github.com/shuujii/mruby into shuujii-improve-source-scanning-for-presym
2021-01-06Avoid comparing `-1` with `size_t` (unsigned); Use `~0` instead.Yukihiro "Matz" Matsumoto
2021-01-06Allow context switch from C using `mrb_fiber_resume()`.Yukihiro "Matz" Matsumoto
But you still cannot cross C function boundary.
2021-01-05Remove duplicated `remove_sign_bits()` call.Yukihiro "Matz" Matsumoto
2021-01-04Fix `mirb` not to be terminated by `codegen error`.Yukihiro "Matz" Matsumoto
2021-01-03Merge pull request #5255 from shuujii/avoid-64-bit-operations-in-src-hash.cYukihiro "Matz" Matsumoto
Avoid 64-bit operations in `src/hash.c`; close #5201
2021-01-03Merge pull request #5254 from SeekingMeaning/squiggly-fix-4Yukihiro "Matz" Matsumoto
Fix for escaped newlines in squiggly heredocs
2021-01-03Merge pull request #5256 from katsuyoshi/masterYukihiro "Matz" Matsumoto
replace ; to : of OPT_SETGV in codedump.c
2021-01-03replace ; to : of OPT_SETGV in codedump.cKatsuyoshi Ito
Maybe it's a typo.
2021-01-03Avoid 64-bit operations in `src/hash.c`; close #5201KOBAYASHI Shuji
The idea of using `size_t` in `ea_next_capa_for` is by @dearblue.
2021-01-03Fix for escaped newlines in squiggly heredocsSeeker
2021-01-02Avoid double inclusion on `<mruby.h>`.Yukihiro "Matz" Matsumoto
2021-01-02Avoid `int64_t` on 32 bit platforms.Yukihiro "Matz" Matsumoto
2021-01-02Check `NaN` and `Infinity` before converting `Float` to `Rational`.Yukihiro "Matz" Matsumoto
2021-01-02Use Jenkins One At A Time Hash for `mrb_str_hash()`.Yukihiro "Matz" Matsumoto
2021-01-02Allow negative integer value formatting in base 8 and 16.Yukihiro "Matz" Matsumoto
2021-01-02Fixed wrong casting in `OP_LOADI32`.Yukihiro "Matz" Matsumoto
Negative integer `>-65535` had wrong value, e,g, `p(-40550)` printed `4294926746` since Nov. 2020, sigh.
2021-01-02Avoid `uint64_t` in string-to-integer conversion; ref #5201Yukihiro "Matz" Matsumoto
2021-01-02Reduce strength of the hash function; ref #5201Yukihiro "Matz" Matsumoto
Also avoid using `uint64_t`.
2021-01-02Use type casting macros; ref #5246 #5247Yukihiro "Matz" Matsumoto
2021-01-02Merge pull request #5251 from SeekingMeaning/squiggly-fix-3Yukihiro "Matz" Matsumoto
Fix regression for squiggly heredocs
2021-01-02Merge pull request #5253 from ↵Yukihiro "Matz" Matsumoto
shuujii/refine-wrong-number-of-arguments-message-in-mrb_get_args Refine "wrong number of arguments" message in `mrb_get_args`
2021-01-02Refine "wrong number of arguments" message in `mrb_get_args`KOBAYASHI Shuji
#### Before this patch: ```ruby __send__ #=> wrong number of arguments {}.default(1,2) #=> wrong number of arguments ``` #### After this patch: ```ruby __send__ #=> wrong number of arguments (given 0, expected 1+) {}.default(1,2) #=> wrong number of arguments (given 2, expected 0..1) ```
2020-12-31Treat tabs as 8 spaces in squiggly heredocsSeeker
2020-12-31Fix regression for squiggly heredocsSeeker
2021-01-01Merge pull request #5245 from jbampton/for-mruby-for-2021Yukihiro "Matz" Matsumoto
Update copyright year for 2021
2021-01-01Merge pull request #5252 from dearblue/rm-gc_testYukihiro "Matz" Matsumoto
Removed unusable `GC.test`
2020-12-31Removed unusable `GC.test`dearblue
The substance of the method was removed in commit 15ceb35e058a078f632a1ff7d0d424c59d48cd80.
2020-12-29Merge pull request #5250 from shuujii/refine-error-message-from-mrb_get_arg1Yukihiro "Matz" Matsumoto
Refine error message from `mrb_get_arg1`
2020-12-29Refine error message from `mrb_get_arg1`KOBAYASHI Shuji
#### Before this patch: ```console $ bin/mruby -e '{}.key?' trace (most recent call last): -e:1: wrong number of arguments (ArgumentError) ``` #### After this patch: ```console $ bin/mruby -e '{}.key?' trace (most recent call last): -e:1: wrong number of arguments (given 0, expected 1) (ArgumentError) ```
2020-12-29Merge pull request #5249 from SeekingMeaning/squiggly-fix-2Yukihiro "Matz" Matsumoto
Fix mixed indentation and escaped tabs in squiggly heredocs
2020-12-28Fix mixed indentation and escaped tabs in squiggly heredocsSeeker
2020-12-28Merge pull request #5247 from SeekingMeaning/squiggly-fixYukihiro "Matz" Matsumoto
Fix for empty lines in squiggly heredocs
2020-12-27Fix for empty lines in squiggly heredocsSeeker
2020-12-28Merge pull request #5248 from SeekingMeaning/hash-exceptYukihiro "Matz" Matsumoto
Add `Hash#except` [Ruby 3.0]
2020-12-27Add `Hash#except` [Ruby 3.0]Seeker
2020-12-27Merge pull request #5246 from SeekingMeaning/squiggly-heredocsYukihiro "Matz" Matsumoto
Add support for squiggly heredocs
2020-12-27Fix operand types errorSeeker
2020-12-27Commit y.tab.cSeeker
2020-12-26Add support for squiggly heredocsSeeker
2020-12-27Update copyright year for 2021John Bampton
2020-12-26Merge pull request #5244 from dearblue/eval-nomemYukihiro "Matz" Matsumoto
Improves out of memory messages for `eval`
2020-12-25Improves out of memory messages for `eval`dearblue
The comment says that if `mrb_parse_nstring()` returns `NULL`, it is only out of memory. I'm worried about compatibility if I set the exception class to `NoMemoryError`, so it's still `RuntimeError`.
2020-12-24Reset paren_nest at tAREF and tASET.Yukihiro "Matz" Matsumoto
2020-12-24Check integer overflow in float bit operations.Yukihiro "Matz" Matsumoto
2020-12-24Avoid division by zero in `rational_to_f()`.Yukihiro "Matz" Matsumoto
2020-12-23Merge pull request #5242 from jbampton/add-codeownersYukihiro "Matz" Matsumoto
Create CODEOWNERS file
2020-12-23Merge pull request #5243 from boatrite/add-gba-build-configYukihiro "Matz" Matsumoto
Add example for cross-compiling to Nintendo GameBoyAdvance
2020-12-23Add example for cross-compiling to Nintendo GameBoyAdvanceGwen Boatrite