summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2021-01-09Convert float number to rational by decoding mantissa.Yukihiro "Matz" Matsumoto
2021-01-09Introduce `mrb_uint` which is unsigned integer with size of `mrb_int`.Yukihiro "Matz" Matsumoto
2021-01-09Remove `khash.h` leftovers.Yukihiro "Matz" Matsumoto
2021-01-09Merge pull request #5270 from ↵Yukihiro "Matz" Matsumoto
shuujii/remove-unnecessary--include-in-generated-files Remove unnecessary `#include` in generated files
2021-01-09Remove unnecessary `#include` in generated filesKOBAYASHI Shuji
2021-01-08Merge pull request #5265 from ↵Yukihiro "Matz" Matsumoto
shuujii/reapply-116e128b-because-it-is-back-at-456878ba Reapply 116e128b because it is back at 456878ba
2021-01-08Merge pull request #5267 from shuujii/delay-test-code-build-until-rake-testYukihiro "Matz" Matsumoto
Delay test code build until `rake test`
2021-01-08Save&restore execution point (`pc`) in `c->cibase->pc`; fix #5261Yukihiro "Matz" Matsumoto
`mrb_fiber_resume()` can be called from C; ref #3056
2021-01-08Delay test code build until `rake test`KOBAYASHI Shuji
With this change, the test code will not be built unless `rake test` is run, so there will be almost no side effects even if `enable_test` is always set (but, gems specified by `add_test_dependency` are included in `libmruby.a`). Also added are `test: build` task, which only builds the test code (including the main code), and `test: run` task, which only runs tests independent of build. Therefore, the idiom for building in parallel and not running tests in parallel is `rake -m test:build && rake test:run`.
2021-01-08Merge pull request #5266 from ↵Yukihiro "Matz" Matsumoto
shuujii/stop-immediate-flush-to-stdout-stderr-when-running-in-parallel-on-CI Stop immediate flush to stdout/stderr when running in parallel on CI
2021-01-08Stop immediate flush to stdout/stderr when running in parallel on CIKOBAYASHI Shuji
During parallel execution (build), it is sometimes flushed before line breaks, and lines are concatenated.
2021-01-08Reapply 116e128b because it is back at 456878baKOBAYASHI Shuji
2021-01-07Merge pull request #5263 from ↵Yukihiro "Matz" Matsumoto
shuujii/use-namespaces-according-to-Rake-conventions Use namespaces according to Rake conventions
2021-01-07Merge pull request #5264 from ↵Yukihiro "Matz" Matsumoto
shuujii/immediately-flush-output-to-stdout-stderr-so-that-logs-are-not-mixed-on-CI Immediately flush output to stdout/stderr so that logs are not mixed on CI
2021-01-07Immediately flush output to stdout/stderr so that logs are not mixed on CIKOBAYASHI Shuji
Set in build configuration to enable on all CI platforms.
2021-01-07Use namespaces according to Rake conventionsKOBAYASHI Shuji
Change the Rake task to one that uses namespaces as follows (previous task names can also be used for compatibility). | Previous Task | New Task | |----------------|----------------| | api_doc | doc:api | | capi_doc | doc:capi | | clean_doc | doc:clean | | clean_api_doc | doc:clean:api | | clean_capi_doc | doc:clean:capi | | view_api | doc:view:api | | view_capi | doc:view:capi | | gitlab_config | gitlab:config | | gitlab_dockers | gitlab:dockers |
2021-01-07Merge pull request #5262 from shuujii/add-scan-target-functions-for-presymYukihiro "Matz" Matsumoto
Add scan target functions for presym
2021-01-07Add scan target functions for presymKOBAYASHI Shuji
Add the following functions: - mrb_intern_cstr - mrb_define_singleton_method - mrb_define_class_under - mrb_define_module_under
2021-01-07Use `nint()` for implicit cast; ref #5260Yukihiro "Matz" Matsumoto
2021-01-07Merge pull request #5260 from SeekingMeaning/squiggly-fix-5Yukihiro "Matz" Matsumoto
Fix line continuations with mixed indentation in squiggly heredocs
2021-01-07Merge pull request #5259 from ↵Yukihiro "Matz" Matsumoto
shuujii/consider-the-case-a-local-variable-name-does-not-become-a-named-presym Consider the case a local variable name does not become a named presym
2021-01-06Add heredoc_push_indented helper functionSeeker
2021-01-06Fix line continuations with mixed indentation in squiggly heredocsSeeker
2021-01-06Consider the case a local variable name does not become a named presymKOBAYASHI Shuji
Non-ASCII characters are allowed to local variable names, so they are not always named presym.
2021-01-06Merge pull request #5258 from shuujii/fix-build-with-enable_cxx_exceptionYukihiro "Matz" Matsumoto
Fix build with `enable_cxx_exception`
2021-01-06Fix build with `enable_cxx_exception`KOBAYASHI Shuji
2021-01-06Specify receivers for `gembox` methods; ref #5241Yukihiro "Matz" Matsumoto
2021-01-06Merge pull request #5241 from dearblue/gemboxYukihiro "Matz" Matsumoto
Take advantage of gembox
2021-01-06Use `~0U` instead of `~0` to avoid sign comparison warnings.Yukihiro "Matz" Matsumoto
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