Commit Graph

305 Commits

Author SHA1 Message Date
Yukihiro "Matz" Matsumoto 0d15cfd5ec Merge pull request #211 from MobiRuby/add_kernel_send
add Kernel#send
2012-05-31 16:16:49 -07:00
Yuichiro MASUI 481d2874f1 add Kernel#send 2012-06-01 04:39:48 +09:00
Yuichiro MASUI b174e9c3ea Add Module.const_defined? && _get && _set methods 2012-05-31 23:35:45 +09:00
Yukihiro Matsumoto fae483ff2a the argument for Exception.new is optinal 2012-05-31 11:15:51 +09:00
Yukihiro Matsumoto e3c1b48ba2 mrb_gets_args strict argc check; now returns argc 2012-05-31 11:14:33 +09:00
Yukihiro Matsumoto 3e8d330c2c remove #new from immediate classes 2012-05-31 11:11:55 +09:00
Yukihiro Matsumoto 0e5958d404 rename ruby_digitmap to mrb_digitmap 2012-05-30 21:19:04 +09:00
Yukihiro Matsumoto 7cf607bb75 stop duping values from Hash#values 2012-05-30 16:25:22 +09:00
Yukihiro Matsumoto a4a48e3da1 specify allocating array size for Hash#values 2012-05-30 16:12:32 +09:00
Yukihiro Matsumoto e6c6dcc176 update mrb->irep_len for each irep addition 2012-05-30 16:02:19 +09:00
Yukihiro Matsumoto e5d1dd2a8e MRB_GC_STRESS for GC test 2012-05-30 16:01:48 +09:00
Yukihiro Matsumoto b662a12ee5 remove spaces after open paren 2012-05-30 14:51:39 +09:00
Yukihiro Matsumoto c2f427c5ed mark ci->proc as well 2012-05-30 14:44:33 +09:00
Yukihiro Matsumoto 84c5d35b9e class variable table intialization bug; close #206 2012-05-29 23:00:45 +09:00
Yukihiro Matsumoto 42b4060c9d force room in arena before raising arena overflow error 2012-05-29 22:14:32 +09:00
Yukihiro "Matz" Matsumoto 836fed4c33 Merge pull request #205 from monaka/pr-use-default-case-in-switch-statement
Use default case in switch statement.
2012-05-29 06:06:35 -07:00
Yukihiro Matsumoto b20388c004 make arena_idx restoration per irep, not per load 2012-05-29 22:05:06 +09:00
Masaki Muranaka 34dddc58e1 Use default case in switch statement. 2012-05-29 16:15:43 +09:00
Yukihiro Matsumoto c87ec7c33b compact arena before raising exception; also reserve a few slots to allocate exception objects 2012-05-29 10:29:01 +09:00
Yukihiro Matsumoto 2d887c57ff use API to restore arena_idx 2012-05-29 09:56:48 +09:00
Yukihiro Matsumoto 0dd5e0eba6 restore arena_idx after reading irep 2012-05-29 09:31:12 +09:00
Yukihiro "Matz" Matsumoto ec3944d9c0 Merge pull request #201 from thecodeshop/rm-cmake-tgt
remove extraneous cmake build targets
2012-05-28 06:01:45 -07:00
Yukihiro Matsumoto dae33d3f66 column position adjustment was wrong 2012-05-28 15:51:07 +09:00
Yukihiro Matsumoto cf8f429624 ignore error nodes (with node_begin initialization) 2012-05-28 15:50:30 +09:00
Yukihiro Matsumoto b275be253d Hash#keys stop duping keys 2012-05-28 12:24:31 +09:00
Jon 6f4eda7401 Simplify CMake mruby object library
Also removes an unnecessary build target from the CMake generated
build and project files.
2012-05-27 20:27:11 -04:00
Yukihiro Matsumoto c14e440897 column adjustment was wrong for pushed back characters 2012-05-28 08:50:10 +09:00
Masamitsu MURASE c8201aa7ce Add "ifndef/endif" to avoid conflict of "MIN" and "MAX" definition. 2012-05-27 23:07:20 +09:00
Masamitsu MURASE 2f4ef95ae6 Add 'ifndef/endif' to avoid conflict of 'TRUE' definition. 2012-05-27 23:05:43 +09:00
Yukihiro Matsumoto f6d539eabd clear arena_idx after exiting scope; close #195 2012-05-26 11:18:16 +09:00
Yukihiro Matsumoto ea9bb1e38f adjust stack position before exiting mrb_run(); close #193 2012-05-25 13:48:54 +09:00
Yukihiro Matsumoto d9227aa41d remove ZeroDivisionError since mruby gives float for integer division 2012-05-24 21:10:23 +09:00
Yukihiro Matsumoto 34d9043c81 parser->colum number was wrong 2012-05-24 09:35:42 +09:00
Yukihiro Matsumoto c2a084dff9 wrong number of arguments for self-assignments 2012-05-24 09:24:11 +09:00
Jon 105c11b7f6 Clean and DRY up the basic Makefiles 2012-05-23 13:19:40 -04:00
Yukihiro Matsumoto 14e28a8a4d raise error on too many arguments 2012-05-24 01:24:45 +09:00
Yukihiro Matsumoto cd713836aa simplify Array#join 2012-05-24 01:20:33 +09:00
Yukihiro Matsumoto ad9e841c53 made mrb_get_args() better (optinal args, type checks); close #173 #176 2012-05-24 01:09:36 +09:00
Yukihiro Matsumoto 4f012f578f remove warning for open paren after space 2012-05-23 12:59:46 +09:00
Yukihiro Matsumoto d26100d529 allow empty paren as a valid expr 2012-05-23 12:05:30 +09:00
Yukihiro Matsumoto 7ee8018d60 add dependency from keywords to lex.def 2012-05-23 11:47:19 +09:00
Yukihiro Matsumoto 4523bee953 cast style consistency 2012-05-23 03:31:55 +09:00
Yukihiro "Matz" Matsumoto 9a64598121 Merge pull request #180 from mitchblank/master
call mrb_close() in tools and test programs
2012-05-22 11:01:29 -07:00
Yukihiro Matsumoto df25301d80 Merge branch 'master' of github.com:mruby/mruby 2012-05-23 02:20:13 +09:00
Yukihiro "Matz" Matsumoto 0dc183b8f4 Merge pull request #178 from monaka/pr-avoid-redundant-redeclaration-20110522
Avoid warning: redundant redeclaration of ‘OnigEncDefaultCharEncoding’
2012-05-22 10:19:31 -07:00
Yukihiro Matsumoto f44acf7bf8 explicit normalization -0.0 to 0.0 2012-05-23 02:18:40 +09:00
Yukihiro "Matz" Matsumoto 618697cbb6 Merge pull request #182 from thecodeshop/cmake
Add CMake build infrastructure
2012-05-22 10:13:08 -07:00
Jon 9f89da6eef Add native and cross compiling CMake build support 2012-05-22 10:50:28 -04:00
Beoran b5dcb7128d First cmake build system. Works on Linux. 2012-05-22 09:11:13 -04:00
Yukihiro Matsumoto 6e67d83c95 should mark iv from MRB_TT_DATA 2012-05-22 18:36:52 +09:00