summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2018-12-30mruby-enumerator: Refine accessors (obj/meth/args/fib).KOBAYASHI Shuji
- `fib=` writer is not used. - All accessors are used as public (e.g. in `initialized_copy`).
2018-12-30Use `each_with_object` instead of `reduce`.KOBAYASHI Shuji
For fix Codacy issue.
2018-12-29Fix Yacc running multiple times.KOBAYASHI Shuji
Example: $ MRUBY_CONFIG=<(echo 'MRuby::Build.new{toolchain(:gcc);gem(core:"mruby-bin-mruby");enable_test}') ./minirake Before: ... CC build/host/mrbgems/gem_init.c -> build/host/mrbgems/gem_init.o YACC mrbgems/mruby-compiler/core/parse.y -> build/host/mrbgems/mruby-compiler/core/y.tab.c YACC mrbgems/mruby-compiler/core/parse.y -> build/host/mrbgems/mruby-compiler/core/y.tab.c YACC mrbgems/mruby-compiler/core/parse.y -> build/host/mrbgems/mruby-compiler/core/y.tab.c YACC mrbgems/mruby-compiler/core/parse.y -> build/host/mrbgems/mruby-compiler/core/y.tab.c CC build/host/mrbgems/mruby-compiler/core/y.tab.c -> build/host/mrbgems/mruby-compiler/core/y.tab.o CC build/host/mrbgems/mruby-compiler/core/y.tab.c -> build/host/mrbgems/mruby-compiler/core/y.tab.o CC build/host/mrbgems/mruby-compiler/core/y.tab.c -> build/host/mrbgems/mruby-compiler/core/y.tab.o CC build/host/mrbgems/mruby-compiler/core/y.tab.c -> build/host/mrbgems/mruby-compiler/core/y.tab.o AR build/host/lib/libmruby_core.a ... After: ... CC build/host/mrbgems/gem_init.c -> build/host/mrbgems/gem_init.o YACC mrbgems/mruby-compiler/core/parse.y -> build/host/mrbgems/mruby-compiler/core/y.tab.c CC build/host/mrbgems/mruby-compiler/core/y.tab.c -> build/host/mrbgems/mruby-compiler/core/y.tab.o AR build/host/lib/libmruby_core.a ...
2018-12-25Revert "Simplify full-core.gembox"Yukihiro "Matz" Matsumoto
This reverts commit e20d652f22dd4cda7286eedbf46d67b901d4969d. This change cannot handle hidden dependency between `mruby-print` and `mruby-sprintf`; ref #4202
2018-12-25Merge pull request #4201 from take-cheeze/patch-2Yukihiro "Matz" Matsumoto
Fix `$rake_root_fiber` checking
2018-12-25Merge pull request #4202 from shuujii/simplify-full-core-gemboxYukihiro "Matz" Matsumoto
Simplify full-core.gembox
2018-12-25Simplify full-core.gemboxKOBAYASHI Shuji
Dependencies order is auto detected.
2018-12-25Fix `$rake_root_fiber` checking.Takeshi Watanabe
https://github.com/mruby/mruby/pull/4101#pullrequestreview-187752352
2018-12-25Merge pull request #4200 from shuujii/add-test-dependency-for-mrubyYukihiro "Matz" Matsumoto
mruby-bin-mruby: Add test dependency.
2018-12-25mruby-bin-mruby: Add test dependency.KOBAYASHI Shuji
`Kernel#p` etc are used.
2018-12-24Merge pull request #4199 from shuujii/refine-desc-for-rake-testYukihiro "Matz" Matsumoto
Refine description for rake test tasks.
2018-12-24Refine description for rake test tasks.KOBAYASHI Shuji
Before: $ rake -T test rake test_test # run all mruby tests After: $ rake -T test rake test # run all mruby tests
2018-12-23Merge pull request #4197 from shuujii/suppress-struct-initializer-warnYukihiro "Matz" Matsumoto
Suppress a struct initializer warning
2018-12-23Merge pull request #4198 from dearblue/missing-macrosYukihiro "Matz" Matsumoto
Suppress missing macro warns
2018-12-23Suppress _MSC_VER warns for mingw32dearblue
2018-12-23Suppress TARGET_OS_IPHONE warnsdearblue
2018-12-23Suppress __FreeBSD_version warns for FreeBSDdearblue
2018-12-23Suppress __STDC_VERSION__ warns for C++dearblue
2018-12-23Suppress a struct initializer warningKOBAYASHI Shuji
Suppress a compiler (clang) warning bellow: src/vm.c:104:38: warning: suggest braces around initialization of subobject [-Wmissing-braces] const mrb_value mrb_value_zero = { 0 }; ^ {}
2018-12-22Merge pull request #4196 from dearblue/add-Wundef-cflagsYukihiro "Matz" Matsumoto
Append cflags for undefined macro
2018-12-22Merge pull request #4194 from shuujii/mirb-drop-dependency-on-mruby-printYukihiro "Matz" Matsumoto
mirb: drop dependency on mruby-print in a test
2018-12-22Merge pull request #4195 from dearblue/fix-byteorderYukihiro "Matz" Matsumoto
Fix byte order
2018-12-22Append cflags for undefined macrodearblue
2018-12-22Define byte order macros, if not defined it and there are alternativesdearblue
2018-12-22Fix MRB_ENDIAN_BIG is always defined, if byte order macro is not defineddearblue
2018-12-22mirb: drop dependency on mruby-print in a testKOBAYASHI Shuji
2018-12-22Merge pull request #4193 from dearblue/fix-assert-variableYukihiro "Matz" Matsumoto
Fix undefined variable is using
2018-12-21Fix undefined variable is usingdearblue
2018-12-21Merge branch 'cubicdaiya-feature/optimize_proc_parameters'Yukihiro "Matz" Matsumoto
2018-12-21Add test for Proc#parametersTatsuhiko Kubo
2018-12-21optimize Proc#parametersTatsuhiko Kubo
2018-12-21Add `NULL` pointer check before `void_expr_error()`; fix #4192Yukihiro "Matz" Matsumoto
2018-12-21Simplify `MRB_ENDIAN_BIG` macro definition; ref #4190Yukihiro "Matz" Matsumoto
`cpp` does not raise error on undefined macro access in condition.
2018-12-21Fixed a bug on platforms without `BYTE_ORDER`; ref #4190Yukihiro "Matz" Matsumoto
2018-12-21Define `MRB_ENDIAN_BIG` automatically; ref #4190Yukihiro "Matz" Matsumoto
You had to define this macro on big endian platforms, but it is very error-prone. So define the macro automatically if possible.
2018-12-21`mruby-pack` should not rely on `MRB_ENDIAN_BIG` macro; fix #4190Yukihiro "Matz" Matsumoto
The `MRB_ENDIAN_BIG` macro is originally used for `NaN` boxing. We cannot assume it is defined on every big endian platform (#4190 is the case). So instead of relying on untrusted `MRB_ENDIAN_BIG`, we use `BYTE_ORDER` macro with a fallback function to check endian in runtime.
2018-12-21Remove things we've done in `TODO` file.Yukihiro "Matz" Matsumoto
2018-12-19Merge pull request #4191 from dearblue/parenthesisYukihiro "Matz" Matsumoto
Fix parenthesis for macros
2018-12-19Added Android Hack to `time.c`.Yukihiro "Matz" Matsumoto
Android bionic defines `TIME_UTC` but does not provide `timespec_get`.
2018-12-18Fix macro expressions with parendearblue
2018-12-18Fix macro arguments with parendearblue
2018-12-17Merge pull request #4189 from sdottaka/fix-mrb_ary_clearYukihiro "Matz" Matsumoto
Make mrb_ary_clear() function callable from C again
2018-12-17Small refactoring of #4188Yukihiro "Matz" Matsumoto
2018-12-17Remove `#include <mruby/khash.h>` from `mruby/hash.h`.Yukihiro "Matz" Matsumoto
2018-12-17Recover `#to_int`; ref #4177Yukihiro "Matz" Matsumoto
We have removed implicit conversion to strings using `to_int`. But some users still using `to_int` as a typical integer method, i.e. they do string check by code like: `obj.respond_to?(:to_int)`. So we have recovered the method.
2018-12-17Recover `String#to_str`; ref #4177Yukihiro "Matz" Matsumoto
We have removed implicit conversion to strings using `to_str`. But some people still using `to_str` as a typical string method, i.e. they do string check by code like: `obj.respond_to?(:to_str)`. So we have recovered the method.
2018-12-17Merge pull request #4188 from dearblue/mrb_hash_sizeYukihiro "Matz" Matsumoto
Add `mrb_hash_size()` function
2018-12-15Make mrb_ary_clear() function callable from C againTakashi Sawanaka
2018-12-14Add `mrb_hash_size()` function.dearblue
2018-12-12Merge pull request #4185 from icm7216/fix-sleep-exampleYukihiro "Matz" Matsumoto
Fix sleep example