Commit Graph

2541 Commits

Author SHA1 Message Date
Yukihiro "Matz" Matsumoto 0e50d8e8f4 Merge pull request #2264 from ksss/const_missing
const_missing error message more detail
2014-05-17 00:14:48 +09:00
Yukihiro "Matz" Matsumoto f2f8c72254 Merge pull request #2262 from ksss/doc-opcode
[DOC] fix op code doc
2014-05-17 00:13:56 +09:00
ksss 066c2772e8 const_missing error message more detail 2014-05-16 22:26:47 +09:00
ksss 6a7f133d02 include/mruby/opcode.h fix operation doc
src/vm.c fix operation doc
[ci skip]
2014-05-16 20:44:54 +09:00
take_cheeze 49cf477688 Fix #2259 . 2014-05-16 19:58:36 +09:00
Yukihiro "Matz" Matsumoto 41b46ca1ed register<nlocals may not have a local variable name (e.g. a block arg); fix #2258 2014-05-16 00:04:55 +09:00
Yukihiro "Matz" Matsumoto f0b86f36c3 move mrb_irep_remove_lv from etc.c to mruby-bin-strip gem 2014-05-15 17:13:16 +09:00
take_cheeze 30e0dc7956 Support LVAR section removing. 2014-05-15 15:08:30 +09:00
Mitchell Blank Jr 493025c3af print_r() and print_lv() should only be compiled in for ENABLE_STDIO 2014-05-14 14:13:56 -07:00
Yukihiro "Matz" Matsumoto 2be348a0f1 mv opcode.h -> include/mruby/opcode.h and remove duplication from mruby-eval gem 2014-05-14 23:14:08 +09:00
Yukihiro "Matz" Matsumoto 9184d254e2 resize register number in LVAR section from 32bits to 16bits 2014-05-14 17:32:30 +09:00
Yukihiro "Matz" Matsumoto 10459a5eb2 Merge branch 'dump_lv' of https://github.com/take-cheeze/mruby into take-cheeze-dump_lv 2014-05-14 11:27:41 +09:00
Carson McDonald f0fed9dbec Consolidate muliptlication into one place 2014-05-13 11:46:47 -04:00
Carson McDonald 01988e3be7 Make sure c is large enough if there is an overflow 2014-05-13 11:46:29 -04:00
Yukihiro "Matz" Matsumoto 33b2975c9d Merge pull request #2246 from take-cheeze/fix_codedump
Remove unnecessary newline in `OP_GETGLOBAL` codedump.
2014-05-13 23:19:21 +09:00
Yukihiro "Matz" Matsumoto c12f64271a fix overflow error like #2244 on MRB_WORD_BOXING 2014-05-13 23:15:44 +09:00
take_cheeze f2450928b2 Remove unnecessary newline in OP_GETGLOBAL codedump. 2014-05-13 22:47:43 +09:00
Yukihiro "Matz" Matsumoto 4e357a4963 protect argument array from GC in OP_ENTER 2014-05-13 16:01:30 +09:00
Yukihiro "Matz" Matsumoto b4657182da convert &arg using to_proc; fix #2242 2014-05-13 09:13:33 +09:00
yui-knk ac58d1bdf6 Rename e to exception, scr_e to script_error. 2014-05-12 13:50:49 +09:00
yui-knk e07099d81b Add scr_e, to not reassign to e. 2014-05-11 19:28:34 +09:00
Yukihiro "Matz" Matsumoto 9f7651fa65 Merge pull request #2234 from suzukaze/refactor
Refactor functions in kernel.c
2014-05-11 17:25:50 +09:00
Jun Hiroe d973bcff0e Refactor mrb_equal_m() 2014-05-11 03:58:07 +09:00
Jun Hiroe 50d9d974e0 Refacotr mrb_obj_not_equal_m() 2014-05-11 03:55:51 +09:00
Jun Hiroe 2f1b4eb144 Refactor mrb_obj_equal_m() 2014-05-11 03:54:07 +09:00
Jun Hiroe 1eb6c1e963 Fix indents 2014-05-11 03:48:32 +09:00
ksss 7dbfe19fc6 OP_ENTER fix segmentation fault 2014-05-10 09:43:32 +09:00
take_cheeze d0c0beb880 Move __method__ to mruby-kernel-ext since it's not ISO method. 2014-05-09 22:44:10 +09:00
ksss 06a67df950 OP_ENTER clean block object in register 2014-05-09 08:04:36 +09:00
Yukihiro "Matz" Matsumoto 91cc8949e8 use mrb_field_write_barrier_value() in hash.c 2014-05-08 11:09:08 +09:00
Yukihiro "Matz" Matsumoto b34e24b07d use mrb_field_write_barrier_value() in array.c 2014-05-08 11:06:41 +09:00
yui-knk eafc4dd0af Make Array#[]= raise IndexError.
If second param is negative, Array#[] raise IndexError.
2014-05-08 00:17:17 +09:00
Yukihiro "Matz" Matsumoto ad2e6d0c7a Merge pull request #2204 from take-cheeze/kernel_fail
Implement Kernel.fail and Kernel#fail .
2014-05-07 08:47:01 +09:00
take_cheeze 208bafba2d Move Kernel#fail definition to mruby-kernel-ext mrbgem. 2014-05-07 00:01:30 +09:00
ksss 0c3226db04 OP_ENTER fix variable assignment 2014-05-06 23:30:02 +09:00
take_cheeze 98a610831a Implement Kernel.fail and Kernel#fail . 2014-05-06 21:29:35 +09:00
Akira Kuroda c445c6c7da refactor fix_mod
fix unreachable condition
use b
2014-05-05 23:43:37 +09:00
Yukihiro "Matz" Matsumoto 260d38d5ee Merge pull request #2200 from cremno/add-functions-for-safe-addition-and-subtraction
Add functions for safe addition and subtraction
2014-05-05 22:54:55 +09:00
Yukihiro "Matz" Matsumoto f0b0a2dd62 Merge pull request #2199 from cremno/use-memmove
fix memcpy-param-overlap
2014-05-05 22:47:39 +09:00
cremno cf8df563c0 add function for checked mrb_int subtraction 2014-05-05 15:28:26 +02:00
cremno 0f39304265 add function for checked mrb_int addition 2014-05-05 15:24:22 +02:00
Yukihiro "Matz" Matsumoto e620c666d9 Merge pull request #2196 from suzukaze/refactor-load.c
Refactor read_lineno_record_1() in load.c
2014-05-05 21:08:48 +09:00
Yukihiro "Matz" Matsumoto d44035f26f Merge pull request #2194 from suzukaze/refactor-string.c2
Refactor string.c
2014-05-05 21:08:08 +09:00
Yukihiro "Matz" Matsumoto 1ce9060fa9 Merge pull request #2195 from suzukaze/fix-indent-string.c
Fix indents in mrb_str_inspect() of string.c
2014-05-05 20:22:00 +09:00
Jun Hiroe 37d2690d0f Refactor read_lineno_record_1() in load.c 2014-05-05 13:37:14 +09:00
Jun Hiroe e8afac3ed7 Fix indents in mrb_str_inspect() of string.c 2014-05-05 13:04:58 +09:00
Jun Hiroe 06e56a5004 Refactor mrb_str_hash() 2014-05-05 12:59:42 +09:00
Jun Hiroe b9dc9ccd14 Refacotr mrb_str_substr() 2014-05-05 12:56:20 +09:00
Jun Hiroe fdde840d06 Refactor mrb_str_upcase_bang 2014-05-05 12:51:04 +09:00
Jun Hiroe 2f8de5b32b Refactor mrb_str_split_m() 2014-05-05 12:49:08 +09:00