summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2021-01-11Remove functions for unimplemented methodsdearblue
- Use `mrb_notimplement_m()` instead. - Hide the unused `option_to_fd()` when `TARGET_OS_IPHONE` is enabled.
2021-01-11Merge pull request #5283 from shuujii/add-missing-cast-in-ea_next_capa_forYukihiro "Matz" Matsumoto
Add missing cast in `ea_next_capa_for`
2021-01-11Merge pull request #5282 from dearblue/mruby-config-crossYukihiro "Matz" Matsumoto
Create a `mruby-config` that can be run on the host by cross-building
2021-01-11Add missing cast in `ea_next_capa_for`KOBAYASHI Shuji
2021-01-11Create a `mruby-config` that can be run on the host by cross-buildingdearblue
The output directory will be `host-bin`, so it will be output as `<build-dir>/host-bin/mruby-config`. It's still not available for target devices.
2021-01-11Merge pull request #5281 from ↵Yukihiro "Matz" Matsumoto
shuujii/remove-the-definition-of-mrb_uint-in-numeric.h-that-is-no-longer-needed Remove the definition of `mrb_uint` in `numeric.h` that is no longer needed
2021-01-11Merge pull request #5280 from ↵Yukihiro "Matz" Matsumoto
shuujii/remove-unneeded-check-to-mrbtest-in-tasks-presym.rake Remove unneeded check to `mrbtest` in `tasks/presym.rake`
2021-01-11Remove the definition of `mrb_uint` in `numeric.h` that is no longer neededKOBAYASHI Shuji
2021-01-11Remove unneeded check to `mrbtest` in `tasks/presym.rake`KOBAYASHI Shuji
With the change in #5267, `build.products` no longer contains `mrbtest` when `tasks/presym.rake` is loaded.
2021-01-11Merge pull request #5279 from ↵Yukihiro "Matz" Matsumoto
shuujii/remove-unneeded-mruby-test-gem-in-build_config-no-float.rb Remove unneeded `mruby-test` gem in `build_config/no-float.rb` [ci skip]
2021-01-11Remove unneeded `mruby-test` gem in `build_config/no-float.rb` [ci skip]KOBAYASHI Shuji
Use `enable_test` to enable the test.
2021-01-11Merge pull request #5278 from dearblue/annotationYukihiro "Matz" Matsumoto
Fix annotations [ci skip]
2021-01-11Fix annotations [ci skip]dearblue
2021-01-10Fix CI failure on Windows environment.Yukihiro "Matz" Matsumoto
`1L` on Windows means `32 bit int`.
2021-01-10Fix mixture of inline `int` declaration in `for` statement.Yukihiro "Matz" Matsumoto
2021-01-10Merge pull request #5271 from shuujii/fix-build-error-in-cross-build-with-presymYukihiro "Matz" Matsumoto
Fix build error in cross-build with presym
2021-01-10Merge pull request #5275 from dearblue/read_irepYukihiro "Matz" Matsumoto
Replace `tempirep` with `RProc`
2021-01-10Merge pull request #5274 from ↵Yukihiro "Matz" Matsumoto
shuujii/fix-the-condition-to-remove-mrbtest-when-rake-clean Fix the condition to remove `mrbtest` when `rake clean`
2021-01-10Replace `tempirep` with `RProc`dearblue
Previously I used the `RData` object to avoid a memory leak in `mrb_irep` if `src/load.c` failed. ref: https://github.com/mruby/mruby/pull/4250 commit: f1523d24042ca3416dc5b9be7b3fc220ddaed896 Considering that the `RProc` object will be created in the subsequent process, it is preferable to create the `RProc` object from the beginning. Along with this, the inside of `read_irep()` is replaced with the processing centered on the `RProc` object. The global function that returns the `mrb_irep` pointer is still provided for compatibility.
2021-01-10Revert "Revert "Simplify full-core.gembox""Yukihiro "Matz" Matsumoto
This reverts commit 37d795dec7b495d418dc2f9020cf980c158ba9ed. This reapplies e20d652 (#4202), which is reverted, but its issue was solved by 1d8456f.
2021-01-10Fix the condition to remove `mrbtest` when `rake clean`KOBAYASHI Shuji
2021-01-10Fix build error in cross-build with presymKOBAYASHI Shuji
Fix the following issues. * https://github.com/mruby/mruby/pull/5220#issuecomment-757204258 * https://github.com/mruby/mruby/pull/5220#issuecomment-757205572
2021-01-09Fix wrong float to rational conversion in 32 bit mode.Yukihiro "Matz" Matsumoto
2021-01-09Detect invalid first byte of UTF-8 char; fix #5269Yukihiro "Matz" Matsumoto
The first byte of UTF-8 character should not be `80..c1`.
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