ksss
|
8675975ba2
|
Implement Enumerable::Lazy#to_enum and enum_for
|
2016-11-30 11:02:02 +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 |
|
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
|
27ceb84818
|
parse.y: use opt_paren_args to simplify yield rule
|
2016-11-27 22:43:46 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
3d9aa463f7
|
Add NULL checks for Time data retrieval
|
2016-11-27 20:47:20 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
277e81a7c9
|
removed failing test for Time#initialize; ref #3295
|
2016-11-26 12:02:46 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
4256130ecd
|
Merge pull request #3293 from ksss/enum-first
Fix incompatibility for Enumerable#first
|
2016-11-26 09:59:50 +09:00 |
|
Bouke van der Bijl
|
b7f9a58757
|
Fix null pointer dereference in mrb_time_initialize
Reported by https://hackerone.com/raydot
|
2016-11-25 11:15:57 -05:00 |
|
ksss
|
1bf565ea04
|
Argument more strictly
|
2016-11-25 22:25:48 +09:00 |
|
ksss
|
c28a963bf4
|
Like a Enumerable#take
|
2016-11-25 22:20:33 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
743c1e7be1
|
stop warnings in the test; ref #3280
|
2016-11-25 09:44:22 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
55842c5a34
|
resolve conflict; ref #3279
|
2016-11-25 09:33:20 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
79e3980a7f
|
resolve conflict; ref #3281
|
2016-11-25 09:31:51 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
30f12ba4bc
|
resolve conflict; ref #3283
|
2016-11-25 09:27:24 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
cc2786c84e
|
resolve conflict; ref #3285
|
2016-11-25 09:25:51 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
0b4017fd69
|
resolve conflict; ref #3286
|
2016-11-25 09:23:47 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
d77b254108
|
Merge pull request #3287 from bouk/proc-arity
Fix calling .arity on Proc with undefined `initialize`
|
2016-11-25 09:20:47 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
a28fa35ea9
|
Merge pull request #3282 from bouk/fix-break-instance-class
Fix segfault when defining class inside instance_exec on primitive
|
2016-11-25 09:17:59 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
1e892c0ffa
|
Merge pull request #3280 from bouk/struct-redefine
Remove constant when a struct is redefined.
|
2016-11-25 09:15:57 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
54921aa671
|
Merge pull request #3289 from bouk/setbyte-len
Read length after args in String#setbyte
|
2016-11-25 08:01:06 +09:00 |
|
Francis Bogsanyi
|
964427f82c
|
Fix unsafe peephole optimization
Reported by https://hackerone.com/dkasak
|
2016-11-24 10:32:34 -05:00 |
|
Craig Lehmann
|
83005d83d8
|
Read length after args in String#setbyte
Prevents RCE
Reported by https://hackerone.com/raydot
|
2016-11-24 10:31:29 -05:00 |
|
Francois Chagnon
|
1ec5994377
|
Fix calling .arity on Proc with undefined initialize
Reported by @bouk
|
2016-11-24 10:23:31 -05:00 |
|
Bouke van der Bijl
|
71641bbf73
|
Fix segfault caused by empty condition in ternary
Reported by https://hackerone.com/jpenalbae
|
2016-11-24 10:20:42 -05:00 |
|
Bouke van der Bijl
|
1253982577
|
Fix codegen issue causing misaligned register
Reported by https://hackerone.com/haquaman
|
2016-11-24 10:18:48 -05:00 |
|
Bouke van der Bijl
|
75b31d7438
|
Fix segfault on method call with exactly 127 arguments
Reported by https://hackerone.com/dkasak
|
2016-11-24 10:09:37 -05:00 |
|
Bouke van der Bijl
|
4523aaec01
|
Fix segfault when defining class inside instance_exec on primitive
|
2016-11-24 10:06:15 -05:00 |
|
Clayton Smith
|
b60d6c42aa
|
Don't allow array parameter in Struct.new
|
2016-11-24 10:05:05 -05:00 |
|
Clayton Smith
|
82731d9ee0
|
Remove constant when a struct is redefined.
|
2016-11-24 10:04:09 -05:00 |
|
Bouke van der Bijl
|
73e4f069be
|
Fix nested empty heredoc causing segfault
As reported by https://hackerone.com/jpenalbae
|
2016-11-24 09:54:18 -05:00 |
|
Yukihiro "Matz" Matsumoto
|
a630c4f413
|
use MRB_PRId instead of %d for mrb_int
|
2016-11-24 22:10:54 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
8602789067
|
Merge pull request #3277 from dabroz/feature-float-tolerance
Fixed float tolerance in tests when MRB_USE_FLOAT is set
|
2016-11-24 21:48:14 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
22f73250db
|
redo should work well in for statement; fix #3275
|
2016-11-24 21:25:27 +09:00 |
|
Tomasz Dąbrowski
|
72ed7eebc3
|
Fixed Range.size to use proper floating point tolerance
|
2016-11-24 12:50:49 +01:00 |
|
Tomasz Dąbrowski
|
a8b8abbd82
|
Fixed float tolerance in tests when MRB_USE_FLOAT is set
|
2016-11-24 12:48:41 +01:00 |
|
Yukihiro "Matz" Matsumoto
|
23c73ff399
|
Time#initialize_copy: Check if source time is initialized.
To prevent crash from nasty code like:
class Time
def initialize
end
end
a = Time.new
b = Time.new
a.initialize_copy b
|
2016-11-24 13:50:36 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
cef7bd5416
|
Merge pull request #3271 from ksss/enum-take
Fix Enumeable#take some incompatibility
|
2016-11-24 11:31:28 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
227daa8811
|
Relax 'void value expression' check that was too strict
|
2016-11-24 11:22:54 +09:00 |
|
ksss
|
5134734541
|
Shouldn't call each method if size is 0
|
2016-11-24 10:35:15 +09:00 |
|
ksss
|
9e2faec8e4
|
Support object does'n have < method
|
2016-11-24 10:34:14 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
1c9593954b
|
Add "void value expression" check to the parser.
|
2016-11-24 10:32:28 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
dc4be19aab
|
Add forgotten loop_pop() in NODE_OP_ASGN codegen
|
2016-11-24 10:01:03 +09:00 |
|
Tomasz Dąbrowski
|
c2a60eb8af
|
Fix for Windows-specific mruby C++ issues
|
2016-11-24 09:28:00 +09:00 |
|
Tomasz Dąbrowski
|
1af9e363f2
|
Fixes for compiling mruby as C++
|
2016-11-24 09:28:00 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
477e12c182
|
Merge pull request #3269 from bouk/fix-printf-segfault
Fix segfault when Fixnum#chr doesn't return a string
|
2016-11-24 09:16:43 +09:00 |
|
Bouke van der Bijl
|
9bf1c0e1dc
|
Fix segfault when Fixnum#chr doesn't return a string
|
2016-11-23 15:18:52 -05:00 |
|
Bouke van der Bijl
|
c7262be0ae
|
Fix segfault in Array#sample
|
2016-11-23 11:21:14 -05:00 |
|
Yukihiro "Matz" Matsumoto
|
669bbc70b0
|
codegen_scope should not keep old iseq ptr from irep
|
2016-11-23 21:08:35 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
a70104798e
|
remove unnecessary ".!"; ref #3261
|
2016-11-22 16:55:18 +09:00 |
|