Yukihiro "Matz" Matsumoto
c6aa87c837
Merge pull request #2924 from zzak/mruby-test
...
Extract mrbtest to binary gem
2015-09-03 00:43:21 +09:00
Yukihiro "Matz" Matsumoto
e35c3aff83
unsigned long may be smaller than mrb_int; use uint64_t instead; fix #2935
2015-09-03 00:14:37 +09:00
Yukihiro "Matz" Matsumoto
3a462fe468
Integer << and >> to use Float instead of raising RangeError
2015-09-02 23:41:51 +09:00
Zachary Scott
87564dc98f
Make travis happy
...
We have do this because mruby's test files are found using MRUBY_ROOT, like this:
mrbs = Dir.glob("#{MRUBY_ROOT}/test/t/*.rb")
2015-09-02 09:56:27 -04:00
Yukihiro "Matz" Matsumoto
74696ffd96
Float << and >> should be more compatible to Fixnum
2015-09-02 22:29:01 +09:00
Yukihiro "Matz" Matsumoto
6ddd79fd0e
ensure must not be called before rescue; fix #2933
2015-09-02 21:46:51 +09:00
Yukihiro "Matz" Matsumoto
a8c5df2442
Merge pull request #2934 from zzak/master
...
Typo in mruby-bin-debugger/mrbgem.rake
2015-09-02 15:11:17 +09:00
Yukihiro "Matz" Matsumoto
6b32fa676f
Merge pull request #2932 from jbreeden/cpp11_compatibility_fix
...
C++11 Build Error: C++11 requires a space between literal and identifiers
2015-09-02 15:10:51 +09:00
Yukihiro "Matz" Matsumoto
14f0e4a4e4
update string.h.md; ref #2931
2015-09-02 15:09:50 +09:00
Yukihiro "Matz" Matsumoto
7ce5b21c1d
Merge pull request #2931 from Mav7/master
...
Updated string.h.md
2015-09-02 15:08:06 +09:00
Zachary Scott
c0ff5b475f
Typo in mruby-bin-debugger/mrbgem.rake
2015-09-01 23:43:36 -04:00
jbreeden
5ed13da7d6
C++ 11 requires a space between literal and identifiers
2015-09-01 18:12:53 -07:00
Zachary Scott
80598f40bf
mruby-test should be opt-in
2015-09-01 20:54:27 -04:00
Ralph Desir
8ad8c547dd
Update string.h.md
2015-09-01 13:50:27 -04:00
Yukihiro "Matz" Matsumoto
64d7dec457
Merge pull request #2930 from suzukaze/version2
...
Refactor version macros, and add a global const variable
2015-09-01 15:01:03 +09:00
Jun Hiroe
e9b4cb11cf
Add a global const variable MRUBY_RELEASE_NO
2015-09-01 13:55:08 +09:00
Jun Hiroe
a2385c05f5
Refactor version.h macros
2015-09-01 13:54:52 +09:00
Yukihiro "Matz" Matsumoto
87f1281cec
Merge pull request #2929 from Mav7/master
...
C string.h API documentation.
2015-09-01 12:45:23 +09:00
Yukihiro "Matz" Matsumoto
9257ee6433
Merge pull request #2927 from hone/bintest_subfolders
...
run bintests within subfolders of bintest/
2015-09-01 12:41:07 +09:00
Ralph Desir
d78d001734
Update string.h.md
2015-08-31 23:16:45 -04:00
Terence Lee
b432f12fdd
run bintests within subfolders of bintest/
2015-08-31 18:54:42 -04:00
Ralph Desir
00dd2dfa39
Update string.h.md
2015-08-31 14:11:17 -04:00
Ralph Desir
a2f6152be8
Update string.h.md
2015-08-30 23:55:55 -04:00
Ralph Desir(Mav7)
0f2b3643ba
Added string markdown.
2015-08-30 20:20:45 -04:00
Yukihiro "Matz" Matsumoto
43b93126e7
Merge pull request #2925 from suzukaze/test-string-freeze
...
Add String#freeze test
2015-08-27 21:55:45 +09:00
Jun Hiroe
69e835cd0f
Add String#freeze test
2015-08-27 21:44:56 +09:00
Yukihiro "Matz" Matsumoto
1a45447b8b
add String#freeze to the core
2015-08-27 17:54:30 +09:00
Zachary Scott
133d57cb0d
Add mruby-test build config and update :test task to use mrbgem binary
...
Removed old mrbgems_test.rake which was merged into mrbgem spec
2015-08-22 10:21:52 -04:00
Zachary Scott
c7d0f8ebcb
Refactor test/mrbtest.rake and tasks/mrbgems_test.rake into mrbgem.rake
2015-08-22 10:20:15 -04:00
Zachary Scott
383a7d24d3
Move test source code and rake task to mrbgem
2015-08-22 10:18:12 -04:00
Yukihiro "Matz" Matsumoto
87e11676b3
Merge pull request #2923 from yasuyuki/nil
...
Use #nil? instead of == nil.
2015-08-22 21:20:36 +09:00
Yukihiro "Matz" Matsumoto
fd2f2f28de
Merge pull request #2922 from gkta/refactor-mrubygem-code
...
Refactor mrubygem code (range.rb, numeric.rb, string.rb, array.rb, enum.rb)
2015-08-22 21:19:34 +09:00
INOUE Yasuyuki
0d055559f1
Use #nil? instead of == nil.
2015-08-22 19:57:11 +09:00
go.kikuta
85f0dd7da0
enum.rb: refactor code (remove redundant code)
2015-08-21 14:56:49 +09:00
go.kikuta
931a7223e6
array.rb: refactor (use onliner code if possible)
2015-08-21 14:56:49 +09:00
go.kikuta
11524f6f67
string.rb: refactor code (remove redundant code)
2015-08-21 14:54:01 +09:00
go.kikuta
cb870de2b5
numeric.rb: refactor code (Avoid using {...} for multi-line blocks, Surrounding space missing in default value assignment)
2015-08-21 14:54:00 +09:00
go.kikuta
cf588bd5cb
range.rb: refactor code (use ! instead of not, use favor modifier if and unless usage when having a single-line body)
2015-08-21 14:54:00 +09:00
Yukihiro "Matz" Matsumoto
71f2975a5b
Merge pull request #2921 from gkta/refactor-array
...
array.rb: refactor some code
2015-08-20 13:18:05 +09:00
go.kikuta
c326f065e1
array.rb: refactor some code
2015-08-19 16:17:06 +09:00
Yukihiro "Matz" Matsumoto
05625cd658
Merge pull request #2920 from cremno/fix-irep-float-dump-format-string-for-mrb_use_float
...
irep dump: fix format string for MRB_USE_FLOAT
2015-08-18 04:09:07 +09:00
Yukihiro "Matz" Matsumoto
15f2787033
Merge pull request #2919 from cremno/delete-duplicate-definition-of-exception-exception
...
delete duplicate definition of Exception.exception
2015-08-18 04:08:42 +09:00
cremno
eec00ccf60
delete duplicate definition of Exception.exception
...
It overwrote the original definition in src/error.c, line 446.
2015-08-17 20:51:25 +02:00
cremno
ad50a6c410
fix irep float dump format string for MRB_USE_FLOAT
...
IEC 60559 single format has 6 to 9 significant decimal digits precision.
However the printf conversion specifier e (and E, of course) already
writes 1 digit - the one before the decimal point - and precision
specifies the number of digits to write after the decimal point.
2015-08-17 20:39:24 +02:00
Yukihiro "Matz" Matsumoto
a1731254be
Merge pull request #2913 from gkta/remove-duplicate-len-check
...
Remove duplicated RARRAY_LEN check in ary_elt
2015-08-12 12:11:43 +09:00
go.kikuta
c7fad5aa33
Remove duplicated RARRAY_LEN check
2015-08-12 10:20:55 +09:00
Yukihiro "Matz" Matsumoto
1fd9dca510
Merge pull request #2912 from gkta/remove-nonneed-tmp-value
...
Remove non-need tmp value in mrb_obj_to_sym
2015-08-11 19:24:36 +09:00
go.kikuta
96c948d812
Remove non-need tmp value
2015-08-11 18:02:12 +09:00
Yukihiro "Matz" Matsumoto
2574adab48
compiler: allow "class A end" by tweaking the superclass rule like CRuby2.3
2015-08-11 16:27:48 +09:00
Yukihiro "Matz" Matsumoto
e4f32ad9ad
codegen: don't need to genop(); just update s->iseq directly
2015-08-10 15:19:32 +09:00