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
Tomoyuki Sahara
5fa3c39145
variables are not used on the platforms lack FD_CLOEXEC.
2015-08-27 09:56:17 +09:00
Tomoyuki Sahara
6c4d39412f
Merge pull request #30 from ksss/cloexec
...
Opened fd should be set FD_CLOEXEC by default
2015-08-26 17:37:21 +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
Tomoyuki Sahara
042e4a4313
Merge pull request #43 from jkutner/master
...
Made FILE_SEPERATOR platform dependent
2015-08-21 09:20:32 +09:00
Joe Kutner
2467332c93
Made FILE_SEPERATOR platform dependent
2015-08-20 07:22:48 -05: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
felixjones
8e72558bac
Added mrb_get_argc and mrb_get_mid
2015-08-16 23:41:21 +01: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
Tomoyuki Sahara
efaf74672e
Merge pull request #42 from hone/path_separator
...
define PATH_SEPARATOR
2015-08-12 09:06:34 +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
Yukihiro "Matz" Matsumoto
dfaff83eba
codegen: add peep hole optimization to skip overridden OP_MOVE
2015-08-10 15:11:00 +09:00
Yukihiro "Matz" Matsumoto
b34ee9a4b4
codegen: reserve stack region for OP_APOST; fix #2824
2015-08-10 14:55:48 +09:00
Yukihiro "Matz" Matsumoto
5af770cd59
prevent out-of-bounds ensure clause access; fix #2910
2015-08-10 11:41:01 +09:00
Tomoyuki Sahara
5323498033
Merge pull request #23 from expeditiousRubyist/master
...
Changed Windows IO overrides to use sysread and syswrite instead
2015-08-10 10:36:14 +09:00
Yukihiro "Matz" Matsumoto
0c7d29dff6
FIXABLE() may work wrong on MRB_INT64; fix #2909
2015-08-07 15:30:52 +09:00
Tomoyuki Sahara
e8efd10bd9
make pack_l simpler.
2015-08-07 11:51:01 +09:00
Tomoyuki Sahara
4603047eb1
update installation procedure.
2015-08-07 11:49:56 +09:00
Tomoyuki Sahara
359d2ae6fd
support "q" and "Q". closes #7 .
2015-08-07 11:48:45 +09:00
Tomoyuki Sahara
d34db58797
implicit type conversion caused unexpected result. fixes #8 .
2015-08-06 15:38:35 +09:00
Yukihiro "Matz" Matsumoto
4fdf492219
add String#setbyte and String#byteslice to mruby-string-ext
2015-08-05 11:28:41 +09:00
Yukihiro "Matz" Matsumoto
6f745e211f
Merge pull request #2908 from BanzaiMan/ha-feature-containers
...
Add build on Trusty and OS X
2015-08-04 11:03:27 +09:00
Hiro Asari
bfcc55fbf9
Try building on Xcode 6.4
...
The default 6.1 was slow
2015-08-03 20:34:45 -04:00
Hiro Asari
e3361fbc2a
Add OS X build to the matrix
2015-08-03 20:25:35 -04:00
Hiro Asari
fca9522af3
Build matrix of size 2
2015-08-03 19:55:44 -04:00
Hiro Asari
dd612950b4
Update package list
2015-08-03 19:47:49 -04:00
Hiro Asari
996d0c0345
Set language, and use the new Trusty env
2015-08-03 19:22:46 -04:00
Yukihiro "Matz" Matsumoto
65066f1799
Merge pull request #2907 from hone/path
...
be able to source with :path for mrbgems
2015-08-03 21:20:57 +09:00
unknown
c43a08314e
Changed IO overrides to use sysread and syswrite instead of read and write
2015-08-03 04:12:10 -07:00
Yukihiro "Matz" Matsumoto
95412aeb50
better hash value from enumerables; fix #2906
2015-08-03 13:24:04 +09:00