Yukihiro "Matz" Matsumoto
5af770cd59
prevent out-of-bounds ensure clause access; fix #2910
2015-08-10 11:41:01 +09:00
Yukihiro "Matz" Matsumoto
0c7d29dff6
FIXABLE() may work wrong on MRB_INT64; fix #2909
2015-08-07 15:30:52 +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
Yukihiro "Matz" Matsumoto
95412aeb50
better hash value from enumerables; fix #2906
2015-08-03 13:24:04 +09: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
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
Zachary Scott
923e04cf50
Shallow clone mgem source
2015-07-27 17:16:37 -04: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
xuejianqing
007d26f168
fix android compile bug : uninitialized constant GCC_VERSION
2015-07-25 18:43:27 +08:00
Yukihiro "Matz" Matsumoto
156dd27f88
Merge pull request #2896 from sagmor/custom-gcc-version
...
Add ability to change compiler versions for androideabi
2015-07-23 14:41:53 +09:00
Seba Gamboa
f01704477f
Add ability to change compiler versions for androideabi
2015-07-22 21:57:20 -03:00
Yukihiro "Matz" Matsumoto
0f5386db2e
Merge pull request #2894 from suzukaze/fix-docs
...
Fix indents; Indent is two spaces; Delete tabs [skip ci]
2015-07-20 11:15:48 +09:00
Jun Hiroe
18a0900a82
Fix indents; Indent is two spaces; Delete tabs [skip ci]
2015-07-19 23:04:13 +09:00
Yukihiro "Matz" Matsumoto
4ebe94725c
Merge pull request #2892 from Mav7/master
...
Added documentation for hash.
2015-07-18 16:19:27 +09:00
Ralph Desir(Mav7)
6619dc4d75
Deleted range and string markdowns for now.
2015-07-17 14:43:55 -04:00
Ralph Desir
f282d94793
Update hash.h.md
2015-07-17 14:25:15 -04:00
Ralph Desir
78a40fce88
Update hash.h.md
2015-07-17 14:21:13 -04:00
Yukihiro "Matz" Matsumoto
34fc856a45
Merge pull request #2890 from jbreeden/sub_pattern_not_found
...
Don't crash if pattern not found for sub
2015-07-17 11:37:30 +09:00
Jared Breeden
08c12ab7bf
Don't crash if pattern not found for sub
2015-07-16 15:33:07 -07:00
Yukihiro "Matz" Matsumoto
6c94b2d963
Merge pull request #2889 from takkaw/fix_build_cygwin64
...
64bit Cygwin also doesn't have frexpl(3)
2015-07-16 21:56:38 +09:00
Yukihiro "Matz" Matsumoto
4f37adfd5e
Merge pull request #2887 from cremno/use-mrb_str_cat_str-instead-of-mrb_str_append
...
use mrb_str_cat_str() instead of mrb_str_append()
2015-07-16 21:56:00 +09:00
Yukihiro "Matz" Matsumoto
31d085e795
Merge pull request #2888 from cremno/delete-non-nullptr-checks-before-mrb_free()-calls
...
delete mrb_free()-related non-NULL checks
2015-07-16 21:55:27 +09:00
takkaw
67e187f0f8
64bit Cygwin also doesn't have frexpl(3)
2015-07-16 18:40:07 +09:00
cremno
0f284091d1
delete mrb_free()-related non-NULL checks
...
No need to optimize since a program only exits once and errors are rare.
Also the mruby source code doesn't have these kind of checks elsewhere.
The ones in {Time,Random}#initialize are kept because there it actually
matters
since initialization always happens and re-initialization is unlikely.
2015-07-16 04:58:21 +02:00
cremno
938ed044f4
use mrb_str_cat_str() instead of mrb_str_append()
...
If the argument is always a string, then mrb_str_cat_str() can be
directly called instead of indirectly by mrb_str_append().
mrb_any_to_s(), mrb_obj_as_string(), mrb_inspect() always return a
string.
2015-07-16 03:56:31 +02:00
Yukihiro "Matz" Matsumoto
207577f0af
mrb_protect() to return the exception raised (with the state of true)
2015-07-15 14:47:15 +09:00
Yukihiro "Matz" Matsumoto
1085167fef
add an small comment description in mruby/error.h header
2015-07-15 14:47:15 +09:00
Yukihiro "Matz" Matsumoto
c0bf76d0a1
remove unused variable declaration
2015-07-15 14:47:15 +09:00
take_cheeze
f6b5a82972
Use class array instead of variadic.
2015-07-15 14:47:15 +09:00
take_cheeze
cdd72d9c37
Implement mrb_protect, mrb_ensure, mrb_rescue, mrb_rescue_exceptions.
...
(`mrb_rescue_exceptions` is mruby implementation of `rb_rescue2`.)
Closes #2844 , closes #2837 .
2015-07-15 14:46:56 +09:00
take_cheeze
2e4bc2de88
Refactor Build#compile_as_cxx.
2015-07-15 14:46:56 +09:00
Yukihiro "Matz" Matsumoto
69a2c5cc73
Merge pull request #2884 from jbreeden/doc_bang_modifier
...
Doc bang modifier
2015-07-14 15:32:47 +09:00
jbreeden
e92da7b76c
Fix typo
2015-07-13 23:26:29 -07:00
jbreeden
510e53d89f
Add ! documentation to mruby.h.md
2015-07-13 23:21:19 -07:00