summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2019-07-17Fix `String#[]` testKOBAYASHI Shuji
2019-07-17Revert #4300KOBAYASHI Shuji
Originally, it was not necessary to change. I made mistake.
2019-07-17Fix `(fixnum_value ... float_value).min` with `mruby-range-ext`KOBAYASHI Shuji
Before this patch: $ bin/mruby -e 'p (2...4.0).min' #=> TypeError After this patch (same as CRuby and without `mruby-range-ext`): $ bin/mruby -e 'p (2...4.0).min' #=> 2
2019-07-17Allow `mruby-range-ext` to work with `MRB_WITHOUT_FLOAT`; ref 2add8641KOBAYASHI Shuji
2019-07-17Fixed a bug in #4034Yukihiro "Matz" Matsumoto
2019-07-17Avoid `MRB_INLINE` for `mrb_str_modify()`; ref #4579Yukihiro "Matz" Matsumoto
Functions that are called infrequently need not to be inline.
2019-07-17Allow `mruby-range-ext` to work with `MRB_WITHOUT_FLOAT`; ref #4576Yukihiro "Matz" Matsumoto
2019-07-17Merge pull request #4034 from i110/i110/inspect-recursionYukihiro "Matz" Matsumoto
Let inspect recursion do the right thing
2019-07-17Merge branch 'master' into i110/inspect-recursionYukihiro "Matz" Matsumoto
2019-07-16Merge pull request #4583 from ↵Yukihiro "Matz" Matsumoto
shuujii/set-MRB_STR_ASCII-flag-in-some-methods-of-String Copy receiver's `MRB_STR_ASCII` flag in some methods of `String`
2019-07-16Copy receiver's `MRB_STR_ASCII` flag in some methods of `String`KOBAYASHI Shuji
2019-07-16Merge pull request #4576 from dearblue/error-configurationYukihiro "Matz" Matsumoto
Error needed/conflicts configuration
2019-07-16Merge pull request #4580 from shuujii/unify-type-of-line-number-to-uint16_tYukihiro "Matz" Matsumoto
Unify type of line number to `uint16_t`
2019-07-16Merge pull request #4579 from ↵Yukihiro "Matz" Matsumoto
shuujii/keep-MRB_STR_ASCII-flag-in-some-methods-of-String Keep `MRB_STR_ASCII` flag in some methods of `String`
2019-07-15Unify type of line number to `uint16_t`KOBAYASHI Shuji
2019-07-15Add `MRB_API` to `mrb_str_modify_keep_ascii()`KOBAYASHI Shuji
2019-07-15Merge pull request #4578 from dearblue/improve-utf8lenYukihiro "Matz" Matsumoto
Improve `utf8len()` performance with UTF-8
2019-07-14Keep `MRB_STR_ASCII` flag in some methods of `String`KOBAYASHI Shuji
2019-07-14Merge pull request #4577 from dearblue/pack-unpackYukihiro "Matz" Matsumoto
Fix pack/unpack for base64; ref #4556
2019-07-14Improve `utf8len()` performance with UTF-8dearblue
2019-07-14Fix empty array refers; ref #4556dearblue
For example, `"".unpack("")` evaluates to `[]`.
2019-07-14Fix pack/unpack for base64; ref #4556dearblue
The pack/unpack "m" directive should be treated as a length rather than an element count.
2019-07-15Add pack/unpack test for base64dearblue
2019-07-14Error needed/conflicts configurationdearblue
The purpose is to clarify the error if there is a needed/conflicts configuration at compile time.
2019-07-13Use stack memory for small name of attr accessorsdearblue
Also integrated the common parts of `mrb_mod_attr_reader()` and `mrb_mod_attr_writer()` functions.
2019-07-13Merge pull request #4574 from shuujii/add-mruby-method-gem-to-default.gemboxYukihiro "Matz" Matsumoto
Add `mruby-method` gem to `default.gembox` [ci skip]
2019-07-13Add `mruby-method` gem to `default.gembox` [ci skip]KOBAYASHI Shuji
2019-07-13`Enumerable#detect` {and `#find`} should call `ifnone`; fix #4484Yukihiro "Matz" Matsumoto
It's an error in ISO specification; 15.3.2.2.4 and 15.3.2.2.7
2019-07-13Resolve ambiguous argument warning.Yukihiro "Matz" Matsumoto
2019-07-13Change type of a variable for signedness mismatch; ref #4573Yukihiro "Matz" Matsumoto
2019-07-13Avoid `mrb_funcall()` if possible using `mrb_Float()`; ref #4555Yukihiro "Matz" Matsumoto
2019-07-12Merge pull request #4571 from ↵Yukihiro "Matz" Matsumoto
shuujii/consider--MP-flag-specified-when-parsing-.d-file Consider `-MP` flag specified when parsing `.d` file
2019-07-12Merge pull request #4573 from dearblue/fix-4569Yukihiro "Matz" Matsumoto
Fix heap buffer overflow; fix #4569
2019-07-12Fix heap buffer overflow; fix #4569dearblue
2019-07-12Merge pull request #4572 from shuujii/lazy-load-tasks-toolchainsYukihiro "Matz" Matsumoto
Lazy load `tasks/toolchains/*.rake`
2019-07-12Lazy load `tasks/toolchains/*.rake`KOBAYASHI Shuji
2019-07-12Consider `-MP` flag specified when parsing `.d` fileKOBAYASHI Shuji
`-MP` flag is used in `tasks/toolchains/android.rake`.
2019-07-12Merge pull request #4569 from dearblue/improve-string-indexYukihiro "Matz" Matsumoto
Improve performance `String#index` with UTF-8
2019-07-11Add UTF-8 test for `String#index`dearblue
2019-07-11Improve performance `String#index` with UTF-8dearblue
Based on Boyer-Moore-Horspool algorithm (Quick Search algorithm). As a side effect, the correct position is returned even if an invalid UTF-8 string is given. ```console % ./mruby@master -e 'p ("\xd1" * 100 + "#").index("#")' 50 % ./mruby@improve-index -e 'p ("\xd1" * 100 + "#").index("#")' 100 ``` The other behavior should be the same as the current implementation.
2019-07-10Merge pull request #4568 from ↵Yukihiro "Matz" Matsumoto
shuujii/remove-an-unused-argument-of-str_with_class Remove an unused argument of `str_with_class()`
2019-07-10Remove an unused argument of `str_with_class()`KOBAYASHI Shuji
2019-07-09Merge pull request #4562 from ↵Yukihiro "Matz" Matsumoto
shuujii/set-MRB_STR_ASCII-flag-when-an-inline-symbol-is-stringized Set `MRB_STR_ASCII` flag when an inline symbol is stringized
2019-07-09Set `MRB_STR_ASCII` flag when an inline symbol is stringizedKOBAYASHI Shuji
2019-07-09Merge pull request #4560 from lopopolo/range-max-min-hangYukihiro "Matz" Matsumoto
Specialize Enumerable#max and Enumerable#min for Range
2019-07-09Revert Float dependency in Range#eachRyan Lopopolo
2019-07-09Fix Range#min fast path with exclusive rangeRyan Lopopolo
2019-07-09Add a fast path for Float and Fixnum ranges for Range#max and Range#minRyan Lopopolo
If no block is given and the Range has Fixnum or Float endpoints, do not iterate with each and instead compare the endpoints directly. This implementation passes all of the applicable specs from Ruby Spec.
2019-07-09Add Range#max and Range#min tests from Ruby SpecRyan Lopopolo
2019-07-09Remove attempt at spec-compliant Range#max and Range#min from coreRyan Lopopolo