Yukihiro "Matz" Matsumoto
|
144006a20e
|
update NoMethodError tests; ref #3291
|
2016-12-03 18:23:04 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
8f510be211
|
Merge branch 'method-missing-segfault' of https://github.com/bouk/mruby into bouk-method-missing-segfault
|
2016-12-03 18:20:29 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
f6d199919d
|
Needed to apply block from safe-navigation operators; fix #3310
|
2016-12-03 16:38:43 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
6b84ff4a44
|
Print NODE_SCALL (&.) from mrb_parser_dump()
|
2016-12-03 16:21:15 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
c029c6c444
|
codegen: avoid unnecessary OP_MOVE after CASE
|
2016-12-03 14:50:36 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
23c4ad0865
|
Merge pull request #3319 from bouk/apost-splatt
Fix segfault when using result of rest assignment
|
2016-12-03 12:53:21 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
79a621dd73
|
Check before retrieving struct RRange pointer; fix #3320
range->edges may be NULL for example when #initialize_copy removed.
|
2016-12-03 12:30:01 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
9776150263
|
Merge pull request #3317 from bouk/missing-to-s
Use mrb_ptr instead of mrb_cptr in Kernel#to_s
|
2016-12-03 12:01:43 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
d89cfca02c
|
Merge pull request #3315 from ksss/enumerator-with_index
Fix some incompatibility for Enumerator#with_index
|
2016-12-03 11:58:39 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
e673fbb35a
|
Merge pull request #3321 from clayton-shopify/fix-proc-crash-upstream
Fix segfault in mrb_proc_copy.
|
2016-12-03 11:54:22 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
d7589b10ed
|
Merge pull request #3316 from clayton-shopify/fix-array-size-3
Fix more integer overflows.
|
2016-12-03 11:52:52 +09:00 |
|
Clayton Smith
|
1ff4b3f800
|
Fix segfault in mrb_proc_copy.
|
2016-12-02 09:36:26 -05:00 |
|
Bouke van der Bijl
|
fe362c1f26
|
Fix segfault when using result of rest assignment
Reported by https://hackerone.com/haquaman
|
2016-12-01 15:49:36 -05:00 |
|
Bouke van der Bijl
|
9c61e1cd87
|
Use mrb_ptr instead of mrb_cptr in Kernel#to_s
This is to avoid segfault when WORD_BOXING is enabled
Reported by https://hackerone.com/brakhane
|
2016-12-01 15:23:56 -05:00 |
|
Clayton Smith
|
2bc3a5fb78
|
Fix more integer overflows.
|
2016-12-01 09:08:38 -05:00 |
|
Yukihiro "Matz" Matsumoto
|
2cca9d3688
|
avoid comparison between signed and unsigned integer; ref #3312
|
2016-12-01 18:49:39 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
f1cf6ef817
|
Merge pull request #3312 from nobu/feature/multi-unicode-escape
Feature/multi unicode escape
|
2016-12-01 18:42:40 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
4d807fc619
|
Merge pull request #3313 from yhara/add-test
Add test for recently fixed bugs
|
2016-12-01 18:41:23 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
ab4ab7c8a0
|
Fix compile error by #3309
|
2016-12-01 18:37:03 +09:00 |
|
Nobuyoshi Nakada
|
0f08914ac0
|
Support multiple elements \u syntax
|
2016-12-01 16:48:43 +09:00 |
|
Nobuyoshi Nakada
|
fed40b44b8
|
Extract read_escape_unicode from read_escape
|
2016-12-01 16:48:43 +09:00 |
|
Nobuyoshi Nakada
|
bd9bc7786f
|
Fix assertion argument orders
|
2016-12-01 16:48:43 +09:00 |
|
Nobuyoshi Nakada
|
e4086d4014
|
Fix compile error by #3309
|
2016-12-01 16:46:59 +09:00 |
|
ksss
|
2718fed124
|
Support svalue
|
2016-12-01 16:13:24 +09:00 |
|
ksss
|
0f774ff4df
|
Support nil argument as no argument
|
2016-12-01 15:33:27 +09:00 |
|
Yutaka HARA
|
3f83ec64a8
|
Add test for recently fixed bugs
|
2016-12-01 14:55:26 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
61ac564c99
|
Merge pull request #3309 from clayton-shopify/fix-array-size-2
Prevent array size calculation overflows.
|
2016-12-01 11:46:57 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
c37c255f19
|
Merge pull request #3311 from ksss/enum-generator
Support Enumerable methods
|
2016-12-01 11:46:10 +09:00 |
|
ksss
|
31f0ffeac8
|
Support Enumerable methods
|
2016-12-01 10:42:57 +09:00 |
|
Clayton Smith
|
acdddb4f14
|
Prevent array size calculation overflows.
|
2016-11-30 13:55:09 -05:00 |
|
Yukihiro "Matz" Matsumoto
|
8461a31cb4
|
Fixed too much void_expr_error(); fix #3307
|
2016-11-30 13:04:50 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
0e9c9acc11
|
Merge branch 'ksss-enumerator-lazy'
|
2016-11-30 12:54:29 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
779c2629fe
|
resolve conflict; ref #3306
|
2016-11-30 12:54:20 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
3cf66a8218
|
Merge pull request #3305 from ksss/lazy-to_enum
Implement Enumerable::Lazy#to_enum and enum_for
|
2016-11-30 12:48:28 +09:00 |
|
ksss
|
0f90227907
|
Change Lazy class outer
Lazy class should be under Enumerator instead of Enumerable
|
2016-11-30 12:36:22 +09:00 |
|
ksss
|
8675975ba2
|
Implement Enumerable::Lazy#to_enum and enum_for
|
2016-11-30 11:02:02 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
2bb47addad
|
Prohibit instantiation of immediate objects
|
2016-11-30 10:36:17 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
f7c0024b8e
|
Merge pull request #3278 from bouk/dup-class
Copy over INSTANCE_TT when duping class
|
2016-11-30 03:52:56 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
5771c9778e
|
add a test for #3296
|
2016-11-30 03:51:23 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
37743111d9
|
should not refer Struct class by name; fix #3296
|
2016-11-30 03:49:56 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
630733f346
|
check ttype before object allocation; fix #3294
|
2016-11-30 03:38:55 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
27d166d4e2
|
Merge pull request #3304 from clayton-shopify/fix-array-size
Use size_t to calculate bytes needed for array.
|
2016-11-30 03:00:43 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
66f64d4ee8
|
Merge pull request #3303 from bouk/empty-nil
Interpret argument in 'f ()' as nil instead of nothing
|
2016-11-30 02:52:39 +09:00 |
|
Clayton Smith
|
b633aa9ad4
|
Use size_t to calculate bytes needed for array.
|
2016-11-29 10:26:02 -05:00 |
|
Bouke van der Bijl
|
523c267020
|
Interpret argument in 'f ()' as nil instead of nothing
|
2016-11-29 09:23:53 -05:00 |
|
Yukihiro "Matz" Matsumoto
|
246a9a8acd
|
ary_concat: support self concatenation; fix #3302
|
2016-11-29 22:36:11 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
9fc62d28d0
|
pre-allocate arena overflow error
|
2016-11-28 09:52:57 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
27ceb84818
|
parse.y: use opt_paren_args to simplify yield rule
|
2016-11-27 22:43:46 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
36fc1f1431
|
Added Exception check in mrb_exc_set(); close #3292
PR #3293 just checks for NoMethodError.
|
2016-11-27 22:17:51 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
5ea1bb0eea
|
Merge pull request #3301 from dabroz/feature-64-bit-word
Safeguard against using MRB_INT64 with MRB_WORD_BOXING in 32-bit mode
|
2016-11-27 21:00:34 +09:00 |
|