summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2019-08-26Merge pull request #4671 from shuujii/fix-Array-sample-with-MRB_INT32Yukihiro "Matz" Matsumoto
Fix `Array#sample` with `MRB_INT32`
2019-08-26Fix `Array#sample` with `MRB_INT32`KOBAYASHI Shuji
Array index became potentially negative because `uint32_t` is cast to `mrb_int`.
2019-08-26Merge pull request #4635 from ↵Yukihiro "Matz" Matsumoto
shuujii/fix-wrong-argument-for-fprintf-in-mruby-bin-mrbc Fix wrong argument for `fprintf` in `mruby-bin-mrbc`
2019-08-26Merge pull request #4670 from shuujii/remove-unused-random.hYukihiro "Matz" Matsumoto
Remove unused `random.h`
2019-08-26Remove unused `random.h`KOBAYASHI Shuji
2019-08-26Merge pull request #4669 from davidsiaw/doxygenYukihiro "Matz" Matsumoto
Fixes for Doxygen docs
2019-08-26fix lots of warnings and make logo not so bigDavid Siaw
2019-08-26change doc directory and reduce warningsDavid Siaw
2019-08-25Merge pull request #4668 from ↵Yukihiro "Matz" Matsumoto
shuujii/defer-several-build-libraries-loading-until-needed Defer several build libraries loading until needed
2019-08-25Defer several build libraries loading until neededKOBAYASHI Shuji
2019-08-25Merge pull request #4667 from ↵Yukihiro "Matz" Matsumoto
shuujii/fix-Range-max-test-TypeError-is-raised-on-32-bit-mode Fix `Range#max` test (`TypeError` is raised) on 32-bit mode
2019-08-25Merge pull request #4666 from dearblue/warn-str_new_capaYukihiro "Matz" Matsumoto
Suppress warning by gcc with `-Wmaybe-uninitialized`
2019-08-25Merge pull request #4665 from dearblue/fix-4642Yukihiro "Matz" Matsumoto
Create a symbolic link in the temporary directory; fix #4642
2019-08-25Merge pull request #4664 from shuujii/remove-unused-constant-in-RakefileYukihiro "Matz" Matsumoto
Remove unused constant in `Rakefile`; ref e312842a
2019-08-24Fix `Range#max` test (`TypeError` is raised) on 32-bit modeKOBAYASHI Shuji
2019-08-24Suppress warning by gcc with `-Wmaybe-uninitialized`dearblue
2019-08-24Remove unused constant in `Rakefile`; ref e312842aKOBAYASHI Shuji
2019-08-24Create a symbolic link in the temporary directory; fix #4642dearblue
Because the linker gives a warning on FreeBSD 12.0. ``` warning: mktemp() possibly used unsafely; consider using mkstemp() ```
2019-08-23Merge pull request #4662 from ↵Yukihiro "Matz" Matsumoto
shuujii/fix-RBreak-exceeding-6-words-on-32-bit-mode-w-o-boxing-and-MRB_USE_FLOAT Fix `RBreak` exceeding 6 words on 32-bit mode w/o boxing and `MRB_USE_FLOAT`
2019-08-23Fix `RBreak` exceeding 6 words on 32-bit mode w/o boxing and `MRB_USE_FLOAT`KOBAYASHI Shuji
ref: https://github.com/mruby/mruby/pull/4483#issuecomment-498001736 In this configuration, `tt` of `RBreak::val` is set into `RBreak::flags`.
2019-08-23Merge pull request #4656 from shuujii/refine-processing-for-gem-lock-fileYukihiro "Matz" Matsumoto
Refine processing for gem lock file
2019-08-22Refine processing for gem lock fileKOBAYASHI Shuji
- Defer YAML library and lock file loading until needed. - Don't write empty parts into lock file. - Extract code to read/write lock file to `MRuby::Lockfile`. - `MRuby::Lockfile.disable` disables the use of lock file.
2019-08-22Merge pull request #4655 from yamori813/masterYukihiro "Matz" Matsumoto
make clean error workaround
2019-08-22workaround erroryamori813
2019-08-22Add lock files to `.gitignore`; #4180Yukihiro "Matz" Matsumoto
2019-08-22Merge pull request #4654 from take-cheeze/mruby_version_lockYukihiro "Matz" Matsumoto
Take commit hash of mruby too
2019-08-22Merge pull request #4653 from take-cheeze/sep_repo_buildYukihiro "Matz" Matsumoto
Separate repos directory and build directory
2019-08-22Take commit hash of mruby tootake-cheeze
2019-08-22Separate repos directory and build directorytake-cheeze
closes #4652
2019-08-21Merge pull request #4180 from take-cheeze/lock_fileYukihiro "Matz" Matsumoto
Support lock file for git.
2019-08-21Merge pull request #4651 from ↵Yukihiro "Matz" Matsumoto
shuujii/prioritize-embedded-string-over-nofree-or-normal-string Prioritize embedded string over nofree (or normal) string
2019-08-21Prioritize embedded string over nofree (or normal) stringKOBAYASHI Shuji
Prioritize embedded string in the following functions: - `str_new_static` - `str_new` - `mrb_str_new_capa` - `mrb_str_pool` The reasons are as follows: - Consistency with `mrb_str_byte_subseq` and `str_replace`. - Memory locality increases and may be slightly faster. - No conversion cost to embedded string when modifying the string.
2019-08-21Merge pull request #4650 from take-cheeze/patch-5Yukihiro "Matz" Matsumoto
Remove deprecated iij stuffs
2019-08-21Merge pull request #4649 from take-cheeze/patch-4Yukihiro "Matz" Matsumoto
Fix link of mruby-io
2019-08-21Merge pull request #4648 from take-cheeze/patch-3Yukihiro "Matz" Matsumoto
Use mruby-onig-regexp instead in example
2019-08-21Merge pull request #4647 from take-cheeze/patch-2Yukihiro "Matz" Matsumoto
Add note about checksum_hash in mrbgem doc
2019-08-20Remove deprecated iij stuffsTakeshi Watanabe
2019-08-20Fix link of mruby-ioTakeshi Watanabe
2019-08-20Use mruby-onig-regexp instead in exampleTakeshi Watanabe
2019-08-20Add note about checksum_hash in mrbgem docTakeshi Watanabe
2019-08-20Avoid C++ strict aliasing warning.Yukihiro "Matz" Matsumoto
Based on code proposed by @dearblue to avoid the warning: `dereferencing type-punned pointer will break strict-aliasing rules`.
2019-08-20Fixed a bug in the `OP_JMPNOT` optimization (13eaff4); fix #4644Yukihiro "Matz" Matsumoto
2019-08-20Merge pull request #4646 from ↵Yukihiro "Matz" Matsumoto
shuujii/use-RBasic-padding-for-embedded-string-on-64-bit-CPU Use `RBasic` padding for embedded string on 64-bit CPU
2019-08-20Use `RBasic` padding for embedded string on 64-bit CPUKOBAYASHI Shuji
On 64-bit CPU, there is padding in `RBasic`, so reorder the fields and use it as buffer of embedded string. This change allows 4 more bytes to be embedded on 64-bit CPU. However, an incompatibility will occur if `RString::as::ary` is accessed directly because `RString` structure has changed.
2019-08-19Merge pull request #4645 from ↵Yukihiro "Matz" Matsumoto
shuujii/move-mrb_str_pool-to-src-string.c-to-use-str_init-family Move `mrb_str_pool` to `src/string.c` to use `str_init` family
2019-08-19Move `mrb_str_pool` to `src/string.c` to use `str_init` familyKOBAYASHI Shuji
2019-08-19Merge pull request #4643 from lopopolo/externally-define-MRB_APIYukihiro "Matz" Matsumoto
Allow external definition of MRB_API macro
2019-08-18Allow external definition of MRB_API macroRyan Lopopolo
When building WebAssembly targets with clang (e.g. wasm32-unknown-unknown), all symbols are hidden by default. To export a symbol, it must be marked with __attribute__((visibility(default))) Rather than detecting this exotic target in mruby, allow MRB_API to be defined externally.
2019-08-19Merge pull request #4639 from dearblue/suppress-Wstringop-truncationYukihiro "Matz" Matsumoto
Suppress warnings for `strncat()`
2019-08-19Merge pull request #4638 from dearblue/simplify-get-argsYukihiro "Matz" Matsumoto
Simplify get arguments