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 |
|
Tomoyuki Sahara
|
99e10b8dc4
|
File::ALT_SEPARATOR is always defined (some string or nil).
|
2015-12-08 16:44:13 +09:00 |
|
Tomoyuki Sahara
|
4acfd1c7d2
|
Merge pull request #56 from takahashim/fix-flock
Fix for windows(mingw)
|
2015-12-08 12:55:38 +09:00 |
|
takahashim
|
dd754220ce
|
Fix for windows(mingw)
* File.expand_path: support drive letter and ALT_SEPARATOR
* File.dirname: support ALT_SEPARATOR
* File.basename: ditto.
* IO.popen: raise NotImplementedError
* IO.pipe: ditto.
* `cmd`: ditto.
* File#flock: ditto.
* FileTest.pipe?: ditto.
* FileTest.symlink?: ditto.
* FileTest.socket?: ditto.
|
2015-12-08 00:29:42 +09:00 |
|
Tomoyuki Sahara
|
68de1e4fc5
|
Merge pull request #55 from takahashim/separator
fix file separator
|
2015-12-07 16:00:46 +09: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 |
|
takahashim
|
0f5b8b66b0
|
fix file separator
* File::SEPARATOR should be "/"
* File::ALT_SEPARATOR should be "\\" or nil.
|
2015-12-04 15:36:41 +09:00 |
|
Tomoyuki Sahara
|
6c67120ed4
|
Merge pull request #54 from takahashim/win-crlf
fix tests for Win: use binary mode
|
2015-12-03 12:22:59 +09:00 |
|
takahashim
|
b19c315148
|
fix tests for Win: use binary mode
|
2015-12-02 21:47:46 +09:00 |
|
Tomoyuki Sahara
|
7337bfa497
|
Merge pull request #53 from takahashim/build-win32
build on Win32
|
2015-12-02 10:13:15 +09:00 |
|
takahashim
|
07ceb138fa
|
build on Win32
|
2015-12-02 00:10:43 +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 |
|
Tomoyuki Sahara
|
07f1ebd26d
|
symlink(2) returns -1 when it fails.
|
2015-11-24 17:09:00 +09:00 |
|
Tomoyuki Sahara
|
11ffb93852
|
assert_nothing_raised is not available on mruby 1.0.0.
|
2015-11-24 17:00:12 +09:00 |
|
Tomoyuki Sahara
|
ca495944b6
|
Merge pull request #51 from ksss/io-pipe
Implement IO.pipe
|
2015-11-24 16:49:34 +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 |
|
ksss
|
a55accd736
|
Implement IO.pipe
|
2015-11-24 14:24:24 +09:00 |
|
Tomoyuki Sahara
|
c9a4091b83
|
arguments can be shared strings.
|
2015-11-24 09:54:03 +09:00 |
|