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
Tomoyuki Sahara
49f6fa51d9
Merge pull request #8 from joans321/master
...
disable dir_seek and dir_tell on android platform
2015-08-13 20:19:58 +09:00
xuejianqing
6e30353dfd
disable dir_seek and dir_tell on android platform
2015-08-13 17:33:45 +08: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
Terence Lee
ec4982b2d3
define PATH_SEPARATOR
2015-08-02 17:35:07 +02:00
Terence Lee
5c055d670a
be able to source with :path for mrbgems
2015-08-02 15:03:12 +02:00
Yukihiro "Matz" Matsumoto
52a9712c26
link libncurses when there's /usr/include/curses.h; fix #2905
2015-08-01 16:16:22 +09:00
Yukihiro "Matz" Matsumoto
f0040b5371
vm: execute ensure without exception at the top of the fiber; fix #2904
2015-07-30 16:46:31 +09:00
Yukihiro "Matz" Matsumoto
89ebb0c4f1
vm: execute ensure at the top of the fiber; fix #2903
2015-07-30 16:45:31 +09:00
Yukihiro "Matz" Matsumoto
5b11d519d8
Merge pull request #2901 from cremno/fix-ruby-bug-11380
...
pop cmdarg in lambda body; fix [ruby-bug#11380]
2015-07-30 10:45:36 +09:00
cremno
1a98512831
always call frexp() instead of frexpl()
...
No values that can only be represented as long double
are passed since mrb_float is either float or double.
2015-07-29 21:05:33 +02:00
cremno
ca49936468
pop cmdarg in lambda body; fix [ruby-bug#11380]
...
regression introduced by 2fe556d9c0
2015-07-29 20:52:32 +02:00
Yukihiro "Matz" Matsumoto
0da057d99c
Merge pull request #2900 from joans321/enhance-mrbgem-build
...
mrbgem compile should be depend on mrbgem.rake
2015-07-29 11:44:23 +09:00
Yukihiro "Matz" Matsumoto
8f3f731589
Merge pull request #2899 from zzak/shallow-clone-mgem
...
Shallow clone mgem source
2015-07-29 11:41:32 +09:00
Tomoyuki Sahara
8527c78fb5
Merge pull request #22 from Asmod4n/master
...
added SO_NOSIGPIPE
2015-07-28 09:00:31 +09:00
Zachary Scott
923e04cf50
Shallow clone mgem source
2015-07-27 17:16:37 -04:00
Asmod4n
2929c629d4
added SO_NOSIGPIPE
2015-07-27 18:42:22 +02:00
Yukihiro "Matz" Matsumoto
1a8843d3de
Merge pull request #2898 from joans321/update-mrbgems-doc
...
update mrbgems doc
2015-07-27 18:17:00 +09:00
xuejianqing
578db292fd
mrbgem compile should be depend on mrbgem.rake
2015-07-27 12:22:23 +08:00
xuejianqing
54c853ff4a
update mrbgems doc
2015-07-26 21:52:56 +08:00
Yukihiro "Matz" Matsumoto
c9168341bf
Merge pull request #2897 from joans321/fix-android-gcc-version
...
fix android compile bug : uninitialized constant GCC_VERSION
2015-07-26 21:08:24 +09:00
Tomoyuki Sahara
de60400c64
Merge pull request #21 from expeditiousRubyist/master
...
Added functioning read for Win32
2015-07-25 20:09:20 +09:00
xuejianqing
007d26f168
fix android compile bug : uninitialized constant GCC_VERSION
2015-07-25 18:43:27 +08:00
Rubyist
f80a4fd0e8
Added functioning read for Win32
2015-07-25 00:24:31 -07:00