Project

General

Profile

Activity

From 12/01/2015 to 12/07/2015

12/07/2015

11:57 PM Bug #11784 (Closed): [] insns.def (opt_case_dis): check Float#=== redefinition
Applied in changeset r52928.
----------
insns.def (opt_case_dis): check Float#=== redefinition
The missing che...
Anonymous
11:54 PM Bug #11784 (Closed): [] insns.def (opt_case_dis): check Float#=== redefinition
insns.def (opt_case_dis): check Float#=== redefinition
The missing check for Float#=== redefinition was notic...
normalperson (Eric Wong)
11:56 PM Revision 4d2ce0cb (git): insns.def (opt_case_dis): check Float#=== redefinition
The missing check for Float#=== redefinition was noticed while
working on enhancing optimized case dis for nil/t...
Eric Wong
09:18 PM Bug #11733: Compile of ruby 2.2.3 fails on AIX 6.1 TL07 SP03
r50423 will be soon back-ported to the 2.2 branch.
In the meantime, I believe you can avoid the compile error by t...
ReiOdaira (Rei Odaira)
05:08 PM Bug #11733 (Closed): Compile of ruby 2.2.3 fails on AIX 6.1 TL07 SP03
usa (Usaku NAKAMURA)
07:01 PM Revision d0ea0389 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:01 PM Revision 7476be4d (git): * test/lib/iseq_loader_checker.rb: add iseq dumper/loader checker.
If you enable this checker (remove `#' in test/runner.rb),
you can see comparison results between an original iseq ...
ko1 (Koichi Sasada)
06:49 PM Revision b401937c (git): doc/extension.rdoc: warn about kwargs performance in C [ci skip]
This existing API seems doomed performance-wise, and writing
things in Ruby is nicer anyways. So discourage folks fr...
Eric Wong
06:46 PM Revision 8dce6b15 (git): * iseq.c (iseq_load): disable peephole optimization option
because apply it multiple times change the sequence.
(iseq != peephole_optimize(load(iseq.to_a)))
git-svn-id: s...
ko1 (Koichi Sasada)
06:44 PM Revision 21366b17 (git): * compile.c (rb_iseq_build_from_ary): do not allocate table
if table_size is 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
06:39 PM Revision 889f5022 (git): socket: expand docs+tests for recv_io/send_io
* ext/socket/unixsocket.c (unix_send_io): document args
(unix_recv_io): ditto
* test/socket/test_unix.rb (test_fd_p...
Eric Wong
05:43 PM Bug #11779: Module#using does not make sense as a method
Yukihiro Matsumoto wrote:
> Providing a feature by a method does not imply dynamic scoping, for example, Module#priv...
bughit (bug hit)
05:21 PM Bug #11779: Module#using does not make sense as a method
Yukihiro Matsumoto wrote:
> Providing a feature by a method does not imply dynamic scoping, for example, Module#priv...
bughit (bug hit)
05:00 PM Bug #11779: Module#using does not make sense as a method
Providing a feature by a method does not imply dynamic scoping, for example, Module#private etc. work in lexical scop... matz (Yukihiro Matsumoto)
04:09 PM Bug #11779: Module#using does not make sense as a method
Yukihiro Matsumoto wrote:
> Can elaborate what do you want if `using` should not be a method.
> Considering a new k...
bughit (bug hit)
06:52 AM Bug #11779 (Feedback): Module#using does not make sense as a method
Can elaborate what do you want if `using` should not be a method.
Considering a new keyword would break existing cod...
matz (Yukihiro Matsumoto)
05:23 PM Revision 6757d13e (git): * iseq.c (iseq_translate): at the end of constructing an iseq,
call RubyVM::InstructionSequence.translate(iseq) if this method
is defined. If the return value is also an object o...
ko1 (Koichi Sasada)
05:03 PM Bug #11771: unable to pass keyargs to []=
I don't say anything about 3.0 for now.
But things are more complicated than you imagine.
Matz.
matz (Yukihiro Matsumoto)
04:02 PM Bug #11771: unable to pass keyargs to []=
Yukihiro Matsumoto wrote:
> Pending, for several reasons:
>
> (1) compatibility. `a[a,foo:1]=v` is valid code. ch...
bughit (bug hit)
07:03 AM Bug #11771 (Closed): unable to pass keyargs to []=
Pending, for several reasons:
(1) compatibility. `a[a,foo:1]=v` is valid code. changing behavior may crash existin...
matz (Yukihiro Matsumoto)
04:58 PM Revision a34e45fd (git): * ext/psych/*: update psych to 2.0.16
* test/psych/*: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
04:30 PM Revision 56367e25 (git): add a NEWS entry for r52917
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
03:59 PM Bug #11759: URI breaks with frozen strings
> I prefer String.new() to "".dup because the former describes intention (of creating a buffer).
Ok. I've attached...
colindkelley (Colin Kelley)
07:19 AM Bug #11759: URI breaks with frozen strings
I prefer `String.new()` to `"".dup` because the former describes intention (of creating a buffer).
In fact, my best ...
matz (Yukihiro Matsumoto)
03:19 PM Feature #11782: String#+@ and String#-@
The purpose of this proposal is to encourage frozen string literals and provide better way than `"foo".dup`. So that ... ko1 (Koichi Sasada)
03:14 PM Feature #11782 (Assigned): String#+@ and String#-@
Endo-san pointed out that `+foo.upcase!` is evaluated as `+(foo.upcase!)`.
It can be problem. But any practical exam...
ko1 (Koichi Sasada)
03:10 PM Feature #11782 (Closed): String#+@ and String#-@
Applied in changeset r52917.
----------
* string.c: introduce String#+@ and String#-@ to control
String mutability...
ko1 (Koichi Sasada)
02:05 PM Feature #11782: String#+@ and String#-@
+1
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
12:58 PM Feature #11782: String#+@ and String#-@
It's OK if we don't have strong objection.
Matz.
matz (Yukihiro Matsumoto)
10:13 AM Feature #11782 (Closed): String#+@ and String#-@
Matz said
> In fact, my best choice is introducing `String#+` that returns a mutable copy of a string.
[ruby-cor...
ko1 (Koichi Sasada)
03:19 PM Feature #9098: Indent heredoc against the left margin by default when "indented closing identifier" is turned on.
Ah, for some reason I was under the impression that the plan was to use the indentation from the first non-blank line... Ajedi32 (Ajedi32 W)
02:40 PM Feature #9098 (Closed): Indent heredoc against the left margin by default when "indented closing identifier" is turned on.
Applied in changeset r52916.
----------
parse.y: indented hereoc
* parse.y: add heredoc <<~ syntax. [Feature #9098]
nobu (Nobuyoshi Nakada)
06:45 AM Feature #9098: Indent heredoc against the left margin by default when "indented closing identifier" is turned on.
Alternative 2 looks good to me.
Matz.
matz (Yukihiro Matsumoto)
03:10 PM Revision 59c3a2f8 (git): * 2015-12-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:10 PM Revision 6d8bf54c (git): * string.c: introduce String#+@ and String#-@ to control
String mutability.
[Feature #11782]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52917 b2dd03c8-39d4-4d8f-...
ko1 (Koichi Sasada)
02:39 PM Revision 9a28a29b (git): parse.y: indented hereoc
* parse.y: add heredoc <<~ syntax. [Feature #9098]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52916 b2dd03c8...
nobu (Nobuyoshi Nakada)
02:19 PM Feature #11735: Porting String#squish and String#squish! from Ruby on Rails' Active Support
nobu's seems to be the better way to implement this feature without having to use regular expression. Much more... sikachu (Prem Sichanugrist)
07:51 AM Feature #11735: Porting String#squish and String#squish! from Ruby on Rails' Active Support
https://.com/ruby/ruby/compare/trunk...nobu:feature/11735-squish nobu (Nobuyoshi Nakada)
02:14 PM Revision 9f51e95f (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:08 PM Bug #11730 (Closed): read_nonblock's call-seq missing options
Applied in changeset r52914.
----------
add missing options to call-seq of IO#read_nonblock
* prelude.rb (IO#read_n...
Anonymous
02:08 PM Revision f373be86 (git): add missing options to call-seq of IO#read_nonblock
* prelude.rb (IO#read_nonblock): [DOC] add missing options to
call-seq. [ruby-core:71627] [Bug #11730]
git-svn-id...
znz (Kazuhiro NISHIYAMA)
11:47 AM Misc #11783: Do you have any idea if you have a budgets?
Koichi Sasada wrote:
> > nurse: VPS severs for CI are welcome. Especially for Azure.
I should note that mswin CI ...
usa (Usaku NAKAMURA)
10:29 AM Misc #11783 (Closed): Do you have any idea if you have a budgets?
Do you have any idea about Ruby interpreter implementation to do with budgets?
# Background
Now, we are summari...
ko1 (Koichi Sasada)
11:22 AM Feature #11737: Pass in expression to then block in `case expression`
Thank you. I appreciate your consideration. danielpclark (Daniel P. Clark)
07:41 AM Feature #11737 (Rejected): Pass in expression to then block in `case expression`
It's not worth adding special expression or variable for retrieving the when value.
Just use assignment.
Matz.
matz (Yukihiro Matsumoto)
11:13 AM Feature #11781: Would it be possible to alias .prepend() towards .unshift() for class Array by default?
`prepend` is already a keyword in the Ruby language for prepending a module in the ancestry chain: http://ruby-doc.or... danielpclark (Daniel P. Clark)
10:12 AM Feature #11781 (Open): Would it be possible to alias .prepend() towards .unshift() for class Array by default?
Hello.
For Strings we can do:
abc = 'world!'
abc[0,0] = 'Hello '
abc # => "Hello world!"
For A...
shevegen (Robert A. Heiler)
10:54 AM Bug #11742: lib/webrick/utils.rb:196:in `register': ERROR RuntimeError: can't add a new key into hash during iteration
yuzo san が担当者一覧に見つかんなかったので、nahi さんにとりあえず振っておきます。
すみませんが、適切な方に delegate して頂けると。
ko1 (Koichi Sasada)
10:51 AM Bug #11718: Constant access on `nil`
* This is a bug, so that anyone should not rely on this behavior.
* This is a bug, so that this bug should be fixed
...
ko1 (Koichi Sasada)
09:15 AM Bug #11780 (Closed): TestIO_Console#test_getpass failed on Solaris
Solaris 10 にて、TestIO_Console#test_getpass が以下のエラーで失敗します。
~~~
1) Error:
TestIO_Console#test_getpass:
Errno::EI...
ngoto (Naohisa Goto)
08:52 AM Misc #11770: [] $KCODEへの代入時にwarningが発生することのテストを追加
ありがとうございます:) yui-knk (Kaneko Yuichiro)
07:26 AM Misc #11770: [] $KCODEへの代入時にwarningが発生することのテストを追加
OK.
Matz.
matz (Yukihiro Matsumoto)
07:24 AM Misc #11770: [] $KCODEへの代入時にwarningが発生することのテストを追加
ご自分でコミットなさるのがよいのではないでしょうか。
よいですよね>matz
redmineのruby-coreグループには追加したので、その他の手続きお願いします>しばたさん
naruse (Yui NARUSE)
07:52 AM Feature #11734 (Closed): Improved ternary operator
ko1 (Koichi Sasada)
07:43 AM Bug #11736: Float(arg) not consistent with documentation
Document is wrong.
Zack, could you fix it?
ko1 (Koichi Sasada)
07:33 AM Bug #11740: ObjectSpace.each_object exposes internal metaclasses
I'll fix it. ko1 (Koichi Sasada)
07:29 AM Feature #11747 (Rejected): "bury" feature, similar to 'dig' but opposite
It's not clear to generate either Hash, Array, or Struct (or whatever) to bury a value.
So it's better to reject now...
matz (Yukihiro Matsumoto)
07:28 AM Bug #11743 (Closed): r52758 以降 config.guess がダウンロードできない
naruse (Yui NARUSE)
07:23 AM Feature #11758: Add keyword assignment syntax
discuss for 2.4 and later ko1 (Koichi Sasada)
07:08 AM Feature #11761 (Rejected): `Hash#default_set` and `Hash#default_proc_set`
Use `tap`. Methods with side-effect should be handled with care. Making it chainable has little benefit.
Matz.
matz (Yukihiro Matsumoto)
07:06 AM Bug #11762 (Rejected): Array#dig can raise TypeError: no implicit conversion of Symbol/String into Integer
I believe `dig` should only ignore nil receiver as its description.
Hiding argument/type error is not a good idea, I...
matz (Yukihiro Matsumoto)
07:03 AM Bug #11765 (Third Party's Issue): Trouble using fiddle to call Fortran from C
ko1 (Koichi Sasada)
06:53 AM Bug #11776: dig and custom objects
Confirmed. ;-)
Matz.
matz (Yukihiro Matsumoto)
06:50 AM Revision e924e657 (git): .gitignore: added cygwin*.def for Cygwin
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
06:49 AM Misc #11757 (Closed): test_string.rbから不要なコードを削除する
nobu (Nobuyoshi Nakada)
05:26 AM Feature #11777: Change NameError#local_variables to return the list of local variables where the method is raised
It's OK to add. But I think we should mark it as 'internal use' in the reference.
Matz.
matz (Yukihiro Matsumoto)
05:16 AM Feature #11773: Enumerator::Lazy#grep_v
Agreed. the LGTM.
Matz.
matz (Yukihiro Matsumoto)
03:12 AM Revision 52439760 (git): * 2015-12-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:11 AM Revision b5c0ca49 (git): temporally remove prompt to pass the test
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)

12/06/2015

09:40 PM Bug #11779 (Feedback): Module#using does not make sense as a method
1. it can't be called from another method
2. the receiver must be self
3. since refinements are lexically scoped th...
bughit (bug hit)
08:48 PM Feature #11588: Implement structured warnings
#3 is a big deal IMHO. Having finer-grained control over which warnings are
shown is long overdue.

On Tue, Oct 1...
avdi (Avdi Grimm)
04:21 AM Feature #11588: Implement structured warnings
Matz, warnings may not affect control flow, but I've seen enough real world application logs filled with warnings we ... djberg96 (Daniel Berger)
02:27 PM Bug #11778 (Closed): recv_io with mode breaks when klass arg is kind of BasicSocket
Following test show the failure in the second recv_io call.
I was writing additional tests for FD passing when I not...
normalperson (Eric Wong)
01:18 PM Feature #11664: [] introduce rb_autoload_value to replace rb_autoload
[email protected] wrote:
> I don't think there is good enough reason to deprecate `rb_autoload`.

Who uses rb_au...
normalperson (Eric Wong)
12:30 PM Feature #11664: [] introduce rb_autoload_value to replace rb_autoload
I don't think there is good enough reason to deprecate `rb_autoload`. nobu (Nobuyoshi Nakada)
12:28 PM Feature #11664 (Closed): [] introduce rb_autoload_value to replace rb_autoload
Applied in changeset r52909.
----------
introduce rb_autoload_str to replace rb_autoload
rb_autoload_str may be saf...
Anonymous
12:43 PM Feature #11777: Change NameError#local_variables to return the list of local variables where the method is raised
Do you want to **add** `NameError#local_variables`? nobu (Nobuyoshi Nakada)
06:15 AM Feature #11777 (Closed): Change NameError#local_variables to return the list of local variables where the method is raised
Sasada-san and I talked about this briefly a few weeks ago, but I also wanted to let others know about this.
This ...
yuki24 (Yuki Nishijima)
12:41 PM Revision 51cb462f (git): test_io_console.rb: wait
* test/io/console/test_io_console.rb (test_getpass): wait slave
thread.
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
nobu (Nobuyoshi Nakada)
12:28 PM Revision a2e025a7 (git): introduce rb_autoload_str to replace rb_autoload
rb_autoload_str may be safer by preventing premature GC. It
can also be more efficient by passing a pre-frozen strin...
Eric Wong
12:13 PM Revision f534bc2e (git): hash.c: fix rubyspec failure
* hash.c (env_fetch): yield coerced string.
* hash.c (env_assoc): return coerced string.
git-svn-id: svn+ssh://ci.r...
nobu (Nobuyoshi Nakada)
11:53 AM Bug #11776: dig and custom objects
There is already a spec for this behavior though :)
https://.com/ruby/rubyspec/blob/master/core/hash/dig_spec.rb
Eregon (Benoit Daloze)
05:18 AM Bug #11776 (Closed): dig and custom objects
Although currently undocumented and untested, it is possible to `dig` objects of any class that implements `dig`:
...
marcandre (Marc-Andre Lafortune)
10:04 AM Revision dfe923cd (git): * configure.in: add missing x.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
09:38 AM Revision 80b3529f (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
09:28 AM Revision 52047a14 (git): * test/webrick/test_cgi.rb (TestWEBrickCGI#test_cgi): gave up the test
of binary path info test on Windows because the test had passed
occasionally as the comment said.
git-svn-id: svn...
U.Nakamura
07:22 AM Revision 9fc965ee (git): * test/fileutils/test_fileutils.rb: add debug output to investigate the error that occur at random on Windows CI.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
06:30 AM Revision 1ad0d8ec (git): console.c: prompt to stderr
* ext/io/console/console.c (console_getpass): print prompt to
stderr when reading from stdin.
git-svn-id: svn+ssh:...
nobu (Nobuyoshi Nakada)
06:25 AM Revision 187de924 (git): console.c: console_getpass
* ext/io/console/console.c (console_getpass): add IO#getpass
method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t...
nobu (Nobuyoshi Nakada)
06:10 AM Bug #11774: OpenSSL::PKey.read produces ArgumentError on invalid passphrases
Seems that OpenSSL doesn't tell what kind failure happened. nobu (Nobuyoshi Nakada)
05:11 AM Bug #11762: Array#dig can raise TypeError: no implicit conversion of Symbol/String into Integer
I feel that either `dig` should be safe only against `nil` somewhere in the digging path (a bit like `&.`), or it's s... marcandre (Marc-Andre Lafortune)
04:37 AM Bug #11772: Implicit conversion of Array in String interpolation does not call to_str
~~~ruby
class A
undef :to_s
def to_str
"hello world"
end
end
"#{A.new}"
#NoMethodError: undefined...
danielpclark (Daniel P. Clark)
03:13 AM Feature #9451: Refinements and unary & (to_proc)
Is there any update on this feature? In Ruby 2.2.3 I still run into a problem where the unary & can not be used when ... justcolin (Colin Fulton)
03:12 AM Revision 33a05904 (git): test_env.rb: escape
* test/ruby/test_env.rb (TestEnv#test_utf8): escape non-ASCII
string with \u explicitly.
git-svn-id: svn+ssh://ci....
nobu (Nobuyoshi Nakada)

12/05/2015

11:41 PM Revision 8f91b46d (git): * 2015-12-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:40 PM Revision 1f1e3d12 (git): * ext/json/json.gemspec: bump version to json 1.8.3. CRuby already contained
upstream changes.
https://.com/ruby/ruby/commit/4d059bf9f5f10f3d3088de49fc87e5555db7770d
https://.com...
hsbt (Hiroshi SHIBATA)
07:01 PM Bug #11775 (Closed): Backport r52892 (fix the argument order of ATOMIC_SIZE_CAS)
このチケットはバックポート管理用です。
r52892 で修正されている InterlockedCompareExchange64() を使った ATOMIC_SIZE_CAS() の修正部分は 2.0.0〜2.2 も同様なのでバック...
nagachika (Tomoyuki Chikanaga)
04:54 PM Bug #11774 (Third Party's Issue): OpenSSL::PKey.read produces ArgumentError on invalid passphrases
If we try to read out an RSA encrypted key with an invalid passphrase like so:
```ruby
require 'openssl'
OpenSSL...
temikus (Artem Yakimenko)
04:32 PM Bug #11762: Array#dig can raise TypeError: no implicit conversion of Symbol/String into Integer
> I think it should return nil in this case.
Anyone else have an opinion?
colindkelley (Colin Kelley)
04:20 PM Bug #11759: URI breaks with frozen strings
> Outputs:
> 480
> 416
> 416
That is more significant than I thought. `''.dup` wins.
> No, we shouldn't worr...
colindkelley (Colin Kelley)
10:47 AM Misc #11770: [] $KCODEへの代入時にwarningが発生することのテストを追加
> 将来的には$KCODEの特別扱いをなしにしたい
$KCODEを削除するという意味でしょうか?
現時点ではwarningがでることをテストしておいてもいいのかなと思っています。
> $=は$KCODEとは別です。
...
yui-knk (Kaneko Yuichiro)
08:48 AM Revision bf52a8b6 (git): Fix cross build
* tool/fake.rb: Fix cross build when srcdir is an absolute path.
* Makefile.in: PREP dependency is needed when cross ...
nobu (Nobuyoshi Nakada)
08:33 AM Revision 80bedec6 (git): assertions.rb: fallback encoding error
* test/lib/test/unit/assertions.rb (message): fallback when
outputs from different encoding commands mixed.
git-sv...
nobu (Nobuyoshi Nakada)
08:26 AM Bug #8822 (Closed): Incorrect encoding for ENV in Windows
Applied in changeset r52896.
----------
hash.c: env encoding fallback on Windows
* hash.c (env_str_new, env_path_st...
nobu (Nobuyoshi Nakada)
08:26 AM Revision 5e3467c4 (git): hash.c: env encoding fallback on Windows
* hash.c (env_str_new, env_path_str_new): make default string
UTF-8 for the case conversion is not possible. [Bug ...
nobu (Nobuyoshi Nakada)
07:58 AM Feature #11537 (Closed): Introduce "Safe navigation operator"
Applied in changeset r52895.
----------
node.c: NODE_QCALL
* node.c (dump_node): dump NODE_QCALL. [Feature #11537]...
nobu (Nobuyoshi Nakada)
07:58 AM Revision 613737ee (git): node.c: NODE_QCALL
* node.c (dump_node): dump NODE_QCALL. [Feature #11537]
http://twitter.com/watson1978/status/673042429931446272
g...
nobu (Nobuyoshi Nakada)
07:33 AM Feature #11773 (Closed): Enumerator::Lazy#grep_v
`Enumerable#grep_v` was introduced in #11049.
But `Enumerator::Lazy` doesn't have the method.
I've attached a p...
spiritloose (Jiro Nishiguchi)
05:54 AM Bug #11772 (Closed): Implicit conversion of Array in String interpolation does not call to_str
As (implicitly) requested at ruby-core:71843. duerst (Martin Dürst)
05:32 AM Bug #11772: Implicit conversion of Array in String interpolation does not call to_str
My main point here is that anything that happens within String interpolation is "implicitly" going to be a String. S... danielpclark (Daniel P. Clark)
05:22 AM Bug #11772 (Closed): Implicit conversion of Array in String interpolation does not call to_str
While providing an example in https://bugs.ruby-lang.org/issues/10930#note-7 I found that the implicit changing of an... danielpclark (Daniel P. Clark)
04:53 AM Feature #10930: Allow splat operator to work for string interpolation
To better demonstrate the pain point here.
~~~ruby
class Example
def method_missing m, *a
puts "Method #{...
danielpclark (Daniel P. Clark)
03:23 AM Bug #9715: ENV data yield ASCII-8BIT encoded strings under Windows with unicode username
Agreed: although Ruby 2.2 appears to be trying to use locale to determine the encoding for environment vars, it's not... spatulasnout (B Kelly)
02:57 AM Revision b8172ec9 (git): Makefile.in: set CONFIGURE_TTY directly
* Makefile.in (reconfig-exec-0): set CONFIGURE_TTY without
intermediate variable.
git-svn-id: svn+ssh://ci.ruby-la...
nobu (Nobuyoshi Nakada)
12:56 AM Revision e65f38b9 (git): ruby_atomic.h: fix old value type of ATOMIC_CAS
* ruby_atomic.h (ATOMIC_CAS): old value to be swapped should be
same as the destination. immediate value may need ...
nobu (Nobuyoshi Nakada)
12:25 AM Revision c5d2ef80 (git): ruby_atomic.h: fix the argument order
* ruby_atomic.h (ATOMIC_SIZE_CAS): fix the argument order of
InterlockedCompareExchange64. new value and then old ...
nobu (Nobuyoshi Nakada)
12:23 AM Revision 4a1b9786 (git): random.c: fix filling size
* random.c (fill_random_seed): fix the size to be filled, not the
size of element, but the whole size of array.
gi...
nobu (Nobuyoshi Nakada)

12/04/2015

11:43 PM Feature #11737: Pass in expression to then block in `case expression`
~~~ruby
case 4 # __case__ = 4
when 4 # 4 === __case__
puts "Success! #{__case__} is what we wanted!" # __case_...
danielpclark (Daniel P. Clark)
11:14 PM Bug #11771: unable to pass keyargs to []=
Eric Wong wrote:
> Affects back to 2.0 (when keyword args were introduced),
> so this doesn't seem to be an optimi...
bughit (bug hit)
08:38 PM Bug #11771: unable to pass keyargs to []=
Affects back to 2.0 (when keyword args were introduced),
so this doesn't seem to be an optimization bug introduced ...
normalperson (Eric Wong)
07:42 PM Bug #11771 (Closed): unable to pass keyargs to []=
```ruby
module Foo
def self.[]=(key, val, option: nil)
end
end
Foo[:key] = 1 # ok
Foo[:key, option:...
bughit (bug hit)
09:08 PM Revision 1e2a4575 (git): vm.c: make ruby_vm_*_ptr static
No point in wasting space until we get MVM (if ever).
* vm.c (ruby_vm_verbose_ptr): make static
(ruby_vm_debug_ptr...
Eric Wong
05:37 PM Bug #9715: ENV data yield ASCII-8BIT encoded strings under Windows with unicode username
Dāvis Mosāns wrote:
> looks like same as bug #8822 and seems it's still wrong even with latest Ruby 2.2
Yes, I ju...
thomthom (Thomas Thomassen)
04:27 PM Bug #9715: ENV data yield ASCII-8BIT encoded strings under Windows with unicode username
looks like same as bug #8822 and seems it's still wrong even with latest Ruby 2.2 davispuh (Dāvis Mosāns)
02:09 PM Bug #9715: ENV data yield ASCII-8BIT encoded strings under Windows with unicode username
Trying to bump this. Even just some feedback on what an acceptable change would be and I could try to produce a . thomthom (Thomas Thomassen)
05:28 PM Revision a560f2a4 (git): compile.c: no extra parentheses
* compile.c (COMPILE_ERROR): remove extra parentheses to enclose
variadic arguments.
git-svn-id: svn+ssh://ci.ruby...
nobu (Nobuyoshi Nakada)
05:26 PM Revision 650f8905 (git): compile.c: just append compile error message
* compile.c (append_compile_error, prepare_compile_error): simply
append messages to the same SyntaxError exception...
nobu (Nobuyoshi Nakada)
03:59 PM Revision d7d265cd (git): * 2015-12-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:59 PM Revision bc9ac3ab (git): * include/ruby/ruby.h (RB_OBJ_TAINT): follow-up of r52881.
Turn into void expression not to use unexpected result.
Fix "operands have incompatible types" error with
Oracle ...
ngoto (Naohisa Goto)
02:31 PM Feature #9713: __FILE__ return unexpected encoding - breaks Dir.glob
Usaku NAKAMURA wrote:
> What can I say now is that we are planning to use UTF-8 as filesystem encoding on Windows at...
thomthom (Thomas Thomassen)
02:15 PM Feature #9713: __FILE__ return unexpected encoding - breaks Dir.glob
What can I say now is that we are planning to use UTF-8 as filesystem encoding on Windows at Ruby 3.0. usa (Usaku NAKAMURA)
01:35 PM Feature #9713: __FILE__ return unexpected encoding - breaks Dir.glob
Revisiting this issue again. Is there a resolution to what can be done to improve this and still satisfy compatibilit... thomthom (Thomas Thomassen)
10:53 AM Revision c949208d (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:52 AM Revision e1f69b39 (git): enc/iso_8859_13.c: Added three missing lower/upper-case
character pairs (from Kimihito Matsui)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52884 b2dd03c8-39d4-4d8f-98...
duerst (Martin Dürst)
09:57 AM Revision dddbd864 (git): enc/iso_8859_4.c: Added missing lower/upper-case character
pair (U+014A and U+014B, LATIN CAPITAL/SMALL LETTER ENG)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52883 b2d...
duerst (Martin Dürst)
07:48 AM Revision cae3905e (git): string.c: should not taint fstring
* string.c (rb_obj_as_string): fstring should not be infected.
re-apply r52872 and fix a typo.
TODO: other frozen...
nobu (Nobuyoshi Nakada)
07:32 AM Revision 7eb6942d (git): ruby.h: make flag setting macros void
* include/ruby/ruby.h (RB_FL_{SET,UNSET,REVERSE,INFECT,FREEZE}):
turn into void expressions not to use unexpected r...
nobu (Nobuyoshi Nakada)
06:21 AM Revision e2cf71a0 (git): * lib/rubygems: Update to RubyGems 2.5.0+ HEAD(fdab4c4).
this version includes #1396, #1397, #1398, #1399
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
hsbt (Hiroshi SHIBATA)
06:01 AM Misc #11770: [] $KCODEへの代入時にwarningが発生することのテストを追加
どちらかと言えば、将来的には`$KCODE`の特別扱いをなしにしたい気持ちがあるので、ちょっと微妙な印象です。
それと、`$=`は`$KCODE`とは別です。
nobu (Nobuyoshi Nakada)
02:11 AM Misc #11770 (Closed): [] $KCODEへの代入時にwarningが発生することのテストを追加
testケースがなかったので、追加します。 yui-knk (Kaneko Yuichiro)
05:42 AM Revision e4c15e31 (git): KNOWNBUGS.rb: assertion failure
* KNOWNBUGS.rb: add test for r52872, assertion failure.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52879 b2dd...
nobu (Nobuyoshi Nakada)
04:28 AM Feature #11768: Add a polymorphic inline cache
Aaron Patterson <[email protected]> wrote:
> Probably OT for this list, but do you have sequel installed as ...
normalperson (Eric Wong)
03:40 AM Feature #11768: Add a polymorphic inline cache
Thank you for your .
Comments:
Implementation:
* Did you run some big application with your ? it s...
ko1 (Koichi Sasada)
03:08 AM Feature #11768: Add a polymorphic inline cache
On Fri, Dec 04, 2015 at 02:28:57AM +0000, Eric Wong wrote:
> Aaron Patterson <[email protected]> wrote:
> >...
tenderlovemaking (Aaron Patterson)
02:38 AM Feature #11768: Add a polymorphic inline cache
Aaron Patterson <[email protected]> wrote:
> On Thu, Dec 03, 2015 at 10:51:08PM +0000, Eric Wong wrote:
> >...
normalperson (Eric Wong)
04:10 AM Revision f2532ab8 (git): Revert r52872 "string.c: should not taint fstring"
This reverts commit b887c7c20ab81b50ed7cb8c7db3218c443985d6b.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5287...
naruse (Yui NARUSE)
02:38 AM Feature #11769: optimize case / when for `nil`
[email protected] wrote:
> I've attached a that adds `nil` to the optimized case such that
> the abov...
normalperson (Eric Wong)
02:23 AM Revision 8068925a (git): * 2015-12-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:22 AM Revision 0ada28f9 (git): thread.c: name must be ascii-compatible
* thread.c (rb_thread_setname): name must be ascii-compatible, as
pthread APIs do not accept legacy wide char strin...
nobu (Nobuyoshi Nakada)
01:56 AM Bug #11767: Range#to_s and Range#inspect are not infected by the receiver
ruby_2_1 r52875 merged revision(s) 52868. usa (Usaku NAKAMURA)
01:56 AM Revision 0399a3d4 (git): merge revision(s) 52868: [Backport #11767]
* range.c (range_to_s): should be infected by the receiver.
str2 infects by appending. [ruby-core:71811] [...
U.Nakamura
01:08 AM Feature #11664: [] introduce rb_autoload_value to replace rb_autoload
Eric Wong <[email protected]> wrote:
> [email protected] wrote:
> > We used to append `_str` in many cases, I...
normalperson (Eric Wong)

12/03/2015

11:58 PM Feature #11768: Add a polymorphic inline cache
On Thu, Dec 03, 2015 at 10:51:08PM +0000, Eric Wong wrote:
> [email protected] wrote:
> > I haven't run eve...
tenderlovemaking (Aaron Patterson)
10:58 PM Feature #11768: Add a polymorphic inline cache
[email protected] wrote:
> I haven't run every benchmark that's checked in, but this speeds
> up the ...
normalperson (Eric Wong)
07:25 PM Feature #11768 (Closed): Add a polymorphic inline cache
Hi,
I've attached a that adds a PIC to the existing Mono IC struct.
I haven't run every benchmark that's ...
tenderlovemaking (Aaron Patterson)
11:48 PM Bug #11759: URI breaks with frozen strings
[email protected] wrote:
> Compared to the surrounding code in the full method, would the extra
> constant lookup ma...
normalperson (Eric Wong)
05:20 AM Bug #11759: URI breaks with frozen strings
> Yes, but I prefer to avoid String.new because the constant lookup
> requires an inline cache lookup + storage entr...
colindkelley (Colin Kelley)
09:43 PM Feature #11769 (Closed): optimize case / when for `nil`
Hi,
I've noticed that when there are certain values in a case / when statement it gets optimized to a hash lookup....
tenderlovemaking (Aaron Patterson)
07:55 PM Bug #11766: sprintf formatting Rationals as floats produces garbage
Backported into `ruby_2_2` branch at r52874. nagachika (Tomoyuki Chikanaga)
06:33 AM Bug #11766 (Closed): sprintf formatting Rationals as floats produces garbage
Applied in changeset r52869.
----------
sprintf.c: fix garbage inserted with Rational
* sprintf.c (rb_str_format): ...
nobu (Nobuyoshi Nakada)
12:43 AM Bug #11766: sprintf formatting Rationals as floats produces garbage
Another case:
~~~
"ABC%8.1fDEF" % [1r]
~~~
Expected:
~~~
"ABC 1.0DEF"
~~~
Actual result:
~~~
...
heftig (Jan Steffens)
12:39 AM Bug #11766 (Closed): sprintf formatting Rationals as floats produces garbage
Test case:
~~~
"%8.1f %8.1f" % [1r, 1r]
~~~
Expected:
~~~
" 1.0 1.0"
~~~
Actual result:
~...
heftig (Jan Steffens)
07:55 PM Revision f50d0b98 (git): merge revision(s) 52869: [Backport #11766]
* sprintf.c (rb_str_format): fix wrong shifting position in
Rational conversion when not at the beginning o...
nagachika (Tomoyuki Chikanaga)
05:57 PM Bug #11767: Range#to_s and Range#inspect are not infected by the receiver
Backported into `ruby_2_2` branch at r52873. nagachika (Tomoyuki Chikanaga)
05:22 AM Bug #11767 (Closed): Range#to_s and Range#inspect are not infected by the receiver
Applied in changeset r52868.
----------
range.c: infected by the receiver
* range.c (range_to_s): should be infecte...
nobu (Nobuyoshi Nakada)
04:16 AM Bug #11767 (Closed): Range#to_s and Range#inspect are not infected by the receiver
In general, `to_s` and `inspect` on a tainted object should result a tainted string.
`Range` seems the only exceptio...
nobu (Nobuyoshi Nakada)
05:56 PM Revision c35409c2 (git): merge revision(s) 52868: [Backport #11767]
* range.c (range_to_s): should be infected by the receiver.
str2 infects by appending. [ruby-core:71811] [...
nagachika (Tomoyuki Chikanaga)
07:02 AM Revision b887c7c2 (git): string.c: should not taint fstring
* string.c (rb_obj_as_string): fstring should not be infected.
TODO: other frozen strings also may not be.
git-svn...
nobu (Nobuyoshi Nakada)
06:39 AM Revision e2977fc8 (git): * lib/scanf.rb: fixed double words typo.
[ci skip][fix GH-1123] by @jwworth
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52871 b2dd03c8-39d4-4d8f-...
hsbt (Hiroshi SHIBATA)
06:38 AM Revision e1d28384 (git): * test/ruby/test_mixed_unicode_escapes.rb: fixed typo.
[fix GH-1122] by @davydovanton
* test/ruby/test_object.rb: ditto.
* test/socket/test_tcp.rb: ditto.
git-svn-id...
hsbt (Hiroshi SHIBATA)
06:33 AM Revision 77e9edc3 (git): sprintf.c: fix garbage inserted with Rational
* sprintf.c (rb_str_format): fix wrong shifting position in
Rational conversion when not at the beginning of the re...
nobu (Nobuyoshi Nakada)
05:22 AM Revision f7fb4e00 (git): range.c: infected by the receiver
* range.c (range_to_s): should be infected by the receiver.
str2 infects by appending. [ruby-core:71811] [Bug #117...
nobu (Nobuyoshi Nakada)
04:08 AM Feature #11607: [] fiddle: release GVL for ffi_call
[email protected] wrote:
> After r52723, SEGV occurred during Fiddle::TestFunc#test_qsort1 test/fiddle/test_fun...
normalperson (Eric Wong)
03:14 AM Feature #11607: [] fiddle: release GVL for ffi_call
After r52723, SEGV occurred during Fiddle::TestFunc#test_qsort1 test/fiddle/test_func.rb:83 on Solaris 10 i386 on Rub... ngoto (Naohisa Goto)
04:07 AM Feature #11737: Pass in expression to then block in `case expression`
Nobuyoshi Nakada wrote:
> It reminded me a rejected proposal:
>
> ~~~ruby
> case expr
> when matcher => result
...
wanabe (_ wanabe)
02:57 AM Revision 1c7f7579 (git): * 2015-12-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:57 AM Revision dfe27428 (git): configure.in: split SET_THREAD_NAME
* configure.in: separate SET_CURRENT_THREAD_NAME, which can set
the name of current thread only, and SET_ANOTHER_TH...
nobu (Nobuyoshi Nakada)

12/02/2015

11:36 PM Feature #11747: "bury" feature, similar to 'dig' but opposite
Tsuyoshi Sawada wrote:
> > inferred from the what the user is passing (such as a symbol or string for a hash or an ...
dam13n (damien sutevski)
09:38 PM Bug #11759: URI breaks with frozen strings
[email protected] wrote:
> Isn't it sufficient to initialize the string buffer with String.new?
Yes, but I prefer ...
normalperson (Eric Wong)
07:11 AM Bug #11759: URI breaks with frozen strings
Isn't it sufficient to initialize the string buffer with String.new?
I've attached a that also includes the ...
colindkelley (Colin Kelley)
04:10 AM Bug #11759: URI breaks with frozen strings
Don't mix optimization and incompatible change.
Incompatible change should be separated to another feature ticket.
...
akr (Akira Tanaka)
03:56 AM Bug #11759: URI breaks with frozen strings
Hey Eric, thanks for the alternative! I was under the impression that we should assume strings to be frozen in this m... davidcelis (David Celis)
01:48 AM Bug #11759: URI breaks with frozen strings
Hi David, a new problem is to_s now returns a frozen string.
This has the potential to break many existing callers o...
normalperson (Eric Wong)
01:30 AM Bug #11759: URI breaks with frozen strings
I just realized that the contained many cosmetic updates, so I reverted them to maintain the existing style. So... davidcelis (David Celis)
01:18 AM Bug #11759: URI breaks with frozen strings
I've attached a you can try out. It will avoid string mutation in URI#to_s, though I'm not sure it's optimal to... davidcelis (David Celis)
12:01 AM Bug #11759 (Closed): URI breaks with frozen strings
It appears URI uses String mutation and breaks frozen string mode.
~~~
$ RUBYOPT="--enable-frozen-string-literal"...
mperham (Mike Perham)
08:35 PM Bug #11765: Trouble using fiddle to call Fortran from C

Found a bug in my Fortran file, it works now.
lxh37 (Liz Huang)
08:11 PM Bug #11765 (Third Party's Issue): Trouble using fiddle to call Fortran from C

Hi, I tried to transfer my project from Mac to Linux, but have trouble to use fiddle to call
the dynamic library w...
lxh37 (Liz Huang)
01:58 PM Revision 2962b6e0 (git): * vm_core.h, iseq.h: remove rb_iseq_t::variable_body.
Fields in rb_iseq_t::variable_body are contained by
rb_iseq_t::body::mark_ary (hidden Array object).
Index 0 to ...
ko1 (Koichi Sasada)
09:47 AM Feature #11761: `Hash#default_set` and `Hash#default_proc_set`
Resetting the default value/proc for a Hash multiple times seems a rather special case, could you illustrate why you ... Eregon (Benoit Daloze)
06:55 AM Feature #11761: `Hash#default_set` and `Hash#default_proc_set`
`Kernel#tap` has been added for such purpose, I think. nobu (Nobuyoshi Nakada)
06:48 AM Feature #11761: `Hash#default_set` and `Hash#default_proc_set`
Or, perhaps there should be just one method `Hash#default_set` that can take either an argument or a block:
h....
sawa (Tsuyoshi Sawada)
06:34 AM Feature #11761 (Rejected): `Hash#default_set` and `Hash#default_proc_set`
I often want to assign a default value or proc to an existing hash `h` and chain method after it. The way I do it is:... sawa (Tsuyoshi Sawada)
09:17 AM Revision afd564ee (git): thread.c: rb_thread_setname on OS X
* thread.c (rb_thread_setname): pthread_setname_np() on OS X takes
the name only and sets the current thread.
git-...
nobu (Nobuyoshi Nakada)
09:17 AM Revision bc6e31ee (git): missing.h: __STDC_WANT_LIB_EXT1__
* include/ruby/missing.h: get rid of redefinition of
__STDC_WANT_LIB_EXT1__.
git-svn-id: svn+ssh://ci.ruby-lang.or...
nobu (Nobuyoshi Nakada)
08:20 AM Revision cfd1157f (git): * iseq.h: introduce ISEQ_ORIGINAL_ISEQ() and
ISEQ_ORIGINAL_ISEQ_ALLOC() macro.
* compile.c: use them to access original iseq buffer.
* iseq.c: ditto.
* vm_core...
ko1 (Koichi Sasada)
08:11 AM Revision a9c0cf4f (git): * iseq.h: introduce ISEQ_FLIP_CNT_INCREMENT() macro.
* compile.c (iseq_compile_each): use it.
* vm_core.h: rename flip_cnt field to support this fix.
git-svn-id: svn...
ko1 (Koichi Sasada)
08:05 AM Revision 417240b7 (git): * iseq.h: introduce ISEQ_COVERAGE() and ISEQ_COVERAGE_SET() macro.
* compile.c: use them.
* iseq.c: ditto.
* iseq.c (rb_iseq_coverage): added.
* thread.c (update_coverage): use rb_i...
ko1 (Koichi Sasada)
08:00 AM Revision e86f66b3 (git): encoding.c: make fstring
* encoding.c (enc_name, rb_enc_name_list_i, rb_enc_aliases_enc_i):
make fstring instead of making each copies.
git...
nobu (Nobuyoshi Nakada)
07:52 AM Bug #11764 (Closed): ext/tk/lib/multi-tk.rb: fix three typos.
* ext/tk/lib/multi-tk.rb: fix three typos. red54 (XIE Zhibang)
07:52 AM Revision 7afefea5 (git): * iseq.h: introduce ISEQ_COMPILE_DATA() macro.
* compile.c, iseq.c: use ISEQ_COMPILE_DATA().
* vm_core.h: rename compile_data field to support this fix.
git-sv...
ko1 (Koichi Sasada)
07:38 AM Bug #11763 (Closed): gc.c: fix two typos.
* gc.c: fix two typos. red54 (XIE Zhibang)
07:38 AM Bug #11762 (Closed): Array#dig can raise TypeError: no implicit conversion of Symbol/String into Integer
If you try to `dig` in an Array using a symbol or string, a `TypeError` exception will be raised:
irb> ['zero', 'o...
colindkelley (Colin Kelley)
07:31 AM Revision e917af64 (git): compile.c: fix the element
* compile.c (iseq_set_sequence): fix the element for line number
to rb_compile_bug.
git-svn-id: svn+ssh://ci.ruby-...
nobu (Nobuyoshi Nakada)
07:27 AM Bug #11760 (Closed): Encoding is tainted unexpectedly by Marshal.load
Applied in changeset r52856.
----------
encoding.c: defer finding encoding
* encoding.c (enc_m_loader): defer findi...
nobu (Nobuyoshi Nakada)
06:26 AM Bug #11760 (Closed): Encoding is tainted unexpectedly by Marshal.load
By `Marshal.load`ing tainted source, `Encoding` object will be tainted.
## code to reproduce
~~~ruby
e = Encodin...
nobu (Nobuyoshi Nakada)
07:27 AM Revision 2a66cc55 (git): encoding.c: defer finding encoding
* encoding.c (enc_m_loader): defer finding encoding object not to
be infected by marshal source. [ruby-core:71793]...
nobu (Nobuyoshi Nakada)
06:50 AM Revision a497ed37 (git): marshal.c: lookup and remove
* marshal.c (r_fixup_compat): delete compatible object with
lookup.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
nobu (Nobuyoshi Nakada)
06:48 AM Revision 4bef8cff (git): encoding.c: use rb_check_arity
* encoding.c (enc_dump): use rb_check_arity to just check number
of arguments.
git-svn-id: svn+ssh://ci.ruby-lang....
nobu (Nobuyoshi Nakada)
06:14 AM Bug #11751: allow --with-libedit to work when a path is specified
ruby_2_1 r52853 merged revision(s) 52795. usa (Usaku NAKAMURA)
06:14 AM Revision 1745d258 (git): merge revision(s) 52795: [Backport #11751]
* ext/readline/extconf.rb: call dir_config("libedit")
if --enable-libedit is spcified. [Bug #11751]
...
U.Nakamura
06:13 AM Bug #11698 (Closed): Fix a bad double-negative comment
Applied in changeset r52852.
----------
* configure.in: Fixed double negative comments.
[Bug #11698][ruby-core:71506]
hsbt (Hiroshi SHIBATA)
06:12 AM Revision bf072364 (git): * configure.in: Fixed double negative comments.
[Bug #11698][ruby-core:71506]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52852 b2dd03c8-39d4-4d8f-98ff-823fe6...
hsbt (Hiroshi SHIBATA)
05:56 AM Revision b875b1c3 (git): * test/ruby/test_string.rb: removed non executing tests.
[Misc #11757][ruby-dev:49397]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52851 b2dd03c8-39d4-4d8f-98ff-823fe6...
hsbt (Hiroshi SHIBATA)
02:40 AM Revision b14f4209 (git): csv.rb: fix encoding
* lib/csv.rb: encoding must be plased at the first line except for
shebang. [fix GH-1116]
git-svn-id: svn+ssh://c...
nobu (Nobuyoshi Nakada)
02:36 AM Revision 97fe4014 (git): explicit_bzero.c: fix typos
* missing/explicit_bzero.c (explicit_bzero): fix typos, probably.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
nobu (Nobuyoshi Nakada)
02:28 AM Feature #11339: [] io.c: avoid kwarg parsing in C API
[email protected] wrote:
> https://bugs.ruby-lang.org/issues/11339

For OpenSSL connect_nonblock/accept_nonbl...
normalperson (Eric Wong)
02:23 AM Revision aed0db8b (git): * lib/csv.rb: enable frozen_string_literal.
[fix GH-1116] by @marshall-lee
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52848 b2dd03c8-39d4-4d8f-98ff...
hsbt (Hiroshi SHIBATA)
01:50 AM Revision 4a7dedf7 (git): missing.h: __STDC_WANT_LIB_EXT1__
* include/ruby/missing.h: __STDC_WANT_LIB_EXT1__ is necessary for
memset_s.
git-svn-id: svn+ssh://ci.ruby-lang.org...
nobu (Nobuyoshi Nakada)
01:36 AM Revision d1decf0d (git): * ext/bigdecimal/bigdecimal.c: Fix double word typo.
[ci skip][fix GH-1120] by @jwworth
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52846 b2dd03c8-39d4-4d8f-...
hsbt (Hiroshi SHIBATA)
12:55 AM Revision 9849555a (git): explicit_bzero.c: fix comments
* missing/explicit_bzero.c: fix comments. Microsoft Visual Studio
does not provide memset_s() in 12.0 at least.
g...
nobu (Nobuyoshi Nakada)
12:45 AM Revision 0167fc15 (git): string.c: adjust argument qualifier
* string.c (str_make_independent_expand): adjust argument
qualifier to get rid of a VC bug.
git-svn-id: svn+ssh://...
nobu (Nobuyoshi Nakada)
12:03 AM Revision bb5bd52a (git): undef for tha case missing.h defines it as macro
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)

12/01/2015

10:49 PM Revision ebcefd79 (git): ext/openssl/ossl_ssl.c: hide globals
* ext/openssl/ossl_ssl.c (mSSLExtConfig): make static
(eSSLError): ditto
(ID_callback_state): ditto
(ossl_ssl_e...
Eric Wong
10:42 PM Revision fd8f7848 (git): missing/explicit_bzero.c (explicit_bzero): fixup r52839
...for compilers with "weak" attribute.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52841 b2dd03c8-39d4-4d8f-9...
Eric Wong
09:55 PM Revision 93ce51b0 (git): * 2015-12-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:52 PM Revision 48de9684 (git): * missing/explicit_bzero.c: add ruby_explicit_bzero_hook_unused
for preventing optimization. Inspired from OpenBSD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52839 b2dd03c8...
kosaki (Motohiro KOSAKI)
08:58 PM Feature #11741: Migrate Ruby to Git from Subversion
[email protected] wrote:
> Eric Wong <[email protected]> wrote:
> > The main site's Terms of Service (or any ...
normalperson (Eric Wong)
06:29 PM Bug #11751: allow --with-libedit to work when a path is specified
Backported into `ruby_2_2` branch at r52838. nagachika (Tomoyuki Chikanaga)
06:28 PM Revision 8458ff3a (git): merge revision(s) 52795: [Backport #11751]
* ext/readline/extconf.rb: call dir_config("libedit")
if --enable-libedit is spcified. [Bug #11751]
...
nagachika (Tomoyuki Chikanaga)
06:16 PM Bug #11748: [BACKPORT] ripper misses on_tstring_content callback result
Backported into `ruby_2_2` branch at r52837. nagachika (Tomoyuki Chikanaga)
06:15 PM Revision 15cf9331 (git): merge revision(s) 52777: [Backport #11748]
* parse.y (parser_here_document): store dised result of
on_tstring_content at the last fragment of a h...
nagachika (Tomoyuki Chikanaga)
03:14 PM Feature #11758 (Closed): Add keyword assignment syntax
I think keyword assignments would be a useful addition, especially since the introduction of keyword arguments
The...
elia (Elia Schito)
02:37 PM Revision 8ea55641 (git): fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:36 PM Revision 62b511d9 (git): thread.c: reset name
* thread.c (rb_thread_setname): allow to reset thread name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52835 ...
nobu (Nobuyoshi Nakada)
02:14 PM Bug #11756 (Closed): SEGV Thread#inspect when sets the thread#name as a OpenStruct
Applied in changeset r52834.
----------
thread.c: check name argument
* thread.c (rb_thread_setname): check the arg...
nobu (Nobuyoshi Nakada)
06:53 AM Bug #11756 (Closed): SEGV Thread#inspect when sets the thread#name as a OpenStruct
How to reproduce:
Run this script:
~~~ruby
require 'ostruct'
thread = Thread.new { 0 }
thread.name = OpenS...
lucasamorim (Lucas Amorim)
02:14 PM Revision c56d9aaa (git): thread.c: check name argument
* thread.c (rb_thread_setname): check the argument if valid
string. [ruby-core:71774] [Bug #11756]
git-svn-id: sv...
nobu (Nobuyoshi Nakada)
12:58 PM Misc #11757 (Closed): test_string.rbから不要なコードを削除する
テストでは`pre_1_7_1`に渡したブロックは実行されていないので、削除します yui-knk (Kaneko Yuichiro)
09:55 AM Bug #11755 (Third Party's Issue): ENV['TZ'] timezone
It's the convention. nobu (Nobuyoshi Nakada)
07:02 AM Bug #11755: ENV['TZ'] timezone
TZ database https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
'Etc/GMT+8' corresponding UTC is '-08:00'
...
[email protected] (Jon Xie)
06:05 AM Bug #11755: ENV['TZ'] timezone
Matthew Kerwin wrote:
> Jon Xie wrote:
> > What reason is this excuse me?
>
> Presumably you took 12 seconds bet...
[email protected] (Jon Xie)
05:46 AM Bug #11755: ENV['TZ'] timezone
Jon Xie wrote:
> What reason is this excuse me?
Presumably you took 12 seconds between the first two commands, an...
phluid61 (Matthew Kerwin)
05:24 AM Bug #11755: ENV['TZ'] timezone
Nobuyoshi Nakada wrote:
> Seems correct output.
> What do you expect?
I'm expect:
~~~
ENV['TZ'] = 'GMT+8'; T...
[email protected] (Jon Xie)
04:22 AM Bug #11755 (Feedback): ENV['TZ'] timezone
Seems correct output.
What do you expect?
nobu (Nobuyoshi Nakada)
03:55 AM Bug #11755: ENV['TZ'] timezone
System: OS X 10.10.5 [email protected] (Jon Xie)
03:49 AM Bug #11755 (Third Party's Issue): ENV['TZ'] timezone
~~~ruby
2.2.3 :001 > Time.now
=> 2015-12-01 11:35:06 +0800
2.2.3 :002 > ENV['TZ'] = 'GMT+8'; Time.now
=> 2015-...
[email protected] (Jon Xie)
08:13 AM Revision d58f17f3 (git): string.c: no frozen error at cstr
* string.c (rb_string_value_cstr): should not raise on frozen
string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
nobu (Nobuyoshi Nakada)
08:09 AM Revision 41cbb7f0 (git): cstr.c: split bug_str_cstr_unterm
* ext/-test-/string/cstr.c (bug_str_cstr_unterm): split
unterminating from bug_str_cstr_term.
git-svn-id: svn+ssh:...
nobu (Nobuyoshi Nakada)
08:01 AM Bug #11444: STDIN.each_codepoint hangs indefinitely on certain codepoints
ruby_2_1 r52831 merged revision(s) 51583,51594,51638. usa (Usaku NAKAMURA)
08:00 AM Revision f81b6694 (git): merge revision(s) 51583,51594,51638: [Backport #11444]
* io.c (rb_io_each_codepoint): read more data when read partially.
[ruby-core:70379] [Bug #11444]
...
U.Nakamura
06:20 AM Feature #9098: Indent heredoc against the left margin by default when "indented closing identifier" is turned on.
"8 spaces for tab stops" is not enough to make the spec.
When tabs and spaces are mixed, e.g., there are`"\t"*2+"2...
nobu (Nobuyoshi Nakada)
05:55 AM Revision 8d7d4e33 (git): compile.c: consistent messages
* compile.c (EXPECT_NODE, EXPECT_NODE_NONULL, UNKNOWN_NODE): make
compile bug messages consistent.
git-svn-id: svn...
nobu (Nobuyoshi Nakada)
04:25 AM Revision 9fcfaa8d (git): win32.c: fix argument type
* win32/win32.c (dupfd): promote argument type for old VC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52829 b...
nobu (Nobuyoshi Nakada)
04:13 AM Bug #11753 (Third Party's Issue): Building ruby-git on Arch Linux eats all memory on ./configure
It's a part of standard `AC_INIT()`.
Probably a bug of Arch Linux which `autoconf` does not support yet.
Please r...
nobu (Nobuyoshi Nakada)
04:07 AM Revision a1171a95 (git): * ext/digest/sha1/sha1ossl.c: fixed build error introduced at r52797.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@52828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
03:52 AM Revision 24dcb128 (git): explicit_bzero.c: needs windows.h
* missing/explicit_bzero.c, random.c (explicit_bzero):
SecureZeroMemory() needs windows.h.
git-svn-id: svn+ssh://c...
nobu (Nobuyoshi Nakada)
01:39 AM Revision e84000fc (git): missing.h: explicit_bzero by SecureZeroMemory
* include/ruby/missing.h (explicit_bzero): use SecureZeroMemory on
Windows. assume Windows XP or later at compile ...
nobu (Nobuyoshi Nakada)
01:25 AM Revision a73f0f2c (git): parse.y: TAB_WIDTH
* parse.y (TAB_WIDTH, token_info_get_column): add constant for
column calcuation.
git-svn-id: svn+ssh://ci.ruby-la...
nobu (Nobuyoshi Nakada)
01:24 AM Revision 10bb9e6f (git): missing.h: explicit_bzero by memset_s
* include/ruby/missing.h (explicit_bzero_by_memset_s): call
memset_s directly if available.
* missing/explicit_bze...
nobu (Nobuyoshi Nakada)
01:05 AM Revision ff113d52 (git): configure.in: FUNC_UNOPTIMIZED
* configure.in: check if optimize pragma is supported.
* include/ruby/defines.h (FUNC_UNOPTIMIZED): fallback definit...
nobu (Nobuyoshi Nakada)
12:35 AM Revision 586c1749 (git): * missing/explicit_bzero.c: add a few comment.
* missing/explicit_bzero.c: add disabling optimization on gcc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@528...
kosaki (Motohiro KOSAKI)
12:07 AM Revision ed0858a8 (git): fix r52806
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
 

Also available in: Atom