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
1fa63930fd
check object type before retrieving instance variabls; close #311
2012-06-23 10:40:17 +09:00
Yukihiro Matsumoto
766ae4ee5f
dislose mrb_hash_keys; close #304
2012-06-21 16:27:16 +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
crimsonwoods
cd68190480
split declaration and definition for 'khash_xxx'.
2012-06-19 23:00:29 +09:00
Yukihiro Matsumoto
ede3049f33
allow disabling Struct class
2012-06-17 23:36:34 +09:00
Yukihiro Matsumoto
76f7aecff3
use ENABLE/DISABLE instead of INCLUDE for configuration macro names
2012-06-15 15:34:49 +09:00
Yukihiro Matsumoto
8c838de4a8
Time class made optinal
2012-06-15 14:07:24 +09:00
Yukihiro Matsumoto
9e78fea7b3
remove unreference Error class macros
2012-06-15 14:04:25 +09:00
Yukihiro Matsumoto
195d1dd685
do not use fixed sized buffer in mrb_bug/mrb_warn; close #287
2012-06-15 14:03:02 +09:00
Masaki Muranaka
3fb9408669
Fix redundant declraration warnings by gcc.
2012-06-14 18:28:05 +09:00
Yukihiro Matsumoto
764a791f43
make Math module optional
2012-06-14 00:59:35 +09:00
Yukihiro Matsumoto
6919ca61ed
stop using strtol (via readint) except in load.c; use custom readint_float
2012-06-13 23:16:53 +09:00
Yukihiro Matsumoto
db3d72a471
move RSHIFT from numeric.h to numeric.c
2012-06-13 15:40:41 +09:00
Yukihiro Matsumoto
6a5019d37f
optimized OP_{ADD,SUB,MUL,DIV} to use numeric function for fixnums to handle overflow
2012-06-13 15:38:18 +09:00
Masaki Muranaka
e1e4ceb3e4
Make sprintf/format optional.
2012-06-12 17:46:38 +09:00
Yukihiro Matsumoto
21304086cd
remove khash#kh_debug
2012-06-12 01:41:20 +09:00
Yuichiro MASUI
5046375d51
add auxiliary data pointer to mrb_state
2012-06-08 00:59:26 +09:00
SatoshiOdawara
9ecc209ca0
memory leak in kh_resize_##name()
2012-06-07 16:03:53 +09:00
Yukihiro "Matz" Matsumoto
0816c0eba5
Merge pull request #248 from monaka/pr-use-value-i-for-nil-false-check
...
Use value.i for nil/false check.
2012-06-06 22:55:10 -07:00
Masaki Muranaka
e0909fef44
Use value.i for nil/false check.
2012-06-07 09:34:27 +09:00
Yukihiro Matsumoto
1a369de489
remove src/gc.h
2012-06-07 01:18:17 +09:00
Yukihiro Matsumoto
4c01f002fd
mruby/array.h: rename buf to ptr
2012-06-05 23:20:36 +09:00
Yukihiro Matsumoto
e3d17e54f8
mruby/string.h: rename buf to ptr
2012-06-05 23:17:09 +09:00
Yukihiro Matsumoto
2778058a8a
Merge branch 'jf/parser-dump' of https://github.com/thecodeshop/mruby into thecodeshop-jf/parser-dump
2012-06-05 09:01:15 +09:00
Yukihiro Matsumoto
b7cc7fffe7
symbol can contain non printable characters
2012-06-05 08:34:09 +09:00
Jon
30b6507817
Refactor hardcoded PARSER_DUMP macro
2012-06-03 18:58:19 -04:00
Yukihiro Matsumoto
e4529c065d
make arrays to share bodies
2012-06-03 23:05:31 +09:00
Yukihiro Matsumoto
4e46abb869
remove unused mrb_exec_recursive
2012-06-03 17:52:04 +09:00
Yukihiro Matsumoto
28b9619bb4
should decref shared string body on gc_free
2012-06-03 15:45:06 +09:00
Yukihiro Matsumoto
12d75223d6
make shared string to reference-counted C structure to reduce GC pressure
2012-06-03 07:55:39 +09:00
Yukihiro Matsumoto
cc86250297
remove unsafe macros in hash.h
2012-06-03 00:23:59 +09:00
Yukihiro Matsumoto
81c0e2e031
make color in OBJECT_HEADER unsigned
2012-06-02 23:43:13 +09:00
Yukihiro Matsumoto
22568f9a99
Merge branch 'master' of github.com:mruby/mruby
2012-06-02 22:31:58 +09:00
Yukihiro Matsumoto
110cdd82e0
naming convention consistency for hash.h
2012-06-02 21:47:27 +09:00
Yukihiro Matsumoto
de133c3715
refactoring around mrb_hash_new
2012-06-02 21:42:52 +09:00
Yukihiro Matsumoto
d9dfbb044a
remove unused st_hash_end/unit reference
2012-06-02 21:38:44 +09:00
Yukihiro Matsumoto
34c049c63e
remove unused mrb_mem_clear
2012-06-02 21:34:10 +09:00
Yukihiro Matsumoto
92ee53146f
unify long,size_t to int in array.[ch]
2012-06-02 21:30:04 +09:00
Yukihiro Matsumoto
0e46f49aaa
changed prototype mrb_ary_replace to (mrb_state*,mrb_value,mrb_value)
2012-06-02 21:26:30 +09:00
Frank Celler
c3e0aedece
export exception handling
2012-06-02 12:09:43 +02:00
Frank Celler
aeffe3f712
fixed prototype: g++ will complain about definition not being a prototype, should work with GCC and VC as well
2012-06-02 11:54:14 +02:00
Yukihiro Matsumoto
364e6b5a50
symbol table key should be mrb_sym, not int32_t
2012-06-01 09:44:19 +09:00
Yukihiro Matsumoto
bf20cc800e
remove unused prototypes from mruby.h
2012-06-01 06:47:09 +09:00
Yukihiro Matsumoto
aafd787e58
remove mrb_rs from mruby.h
2012-06-01 02:53:50 +09:00
Yukihiro Matsumoto
617ea34d97
remove CONST_ID from mruby.h
2012-06-01 02:53:15 +09:00
Yukihiro Matsumoto
9e826933b5
remove IO related prototypes from mruby.h
2012-06-01 02:51:48 +09:00