Commit Graph

2940 Commits

Author SHA1 Message Date
Masaki Muranaka 6e28c0eb28 Add "test runner" support for cross builds.
"test runner" means target simulator like QEmu, GDB sim, and so on. Also "test runner" might be debug agents for real targets.
If you do not setup test_runner, Rake will work same as before.
2013-04-07 01:06:50 +09:00
Yukihiro "Matz" Matsumoto e885e59d45 comment E_* macros to address concerns in #1143 2013-04-06 01:19:31 +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
Yukihiro "Matz" Matsumoto a20384ce74 Merge pull request #1141 from mattn/fix_exit
Fix exit
2013-04-05 08:37:04 -07:00
Yukihiro "Matz" Matsumoto 93819c0186 Merge pull request #1139 from masuidrive/build
Improve recent CRuby rake compatibility
2013-04-05 08:35:33 -07:00
Yukihiro "Matz" Matsumoto af4eb8f9c2 Merge pull request #1138 from h2so5/syntax-error-for-incomplete-global-variable
Add syntax error for incomplete global variables
2013-04-05 08:34:59 -07:00
mattn 1541a61f5d Fix exit 2013-04-05 18:04:22 +09:00
Yuichiro MASUI f6dabc1aa0 Improve CRuby rake compatible 2013-04-05 15:33:28 +09:00
h2so5 51ef69dee6 Add syntax error for incomplete global variables 2013-04-05 14:59:11 +09:00
Yukihiro "Matz" Matsumoto 97aee949c5 Merge pull request #1136 from h2so5/syntax-error-for-incomplete-variable
Add syntax error for incomplete instance/class variables
2013-04-04 21:22:19 -07:00
Yukihiro "Matz" Matsumoto 5de9a8cc50 sort mrblib/*.rb files to compile (class.rb comes before error.rb); close #1132; close #1134 2013-04-05 13:19:58 +09:00
h2so5 7331119265 Add syntax error for incomplete instance/class variables 2013-04-05 11:30:13 +09:00
Yukihiro "Matz" Matsumoto 492688eecd factor out redundant Regexp check into functions 2013-04-05 04:41:17 +09:00
Yukihiro "Matz" Matsumoto 001ce2612b method function should return mrb_value 2013-04-05 04:40:36 +09:00
Yukihiro "Matz" Matsumoto ff710487b7 raise NotImplementedError from Module.constants (15.2.2.3.1); close #1125 2013-04-05 04:25:00 +09:00
Yukihiro "Matz" Matsumoto b9e4ba8cc1 Merge pull request #1132 from monaka/pr-support-NameError.name
Support NameError#name
2013-04-04 06:38:12 -07:00
Masaki Muranaka 0969a79e52 Add one more test for NameError#initialize. As we support NameError#name. 2013-04-04 16:27:27 +09:00
Masaki Muranaka ea93ac13fa Add test for NameError#name 2013-04-04 16:26:30 +09:00
Masaki Muranaka edd0a62106 Add NameError#name. Fix NameError.new and NameError.initialize. Enable 2nd argument for NameError.new in C API. 2013-04-04 16:24:43 +09:00
Masaki Muranaka 1efb1bbaff Use mrb_name_error() as possible. 2013-04-04 16:24:43 +09:00
Masaki Muranaka 2f829ea09a Move mrb_name_error() declaration to mruby.h As it is requred by struct mrbgem. 2013-04-04 16:24:43 +09:00
Yukihiro "Matz" Matsumoto d8c4f6a080 make Data_Make_Struct a statement to make it C99 compatible 2013-04-04 04:38:31 +09:00
Yukihiro "Matz" Matsumoto 75f5535c4f rename DATA API: mrb_get_datatype -> mrb_data_get_ptr; mrb_check_datatype -> mrb_data_check_and_get 2013-04-04 04:30:39 +09:00
Yukihiro "Matz" Matsumoto dfb4755729 Merge pull request #1131 from takkaw/mrb_funcall_return_exc
Change to return the exception object when an exception occurred in mrb_funcall
2013-04-03 06:58:49 -07:00
Yukihiro "Matz" Matsumoto 5f04e276db Merge pull request #1130 from gzohari/adjust_ci_nregs
Adjust ci->nregs to prevent heap corruption
2013-04-03 06:45:36 -07:00
Yukihiro "Matz" Matsumoto 9a0fba7f0d Merge pull request #1128 from monaka/pr-add-iso-confomance-tests-20130402
Add ISO confomance tests
2013-04-03 06:30:56 -07:00
Gilad Zohari 73d7a72102 Adjust ci->nregs to prevent heap corruption 2013-04-02 18:28:38 +03:00
Masaki Muranaka 4bb7243c2b Add comments: some methods is defined in mrbgems. 2013-04-02 11:43:35 +09:00
Masaki Muranaka c9e19913cf Add comments: eval method is defined in mrbgems. 2013-04-02 11:43:35 +09:00
Masaki Muranaka 39bf29411a Add "Comparable" to labels. 2013-04-02 11:43:35 +09:00
Masaki Muranaka e129a4c8ef Add test cases. 2013-04-02 11:43:30 +09:00
Yukihiro "Matz" Matsumoto 6bd49a3d95 Module#constants should include constants defined in superclass; close #1126 2013-04-02 10:33:54 +09:00
Yukihiro "Matz" Matsumoto 013be527e6 add Module#constants (15.2.2.4.24) 2013-04-02 01:23:41 +09:00
Yukihiro "Matz" Matsumoto 7c2f68862e Merge pull request #1121 from monaka/pr-check-malloc-failed2
Check malloc failed
2013-04-01 04:09:27 -07:00
Yukihiro "Matz" Matsumoto 57cf264420 Merge pull request #1124 from kouki-o-iij/pr-kernel-notequal
bugfix: Kernel#!=, and add #!= testcase.
2013-03-31 22:23:45 -07:00
Kouki Ooyatsu 7e163c0567 bugfix: Kernel#!=, and add #!= testcase. 2013-04-01 12:18:19 +09:00
Yukihiro "Matz" Matsumoto e6f61fa74e Merge pull request #1122 from monaka/pr-cleanup-raise
Cleanup around mrb_raise calls
2013-03-31 19:49:08 -07:00
Yukihiro "Matz" Matsumoto 771964ef31 Merge pull request #1123 from monaka/pr-add-fib39-to-benchmark
Add fib39.rb to benchmark/
2013-03-31 19:47:47 -07:00
Yukihiro "Matz" Matsumoto 96fd52af25 revert 79ebdb5 for the time being #1110 2013-04-01 11:45:49 +09:00
Yukihiro "Matz" Matsumoto 65bccbe7b9 mrb_any_to_s: add separator 2013-04-01 11:30:07 +09:00
Masaki Muranaka 35ced975dc Add fib39.rb to benchmark/ 2013-04-01 09:46:18 +09:00
Masaki Muranaka 029e3c9f50 Use mrb_raise() as possible instead of mrb_raisef(). 2013-04-01 09:08:02 +09:00
Masaki Muranaka 06b4b1cc33 Fix typos. 2013-04-01 09:03:42 +09:00
Masaki Muranaka 2ae9b08b37 Fix to fit new raisef format. 2013-04-01 09:03:20 +09:00
Masaki Muranaka c7ff1bd881 Add the care for malloc failed.
At the first time, mrb_realloc raise RuntimeError.
At the time fails twice in a row, it causes panic.
2013-04-01 08:40:05 +09:00
Masaki Muranaka 29879f9d58 Add out_of_memory field to mrb_state. 2013-04-01 08:35:53 +09:00
Yukihiro "Matz" Matsumoto cc6e62ef3e Merge branch 'master' of github.com:mruby/mruby 2013-03-31 23:05:48 +09:00
Masaki Muranaka 580f1e922b Integer.round have no arg. 2013-03-31 23:05:23 +09:00
Masaki Muranaka 1d82d07cac Remove unused functions. 2013-03-31 23:05:03 +09:00