KOBAYASHI Shuji
|
486154ce34
|
Remove unused macro in src/string.c
|
2019-01-29 20:21:25 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
c02c4047f8
|
Merge pull request #4252 from shuujii/class-expr-with-empty-body-should-return-nil
`class`/`module` expression with empty body should return `nil`
|
2019-01-28 23:14:22 +09:00 |
|
KOBAYASHI Shuji
|
abbc501433
|
class/module expression with empty body should return nil
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-28 21:29:55 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
1b597f9da4
|
Merge pull request #4249 from takkaw/fix_time_carry_up_and_down
fix Time about carry-up and carry-down
|
2019-01-27 11:41:31 +09:00 |
|
takkaw
|
995a329bf4
|
fix Time about carry-up and carry-down
|
2019-01-26 23:19:53 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
8a988643e8
|
Merge pull request #4241 from shuujii/fix-tests-for-string-reverse-with-mrb-utf8-string
Fix tests for `String#reverse` with `MRB_UTF8_STRING`
|
2019-01-26 22:34:05 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
a03e721408
|
Merge pull request #4237 from dearblue/fix-memleak-Data_Wrap_Struct
Fix memory leak `sval` when out of memory in `Data_Wrap_Struct()`
|
2019-01-26 22:33:23 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
2f62178dda
|
Merge pull request #4235 from shuujii/avoid-side-effect-when-run-rake
Avoid a side effect when run Rake without execution of tasks
|
2019-01-26 22:19:00 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
1e67c98c85
|
Merge pull request #4248 from shuujii/refine-error-message-for-time-interval
Refine error message for time interval
|
2019-01-26 22:17:31 +09:00 |
|
KOBAYASHI Shuji
|
1cd57006f3
|
Refine error message for time interval
Time interval value can be zero, and float (in `Kernel#sleep`)
|
2019-01-26 18:37:53 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
aee67eaf62
|
Merge pull request #4240 from shuujii/refactor-sleep-test
Use `assert_raise` and `assert_nothing_raised` in `mruby-sleep` tests
|
2019-01-25 22:47:56 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
fc5dc5270c
|
Merge pull request #4245 from shuujii/remove-assert_nothing_raised-in-io-test
Remove definition of `assert_nothing_raised` in `IO` test
|
2019-01-25 22:47:15 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
a2615900c0
|
Merge pull request #4246 from shuujii/use-assertion-methods-in-file-test
Use assertion methods in `File` test
|
2019-01-25 22:46:12 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
89a76f4a49
|
Merge pull request #4247 from shuujii/remove-unused-file-for-mruby-io-test
Remove unused file for `mruby-io` test
|
2019-01-25 22:45:08 +09:00 |
|
KOBAYASHI Shuji
|
b91a17b33b
|
Remove unused file for mruby-io test
|
2019-01-25 20:35:55 +09:00 |
|
KOBAYASHI Shuji
|
e9a6ec05b6
|
Use assertion methods in File test
|
2019-01-25 20:12:24 +09:00 |
|
KOBAYASHI Shuji
|
bdbbac999f
|
Remove definition of assert_nothing_raised in IO test
|
2019-01-25 20:02:45 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
671447964f
|
Merge pull request #4243 from shuujii/remove-definition-of-sprintf-in-mruby-print
Remove definition of `Kernel#sprintf` in `mruby-print`
|
2019-01-25 08:15:27 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
8eddcbf53d
|
Merge pull request #4244 from shuujii/remove-redundant-null-check-for-mrb_malloc
Remove redundant `NULL` check for `mrb_malloc`
|
2019-01-24 22:20:56 +09:00 |
|
KOBAYASHI Shuji
|
a4c5fcc038
|
Remove redundant NULL check for mrb_malloc
|
2019-01-24 20:53:40 +09:00 |
|
KOBAYASHI Shuji
|
1d6679e9d1
|
Remove definition of Kernel#sprintf in mruby-print
|
2019-01-24 20:44:55 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
5956f5b4e8
|
Merge pull request #4242 from shuujii/remove-no-meaning-statement
[ci skip] Remove no meaning statement in `bm_app_lc_fizzbuzz.rb`
|
2019-01-23 21:50:09 +09:00 |
|
KOBAYASHI Shuji
|
f54262776e
|
[ci skip] Remove no meaning statement in bm_app_lc_fizzbuzz.rb
|
2019-01-23 21:19:39 +09:00 |
|
KOBAYASHI Shuji
|
6d5a62cf5f
|
Fix tests for String#reverse with MRB_UTF8_STRING
|
2019-01-22 19:37:14 +09:00 |
|
KOBAYASHI Shuji
|
3707ef3d1c
|
Use assert_raise and assert_nothing_raised in mruby-sleep tests
|
2019-01-21 19:37:20 +09:00 |
|
dearblue
|
d6d02774c5
|
Fix memory leak sval when out of memory in Data_Wrap_Struct()
|
2019-01-20 14:23:22 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
b83e4df43d
|
Merge pull request #4236 from shuujii/remove-gitkeep
Remove `.gitkeep` files
|
2019-01-20 10:30:12 +09:00 |
|
KOBAYASHI Shuji
|
dff0f2ee10
|
Remove .gitkeep files
|
2019-01-19 20:40:21 +09:00 |
|
KOBAYASHI Shuji
|
107dc0c778
|
Avoid a side effect when run Rake without execution of tasks
Avoid directory creation when run `rake -T` etc.
|
2019-01-18 23:29:35 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
cb1946f26c
|
Merge pull request #4233 from shuujii/remove-special-treatments-for-without-float-in-build-scripts
Remove special treatments for `MRB_WITHOUT_FLOAT` in build scripts
|
2019-01-18 16:17:58 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
3d32be6f3e
|
Merge pull request #4231 from shuujii/avoid-runtime-eval-for-without-float
Avoid runtime evaluation for `MRB_WITHOUT_FLOAT`
|
2019-01-18 16:16:48 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
9a2366ded6
|
Merge pull request #4234 from shuujii/fix-assertion-name-for-numeric-test
Fix assertion name for `Numeric#**` test
|
2019-01-18 16:16:19 +09:00 |
|
KOBAYASHI Shuji
|
cfe3654fd1
|
Fix assertion name for Numeric#** test
|
2019-01-17 21:16:02 +09:00 |
|
KOBAYASHI Shuji
|
366a14f297
|
Remove special treatments for MRB_WITHOUT_FLOAT in build scripts
|
2019-01-16 23:48:59 +09:00 |
|
KOBAYASHI Shuji
|
8969edf03b
|
Avoid runtime evaluation for MRB_WITHOUT_FLOAT
|
2019-01-16 19:32:29 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
fa34a8b5be
|
Merge pull request #4230 from shuujii/fix-coercing-for-step-counter-in-numeric-step
Fix coercing for first step counter in `Numeric#step`
|
2019-01-15 22:27:40 +09:00 |
|
KOBAYASHI Shuji
|
de5da4b7f6
|
Fix coercing for first step counter in Numeric#step
Before:
a=[]; 7.step(4, -3.0) { |c| a << c }; p a #=> [7, 4.0]
After / Ruby:
a=[]; 7.step(4, -3.0) { |c| a << c }; p a #=> [7.0, 4.0]
|
2019-01-15 21:41:54 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
348442dd5e
|
Merge pull request #4228 from shuujii/sort-gitignore
[ci skip] Sort `.gitignore`
|
2019-01-15 20:09:00 +09:00 |
|
KOBAYASHI Shuji
|
adfc2d08c9
|
[ci skip] Sort .gitignore
|
2019-01-15 19:30:15 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
127d355bf8
|
Merge pull request #4226 from dearblue/fix-build-cxx-exc
Build fails when set `conf.build_dir=<rel path>` and `conf.enable_cxx_exception`
|
2019-01-15 11:00:05 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
4797542b71
|
Merge pull request #4227 from shuujii/ignore-compiler-tmp-files
Ignore compiler temporary files (for `-save-temps` flag)
|
2019-01-15 10:57:44 +09:00 |
|
KOBAYASHI Shuji
|
bb52efd0fc
|
Ignore compiler temporary files (for -save-temps flag)
|
2019-01-14 21:45:57 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
17333bde3a
|
Merge pull request #4222 from shuujii/use-g-instead-of-e
Use `%g` instead of `%e` for float representation in dump format
|
2019-01-14 19:13:48 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
348526e1ad
|
Merge pull request #4225 from shuujii/improve-compatibility-to-cruby-for-float-to_s
Improve compatibility to CRuby for `Float#to_s`
|
2019-01-14 19:13:09 +09:00 |
|
dearblue
|
a7c2ef9dab
|
Fix build failed when set conf.build_dir=<rel path> and conf.enable_cxx_exception
|
2019-01-14 15:21:21 +09:00 |
|
KOBAYASHI Shuji
|
0e04c46261
|
Use 2 digits exponent format for printf family on old MSVC
For conforming C standard.
|
2019-01-13 23:24:57 +09:00 |
|
KOBAYASHI Shuji
|
9f081183d2
|
Improve compatibility to CRuby for Float#to_s
Bfore:
Float::INFINITY.to_s #=> "inf"
50.0.to_s #=> "50"
1e20.to_s #=> "1e+20"
After / CRuby:
Float::INFINITY.to_s #=> "Infinity"
50.0.to_s #=> "50.0"
1e20.to_s #=> "1.0e+20"
|
2019-01-13 19:59:22 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
c1b92f88a2
|
Merge pull request #4224 from shuujii/use-__send__-instead-of-send
Use `__send__` instead of `send`; ref #4207
|
2019-01-13 08:03:14 +09:00 |
|
KOBAYASHI Shuji
|
8b951710fe
|
Use __send__ instead of send; ref #4207
|
2019-01-12 22:21:34 +09:00 |
|
KOBAYASHI Shuji
|
2d8aec2b88
|
Use %g instead of %e for float representation in dump format
`%g` use shorter representation than `%e`.
|
2019-01-11 19:54:46 +09:00 |
|