wanabe
7007ce7ce0
add Exception#backtrace
2013-08-25 01:18:01 +09:00
Yukihiro "Matz" Matsumoto
aa099f7f7d
Merge pull request #1481 from suichu/patch
...
add x86_64-darwin host platform.
2013-08-19 01:16:14 -07:00
taku toyama
7d22c89545
add x86_64-darwin host platform.
2013-08-19 14:30:19 +09:00
Yukihiro "Matz" Matsumoto
6dd9bb7c43
Merge pull request #1480 from wanabe/patch-1
...
android doesn't have log2
2013-08-18 19:07:03 -07:00
wanabe
c9ac35f3ba
android doesn't have log2
2013-08-19 01:34:07 +09:00
Yukihiro "Matz" Matsumoto
96ef9925e9
Merge pull request #1479 from chenyukang/remove_return
...
remove a unnecessary return
2013-08-18 07:02:27 -07:00
Yukang
31d10393da
remove unnecessary return
2013-08-18 20:21:48 +08:00
Yukihiro "Matz" Matsumoto
a1bcadeb32
Merge pull request #1475 from carsonmcdonald/fixparseerror
...
Return when block argument error
2013-08-14 17:34:23 -07:00
Carson McDonald
7d41835ded
Fix return block argument error
2013-08-14 16:56:42 -04:00
Yukihiro "Matz" Matsumoto
d780c6683e
use newer DATA API
2013-08-15 01:39:05 +09:00
Yukihiro "Matz" Matsumoto
954c28504e
remove Ruby defined Class#new
2013-08-15 01:37:29 +09:00
Yukihiro "Matz" Matsumoto
b12d9a8700
remove alloc from Time class
2013-08-15 01:37:03 +09:00
Yukihiro "Matz" Matsumoto
b225e4cc82
redesign mruby/data.h API; use DATA_PTR() for raw data pointer, DATA_GET_PTR() to type safe retrieval (TypeError will be raised), DATA_CHECK_GET_PTR() to get nil if type mismatched
2013-08-15 01:33:36 +09:00
Yukihiro "Matz" Matsumoto
babc8d0086
implement Class.new in C again
2013-08-15 00:35:41 +09:00
Yukihiro "Matz" Matsumoto
6e978d5574
add compatibility macro mrb_class_new_instance()
2013-08-15 00:11:17 +09:00
Yukihiro "Matz" Matsumoto
379d668b84
Merge branch 'master' of github.com:mruby/mruby
2013-08-14 16:52:55 +09:00
Yukihiro "Matz" Matsumoto
f8454e53ba
check d->type before accessing d->type->dfree; #1474 #858
2013-08-14 16:51:50 +09:00
Yukihiro "Matz" Matsumoto
b7d6b4d0ce
define allocation method for Time class; close #1474
2013-08-14 16:50:52 +09:00
Yukihiro "Matz" Matsumoto
ab1c5c166c
Merge pull request #1473 from carsonmcdonald/fixclassnew
...
Fix Class#new call to inherited and add a couple Class tests
2013-08-14 00:34:47 -07: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
Carson McDonald
d55eb947f9
Test for Class#inherited
2013-08-13 22:27:25 -04:00
Carson McDonald
dbd243487f
Fix inerited to inherited
2013-08-13 22:11:40 -04:00
Carson McDonald
e34bc72b89
Add test for Class.new(*args)
2013-08-13 22:11:14 -04:00
Yukihiro "Matz" Matsumoto
81903eb9bf
Merge pull request #1472 from JackDanger/jackdanger/add-line-numbers-to-irb
...
Adding line numbers to the output of mirb.
2013-08-13 17:48:10 -07: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
Yukihiro "Matz" Matsumoto
b50d6468e0
Merge pull request #1469 from carsonmcdonald/removedebug
...
Remove debug printf
2013-08-13 17:43:02 -07:00
Jack Danger Canty
2bf4952284
Adding line numbers to the output of mirb.
...
Before:
> "hi"
hi
> d
(mirb):1: undefined method 'd' for main (NoMethodError)
> d
(mirb):1: undefined method 'd' for main (NoMethodError)
> "hi"
hi
> "#{'}"
line 1: unterminated string meets end of file
After
> "hi"
hi
> d
(mirb):2: undefined method 'd' for main (NoMethodError)
> d
(mirb):3: undefined method 'd' for main (NoMethodError)
> "hi"
hi
> "#{'}"
line 5: unterminated string meets end of file
2013-08-13 09:53:52 -07:00
Carson McDonald
3385a33e9e
Add two tests for issue #1467
2013-08-13 11:39:30 -04: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
9827462e38
Merge branch 'master' of github.com:mruby/mruby
2013-08-14 00:13:46 +09: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
4b2904f6a3
Merge pull request #1468 from suzukaze/add-array-test
...
I add ISO test '15.2.12.3' included modules in Arrray
2013-08-13 07:14:14 -07:00
Jun Hiroe
90f6b1815c
I add ISO test '15.2.12.3' included modules in Arrray
2013-08-13 21:09:55 +09:00
Yukihiro "Matz" Matsumoto
6b015ec775
define Class#new in ruby to call #initialize
2013-08-13 16:55:06 +09:00
Yukihiro "Matz" Matsumoto
779738b597
Merge branch 'master' of github.com:mruby/mruby
2013-08-12 16:16:02 +09:00
Yukihiro "Matz" Matsumoto
ea770f6bef
Merge pull request #1460 from Fleurer/fix-1459
...
fix #1459
2013-08-12 00:15:33 -07:00
fleuria
6dcf2ffb08
fix #1459
...
gen_vmassignment() missed a pop() in a conditional branch, but we have
to keep each conditional branch 's stack depth the same all the time
when it left execution.
2013-08-12 14:18:09 +08:00
Yukihiro "Matz" Matsumoto
4f1fe9a3ee
Merge pull request #1458 from suzukaze/fix-iso-no-in-string-class
...
I fix ISO no in String class in comparison with ISO_IEC_30170_2012(E)
2013-08-11 18:28:10 -07:00
Yukihiro "Matz" Matsumoto
578589141f
use CHAR_BIT instead of bare 8
2013-08-12 09:52:16 +09:00
Yukihiro "Matz" Matsumoto
3a27e9189a
move (void) cast after declarations
2013-08-12 09:37:21 +09:00
Jun Hiroe
d4b2d0a912
I fix ISO No in String class in comparison with ISO_IEC_30170_2012(E)-Charactor_PDF_document.pdf
2013-08-11 21:15:01 +09:00
Jonas Kulla
9b01bf6035
Silence 'unused parameter' warnings
2013-08-10 09:29:42 +02:00
Yukihiro "Matz" Matsumoto
f6fa07235b
Merge pull request #1450 from Fleurer/cleanup-warninigs
...
clean up the warnings when GC_PROFILE is set
2013-08-09 07:59:09 -07:00
Yukihiro "Matz" Matsumoto
53f750dbed
def statement and define_method now return symbol a la Ruby2.1
2013-08-09 22:25:45 +09:00
fleuria
b3b4f2dbdb
clean up the warnings when GC_PROFILE is on
2013-08-09 17:38:09 +08:00
Yukihiro "Matz" Matsumoto
3d3ca985b0
remove duplicated incremental_gc_until() in generational GC; #1449
2013-08-09 18:11:16 +09:00
Yukihiro "Matz" Matsumoto
93d2cb0258
Merge pull request #1449 from Fleurer/fix-comment-for-major-gc
...
add comments for major GC
2013-08-09 02:08:58 -07:00
fleuria
7e7943322b
add comments for major GC
2013-08-09 15:43:06 +08:00
Yukihiro "Matz" Matsumoto
d6b8e4bbcb
Merge pull request #1448 from cremno/bison-3.0-pure_parser-warning
...
fix bison 3.0 warning
2013-08-08 20:27:10 -07:00