Yukihiro "Matz" Matsumoto
ddd1bfda02
type of mrb_type() should be enum mrb_vtype when MRB_NAN_BOXING is on
2014-03-15 14:30:17 +09:00
Yukihiro "Matz" Matsumoto
fc75cff14e
Merge pull request #1859 from ksss/enumerator
...
Fix Enumerator
2014-03-15 11:35:02 +09:00
ksss
447764763c
add test for Array#each_index if non block given
2014-03-15 08:21:39 +09:00
ksss
4f8e11ae57
optimize from each to enumerator_block_call
2014-03-15 08:21:39 +09:00
ksss
0bb7f5e950
fix variable name typo
2014-03-15 08:21:39 +09:00
ksss
9447c637a5
test split and to detail
2014-03-15 08:21:34 +09:00
ksss
6b3cc0052d
fix self modifying bug
2014-03-15 08:15:16 +09:00
ksss
47fc784b56
fix return value for with_index
2014-03-15 08:15:16 +09:00
ksss
bc63518fa7
modify core method that return Enumerator object if not block given
2014-03-15 08:15:04 +09:00
ksss
29964cfdac
make private method enumerator_block_call
2014-03-14 23:42:04 +09:00
Yukihiro "Matz" Matsumoto
e893349e95
Merge pull request #1857 from mitchellh/f-fix-mingw-time
...
Don't redefine timeval in MinGW environments
2014-03-14 16:30:48 +09:00
Mitchell Hashimoto
3843a286b6
Don't redefine timeval on MingW64 environments
2014-03-13 23:23:28 -07:00
Yukihiro "Matz" Matsumoto
94df66fb08
Merge branch 'master' of github.com:mruby/mruby
2014-03-14 07:40:07 +09:00
Yukihiro "Matz" Matsumoto
1b6f6413db
Merge pull request #1855 from take-cheeze/fix_mrbc_compile_error
...
Fix compile error check of Mrbc command.
2014-03-14 07:39:53 +09:00
take_cheeze
deb5f59bec
fix compile error check of Mrbc command
2014-03-14 03:44:22 +09:00
Yukihiro "Matz" Matsumoto
2bd099c842
remove new_label(s) where label position can be obtained from genop()
2014-03-14 03:11:11 +09:00
Yukihiro "Matz" Matsumoto
8094a503f0
move dependency check from runtime to mrbgem.rake
2014-03-14 02:59:50 +09:00
Yukihiro "Matz" Matsumoto
58362fc30c
remove ambiguity warnings
2014-03-14 02:44:14 +09:00
Yukihiro "Matz" Matsumoto
113ab60784
mruby-enumerator: move definitions in core_mod.rb to mrblib core
2014-03-14 02:41:22 +09:00
ksss
463c5f83c3
add mruby-enumerator
2014-03-13 23:47:12 +09:00
Yukihiro "Matz" Matsumoto
91f2d47d34
too much optimization
2014-03-13 23:44:10 +09:00
Yukihiro "Matz" Matsumoto
8cc487c465
peephole optimization for OP_JMP{IF,NOT}
2014-03-13 19:54:50 +09:00
Yukihiro "Matz" Matsumoto
5b3c76ee48
Merge pull request #1849 from cremno/add-mrb_int_bit-macro
...
add MRB_INT_BIT
2014-03-13 03:09:58 +09:00
Yukihiro "Matz" Matsumoto
ad04b45e5b
Merge pull request #1851 from tmash06/add_include_limit_h
...
add including limits.h.
2014-03-13 03:09:03 +09:00
Yukihiro "Matz" Matsumoto
4e1a10f035
Merge pull request #1850 from cremno/safer-lit-macros
...
add mrb_strlen_lit
2014-03-13 03:08:31 +09:00
tmash06
cfcd2e2dc9
add including limits.h.
...
Because Android's libc(bionic) defines SIZE_MAX at limits.h.
2014-03-13 02:37:09 +09:00
cremno
e4afd5374f
add mrb_strlen_lit which makes _lit macros safer
...
strlen(3) + string literal is usually optimized but strlen(3) doesn't
check if its argument is really a string literal. This is important for
mruby's _static functions to which some _lit macros are expanded (string
literals have static storage). See comment for some additional info.
remove unnecessary parentheses
2014-03-12 17:56:08 +01:00
Yukihiro "Matz" Matsumoto
f85e5a80dc
Merge pull request #1826 from unak/mswin
...
ignore *.pdb
2014-03-12 15:38:08 +09:00
Yukihiro "Matz" Matsumoto
1b845de755
Merge pull request #1848 from joejimbo/master
...
Added a short description about mruby gems
2014-03-12 15:12:10 +09:00
Joachim Baran
244260b05e
Added a short description on how to add mruby gems to the compilation workflow.
2014-03-11 22:27:28 -07:00
Yukihiro "Matz" Matsumoto
fa2e87c468
avoid mrb_string_value_cstr() to copy string between mrb_states in tests
2014-03-12 13:32:04 +09:00
Yukihiro "Matz" Matsumoto
7e8652d549
Merge pull request #1843 from take-cheeze/suppress_warnings
...
Suppress warnings.
2014-03-12 11:45:14 +09:00
Yukihiro "Matz" Matsumoto
9b7198c222
Merge pull request #1846 from take-cheeze/funcall_fix
...
Fix mrb_funcall calling.
2014-03-12 11:16:58 +09:00
take_cheeze
7c4961234d
fix mrb_funcall calling
2014-03-12 10:18:38 +09:00
cremno
1b6a4fb5a2
add MRB_INT_BIT
2014-03-11 20:14:18 +01:00
take_cheeze
52cf39a67a
remove deprecated register keyword
2014-03-11 22:01:00 +09:00
take_cheeze
bbb7ba46b2
don't use of anonymous unions
2014-03-11 22:01:00 +09:00
Yukihiro "Matz" Matsumoto
fee639775e
Merge pull request #1845 from ksss/sym_intern-argument-type
...
fix sym_intern argument type
2014-03-11 14:05:06 +09:00
ksss
58a5e832d9
fix sym_intern argument type
2014-03-11 09:12:56 +09:00
Yukihiro "Matz" Matsumoto
6dd2f36d20
Merge pull request #1842 from ksss/assert_nothing_raised
...
add assertion method `assert_nothing_raised'
2014-03-11 00:19:45 +09:00
ksss
23680cb447
add assertion method `assert_nothing_raised'
2014-03-11 00:13:36 +09:00
Yukihiro "Matz" Matsumoto
86a48b7c48
Merge pull request #1840 from ksss/bit-field
...
set bit field for mrb_bool
2014-03-10 22:24:36 +09:00
Yukihiro "Matz" Matsumoto
04dffc239b
Merge pull request #1841 from ksss/symbol-bool
...
set bool macro
2014-03-10 22:24:18 +09:00
ksss
a53dd33eaa
set bool macro
2014-03-10 13:18:34 +00:00
ksss
49a048c544
set bit field for mrb_bool
2014-03-10 13:14:07 +00:00
Yukihiro "Matz" Matsumoto
f168e12ba7
Merge pull request #1838 from take-cheeze/reduce_mrb_open_in_test
...
Reduce mrb_open calls in mrbgem test.
2014-03-10 15:57:58 +09:00
Yukihiro "Matz" Matsumoto
93350ca221
Merge pull request #1839 from cubicdaiya/issues/comment_include_guard
...
Add comments at end of include guard
2014-03-10 15:54:22 +09:00
cubicdaiya
042c9f95a5
add comments at end of include guard
2014-03-10 12:37:47 +09:00
take_cheeze
77fba20480
reduce mrb_open calls in mrbgem test
2014-03-10 04:45:28 +09:00
Yukihiro "Matz" Matsumoto
c740a78e5c
Merge pull request #1837 from monaka/pr-add-comments
...
Add comments to notify files are auto generated.
2014-03-09 19:06:02 +09:00