summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2020-10-12Use `static const struct mrb_irep each_irep` to ininitalize `each`.Yukihiro "Matz" Matsumoto
2020-10-12Add `const` modifier to `mrb_irep` for `code_fetch_hook`.Yukihiro "Matz" Matsumoto
2020-10-12Remove remaining `chomp:true` option from `Rakefile`.Yukihiro "Matz" Matsumoto
2020-10-12Stop Rake multitasking on Windows-VC for the time being.Yukihiro "Matz" Matsumoto
2020-10-12Avoid using `chomp:true` option to `File.readlines`.Yukihiro "Matz" Matsumoto
The option is not available in the old version of Ruby.
2020-10-12Stringify non C identifier symbols to stop macro errors by old gcc.Yukihiro "Matz" Matsumoto
2020-10-12Remove `rake -v` option from GitHub Actions.Yukihiro "Matz" Matsumoto
2020-10-12Constify `irep` members.Yukihiro "Matz" Matsumoto
- `pool` - `syms` - `reps`
2020-10-12Add explicit cast to `DROP_PRECISION` macro in `rational.c`.Yukihiro "Matz" Matsumoto
2020-10-12Build process updated:Yukihiro "Matz" Matsumoto
You have to specify `TARGET` to specify a configuration, e.g. ``` rake TARGET=host-debug all test ``` When you port `mruby` to a new configuration: 1. copy an existing configuration under `target` directory 2. modify the new configuration file 3. build using the new configuration 4. send PR if you please
2020-10-12Refine `.travis.yml`KOBAYASHI Shuji
* Disable automatic update and clean up on `brew install` (install time 160 sec -> 5 sec). * Avoid using deprecated keys.
2020-10-12Removed Bison related settings from `.travis.yml` and `appveyor.yml`KOBAYASHI Shuji
2020-10-12Revert part of "Start GitHub Actions" (4ce3997c)KOBAYASHI Shuji
Because some changes have been overridden.
2020-10-12Add `y.tab.c` to remove Bison from build dependencies; ref 4ce3997cKOBAYASHI Shuji
I sometimes see Bison related problems in setting up build environments. Therefore to remove Bison from build time dependencies, add `y.tab.c` generated by Bison to the repository. The reduction of dependency at build time also reduces the labor and time for setup and installation in CI. In addition, a path in `#line` directive is converted to a relative path so that its path is constant regardless of development environments.
2020-10-12Use the newer `bison` on GitHub actions macOS; ref #4903Yukihiro "Matz" Matsumoto
`Windows-MinGW` and `Windows-VC` also requires updates.
2020-10-12Start GitHub Actions; close #4903Takeshi Watanabe
2020-10-12Change the arguments of following implicit conversion functions:Yukihiro "Matz" Matsumoto
- `mrb_convert_type` - `mrb_check_convert_type` Those function no longer take `tname` string representation of desired type, and take method symbols instead of `const char*` names. This is incompatible change. I hope no third-party gems use those functions.
2020-10-12Use functions that take symbols to reduce string litrals in C.Yukihiro "Matz" Matsumoto
2020-10-12Provide functions that take symbols instead of `const char*`.Yukihiro "Matz" Matsumoto
- mrb_define_class_id - mrb_define_module_id - mrb_define_method_id - mrb_define_singleton_method_id - mrb_define_module_function_id - mrb_define_const_id - mrb_undef_method_id - mrb_undef_class_method_id - mrb_class_defined_id - mrb_class_get_id - mrb_class_defined_under_id - mrb_class_get_under_id - mrb_module_get_id - mrb_module_get_under_id - mrb_define_class_under_id - mrb_define_module_under_id - mrb_exc_get_id
2020-10-12Use `mrb->eStandardError` instead of `mrb_exc_get()`.Yukihiro "Matz" Matsumoto
2020-10-12Add functions that take symbols as arguments.Yukihiro "Matz" Matsumoto
- :
2020-10-12Use `mrb_funcall_id()` extensively.Yukihiro "Matz" Matsumoto
Except for support files e.g. `mruby-test/driver.c`, which are not target of symbol collection via `rake gensym`.
2020-10-12Define a new function `mrb_funcall_id()`.Yukihiro "Matz" Matsumoto
`mrb_funcall_id()` takes `mrb_sym` instead of `char*` for a method name. You can use `MRB_SYM()`/`MRB_QSYM()` to specify the method to call.
2020-10-12Update the build instruction.Yukihiro "Matz" Matsumoto
2020-10-12Remove unnecessary comments from `host-shared` target.Yukihiro "Matz" Matsumoto
2020-10-12Add a new target `clang-asan` to use LLVM's address sanitizer.Yukihiro "Matz" Matsumoto
2020-10-12Use more `MRB_QSYM()`.Yukihiro "Matz" Matsumoto
2020-10-12Add `Rakefile` to `build/presym` dependency.Yukihiro "Matz" Matsumoto
2020-10-12Run `rake gensym` before the build.Yukihiro "Matz" Matsumoto
2020-10-12Remove explicit `rake gensym`.Yukihiro "Matz" Matsumoto
2020-10-12Add dependency from `all` to `gensym`.Yukihiro "Matz" Matsumoto
You don't need to invoke `rake gensym` explicitly any longer.
2020-10-12Removed unnecessary dependency from `all`.Yukihiro "Matz" Matsumoto
`libmruby.flags.mak` is only required from `mruby-config` gem.
2020-10-12Add `mruby-bin-config` to `default.gembox`.Yukihiro "Matz" Matsumoto
2020-10-12Add operators to `presym` from `Rakefile`.Yukihiro "Matz" Matsumoto
2020-10-12Use `MRB_QSYM()` instead of `MRB_OPSYM()`.Yukihiro "Matz" Matsumoto
2020-10-12Rename `MRB_OPSYM()` to `MRB_QSYM()`.Yukihiro "Matz" Matsumoto
Where `QSYM` means quoted symbols, which cannot be represented C symbols, so specify aliases instead. - operators: name of the operation, e.g. add for `+` - predicates: add `_p` suffix instead of `?` - bang methods: add `_b` suffix instead of `!` - instance variables: add `a_` prefix instead of `@` - global variables: add `d_` prefix instead of `@` - class variables: unsupported; don't use them
2020-10-12Simplified `Rakefile`.Yukihiro "Matz" Matsumoto
2020-10-12Use `MRB_OPSYM()` instead of `mrb_intern_lit()`.Yukihiro "Matz" Matsumoto
2020-10-12Create `MRB_OPSYM()` macro to refer symbols corresponding operators.Yukihiro "Matz" Matsumoto
For example, `MRB_OPSYM(add)` refers a symbol for `+`.
2020-10-12Undefine internal macros in `presym.h`.Yukihiro "Matz" Matsumoto
- MRB_PRESYM_CSYM - MRB_PRESYM_SYM
2020-10-12Create `build` directory first before `gensym`.Yukihiro "Matz" Matsumoto
2020-10-12Remove unused variable from `Rakefile`.Yukihiro "Matz" Matsumoto
2020-10-12Use `File.open` instead of `File.write` shortcut.Yukihiro "Matz" Matsumoto
2020-10-12Remove `presym` files before writing just to make sure.Yukihiro "Matz" Matsumoto
2020-10-12Specify `MRUBY_TARGET` in CI configuration YAML.Yukihiro "Matz" Matsumoto
2020-10-12Add `rake gensym` to `appveyor.yml` too.Yukihiro "Matz" Matsumoto
2020-10-12Update `host*` targets to use `default.gembox`.Yukihiro "Matz" Matsumoto
And now `default.gembox` includes `mruby-socket` gem.
2020-10-12Small updates on documents:Yukihiro "Matz" Matsumoto
- README.md - CONTRIBUTING.md - doc/limitations.md
2020-10-12Add `host-shared.rb` to create shared mruby library.Yukihiro "Matz" Matsumoto
2020-10-12Update `host.rb` build script.Yukihiro "Matz" Matsumoto