Age | Commit message (Collapse) | Author |
|
[Bug #17814]
Notes:
Merged-By: mame <[email protected]>
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/1972
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4332
|
|
* Ensure the receiver is modifiable before shinking [Bug #17736]
* Assert the receivers are not modified
Notes:
Merged: https://github.com/ruby/ruby/pull/4296
Merged-By: nobu <[email protected]>
|
|
|
|
|
|
This change make Array#- return a copy of the receiver when
the other array is empty.
|
|
|
|
|
|
This reverts commit ac1a4bccbda4358436a7a907a7f09d047f562740.
See https://github.com/ruby/ruby/pull/4088
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4088
|
|
* Add What's Here to Array RDoc
Notes:
Merged-By: BurdetteLamar <[email protected]>
|
|
Notes:
Merged-By: mrkn <[email protected]>
|
|
Also document that both :deprecated and :experimental are supported
:category option values.
The locations where warnings were marked as deprecation warnings
was previously reviewed by shyouhei.
Comment a couple locations where deprecation warnings should probably
be used but are not currently used because deprecation warning
enablement has not occurred at the time they are called
(RUBY_FREE_MIN, RUBY_HEAP_MIN_SLOTS, -K).
Add assert_deprecated_warn to test assertions. Use this to simplify
some tests, and fix failing tests after marking some warnings with
deprecated category.
Notes:
Merged: https://github.com/ruby/ruby/pull/3917
|
|
Passing current ec can improve performance of newobj. This patch
tries it for Array and String literals ([] and '').
Notes:
Merged: https://github.com/ruby/ruby/pull/3842
|
|
ractor_copy() used rb_ary_modify() to make sure this array is not
sharing anything, but it also checks frozen flag. So frozen arrays
raises an error. To solve this issue, this patch introduces new
function rb_ary_cancel_sharing() which makes sure the array does not
share another array and it doesn't check frozen flag.
[Bug #17343]
A test is quoted from https://github.com/ruby/ruby/pull/3817
Notes:
Merged: https://github.com/ruby/ruby/pull/3831
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3691
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3738
|
|
This changes the following methods to return Array instances instead
of subclass instances:
* Array#drop
* Array#drop_while
* Array#flatten
* Array#slice!
* Array#slice/#[]
* Array#take
* Array#take_while
* Array#uniq
* Array#*
Fixes [Bug #6087]
Notes:
Merged: https://github.com/ruby/ruby/pull/3690
Merged-By: jeremyevans <[email protected]>
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3589
|
|
* Support ArithmeticSequence in Array#slice
* Extract rb_range_component_beg_len
* Use rb_range_values to check Range object
* Fix ary_make_partial_step
* Fix for negative step cases
* range.c: Describe the role of err argument in rb_range_component_beg_len
* Raise a RangeError when an arithmetic sequence refers the outside of an array
[Feature #16812]
Notes:
Merged-By: mrkn <[email protected]>
|
|
Methods:
any?
all?
one?
none?
sum
shuffle!
shuffle
sample
Notes:
Merged-By: BurdetteLamar <[email protected]>
|
|
Methods considered:
count
flatten!
flatten
cycle
permutation
combination
repeated_permutation
repeated_combination
product
take
take_while
drop
drop_while
Notes:
Merged-By: BurdetteLamar <[email protected]>
|
|
Methods considered:
&
intersection
|
union
max
min
minmax
uniq!
uniq
compact!
compact
Notes:
Merged-By: BurdetteLamar <[email protected]>
|
|
Methods:
+
concat
*
assoc
rassoc
==
eql?
hash
include?
<=>
-
difference
Notes:
Merged-By: BurdetteLamar <[email protected]>
|
|
Methods considered:
delete_at
slice!
reject!
reject
delete_if
zip
transpose
replace
clear
fill
Notes:
Merged-By: BurdetteLamar <[email protected]>
|
|
Methods considered:
bsearch
bsearch_index
sort_by!
collect
collect!
values_at
select
select!
keep_if
delete
Notes:
Merged-By: BurdetteLamar <[email protected]>
|
|
Methods considered:
length
empty?
join
inspect
to_a
to_h
to_ary
reverse!
reverse
rotate!
rotate
sort!
sort
Notes:
Merged-By: BurdetteLamar <[email protected]>
|
|
Methods considered:
at
first
last
fetch
index
rindex
[]
insert
each
each_index
reverse_each
Notes:
Merged-By: BurdetteLamar <[email protected]>
|
|
Methods:
- freeze
- try_convert
- new
- \<<
- push
- pop
- shift
- unshift
- []
Notes:
Merged-By: BurdetteLamar <[email protected]>
|
|
Further compliance with https://github.com/ruby/ruby/blob/master/doc/method_documentation.rdoc#details-and-examples-
Notes:
Merged-By: BurdetteLamar <[email protected]>
|
|
"Trivial" typically means "returns a new empty Array."
Notes:
Merged-By: BurdetteLamar <[email protected]>
|
|
Notes:
Merged-By: BurdetteLamar <[email protected]>
|
|
Removes references to *-convertible thingies.
Notes:
Merged-By: BurdetteLamar <[email protected]>
|
|
RARRAY_AREF has been a macro for reasons. We might not be able to
change that for public APIs, but why not relax the situation internally
to make it an inline function.
Notes:
Merged: https://github.com/ruby/ruby/pull/3419
|
|
* Fix links to Dig Methods document
* Fix links to Dig Methods document
Notes:
Merged-By: BurdetteLamar <[email protected]>
|
|
Adds a full discussion of #dig, along with links from Array, Hash, Struct, and OpenStruct.
CSV::Table and CSV::Row are over in ruby/csv. I'll get to them soon.
The art to the thing is to figure out how much (or how little) to say at each #dig.
Notes:
Merged-By: BurdetteLamar <[email protected]>
|
|
This reverts commit c355fa72d4e356378a8b03a67432b52bafcc308b.
Notes:
Merged: https://github.com/ruby/ruby/pull/3411
|
|
Methods:
drop
drop_while
any?
all?
none?
one?
Notes:
Merged-By: BurdetteLamar <[email protected]>
|
|
|
|
Calls with a constant argument should be optimized away.
|
|
Notes:
Merged-By: BurdetteLamar <[email protected]>
|
|
Notes:
Merged-By: BurdetteLamar <[email protected]>
|
|
* Enhanced documentation for Array#repeated_combination
* Enhanced documentation for Array#repeated_combination
Notes:
Merged-By: BurdetteLamar <[email protected]>
|
|
* Enhanced documentation for Array#repeated_permutation
* Enhanced documentation for Array#repeated_permutation
Notes:
Merged-By: BurdetteLamar <[email protected]>
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3381
Merged-By: jeremyevans <[email protected]>
|
|
Fixes [Bug #10475]
|
|
|