Christopher Aue
|
f2d4640998
|
Extended stack always based on ci->nregs
|
2017-08-12 14:47:22 +02:00 |
|
Christopher Aue
|
3f591d71c6
|
Refactored variable usage in OP_SEND and OP_SUPER
|
2017-08-12 14:31:18 +02:00 |
|
Yukihiro "Matz" Matsumoto
|
8bf492f127
|
Reduce integer type mismatch warnings in VC.
|
2017-08-12 09:35:35 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
baa5d2e3f7
|
Remove some empty lines; ref #3778
|
2017-08-11 22:39:31 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
0828a962c0
|
Merge pull request #3778 from christopheraue/vm_refactoring
Refactored OP_SEND and OP_SUPER and calculate argc right at the top
|
2017-08-11 22:38:32 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
42f9af41fb
|
Merge pull request #3777 from christopheraue/super_method_missing_test
Added basic test for calling a missing method through super
|
2017-08-11 22:35:40 +09:00 |
|
Christopher Aue
|
731dd78aa0
|
Added basic test for calling a missing method through super
|
2017-08-11 14:09:22 +02:00 |
|
Christopher Aue
|
58f5115b22
|
Refactored OP_SEND and OP_SUPER and calculate argc right at the top
|
2017-08-11 13:42:06 +02:00 |
|
Yukihiro "Matz" Matsumoto
|
d077a5f0a6
|
scan_hex may be used to parse both unicode and hex escape.
The error checks for both usage should be separated; ref #3774
|
2017-08-11 14:25:02 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
56d4e41d76
|
Fixed a wrong condition in scan_hex; fix #3774
|
2017-08-11 14:14:30 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
96d4c2d385
|
Remove an unused argument from each_backtrace_func.
|
2017-08-11 13:52:24 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
1d781da8a6
|
Should not include float.h here.
|
2017-08-11 13:52:01 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
db72cdae28
|
Merge branch 'christopheraue-super_method_missing_fix'
|
2017-08-11 13:16:40 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
ab39ed4f82
|
Defer mid update after unshift; ref #3776
|
2017-08-11 13:15:50 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
9feb069124
|
Merge branch 'super_method_missing_fix' of https://github.com/christopheraue/mruby into christopheraue-super_method_missing_fix
|
2017-08-11 13:14:32 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
0ff28c9e60
|
Silence integer type conversion warnings.
|
2017-08-11 13:10:31 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
ef0b239704
|
Remove unnecessary inline function ary_elt.
And the function does not conform the naming convention anyway.
|
2017-08-11 12:57:37 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
67e2dddb82
|
Remove mrb_ary_len function. Use RARRAY_LEN instead.
|
2017-08-11 12:52:36 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
8f6b2121d9
|
Update document comment of array C API functions.
|
2017-08-11 12:51:45 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
4e2f4f4280
|
Avoid possible data loss by using ptrdiff_t.
|
2017-08-11 12:12:11 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
ae04005092
|
The type of ARY_EMBED_LEN should be mrb_int.
|
2017-08-11 12:09:37 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
3e075a7b6c
|
Should not call to_str in mrb_vformat; fix #3773
|
2017-08-11 09:21:47 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
68470bef86
|
Check method existence in `to_enum'; ref #3773
|
2017-08-11 09:21:09 +09:00 |
|
Christopher Aue
|
2249551c63
|
Fixed calling missing method through super with 126 args
|
2017-08-10 23:26:39 +02:00 |
|
Yukihiro "Matz" Matsumoto
|
ac42ccc1fc
|
Merge pull request #3772 from vvakame/add2authors
Updated AUTHORS
|
2017-08-10 09:50:08 +09:00 |
|
vvakame
|
a8658b0f2c
|
Updated AUTHORS
|
2017-08-10 09:21:40 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
a7462a7f42
|
Remove redundant flo_hash function.
`flo_hash` implemented `15.2.8.3.18` but `Kernel#hash` (15.3.1.3.15)
now works for numbers.
|
2017-08-10 08:47:01 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
3d288ef0d8
|
Use standard hash functions in mrb_hash_ht_hash_func.
|
2017-08-10 08:47:01 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
78be0172f7
|
Normalize float numbers before calculating a hash value.
|
2017-08-10 08:36:09 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
9826ca54f2
|
VM stack may be reallocated during mrb_hash_get; fix #3771
|
2017-08-10 08:21:43 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
9e0c48ddc6
|
Merge pull request #3770 from christopheraue/tabs_to_spaces
Replaced tabs with spaces
|
2017-08-10 07:59:49 +09:00 |
|
Christopher Aue
|
2fadddcd20
|
Replaced tabs with spaces
|
2017-08-09 21:56:27 +02:00 |
|
Yukihiro "Matz" Matsumoto
|
24c345fe5c
|
Merge branch 'vvakame-add-hash-compact'
|
2017-08-09 21:21:31 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
6c61a60609
|
Implement Hash#compact! in C; ref #3769
|
2017-08-09 21:20:50 +09:00 |
|
vvakame
|
4d46f366ac
|
add method(compact, compact!) and test of Hash to mruby-hash-ext
|
2017-08-09 19:18:02 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
f9c3ebd29d
|
Wrong blkargs pos for vararg; ref #3768
|
2017-08-09 15:23:20 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
0a61df1c34
|
The block argument offset saved in the env was wrong; fix #3768
When the method takes variable number of argument (`argc = -1`),
the block argument offset should be `-1` not `0`.
|
2017-08-09 12:57:55 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
8f62957888
|
Support break within rescue clauses; fix #3767 ref #3721
|
2017-08-09 12:25:20 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
66e2928bd4
|
Float values divided by zero should honor signs; fix #3766
It also fixes unexpected resurrection of #3745 by #3752
|
2017-08-08 02:13:11 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
8494557006
|
Set the current pc as the error position in OP_ERR; ref #3765
|
2017-08-08 01:55:46 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
e910cf6169
|
Check if ptr is NULL before calling memset; fix #3765
|
2017-08-08 01:54:43 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
1358725738
|
Merge pull request #3764 from christopheraue/new_hash_perf
Improved speed of creating new hash tables
|
2017-08-07 01:48:39 +09:00 |
|
Christopher Aue
|
ec7475d88b
|
Prevented resizing just created hashes in specific size ranges
|
2017-08-05 20:59:26 +02:00 |
|
Christopher Aue
|
0e5c3c4ebd
|
Improved speed of creating new hash tables
|
2017-08-04 22:08:29 +02:00 |
|
Yukihiro "Matz" Matsumoto
|
1b9c4855a3
|
proc->body.irep may be NULL; fix #3761
|
2017-08-05 01:28:11 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
006661394d
|
Fixed heap buffer overflow in mrb_ary_unshift_m; fix #3760
|
2017-08-05 01:18:52 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
36dbfd9bda
|
Change return type of scan_oct from int to int32_t.
|
2017-08-05 01:06:36 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
e86c252a99
|
Left shift of signed integers is undefined behavior in C; fix #3762
|
2017-08-05 01:06:36 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
8095754e28
|
Merge pull request #3763 from mimaki/fix-mrdb-source-path
Fixed a invalid source path name on mruby debugger.
|
2017-08-04 23:41:14 +09:00 |
|
Hiroshi Mimaki
|
7bdc709da0
|
Fixed a invalid source path name on mruby debugger.
|
2017-08-04 17:25:03 +09:00 |
|