Commit Graph

1623 Commits

Author SHA1 Message Date
Yukihiro "Matz" Matsumoto 5ef557c7a0 Merge pull request #1208 from tomykaira/fix_wrong_symbol_comment
Fix wrong comment
2013-04-24 07:14:09 -07:00
tomykaira 4f529b588e Fix wrong comment 2013-04-24 14:28:28 +09:00
masahino a283003d1c fix unnecessary irep_free 2013-04-23 23:22:58 +09:00
Yukihiro "Matz" Matsumoto 12cc55fcfa Merge pull request #1201 from monaka/pr-simplify-load.c
Simplify load.c.
2013-04-22 06:00:32 -07:00
Masaki Muranaka 5801773f64 Simplify load.c. Remove code clones. Suppress return paths. 2013-04-22 17:36:49 +09:00
Yukihiro "Matz" Matsumoto c2f3a494ea ensure clause should be executed only once; close #1185 2013-04-22 16:32:46 +09:00
Yukihiro "Matz" Matsumoto 446b790ee3 Merge branch 'master' of github.com:mruby/mruby 2013-04-22 16:11:02 +09:00
Yukihiro "Matz" Matsumoto c633f32b41 should call ensure before popping callinfo; cancel 8ce1ea84 2013-04-22 11:49:10 +09:00
h2so5 9b798114bb Use mrb_bool for the 'b' format specifier of mrb_get_args 2013-04-22 10:41:53 +09:00
Yukihiro "Matz" Matsumoto 4a311a4760 Merge pull request #1196 from monaka/pr-use-mrb_aspec
Cleanup around mrb_code, mrb_aspec.
2013-04-20 15:43:33 -07:00
Masaki Muranaka ec4892c7ea Use mrb_aspec instead of int32_t. As it will clarify what is doing. 2013-04-21 02:06:16 +09:00
Masaki Muranaka 49d945bb59 Use memcmp instead of strcmp if it is possible. 2013-04-21 01:17:17 +09:00
Masaki Muranaka bd7cf9ba0d Remove a comment. 2013-04-21 01:17:17 +09:00
Masaki Muranaka 2613e5d955 Clean up variable types and type casts. 2013-04-21 01:17:17 +09:00
Yukihiro "Matz" Matsumoto c79172dfd5 put spaces after if/while 2013-04-20 23:11:43 +09:00
Yukihiro "Matz" Matsumoto 2acf724554 wrong type cast 2013-04-20 23:11:01 +09:00
Yukihiro "Matz" Matsumoto e861ecf514 small consmetic fix 2013-04-20 23:01:31 +09:00
Yukihiro "Matz" Matsumoto 2529f1edba Module#class_variables should check superclasses 2013-04-20 22:58:52 +09:00
Carson McDonald 93b23357fe Add implementation for respond_to_missing? 2013-04-20 07:48:26 -04:00
Yukihiro "Matz" Matsumoto cc512dd8d0 Merge pull request #1191 from h2so5/refactor-kernel-and-class
Refactor kernel.c and class.c
2013-04-19 19:42:33 -07:00
h2so5 359b5ee7af Refactor kernel.c and class.c 2013-04-20 01:25:15 +09:00
Daehyub Kim c5712bcb3f use ISXDIGIT instead isxdigit on parser.y:3485 2013-04-20 00:07:37 +09:00
h2so5 b9674c735e Make str_modify public 2013-04-19 08:06:04 +09:00
Tomoyuki Sahara 0f8969041a rollback stack before executing ensure clause. 2013-04-17 13:08:54 +09:00
h2so5 b1ffb3b3b8 Add Proc#arity 2013-04-16 16:03:36 +09:00
Yukihiro "Matz" Matsumoto 09eae5ceb2 move no block check to mrb_yield_internal 2013-04-13 10:03:34 +09:00
Yukihiro "Matz" Matsumoto c3b79e11f3 add no block check; based on patch from h2so5; close #1174 2013-04-13 01:16:37 +09:00
Yukihiro "Matz" Matsumoto 78b0abcfaf string interpolation (#{foo}) does stringify implicitly; no need to call #to_s 2013-04-11 23:11:43 +09:00
h2so5 1f571dd5fc Fix TypeError messages 2013-04-11 19:47:35 +09:00
h2so5 a4d59b4ceb Refactor mrb_str_dump 2013-04-10 23:32:51 +09:00
Yukihiro "Matz" Matsumoto c5c3fa1939 Merge pull request #1164 from h2so5/add-validation-for-c-symbol
Add validation for C language symbol name
2013-04-09 09:45:56 -07:00
h2so5 337076f9ba Add validation for C language symbol name 2013-04-09 16:21:51 +09:00
Yukihiro "Matz" Matsumoto 84acf4e3f3 preparation for tail call optimization (still has bugs) 2013-04-09 15:31:17 +09:00
Yukihiro "Matz" Matsumoto 03367c19ed target_class should not be TT_ICLASS; close #1152 2013-04-09 10:52:15 +09:00
Yukihiro "Matz" Matsumoto 9fbd66cb9a nregs size was too big (off by one); close #1137 2013-04-09 09:19:18 +09:00
Yukihiro "Matz" Matsumoto 3286fb511e Merge pull request #1147 from schmurfy/dump_osx
stdint header seems required on osx for uint8_t
2013-04-06 06:32:15 -07:00
Julien Ammous 35450bfcac stdint header seems required on osx for uint8_t 2013-04-06 14:59:55 +02:00
kano4 04fb7a0a3f Define isascii for C99 2013-04-06 21:47:38 +09:00
Yukihiro "Matz" Matsumoto a20384ce74 Merge pull request #1141 from mattn/fix_exit
Fix exit
2013-04-05 08:37:04 -07:00
mattn 1541a61f5d Fix exit 2013-04-05 18:04:22 +09:00
h2so5 51ef69dee6 Add syntax error for incomplete global variables 2013-04-05 14:59:11 +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
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 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