Tomoyuki Sahara
bf87a0f701
rebuild binaries when mrbgem archives are updated.
2012-12-14 13:39:19 +09:00
Yukihiro Matz Matsumoto
fd12f87712
save lastpc on exception and use it in mruby stack trace
2012-12-12 18:23:20 +09:00
Yuichiro MASUI
dcdd893bed
Added LDFLAGS to Makefiles
2012-12-09 19:18:40 +09:00
Daniel Bovensiepen
82446cc747
Use only DISABLE_GEMS for feature request in include/mrbconf.h
2012-12-08 13:26:50 +08:00
Daniel Bovensiepen
be99d87ca4
rename mrb_load_irep for mrbtest to be consistent to name change
2012-12-05 17:45:24 +08:00
Yukihiro Matz Matsumoto
b8e5a57047
rename mrb_load_irep etc. for naming consistency
2012-12-05 02:48:29 +09:00
Daniel Bovensiepen
40bfc86a5e
Merge remote-tracking branch 'upstream/master' into mrbgems
2012-12-01 14:07:23 +08:00
shtirlic
83ecb2f078
Fix compile warnings in mirb
...
Change last_char type to int
Warnings
mirb.c:174:7: warning: comparison is always false due to limited range of data type [-Wtype-limits]
warning: comparison is always false due to limited range of data type [-Wtype-limits]
2012-11-29 19:03:00 +04:00
Daniel Bovensiepen
4e2161c7ee
Deactivate / Activate GEMs Flag introduced into mrbc
2012-11-22 19:18:01 +08:00
Daniel Bovensiepen
4f55a3e0b4
Deactivate / Activate GEMs Flag introduced into mruby
2012-11-22 19:01:02 +08:00
Daniel Bovensiepen
a26e5c05c7
Deactivate / Activate GEMs Flag introduced into mirb
2012-11-22 19:00:52 +08:00
Daniel Bovensiepen
ed92a86212
Include dynamically GEMs into mruby
2012-11-21 15:57:49 +08:00
Daniel Bovensiepen
1e4d20a766
Include dynamically GEMs into mirb
2012-11-21 15:57:41 +08:00
Daniel Bovensiepen
e1e369470e
Merge new change
2012-11-08 17:23:51 +09:00
Yukihiro Matsumoto
5987f67a8d
ignore cfunc method in backtrace
2012-11-03 01:42:19 +09:00
Yukihiro Matsumoto
e0aa96a682
avoid trigraph (???) in backtrace
2012-11-03 01:40:51 +09:00
Tomoyuki Sahara
43f4934e6d
printf("%s", NULL) is not safe on some platforms.
2012-11-02 10:48:39 +09:00
Tomoyuki Sahara
650008bf9e
fix compilation.
2012-11-02 10:37:52 +09:00
Tomoyuki Sahara
9622d65a6b
show line numbers in backtrace.
2012-11-02 10:33:33 +09:00
Tomoyuki Sahara
80ed166e9f
show all callinfo's.
2012-11-02 10:33:23 +09:00
Tomoyuki Sahara
075aa3eeaa
don't print garbage entries.
2012-11-02 10:33:14 +09:00
Tomoyuki Sahara
5bae6459ff
show backtrace.
2012-11-02 10:32:39 +09:00
Daniel Bovensiepen
cdb72a05a2
Merge remote-tracking branch 'upstream/master' into mrbgems
2012-11-01 16:12:57 +08:00
Akira Yumiyama
38fb8b07c6
fix mruby exit status with mrb file.
2012-10-30 23:49:10 +09:00
Yukihiro Matsumoto
52d39e6224
prevent resource leak (outfile)
2012-10-23 19:01:37 +09:00
Yukihiro Matsumoto
19cd9c6e2e
print error message on mrb load error
2012-10-18 06:05:59 +09:00
Yukihiro Matsumoto
76f28241f1
"mrbc -" should take input from stdin; close #489
2012-10-16 20:54:06 +09:00
Yukihiro Matsumoto
cf2bd3469a
preserve script file name
2012-10-05 10:55:29 +09:00
Yukihiro Matsumoto
70916d030c
script file name should not be in ARGV
2012-10-04 14:56:24 +09:00
Yukihiro Matsumoto
0d9b91083b
specify know capacity of an array
2012-10-04 14:39:44 +09:00
Yukihiro Matsumoto
af8f039b90
mruby should exit with 0 on success
2012-09-30 08:41:36 +09:00
Daniel Bovensiepen
cd72971adc
make mrbc aware of the gem init
2012-09-13 22:23:51 +09:00
Daniel Bovensiepen
f6a9846d0e
Fix writing errors in Makefiles
2012-09-10 23:25:50 +08:00
Yukihiro "Matz" Matsumoto
e8ae210c25
Merge pull request #451 from monaka/pr-print-usage
...
[xpcat] Print usage in the parameter error.
2012-09-04 14:13:53 -07:00
Masaki Muranaka
71672494c8
Costmetic change.
2012-09-05 03:11:13 +09:00
Masaki Muranaka
8a7678a8dc
Print usage in case using -o without outputfile.
2012-09-05 03:10:11 +09:00
Masaki Muranaka
4854f21c08
Remove some redundant memset().
2012-09-05 02:56:32 +09:00
Masaki Muranaka
75da995489
Fix not to use memset() in structure inizialization.
2012-09-05 02:55:25 +09:00
Masaki Muranaka
a1876bc22b
Reset last_code_line instead of ruby_code.
2012-09-05 02:50:34 +09:00
Yukihiro Matsumoto
dabe3ca0c7
mirb would terminate on quit in the continuing line
2012-09-03 15:34:22 +09:00
Masamitsu MURASE
8720816c0f
Set filename in mrbc.c.
2012-08-26 19:21:44 +09:00
Yukihiro Matsumoto
15725eb4f6
file/line info passed to codegen; argument type of mrb_generate_code() has changed
2012-08-22 22:36:44 +09:00
Masamitsu MURASE
213477df2d
Modify argument of mrbc_filename.
2012-08-18 22:14:47 +09:00
Joseph McCullough
e7b61c65bb
Don't exit if 'exit' or 'quit' are in quote blocks
2012-08-17 19:51:38 -05:00
Joseph McCullough
618f25bfe2
'exit' and 'quit' cause exit regardless of open block
2012-08-17 18:19:06 -05:00
Yukihiro Matsumoto
7bf4142c42
mruby should read from stdin if no argument given as cruby does
2012-08-15 09:31:59 +09:00
Yukihiro Matsumoto
5f11890d04
mruby should accept "-" as stdin
2012-08-15 09:31:13 +09:00
suzukaze
d648970bc8
fixed showing no 'Usage'.
2012-08-14 23:50:39 +09:00
Yukihiro Matsumoto
1ff6dfd081
should not leave open code on syntax errors; close #413
2012-08-01 17:52:14 +09:00
Yukihiro "Matz" Matsumoto
ff707384c3
Merge pull request #407 from silverhammermba/cpp
...
C++ compatibility
2012-07-29 17:42:17 -07:00