Masaki Muranaka
6069a33089
mrb_raisef(): new function. Same as previou version of mrb_raise().
...
mrb_raise(): API modified. It cannot treat variable arguments.
2012-10-23 09:42:22 +09:00
Masamitsu MURASE
e79c38b6c6
Check iv.
...
iv_del should be called in mrb_iv_remove only when t is not NULL.
2012-09-05 02:21:21 +09:00
Yukihiro Matsumoto
bf7f9f83c7
rename config macro name IV_INITIAL_SIZE -> IVHASH_INIT_SIZE
2012-09-04 17:38:27 +09:00
Yukihiro Matsumoto
e5dde46c7c
reduce mrb_funcall invocations
2012-08-18 19:29:07 +09:00
Yukihiro Matsumoto
fd086a7d08
replace mrb_iv_set by mrb_obj_iv_set
2012-08-18 19:21:27 +09:00
Selman ULUG
894137b920
MRB_IV_INITIAL_SIZE duplicate definition
2012-08-16 20:03:17 +03:00
Selman ULUG
0f74d72d7e
khash.h including at line:255
2012-08-16 19:26:08 +03:00
Yukihiro Matsumoto
38c4a3170b
outer might be NULL; close #428
2012-08-16 22:24:13 +09:00
Yukihiro Matsumoto
7d02df3016
NaN boxing
2012-08-14 13:16:34 +09:00
Yukihiro Matsumoto
59bf47e7f8
iv table may be empty
2012-08-13 04:51:48 +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
52ba6f5a8c
class variable resolution should be same as const resolution
2012-08-05 17:12:03 +09:00
Yukihiro Matsumoto
b00529e672
reduce invoking const_missing
2012-08-02 01:53:01 +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
Yukihiro Matsumoto
857370c2b7
use const MRB_IV_INITIAL_SIZE
2012-07-30 17:33:54 +09:00
Yukihiro Matsumoto
e75c76ecee
iv khash initial size to 8
2012-07-30 17:16:05 +09:00
Masaki Muranaka
b2fc62f3a9
Remove commented out code.
2012-07-29 15:25:14 +09:00
Yukihiro Matsumoto
08213e32e8
const reference from instance_eval should not cause SEGV
2012-07-25 08:53:49 +09:00
Yukihiro Matsumoto
234b8e853c
make class_from_sym static
2012-07-15 16:37:23 +09:00
Junji Sawada
96366117ea
Remove unnecessary header inclusion
2012-07-14 11:39:25 +09:00
Yukihiro Matsumoto
48c73ac630
less <stdio.h>
2012-07-13 10:13:47 +09:00
Yukihiro Matsumoto
ae2cd24afb
remove st.h inclusion
2012-07-13 00:24:44 +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
crimsonwoods
cd68190480
split declaration and definition for 'khash_xxx'.
2012-06-19 23:00:29 +09:00
Yukihiro Matsumoto
76f7aecff3
use ENABLE/DISABLE instead of INCLUDE for configuration macro names
2012-06-15 15:34:49 +09:00
Masaki Muranaka
f564ec7e82
Remove some redundant code.
2012-06-15 00:56:00 +09:00
Yukihiro Matsumoto
8bc506e258
a bug in contant reference from modules
2012-06-12 23:39:27 +09:00
Yukihiro "Matz" Matsumoto
92f1925218
Merge pull request #225 from MobiRuby/fixed_const_missing
...
fixed const_get && const_missing issue
2012-06-02 01:29:42 -07: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
Yuichiro MASUI
e473ce1ac4
fixed const_get && const_missing issue
2012-06-02 17:00:11 +09:00
Yukihiro Matsumoto
84c5d35b9e
class variable table intialization bug; close #206
2012-05-29 23:00:45 +09:00
Yukihiro Matsumoto
4523bee953
cast style consistency
2012-05-23 03:31:55 +09:00
Yukihiro Matsumoto
f4cf8ea423
partial VC support
2012-05-09 08:49:38 +09:00
Yukihiro "Matz" Matsumoto
e12a38779b
Merge pull request #99 from MobiRuby/const_missing
...
add Object.const_missing
2012-05-07 07:24:25 -07:00
Yuichiro MASUI
11b6366e48
add const to char*
2012-05-06 20:04:33 +09:00
Yuichiro MASUI
885cb32d1c
add Object.const_missing
2012-05-05 00:14:56 +09:00
roco
4ec6d41f16
rm whitespace
2012-04-30 14:29:19 -07:00
Yukihiro "Matz" Matsumoto
2b6be16308
Merge pull request #61 from pbhogan/fix-warnings
...
Fix various warnings
2012-04-27 08:56:39 -07:00
Patrick Hogan
a408ba2dd6
Remove unused ret argument from kh_put.
...
It doesn't appear to serve any purpose and allows removing warning about various unused variables littered around.
Signed-off-by: Patrick Hogan <pbhogan@gmail.com >
2012-04-26 08:36:32 -05:00
Patrick Hogan
132dd25528
Remove a bunch of unused variables.
...
Removed or commented out to stop compiler whining about them.
Signed-off-by: Patrick Hogan <pbhogan@gmail.com >
2012-04-26 08:36:32 -05:00
mattn
45b36954df
fix #56
2012-04-26 11:29:30 +09:00
Yukihiro Matsumoto
8b367098ac
move header files {irep,dump,cdump,ritehash}.h to /include/mruby
2012-04-24 17:41:28 +09:00
Yukihiro Matsumoto
2fc1b8af2d
mv variable.h to mruby/variable.h
2012-04-24 15:59:50 +09:00
mimaki
c80487561f
Merge branch 'master' of github.com:mruby/mruby
...
Conflicts:
src/variable.c
2012-04-23 11:51:47 +09:00
mimaki
835443614d
add file header
2012-04-23 11:46:16 +09:00
snaba
210fcdc14b
fixed the compile error when it comments out the definition of INCLUDE_ENCODING and INCLUDE_REGEXP in mrbconf.h.
2012-04-20 18:04:11 +09:00
mimaki
e0d6430f63
add mruby sources
2012-04-20 09:39:03 +09:00