Project

General

Profile

Activity

From 04/13/2016 to 04/19/2016

04/19/2016

09:07 PM Bug #12284: io-console gem >= 0.4.3 breaks on Windows ruby < 2.2.0 due to needing rb_sym2str
The new gem appears to have installed without problems, thank you! Will rubygems pick it up when the version number ... hobart (Jon Bailey)
06:47 PM Bug #12298 (Rejected): Indeterministic ruby behavior when another thread is killed
This is not a ruby bug. Thread scheduling is inherently non-deterministic.
Sometimes you'll switch to the work th...
drbrain (Eric Hodel)
02:04 PM Bug #12301 (Rejected): Path Check Causes Overhead and Unwanted and Unnecessary Warnings By Default
The title says it all. My solution is to disable path checking by default by defining `ENABLE_PATH_CHECK` as `1` by d... Coder-256 (Jacob G)
10:02 AM Feature #12281: Allow lexically scoped use of refinements with `using {}` block syntax
I found a way to use refinements in a block anywhere! Yay :-)
~~~ruby
module Moo
refine Fixnum do
def to...
danielpclark (Daniel P. Clark)
08:42 AM Revision 51c19594 (git): refactor parser error
* error.c (err_vcatf): rename, and separate appending message from
creating a string buffer.
* error.c (rb_syntax_e...
nobu (Nobuyoshi Nakada)
04:46 AM Revision 51612505 (git): appending compile error without rb_errinfo
* compile.c (append_compile_error, compile_bug): pass iseq and get
error info and file from it, not by the thread e...
nobu (Nobuyoshi Nakada)
04:33 AM Misc #12283: Obsolete ChangeLog and commit message in Git-style
I am positive this proposal, too. ChangeLog often conflicts and I encountered with conflicts today, too. sonots (Naotoshi Seo)
04:23 AM Bug #12190 (Rejected): DateTime.strptime and Time.strptime does not have compatibility in terms of parsing timezone
Reverted with r54647, and changed status to Rejected. sonots (Naotoshi Seo)
03:38 AM Bug #12190: DateTime.strptime and Time.strptime does not have compatibility in terms of parsing timezone
Thank you for pointing out behavior differences. I was supposed that this should not break backward compatibilities, ... sonots (Naotoshi Seo)
02:35 AM Bug #12190: DateTime.strptime and Time.strptime does not have compatibility in terms of parsing timezone
I think current Time.parse doesn't match the document.
```
# Since there are numerous conflicts among locally def...
akr (Akira Tanaka)
01:25 AM Bug #12190: DateTime.strptime and Time.strptime does not have compatibility in terms of parsing timezone
I verified that new codes cover all ZoneOffset which covered before with test codes https://.com/ruby/ruby/pull... sonots (Naotoshi Seo)
04:20 AM Revision 64231b49 (git): * lib/time.rb: revert r54167 because it would break
backward compatibilities, and it is documented that
Time.parse does not take into account time zone
abbreations o...
sonots (Naotoshi Seo)
04:14 AM Revision b48c212e (git): use more descriptive assertions
* test/logger/test_logdevice.rb: use assert_predicate,
assert_not_predicate, and assert_file instead of bare assert...
nobu (Nobuyoshi Nakada)
04:13 AM Revision eb20a743 (git): * ChangeLog: Fix dates of previous commits
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e sonots (Naotoshi Seo)
04:01 AM Misc #12124: Use Automake
C.J. Collier wrote:
> I had a meeting yesterday at Microsoft in Redmond with members of the Visual Studio team. The...
naruse (Yui NARUSE)
03:55 AM Revision 7bb03997 (git): * ChangeLog: Add descriptions for logger updates
* NEWS: Add descriptions for logger updates
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54644 b2dd03c8-39d4-4d...
sonots (Naotoshi Seo)
03:49 AM Feature #10772 (Closed): Add ability to change rotated log file extention
fixed via https://.com/ruby/ruby/commit/2c6f15b1ad90af37d7e0eefff7b3f5262e0a4c0b sonots (Naotoshi Seo)
12:40 AM Feature #12300 (Closed): Allow Object#clone to take freeze: false keyword argument to not freeze the clone
This allows Object#clone to not freeze the resulting object, which fixes a long standing problem in ruby in that you ... jeremyevans0 (Jeremy Evans)

04/18/2016

10:59 PM Feature #12299 (Closed): Add Warning module for customized warning handling
This is another attempt to provide the same type of support for customized warning handling as #12026. matz had a co... jeremyevans0 (Jeremy Evans)
05:46 PM Bug #12249: Math.gamma(-0.0) should return -Infinity
ruby_2_3 r54643 merged revision(s) 54492,54494,54495,54496,54499,54503. nagachika (Tomoyuki Chikanaga)
05:46 PM Revision e824b05b (git): merge revision(s) 54492,54494,54495,54496,54499,54503: [Backport #12249]
* math.c (ruby_tgamma): fix tgamma(-0.0) on mingw.
[ruby-core:74817] [Bug #12249]
* math.c (ruby_l...
nagachika (Tomoyuki Chikanaga)
05:38 PM Bug #12190: DateTime.strptime and Time.strptime does not have compatibility in terms of parsing timezone
I also thought in the same way.
So, I did not backport this into 2.1.
usa (Usaku NAKAMURA)
05:26 PM Bug #12190: DateTime.strptime and Time.strptime does not have compatibility in terms of parsing timezone
I wonder if this change could break existing codes.
Any thoughts? If there's no real demand, I'll marks this as WONT...
nagachika (Tomoyuki Chikanaga)
05:14 PM Feature #11816: Partial safe navigation operator
Oh, thanks for the fix. That was really fast. joanbm (Joan Blackmoore)
04:38 PM Feature #11816 (Assigned): Partial safe navigation operator
naruse (Yui NARUSE)
08:53 AM Feature #11816 (Closed): Partial safe navigation operator
Applied in changeset ruby_2_3|r54635.
----------
merge revision(s) 54628: [Backport #12296]
* compile.c (iseq_peep...
naruse (Yui NARUSE)
07:13 AM Feature #11816 (Open): Partial safe navigation operator
nobu (Nobuyoshi Nakada)
07:07 AM Feature #11816 (Closed): Partial safe navigation operator
Applied in changeset r54628.
----------
compile.c: fix dangling link
* compile.c (iseq_peephole_optimize): should n...
nobu (Nobuyoshi Nakada)
05:34 AM Feature #11816: Partial safe navigation operator
@Matthew
Thought about it again and would agree with the last paragraph. Direct substitution is not appropriate he...
joanbm (Joan Blackmoore)
01:11 AM Feature #11816: Partial safe navigation operator
I don't necessarily disagree with the rest of Joan's post, but for this point:
Joan Blackmoore wrote:
>
> It ma...
phluid61 (Matthew Kerwin)
12:36 AM Feature #11816: Partial safe navigation operator
I can understand the intention behind the proposal, but would like to express a (strong) disagreement with it.
The...
joanbm (Joan Blackmoore)
05:12 PM Bug #8851: alias/undef で % リテラルによるシンボルが使えない
ruby_2_3 r54642 merged revision(s) 53753,54131. nagachika (Tomoyuki Chikanaga)
05:12 PM Revision b7c90baf (git): merge revision(s) 53753,54131: [Backport #8851]
lex.c.blt: update
* lex.c.blt: follows r52429, not removing casts to int.
* defs/keywords (alias, un...
nagachika (Tomoyuki Chikanaga)
03:54 PM Revision dd4f5901 (git): * test/logger/test_logdevice.rb: fix tests to pass on windows
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e sonots (Naotoshi Seo)
03:07 PM Revision 7b2d4713 (git): * 2016-04-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:07 PM Revision 2c6f15b1 (git): * lib/logger.rb: Add shift_period_suffix option [Fix GH-10772]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e sonots (Naotoshi Seo)
01:16 PM Feature #11955: Expose Object that Receives logs in Logger
I am wondering of the interface yet.
Users pass an io object to Logger constructor as `logdev` like `Logger.new(lo...
sonots (Naotoshi Seo)
01:00 PM Bug #12298: Indeterministic ruby behavior when another thread is killed
Related Honeybadger bug: https://.com/honeybadger-io/honeybadger-ruby/issues/186 rupert (Robert Pankowecki)
12:58 PM Bug #12298 (Rejected): Indeterministic ruby behavior when another thread is killed
```
#!ruby
require 'securerandom'
class MyThread < ::Thread; end
def delay
15
end
def run
loop { work...
rupert (Robert Pankowecki)
12:54 PM Bug #12297 (Rejected): Ruby stdlib date can parse non-existent date with year 0
Ruby date lib can parse date with year 0
`$ pry
[1] pry(main)> shitdate=Date.strptime('0000-01-07','%Y-%m-%d')
=> ...
globi (t b)
10:45 AM Feature #12224 (Closed): logger: Allow specifying log level in constructor
Applied in changeset r54638.
----------
Allow specifying logger parameters in constructor
* lib/logger.rb: Allow sp...
sonots (Naotoshi Seo)
10:45 AM Revision a0409533 (git): Allow specifying logger parameters in constructor
* lib/logger.rb: Allow specifying logger prameters such as level,
progname, datetime_format, formatter in construct...
sonots (Naotoshi Seo)
09:13 AM Bug #12291: Struct member accessor is not consistent with hash access when keys are repeated
ruby_2_3 r54637 merged revision(s) 54611,54612. naruse (Yui NARUSE)
09:12 AM Revision 9dc33b83 (git): merge revision(s) 54611,54612: [Backport #12291]
* struct.c (struct_make_members_list): extract making member name
list from char* va_list, with creating sy...
naruse (Yui NARUSE)
09:02 AM Bug #12238 (Rejected): Logger writes progname if log message is nil
sonots (Naotoshi Seo)
09:02 AM Bug #12238: Logger writes progname if log message is nil
Seems intended, so let me close.
(It is okay to change the behavior, but it looks also okay not to change the behavior)
sonots (Naotoshi Seo)
09:00 AM Misc #12283: Obsolete ChangeLog and commit message in Git-style
I welcome this proposal. It makes committing easier. Can you please tell us when this proposal will actually start? I... duerst (Martin Dürst)
08:55 AM Bug #12264: Win32::Registry::API.DeleteKey and DeleteValue reference renamed constants
ruby_2_3 r54636 merged revision(s) 54529. naruse (Yui NARUSE)
08:54 AM Revision 79e826d7 (git): merge revision(s) 54529: [Backport #12264]
* ext/win32/lib/win32/registry.rb (DeleteValue, DeleteKey): fix
API names. [ruby-core:74863] [Bug #12264]
...
naruse (Yui NARUSE)
08:53 AM Bug #12296 (Closed): [Backport] fix dangling link
Applied in changeset ruby_2_3|r54635.
----------
merge revision(s) 54628: [Backport #12296]
* compile.c (iseq_peep...
naruse (Yui NARUSE)
08:53 AM Bug #12296: [Backport] fix dangling link
ruby_2_3 r54635 merged revision(s) 54628. naruse (Yui NARUSE)
07:17 AM Bug #12296 (Closed): [Backport] fix dangling link
Backport r54628 to fix infinite loop by dangling link.
c.f. https://bugs.ruby-lang.org/issues/11816#change-58120
nobu (Nobuyoshi Nakada)
08:53 AM Revision 4989a071 (git): merge revision(s) 54628: [Backport #12296]
* compile.c (iseq_peephole_optimize): should not replace the
current target INSN, not to follow the replace...
naruse (Yui NARUSE)
08:26 AM Bug #12279: cont.c: wrong _MSC_VER check
ruby_2_3 r54634 merged revision(s) 54574. naruse (Yui NARUSE)
08:26 AM Revision 892deeb5 (git): merge revision(s) 54574: [Backport #12279]
* cont.c (fiber_initialize_machine_stack_context): fix wrong
_MSC_VER check, should be decimal but not hexa...
naruse (Yui NARUSE)
08:17 AM Bug #12095: ruby_vm_at_exit can sometime cause a crash.
ruby_2_3 r54633 merged revision(s) 54484. naruse (Yui NARUSE)
08:15 AM Revision 157401a9 (git): merge revision(s) 54484: [Backport #12095]
* vm_core.h (rb_vm_struct): make at_exit a single linked list but
not RArray, not to mark the registered fu...
naruse (Yui NARUSE)
08:00 AM Bug #12237: Coverage keeps tracking counts even after Coverage.result
ruby_2_3 r54632 merged revision(s) 54465. naruse (Yui NARUSE)
08:00 AM Revision 1b327a08 (git): merge revision(s) 54465: [Backport #12237]
* thread.c (update_coverage): Do not track coverage in loaded files
after Coverage.result. Avoids out-of-bo...
naruse (Yui NARUSE)
07:34 AM Bug #12233: Please consider adding documentation to DateTime, one line, require 'date'
ruby_2_3 r54631 merged revision(s) 54444. naruse (Yui NARUSE)
07:33 AM Revision 0e30b44a (git): merge revision(s) 54444: [Backport #12233]
* ext/date/date_core.c (Init_date_core): [DOC] fix misplaced doc
of DateTime. [ruby-core:74729] [Bug #1223...
naruse (Yui NARUSE)
07:08 AM Revision ec2f6316 (git): error.c: warn_vsprintf
* error.c (warn_vsprintf, warning_string): share common code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5463...
nobu (Nobuyoshi Nakada)
07:08 AM Revision 5a0543e8 (git): error.c: compile_vsprintf
* error.c (compile_vsprintf): rename compile_snprintf, following
the argument changes.
git-svn-id: svn+ssh://ci.ru...
nobu (Nobuyoshi Nakada)
07:07 AM Revision 6ee3a2cd (git): compile.c: fix dangling link
* compile.c (iseq_peephole_optimize): should not replace the
current target INSN, not to follow the replaced dangli...
nobu (Nobuyoshi Nakada)
04:57 AM Bug #12199: About msys2 path conversion measures in make test-all
ruby_2_3 r54627 merged revision(s) 54086,54211,54233. naruse (Yui NARUSE)
04:57 AM Revision ffcad81c (git): merge revision(s) 54086,54211,54233: [Backport #12199]
* test/lib/test/unit.rb (Options#non_options): make regexp name
options prefixed with "!" negative filters....
naruse (Yui NARUSE)
03:57 AM Revision 0a38e38a (git): numeric.c: numeric ndigits
* numeric.c (num_floor, num_ceil, num_truncate): add an optional
parameter, digits, as well as Numeric#round. [Fea...
nobu (Nobuyoshi Nakada)
03:56 AM Revision fe96a249 (git): numeric.c: flo_truncate
* numeric.c (flo_truncate): add an optional parameter, digits, as
well as Float#round. [Feature #12245]
git-svn-i...
nobu (Nobuyoshi Nakada)
03:55 AM Revision 39f31b8c (git): numeric.c: int_truncate
* numeric.c (int_truncate): add an optional parameter, digits, as
well as Integer#round. [Feature #12245]
git-svn...
nobu (Nobuyoshi Nakada)
03:40 AM Revision adc7cb24 (git): test_float.rb: assertions for negative floats
* test/ruby/test_float.rb: add assertions for round,floor,ceil on
negative floats. [Feature #12245]
git-svn-id: s...
nobu (Nobuyoshi Nakada)
02:38 AM Revision b25f06d3 (git): * 2016-04-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:38 AM Revision ae4eb682 (git): numeric.c: update doc [ci skip]
* numeric.c (int_to_i): [DOC] floor and ceil are no longer
synonyms. [Feature #12245]
git-svn-id: svn+ssh://ci.ru...
nobu (Nobuyoshi Nakada)

04/17/2016

09:55 PM Bug #12295: Ripper not emitting on_parse_error for global variable name syntax errors
You can handle the case by using `compile_error` instead of `on_parse_error` as below:
```
$ ruby -rripper -e 'cl...
usa (Usaku NAKAMURA)
07:54 PM Bug #12295: Ripper not emitting on_parse_error for global variable name syntax errors
After looking into this a little more it looks like the Ruby error is not a "parse error", though it probably should ... lsegal (Loren Segal)
07:48 PM Bug #12295 (Rejected): Ripper not emitting on_parse_error for global variable name syntax errors
Ripper is not emitting the `on_parse_error` event for certain types of syntax errors, specifically for the following ... lsegal (Loren Segal)
12:37 PM Revision 912948c7 (git): error.c: remove unused function
* error.c (rb_compile_bug): remove unused function, which has
never been exposed.
git-svn-id: svn+ssh://ci.ruby-la...
nobu (Nobuyoshi Nakada)
11:34 AM Revision 5e084529 (git): * array.c (rb_ary_sum): [DOC] fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
07:34 AM Feature #12281: Allow lexically scoped use of refinements with `using {}` block syntax
Not having any pro or contra opinion here but I would like to just briefly chime in that I find the syntax quite heav... shevegen (Robert A. Heiler)
01:49 AM Bug #12294 (Rejected): String encoding methods rename
Use `String#encode`. nobu (Nobuyoshi Nakada)
12:07 AM Bug #12294 (Rejected): String encoding methods rename
http://ruby-doc.org/stdlib-2.3.0/libdoc/nkf/rdoc/String.html
Most of the string encoding methods are named counter...
baweaver (Brandon Weaver)
01:46 AM Bug #12293: BUILD FAILED (OS X 10.11.5 using ruby-build 20160330)
And the reason of segfault is the usual mixing incompatible libraries.
```
-- Control frame information ---------...
nobu (Nobuyoshi Nakada)
01:06 AM Bug #12183: require "win32ole" すると終了ステータスが必ず 0 になる
手元で r49495 の修正で事象が解消されることを確認しました。
https://.com/ruby/ruby/commit/99eaebcea3ae30f14da659cfd2d5b3b00ff9d351
suke (Masaki Suketa)

04/16/2016

07:43 PM Bug #12073: local variable interferes with keyword arguments
ruby_2_3 r54618 merged revision(s) 53834,53835,53836. nagachika (Tomoyuki Chikanaga)
07:43 PM Revision b118f5d8 (git): merge revision(s) 53834,53835,53836: [Backport #12073]
parse.y: simplify local ID condition
* parse.y (tokenize_ident, parse_ident): ident in tokenize_ident()
ca...
nagachika (Tomoyuki Chikanaga)
07:28 PM Bug #12068: raise overwrites exception cause even if exception is not new
ruby_2_3 r54617 merged revision(s) 53819,53822. nagachika (Tomoyuki Chikanaga)
07:28 PM Revision 53298a28 (git): merge revision(s) 53819,53822: [Backport #12068]
* eval.c (setup_exception): set the cause only if it is explicitly
given or not set yet. [Bug #12068]
gi...
nagachika (Tomoyuki Chikanaga)
07:21 PM Bug #12293 (Rejected): BUILD FAILED (OS X 10.11.5 using ruby-build 20160330)
Why you use such old version of ruby?
2.0.0 is already expired.
Try 2.3.0 or 2.2.4 (or 2.1.9/2.1.10, but I don't re...
usa (Usaku NAKAMURA)
05:37 PM Bug #12293 (Rejected): BUILD FAILED (OS X 10.11.5 using ruby-build 20160330)
Installing Ruby version 2.0.0-p353 on my Mac OSX Version: 10.11.5 Beta (15F18c), got an installation error. Thanks f... thinktankshark (Sam Assadi)
07:20 PM Revision f2ee4c7e (git): * 2016-04-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:20 PM Revision 531514ba (git): * tool/redmine-backporter.rb: revisions are strings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
11:16 AM Bug #12292 (Closed): Race between OpenSSL::SSL::SSLSocket#stop and #connect can cause a segmentation fault
The following code will demonstrate the issue:
~~~ruby
require "openssl"
require "socket"
ctx = OpenSSL::SSL:...
rhenium (Kazuki Yamaguchi)
05:25 AM Revision a17dfde3 (git): * ext/date/date_core.c : remove not used f_getlocal macro.
After r54553 f_getlocal macro is not used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54614 b2dd03c8-39d4-4d8...
yui-knk (Kaneko Yuichiro)
05:14 AM Revision 3fa0fc69 (git): * ext/date/date_core.c : remove not used f_utc6 macro.
After r54169 f_utc6 macro is not used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54613 b2dd03c8-39d4-4d8f-98...
yui-knk (Kaneko Yuichiro)
04:20 AM Feature #12282: Hash#dig! for repeated applications of Hash#fetch
I concur with Shyouhei Urabe - the name seems to not entirely fit the
given outcome.
More typical use cases of me...
shevegen (Robert A. Heiler)
01:00 AM Bug #12291 (Closed): Struct member accessor is not consistent with hash access when keys are repeated
Applied in changeset r54612.
----------
struct.c: unique members
* struct.c (struct_make_members_list, rb_struct_s_...
nobu (Nobuyoshi Nakada)
01:00 AM Revision da2e0721 (git): struct.c: unique members
* struct.c (struct_make_members_list, rb_struct_s_def): member
names should be unique. [ruby-core:74971] [Bug #1229...
nobu (Nobuyoshi Nakada)
12:59 AM Revision c746d502 (git): struct.c: struct_make_members_list
* struct.c (struct_make_members_list): extract making member name
list from char* va_list, with creating symbols wi...
nobu (Nobuyoshi Nakada)

04/15/2016

11:36 PM Bug #12183: require "win32ole" すると終了ステータスが必ず 0 になる
Cygwin パッケージ同梱のRubyでは再現しました。
自分でビルドしたruby 2.2.4p230 では再現しました。
自分でビルドしたruby 2.3.0 では再現しませんでした。
trunk でも再現しませんでした。
...
suke (Masaki Suketa)
10:09 PM Misc #12124: Use Automake
C.J. Collier wrote:
> Shyouhei Urabe wrote:
> > We looked at this issue on this month's developer meeting. Attende...
cjcollier (C.J. Collier)
04:34 PM Revision 25c0a2d3 (git): * tool/redmine-backporter.rb: sort revisions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
04:26 PM Revision b59a158a (git): * array.c (rb_ary_sum): Don't yield same element twice.
Found by nagachika.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
04:25 PM Bug #12291: Struct member accessor is not consistent with hash access when keys are repeated
Interestingly, I'm seeing the following on ruby 2.0.0p648:
```
[1] pry(main)> foo = Struct.new(:a, :a).new("1", "...
jkrmr (Jake Romer)
04:13 PM Bug #12291: Struct member accessor is not consistent with hash access when keys are repeated
I would expect that foo['a'] and foo.a to return the same value. jcole1989 (James Coleman)
04:12 PM Bug #12291 (Closed): Struct member accessor is not consistent with hash access when keys are repeated
~~~
irb(main):001:0> foo = Struct.new(:a, :a).new("1", "2")
=> #<struct a="1", a="2">
irb(main):002:0> foo.a
=> "...
jcole1989 (James Coleman)
04:22 PM Bug #12287: [Backport] r53619: libdir_basename on Windows
ruby_2_3 r54608 merged revision(s) 53619,53620,53621,53622,53623,53624,53626,53627. nagachika (Tomoyuki Chikanaga)
05:49 AM Bug #12287 (Closed): [Backport] r53619: libdir_basename on Windows
Windowsでも32bit/64bit用のライブラリを使い分けるために--with-libdirをバックポートしてください。 nobu (Nobuyoshi Nakada)
04:22 PM Revision ef5b2914 (git): merge revision(s) 53619,53620,53621,53622,53623,53624,53626,53627: [Backport #12287]
configure.bat: --with-libdir
* win32/configure.bat: add --with-libdir option for basename of
libdir. on W...
nagachika (Tomoyuki Chikanaga)
04:07 PM Bug #12290: Possible segfault with Thread#name=
ruby_2_3 r54607 merged revision(s) 54598,54600. nagachika (Tomoyuki Chikanaga)
12:12 PM Bug #12290 (Closed): Possible segfault with Thread#name=
Applied in changeset r54598.
----------
thread.c: must be initialized to set name
* thread.c (get_initialized_threa...
nobu (Nobuyoshi Nakada)
11:51 AM Bug #12290: Possible segfault with Thread#name=
That still segfaulted when using `self.name = nil`. Version 2 attached. herwinw (Herwin Quarantainenet)
11:44 AM Bug #12290: Possible segfault with Thread#name=
And this is the simplest solution I could think of. It throws an exception, which is a better way to react than a seg... herwinw (Herwin Quarantainenet)
11:23 AM Bug #12290: Possible segfault with Thread#name=
And since it's pretty easy to get the relevant source on a running debian system:
```
int
pthread_setname_np (t...
herwinw (Herwin Quarantainenet)
11:14 AM Bug #12290: Possible segfault with Thread#name=
And of course the backtrace can be improved when installing the debugging symbols for libc
```
/lib/i386-linux-gn...
herwinw (Herwin Quarantainenet)
11:07 AM Bug #12290 (Closed): Possible segfault with Thread#name=
Ruby 2.3 added a Thread#name=, which may segfault when used incorrectly. This little program:
```ruby
class SubCl...
herwinw (Herwin Quarantainenet)
04:07 PM Revision 260d1ac2 (git): merge revision(s) 54598,54600: [Backport #12290]
* thread.c (get_initialized_threadptr): extract ensuring that the
thread is initialized.
* thread....
nagachika (Tomoyuki Chikanaga)
04:04 PM Revision 72305d25 (git): * array.c (rb_ary_sum): Fix SEGV by [1/2r, 1].sum.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:26 PM Revision 7111e7c6 (git): * 2016-04-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:26 PM Revision 4873e621 (git): mention Array#sum with third-party gems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:54 PM Revision d1d95056 (git): rename rb_rational_add -> rb_rational_plus
* rational.c (rb_rational_plus): rename from rb_rational_add
to be aligned with rb_fix_plus.
* array.c (rb_ary_sum...
Kenta Murata
02:46 PM Revision 0a267b79 (git): array.c (rb_ary_sum): use rb_rational_add directly
* rational.c (rb_rational_add): rename from nurat_add.
* array.c (rb_ary_sum): use rb_rational_add directly.
* test...
Kenta Murata
01:33 PM Revision a945eb9d (git): array.c: sum for Rational and Float mixed arrays
* array.c (rb_ary_sum): apply the precision compensated algorithm
for an array in which Rational and Float values a...
Kenta Murata
01:30 PM Revision 4bf8fa83 (git): thread.c: defer setting name in initialize
* thread.c (rb_thread_setname): defer setting native thread name
set in initialize until the native thread is creat...
nobu (Nobuyoshi Nakada)
12:32 PM Feature #10098: [] Timing-safe string comparison for OpenSSL::HMAC
Following is a but I just found there's OPENSSL_memcmp, which is not timing safe...
```diff
diff --git a/ex...
naruse (Yui NARUSE)
12:13 PM Revision ffd0301a (git): win32/console: io_handle
* ext/-test-/win32/console/attribute.c (io_handle): extract
conversion from IO instance to HANDLE.
git-svn-id: svn...
nobu (Nobuyoshi Nakada)
12:12 PM Revision f7d0059e (git): thread.c: must be initialized to set name
* thread.c (get_initialized_threadptr): extract ensuring that the
thread is initialized.
* thread.c (rb_thread_setn...
nobu (Nobuyoshi Nakada)
12:10 PM Revision 59d521ad (git): merge revision(s) 54596:
* lib/irb/ext/save-history.rb: Fix NoMethodError when method is not defined.
git-svn-id: svn+ssh://ci.ruby-lang.org...
naruse (Yui NARUSE)
11:27 AM Revision 589169cb (git): * lib/irb/ext/save-history.rb: Fix NoMethodError when method is not defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
10:00 AM Bug #12289 (Third Party's Issue): Segmentation fault at 0x00000000000020 ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]
/home/.../shared/bundle/ruby/2.2.0/gems/curb-0.9.1/lib/curl/easy.rb:68: [BUG] Segmentation fault at 0x00000000000020
...
crn (Carsten Rösnick-Neugebauer)
09:53 AM Bug #11916: Fix delegating to 'args' and 'block'
ruby_2_3 r54595 merged revision(s) 53381. naruse (Yui NARUSE)
07:22 AM Revision 6fe4aa6e (git): merge revision(s) 53381: [Backport #11916]
* lib/forwardable.rb (def_instance_delegator) fix delegating to
'args' and 'block', clashing with local var...
naruse (Yui NARUSE)
07:08 AM Bug #12284: io-console gem >= 0.4.3 breaks on Windows ruby < 2.2.0 due to needing rb_sym2str
I can't push the new gem to rubygems.org.
Could you try the attached file?
nobu (Nobuyoshi Nakada)
12:03 AM Bug #12284 (Closed): io-console gem >= 0.4.3 breaks on Windows ruby < 2.2.0 due to needing rb_sym2str
Applied in changeset r54587.
----------
io/console: rb_sym2str
* ext/io/console/console.c (rb_sym2str): fallback de...
nobu (Nobuyoshi Nakada)
06:39 AM Revision b80598a9 (git): * common.mk (benchmark): order options for built-ruby and compare-ruby.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:15 AM Revision 53d48629 (git): io/console: bump up
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:01 AM Bug #12288 (Closed): [Backport] r49576: check RAND_egd to support libressl
libresslサポートをバックポートしてください。 nobu (Nobuyoshi Nakada)
05:27 AM Revision a2edc111 (git): merge revision(s) 54576:
* lib/irb/ext/save-history.rb: suppress warning: method redefined;
discarding old save_history=.
git-svn-...
naruse (Yui NARUSE)
05:16 AM Revision 741229b4 (git): * test/ruby/test_array.rb (test_sum): add assertions for Rational and
Complex numbers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
03:33 AM Bug #9569: SecureRandom should try /dev/urandom first
I'm aware that current Linux urandom *happen to* be safe for our needs in current implementation. I'm also skeptical... shyouhei (Shyouhei Urabe)
03:03 AM Feature #12282: Hash#dig! for repeated applications of Hash#fetch
I don't like the name. It doesn't uniform other usage of bang in method names. shyouhei (Shyouhei Urabe)
02:23 AM Bug #12286 (Third Party's Issue): Segfault on ruby 2.3.0p0 (2015-12-25 revision 53290) [armv7l-linux-eabihf]
Hi everyone,
I am running Ruby 2.3.0 on an ARM device (A Raspberry Pi v3, to be exact).
I keep hitting the segf...
rickcarlino (Rick Carlino)
01:17 AM Revision 1826991f (git): NEWS: mention [Feature #12245]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:07 AM Revision e78beed4 (git): io/console: unknown key code for names with nul
* ext/io/console/console.c (console_key_pressed_p): raise the same
exception, "unknown virtual key code", for names...
nobu (Nobuyoshi Nakada)
01:06 AM Revision caaf4f2a (git): io/console: move conditions
* test/io/console/test_io_console.rb: move conditions for method
definitions before the bodies.
git-svn-id: svn+ss...
nobu (Nobuyoshi Nakada)
12:02 AM Revision 9816f878 (git): io/console: rb_sym2str
* ext/io/console/console.c (rb_sym2str): fallback definition for
older ruby. [ruby-core:74953] [Bug #12284]
git-s...
nobu (Nobuyoshi Nakada)
12:02 AM Revision cc91082a (git): io/console: use rb_funcallv
* ext/io/console/console.c: use rb_funcallv instead of
rb_funcall2, and define rb_funcallv if unavailable.
git-svn...
nobu (Nobuyoshi Nakada)
12:02 AM Revision c88d0666 (git): io/console: fallback RARRAY_CONST_PTR
* ext/io/console/console.c (RARRAY_CONST_PTR): fallback definition
for older ruby.
git-svn-id: svn+ssh://ci.ruby-l...
nobu (Nobuyoshi Nakada)
12:02 AM Revision 01776871 (git): io/console: reject symbols with nul char
* ext/io/console/console.c (console_key_pressed_p): symbol names
can contain nul chars, reject them.
git-svn-id: s...
nobu (Nobuyoshi Nakada)

04/14/2016

09:56 PM Bug #12285 (Closed): Date.iso8601 does not properly handle partial date strings
> For reduced accuracy, any number of values may be dropped from any of the date and time representations, but in the... backus (John Backus)
09:51 PM Misc #12283: Obsolete ChangeLog and commit message in Git-style
[email protected] wrote:
> How about Git-style commit message instead of ChangeLog?

Yes please :)

The current...
normalperson (Eric Wong)
06:57 PM Misc #12283 (Closed): Obsolete ChangeLog and commit message in Git-style
How about Git-style commit message instead of ChangeLog?
## Proposal
After we reach the consensus
1. Write a...
naruse (Yui NARUSE)
09:41 PM Revision 336ab285 (git): fix commit miss
* ChangeLog: remove duplicate entry.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54583 b2dd03c8-39d4-4d8f-98ff...
nobu (Nobuyoshi Nakada)
09:16 PM Bug #12284 (Closed): io-console gem >= 0.4.3 breaks on Windows ruby < 2.2.0 due to needing rb_sym2str
Ruby 2.1.x users (on Windows) who do "gem update" and try to build io-console 0.4.3 or later fail at link-time.
rb...
hobart (Jon Bailey)
04:19 PM Revision eb4b2b96 (git): * 2016-04-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:19 PM Revision 32959b0b (git): add assertions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:40 PM Revision ad2f660e (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:57 PM Revision c0e3b20e (git): add an assertion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:56 PM Revision df941c91 (git): [DOC]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:48 PM Revision 76426c7e (git): * array.c (rb_ary_sum): Support the optional argument, init, and block.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:43 PM Bug #12181: ブロックがたくさんあるファイルを編集するとruby-modeが重い
http://svn.ruby-lang.org/repos/ruby/trunk/misc/ruby-mode.el と http://svn.ruby-lang.org/repos/ruby/trunk/misc/ruby-ele... okkez (okkez _)
12:27 PM Bug #12270: 2.3.0/2.4.0 で stackprof を実行すると SEGV することがある
fixed by stackprof v0.2.9. naruse (Yui NARUSE)
10:06 AM Revision af24631a (git): * lib/irb/ext/save-history.rb: suppress warning: method redefined;
discarding old save_history=.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54576 b2dd03c8-39d4-4d8f-98ff-823fe6...
naruse (Yui NARUSE)
08:09 AM Feature #12282: Hash#dig! for repeated applications of Hash#fetch
Nobuyoshi Nakada wrote:
> It raises a `TypeError`.
I think it is a typographical error of
~~~ruby
places.dig ...
sawa (Tsuyoshi Sawada)
07:22 AM Feature #12282: Hash#dig! for repeated applications of Hash#fetch
Nobuyoshi Nakada wrote:
> It raises a `TypeError`.
So you have the method which raises an exception already.
nobu (Nobuyoshi Nakada)
07:21 AM Feature #12282: Hash#dig! for repeated applications of Hash#fetch
I'm negative because:
1. This example is wrong.
~~~ruby
places.dig :countries, :canada, :ontario # =...
nobu (Nobuyoshi Nakada)
06:56 AM Feature #12282: Hash#dig! for repeated applications of Hash#fetch
This makes sense only within limited cases, i.e. when the same key never appears at different depths. For example, if... sawa (Tsuyoshi Sawada)
06:35 AM Feature #12282 (Open): Hash#dig! for repeated applications of Hash#fetch
A new feature for your consideration: #dig! which is to #fetch as #dig is to #[]. For me and maybe many others, Hash#... robb (Robb Shecter)
05:58 AM Revision 31a3a862 (git): tkutil.c: ary can be nil
* ext/tk/tkutil/tkutil.c (tk_hash_kv): the third argument can be
nil not only an Array. reported by @windwiny at
...
nobu (Nobuyoshi Nakada)
05:29 AM Bug #12279 (Closed): cont.c: wrong _MSC_VER check
Applied in changeset r54574.
----------
cont.c: wrong _MSC_VER check
* cont.c (fiber_initialize_machine_stack_conte...
nobu (Nobuyoshi Nakada)
05:28 AM Revision 06ccd684 (git): cont.c: wrong _MSC_VER check
* cont.c (fiber_initialize_machine_stack_context): fix wrong
_MSC_VER check, should be decimal but not hexadecimal....
nobu (Nobuyoshi Nakada)
04:41 AM Revision 24eb2e9c (git): process.c: prefer rb_check_arity
* process.c: use rb_check_arity instead of rb_scan_args for simple
optional arguments.
git-svn-id: svn+ssh://ci.ru...
nobu (Nobuyoshi Nakada)
03:56 AM Feature #12281: Allow lexically scoped use of refinements with `using {}` block syntax
I would also like the block for `using` to have access to local variables.
~~~ruby
def example(thing)
using My...
danielpclark (Daniel P. Clark)
03:48 AM Feature #12281 (Assigned): Allow lexically scoped use of refinements with `using {}` block syntax
In Ruby 2.2.3 a refinement could be used in a begin/end block.
~~~ruby
module Moo
refine Fixnum do
def to...
danielpclark (Daniel P. Clark)
02:45 AM Bug #11704: Refinements only get "used" once in loop
Tsuyoshi Sawada wrote:
> I had made a feature request #12079 (later than this post) to allow refinements to be effec...
danielpclark (Daniel P. Clark)
02:03 AM Bug #11704: Refinements only get "used" once in loop
Daniel P. Clark wrote:
> According to John (who commented on my blog on this issue) this is a Dynamic Dis issue...
sawa (Tsuyoshi Sawada)
01:55 AM Bug #12179: Build failure due to VPATH expansion
Seems there is no way to tell `make` not to use `VPATH` for a particular target. nobu (Nobuyoshi Nakada)
01:30 AM Revision 7343b492 (git): ruby-runner.h
* template/ruby-runner.h.in: separate configured part from
ruby-runner.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
nobu (Nobuyoshi Nakada)
01:25 AM Revision 1a88b871 (git): configure.in: feature macros on cygwin
* configure.in (cygwin): add feature macros for the declarations
of eaccess.
git-svn-id: svn+ssh://ci.ruby-lang.or...
nobu (Nobuyoshi Nakada)
01:25 AM Revision a86d5d16 (git): configure.in: tabify
* configure.in: tabify spaces after a tab.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54570 b2dd03c8-39d4-4d8...
nobu (Nobuyoshi Nakada)
12:00 AM Revision 90a5257d (git): * 2016-04-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:00 AM Revision 350a7400 (git): [DOC]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)

04/13/2016

10:12 PM Feature #12280: IO.copy_stream(IO, IO) fails with "pread() not implemented"
Eric Wong wrote:
> [email protected] wrote:
> > IO.copy_stream on Windows with IO having an offset fails with:
>...
Eregon (Benoit Daloze)
10:03 PM Feature #12280: IO.copy_stream(IO, IO) fails with "pread() not implemented"
[email protected] wrote:
> IO.copy_stream on Windows with IO having an offset fails with:
> NotImplementedError: ...
normalperson (Eric Wong)
09:03 PM Feature #12280 (Open): IO.copy_stream(IO, IO) fails with "pread() not implemented"
IO.copy_stream on Windows with IO having an offset fails with:
NotImplementedError: pread() not implemented
This ...
Eregon (Benoit Daloze)
08:19 PM Bug #11704: Refinements only get "used" once in loop
According to John (who commented on my blog on this issue) this is a Dynamic Dis issue. And the following examp... danielpclark (Daniel P. Clark)
07:17 PM Bug #12279 (Closed): cont.c: wrong _MSC_VER check
2.3.0 and trunk are affected. I wonder why compiling with Visual C++ 6.0 is still supported.
~~~diff
diff --git a...
cremno (cremno phobia)
06:32 PM Misc #12277: Coding rule: colum number
[email protected] wrote:
> Eric proposed that code should be limited in 80 column.
> https://bugs.ruby-lang.org/issues...
normalperson (Eric Wong)
11:52 AM Misc #12277: Coding rule: colum number
I was on the meeting. I'm for some line width cap, be they 80 or 120.
It is a good idea to be concise. I'm especia...
shyouhei (Shyouhei Urabe)
07:54 AM Misc #12277 (Open): Coding rule: colum number
Eric proposed that code should be limited in 80 column.
https://bugs.ruby-lang.org/issues/12236#note-1
At today's...
ko1 (Koichi Sasada)
06:28 PM Bug #12278 (Closed): Sometimes I have segmentation fault with procs reducer
Hello,
Sometimes I have segmentation fault for code like:
~~~
# /Users/newmen/projects/versatile-diamond/ana...
newmen (Gleb Averchuk)
03:47 PM Bug #9569: SecureRandom should try /dev/urandom first
I would just like to +1 that the text on the random(4) page is incorrect. Regarding fixing it, this bug has been open... bascule (Tony Arcieri)
09:02 AM Bug #9569: SecureRandom should try /dev/urandom first
There's now a new paper outlining RNG weaknesses in OpenSSL: https://eprint.iacr.org/2016/367.pdf
Again: Please sw...
azet (Aaron Zauner)
02:55 PM Revision 8574a372 (git): Array#sum described.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:40 PM Feature #12217 (Closed): Introducing Enumerable#sum for precision compensated summation and revert r54237
Applied in changeset r54566.
----------
add a space in [ruby-core:74569] [Feature #12217]
akr (Akira Tanaka)
07:03 AM Feature #12217: Introducing Enumerable#sum for precision compensated summation and revert r54237
Array#sum is accepted by matz at
https://bugs.ruby-lang.org/issues/12222#note-6
akr (Akira Tanaka)
02:40 PM Revision 30d7fb37 (git): add a space in [ruby-core:74569] [Feature #12217]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:51 PM Revision b359d203 (git): * array.c (rb_ary_sum): Array#sum is implemented.
Kahan's compensated summation algorithm for precise sum of float
numbers is moved from ary_inject_op in enum.c.
* ...
akr (Akira Tanaka)
01:01 PM Bug #12181 (Feedback): ブロックがたくさんあるファイルを編集するとruby-modeが重い
Emacs 24付属のruby-mode.elではとくに問題がないように思えますが、どのバージョンでしょうか。 nobu (Nobuyoshi Nakada)
12:55 PM Bug #12274: accessing to instance variable should be fast.
> About the object check, is it not problematic to do ((struct RBasic*)obj)->klass if obj is a tagged integer (since ... tarui (Masaya Tarui)
09:32 AM Bug #12274: accessing to instance variable should be fast.
Masaya Tarui wrote:
> there are 2 parts of optimization.
>
> * share inline cache between same symbol(at compile....
Eregon (Benoit Daloze)
01:32 AM Bug #12274: accessing to instance variable should be fast.
2016-04-13 5:41 GMT+09:00 <[email protected]>:
> Issue #12274 has been updated by Benoit Daloze.
>avoiding some I...
tarui (Masaya Tarui)
01:13 AM Bug #12274: accessing to instance variable should be fast.

there are 2 parts of optimization.
* share inline cache between same symbol(at compile.c)
* inline fast pass ...
tarui (Masaya Tarui)
12:44 PM Bug #12183: require "win32ole" すると終了ステータスが必ず 0 になる
r54533では再現できませんでした。 nobu (Nobuyoshi Nakada)
06:47 AM Bug #12183: require "win32ole" すると終了ステータスが必ず 0 になる
あまり役に立たない情報かもしれませんが、mswin64ではどのバージョンでも問題が再現しないことを確認しました。 usa (Usaku NAKAMURA)
06:36 AM Bug #12183 (Assigned): require "win32ole" すると終了ステータスが必ず 0 になる
shyouhei (Shyouhei Urabe)
07:57 AM Feature #11210 (Assigned): IPAddr has no public method to get the current subnet mask
Sorry for being inactive.
I've made some comments in the above PR.
I can't recall the exact reason why there's ...
knu (Akinori MUSHA)
07:02 AM Bug #11878 (Assigned): Comparison of prepended modules
naruse (Yui NARUSE)
06:56 AM Revision c2585351 (git): numeric.c: flo_ceil
* numeric.c (flo_ceil): add an optional parameter, digits, as
well as Float#round. [Feature #12245]
git-svn-id: s...
nobu (Nobuyoshi Nakada)
06:54 AM Revision d56b2776 (git): numeric.c: flo_floor
* numeric.c (flo_floor): add an optional parameter, digits, as
well as Integer#floor. [Feature #12245]
git-svn-id...
nobu (Nobuyoshi Nakada)
06:50 AM Feature #12245 (Closed): optional parameter ndigits to Integer#floor, Integer#ceil, Float#floor, Float#ceil
Applied in changeset r54562.
----------
numeric.c: int_ceil
* numeric.c (int_ceil): add an optional parameter, digi...
nobu (Nobuyoshi Nakada)
06:50 AM Revision a1542d33 (git): numeric.c: int_ceil
* numeric.c (int_ceil): add an optional parameter, digits, as
well as Integer#round. [Feature #12245]
git-svn-id:...
nobu (Nobuyoshi Nakada)
06:50 AM Feature #7361 (Rejected): Adding Pathname#touch
I don't like the method name "touch".
"touch" command has multiple features:
create empty file, update mtime.
So...
akr (Akira Tanaka)
06:47 AM Revision 15558a8f (git): numeric.c: int_floor
* numeric.c (int_floor): add an optional parameter, digits, as
well as Integer#round.
git-svn-id: svn+ssh://ci.rub...
nobu (Nobuyoshi Nakada)
06:40 AM Bug #12184 (Assigned): Cygwin LANG=ja_JP.SJIS 環境でコマンドライン引数に日本語が渡せない
Nobu will look into it. shyouhei (Shyouhei Urabe)
06:14 AM Revision 163604ec (git): NEWS: [Feature #9969]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:01 AM Feature #12222: Introducing basic statistics methods for Enumerable (and optimized implementation for Array)
Hi,
I agree with adding `sum` to `Array`. It is natural and easy to define.
I disagree (for now) for adding it to...
matz (Yukihiro Matsumoto)
05:53 AM Feature #12026 (Closed): Support warning processor
Hi,
* I agree with the need for filtering/customizing warnings
* but I disagree with the use of a global variable...
matz (Yukihiro Matsumoto)
05:47 AM Feature #9969 (Closed): Add File.empty? as alias to File.zero?
Applied in changeset r54559.
----------
file.c: File.empty?
* file.c (Init_File): add alias File.empty? to File.zer...
nobu (Nobuyoshi Nakada)
05:24 AM Feature #9969: Add File.empty? as alias to File.zero?
OK, agreed.
Matz.
matz (Yukihiro Matsumoto)
05:47 AM Revision 096137e8 (git): file.c: File.empty?
* file.c (Init_File): add alias File.empty? to File.zero?.
[Feature #9969]
git-svn-id: svn+ssh://ci.ruby-lang.org/...
nobu (Nobuyoshi Nakada)
05:36 AM Feature #10617 (Closed): Change multiple assignment in conditional from parse error to warning
Applied in changeset r54558.
----------
parse.y: massign in cond
* parse.y (assign_in_cond): allow multiple assignm...
nobu (Nobuyoshi Nakada)
05:36 AM Revision 134d1ce8 (git): parse.y: massign in cond
* parse.y (assign_in_cond): allow multiple assignment in
conditional expression. [Feature #10617]
git-svn-id: svn...
nobu (Nobuyoshi Nakada)
05:24 AM Feature #11547: remove top-level constant lookup
I am for this proposal, but also concern about code breakage. Let's try removing top-level constant look-up in 2.4dev... matz (Yukihiro Matsumoto)
05:16 AM Feature #12272: Accepting HTML entity name in string literal
Tsuyoshi Sawada wrote:
> Ideally, I would prefer LaTeX math symbol commands, which I believe many people have wide...
duerst (Martin Dürst)
05:12 AM Revision 1ea1d2e4 (git): numeric.c: int_round_zero_p
* bignum.c (rb_big_size): add wrapper function of BIGSIZE and
rename the method funtion with _m suffix.
* numeric.c...
nobu (Nobuyoshi Nakada)
03:03 AM Revision 9d258137 (git): * test/ruby/test_basicinstructions.rb: add a test to check access
instance variables on special const objects.
All of such objects are frozen, so that we can not set instance
var...
ko1 (Koichi Sasada)
02:41 AM Revision 182f8d7e (git): * 2016-04-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:41 AM Revision aaf0f51f (git): numeric.c: float_invariant_round
* numeric.c (float_invariant_round): extracted from flo_round to
be optimizer-friendly, e.g., tail-call optimizatio...
nobu (Nobuyoshi Nakada)
02:38 AM Bug #12269: Nesting Two-levels of Hash with Hash as default value makes top level Hash not list keys/values and causes reference issue with nested values.
Re: "it is possible to overwrite the values of keys in the 2nd level hash via new assignments to entirely different k... shyouhei (Shyouhei Urabe)
02:13 AM Bug #12276: Quoting error involving '$' characters in DT_RPATH pathnames
Nobuyoshi Nakada wrote:
> Doesn't `configure --enable-load-relative` work?
I believe --enable-load-relative works...
eam (Evan Miller)
01:00 AM Bug #12276 (Feedback): Quoting error involving '$' characters in DT_RPATH pathnames
Doesn't `configure --enable-load-relative` work? nobu (Nobuyoshi Nakada)
12:42 AM Bug #12270: 2.3.0/2.4.0 で stackprof を実行すると SEGV することがある
僕も stackprof の master で SEGV が起きないことを確認しました。
参考: https://twitter.com/mametter/status/719795060015898624
hsbt (Hiroshi SHIBATA)
 

Also available in: Atom