Age | Commit message (Collapse) | Author |
|
|
|
* If the sleep is not enough to run the rest of the logic the process
would be exited early, e.g., before the signal handler can run.
|
|
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5613
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5534
|
|
* String#getbyte returns `nil` if `index` is out of range.
* Add String#getbyte example with nil output.
* Modify String#getbyte example to use negative index.
Notes:
Merged: https://github.com/ruby/ruby/pull/5586
Merged-By: nobu <nobu@ruby-lang.org>
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5599
|
|
|
|
Never returns self.
Notes:
Merged: https://github.com/ruby/ruby/pull/5605
Merged-By: nobu <nobu@ruby-lang.org>
|
|
|
|
https://github.com/ruby/securerandom/commit/62ca2828f3
|
|
`resolve_feature_path` doesn't return .so when the given ext is linked
statically by --with-static-linked-ext
Notes:
Merged: https://github.com/ruby/ruby/pull/5582
|
|
When the date is 28 Feb in the local timezone and 27 in the UTC,
the leap second info is wrongly calculated, and the Time for 1 Mar
created with a timezone resulted in an invalid date, 30 Feb.
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5606
|
|
|
|
Additions and corrections for external/internal encodings.
Notes:
Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
|
|
Not to refer outside the top build directory from rbconfig.
|
|
* Extend intro/defn of 'transcoding'
Notes:
Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5410
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5601
|
|
In String, treats:
#b
#scrub
#scrub!
#unicode_normalize
#unicode_normalize!
#encode
#encode!
Also adds a note to IO.new (suggested by @jeremyevans).
Notes:
Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
|
|
|
|
|
|
https://github.com/ruby/date/commit/c55004715a
|
|
https://github.com/ruby/date/commit/60bd16009d
|
|
https://github.com/ruby/date/commit/d57818f3b3
|
|
https://github.com/ruby/date/commit/2889698e2f
|
|
https://github.com/ruby/date/commit/5a138afce9
|
|
https://hackerone.com/reports/1254844
https://github.com/ruby/date/commit/2f7814cc22
|
|
https://hackerone.com/reports/1254844
https://github.com/ruby/date/commit/7ffe25e458
|
|
https://github.com/ruby/date/commit/017149e53e
|
|
Reduce backtracks at the same character classes arounding an
optional pattern.
https://github.com/ruby/date/commit/1fd15f7c49
|
|
https://github.com/ruby/date/commit/ec86dbbdc1
|
|
Adds sections:
String Encoding
Symbol and Regexp Encodings
Filesystem Encoding
Locale Encoding
IO Encodings
External Encoding
Internal Encoding
Script Encoding
Transcoding
Transcoding a String
Notes:
Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
|
|
Notes:
Merged-By: maximecb <maximecb@ruby-lang.org>
|
|
I noticed this yesterday when pairing with Aaron, there was an extra "e"
in "callees".
Notes:
Merged: https://github.com/ruby/ruby/pull/5597
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5595
|
|
This commit adds the ABI version as build metadata to
RUBY_LIB_VERSION. This will ensure that gems are installed in a path
with the ABI version.
Notes:
Merged: https://github.com/ruby/ruby/pull/5591
|
|
Previously when checking ancestors, we would walk all the way up the
ancestry chain checking each parent for a matching class or module.
I believe this was especially unfriendly to CPU cache since for each
step we need to check two cache lines (the class and class ext).
This check is used quite often in:
* case statements
* rescue statements
* Calling protected methods
* Class#is_a?
* Module#===
* Module#<=>
I believe it's most common to check a class against a parent class, to
this commit aims to improve that (unfortunately does not help checking
for an included Module).
This is done by storing on each class the number and an array of all
parent classes, in order (BasicObject is at index 0). Using this we can
check whether a class is a subclass of another in constant time since we
know the location to expect it in the hierarchy.
Notes:
Merged: https://github.com/ruby/ruby/pull/5568
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5568
|
|
|
|
[Bug #18599]
`vm->loaded_features` and `vm->loaded_features_snapshot` both share the
same root. When a feature is pushed into `loaded_features`, the sharing
is broken and `loaded_features` is copied.
So an application requiring 1000 files, will allocate 1000 arrays of
increasing size, which is very wasteful.
To avoid this, we first clear the snapshot, so that `loaded_features`
can directly be pushed into.
Co-Authored-By: Peter Zhu <peter.zhu@shopify.com>
Notes:
Merged: https://github.com/ruby/ruby/pull/5593
|
|
rb_ary_shift is just a special case of rb_ary_behead where we behead
only 1 element.
Notes:
Merged: https://github.com/ruby/ruby/pull/5590
|
|
|
|
|