summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2021-01-28Stop generating `build/<build>/src/*.pi.d`.Yukihiro "Matz" Matsumoto
2021-01-28Describe disabling preallocated symbols in the doc.Yukihiro "Matz" Matsumoto
2021-01-28Update `TODO` after mruby3.0.Yukihiro "Matz" Matsumoto
2021-01-28Remove unnecessary bit shift in `rational_new_f`.Yukihiro "Matz" Matsumoto
2021-01-27Add symbol names as comments to `presym_length_table`; ref #5303Yukihiro "Matz" Matsumoto
2021-01-27Add `static` modifiers to preallocated symbols tables; ref #5303Yukihiro "Matz" Matsumoto
2021-01-27Merge pull request #5303 from ↵Yukihiro "Matz" Matsumoto
shuujii/split-presym_table-for-reduced-program-size Split `presym_table` for reduced program size
2021-01-27Split `presym_table` for reduced program sizeKOBAYASHI Shuji
Because a structure that is an element of `presym_table` has padding, split it into individual arrays for name and length. #### Result (64-bit CPU with full-core gembox) | | mruby | libmruby.a | |--------|------------|------------| | Before | 1,087,444B | 1,476,872B | | After | 1,079,340B | 1,469,784B |
2021-01-27Merge pull request #5302 from shuujii/rename-.i-created-for-presym-scan-to-.piYukihiro "Matz" Matsumoto
Rename `.i` created for presym scan to `.pi`
2021-01-27Rename `.i` created for presym scan to `.pi`KOBAYASHI Shuji
This is because compiler's `-save-temps=obj` option creates `.i` with the same name.
2021-01-27Merge pull request #5301 from shuujii/fix-typos-in-mruby-presym-disableenable.hYukihiro "Matz" Matsumoto
Fix typos in `mruby/presym/{disable,enable}.h` [ci skip]
2021-01-27Fix typos in `mruby/presym/{disable,enable}.h` [ci skip]KOBAYASHI Shuji
2021-01-27Merge pull request #5300 from ↵Yukihiro "Matz" Matsumoto
shuujii/avoid-possible-loss-of-data-casting-in-binary-search Avoid 'possible loss of data' casting in binary search
2021-01-27Merge pull request #5299 from shuujii/fix-Use-MRB_SYM-for-error-class-retrievalYukihiro "Matz" Matsumoto
Fix "Use `MRB_SYM()` for error class retrieval"; ref 2ddfd50df
2021-01-27Avoid 'possible loss of data' casting in binary searchKOBAYASHI Shuji
Because it may not be expected result. example: https://wandbox.org/permlink/F5Mp7IEJ1VY3CFLp
2021-01-27Fix "Use `MRB_SYM()` for error class retrieval"; ref 2ddfd50dfKOBAYASHI Shuji
The new macro (`MRB_E_SYM`) was not being used, so it is being used. Also `MRB_E_SYM` is confusing with `MRB_SYM_E`, so change it to `MRB_ERROR_SYM`.
2021-01-26Adjust spaces after list markers.Yukihiro "Matz" Matsumoto
2021-01-26Revert "Fix the wrong directory `host-bin` to `host/bin`."Yukihiro "Matz" Matsumoto
This reverts commit 34f82f24e941f36edc8d947a8a9300631b3121ff. Ref #5282
2021-01-26Clarify that contributors agree with MIT license in `CONTRIBUTING.md`.Yukihiro "Matz" Matsumoto
2021-01-26Update `doc/mruby3.md`.Yukihiro "Matz" Matsumoto
2021-01-26Add `doc/symbols.md`. [ci skip]Yukihiro "Matz" Matsumoto
To describe how to use symbols, especially preallocated symbols from C.
2021-01-26Change `mruby-config` to print usage on invalid arguments.Yukihiro "Matz" Matsumoto
Or no argument at all.
2021-01-26Fix the wrong directory `host-bin` to `host/bin`.Yukihiro "Matz" Matsumoto
Where `mruby-config` command should be generated.
2021-01-26Use `MRB_SYM()` for error class retrieval; ref #5277Yukihiro "Matz" Matsumoto
Note that `MRB_SYM()` is only available when `mruby/presym.h` is included. Use `mrb_intern_lit()` otherwise.
2021-01-26Revert "Minimize the changes in #5277"Yukihiro "Matz" Matsumoto
This reverts commit dc51d89ac22acc60b9bfeed87115863565b74085.
2021-01-25Silence 'loss of data' warnings in `symbol.c`.Yukihiro "Matz" Matsumoto
2021-01-25Merge pull request #5297 from hasumikin/fix-typo-in-rite-binary-headerYukihiro "Matz" Matsumoto
Fix TYPO and checking minor version in RITE BINARY HEADER
2021-01-25fix comparison of minor versionHASUMI Hitoshi
2021-01-25fix TYPO in RITE BINARY HEADERHASUMI Hitoshi
2021-01-25Silence 'loss of data' warnings.Yukihiro "Matz" Matsumoto
2021-01-25Fix a bug for the case `frexp()` return `Infinity`.Yukihiro "Matz" Matsumoto
2021-01-25Should use a limit for 32 bit platform; ref 05a8cc44Yukihiro "Matz" Matsumoto
2021-01-25Add description for `mruby-config` in `compile.md`. [ci skip]Yukihiro "Matz" Matsumoto
For easier compiling and linking of the application embedding `mruby`
2021-01-24Define `RAT_INT_LIMIT` for 32 bit platforms.Yukihiro "Matz" Matsumoto
2021-01-24Prohibit `r` suffix after scientific notation (e.g. `1e10`).Yukihiro "Matz" Matsumoto
As CRuby does.
2021-01-24Detect integer overflow in `rational_new_f()`.Yukihiro "Matz" Matsumoto
2021-01-23Remove test debug lines in fallback `presym.inc`Yukihiro "Matz" Matsumoto
ref dc51d89ac22
2021-01-23Fixed typo; ref #5296Yukihiro "Matz" Matsumoto
2021-01-23Merge pull request #5296 from yevgenko/patch-1Yukihiro "Matz" Matsumoto
Fix typo
2021-01-23Fix typoYevhen Viktorov
2021-01-22Minimize the changes in #5277Yukihiro "Matz" Matsumoto
Instead of including `mruby/presym.h` everywhere, we provided the fallback `mruby/presym.inc` under `include/mruby` directory, and specify `-I<build-dir>/include` before `-I<top-dir>/include` in `presym.rake`. So even when someone drops `-I<build-dir>/include` in compiler options, it just compiles without failure.
2021-01-21Reduce size of `mrb_callinfo` by rearranging members.Yukihiro "Matz" Matsumoto
From 48 bytes to 40 bytes on 64 bit platforms (unchanged on 32 bit).
2021-01-21Merge branch 'shuujii-avoid-including-presym.inc-in-existing-header-files'Yukihiro "Matz" Matsumoto
2021-01-21Merge branch 'avoid-including-presym.inc-in-existing-header-files' of ↵Yukihiro "Matz" Matsumoto
https://github.com/shuujii/mruby into shuujii-avoid-including-presym.inc-in-existing-header-files
2021-01-21Fix a bug that `:_1` to cause syntax error; fix #5295Yukihiro "Matz" Matsumoto
2021-01-21Better error messages with yacc tokens.Yukihiro "Matz" Matsumoto
2021-01-21Silence gcc warning from `strncpy()`.Yukihiro "Matz" Matsumoto
2021-01-20Remove CRC16 from dumped mruby binary.Yukihiro "Matz" Matsumoto
`calc_crc_16_ccitt()` consumes a lot of clock cycles in programs like `mrbtest` which loads a lot of dumped binary. Error detection for flaky channels should be done in the higher level. Note: `mruby/c` should be updated to support this change.
2021-01-19Compile `mruby-bin-debugger` with `ci/gcc-clang.rb`.Yukihiro "Matz" Matsumoto
2021-01-18Merge pull request #5294 from ↵Yukihiro "Matz" Matsumoto
shuujii/fix-that-Hash-may-not-contain-any-empty-buckets Fix that Hash may not contain any empty buckets