Yukihiro "Matz" Matsumoto
|
97c9c859d1
|
Merge pull request #313 from masamitsu-murase/fix_struct_new
Fix Struct#new and GC
|
2012-06-24 06:11:28 -07:00 |
|
Yukihiro Matsumoto
|
8121e0d354
|
should mark child env from method (proc) objects
|
2012-06-24 21:46:24 +09:00 |
|
Masamitsu MURASE
|
7778b5ca1c
|
Implement garbage collection for struct.
|
2012-06-24 06:28:17 +09:00 |
|
Masamitsu MURASE
|
7a17377c64
|
Fix Struct.new and Struct.[].
Instances of Struct's subclass should have MRB_TT_STRUCT.
|
2012-06-24 04:06:53 +09:00 |
|
Masamitsu MURASE
|
a194f30f62
|
Add test for Struct#==.
|
2012-06-24 04:03:46 +09:00 |
|
Yukihiro Matsumoto
|
6d3b35e064
|
avoid generating iv name each time in accessors
|
2012-06-24 01:22:53 +09:00 |
|
Yukihiro Matsumoto
|
d657e26d35
|
pacify const assignment warning
|
2012-06-24 01:12:05 +09:00 |
|
Yukihiro Matsumoto
|
c261e4f360
|
resolve crash issue on LLVM; longjmp cleared some local variable
|
2012-06-24 00:15:22 +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
|
2d781f5c1d
|
remove assertion for false assumption; mrb_str_new(0, len) where len > 0 can be used to allocate an unintialized string
|
2012-06-23 09:49:14 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
771ab3bc4e
|
Merge pull request #309 from monaka/pr-reduce-mrb_str_new2
Reduce mrb_str_new2
|
2012-06-22 17:43:16 -07:00 |
|
Yukihiro "Matz" Matsumoto
|
58caf67215
|
Merge pull request #310 from MobiRuby/fixed_attr
fixed attr_*: forgot '@'
|
2012-06-22 17:26:14 -07:00 |
|
Yuichiro MASUI
|
529fb1b992
|
fixed attr_*: forgot '@'
|
2012-06-22 17:47:23 +09:00 |
|
Masaki Muranaka
|
21f2e5364b
|
Use mrb_str_new() instead of mrb_str_new2() as possible.
|
2012-06-22 17:02:08 +09:00 |
|
Daniel Bovensiepen
|
8946ad2c02
|
Add execution time to tests
|
2012-06-22 17:02:08 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
2109556188
|
Merge pull request #307 from bovi/time-for-tests
Add execution time to tests
|
2012-06-21 02:56:29 -07:00 |
|
Yukihiro "Matz" Matsumoto
|
8dcf0bc259
|
Merge pull request #306 from bovi/printf-optional
Make printf optional based on sprintf
|
2012-06-21 02:55:28 -07:00 |
|
Daniel Bovensiepen
|
2ae84f7d83
|
Add execution time to tests
|
2012-06-21 16:00:04 +08:00 |
|
Daniel Bovensiepen
|
2436ee817a
|
Make printf optional based on sprintf
|
2012-06-21 15:44:27 +08:00 |
|
Yukihiro Matsumoto
|
766ae4ee5f
|
dislose mrb_hash_keys; close #304
|
2012-06-21 16:27:16 +09:00 |
|
Yukihiro Matsumoto
|
9936ce997c
|
forgot to rename function mrb_sym2name -> mrb_sym2name_len
|
2012-06-21 16:27:05 +09:00 |
|
Yukihiro Matsumoto
|
a70c4e0c79
|
reduce calling of strlen(); #301
|
2012-06-21 16:22:29 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
d105ea496f
|
Merge pull request #305 from bovi/optional-feature
Tests are executed based on available features
|
2012-06-21 00:11:35 -07:00 |
|
Yukihiro "Matz" Matsumoto
|
0f2b69642d
|
Merge pull request #302 from monaka/pr-remove-strlen-in-array
Remove strlen in array
|
2012-06-21 00:10:33 -07:00 |
|
Daniel Bovensiepen
|
4780b653a4
|
clean up small line lost
|
2012-06-21 15:06:17 +08:00 |
|
Daniel Bovensiepen
|
7a410123dd
|
only execute struct tests if struct feature is activated
|
2012-06-21 15:02:08 +08:00 |
|
Daniel Bovensiepen
|
1baa3faf3f
|
only execute time tests if time feature is activated
|
2012-06-21 15:01:52 +08:00 |
|
Daniel Bovensiepen
|
8e89cd456c
|
only execute math tests if math feature is activated
|
2012-06-21 15:01:39 +08:00 |
|
Daniel Bovensiepen
|
162b3625d0
|
Only open struct class if there is actually already a class
|
2012-06-21 15:01:13 +08:00 |
|
Daniel Bovensiepen
|
a686ad66dd
|
Remove constants
|
2012-06-21 15:00:49 +08:00 |
|
Yukihiro "Matz" Matsumoto
|
178a1a63f9
|
Merge pull request #300 from monaka/pr-simplify-codegen
Simplify. Should not use strlen() as possible. It needs complexity.
|
2012-06-20 23:56:17 -07:00 |
|
Daniel Bovensiepen
|
304b7eec0a
|
Skip time test in case that Time isn't implemented
|
2012-06-21 14:23:36 +08:00 |
|
Daniel Bovensiepen
|
d88a37c1c9
|
Skip struct test in case that Struct isn't implemented
|
2012-06-21 14:23:21 +08:00 |
|
Daniel Bovensiepen
|
c09f804e2b
|
Skip math test in case that Math isn't implemented
|
2012-06-21 14:22:50 +08:00 |
|
Daniel Bovensiepen
|
64693ef7fc
|
Create new constants to indicate optional features
|
2012-06-21 14:22:24 +08:00 |
|
Masaki Muranaka
|
0c5b704de3
|
Remove strlen(). We can use sizeof() of char array because sizeof(char) is always 1 (ISO C99).
|
2012-06-21 11:45:55 +09:00 |
|
Masaki Muranaka
|
750a639eab
|
Add test for Array#to_s and Array#inspect.
|
2012-06-21 11:43:03 +09:00 |
|
Masaki Muranaka
|
aa1bbe67b6
|
Simplify. Should not use strlen() as possible. It needs complexity.
|
2012-06-21 11:17:16 +09:00 |
|
Yukihiro Matsumoto
|
396397bce1
|
move KHASH_DECLARE to header files
|
2012-06-21 11:04:36 +09:00 |
|
Yukihiro Matsumoto
|
8b8151a60e
|
remove khash.c; khash.h dependency to mruby.h; refactoring
|
2012-06-21 10:46:21 +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
|
e61bdbe396
|
add printf method
|
2012-06-20 20:45:04 +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 |
|
Yukihiro Matsumoto
|
e9231bca7a
|
allow lambda duplication
|
2012-06-20 15:26:10 +09:00 |
|
Yukihiro Matsumoto
|
88db589e7f
|
protect crash from empty irep
|
2012-06-20 15:12:35 +09:00 |
|
Yukihiro Matsumoto
|
97e5ab22f6
|
add Module#{attr,attr_reader,attr_writer,attr_accessor}; close #257
|
2012-06-20 13:44:32 +09:00 |
|
Yukihiro Matsumoto
|
ea81146a41
|
add Module#define_method
|
2012-06-20 13:43:26 +09:00 |
|