Masaki Muranaka
ec4892c7ea
Use mrb_aspec instead of int32_t. As it will clarify what is doing.
2013-04-21 02:06:16 +09:00
Masaki Muranaka
b41c5cb5c3
Define mrb_code, mrb_aspec as uint32_t. They are always positive.
2013-04-21 01:59:43 +09:00
Yukihiro "Matz" Matsumoto
c79172dfd5
put spaces after if/while
2013-04-20 23:11:43 +09:00
Yukihiro "Matz" Matsumoto
2acf724554
wrong type cast
2013-04-20 23:11:01 +09:00
Yukihiro "Matz" Matsumoto
e861ecf514
small consmetic fix
2013-04-20 23:01:31 +09:00
Yukihiro "Matz" Matsumoto
58b877c4a7
fix test to check class variables in superclasses
2013-04-20 22:59:35 +09:00
Yukihiro "Matz" Matsumoto
2529f1edba
Module#class_variables should check superclasses
2013-04-20 22:58:52 +09:00
Yukihiro "Matz" Matsumoto
a70419bc45
Merge pull request #1194 from carsonmcdonald/rtomissingimpl
...
Implement respond_to_missing?
2013-04-20 06:44:04 -07:00
Carson McDonald
93b23357fe
Add implementation for respond_to_missing?
2013-04-20 07:48:26 -04:00
Carson McDonald
54e1ed20f9
Add a test for respond_to_missing?
2013-04-20 07:47:58 -04:00
Yukihiro "Matz" Matsumoto
cc512dd8d0
Merge pull request #1191 from h2so5/refactor-kernel-and-class
...
Refactor kernel.c and class.c
2013-04-19 19:42:33 -07:00
Yukihiro "Matz" Matsumoto
cb1a978f3e
Merge pull request #1190 from lateau/master
...
tiny fix on parser.y: change isxdigit to ISXDIGIT
2013-04-19 19:40:26 -07:00
h2so5
359b5ee7af
Refactor kernel.c and class.c
2013-04-20 01:25:15 +09:00
Daehyub Kim
c5712bcb3f
use ISXDIGIT instead isxdigit on parser.y:3485
2013-04-20 00:07:37 +09:00
Yukihiro "Matz" Matsumoto
9269703480
Merge pull request #1189 from h2so5/mruby-string-ext-addition
...
Add mruby-string-ext methods
2013-04-19 06:04:14 -07:00
h2so5
79e7bbc8e8
Add String#swapcase,swapcase!,concat,casecmp,start_with,end_with
2013-04-19 21:01:37 +09:00
Yukihiro "Matz" Matsumoto
15edbe3efa
Merge pull request #1188 from h2so5/make-str_modify-public
...
Make str_modify public
2013-04-18 20:06:35 -07:00
h2so5
b9674c735e
Make str_modify public
2013-04-19 08:06:04 +09:00
Yukihiro "Matz" Matsumoto
c643324b9f
Merge pull request #1187 from h2so5/mruby-proc-ext
...
Add mruby-proc-ext
2013-04-17 23:05:47 -07:00
h2so5
1a375c6fd4
Add mruby-proc-ext
2013-04-17 22:59:57 +09:00
Yukihiro "Matz" Matsumoto
6170cfea4c
Merge pull request #1186 from carsonmcdonald/mrbcfixup
...
Minor format changes and a typo fix
2013-04-17 03:00:58 -07:00
Yukihiro "Matz" Matsumoto
2d6ff9e82c
Merge pull request #1184 from iij/pr-ensure-on-correct-stack
...
Rollback stack before executing ensure clause.
2013-04-17 02:46:17 -07:00
Carson McDonald
204ff73fd2
Fix typo.
2013-04-17 05:19:53 -04:00
Carson McDonald
3d0bbd9f40
Minor code format changes.
2013-04-17 05:19:13 -04:00
Tomoyuki Sahara
7626508f62
catching NameError here is not desirable.
2013-04-17 13:25:36 +09:00
Tomoyuki Sahara
0f8969041a
rollback stack before executing ensure clause.
2013-04-17 13:08:54 +09:00
Yukihiro "Matz" Matsumoto
4b24ee189e
Merge pull request #1183 from h2so5/proc-arity
...
Add Proc#arity
2013-04-16 06:24:21 -07:00
h2so5
b1ffb3b3b8
Add Proc#arity
2013-04-16 16:03:36 +09:00
Yukihiro "Matz" Matsumoto
a06e0ab33f
Merge pull request #1182 from trmmy/move_tools
...
Update doc/compile/README.md about mruby and mirb
2013-04-14 14:10:13 -07:00
Yukihiro "Matz" Matsumoto
06cca20aeb
Merge pull request #1180 from trmmy/typo
...
Add closing double-quotes to doc/compile/README.md
2013-04-14 14:09:37 -07:00
Yukihiro "Matz" Matsumoto
caa3915485
Merge pull request #1181 from trmmy/follow_readme_adding_vs2010.rake
...
Add "Visual Studio 2010" subsection to "Toolchains" section of doc/compile/README.md
2013-04-14 14:09:13 -07:00
Yukihiro "Matz" Matsumoto
fead9a27be
Merge pull request #1179 from carsonmcdonald/mrubyhtypofix
...
Fix "implementaion" to "implementation"
2013-04-14 14:08:26 -07:00
TERAJIMA, Motoyuki
d0d5594ea0
Update doc/compile/README.md about mruby and mirb
2013-04-15 00:40:53 +09:00
TERAJIMA, Motoyuki
7183529304
Add Visual Studio 2010 subsection to Toolchains section of README.md
...
To follow h2so5/add-vs2010-toolchain
2013-04-14 23:11:45 +09:00
Carson McDonald
defee3c136
Fix "implementaion" to "implementation"
2013-04-14 09:58:47 -04:00
TERAJIMA, Motoyuki
ae58386162
Add closing double-quotes
2013-04-14 22:51:20 +09:00
Yukihiro "Matz" Matsumoto
77823f8c30
Merge pull request #1178 from h2so5/mruby-range-ext
...
Add mruby-range-ext
2013-04-14 05:45:45 -07:00
h2so5
1d10912076
Add mruby-range-ext
2013-04-14 13:59:46 +09:00
Yukihiro "Matz" Matsumoto
6dc931aaae
Merge pull request #1175 from kurodash/pr-irep-idx-overflow
...
Fixed irep index overflows, when defining new closure.
2013-04-13 09:01:00 -07:00
Yukihiro "Matz" Matsumoto
97e73e1261
Merge pull request #1176 from h2so5/add-vs2010-toolchain
...
Add vs2010.rake
2013-04-12 19:35:26 -07:00
Yukihiro "Matz" Matsumoto
09eae5ceb2
move no block check to mrb_yield_internal
2013-04-13 10:03:34 +09:00
h2so5
e2cf566243
Add vs2010.rake
2013-04-13 08:53:35 +09:00
Yukihiro "Matz" Matsumoto
c3b79e11f3
add no block check; based on patch from h2so5; close #1174
2013-04-13 01:16:37 +09:00
kurodash
7b7bffd5a8
Fixed irep index overflows, when defining new closure.
...
Issue #1137 .
In the present implementation, when calling mrb_load_string continuously, irep is not released.
Therefore, a 16-bit index was overflowing.
2013-04-12 16:32:07 +09:00
Yukihiro "Matz" Matsumoto
39b247ce26
Merge pull request #1173 from carsonmcdonald/alwaysbuildlibmrubya
...
Don't ignore host when adding libmruby.a to deps
2013-04-11 14:44:11 -07:00
Carson McDonald
a075e0abce
Don't ignore host when adding libmruby.a to deps.
2013-04-11 13:55:48 -04:00
Yukihiro "Matz" Matsumoto
78b0abcfaf
string interpolation (#{foo}) does stringify implicitly; no need to call #to_s
2013-04-11 23:11:43 +09:00
Yukihiro "Matz" Matsumoto
f7313b6082
Merge branch 'fix-type-error-message' of https://github.com/h2so5/mruby into h2so5-fix-type-error-message
2013-04-11 23:06:50 +09:00
h2so5
1f571dd5fc
Fix TypeError messages
2013-04-11 19:47:35 +09:00
Yukihiro "Matz" Matsumoto
cf7fb8819f
Merge branch 'monaka-pr-move-mirb-mruby-to-mrbgems'
2013-04-11 18:44:30 +09:00