Commit Graph

169 Commits

Author SHA1 Message Date
h2so5 531daa0a9d Fix checking for heredoc in mirb 2013-04-07 18:05:23 +09:00
Masaki Muranaka 48aa61a5e2 Support $0 variable. 2013-04-07 11:55:02 +09:00
h2so5 a258d5752a Improve checking for unterminated string in mirb 2013-04-06 20:32:48 +09:00
Yukihiro "Matz" Matsumoto 2ae47ddd09 parse_args should return either EXIT_SUCCESS or EXIT_FAILURE 2013-04-06 01:04:35 +09:00
Yukihiro "Matz" Matsumoto e72ac2c61f use EXIT_SUCCESS and EXIT_FAILURE for exit status; close #1142 2013-04-06 00:48:42 +09:00
Masaki Muranaka 2b5b161f8b Sort include files. Some redundant includes are removed. 2013-03-29 10:22:31 +09:00
Yukihiro "Matz" Matsumoto e265d7c7ef Merge pull request #1082 from masuidrive/add_debug_info
Added debug infomation section into .mrb file
2013-03-27 08:34:12 -07:00
Yukihiro "Matz" Matsumoto 82991049be replace non formatting printf to (f)puts 2013-03-27 23:53:56 +09:00
kano4 5a22c6daf7 Add simple usage message for mirb 2013-03-27 20:32:09 +09:00
Yuichiro MASUI f3ebb89392 Added debug infomation section into .mrb file 2013-03-27 18:21:04 +09:00
Yukihiro Matz Matsumoto a0f6e4d58e resolve conflict from #964 2013-03-27 00:52:24 +09:00
kano4 201669d8a1 Fix indentation in mirb.c 2013-03-25 20:31:09 +09:00
FUKUZAWA-Tadashi 44fbfc5184 implement literal %W %w %s
refactor string parsing
2013-03-17 21:27:37 +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
takkaw 839d801c7a display BasicObject information in mirb 2013-03-16 00:16:35 +09:00
Masaki Muranaka 1ffc9ba325 Define type mrb_bool. It is typedef-ed to _Bool on C99, unsigned int on MSVC.
It is safer than applying 1bit bit-fields to signed int.

For forward compatibility, you should substiture only 1 or 0 for the variable typed mrb_bool.
2013-03-14 15:13:12 +09:00
Yukihiro "Matz" Matsumoto 2134d6b427 Merge pull request #992 from kano4/unused
Remove unused return value in mruby.c
2013-03-12 07:21:35 -07:00
kano4 f05c3bce30 Remove unused return value in mruby.c 2013-03-12 23:09:38 +09:00
kano4 3bad7857c3 Replace tabs with spaces 2013-03-12 23:08:37 +09:00
kano4 d25af7ccf9 Add static declaration 2013-03-12 22:59:39 +09:00
Cremno 245c095da7 mrbc: exit if outfile is specified multiple times 2013-03-07 19:45:57 +01:00
Yuichiro MASUI 2842583678 New mrb format. The detail is in https://github.com/mruby/mruby/issues/944 2013-03-08 03:14:21 +09:00
FUKUZAWA-Tadashi 1af4110f7d implement heredoc 2013-03-03 20:08:13 +09:00
Yuichiro MASUI 0970ca9572 Support to build on pwd != mruby source root 2013-02-23 19:03:59 +09:00
Carson McDonald fb5e83a69b Fix crash when exiting mirb using ctrl-d when compiled with readline
support.
2013-02-17 07:23:32 -05:00
Yuichiro MASUI cf81a88b04 Removed mrbc -C option what's C function dump. and TAB to space 2013-01-29 22:47:50 +09:00
Yuichiro MASUI dd680b6e67 Add flags_after_libraries 2013-01-24 11:33:56 +09:00
Yuichiro MASUI b1623b9e58 merge master 2013-01-24 11:21:39 +09:00
Yuichiro MASUI 310b0dce8f Added finalizer of mrbgems 2013-01-22 20:18:48 +09:00
Yuichiro MASUI a1c4992905 Added flags_before_libraries to linker 2013-01-21 22:15:15 +09:00
Yuichiro MASUI 0defb59053 build_config gets more flexibility 2013-01-21 12:46:17 +09:00
Yuichiro MASUI ced80d2b4b Improved build scripts and config files 2013-01-20 22:48:42 +09:00
Yukihiro Matz Matsumoto 600d4f9ed1 save/restore arena index in mirb; close #740 2013-01-16 18:38:53 +09:00
Yuichiro MASUI 77a5ed7093 Removed gem libraries in mrbc 2013-01-11 02:33:39 +09:00
Yuichiro MASUI 33350251ae Added conf.bins for defining bulding binaries 2013-01-09 22:40:08 +09:00
MATSUMOTO Ryosuke 1cd7c9fac5 Fix mrbgem options 689#issuecomment-11911431 2013-01-05 17:20:01 +09:00
MATSUMOTO Ryosuke f6bc6b7692 Add mruby_ldflags when tools/mruby and tools/mrbc link archive files 2013-01-05 15:12:42 +09:00
Yuichiro MASUI 7c469c0b9d Rebuild CRuby based building script without Makefile
Tested CRuby 1.8.6 and 1.9.3

You can see building configuration in build_config.rb
2013-01-03 02:24:15 +09:00
mattn 1d91470db6 use readline if it's enabled. 2012-12-28 02:22:26 +09:00
Yukihiro Matz Matsumoto bfd41bd6bf avoid printing backtrace line with unknown place info 2012-12-22 00:11:45 +09:00
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