Commit Graph

794 Commits

Author SHA1 Message Date
Yukihiro Matsumoto 261e4d3fa0 handle number literal overflow 2012-06-13 17:48:03 +09:00
Yukihiro Matsumoto 38d2b7f84c float representation simplified 2012-06-13 15:51:28 +09:00
Yukihiro Matsumoto db3d72a471 move RSHIFT from numeric.h to numeric.c 2012-06-13 15:40:41 +09:00
Yukihiro Matsumoto 6a5019d37f optimized OP_{ADD,SUB,MUL,DIV} to use numeric function for fixnums to handle overflow 2012-06-13 15:38:18 +09:00
Yukihiro Matsumoto 3894177233 generate optimized OP_DIV instruction 2012-06-13 15:37:11 +09:00
Yukihiro "Matz" Matsumoto b692b39d2e Merge pull request #266 from monaka/pr-assert-should-handle-all-exceptions
Assert should handle all exceptions.
2012-06-12 22:25:07 -07:00
Masaki Muranaka bddbf20785 Assert should handle all exceptions. 2012-06-13 09:41:30 +09:00
Yukihiro Matsumoto 3b1b9b050b optimize Array#unshift using shared body object 2012-06-13 02:29:13 +09:00
Yukihiro Matsumoto d39a355af3 wrong ary->capa size was set in ary_modify() 2012-06-13 02:27:51 +09:00
Yukihiro Matsumoto c5536326a1 replace * and == by optimization instructions OP_MUL and OP_EQ respectively; close #264 2012-06-12 23:47:23 +09:00
Yukihiro Matsumoto a74ab0c2da Kernel.eval to raise NotImplementedError 2012-06-12 23:39:54 +09:00
Yukihiro Matsumoto 8bc506e258 a bug in contant reference from modules 2012-06-12 23:39:27 +09:00
Yukihiro "Matz" Matsumoto db1244cef5 Merge pull request #263 from monaka/pr-make-sprintf-optional
Make sprintf/format optional.
2012-06-12 03:10:37 -07:00
Yukihiro Matsumoto f537e2bb96 block_given? should work; close #262 2012-06-12 19:09:11 +09:00
Yukihiro Matsumoto 4348639e1c raise error if string arg is given to Kernel#instance_eval 2012-06-12 18:33:17 +09:00
Yukihiro Matsumoto b5ffbea4c2 remove Ruby version of Kernel#instance_eval 2012-06-12 18:32:42 +09:00
Yukihiro Matsumoto 216a846bd9 mrb_get_args should honor optinal arguments 2012-06-12 18:32:05 +09:00
Yukihiro Matsumoto 324de1a002 remove Kernel#eval from the core; close #261 2012-06-12 18:05:36 +09:00
Masaki Muranaka e1e4ceb3e4 Make sprintf/format optional. 2012-06-12 17:46:38 +09:00
Yukihiro Matsumoto 30a062c165 String#split("") should split per character (byte for now) 2012-06-12 12:58:49 +09:00
Yukihiro Matsumoto ff4925b804 corrupted String#inspect on backslash escapes 2012-06-12 12:56:21 +09:00
Yukihiro Matsumoto 5937c29281 s.split(nil) should work like s.split() 2012-06-12 12:29:20 +09:00
Yukihiro Matsumoto b32e586099 should enhance test for Array#slice 2012-06-12 12:19:25 +09:00
Yukihiro Matsumoto 46b098e079 minor correction in test/t/syntax.rb 2012-06-12 12:16:18 +09:00
Yukihiro Matsumoto 3403f19cb5 should handle splat in super arguments 2012-06-12 12:14:59 +09:00
Yukihiro Matsumoto debf296843 remove obsolete comment 2012-06-12 10:22:56 +09:00
Yukihiro Matsumoto 6987ba02f8 String#split now understands string sep 2012-06-12 09:51:10 +09:00
Yukihiro Matsumoto c76abc70ff GETARG_x should return int, not int32_t 2012-06-12 01:51:50 +09:00
Yukihiro Matsumoto 21304086cd remove khash#kh_debug 2012-06-12 01:41:20 +09:00
Yukihiro Matsumoto 6247eafc71 should raise error on top-level super/yield 2012-06-12 01:24:11 +09:00
Yukihiro Matsumoto 13a542d48d zsuper should respect block given; close #185 2012-06-11 15:55:04 +09:00
Yukihiro Matsumoto 8f020f28c6 parser_dump: no print "local variables" if no local variables 2012-06-11 14:50:51 +09:00
Yukihiro Matsumoto dd550ca0d4 should increment p on every iteration; close #254 2012-06-11 14:33:01 +09:00
Yukihiro Matsumoto 9067cf6a75 should not quote || and && operators; close #253 2012-06-11 14:24:26 +09:00
Yukihiro "Matz" Matsumoto 5ca2d5e0ee Merge pull request #256 from masamitsu-murase/modify_string_slice
"slice" of shared string returns invalid result
2012-06-10 22:16:05 -07:00
Yukihiro "Matz" Matsumoto bd83a460c3 Merge pull request #255 from bovi/cmake-openwrt-any
cmake Toolchain improvement (Target x86, mips, AVR32, ARM, etc.)
2012-06-10 22:15:24 -07:00
Masamitsu MURASE 3bb09f9928 string.subseq should create new string based on 'ptr' not on 'aux.shared'. 2012-06-11 02:00:32 +09:00
Masamitsu MURASE 46c9260305 Add test for slice of shared string. 2012-06-11 01:39:45 +09:00
Daniel Bovensiepen 8607002f86 cmake Toolchain file for any OpenWRT Target (x86, mips, AVR32, ARM, etc.) 2012-06-11 00:27:38 +08:00
Yukihiro Matsumoto 85901e0546 fixed typo DISPACTH to DISPATCH 2012-06-10 21:44:57 +09:00
Yukihiro "Matz" Matsumoto 449f31ab9c Merge pull request #251 from bovi/add-mips-cmake
Add first sample for MIPS cross compile
2012-06-08 19:34:37 -07:00
Daniel Bovensiepen f75c277058 Add first sample for MIPS cross compile 2012-06-08 22:54:42 +08:00
Yukihiro "Matz" Matsumoto 707db0b4f3 Merge pull request #250 from MobiRuby/add_ud_to_mrb_state
add auxiliary data pointer to mrb_state
2012-06-07 09:50:25 -07:00
Yuichiro MASUI 5046375d51 add auxiliary data pointer to mrb_state 2012-06-08 00:59:26 +09:00
Yukihiro "Matz" Matsumoto 3fd41d4117 Merge pull request #249 from SatoshiOdawara/memory-leak-ritehash
memory leak in kh_resize_##name()
2012-06-07 07:20:11 -07:00
SatoshiOdawara 9ecc209ca0 memory leak in kh_resize_##name() 2012-06-07 16:03:53 +09:00
Yukihiro "Matz" Matsumoto 0816c0eba5 Merge pull request #248 from monaka/pr-use-value-i-for-nil-false-check
Use value.i for nil/false check.
2012-06-06 22:55:10 -07:00
Masaki Muranaka e0909fef44 Use value.i for nil/false check. 2012-06-07 09:34:27 +09:00
Yukihiro Matsumoto 1a369de489 remove src/gc.h 2012-06-07 01:18:17 +09:00
Yukihiro Matsumoto 4c01f002fd mruby/array.h: rename buf to ptr 2012-06-05 23:20:36 +09:00