Yukihiro Matsumoto
26ac77af9b
make Kernel#inspect not to call #to_s
2012-09-03 00:49:34 +09:00
Yukihiro Matsumoto
fd3af6aec8
introduce toplevel object main; close #327
2012-09-03 00:41:09 +09:00
Yukihiro Matsumoto
d1a453a89b
wrong condition for iv name check
2012-08-31 15:59:48 +09:00
Yukihiro Matsumoto
7d02df3016
NaN boxing
2012-08-14 13:16:34 +09:00
Yukihiro Matsumoto
1ed39d5c05
use TRUE/FALSE instead of 1/0
2012-08-13 04:19:24 +09:00
Yukihiro Matsumoto
c9fe903fe1
now segmented list can be used as instance variable tables by -DMRB_USE_IV_SEGLIST; we still need to measure the performance and memory consumption
2012-08-12 01:59:18 +09:00
Yukihiro Matsumoto
3fe4b6414f
add const qualifier to stop warning
2012-08-12 00:06:09 +09:00
Yukihiro Matsumoto
0b14f950a7
add check for instance variable names
2012-08-11 23:59:18 +09:00
Yukihiro Matsumoto
77aa261f3b
mrb_singleton_class should raise TypeError for immediate objects
2012-08-03 19:56:14 +09:00
Yukihiro Matsumoto
d271bf0aa6
make mrb_funcall_argv and mrb_funcall_with_block to take mrb_sym as a method name
2012-08-01 13:15:02 +09:00
Max Anselm
5a4beeed2d
Make all(?) void casts explicit for C++
2012-07-29 19:48:48 -04:00
Masaki Muranaka
b2fc62f3a9
Remove commented out code.
2012-07-29 15:25:14 +09:00
Yukihiro Matsumoto
88b638cf82
instance_eval should set target_class in the block
2012-07-24 23:16:41 +09:00
Yukihiro Matsumoto
42b7d75a67
instance_eval should raise NotImplementedError on string argument
2012-07-24 22:57:59 +09:00
Junji Sawada
96366117ea
Remove unnecessary header inclusion
2012-07-14 11:39:25 +09:00
Yukihiro Matsumoto
e380692224
mrb_load_xxx to return undef + mrb_undef_p
2012-07-14 07:38:43 +09:00
Yukihiro Matsumoto
48c73ac630
less <stdio.h>
2012-07-13 10:13:47 +09:00
Yukihiro Matsumoto
ff42f8f485
move RDoc comments
2012-07-05 22:56:51 +09:00
Yukihiro Matsumoto
6410cdf3bf
do not undef config macros
2012-06-27 01:13:21 +09:00
Masamitsu MURASE
2a2ffe7f7d
Modify Kernel#clone and Kernel#dup.
...
Kernel#clone, Kernel#dup:
- 'iv' should not be shared with the original object,
but it should be copied.
Kernel#clone:
- 'mt' of singleton_class should be copied.
2012-06-24 16:39:08 +09:00
Yukihiro Matsumoto
f045e64675
reduce calling mrb_str_new_cstr() to avoid strlen(); #301
2012-06-23 13:51:50 +09:00
Yukihiro Matsumoto
1fa63930fd
check object type before retrieving instance variabls; close #311
2012-06-23 10:40:17 +09:00
Yukihiro Matsumoto
396397bce1
move KHASH_DECLARE to header files
2012-06-21 11:04:36 +09:00
Yukihiro Matsumoto
7842310573
Merge branch 'modify_khash' of https://github.com/crimsonwoods/mruby into crimsonwoods-modify_khash
2012-06-21 10:01:17 +09:00
Yukihiro Matsumoto
ef50e63a63
remove RuntimeError from mrb_state
2012-06-20 20:43:27 +09:00
Yukihiro Matsumoto
6f22a61135
__send__ added
2012-06-20 15:42:51 +09:00
Yukihiro Matsumoto
b11d4647e9
ISO conforming lambda
2012-06-20 15:41:22 +09:00
crimsonwoods
cd68190480
split declaration and definition for 'khash_xxx'.
2012-06-19 23:00:29 +09:00
Yukihiro Matsumoto
41f7fdaf8e
remove dummy local_variables
2012-06-19 15:37:31 +09:00
Yukihiro Matsumoto
4d7bf31b97
remove dummy require/loop
2012-06-19 15:36:09 +09:00
Yukihiro Matsumoto
debea27224
remove obsolete comment
2012-06-19 15:31:56 +09:00
Yukihiro Matsumoto
97e94247fa
Kernel#raise: better argument check
2012-06-19 12:56:08 +09:00
Yukihiro Matsumoto
d8e0fbab51
forgot to replace INLCUDE_KERNEL_SPRINTF by ENABLE_KERNEL_SPRINTF
2012-06-19 09:45:58 +09:00
Masaki Muranaka
f564ec7e82
Remove some redundant code.
2012-06-15 00:56:00 +09:00
Yukihiro Matsumoto
c7b1622f40
remove get_errorinfo; close #275
2012-06-14 23:19:15 +09:00
Masaki Muranaka
0436596ba3
Remove as err is already unused since applied 54bc7e0721
2012-06-14 11:00:18 +09:00
Yukihiro Matsumoto
3b2ff6145e
!= should call == inside; close #268
2012-06-14 01:22:18 +09:00
Yukihiro Matsumoto
54bc7e0721
avoid accessing non-allocated memory; close #271
2012-06-14 01:19:19 +09:00
Yukihiro Matsumoto
1156b0cc32
update RDoc for #raise
2012-06-14 01:18:49 +09:00
Yukihiro Matsumoto
a58761787b
mrb_f_send to use mrb_get_args(n)
2012-06-13 23:54:19 +09:00
Yukihiro Matsumoto
b3d83a79ea
remove unused variable from mrb_f_block_given_p_m
2012-06-13 23:53:09 +09:00
Yukihiro "Matz" Matsumoto
db1244cef5
Merge pull request #263 from monaka/pr-make-sprintf-optional
...
Make sprintf/format optional.
2012-06-12 03:10:37 -07:00
Yukihiro Matsumoto
f537e2bb96
block_given? should work; close #262
2012-06-12 19:09:11 +09:00
Yukihiro Matsumoto
4348639e1c
raise error if string arg is given to Kernel#instance_eval
2012-06-12 18:33:17 +09:00
Yukihiro Matsumoto
324de1a002
remove Kernel#eval from the core; close #261
2012-06-12 18:05:36 +09:00
Masaki Muranaka
e1e4ceb3e4
Make sprintf/format optional.
2012-06-12 17:46:38 +09:00
Yukihiro Matsumoto
e65d4938f3
'mrb_sym' used as 'uint32_t'. it's broken portability; based on the work from @crimsonwoods; close #216
2012-06-02 17:25:18 +09:00
Yukihiro Matsumoto
364f7e8f37
remove unused mrb_f_send; and rename mrb_f_send_m to mrb_f_send
2012-06-01 21:23:54 +09:00
Yukihiro Matsumoto
26ac26bd4b
remove spawn (and backtick) method that cannot be implemented without platform support
2012-06-01 21:22:40 +09:00
Yukihiro Matsumoto
9ec6db5e38
reorder arguments to mrb_get_args in mrb_f_send_m
2012-06-01 21:21:11 +09:00