Yukihiro "Matz" Matsumoto
|
9295f6ae49
|
simplify stack_clear()
|
2013-10-05 18:50:55 +09:00 |
|
Atsushi_Morimoto
|
86f0912bcc
|
fix build error when ENABLE_DEBUG is defined
|
2013-09-26 18:36:08 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
eeac4be4ce
|
Merge pull request #1507 from ktaobo/yield-self
Use self for the given proc in mrb_yield
|
2013-09-21 04:16:28 -07:00 |
|
Yukihiro "Matz" Matsumoto
|
3995e7ff8f
|
rename voidp to cptr
|
2013-09-21 17:28:47 +09:00 |
|
Keita Obo
|
862517d540
|
Use self for the given proc
|
2013-09-20 17:40:55 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
ad5c408c7b
|
revert #1470; fix #1493
|
2013-08-31 14:19:15 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
0dfda0c970
|
longjmp too far when exception raised from C function called from mrb_funcall()
|
2013-08-14 16:30:52 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
8fa02a2cc7
|
Merge pull request #1470 from carsonmcdonald/morefixfor1467
Tests and another fix for issue #1467
|
2013-08-13 17:44:22 -07:00 |
|
Carson McDonald
|
7a2e0d6cf5
|
This check and class change is redundant because it is done in class.c#mrb_include_module
|
2013-08-13 11:38:27 -04:00 |
|
Carson McDonald
|
5a6a557f72
|
Remove debug printf
|
2013-08-13 11:30:51 -04:00 |
|
Yukihiro "Matz" Matsumoto
|
b822c0b35e
|
ci->target_class should point to ICLASS, not MODULE; close #1467
|
2013-08-14 00:13:32 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
c550a0f834
|
move mrb_gc_arena_restore() after cipop(); a bug found by Kilo Kawai
|
2013-07-31 22:24:10 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
e488393cbb
|
Merge branch 'master' of github.com:mruby/mruby
|
2013-07-27 02:53:02 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
63e5a3cfb1
|
refactor out longjmp() to a function
|
2013-07-25 14:54:17 +09:00 |
|
fleuria
|
620e323d15
|
replace assert with mrb_assert
|
2013-07-25 03:00:03 +08:00 |
|
Yukihiro "Matz" Matsumoto
|
8e6ca38416
|
Merge pull request #1378 from suzukaze/refactor2-vm.c
Replace 0 with FALSE and replace 1 with TRUE.
|
2013-07-14 06:00:06 -07:00 |
|
Jun Hiroe
|
f7855764bc
|
Replace int with mrb_bool because return a value is boolean.
|
2013-07-14 05:08:33 +09:00 |
|
Jun Hiroe
|
900b680006
|
Replace 0 with FALSE and replace 1 with TRUE.
|
2013-07-14 04:38:22 +09:00 |
|
Jun Hiroe
|
66c5b0d3fa
|
Replace 0 with NULL because NULL is used in struct pointer.
|
2013-07-14 00:03:28 +09:00 |
|
Jun Hiroe
|
b8f4e47676
|
2.Replace mrb_intern() func with mrb_intern2() func or mrb_intern_cstr() func.
|
2013-07-12 01:32:49 +09:00 |
|
kimu_shu
|
e720782f81
|
Add MRB_WORD_BOXING mode (represent mrb_value as a word)
|
2013-05-26 10:09:17 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
aa1cc2360f
|
fixed a bug in initializing post mandatory block parameters
|
2013-05-25 00:45:06 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
97a11305c6
|
fiber do not work on MRB_NAN_BOXING
|
2013-05-24 15:35:55 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
76ddf86c72
|
manage fiber status (create|running|resumed|terminated)
|
2013-05-23 15:24:31 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
93d710117d
|
should have protected the return value from GC, even when the method is defined in Ruby; close #1263
|
2013-05-23 15:14:27 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
1cfd3fb9eb
|
remove unnecessary assignment
|
2013-05-21 09:10:14 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
a17fd80eb4
|
error in initializing callinfo stack in cipush(); close #1261
|
2013-05-21 07:49:08 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
58b25fdcb3
|
avoid unnecessary pool/syms restoration
|
2013-05-20 22:33:25 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
5c0b9b703c
|
primary mruby fiber implementation
|
2013-05-20 17:54:07 +09:00 |
|
Keita Obo
|
9887f7cb27
|
Rename parameter names for mrb_yield
|
2013-05-10 00:16:27 +09:00 |
|
Masaki Muranaka
|
f139320635
|
Revert file access mode to 0644.
|
2013-04-29 09:25:54 +09:00 |
|
arton
|
513bce35f6
|
add extern funcs declaration and casts for cimpiling C++ compiler
|
2013-04-28 15:31:50 +09:00 |
|
tomykaira
|
4f529b588e
|
Fix wrong comment
|
2013-04-24 14:28:28 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
c2f3a494ea
|
ensure clause should be executed only once; close #1185
|
2013-04-22 16:32:46 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
c633f32b41
|
should call ensure before popping callinfo; cancel 8ce1ea84
|
2013-04-22 11:49:10 +09:00 |
|
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 |
|
Yukihiro "Matz" Matsumoto
|
c79172dfd5
|
put spaces after if/while
|
2013-04-20 23:11:43 +09:00 |
|
Tomoyuki Sahara
|
0f8969041a
|
rollback stack before executing ensure clause.
|
2013-04-17 13:08:54 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
09eae5ceb2
|
move no block check to mrb_yield_internal
|
2013-04-13 10:03:34 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
84acf4e3f3
|
preparation for tail call optimization (still has bugs)
|
2013-04-09 15:31:17 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
03367c19ed
|
target_class should not be TT_ICLASS; close #1152
|
2013-04-09 10:52:15 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
9fbd66cb9a
|
nregs size was too big (off by one); close #1137
|
2013-04-09 09:19:18 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
dfb4755729
|
Merge pull request #1131 from takkaw/mrb_funcall_return_exc
Change to return the exception object when an exception occurred in mrb_funcall
|
2013-04-03 06:58:49 -07:00 |
|
Gilad Zohari
|
73d7a72102
|
Adjust ci->nregs to prevent heap corruption
|
2013-04-02 18:28:38 +03:00 |
|
Masaki Muranaka
|
029e3c9f50
|
Use mrb_raise() as possible instead of mrb_raisef().
|
2013-04-01 09:08:02 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
dd56b93639
|
should have rewinded stack on exceptions; close #1113
|
2013-03-31 00:44:56 +09:00 |
|
takkaw
|
f36c133909
|
Change to return the exception object when an exception occurred in mrb_funcall
|
2013-03-30 01:41:16 +09:00 |
|
Masaki Muranaka
|
2b5b161f8b
|
Sort include files. Some redundant includes are removed.
|
2013-03-29 10:22:31 +09:00 |
|
Masaki Muranaka
|
fa23cb1021
|
Fix argunum_error() to use mrb_format().
|
2013-03-28 17:43:24 +09:00 |
|
Yukihiro Matz Matsumoto
|
18b2683b97
|
use new mrb_format API from mrb_raisef; its only format specifier is "%S" (stringify) and takes mrb_value; close #1062
|
2013-03-27 23:41:23 +09:00 |
|