Project

General

Profile

Activity

From 04/27/2016 to 05/03/2016

05/03/2016

10:19 PM Bug #9569: SecureRandom should try /dev/urandom first
Let's look at some OpenSSL RNG failures outside the Ruby microcosm:
* https://emboss.github.io/blog/2013/08/21/openssl-prng-is-not-really-fork-safe/
* https://github.com/ramsey/uuid/issues/80
* https://eprint.iacr.org/2016/367
If...
sarciszewski (Scott Arciszewski)
03:11 PM Bug #9569: SecureRandom should try /dev/urandom first
Shyouhei Urabe wrote:
> Filippo Valsorda wrote:
> ...
I'm sorry but your statement is completely and utterly false.
Python2's stdlib uses `os.urandom`:
- https://docs.python.org/2/library/random.html
- there's even a big message...
azet (Aaron Zauner)
03:24 AM Bug #9569: SecureRandom should try /dev/urandom first
Corey Csuhta wrote:
> what the current fallback code is actually doing is simply looking for any device named `/dev/urandom` on the host system
This is considered "not a good way" years ago already in comment #1 (also #5). Read them...
shyouhei (Shyouhei Urabe)
10:05 PM Bug #12345 (Closed): A module's private constants are given with `Module#constant(false)`
A module's private constants are given with `Module#constant(false)`.
~~~ruby
module A
X = 1
Y = 2
private_constant :Y
end
module B
Z = 3
W = 4
private_constant :W
end
A.constants # => [:X]
A.constan...
sawa (Tsuyoshi Sawada)
09:20 PM Bug #12344 (Rejected): check_funcall_respond_to behavior seems incorrect
Prior to ruby 2.3, and specifically I believe prior to the implementation of this change:
> Thu Aug 20 14:13:27 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
> ...
When a global method_missing was defined, I believe that "`check_funcall_r...
mbedalov (Matt Bedalov)
05:58 PM Bug #12320: Skip SHA from test_digest_constants for LibreSSL 2.3
ruby_2_3 r54900 merged revision(s) 53718. nagachika (Tomoyuki Chikanaga)
05:57 PM Revision 0b5e532e (git): merge revision(s) 53718: [Backport #12320]
Skip SHA from test_digest_constants for LibreSSL 2.3
The first one of ruby/openssl#40
https://github.com/ruby/openssl/issues/40#issuecomment-159839338
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54900 ...
nagachika (Tomoyuki Chikanaga)
05:47 PM Bug #12343: Backport r54896, r54897 (fix rb_complex_set_imag())
ruby_2_3 r54899 merged revision(s) 54896,54897. nagachika (Tomoyuki Chikanaga)
05:20 PM Bug #12343 (Closed): Backport r54896, r54897 (fix rb_complex_set_imag())
This ticket is only for backport management for stable branches.
The issue was already fixed on trunk.
r54896 (rb_complex_set_imag()) and r54897 (RCOMPLEX_SET_IMAG()) should be backported into `ruby_2_2` and `ruby_2_3`.
nagachika (Tomoyuki Chikanaga)
05:46 PM Revision 15ce6732 (git): merge revision(s) 54896,54897: [Backport #12343]
* complex.c (rb_complex_set_imag): Fix to properly set imag
of complex.
* internal.h (RCOMPLEX_SET_IMAG): undef RCOMPLEX_SET_IMAG
instead of duplicated undef RCOMPLEX_SET_REAL.
git-svn-id: svn+ssh://ci.ruby...
nagachika (Tomoyuki Chikanaga)
05:32 PM Bug #12339: result of 123456789 ** -2 in doc
該当する部分は r54831 で Fixnum/Bignum メソッドの統合時に書き加えられていて、ruby_2_3 以前のブランチの rdoc 用コメントには存在しませんでした。また 1 ** -2 の例は正しく (1/2) の表記になっていました。 nagachika (Tomoyuki Chikanaga)
02:31 PM Bug #12339 (Closed): result of 123456789 ** -2 in doc
Applied in changeset r54898.
----------
Update result of 123456789 ** -2
* numeric.c: [DOC] Update result of 123456789 ** -2.
[ruby-dev:49606] [Bug #12339]
Anonymous
05:28 AM Bug #12339 (Assigned): result of 123456789 ** -2 in doc
1.9でRationalが組み込みになって動作が変わったはずです。 nobu (Nobuyoshi Nakada)
03:20 PM Bug #12342: DRb.stop_service doesn't kill sleeping TimerIdConv threads
Here is a link to our workaround: https://github.com/ManageIQ/manageiq/pull/8399 jrafanie (Joe Rafaniello)
03:17 PM Bug #12342 (Closed): DRb.stop_service doesn't kill sleeping TimerIdConv threads
According to this commit[1], it's a good idea for DRb.stop_service to kill threads it creates.
My problem is I have a workflow that creates a new DRb server and provides it a TimerIdConv for keeping drb objects alive until it's not ac...
jrafanie (Joe Rafaniello)
02:31 PM Revision 8ef6dacb (git): Update result of 123456789 ** -2
* numeric.c: [DOC] Update result of 123456789 ** -2.
[ruby-dev:49606] [Bug #12339]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
02:19 PM Bug #11903: [BUG] vm_call_cfunc - cfp consistency error
I can reproduce in ruby 2.3.1 by lazy loading a sequence in FactoryGirl which has the same name as the attribute it is meant for.
Consider a Car model with a "position" attribute, the following works:
~~~ruby
FactoryGirl.define do...
jfeltesse (Julien Feltesse)
02:12 PM Revision 5bc03ef4 (git): * internal.h (RCOMPLEX_SET_IMAG): undef RCOMPLEX_SET_IMAG
instead of duplicated undef RCOMPLEX_SET_REAL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yui-knk (Kaneko Yuichiro)
01:54 PM Revision c949686d (git): * complex.c (rb_complex_set_imag): Fix to properly set imag
of complex.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yui-knk (Kaneko Yuichiro)
01:20 PM Feature #12336 (Closed): Use -std=gnu99 instead of -std=c99 for GCC
Applied in changeset r54895.
----------
* configure.in (warnflags): use -std=gnu99 instead of
-std=iso9899:1999. [Feature #12336]
naruse (Yui NARUSE)
01:20 PM Revision 03cbafcf (git): * configure.in (warnflags): use -std=gnu99 instead of
-std=iso9899:1999. [Feature #12336]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
01:14 PM Revision cdef0bc8 (git): * string.c (count_utf8_lead_bytes_with_word): Use __builtin_popcount
only if it can use SSE 4.2 POPCNT whose latency is 3 cycle.
* internal.h (rb_popcount64): use __builtin_popcountll because now
it is in fast path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54894 b2dd03c8-39d4-4d8f-98ff-823fe6...
naruse (Yui NARUSE)
12:36 PM Feature #9999: Type Annotations (Static Type Checking)
Nobuyoshi Nakada wrote:
> Alexey Babich wrote:
> ...
As I know, currently syntax like
~~~ruby
def B a(...); end
~~~
is not possible and raises smth like
~~~ruby
SyntaxError: (irb):11: syntax error, unexpected '(', expecting...
coyote (Alexey Babich)
11:26 AM Feature #9999: Type Annotations (Static Type Checking)
Alexey Babich wrote:
> ~~~ruby
> ...
How to know if it doesn't define a method `ReturnType`?
nobu (Nobuyoshi Nakada)
09:33 AM Feature #9999: Type Annotations (Static Type Checking)
**For usage level**:
Static type checking looks most useful as syntax pre-compilation feature to speed-up code execution and
code/syntax verification-before-execution improvements
**For syntax**:
Current syntax (e.g. 2.3*) shows th...
coyote (Alexey Babich)
11:36 AM Bug #12337: inconsistency between Fixnum#coerce and Bignum#coerce
Akira Tanaka wrote:
> Bignum.coerce(Fixnum) is used to implement fixnum binop bignum.
> ...
Thanks for the clarification.
In the specific case of Fixnum binop Bignum, I expect all Fixnum methods already know about Bignum and do not ca...
Eregon (Benoit Daloze)
10:07 AM Bug #12337: inconsistency between Fixnum#coerce and Bignum#coerce
Bignum.coerce(Fixnum) is used to implement fixnum binop bignum.
(binop is binary operator such as +, -, etc.)
x binop y is implemented as follows if x's class doesn't know y's class.
```
u, v = y.coerce(x)
u binop v
```
This...
akr (Akira Tanaka)
09:27 AM Bug #12337: inconsistency between Fixnum#coerce and Bignum#coerce
I had a question about Bignum#coerce in http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/75176.
I think it has limited value to have Bignum.coerce(Fixnum) or Fixnum.coerce(Bignum) return [Bignum, Bignum] instead of just the...
Eregon (Benoit Daloze)
09:10 AM Bug #12337: inconsistency between Fixnum#coerce and Bignum#coerce
I made a patch to fix this problem.
This implements bignum.coerce(float) to be [float, float] and
fixnum.coerce(bignum) to be [bignum, bignum].
```
% ./ruby -e '
fixnum = 3
bignum = 2**70
float = 5.0
[fixnum, bignum, floa...
akr (Akira Tanaka)
10:18 AM Feature #12005: Unify Fixnum and Bignum into Integer
I made a patch to unify Fixnum and Bignum:
unify-fixnum-and-bignum.patch
For rough compatibility, I defined Fixnum and Bignum as Integer.
So, foo.kind_of?(Fixnum) works as foo.kind_of?(Integer).
This works mostly because most appli...
akr (Akira Tanaka)
08:23 AM Feature #12333: `String#concat`, `Array#concat`, `String#prepend` to take multiple arguments
Satoru, thank you for the patch.
And you are making good points with the questions you raised.
> * What is the appropriate behavior when calling concat/prepend without argument?
> ...
I agree with this behavior. I think this would...
sawa (Tsuyoshi Sawada)
08:08 AM Feature #12333: `String#concat`, `Array#concat`, `String#prepend` to take multiple arguments
I wrote another patch refined for a problem stated in a previous post.
It behaves like below
~~~
ar = [1]
ar.concat(ar, ar) #=> [1,1,1]
str = "ab"
str.concat(str, str) #=> "ababab"
~~~
spinute (Satoru Horie)
07:15 AM Feature #12333: `String#concat`, `Array#concat`, `String#prepend` to take multiple arguments
I have written a patch.
And, there are some points to ask
* What is the appropriate behavior when calling concat/prepend without argument?
* The code attached now returns just self
* What should happen when writing ar.concat(a...
spinute (Satoru Horie)
05:19 AM Bug #10763 (Closed): do not receive TracePoint event for elsif
Applied in changeset r54893.
----------
parse.y: trace elsif
* parse.y (new_if_gen): set newline flag to NODE_IF to trace all
if/elsif statements. [ruby-core:67720] [Bug #10763]
nobu (Nobuyoshi Nakada)
05:19 AM Revision e0611820 (git): parse.y: trace elsif
* parse.y (new_if_gen): set newline flag to NODE_IF to trace all
if/elsif statements. [ruby-core:67720] [Bug #10763]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:22 AM Revision e0a0c2b8 (git): eval.c: constify
* eval.c (extract_raise_opts): constify argv.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

05/02/2016

09:04 PM Revision 32487971 (git): * 2016-05-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:04 PM Revision ebfb401e (git): process.c (disable_child_handler_fork_child): initialize handler for SIGPIPE
This only happens on the !POSIX_SIGNAL case; but one may
test with the following:
--- a/process.c
+++ b/process.c
@@ -3479,6 +3479,7 @@ disable_child_handler_fork_parent(struct child_handler_disabler_state *old)
#endif
...
Eric Wong
08:47 PM Bug #10763: do not receive TracePoint event for elsif
Even more strange: the problem disappears if you enclose the condition between parentheses. In the Oleg Sukhodolsky example:
elsif (method2)
angarciaba (Angel Garcia)
06:08 PM Bug #9569: SecureRandom should try /dev/urandom first
The Linux man page keeps getting mentioned, but what the current fallback code is actually doing is simply looking for any device named `/dev/urandom` on the host system:
https://github.com/ruby/ruby/blob/62b6e90d583e0a1c2be538a42640d...
cjcsuhta (Corey Csuhta)
09:22 AM Bug #9569: SecureRandom should try /dev/urandom first
Note that, while I read through this thread again, no one is arguing /dev/urandom being insecure. No one states linux kernel source is unreadable. No one is skeptical about its current implementation. Just to be clear. The problem is... shyouhei (Shyouhei Urabe)
04:38 PM Feature #6647: Exceptions raised in threads should be logged
> I remember this topic was looked at in the developer meeting this month. Matz was positive to have Thread#report_on_exception, but not default true. Sorry I don't remember the reason why he was not comfortable with defaulting this.
...
headius (Charles Nutter)
03:56 PM Feature #12334: Final/Readonly Support for Fields / Instance Variables
I know that it has nothing to do with freezing. I was just using that as an example of something where Ruby has decided to give the developer a tool to control mutation.
@Tsuyoshi - Yes a constant like that is sort of what I'm describ...
wied03 (Brady Wied)
03:50 PM Feature #12334: Final/Readonly Support for Fields / Instance Variables
It has nothing to do with freezing. Freezing is about a property of an object. What you are trying to do is about variable assignment.
I think what you want is a constant that belongs to an instance and can be defined in a method body...
sawa (Tsuyoshi Sawada)
02:54 PM Feature #12334: Final/Readonly Support for Fields / Instance Variables
If the developer had to take care of all of this, we probably would not have freezing right? You could make the case that it should be up to the developer to not mutate a frozen object. I'm not sure what the exact thought process was beh... wied03 (Brady Wied)
02:51 PM Feature #12334: Final/Readonly Support for Fields / Instance Variables
Maybe leaving it to the developer or design/code reviewing is the best way. I do think there is something to the idea of controlled mutation though. It's a good middle ground between what the functional language people are pushing for (t... wied03 (Brady Wied)
05:29 AM Feature #12334: Final/Readonly Support for Fields / Instance Variables
I agree with Shyouhei. If you are afraid of changing an instance variable in one of your classes' methods, maybe just name it @final_foo to remind you that you didn't want to change it.
There are many other checks, too, that could be ...
duerst (Martin Dürst)
04:06 AM Feature #12334 (Open): Final/Readonly Support for Fields / Instance Variables
OK, I see your proposal now. I'm not for it though ("you write a class and you can't control when to mutate its instance variables" rather sounds like a design issue to me). shyouhei (Shyouhei Urabe)
02:21 AM Feature #12334: Final/Readonly Support for Fields / Instance Variables
If the feature should be rejected, I can live with that, but I don't think we had the same idea of what I was requesting here. wied03 (Brady Wied)
02:20 AM Feature #12334: Final/Readonly Support for Fields / Instance Variables
Here is an example:
~~~ruby
class Foo
attr_reader :foo
def initialize
@foo = 123
end
def accidental_mutate
@foo = 456 # Ruby doesn't give me any way to prevent this as of now
end
end
class Foo
attr...
wied03 (Brady Wied)
02:15 AM Feature #12334: Final/Readonly Support for Fields / Instance Variables
This feature request is not about being external to the object.
I can have multiple Ruby methods in the same class besides the initialize method that all do @some_ivar = 123 or @some_ivar=456. This is about trying to guard against th...
wied03 (Brady Wied)
02:06 AM Feature #12334 (Rejected): Final/Readonly Support for Fields / Instance Variables
In ruby, instance variables are private to objects. You can _never_ access instance variables from outside of an object, unless explicitly exported via a method.
Mutation of instance variables are already controlled: you cant.
shyouhei (Shyouhei Urabe)
02:21 PM Bug #12340: Windows: File.truncate has two string encoding issues
Oops! The tests you've added are much more comprehensive than mine anyway. Thank you for the quick fix. cremno (cremno phobia)
02:06 PM Bug #12340: Windows: File.truncate has two string encoding issues
I can't find your attached file :-P, but I've fixed now. usa (Usaku NAKAMURA)
02:03 PM Bug #12340 (Closed): Windows: File.truncate has two string encoding issues
Applied in changeset r54887.
----------
* test/ruby/test_file_exhaustive.rb: test UTF-8 filename. see [Bug #12340]
usa (Usaku NAKAMURA)
12:47 PM Bug #12340 (Closed): Windows: File.truncate has two string encoding issues
`File.truncate` calls `rb_str_encode_ospath()` which returns a UTF-8 encoded Ruby string.
Then it passes a pointer to the underlying C string to `truncate()` aka `rb_w32_truncate()`.
At last the UTF-8 string is passed to `CreateFile()`...
cremno (cremno phobia)
02:05 PM Revision 3e5dc499 (git): * win32/win32.c, include/ruby/win32.h (rb_w32_utruncate): implements new
truncate alternative which accepts UTF-8 path.
* file.c (truncate): use above function.
[Bug #12340]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
02:03 PM Revision 7f50d69c (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:03 PM Revision 42ebe37b (git): * test/ruby/test_file_exhaustive.rb: test UTF-8 filename. see [Bug #12340]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
01:06 PM Bug #12341 (Closed): Plase backport r54706
Ah, this was backported 3 days ago (r54815) vo.x (Vit Ondruch)
01:03 PM Bug #12341 (Closed): Plase backport r54706
This avoids following issues with recent tzdata:
```
1) Failure:
TestTimeTZ#test_europe_moscow [/builddir/build/BUILD/ruby-2.2.5/test/ruby/test_time_tz.rb:174]:
TZ=Europe/Moscow Time.local(1992, 3, 28, 23, 0, 0).
<"1992-03-29 00...
vo.x (Vit Ondruch)
12:04 PM Revision d0fbdb00 (git): * re.c (str_coderange): to avoid function call when the string already
has coderange information.
* re.c (rb_reg_prepare_enc): add shortcut path when the regexp has
the same encoding of given string.
* re.c (rb_reg_prepare_re): avoid duplicated allocation of
onig_errmsg_buffer.
git-svn-id: svn+ssh://...
naruse (Yui NARUSE)
11:46 AM Revision 77a99fd4 (git): Update rdoc of Integer#modulo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
11:46 AM Revision a0ab5a32 (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
11:46 AM Revision c1544aaa (git): fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
10:47 AM Bug #12339 (Closed): result of 123456789 ** -2 in doc
https://github.com/ruby/ruby/blob/c353ec0c9e8e941f49910a51f7dc10cf3d3cdd17/numeric.c#L3647
の `Integer#**` の rdoc で
```
* 123456789 ** -2 #=> 6.5610001194102e-17
```
となっていますが、実際に試してみると `(1/15241578750190521)` になります。
どちらが...
znz (Kazuhiro NISHIYAMA)
08:10 AM Feature #12338 (Closed): bypass Exception.new
Redefinition of class method `new` is an outdated style, and internal exceptions should not be affected by it.
https://github.com/ruby/ruby/compare/trunk...nobu:feature/exc_new-bypass
https://github.com/ruby/ruby/pull/1331
nobu (Nobuyoshi Nakada)
03:58 AM Revision c353ec0c (git): string.c: shortcut
* string.c (rb_str_concat): shortcut concatenation to ASCII-8BIT
as well as US-ASCII.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:53 AM Revision 321c6df8 (git): string.c: fix doc
* string.c (rb_str_concat): [DOC] fix the indefinite article, for
replacement from Fixnum to Integer.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:35 AM Revision 74b314e4 (git): * test/ruby/test_refinement.rb (test_inspect): Use Integer instead of Fixnum.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:25 AM Feature #12333: `String#concat`, `Array#concat`, `String#prepend` to take multiple arguments
I will try to write a patch for it! spinute (Satoru Horie)
01:45 AM Feature #12333: `String#concat`, `Array#concat`, `String#prepend` to take multiple arguments
I think this can occasionally be helpful, and shouldn't be too difficult to implement. Can you provide a patch? duerst (Martin Dürst)
12:06 AM Revision 0e3475a6 (git): string.c: fix braces
* string.c (search_nonascii): fix braces unmatched by a
preprocessing condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

05/01/2016

09:59 PM Revision f1183cb9 (git): complex.c don't refer rb_cFixnum and rb_cBignum.
* complex.c: Don't refer rb_cFixnum and rb_cBignum.
(k_fixnum_p): Use FIXNUM_P.
(k_bignum_p): Use RB_TYPE_P.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
06:27 PM Revision 2fc97379 (git): fix mixed declaration on non UNALIGNED_WORD_ACCESS
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
04:38 PM Feature #12334: Final/Readonly Support for Fields / Instance Variables
Sorry, I should have used correct terminology. By fields, I meant instance variables. wied03 (Brady Wied)
04:29 PM Feature #12334: Final/Readonly Support for Fields / Instance Variables
What is a "field"? shevegen (Robert A. Heiler)
04:28 PM Revision af97057c (git): * test/ruby/test_numeric.rb (test_step): Use Integer::FIXNUM_MAX.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
04:15 PM Revision 76be3f22 (git): test_name use Integer instead of Fixnum.
* test/ruby/test_module.rb (test_name): Use Integer instead of Fixnum.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
04:01 PM Revision 5ea48245 (git): test/lib/test/unit/assertions.rb defines assert_fixnum and assert_bignum.
* test/lib/test/unit/assertions.rb (assert_fixnum): Defined.
(assert_bignum): Defined.
* test/ruby/test_bignum.rb: Use assert_bignum.
* test/ruby/test_integer_comb.rb: Use assert_fixnum and assert_bignum.
* test/ruby/test_optimizati...
akr (Akira Tanaka)
03:42 PM Revision 0963d96e (git): Add a cast to avoid signed integer overflow.
* vm_trace.c (recalc_remove_ruby_vm_event_flags): Add a cast to
avoid signed integer overflow.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:16 PM Revision de2f7416 (git): envutil.rb defines Integer::{FIXNUM_MIN,FIXNUM_MAX}.
* test/lib/envutil.rb: Define Integer::{FIXNUM_MIN,FIXNUM_MAX}.
* test/ruby/test_bignum.rb: Use Integer::{FIXNUM_MIN,FIXNUM_MAX}.
* test/ruby/test_bignum.rb: Ditto.
* test/ruby/test_integer_comb.rb: Ditto.
* test/ruby/test_marshal.rb...
akr (Akira Tanaka)
03:02 PM Revision f98c9a0a (git): * 2016-05-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:02 PM Revision 78729a59 (git): Fix rb_ary_sum for mathn
* array.c (rb_ary_sum): fix for mathn
* test/ruby/test_array.rb (test_sum): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
02:56 PM Revision b1376614 (git): * test/logger/test_logdevice.rb (TestLogDevice#test_shifting_period_suffix):
too many shifting. the last shifting created logs named as `*.3`, and
they were never unlinked.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
02:54 PM Revision b1ec36b2 (git): * test/lib/test/unit.rb (Options#non_options): fixed wrong regexp.
if both positives and negatives were specified, postives had to
be spcicifed from the beginning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
02:22 PM Bug #12337: inconsistency between Fixnum#coerce and Bignum#coerce
I also found 1.coerce(2) returns integers and
1.coerce(2**100) returns floats.
```
% ./ruby -e 'p 1.coerce(2)'
[2, 1]
% ./ruby -e 'p 1.coerce(2**100)'
[1.2676506002282294e+30, 1.0]
% ./ruby -v
ruby 2.4.0dev (2016-05-01 trunk 54...
akr (Akira Tanaka)
01:06 PM Bug #12337 (Closed): inconsistency between Fixnum#coerce and Bignum#coerce
I found 1.coerce(2.0) is [2.0, 1.0] but
(2**100).coerce(2.0) raises TypeError
```
% ./ruby -ve 'p 1.coerce(2.0)'
ruby 2.4.0dev (2016-05-01 trunk 54866) [x86_64-linux]
[2.0, 1.0]
% ./ruby -ve 'p (2**100).coerce(2.0)'
ruby ...
akr (Akira Tanaka)
02:19 PM Revision 64837f77 (git): fix for where UNALIGNED_WORD_ACCESS is not allowed
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
12:50 PM Revision 05655519 (git): update comments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:30 PM Revision 9ac29669 (git): Fix a test message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:00 PM Revision 54916154 (git): * win32/win32.c: drop Win2K support.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
11:42 AM Revision 62b6e90d (git): * cont.c, hash.c, random.c, win32/win32.c: cleanup some Win9x/ME/NT4
support leftovers.
[fix GH-1328] patched by @cremno
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
09:58 AM Feature #12336 (Closed): Use -std=gnu99 instead of -std=c99 for GCC
r36038以降、Ruby本体をビルドする際にはGCCに-stdオプションを与えており、
若干の変更を経て現在では-std=iso9899:1999 (-std=c99相当)を指定しています。
しかしこの指定の場合、GCCのC標準関数の代わりにビルトイン関数を用いる最適化が行われないため、
現在ちょっと残念な状態が続いています。
https://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html
また、これの導...
naruse (Yui NARUSE)
09:07 AM Revision db2c3277 (git): Use WORDS_BIGENDIAN
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:44 AM Bug #9569: SecureRandom should try /dev/urandom first
Filippo Valsorda wrote:
> **All other languages only expose /dev/urandom in the stdlib.**
This is simply not true. Python has ssl.RAND_bytes().
shyouhei (Shyouhei Urabe)
06:53 AM Bug #12335 (Closed): Segfault running Rails with Objectspace (2.2.4)
So I've been running Rails with ObjectSpace to try and identify a memoryleak. Occasionally this yields segfaults with the c level back_trace shortly after gc_start. There is a related issue here https://redmine.ruby-lang.org/issues/11930... pik (alex maznev)
01:35 AM Revision 396d835d (git): [DOC] merge documents for {Integer,Fixnum}#succ.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:14 AM Feature #12328 (Third Party's Issue): Show warnings about vulnerable and no longer supported Ruby versions.
nobu (Nobuyoshi Nakada)
01:10 AM Feature #12328: Show warnings about vulnerable and no longer supported Ruby versions.
I think this can be closed because:
1. JSON/YAML file can be created on ruby-lang.org and cached on other sites if necessary (I'll propose a format on https://github.com/ruby/www.ruby-lang.org)
2. Tools like rbenv, RVM, RubyGems and ...
Cezary (Cezary Baginski)
12:32 AM Feature #12328: Show warnings about vulnerable and no longer supported Ruby versions.
Would it make sense for ruby-lang.org to provide an "API" for announcing which versions are supported and until when?
If such warnings were to be implemented in RubyGems, it be useful to have info about supported/unsupported Ruby vers...
Cezary (Cezary Baginski)
12:23 AM Feature #12328: Show warnings about vulnerable and no longer supported Ruby versions.
Tsuyoshi Sawada wrote:
> Perhaps this can be requested as a feature of ruby gems. (...) It makes sense because you need to be connected to the internet to get the latest information, and perhaps `gem update` is the only thing you do con...
Cezary (Cezary Baginski)
12:17 AM Feature #12328: Show warnings about vulnerable and no longer supported Ruby versions.
Yui NARUSE wrote:
> I doubt such people who work extremely hard have a time to such warnings because there shall be already so many warnings.
I agree. If it is added only as a Ruby warning, people won't see it by default. If they ena...
Cezary (Cezary Baginski)
12:56 AM Revision 215a3894 (git): ChangeLog: fix a typo [ci skip]
* ChangeLog: fix typo, process ID is unrelated to login shell
name, should be user ID.
http://twitter.com/nagachika/status/726553209821523968
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

04/30/2016

11:58 PM Feature #12328: Show warnings about vulnerable and no longer supported Ruby versions.
Perhaps this can be requested as a feature of ruby gems. Those who want to be warned should set it in such a way. Then every time they do `gem update`, they are warned of an old Ruby version.
It makes sense because you need to be conn...
sawa (Tsuyoshi Sawada)
07:56 PM Feature #12328: Show warnings about vulnerable and no longer supported Ruby versions.
I doubt such people who work extremely hard have a time to such warnings because there shall be already so many warnings. naruse (Yui NARUSE)
07:15 PM Feature #12328: Show warnings about vulnerable and no longer supported Ruby versions.
**TL;DR - I'm listing real-life situations such warnings would address. Mostly about how people behave and what they expect. Just to demonstrate how important and useful such warnings could be.**
Jeremy Evans wrote:
> I am agains...
Cezary (Cezary Baginski)
05:29 PM Feature #12328: Show warnings about vulnerable and no longer supported Ruby versions.
Eric Wong wrote:
> I don't want a nanny scripting language.
Thank you, Eric. I don't either. I agree expiry is a bad idea. Especially if the Ruby-core team ever decides to change dates.
You helped me realize some people are fully...
Cezary (Cezary Baginski)
04:28 AM Feature #12328: Show warnings about vulnerable and no longer supported Ruby versions.
I am against ruby emitting warnings just because it thinks there may be a newer ruby version available.
Cezary, if you want to only support newer versions of ruby in your gems, then just start using the newer features and set required...
jeremyevans0 (Jeremy Evans)
04:12 AM Feature #12328: Show warnings about vulnerable and no longer supported Ruby versions.
cezary.baginski@gmail.com wrote:
> Would expiry dates make sense?
>
> E.g. Ruby 2.0.0-p648 (December 16th 2015) could have a "hidden" warning that would have become active after February 24th 2016.
> So in January 2016 - no warnin...
normalperson (Eric Wong)
03:56 AM Feature #12328: Show warnings about vulnerable and no longer supported Ruby versions.
Migrating from Ruby 1.9.3 to Ruby 2.2 is trivial.
But, people still remember that moving from Ruby 1.8.7 to 1.9.3 was difficult and risky.
Ruby is used for so many important projects nowadays. People should be educated to upgrade Ru...
Cezary (Cezary Baginski)
11:58 PM Feature #12142: Hash tables with open addressing
Koichi Sasada wrote:
> Yura Sokolov wrote:
> ...
I believed it is in the comment #56 of this thread.
I'd like only to add that, IMHO, switching to jemalloc by default should be a well tested decision. I read that some people report...
vmakarov (Vladimir Makarov)
08:04 PM Feature #12142: Hash tables with open addressing
Yura Sokolov wrote:
> I've put result for each combination: with/without jemalloc * old/new hash. (2*2=4)
where?
ko1 (Koichi Sasada)
03:06 PM Feature #12142: Hash tables with open addressing
I've put result for each combination: with/without jemalloc * old/new hash. (2*2=4)
There is two ways to get more reproducible result:
- first way is to use just one worker process (with several threads) and use `taskset` to bind i...
funny_falcon (Yura Sokolov)
02:50 PM Feature #12142: Hash tables with open addressing
Yura Sokolov wrote:
> And still, why don't you measure with realworld application too?
> ...
Well, I am too far away from the world of WEB developers. I've tried and it was not easy for me. After spending some time, I decided that if...
vmakarov (Vladimir Makarov)
02:32 PM Feature #12142: Hash tables with open addressing
Yura Sokolov wrote:
> You forgot to include source for added benchmark files into diff: bm_hash_small{2,4,8}, bm_bighash, bm_hash_long
Thank you for pointing this out, Yura. I've added them in the previous message. Apparently I mis...
vmakarov (Vladimir Makarov)
02:29 PM Feature #12142: Hash tables with open addressing
Eric Wong wrote:
> vmakarov@redhat.com wrote:
> ...
Thank you, Eric. I don't expect a quick response. In GCC community, a review of the patches of such size can take a few weeks. I promised you to send the patches at the end of Apri...
vmakarov (Vladimir Makarov)
05:37 AM Feature #12142: Hash tables with open addressing
And still, why don't you measure with realworld application too?
It is relatively easy to setup Redmine http://www.redmine.org/ - the same software which powers this site (bugs.ruby-lang.org).
Add project, some issues and use `ab` (a...
funny_falcon (Yura Sokolov)
05:30 AM Feature #12142: Hash tables with open addressing
You forgot to include source for added benchmark files into diff: bm_hash_small{2,4,8}, bm_bighash, bm_hash_long funny_falcon (Yura Sokolov)
03:03 AM Feature #12142: Hash tables with open addressing
vmakarov@redhat.com wrote:
> Are the first three patches OK for the trunk? If it is so, I don't
> know how to commit them to the trunk. So could somebody commit them
> or explain the procedure how to do it in this case.

Only c...
normalperson (Eric Wong)
11:09 PM Bug #12278: Sometimes I have segmentation fault with procs reducer
Koichi Sasada wrote:
> Do you have easy reproducible code which we can try?
The error has occurred suddenly everytime. Almost always, I got it during RSpec tests run.
Before, I was not able to write a simple example for provoke an e...
newmen (Gleb Averchuk)
07:33 PM Bug #12278: Sometimes I have segmentation fault with procs reducer
Do you have easy reproducible code which we can try? ko1 (Koichi Sasada)
10:32 PM Revision 0f0121fe (git): * string.c (search_nonascii): use nlz on big endian environments.
* internal.h (nlz_intpr): defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
10:24 PM Bug #9569: SecureRandom should try /dev/urandom first
I am completely puzzled by what is happening here.
A number of cryptographers and systems engineers stated publicly and loudly that /dev/urandom is the way to go.
**All other languages only expose /dev/urandom in the stdlib.** All ...
filippo (Filippo Valsorda)
10:03 PM Bug #9569: SecureRandom should try /dev/urandom first
Aaron, I don't mean to offend you, but I think you should lobby in the Linux kernel community.
https://bugzilla.kernel.org/show_bug.cgi?id=71211
mame (Yusuke Endoh)
10:05 PM Revision aa2395b8 (git): fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
07:46 PM Feature #11098: Thread-level allocation counting
Is it acceptable to use gem for this purpose?
You can make a gem using some hooks like allocation tracer gem (https://github.com/ko1/allocation_tracer).
Disadvantages:
* we need to require them first.
* it should be more slow.
ko1 (Koichi Sasada)
07:30 PM Feature #12020: Documenting Ruby memory model
Sorry for late response.
Petr Chalupa wrote:
> Let me start by elaborating more on the motivation behind all of the related
> ...
No problem. Thank you for your explanation.
> ### Motivation
> ...
I (may) understand what you wan...
ko1 (Koichi Sasada)
06:28 PM Feature #12334 (Open): Final/Readonly Support for Fields / Instance Variables
This sort of relates to https://bugs.ruby-lang.org/issues/11911
C# through 'readonly' and Java through 'final' variables/fields allow me to only allow assigning a field in the initializer. It might be nice to embrace some controlled m...
wied03 (Brady Wied)
04:32 PM Revision 424a706a (git): More optimization for r54854's search_nonascii
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:39 PM Revision 30c2d8ba (git): * 2016-05-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:39 PM Revision b888ee25 (git): revert UNALIGNED_WORD_ACCESS for GCC6
Released GCC 6.0 fixed the issue.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69291
[ruby-core:72211] [Bug #11831] [Bug #11979]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
03:39 PM Revision 4cf460a7 (git): * string.c (search_nonascii): unroll and use ntz
* configure.in (__builtin_ctz): check.
* configure.in (__builtin_ctzll): check.
* internal.h (rb_popcount32): defined for ntz_int32.
it can use __builtin_popcount but this function is not used on
GCC environment because it uses __b...
naruse (Yui NARUSE)
01:05 PM Revision c19c8ef4 (git): [DOC]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:55 PM Revision 6b6fa210 (git): Gather Fixnum method definitions.
* numeric.c (Init_Numeric): Gather Fixnum method definitions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:39 PM Revision 8248c26e (git): Define Integer#/ instead of Bignum#/.
* numeric.c (rb_int_div): Define Integer#/.
* bignum.c (rb_big_div): Don't define Bignum#/.
* lib/mathn.rb (Integer#/): Replace Integer#/ instead of Bignum#/.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54851 b2dd03c8-39d4-4d8...
akr (Akira Tanaka)
12:25 PM Feature #12333 (Closed): `String#concat`, `Array#concat`, `String#prepend` to take multiple arguments
I would like `String#concat`, `Array#concat`, `String#prepend` to take multiple arguments
~~~ruby
s = ""
s.concat("a", "b", "c")
a.prepend("A", "B", "C")
s # => "ABCabc"
a = []
a.concat(["a"], ["b", "c"])
a # => ["a", "b", "c...
sawa (Tsuyoshi Sawada)
12:24 PM Revision d0e2d150 (git): Define Integer#+ instead of Bignum#+.
* numeric.c (rb_int_plus): Define Integer#+.
* bignum.c (rb_big_plus): Don't define Bignum#+.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:09 PM Revision 11ca96d3 (git): Define Integer#- instead of Bignum#-.
* numeric.c (rb_int_minus): Define Integer#-.
* bignum.c (rb_big_minus): Don't define Bignum#-.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:54 AM Revision a9f3a1cd (git): Define Integer#* instead of Bignum#*.
* numeric.c (rb_int_mul): Define Integer#*.
* bignum.c (rb_big_mul): Don't define Bignum#*.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:31 AM Revision e27a06f4 (git): Define Integer#% instead of Bignum#%.
* numeric.c (rb_int_modulo): Define Integer#%.
* bignum.c (rb_big_modulo): Don't define Bignum#%.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:18 AM Revision 25f2c850 (git): Define Integer#== instead of Bignum#==.
* numeric.c (int_equal): Define Integer#==.
* bignum.c (rb_big_eq): Don't define Bignum#==.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:42 AM Revision 70279a57 (git): Define Integer#> instead of Bignum#>.
* numeric.c (int_gt): Define Integer#>.
* bignum.c (rb_big_gt): Don't define Bignum#>.
Renamed from big_gt.
* internal.h (rb_big_gt): Declared.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54845 b2dd03c8-39d4-4d8f-98ff-823fe6...
akr (Akira Tanaka)
10:26 AM Revision 289c3f40 (git): Define Integer#>= instead of Bignum#>=.
* numeric.c (int_ge): Define Integer#>=.
* bignum.c (rb_big_ge): Don't define Bignum#>=.
Renamed from big_ge.
* internal.h (rb_big_ge): Declared.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54844 b2dd03c8-39d4-4d8f-98ff-823f...
akr (Akira Tanaka)
10:20 AM Revision 5576a937 (git): * doc/standard_library.rdoc: Remove obsoleted classes and modules.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
10:10 AM Revision 6b16db9c (git): Define Integer#< instead of Bignum#<.
* numeric.c (int_lt): Define Integer#<.
* bignum.c (rb_big_lt): Don't define Bignum#<.
Renamed from big_lt.
* internal.h (rb_big_lt): Declared.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54842 b2dd03c8-39d4-4d8f-98ff-823fe6...
akr (Akira Tanaka)
09:48 AM Revision d00bca92 (git): Define Integer#<= instead of Bignum#<=.
* numeric.c (int_le): Define Integer#<=.
* bignum.c (rb_big_le): Don't define Bignum#<=.
Renamed from big_le.
* internal.h (rb_big_le): Declared.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54841 b2dd03c8-39d4-4d8f-98ff-823f...
akr (Akira Tanaka)
09:12 AM Revision d13774e2 (git): Define Integer#GMP_VERSION.
* bignum.c (Init_Bignum): Define Integer#GMP_VERSION.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
08:52 AM Revision 11678caa (git): Define Integer#-@ instead of Fixnum#-@.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:27 AM Revision 635cff45 (git): Define Integer#remainder instead of Bignum#remainder.
* numeric.c (int_remainder): Define Integer#remainder.
* bignum.c (rb_big_remainder): Don't define Bignum#remainder.
* internal.h (rb_big_remainder): Declared.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54838 b2dd03c8-39d4-4...
akr (Akira Tanaka)
06:30 AM Revision ae225a2c (git): {Fixnum,Bignum}#-@ is unified into Integer.
* numeric.c (rb_int_uminus): {Fixnum,Bignum}#-@ is unified into
Integer.
* bignum.c (rb_big_uminus): Don't define Bignum#-@.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
05:43 AM Revision 73dd745c (git): {Fixnum,Bignum}#div is unified into Integer.
* numeric.c (rb_int_idiv): {Fixnum,Bignum}#div is unified into
Integer.
* bignum.c (rb_big_idiv): Don't define Bignum#div.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
05:26 AM Revision 728333dc (git): {Fixnum,Bignum}#modulo is unified into Integer.
* numeric.c (rb_int_modulo): {Fixnum,Bignum}#modulo is unified into
Integer.
* bignum.c (rb_big_modulo): Don't define Bignum#modulo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
05:05 AM Revision 1b1a1ed6 (git): {Fixnum,Bignum}#divmod is unified into Integer.
* numeric.c (int_divmod): {Fixnum,Bignum}#divmod is unified into
Integer.
* bignum.c (rb_big_divmod): Don't define Bignum#divmod.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
04:22 AM Revision bda463c1 (git): move Fixnum#/ document position.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
04:20 AM Revision 27f9556d (git): {Fixnum,Bignum}#fdiv is unified into Integer.
* numeric.c (int_fdiv): {Fixnum,Bignum}#fdiv is unified into
Integer.
* bignum.c (rb_big_fdiv): Don't define Bignum#fdiv.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:59 AM Revision 8a2df1ce (git): {Fixnum,Bignum}#** is unified into Integer.
* numeric.c (rb_int_pow): {Fixnum,Bignum}#** is unified into
Integer.
* bignum.c (rb_big_pow): Don't define Bignum#**.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:30 AM Revision d73b431e (git): Rename fix_rev and rb_big_neg to fix_comp and rb_big_comp.
* bignum.c (rb_big_comp): Renamed from rb_big_neg.
* numeric.c (fix_comp): Renamed from fix_rev.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:27 AM Revision 10fb4e15 (git): {Fixnum,Bignum}#~ is unified into Integer.
* numeric.c (int_comp): {Fixnum,Bignum}#~ is unified into
Integer.
* bignum.c (rb_big_neg): Don't define Bignum#~.
* internal.h (rb_big_neg): Declared.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54829 b2dd03c8-39d4-4d8f-98f...
akr (Akira Tanaka)
03:08 AM Revision b296cacb (git): {Fixnum,Bignum}#& is unified into Integer.
* numeric.c (int_and): {Fixnum,Bignum}#& is unified into
Integer.
* bignum.c (rb_big_and): Don't define Bignum#|.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:56 AM Revision 23603c27 (git): ext/thread: remove
* ext/thread: removed dummy extension library. thread_sync.c
provides "thread.rb" already.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:55 AM Revision 13d62659 (git): thread_sync.c: define global constants always
* thread_sync.c (ALIAS_GLOBAL_CONST): define global constant
aliases unconditionally. same constants are not defined at this
time.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:54 AM Revision 44af023d (git): {Fixnum,Bignum}#| is unified into Integer.
* numeric.c (int_or): {Fixnum,Bignum}#| is unified into
Integer.
* bignum.c (rb_big_or): Don't define Bignum#|.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:18 AM Revision 480bcad7 (git): * vm_trace.c: Fix typos. [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yui-knk (Kaneko Yuichiro)
01:12 AM Revision 89a7e87c (git): pty.c: dry up
* ext/pty/pty.c (establishShell): gather initializations by the
default shell path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:09 AM Revision 00a22859 (git): pty.c: user shell
* ext/pty/pty.c (establishShell): honor USER environment variable
and login name over uid, one pid can be shared by some login
names.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:09 AM Revision 3908b3da (git): * 2016-04-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:09 AM Revision 36717c86 (git): pty.c: portabilities
* ext/pty/pty.c (no_mesg): define only if used.
* ext/pty/pty.c (pty_check): some flags may not be defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:00 AM Bug #10028 (Rejected): nested rest keyword argument
This is intentional. Nested arguments are assignees of multiple assignments in reality. And multiple assignments do not support rest keyword argument (yet). When we introduce something like #8895, it should be supported.
Matz.
matz (Yukihiro Matsumoto)

04/29/2016

10:36 PM Feature #12142: Hash tables with open addressing
Since submitting my first patch for new Ruby hash tables, a lot of
code was reworked and a lot of new implementation details were tried.
I feel that I reached a point from where I can not improve the hash
table performance anymore. ...
vmakarov (Vladimir Makarov)
10:08 PM Bug #12332 (Closed): [PATCH] proc.c: fix RDoc of Proc#===/call/yield/[]
Since r52050 ("proc.c: enable optimization of Proc#call")
for [Feature #11569], we need to maintain this documentation
in a way RDoc comprehends. This is probably not worth fixing
in RDoc itself since this uses a non-standard interna...
normalperson (Eric Wong)
07:35 PM Bug #12331 (Closed): Please backport r53586
The r54405 backported several patches. Now, trying to build Ruby 2.3.1 on Fedora 24/Rawhide, I observe following error on ARM:
```
1) Failure:
TestISeq#test_parent_iseq_mark [/builddir/build/BUILD/ruby-2.3.1/test/ruby/test_iseq.rb...
vo.x (Vit Ondruch)
02:47 PM Bug #12330 (Closed): vm_trace.c (get_event_id) returns :specified_line if SPECIFIED_LINE was occurred
Because r38728 is last commit about this line, I think this is not intended behavior.
To check which symbol is returned,
```diff
diff --git a/ext/-test-/tracepoint/tracepoint.c b/ext/-test-/tracepoint/tracepoint.c
index aa8c212....
yui-knk (Kaneko Yuichiro)
02:41 PM Bug #12329: Minitest not in the documentation
Bundled gems' documents are not installed now. nobu (Nobuyoshi Nakada)
02:27 PM Feature #10342 (Closed): Module#deprecate_constant
nobu (Nobuyoshi Nakada)
01:49 PM Bug #12312 (Closed): Make PTY take environment variables like popen does
It works already.
```
$ ruby1.9 -v -rpty -e 'PTY.spawn({"FOO"=>"bar"}, "printenv", "FOO") {|r,w,pid|p r.read}'
ruby 1.9.3p551 (2014-11-13 revision 48407) [universal.x86_64-darwin15.3.0]
"bar\r\n"
```
nobu (Nobuyoshi Nakada)
01:40 PM Revision e46ba7ab (git): maintainers.rdoc: update ext/io/nonblock [ci skip]
* doc/maintainers.rdoc (ext/io/nonblock): still maintained, as
well as ext/io/wait, which is the origin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:18 PM Revision 82e6e21e (git): * doc/maintainers.rdoc (ext/win32): of course, it's still maintained. [skip ci]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
12:03 PM Revision 37aa0f46 (git): * gems/bundled_gems: Update latest gems, test-unit-3.1.8 and rake-11.1.2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
11:43 AM Revision 5c194ec0 (git): * doc/maintainers.rdoc: Update latest maintainers list on Ruby 2.4
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
11:40 AM Feature #6647: Exceptions raised in threads should be logged
Shyouhei Urabe wrote:
> I remember this topic was looked at in the developer meeting this month. Matz was positive to have Thread#report_on_exception, but not default true.
Thanks for the reply.
> ...
That's unfortunate.
The mai...
Eregon (Benoit Daloze)
11:12 AM Revision d16ff5c4 (git): merge revision(s) 54706:
* test/ruby/test_time_tz.rb: Tests depends on Europe/Moscow removed
to avoid test failures due to the tzdata change.
https://github.com/eggert/tz/commit/8ee11a301cf173afb0c76e0315b9f9ec8ebb9d95
Found by naru...
U.Nakamura
10:52 AM Revision 621f2323 (git): * doc/maintainers.rdoc: Removed deprecated entries. These are already deleted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
10:52 AM Revision 49b64a90 (git): * doc/maintainers.rdoc: Removed Ruby 1.8 entries. It's not necessary to
Ruby 2.4 or later.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
08:52 AM Feature #12328: Show warnings about vulnerable and no longer supported Ruby versions.
I'm also maintaining to ruby-build.
We have the plan to warn to EOLed version of Ruby. ref. https://github.com/rbenv/ruby-build/issues/742
But no one implements this feature. If you submit patch to ruby-build, I will merge it :)
hsbt (Hiroshi SHIBATA)
08:12 AM Feature #12328: Show warnings about vulnerable and no longer supported Ruby versions.
I doubt that users/developers will install latest versions.
We often see the tickets for older releases.
nobu (Nobuyoshi Nakada)
08:43 AM Bug #9569: SecureRandom should try /dev/urandom first
A recent (2012) analysis of the RNG subsystem in the Linux Kernel can be found here: https://eprint.iacr.org/2012/251.pdf
The paper also describes, in detail, how `random` and `urandom` work. Apart from that, the code of the random ch...
azet (Aaron Zauner)
12:56 AM Revision ecc17e56 (git): * 2016-04-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:56 AM Revision f9602ee3 (git): win32/win32.c: remove unnecessary declaration
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

04/28/2016

06:32 PM Feature #6739: One-line rescue statement should support specifying an exception class
I noticed we have a keyword already in Ruby that’s used nearly nowhere and could be a nice fit here. Might not be linguistically optimal, but is not too bad: `in`. That keyword is currently only used for the `for` loop and should thus be... Quintus (Marvin Gülker)
06:17 PM Bug #12329 (Rejected): Minitest not in the documentation
Hi everyone,
Albeit still shipped with Ruby, the Minitest gem is not in the documentation of Ruby, neither on [ruby-doc.org][1] nor on [docs.ruby-lang.org][2]. It appears to have last been documented in version [2.1.9][3]. This should...
Quintus (Marvin Gülker)
05:48 PM Bug #12327: Seg Fault - ruby 2.3.0 mongo & OpenSSL issue??
I am almost certain this is to do with thread safety within the ssl lib. I am running ubuntu. details:
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux]
OpenSSL 1.0.1f 6 Jan 2014
alexanderbrowne (Alexander Browne)
02:56 PM Bug #12327 (Closed): Seg Fault - ruby 2.3.0 mongo & OpenSSL issue??
/opt/rbenv/versions/2.3.0/lib/ruby/2.3.0/openssl/buffering.rb:57: [BUG] Segmentation fault at 0x007fd27558dd80
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux]
-- Control frame information -------------------------------------...
alexanderbrowne (Alexander Browne)
05:24 PM Feature #12328 (Third Party's Issue): Show warnings about vulnerable and no longer supported Ruby versions.
## Problem
Users are often still using unsupported Ruby versions and developers and unknowingly supporting them.
## Impact
Developers and maintainers are often "forced" to work extremely hard and support outdated Rubies in fear ...
Cezary (Cezary Baginski)
08:06 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
Sure Nobu,
https://bugs.ruby-lang.org/issues/8206
very close to this feature request that I created years ago.
sam.saffron (Sam Saffron)
07:42 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
Sam Saffron wrote:
> There is no way to invoke the regex engine without it magically setting a pile of globals, making it very inefficient to do lots of things with regex. 3 years ago when I brought this up, Nobu suggested allowing Stri...
nobu (Nobuyoshi Nakada)
12:08 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
Just to expand on how hard this is to get right without the framework providing it
See:
https://gist.github.com/SamSaffron/d1a9cc8e141e7415e06306369fdedfe5
`/[[:^space:]]/ === str` can cause significantly more data to allocate...
sam.saffron (Sam Saffron)
08:03 AM Revision a19b53ae (git): hash.c: dry up code
* hash.c (rb_hash_update_{block,func}_callback): dry up hash
update callback code. [Fix GH-1338]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:52 AM Revision 0c4466ab (git): * re.c (rb_reg_prepare_enc): use rb_enc_asciicompat(enc) instead of
rb_enc_str_asciicompat_p(str) to avoid useless rb_enc_get(str) call.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
07:33 AM Bug #12323 (Closed): Wrong example code in OptionParser documentation
Applied in changeset r54808.
----------
optparse.rb: [DOC] fix example code [ci skip]
* lib/optparse.rb: [DOC] fix example code. base on the code by
Semyon Gaivoronskiy in [ruby-core:75224]. [Bug #12323]
nobu (Nobuyoshi Nakada)
07:29 AM Bug #12323: Wrong example code in OptionParser documentation
Thank you.
I think that `OptparseExample.parse` should be an instance method but not a class method.
nobu (Nobuyoshi Nakada)
07:33 AM Revision 38b75650 (git): optparse.rb: [DOC] fix example code [ci skip]
* lib/optparse.rb: [DOC] fix example code. base on the code by
Semyon Gaivoronskiy in [ruby-core:75224]. [Bug #12323]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:02 AM Feature #6647: Exceptions raised in threads should be logged
I remember this topic was looked at in the developer meeting this month. Matz was positive to have Thread#report_on_exception, but not default true. Sorry I don't remember the reason why he was not comfortable with defaulting this. shyouhei (Shyouhei Urabe)
06:54 AM Revision 9ef7c87d (git): win32/file.c: fix reallocation threshold
* win32/file.c (replace_to_long_name): fix reallocation threshold.
dereferenced size of a pointer is not same as the buffer size.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:54 AM Revision 1e775c18 (git): win32/file.c: remove unnecessary code
* win32/file.c (replace_to_long_name): remove unnecessary backward
scan for the last directory separator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:51 AM Feature #12280: IO.copy_stream(IO, IO) fails with "pread() not implemented"
naruse@airemix.jp wrote:
> Benoit Daloze wrote:
> > For me, having a message like:
> > "NotImplementedError: IO.copy_stream with offset is not supported on Windows since it is not atomic"
> > would be a good enough fix for this.
> ...
normalperson (Eric Wong)
05:27 AM Feature #12280: IO.copy_stream(IO, IO) fails with "pread() not implemented"
+1 to add a fallback implementation when pread is unavailable. shyouhei (Shyouhei Urabe)
05:45 AM Feature #10095: Object#as
Tsuyoshi Sawada wrote:
> So, I would like to make a proposal such that, when `instance_eval` takes a block parameter, do not switch the context, and just pass the receiver through the block parameter. This will remove the slowness of th...
shyouhei (Shyouhei Urabe)
05:13 AM Bug #12308 (Closed): segfault in add_signal_thread_list
Change state to "Closed" to enqueue backporitng process. naruse (Yui NARUSE)
12:33 AM Revision 51cf90c5 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:33 AM Revision 4e53f3ad (git): * lib/rubygems.rb, lib/rubygems/*, test/rubygems/*: Update rubygems-2.6.4.
Please see entries of 2.6.4 on
https://github.com/rubygems/rubygems/blob/master/History.txt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)

04/27/2016

11:46 PM Bug #12326 (Closed): Update rubygems to 2.5.2 in ruby_2_3
This is a ticket for ruby_2_3 stable branch maintainance. Not about issues on trunk.
There's an issue about gem install package on rubygems 2.5.1.
https://github.com/rubygems/rubygems/issues/1448
Upgrade rubygems to 2.5.2 in rub...
nagachika (Tomoyuki Chikanaga)
08:00 PM Revision 7a3f794d (git): * configure.in (rb_cv_lgamma_r_pm0): check if lgamma_r(+0.0)
returns positive infinity, in addition to lgamma_r(-0.0).
AIX returns an incorrect result of negative infinity.
* math.c (ruby_lgamma_r): handle +0.0, in addition to -0.0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54803 b2dd0...
Rei Odaira
07:21 PM Feature #11098: Thread-level allocation counting
jclark@newrelic.com wrote:
> So apparently I didn't have notifications turned on and lost track of this. Sorry!
No worries; I wish this place had a reply-to-all convention and
encourage emailing each other directly. It would mitiga...
normalperson (Eric Wong)
06:07 PM Feature #11098: Thread-level allocation counting
So apparently I didn't have notifications turned on and lost track of this. Sorry!
I've rebased this to current trunk and modified it per your suggestions Eric. How's this look? Anything else I can do to help this along?
jasonrclark (Jason Clark)
06:23 PM Bug #12325 (Closed): Ruby 2.2.1 fails with Rails 4.2.0-6 - Segmentation fault at 0x00000000000418 ruby 2.2.1p85
I am pretty sure this is not a Rails error.
Ruby 2.1.2 works fine. With Ruby 2.2.1, I cannot run rake db:migrate or any rake/db commands.
Error log attached, and partially below:
/Users/dwright/.rvm/gems/ruby-2.2.1/gems/debug_ins...
dwright (Doug Wright)
06:01 PM Bug #12324 (Closed): Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
The last beta for OpenSSL1.1.0 (1.1.0-pre5) was released a week ago. According to OpenSSL's website[1], OpenSSL 1.1.0 final will be released on 2016-05-12.
OpenSSL 1.1.0 introduces many many compatibility breaking changes[2][3] but they...
rhenium (Kazuki Yamaguchi)
05:17 PM Bug #12323 (Closed): Wrong example code in OptionParser documentation
There is a complete example code in OptionParser documentation (http://ruby-doc.org/stdlib-2.3.0/libdoc/optparse/rdoc/OptionParser.html). Trying to run it got next error message:
`example.rb:33:in 'parse': undefined local variable or me...
SerSamgy (Semyon Gaivoronskiy)
04:47 PM Feature #10095: Object#as
I think this feature is already realized by `instance_eval` given that it accepts an optional block parameter, but people do not want to use it because it is slow (and perhaps because its name is too long). The reason `instance_eval` is ... sawa (Tsuyoshi Sawada)
02:01 PM Feature #10095: Object#as
How about Object#continue?
~~~ruby
(1 + 2 + 3 + 4).continue {|x| x ** 2}
~~~
The name is brought from the concept of continuation; instead of assigning the value of expression to variable, pass the value to given computation (con...
soutaro (Soutaro Matsumoto)
04:15 PM Revision 173005bb (git): * time.c: define _DEFAULT_SOURCE because glibc 2.20 depracates
_BSD_SOURCE.
https://sourceware.org/glibc/wiki/Release/2.20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
03:35 PM Revision 43f20580 (git): * 2016-04-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:35 PM Revision f949a95d (git): {Fixnum,Bignum}#^ is unified into Integer.
* numeric.c (int_xor): {Fixnum,Bignum}#^ is unified into
Integer.
* bignum.c (rb_big_xor): Don't define Bignum#^.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:17 PM Revision cf23ad42 (git): * compile.c (new_label_body): missed backporting r54548 in r54698.
this fixes randomly test failure introduced by r54698.
cf. [Bug #12082]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@54799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
01:05 PM Revision c71e02bd (git): [Doc] Add Document-method: directives.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:59 PM Revision b530f586 (git): Update rdoc of Integer#[] (fix -> int)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:46 PM Revision 02107a91 (git): [DOC] move rdoc comments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:56 AM Revision d5a7299b (git): {Fixnum,Bignum}#[] is unified into Integer.
* numeric.c (int_aref): {Fixnum,Bignum}#[] is unified into
Integer.
* bignum.c (rb_big_aref): Don't define Bignum#<<.
* internal.h (rb_big_aref): Declared.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54795 b2dd03c8-39d4-4d8f...
akr (Akira Tanaka)
11:35 AM Feature #10548: remove callcc (Callcc is now going obsoleted. Please use Fiber.)
**Please keep callcc, they are inherently awesome to build constraint solvers.**
I am using them in a real life application. I am calculating the available tables for a full calendar with many time slots and with respect to many confi...
Overbryd (Lukas Rieder)
08:10 AM Bug #12321 (Rejected): Backticks in log output cause issues
Use multiline code block. nobu (Nobuyoshi Nakada)
05:01 AM Bug #12321: Backticks in log output cause issues
Backtick can appear anywhere else in a code block even if you get rid of this particular use in Ruby error messages. If you claim it breaks when you simply surround such string by backticks, then the way you are doing it is wrong. You sh... sawa (Tsuyoshi Sawada)
07:59 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
note this method exists in .NET String
https://msdn.microsoft.com/en-us/library/system.string.isnullorwhitespace(v=vs.110).aspx
and in Python
http://www.tutorialspoint.com/python/string_isspace.htm
sam.saffron (Sam Saffron)
06:57 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
Shyouhei Urabe wrote:
> You failed to see the problem because you could not imagine a file path containing U+3000. That is not very rare in cultures with ideographics. No, I'm not against categorizing such path being insane. But th...
sam.saffron (Sam Saffron)
06:51 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
I just come back tmm1's bloc: http://tmm1.net/ruby21-profiling/
You guys are talking on this.
But I'm wondering whether it is still true after https://github.com/rails/rails/pull/24658 is merged.
naruse (Yui NARUSE)
01:40 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
Sam Saffron wrote:
> In this particular case I fail to see how this can cause any problem.
You failed to see the problem because you could not imagine a file path containing U+3000. That is not very rare in cultures with ideographi...
shyouhei (Shyouhei Urabe)
07:33 AM Bug #12123: FileUtils.ln_s create a '.symlink' file not a symbolic link on windows
```
# Running tests:
[ 4406/15580] TestFileExhaustive#test_realpath_mount_point参数错误。
拒绝访问。
[ 4460/15580] TestFileUtils#test_cp_r_symlink = 0.02 s
1) Error:
TestFileUtils#test_cp_r_symlink:
Errno::ENOTDIR: Not a directory @ dir...
personnel (Am I Who)
07:11 AM Revision e5b436cd (git): * tool/instruction.rb: fix to follow current implementation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:11 AM Revision 5d2d4c93 (git): setdynamic is obsoleted
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:47 AM Revision 7a5b5667 (git): stringio.c: warn block for new
* ext/stringio/stringio.c (strio_s_new): warn if a block is given,
as well as IO.new.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:06 AM Feature #12280: IO.copy_stream(IO, IO) fails with "pread() not implemented"
Benoit Daloze wrote:
> For me, having a message like:
> ...
IO.copy_stream is a utility method.
It works as expected and fast if there's a suitable API like sendfile.
On this precondition, IO.copy_stream should work even on Windows...
naruse (Yui NARUSE)
05:29 AM Revision d226ce8d (git): internal.h: ONLY_FOR_INTERNAL_USE
* error.c (ruby_only_for_internal_use): raise fatal error when
deprecated function only for internal use is called, not just a
warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:29 AM Revision f8fe5349 (git): internal.h: adjust style
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:58 AM Bug #12322 (Rejected): vs 2015
Ruby 2.3 won't support VC 2015 because their msvcrt doesn't export __pioinfo.
Ruby 2.4 will support VC 2015 and VC 15 preview with hack https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/54737/diff/win32/win32.c
naruse (Yui NARUSE)
03:26 AM Bug #12322 (Rejected): vs 2015
i cannot compile ruby 2.3.1 with vc 2015 , because msvcr.lib does not have __pioinfo .
EXTERN_C _CRTIMP ioinfo * __pioinfo[];
kerwin (kerwin xu)
 

Also available in: Atom