take_cheeze
98e49ebd7c
Use mrb_intern_lit instead of mrb_intern in test driver.
2014-03-29 11:08:40 +09:00
ksss
54132e4364
make embed string when create literals
2014-03-06 13:47:51 +00:00
ksss
4070b5987a
embed small string
...
use flags 4 for *this object is embed*
use flags 8~64 for *embed string length*
2014-03-06 13:12:08 +00:00
Daniel Bovensiepen
5056a29d93
Remove notice of early version
2014-02-08 03:06:05 +08:00
Yukihiro "Matz" Matsumoto
9c6398a444
rename mrb_intern2() to mrb_intern(); huge API incompatibility; close #1513
2013-11-29 08:47:28 +09:00
Yuichi Nishiwaki
6e47c9dfc1
fix a bug introduced in prev commit
2013-09-23 19:59:24 -07:00
Yuichi Nishiwaki
0e4a7b2a03
eliminate use of traditional intern API (mrb_intern()) completely
2013-09-23 19:36:50 -07:00
Daniel Bovensiepen
72f78316aa
Move declaration of kernel to the beginning of the method
2013-05-08 21:20:35 +08:00
Daniel Bovensiepen
520b0f73bf
Implement fallback print method for testing environment in case mruby-print GEM wasn't included.
2013-05-08 21:17:08 +08:00
Masaki Muranaka
ed2da91d12
Add stdio.h. This is just for now. We should discuss about remote tests later.
2013-03-24 15:19:56 +09:00
Yukihiro Matz Matsumoto
8ae0c58bb0
resolve conflict from #1017
2013-03-17 00:28:49 +09:00
Yukihiro Matz Matsumoto
3f85079cc0
refine abf1b18 to remove nested if
2013-03-17 00:22:36 +09:00
Masaki Muranaka
3aa3b4af90
Remove stdlib.h from mruby.h. It is for portability (care for freestanding environments).
...
This is a first step. It will be reduced stdlib.h in each files later.
2013-03-16 21:29:39 +09:00
Masaki Muranaka
a11e7f3c30
Remove unused string.h.
2013-03-16 18:08:18 +09:00
Masaki Muranaka
abf1b188e3
Remove strncmp(). It enables to process various options.
2013-03-16 18:07:33 +09:00
kano4
376eb0ce50
Cut off eval_test from main
2013-03-13 23:09:01 +09:00
kano4
d25af7ccf9
Add static declaration
2013-03-12 22:59:39 +09:00
Akira Yumiyama
7c67bfedfd
add mrbtest verbose mode ('-v' option)
2013-02-09 16:24:39 +09:00
Yukihiro Matz Matsumoto
3ba521ae9e
replace FIXNUM_P() by mrb_fixnum_p()
2012-11-04 04:49:43 +09:00
Masamitsu MURASE
d5bcaafd91
Modify return value of mrbtest.
...
This is an improvement for CI, such as Travis.
2012-07-29 18:45:47 +09:00
Yukihiro Matsumoto
cd1e1a0089
remove unused variables
2012-07-03 21:33:20 +09:00
Yukihiro Matsumoto
e814495576
test/driver to use EXIT_SUCCESS
2012-07-03 21:04:25 +09:00
Yukihiro Matsumoto
65096c4c1b
add context to parser, that would hold local variable info, filename, and line number. mrbc_context argument has been added to mrb_parse_xxx() functions. Normally, you just to need to add NULL (or 0) to the last argument of the above functions.
2012-07-03 20:59:07 +09:00
Jon
2fff59dc86
Check mrb_open return value for NULL
2012-06-03 11:11:35 -04:00
Mitchell Blank Jr
d1cd10421f
change example code to do mrb_close()
...
I was hoping this would cause valgrind to complain less, but there is still
a lot of memory leaked (does mrb_close() actually free all of the managed
blocks?) Anyway this helps somewhat and is good practice
2012-05-22 01:03:54 -07:00
Yukihiro Matsumoto
8846f75ecc
refactor test driver
2012-05-18 14:29:36 +09:00
Yukihiro Matsumoto
7fdc42355a
rename compiler.h to mruby/compiler.h
2012-05-18 14:28:33 +09:00
Yukihiro Matsumoto
8085817cb5
make test restructuring
2012-05-14 23:04:13 +09:00