summaryrefslogtreecommitdiffhomepage
path: root/mrbgems
AgeCommit message (Collapse)Author
2019-02-07Raise `NameError` for symbol struct access.Yukihiro "Matz" Matsumoto
2019-02-06Integrate definition of `MRuby::Build#exefile`KOBAYASHI Shuji
2019-02-06Merge pull request #4256 from shuujii/move-none-to-mrblib-enumYukihiro "Matz" Matsumoto
Move `NONE` to `mrblib/enum.rb`
2019-02-04Merge pull request #4260 from shuujii/fix-symbol-size-with-mrb_utf8_stringYukihiro "Matz" Matsumoto
Fix `Symbol#size` for multi-byte characters with `MRB_UTF8_STRING`
2019-02-04Fix `Symbol#size` for multi-byte characters with `MRB_UTF8_STRING`KOBAYASHI Shuji
Before: p :あ.size #=> 3 After: p :あ.size #=> 1
2019-02-03Use `mrb->eException_class` instead of `mrb_class_get()`KOBAYASHI Shuji
2019-02-01Move `NONE` to `mrblib/enum.rb`KOBAYASHI Shuji
2019-01-30Remove unneeded `dup` in `Enumerator#initialize`KOBAYASHI Shuji
2019-01-28`class`/`module` expression with empty body should return `nil`KOBAYASHI Shuji
Before: p(class A end) #=> A p(class << self; end) #=> #<Class:#<Object:0x7fdc3880e420>> p(module B end) #=> B After/Ruby: p(class A end) #=> nil p(class << self; end) #=> nil p(module B end) #=> nil
2019-01-28Use assertion methods in `FileTest` testsKOBAYASHI Shuji
2019-01-27Remove no meaning statements in `mruby-io` testsKOBAYASHI Shuji
2019-01-26fix Time about carry-up and carry-downtakkaw
2019-01-26Refine error message for time intervalKOBAYASHI Shuji
Time interval value can be zero, and float (in `Kernel#sleep`)
2019-01-25Merge pull request #4240 from shuujii/refactor-sleep-testYukihiro "Matz" Matsumoto
Use `assert_raise` and `assert_nothing_raised` in `mruby-sleep` tests
2019-01-25Merge pull request #4245 from shuujii/remove-assert_nothing_raised-in-io-testYukihiro "Matz" Matsumoto
Remove definition of `assert_nothing_raised` in `IO` test
2019-01-25Merge pull request #4246 from shuujii/use-assertion-methods-in-file-testYukihiro "Matz" Matsumoto
Use assertion methods in `File` test
2019-01-25Remove unused file for `mruby-io` testKOBAYASHI Shuji
2019-01-25Use assertion methods in `File` testKOBAYASHI Shuji
2019-01-25Remove definition of `assert_nothing_raised` in `IO` testKOBAYASHI Shuji
2019-01-25Merge pull request #4243 from ↵Yukihiro "Matz" Matsumoto
shuujii/remove-definition-of-sprintf-in-mruby-print Remove definition of `Kernel#sprintf` in `mruby-print`
2019-01-24Remove redundant `NULL` check for `mrb_malloc`KOBAYASHI Shuji
2019-01-24Remove definition of `Kernel#sprintf` in `mruby-print`KOBAYASHI Shuji
2019-01-21Use `assert_raise` and `assert_nothing_raised` in `mruby-sleep` testsKOBAYASHI Shuji
2019-01-20Rename `mruby-bin-mruby-config` mrbgem to `mruby-bin-config`KOBAYASHI Shuji
For brevity and consistency (e.g. `mruby-bin-strip` doesn't have `mruby-` after `bin-`).
2019-01-16Remove special treatments for `MRB_WITHOUT_FLOAT` in build scriptsKOBAYASHI Shuji
2019-01-10Merge pull request #4220 from shuujii/change-order-for-assertion-argsYukihiro "Matz" Matsumoto
Change the order of "expected" and "actual" in test
2019-01-09Change the order of "expected" and "actual" in testKOBAYASHI Shuji
2019-01-09Use `$mrbtest_io_wfname` for `chmod` test.Yukihiro "Matz" Matsumoto
2019-01-08Merge pull request #4219 from ↵Yukihiro "Matz" Matsumoto
shuujii/fix-dump-load-float-literal-evaluate-to-infinity Fix dump/load float leteral evaluate to infinity
2019-01-08Fix dump/load float leteral evaluate to infinityKOBAYASHI Shuji
Example: # example.rb p(2e308) p(-2e308) Good: $ bin/mruby example.rb inf -inf Bad: $ bin/mrbc example.rb $ bin/mruby -b example.mrb 0 -0 Cause: Float infinity representation is `inf` on dump and it is converted by corresponding `String#to_f` on load. Treatment: - Introduce new representations (`i`: +infinity, `I`: -infinity) - Allow old representations (`inf`, `-inf`, `infinity`, `-infinity`) too - Raise error for unknown representations (use corresponding `Kernel#Float`)
2019-01-08Export Time creation APItake-cheeze
2019-01-06Fix 0.0 and -0.0 handling.KOBAYASHI Shuji
Fix the following issue: Good: $ bin/mruby -e 'p(-0.0)' #=> "-0" Bad: $ bin/mruby -e 'a=0.0; p(-0.0)' #=> "0"
2019-01-04Remove `mrb_` prefix from static functions in `mruby-range-ext`; #4213Yukihiro "Matz" Matsumoto
2019-01-04Merge pull request #4210 from dearblue/enum-chainYukihiro "Matz" Matsumoto
Add enumerator chain feature (CRuby-2.6 compatible)
2019-01-04Merge pull request #4211 from dearblue/proc-compositionYukihiro "Matz" Matsumoto
Add proc composition feature (CRuby-2.6 compatible)
2019-01-04Merge pull request #4212 from shuujii/pack-remove-float-checkYukihiro "Matz" Matsumoto
pack: Remove redundant float check in pack_utf8()
2019-01-03pack: Remove redundant float check in pack_utf8()KOBAYASHI Shuji
The argument is converted to fixnum before calling.
2019-01-03Add test for Enumerator::Chaindearblue
2019-01-03Add test for #<< and #>> for Proc and Method classdearblue
2019-01-03Add enumerator chain feature (CRuby-2.6 compatible)dearblue
- Enumerator::Chain - Enumerable#chain - Enumerable#+
2019-01-03Add proc composition feature (CRuby-2.6 compatible)dearblue
- Proc#<< and Proc#>> - Method#<< and Method#>>
2019-01-03Remove `Kernel#class_defined?` which is not available in CRuby; #3829Yukihiro "Matz" Matsumoto
2019-01-03`mruby-inline-struct` to support `MRB_WITHOUT_FLOAT`.Yukihiro "Matz" Matsumoto
2019-01-02Merge pull request #4208 from shuujii/io-skip-tty-testYukihiro "Matz" Matsumoto
io: Skip TTY test for environments that TTY device is unavailable.
2019-01-01io: Skip TTY test for environments that TTY device is unavailable.KOBAYASHI Shuji
e.g. GitLab CI
2019-01-01range: Embed edges in RRange on boxing environment.KOBAYASHI Shuji
[Breaking changes] Developers must use following APIs for accessing attributes of RRange because RRange structure depends on boxing setting. - mrb_range_beg - mrb_range_end - mrb_range_excl_p
2018-12-31Should not check non-node value to `void_expr_error`; fix #4203Yukihiro "Matz" Matsumoto
This is also a reason for #4192 as well.
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-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-25Simplify full-core.gemboxKOBAYASHI Shuji
Dependencies order is auto detected.