Yukihiro "Matz" Matsumoto
|
d18c55fca7
|
mrb_str_len_to_inum(): fixed a bug with underscores in digits; fix #3049
|
2015-12-16 14:49:08 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
80c1c60762
|
Merge pull request #3047 from csouls/rafactor_array_ruby_extension
Remove redundant conditions of Array#each in ruby extension
|
2015-12-16 01:03:20 +09:00 |
|
Yusuke Tanaka
|
d3f59db597
|
Remove redundant conditions of Array#each in ruby extension
|
2015-12-15 19:54:29 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
2a234a93d7
|
mrb_str_len_to_inum(): string may not be NUL terminated; ref #3043
|
2015-12-14 10:59:56 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
19c744e14d
|
mrb_str_len_to_inum(): fixed a bug with separating _ in the digits; ref #3043
|
2015-12-14 10:59:56 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
4a6a11486c
|
Merge pull request #3045 from Mav7/master
Added YARD docs in new mruby.h
|
2015-12-13 15:49:43 +09:00 |
|
Ralph Desir
|
af33394281
|
Undid newline and whitespace on YARD doc
|
2015-12-12 20:21:53 -05:00 |
|
Ralph Desir
|
e27985416f
|
One space indentation.
|
2015-12-12 18:28:42 -05:00 |
|
Yukihiro "Matz" Matsumoto
|
26a25e1666
|
mrb_str_len_to_inum: should not raise "string contains null byte" error on "0x"; fix #3043
|
2015-12-12 16:33:48 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
ad333cd191
|
mrb_str_len_to_inum: converting may not be terminated by NUL; fix #3044
|
2015-12-12 16:33:48 +09:00 |
|
Ralph Desir(Mav7)
|
4e267d74c6
|
Added YARD docs in new mruby.h
|
2015-12-11 01:52:44 -05:00 |
|
Yukihiro "Matz" Matsumoto
|
b9e5be6a1c
|
Merge pull request #3041 from zzak/travis-osx
Test against latest xcode
|
2015-12-07 15:27:33 +09:00 |
|
Zachary Scott
|
95edcc8f58
|
Test against latest xcode
/cc @banzaiman
https://github.com/mruby/mruby/commit/bfcc55fbf98665b33ca7110349aeb66d3ef0df1d#commitcomment-14812510
|
2015-12-07 15:10:58 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
9a21aa2d3c
|
preserve original string for error message
|
2015-12-01 21:42:07 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
ca417dac26
|
mrb_str_len_to_inum(): inspect string in error message
|
2015-12-01 21:41:53 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
36fabe104b
|
new API function mrb_string_value_len()
|
2015-12-01 16:18:01 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
0701236dac
|
mrb_str_to_inum(): should treat null byte in strings properly; fix #3040
|
2015-12-01 16:11:47 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
d3a56a6949
|
mrb_cstr_to_inum(): should ignore trailing white spaces even when badcheck set
|
2015-12-01 11:14:22 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
dbb8cf637e
|
mrb_str_to_inum(): should raise error when string contains null byte
|
2015-12-01 11:13:32 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
9f2fca6ebe
|
mrb_str_to_inum(): no need to call mrb_string_value_cstr() here; ref 05411ee
|
2015-12-01 10:54:00 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
05411ee15e
|
mrb_string_value_cstr() should not raise error for frozen strings
cf. http://qiita.com/tsahara@github/items/b2a442af95ac893e10a1 (Japanese).
|
2015-12-01 10:45:43 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
85bd99757c
|
avoid comparison between signed and unsigned
|
2015-12-01 10:18:01 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
1636ad41a6
|
C++ compiler does not like cast from pointer to enum; ref #3039
|
2015-12-01 10:17:35 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
c2996514d3
|
should ignore block to next, break, etc. fix #3039
|
2015-12-01 09:38:42 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
81a7b4039b
|
Merge pull request #3038 from zzak/gc-arena-docs
GC Arena docs pass for fixups
|
2015-11-30 10:34:11 +09:00 |
|
Zachary Scott
|
dce300517f
|
GC Arena docs pass for fixups
|
2015-11-30 10:09:43 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
065966dae4
|
common.h are supposed to be included from other header, so call it with quotes; ref #3032
|
2015-11-28 00:10:38 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
6f831ef21c
|
Merge pull request #3037 from pbosetti/mruby-time
Implemented round(double) function when _MSC_VER < 1800
|
2015-11-27 23:31:56 +09:00 |
|
Paolo Bosetti
|
67e3cdfa76
|
Implemented round(double) function within mruby-time gem, for it is missing on
VisualStudio compilers where _MSC_ver < 1800
|
2015-11-27 10:54:03 +01:00 |
|
Yukihiro "Matz" Matsumoto
|
9a41db6f3a
|
Merge pull request #2950 from mattn/mirb-file-args
mirb should take filename and arguments.
|
2015-11-27 17:49:35 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
5c405dea3d
|
include changed from by quotes ("") to by brackets (<>); close #3032
|
2015-11-27 17:48:23 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
2e0519de89
|
Merge pull request #3036 from zzak/remove-mrbtest_irep
Remove mrbtest irep
|
2015-11-26 01:03:55 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
6dbc314ad2
|
Merge pull request #3035 from iij/pr-yard-mrb_str_to_cstr
YARD doc for mrb_str_to_cstr.
|
2015-11-26 01:03:08 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
2fb12bd90e
|
Merge pull request #3034 from takahashim/try_convert
add {Array|Hash|String}.try_convert
|
2015-11-26 01:02:38 +09:00 |
|
Zachary Scott
|
1ef2faf1a6
|
Remove unnecessary dependencies for assert_rb codegen and test_rbireps
|
2015-11-24 16:33:40 +09:00 |
|
Zachary Scott
|
e7a301828f
|
Remove mrbtest_irep from mrbtest
If we make the core tests a dependency on the mruby-test gem,
we don't need to worry about maintaining the core test irep alone.
|
2015-11-24 16:32:17 +09:00 |
|
Tomoyuki Sahara
|
90b7ec88dc
|
YARD doc for mrb_str_to_cstr.
|
2015-11-24 16:03:58 +09:00 |
|
takahashim
|
621487a0cd
|
add {Array|Hash|String}.try_convert
|
2015-11-24 08:39:39 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
625a3fee77
|
Merge pull request #3033 from sgnr/compiler-fix-mrb-disable-stdio-typo
Fix MRB_DISABLE_STDIO typo.
|
2015-11-24 07:44:54 +09:00 |
|
Simon Génier
|
058ffcb29c
|
Fix MRB_DISABLE_STDIO typo.
|
2015-11-23 11:05:33 -05:00 |
|
Yukihiro "Matz" Matsumoto
|
18190fa77e
|
Merge pull request #3030 from takahashim/nonzero
Support Numeric#zero? and Numeric#nonzero?
|
2015-11-21 00:09:17 +09:00 |
|
takahashim
|
40a9700ef8
|
support Numeric#zero? and Numeric#nonzero?
|
2015-11-20 23:39:45 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
0e721efe9c
|
Merge pull request #3028 from sgnr/fix-mrb-disable-stdio-typo
Fix typo on MRB_DISABLE_STDIO.
|
2015-11-20 10:58:33 +09:00 |
|
Simon Génier
|
40f237e938
|
Fix typo on MRB_DISABLE_STDIO.
|
2015-11-19 17:03:34 -05:00 |
|
Yukihiro "Matz" Matsumoto
|
2aca5ab479
|
Merge pull request #3027 from pbosetti/master
Fix check for VisualStudio Version in mruby-math gem
|
2015-11-19 22:51:03 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
abc724840e
|
formatting buffer should be bigger for negative dots; ref #3025
|
2015-11-19 22:49:50 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
f974880563
|
binary format no longer need to preserve org_v
|
2015-11-19 22:49:50 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
996417cabf
|
integer range check was moved to mrb_flo_to_fixnum(); ref #3025
|
2015-11-19 22:49:50 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
09abdcb5e8
|
negative binary format should not be masked by 10bits; ref #3025
|
2015-11-19 22:49:50 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
1a9b607a4d
|
binary sprintf should not be restricted by mrb_int size; fix #3025
|
2015-11-19 22:49:50 +09:00 |
|