Project

General

Profile

Activity

From 07/21/2013 to 07/27/2013

07/27/2013

09:07 PM Feature #8629: Method#parameters should include the default value
I don't understand, I've expressed already my opinion on how it should behave in the case you pointed out directly in the description. In such cases you could return a proc as ->{raise UnstranslatableExpression} or something like that an... rosenfeld (Rodrigo Rosenfeld Rosas)
04:42 PM Feature #8629 (Rejected): Method#parameters should include the default value
There can be a default value expression that refers external scope, e.g.
def foo(a, b=a+2)
end
In the case like this, there's no way to define a proc to return the default value.
So your proposal is theoretically impossible i...
matz (Yukihiro Matsumoto)
08:23 PM Bug #8697 (Rejected): Fixnum complement operator issue
=begin
By the ((<documentation|URL:http://www.ruby-doc.org/core-2.0/Fixnum.html#method-i-7E>)), bitwise complement operator ((*~*)) to Fixnum instance should do ((*one's complement*)) with just flipping all bits. In fact, current implem...
torimus (Torimus GL)
07:37 PM Revision b592a740 (git): Show TERM environment variable on failure
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:10 PM Revision f1312bc0 (git): test_rubyoptions.rb: split test_segv_test
* test/ruby/test_rubyoptions.rb (test_segv_test): split assertions to
each tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:54 PM Feature #8696 (Closed): Process.setproctitle
$0= と同じ機能が$変数を使わずに書けないようなので、
Process.setproctitle を追加するのはどうでしょうか?
znz (Kazuhiro NISHIYAMA)
04:29 PM Feature #8430: Rational number literal
matz (Yukihiro Matsumoto) wrote:
> The final idea was "1r" to be "Rational(1,1)". We also accept the idea of "1i" as "Complex(0,1)".
Additionaly them, "1.2r" as "Rational(12, 10)" is also accepted.
But the exponential form with "r"...
mrkn (Kenta Murata)
04:16 PM Feature #8430: Rational number literal
The final idea was "1r" to be "Rational(1,1)". We also accept the idea of "1i" as "Complex(0,1)".
Matz.
matz (Yukihiro Matsumoto)
04:13 PM Feature #8671: support SEEK_DATA and SEEK_HOLE
We accept. Go ahead.
Matz.
matz (Yukihiro Matsumoto)
03:48 PM Feature #6589: Set#rehash
Actually, an undocumented "feature" is that Set does not support an element being modified once it is added.
Maybe we should "clarify" that in the document, or add such a method that recalculates identities of elements. I'm yet to de...
knu (Akinori MUSHA)
03:39 PM Revision 5b89a56b (git): * bignum.c (rb_big_size): Return the bignum "bytewise" size.
[ruby-core:55578] [Feature #8553]
This is accepted by matz on DevelopersMeeting20130727Japan.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:27 PM Feature #8026: Need Module#prepended_modules
What about adding Module#prepend?(other) also, which could be implemented in ruby as follows?
module Module
def prepend?(other)
ancestors.find { |mod|
break false if mod == self
mod == other
}
end
end
knu (Akinori MUSHA)
02:47 PM Feature #8026: Need Module#prepended_modules
I am OK with the idea.
Matz.
matz (Yukihiro Matsumoto)
03:25 PM Feature #8499: Importing Hash#slice, Hash#slice!, Hash#except, and Hash#except! from ActiveSupport
In attached patch.diff
~~~ruby
assert_equal({1=>2, 3=>4}, h.slice!(1, 3))
~~~
but ActiveSupport's `h.slice!(1, 3)` returns `{5=>6}`.
http://api.rubyonrails.org/classes/Hash.html#method-i-slice-21
znz (Kazuhiro NISHIYAMA)
03:22 PM Feature #8499: Importing Hash#slice, Hash#slice!, Hash#except, and Hash#except! from ActiveSupport
The slice method (`Array#slice`) retrieve "a slice of elements" from an `Array`.
Considering that, slice is *not* a good name for the behavior.
So, I prefer Nobu's idea in comment #16
~~~ruby
hash = other_hash.select(:key1, :key2...
matz (Yukihiro Matsumoto)
03:11 PM Revision c15e0070 (git): * 2013-07-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:11 PM Revision 8fd992d7 (git): * include/ruby/intern.h (rb_integer_pack): Declaration moved from
internal.h.
(rb_integer_unpack): Ditto.
[ruby-core:42813] [Feature #6065]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:10 PM Bug #8221: 2 AES-128-GCM (probably same in AES-256-GCM) bug?
http://rbci.lakewood.privs.net/ruby-trunk/log/20130726T230003Z.log.html.gz also relates this naruse (Yui NARUSE)
03:07 PM Feature #7292 (Feedback): Enumerable#to_h
the name 'to_h' is OK, simpler behavior is preferable compared with the past proposals.
But I am not sure the following simple implementation works OK, e.g. what if an element is a object, or number, or anything not two-element array....
matz (Yukihiro Matsumoto)
02:59 PM Feature #6588: Set#intersect?
OK, accepted. I'll work on it. knu (Akinori MUSHA)
02:29 PM Feature #8632: Remove warnings for Refinements
I agree. Remove warning.
Matz.
matz (Yukihiro Matsumoto)
01:53 PM Feature #8678: Allow invalid string to work with regexp
duerst (Martin Dürst) wrote:
> Sorry to be late with my comment.
> ...
I mean "During the Ruby 1.8 era people can find characters from binary data by regexp matching"
> > After Ruby 1.9, Ruby raises Exception if it does regexp match...
naruse (Yui NARUSE)
01:45 PM Feature #3753: value of def-expr
We accept this change for 2.1 in the developers' meeting on 2013-07-27. We also think define_method() should return symbols as well.
Matz.
matz (Yukihiro Matsumoto)
01:36 PM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
In the developers' meeting on 2007-07-27, we concluded we accepted the proposal from Aaron in https://dl.dropboxusercontent.com/u/582984/again_5138.pdf.
Matz.
matz (Yukihiro Matsumoto)
08:23 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
Aaron Patterson <tenderlove@ruby-lang.org> wrote:
> In the last developer meeting, matz suggested that the existing
> nonblocking IO functions take an extra option to specify whether or not
> exceptions should be raised.
>
> ...
normalperson (Eric Wong)
10:46 AM Bug #8695 (Feedback): CompilationMakefile for 1.9.3-p448 and 2.0.0-p247 produces "Inconsistent rules lines" errors on HP-UX 9000/800
Your log is 1.8.7. nobu (Nobuyoshi Nakada)
04:35 AM Bug #8695 (Closed): CompilationMakefile for 1.9.3-p448 and 2.0.0-p247 produces "Inconsistent rules lines" errors on HP-UX 9000/800
I was following the instructions in the README file for the compilation of Ruby version2.0.0-p247. The problem is also reproducible for the 1.9.3-p448 installation. Because of this error, I cannot install either version of Ruby.
The...
tluedeke (Thomas Luedeke)
09:56 AM Feature #8601: Win32API.rb long life plan
usa (Usaku NAKAMURA) wrote:
> Win32API.rb should be removed at 2.1.0.
Hello usa,
This doesn't go against what nobu and arton said?
I can modify both RubyGems and SecureRandom to use Fiddle (for newer versions) but not sure abou...
luislavena (Luis Lavena)
09:45 AM Bug #5954: IO.read_nonblock on IO.pipe generates Errno::EBADF (MinGW)
Hello usa, nobu.
I've hit this issue with several project again.
Can you confirm or reject if this failure is intended or a bug? That way I can decide jump into the code or not (as IO is not my strongest field)
Thank you.
luislavena (Luis Lavena)
08:53 AM Feature #8658: Process.clock_gettime
2013/7/26 Tanaka Akira <akr@fsij.org>:
> 2013/7/26 KOSAKI Motohiro <kosaki.motohiro@gmail.com>:
>
>> Really? I don't think so because CLOCK_*_CPUTIME_ID have less precious than
>> CLOCK_REALTIME. following "t" often show 0 on se...
akr (Akira Tanaka)
08:13 AM Revision 8a165f96 (git): * 2013-07-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:13 AM Revision aef16b8f (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:22 AM Feature #8693: lambda invoked by yield acts as a proc with respect to return
what is the reason for this?
why should yield and block.call behave differently?
why should lambdas sometimes not have lambda semantics? When the code is written it has to assume lambda or proc semantics, it can't handle both, so ...
rits (First Last)

07/26/2013

11:23 PM Bug #8689: REXML::StreamListener#entityが呼び出されない
ちょっとみたらすぐにいけそうだったので実装しておきました!あと、パースして情報が落ちるのは切ないなぁという気持ちもありました。
まぁ、なにに使うんですかねぇ。。。未定義のパラメーター実体参照をしていないか、というチェックをするプログラムを書くためには使えそうですかねぇ。。。
kou (Kouhei Sutou)
11:17 PM Bug #8689 (Closed): REXML::StreamListener#entityが呼び出されない
This issue was solved with changeset r42198.
Ippei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/rexml/parsers/streamparser.rb
(REXML::Parsers::StreamPar...
kou (Kouhei Sutou)
11:16 PM Bug #8689 (Assigned): REXML::StreamListener#entityが呼び出されない
kou (Kouhei Sutou)
02:54 AM Bug #8689 (Closed): REXML::StreamListener#entityが呼び出されない
REXML::StreamListener#entity のドキュメントによると
# Called when %foo; is encountered in a doctype declaration.
# @p content "foo"
def entity content
end
と書かれていますが、以下のコードを動かしても何も表示されません
require 'rexml/parsers/baseparser'
...
ohai (Ippei Obayashi)
10:58 PM Feature #8499: Importing Hash#slice, Hash#slice!, Hash#except, and Hash#except! from ActiveSupport
How about this implementation? Glass_saga (Masaki Matsushita)
09:55 PM Bug #8694 (Third Party's Issue): scheduled_tasks bug report
It crashes in win32-api. nobu (Nobuyoshi Nakada)
07:48 PM Bug #8694 (Third Party's Issue): scheduled_tasks bug report
gem crash trying to use a scheduled_task resource. I first tried using forward slashes, but had similar errors.
scheduled_task { "${source_left}":
require => File["${source_left}.config"],
command => "c:\\program files\...
jstnlth (Justin Luth)
09:41 PM Feature #8693 (Rejected): lambda invoked by yield acts as a proc with respect to return
It's spec. nobu (Nobuyoshi Nakada)
02:14 PM Feature #8693 (Closed): lambda invoked by yield acts as a proc with respect to return
irb(main):004:0> def m1; yield end; def m2; m1 &->{return 0}; 1 end; m2
=> 0
rits (First Last)
06:17 PM Feature #8678: Allow invalid string to work with regexp
Sorry to be late with my comment.
naruse (Yui NARUSE) wrote:
> Legacy Ruby 1.8 could regexp match with broken strings.
Well, in Ruby 1.8, strings were binary, so this isn't much of a surprise.
> ...
Sorry, I don't understad "on...
duerst (Martin Dürst)
08:41 AM Feature #8678: Allow invalid string to work with regexp
I am positive. I'd rather want to make this default (if possible).
Matz.
matz (Yukihiro Matsumoto)
05:41 PM Feature #7292: Enumerable#to_h
Yes, thanks, i forgot. Then "to_h" would be fine with me.
In fact, for me it would be enough to have a method like "yield_self" #6721, then i would do "array.yield_self {|a| Hash[a] }"
alexeymuranov (Alexey Muranov)
04:53 PM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
On Tue, Aug 02, 2011 at 07:35:15AM +0900, Yehuda Katz wrote:
>
> Issue #5138 has been reported by Yehuda Katz.
>
> ----------------------------------------
> Bug #5138: Add nonblocking IO that does not use exceptions for EOF...
tenderlovemaking (Aaron Patterson)
03:30 PM Bug #8680 (Feedback): ruby crashes when built with AddressSanitizer
naruse (Yui NARUSE)
01:18 AM Bug #8680: ruby crashes when built with AddressSanitizer
Does Boehm GC works on the AddressSanitizer? IOW, is this ruby specific?
kosaki (Motohiro KOSAKI)
02:19 PM Revision 30f5e8ca (git): * NEWS: Add a new feature that REXML::Parsers::StreamParser
supports "entity" event.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
02:17 PM Revision 75a13873 (git): * lib/rexml/parsers/streamparser.rb
(REXML::Parsers::StreamParser#parse): Add "entity" event support to
listener. [Bug #8689] [ruby-dev:47542]
Reported by Ippei Obayashi.
* test/rexml/test_stream.rb (StreamTester#entity): Add a test for
the above case.
git-svn-id: ...
Sutou Kouhei
02:05 PM Revision 41f864fa (git): parse.y: separate numeric literal
* parse.y (parser_yylex): separate numeric literal from succeeding
token, and treat 'e' as floating point number only if followed by
exponent part.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42197 b2dd03c8-39d4-4d8f-98ff-823f...
nobu (Nobuyoshi Nakada)
01:14 PM Revision 2d9a4afb (git): vm_exec.h: fix CHECK_VM_STACK_OVERFLOW_FOR_INSN
* vm_exec.h (CHECK_VM_STACK_OVERFLOW_FOR_INSN): surround with
do/while (0), and remove unnecessary casts.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:04 PM Bug #8676 (Closed): ruby 2.0 can not require or load the source file with non-ascii path name
This issue was solved with changeset r42183.
贾, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
load.c: search in OS path encoding
* load.c (rb_load_internal): use...
nobu (Nobuyoshi Nakada)
09:37 AM Bug #8676: ruby 2.0 can not require or load the source file with non-ascii path name
Update the patch
Using the encoding from path name
jiayp@glodon.com (贾 延平)
12:59 PM Feature #8658: Process.clock_gettime
2013/7/26 KOSAKI Motohiro <kosaki.motohiro@gmail.com>:

> Really? I don't think so because CLOCK_*_CPUTIME_ID have less precious than
> CLOCK_REALTIME. following "t" often show 0 on several OSs.
>
>
> t0 = clock_gettime(CLOC...
akr (Akira Tanaka)
12:53 PM Feature #8658: Process.clock_gettime
2013/7/24 Eregon (Benoit Daloze) <redmine@ruby-lang.org>:
> Issue #8658 has been updated by Eregon (Benoit Daloze).
>
> A very poor one as mapping to Linux/UNIX constants would just confuse people.
> I do not think the UNIX API ...
akr (Akira Tanaka)
02:53 AM Feature #8658: Process.clock_gettime
(7/23/13 9:50 PM), Tanaka Akira wrote:
> 2013/7/24 KOSAKI Motohiro <kosaki.motohiro@gmail.com>:
>
>> So, Why do you choice Process.clock_gettime() instead of
>> Time.clock_gettime()?
>
> I don't like the result value of cloc...
kosaki (Motohiro KOSAKI)
12:55 PM Bug #8692 (Rejected): segv in fiddle
=begin
(({time()})) returns (({time_t})), not pointer.
As Fiddle doesn't provide (({TYPE_TIME_T})) currently, you have to use (({TYPE_LONG})) instead.
require 'fiddle'
libc = Fiddle.dlopen(nil)
time = Fiddle::Function.new(li...
nobu (Nobuyoshi Nakada)
11:45 AM Bug #8692 (Rejected): segv in fiddle
=begin
require 'fiddle'
libc = Fiddle.dlopen('libc.dylib')
time = Fiddle::Function.new( libc['time'], [Fiddle::TYPE_VOIDP], Fiddle::TYPE_VOIDP )
puts time.call(nil)
stack trace: ((<URL:https://gist.github.com/zzak/6085700>...
zzak (zzak _)
11:42 AM Bug #8687 (Closed): mathn and round causes an segmentationfault
This issue was solved with changeset r42178.
Hans, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
rational.c: ensure to be Rational
* rational.c (f_round_common):...
nobu (Nobuyoshi Nakada)
02:10 AM Bug #8687 (Closed): mathn and round causes an segmentationfault
require "mathn"; (5/2).round(2)
-- Control frame information -----------------------------------------------
c:0019 p:---- s:0076 e:000075 CFUNC :round
c:0018 p:0013 s:0072 e:000071 EVAL (irb):4 [FINISH]
c:0017 p:---- s:0070 e...
Hanmac (Hans Mackowiak)
11:39 AM Feature #8675: Add Readline.point=(pos)
ありがとうございます。
7月中には取り込む方向で進めますね。
取り込むならユニットテストもほしいですね。あと、libeditでの動作確認も。
kouji (Kouji Takao)
11:15 AM Revision 9d00f3f5 (git): Add facility to Syslog::Logger.
* ext/syslog/lib/syslog/logger.rb (Syslog::Logger): Add facility
to Syslog::Logger. [Fixes GH-305] patch by Max Shytikov
https://github.com/ruby/ruby/pull/305
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42195 b2dd03c8-39d4-4d8...
Akinori MUSHA
10:28 AM Revision 621da983 (git): * vm_exec.h, tool/instruction.rb: not an error, but a BUG if stack
overflow checking failed just before/after the beginning of an
instruction. It should be treated as a BUG.
Please tell us if your code cause BUG with this problem.
This check will removed soon (for performance).
git-svn-id: svn+...
ko1 (Koichi Sasada)
09:31 AM Revision d4622613 (git): * array.c (ary_memcpy): cast to int to suppress a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
09:23 AM Revision d320b2d9 (git): * array.c (ary_memcpy): try to enable optimization.
At least on my environments, I don't see any errors
with many trials. Please tell us if you find any GC bugs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
08:52 AM Feature #8691 (Closed): Add warning for variable that is re-assigned but not re-used
The following code
def reassigned_unused
a = 42
b = a.to_s
a = 56
b
end
Does not currently generate an "assigned but unused variable" warning about the second assignment to "a".
Is it feasible to create a warning fo...
agrimm (Andrew Grimm)
08:50 AM Revision 48443714 (git): win32/file.c: suppress warning
* win32/file.c (convert_mb_to_wchar): omit never-true NULL check to
suppress maybe-uninitialized warning in rb_file_load_ok().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:49 AM Revision c4c78f75 (git): win32/file.c: fix target encoding
* win32/file.c (fix_string_encoding): fix target encoding. the
parameter `encoding' is not the target encoding but the original
encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:57 AM Bug #8690: Enciphering a key with AES-128-CBC-HMAC-SHA1 crashes in OpenSSL
We just talked about it and found out that it's an issue only with Intel processors with the AES-NI instructions. The algorithm is only available for those CPUs, and I was able to reproduce the crash there. It happens in the very last li... MartinBosslet (Martin Bosslet)
05:55 AM Bug #8690: Enciphering a key with AES-128-CBC-HMAC-SHA1 crashes in OpenSSL
AES-256-CBC-HMAC-SHA1 also crashes with the same stack trace drbrain (Eric Hodel)
05:45 AM Bug #8690 (Third Party's Issue): Enciphering a key with AES-128-CBC-HMAC-SHA1 crashes in OpenSSL
=begin
While I realize this is probably wrong, I was trying to find a cipher that JRuby 1.7.4 supported and encountered this crash.
My OpenSSL version is:
$ ruby -ropenssl -e 'p OpenSSL::OPENSSL_VERSION'
"OpenSSL 1.0.1e 11 Fe...
drbrain (Eric Hodel)
06:43 AM Revision e9b8488f (git): win32/file.c: adjust indent
* win32/file.c (get_user_from_path): adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:08 AM Revision 76d83e5e (git): ChangeLog typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
05:06 AM Revision 6bb201d6 (git): * ext/fiddle/*: [DOC] More doc on dlopen and RTLD_DEFAULT from r42186
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
04:19 AM Revision 45c4d828 (git): test_require.rb: same process
* test/ruby/test_require.rb (assert_require_nonascii_path): run in
same process.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:19 AM Revision 4af852fa (git): test_require.rb: use assert_separately
* test/ruby/test_require.rb: use assert_separately preferably to
assert_in_out_err for clear messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:11 AM Revision 5cbfd750 (git): * ext/fiddle/lib/fiddle.rb: [DOC] Document Fiddle.dlopen(nil)
* ext/fiddle/handle.c: [DOC] Document Fiddle::Handle.new(nil)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
04:04 AM Revision 8948280c (git): load.c: search in OS path encoding
* load.c (rb_load_internal): use rb_load_file_str() to keep path
encoding.
* load.c (rb_require_safe): search in OS path encoding for Windows.
* ruby.c (rb_load_file_str): load file with keeping path encoding.
* win32/file.c (rb_file_l...
nobu (Nobuyoshi Nakada)
04:04 AM Revision 2c181b6d (git): test_require.rb: split
* test/ruby/test_require.rb (TestRequire#test_require_nonascii_path):
split test body.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:02 AM Revision f375a8b4 (git): file.c: use rb_str_conv_enc
* file.c (rb_str_encode_ospath): simplify using rb_str_conv_enc().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:01 AM Revision 320a0dd2 (git): win32/file.c: refine fix_string_encoding
* win32/file.c (fix_string_encoding): simplify with rb_str_conv_enc().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:00 AM Revision 45fbfd0a (git): win32/file.c: refine convert_mb_to_wchar
* win32/file.c (convert_mb_to_wchar): use bare pointer instead of
VALUE, and remove useless argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:42 AM Revision 8974d5aa (git): rational.c: ensure to be Rational
* rational.c (f_round_common): Rational is expected to be returned by
Rational#*, but mathn.rb breaks that assumption. [ruby-core:56177]
[Bug #8687]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42178 b2dd03c8-39d4-4d8f-98ff-82...
nobu (Nobuyoshi Nakada)
02:33 AM Feature #8688 (Open): #sprintf should accept strings as keys
=begin
Hi there,
Kernel#sprintf should support strings as keys. Currently it only works with symbols:
{irb(main):001:0> str = "This is %{foo}."
=> "This is %{foo}."
irb(main):002:0> sprintf(str, :foo => "bar")
=> "This is b...
Quintus (Marvin Gülker)
02:23 AM Bug #8674: [patch] unused-parameter warning in ruby/ruby.h
(7/24/13 6:31 PM), shyouhei (Shyouhei Urabe) wrote:
>
> Issue #8674 has been updated by shyouhei (Shyouhei Urabe).
>
>
> Linda_pp (R H) wrote:
>> + #else
>> + (void)filename;
>> + (void)line;
>> #endif
>
...
kosaki (Motohiro KOSAKI)
02:10 AM Bug #8685 (Assigned): Problems of the example of REXM::Attribute#namespace
zzak (zzak _)
02:09 AM Bug #8685: Problems of the example of REXM::Attribute#namespace
@ohai Thank you! It seems you removed an example for #add_attributes
Why was this removed?
zzak (zzak _)
01:35 AM Bug #8685 (Closed): Problems of the example of REXM::Attribute#namespace
The exmaple of the comment document of REXML::Attribute#namespace has some problems.
* An old style hash literal is used.
* The example really does not use EXML::Attribute#namespace
A patch to fix the example is attached to this t...
ohai (Ippei Obayashi)
01:03 AM Feature #8671: support SEEK_DATA and SEEK_HOLE
The patch looks good to me. kosaki (Motohiro KOSAKI)
12:21 AM Feature #8684 (Rejected): GC.disable with block
It's easily done by
begin
GC.disable
do_something
ensure
GC.enable
end
and considering block scoping doesn't work well with threads, I don't think it's worth to add as a built-in.
Matz.
matz (Yukihiro Matsumoto)
12:06 AM Revision 0f126589 (git): fix missing assignment in r42174
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
12:05 AM Revision 0779f743 (git): fix warning: shadowing outer local variable - path
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)

07/25/2013

08:54 PM Revision ad859f31 (git): envutil.rb: encoding
* test/ruby/envutil.rb (Test::Unit::Assertions#assert_separately):
specify the encoding of source.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:49 PM Revision 7f6ef1f3 (git): Somehow Debian 6.0.7 needs ifname for IPv6 multicast connect
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:40 PM Feature #8684 (Rejected): GC.disable with block
I propose GC.disable with block.
It is useful to ensure GC.enable.
usage:
GC.disable do
do_something # GC disabled
end
# GC enabled
Glass_saga (Masaki Matsushita)
04:38 PM Revision 14dfb46b (git): * include/ruby/ruby.h: check defined(USE_RGENGC_LOGGING_WB_UNPROTECT)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
04:34 PM Revision 59d945ef (git): * 2013-07-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:33 PM Revision f86be91b (git): * file.c (rb_file_expand_path_internal): fix r42160; skip '~'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:42 PM Revision 589da706 (git): * lib/rubygems: Update to RubyGems 2.0.6. [ruby-core:56160]
[Backport #8682]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@42170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
01:59 PM Bug #8669: outbuf can be "temporarily" locked forever in IO#read
> Furthermore, should we introduce a function to callback with locking temporarily?
I made rb_str_locktmp_ensure() to callback with locktmp.
Glass_saga (Masaki Matsushita)
12:53 PM Bug #8386: OpenSSL thread safety
(2013/07/24 19:37), MartinBosslet (Martin Bosslet) wrote:
> @naruse: You're right, and I also believe it would make sense to distinguish between more "modes" in the callback. I'll try to give it another try over the weekend. But pleas...
ko1 (Koichi Sasada)
10:44 AM Feature #8683: CSV library can't append to the current row. It should be able to.
@nobu Thanks! I've re-created an example using CSV::Table:
require "csv"
row = CSV::Row.new ["Name"], ["Name"], true
table = CSV::Table.new [row]
table[0] << ["Hair Color", "Hair Color"]
p table.to_csv
It works like I want, but CSV::Ro...
robertgleeson (Robert Gleeson)
09:46 AM Feature #8683 (Rejected): CSV library can't append to the current row. It should be able to.
CSV class is a reader/writer, not to edit CSV data on memory.
You may want to use CSV::Table instead.
nobu (Nobuyoshi Nakada)
07:21 AM Feature #8683: CSV library can't append to the current row. It should be able to.
I guess I could settle for:
headers = ["one"]
CSV.generate headers: true do
["two", three"].each do |e|
headers << e
csv << headers
end
end
but, this is preferable:
headers = ["one"]
CSV.generate headers: true do
csv << ...
robertgleeson (Robert Gleeson)
07:08 AM Feature #8683 (Rejected): CSV library can't append to the current row. It should be able to.
The CSV library can only add *new* rows, and it provides no way to update the current row after it has been created.
For example:
CSV.generate headers: true do |csv|
csv << ["one"]

["two", "three"].each do |e|
csv <<...
robertgleeson (Robert Gleeson)
09:33 AM Revision 044e75db (git): fix r42168; Add class name to constants
[ruby-core:56158] [Feature #8681]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
08:54 AM Revision 67d05682 (git): * lib/net/http.rb (Net::HTTP#connect): disable Nagle's algorithm on
HTTP connection. [ruby-core:56158] [Feature #8681]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
08:52 AM Revision 6be6666f (git): * re.c (rb_reg_to_s): convert closing parenthes to the target encoding
if it is ASCII incompatible encoding. [ruby-core:56063] [Bug #8650]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
08:21 AM Revision 6c00e177 (git): encoding.c: is_obj_encoding
* encoding.c (is_obj_encoding): new macro to check if obj is an
Encoding. obj can be any type while is_data_encoding expects T_DATA
only.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:17 AM Revision 84d473b7 (git): file.c: clear coderange for user name
* file.c (rb_file_expand_path_internal): should clear coderange after
copying user name as binary data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:31 AM Bug #8674: [patch] unused-parameter warning in ruby/ruby.h
Linda_pp (R H) wrote:
> + #else
> ...
(void) で黙らせるのは感心しません。gccにおける警告の抑制が目的なら__attribute__((used))か__attribute__((unused))のどちらか適切な方を使うべきです。基本的に警告を黙らせる目的でキャスト使うのは邪悪です。避けるべきと思います。
shyouhei (Shyouhei Urabe)
07:31 AM Revision 2998934c (git): Change repository of rubyspec from original to nurse's
Because RubySpec often include tests which fails on CRuby even if
RubySpec is a test suite which verifies whether an implementation is
compatible with CRuby or not. Moreover recent mspec can't ignore specs
guarded with ruby_bug. It break...
naruse (Yui NARUSE)
07:24 AM Revision 501c12a6 (git): Add a test for r42162
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:19 AM Revision 72293b69 (git): * encoding.c (check_encoding): Check T_DATA or not.
is_data_encoding(obj) assumes that `obj' is T_DATA.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
06:28 AM Feature #7292: Enumerable#to_h
alexeymuranov (Alexey Muranov) wrote:
> it seems to me that other "#to_?" methods are applicable to all or almost all instances of a class
String#to_i is not meaningful on most strings.
marcandre (Marc-Andre Lafortune)
04:16 AM Revision 276457df (git): fix typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
04:06 AM Revision 7ec4a447 (git): file.c: split rb_home_dir
* dir.c (dir_s_home): use rb_home_dir_of and rb_default_home_dir.
* file.c (rb_home_dir_of): split from rb_home_dir() for the home
directry of the given user, and the user name is a VALUE, not a bare
pointer. should raise if the use...
nobu (Nobuyoshi Nakada)
03:40 AM Feature #8681 (Open): Net::HTTP should set TCP_NODELAY for requests with body
Setting TCP_NODELAY to disable Nagle's algorithm speeds up successive writes which
we use when sending HTTP PUT/POST requests with body.
From https://en.wikipedia.org/wiki/Nagle%27s_algorithm
The user-level solution is to av...
normalperson (Eric Wong)
03:39 AM Revision dda113e3 (git): * ext/openssl/ossl.c: support additional three thread synchronization
functions. [ruby-trunk - Bug #8386]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
01:14 AM Revision 03b66024 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

07/24/2013

11:17 PM Bug #8677: $LOAD_PATH did not encoded into the "internal encoding"
jonforums (Jon Forums) wrote:
> > > What happens when you `chcp 65001` in cmd.exe but do not encode `$LOAD_PATH` to utf-8?
> ...
chcp 65001 can make the $LOAD_PATH encoding to UTF-8,and use powershell need chcp too.
The patch I mentio...
jiayp@glodon.com (贾 延平)
08:22 PM Bug #8677: $LOAD_PATH did not encoded into the "internal encoding"
> > What happens when you `chcp 65001` in cmd.exe but do not encode `$LOAD_PATH` to utf-8?
> ...
OK. But do either of these also fix this failure?
1) `chcp 65001` in cmd.exe, or
2) use powershell
I'm curious whether those quick non...
jonforums (Jon Forums)
12:24 PM Bug #8677: $LOAD_PATH did not encoded into the "internal encoding"
jonforums (Jon Forums) wrote:
> When require fails, is cmd.exe using codepage 936?
yes
> ...
require do work with my patch for bug https://bugs.ruby-lang.org/issues/8676,and the $LOAD_PATH's encoding is UTF-8.
jiayp@glodon.com (贾 延平)
12:00 PM Bug #8677: $LOAD_PATH did not encoded into the "internal encoding"
When require fails, is cmd.exe using codepage 936?
What happens when you `chcp 65001` in cmd.exe but do not encode `$LOAD_PATH` to utf-8?
jonforums (Jon Forums)
11:19 AM Bug #8677 (Closed): $LOAD_PATH did not encoded into the "internal encoding"
=begin
When I use utf-8 as the internal encoding, and I require some file with Chinese name,and the require failure with:
(({E:/code/rubyinstaller-master/sandbox/ruby19_mingw/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in `re...
jiayp@glodon.com (贾 延平)
10:16 PM Revision 10b00561 (git): * 2013-07-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:16 PM Revision d6e3ee55 (git): * lib/rubygems: Import RubyGems from master as of commit 4ff70cc
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
09:23 PM Bug #8680: ruby crashes when built with AddressSanitizer
2013/7/24 halfie (Ruby Guy) <assie181@gmail.com>:
> Bug #8680: ruby crashes when built with AddressSanitizer
> https://bugs.ruby-lang.org/issues/8680

> Is this expected behaviour? Can we patch ruby to be a bit more friendly tow...
akr (Akira Tanaka)
08:41 PM Bug #8680 (Closed): ruby crashes when built with AddressSanitizer
ruby crashes when built with AddressSanitizer (http://clang.llvm.org/docs/AddressSanitizer.html).
To reproduce the problem, try to build latest ruby from trunk.
$ gcc --version
gcc (GCC) 4.8.1 20130603 (Red Hat 4.8.1-1)
...
$ ...
halfie (Ruby Guy)
07:37 PM Bug #8386: OpenSSL thread safety
@ko1: Thank you so much for that! I think that functionality was exactly what was needed. The error happens when RSA keys are created. The code runs without the GVL in effect, and I believe the error was resulting from the fact that a di... MartinBosslet (Martin Bosslet)
07:16 PM Bug #8386: OpenSSL thread safety
ko1 (Koichi Sasada) wrote:
> Maybe I fixed it.
> ...
I think dyn_lock_function and others also should be provided.
http://www.openssl.org/docs/crypto/threads.html
naruse (Yui NARUSE)
06:34 PM Feature #7292: Enumerable#to_h
I have stumbled upon a need for a method like this, to chain transformations of a hash and get a hash as a result. Just a quick thought (please tell me if i have overlooked something): it seems to me that other "#to_?" methods are appli... alexeymuranov (Alexey Muranov)
06:05 PM Bug #8679 (Closed): Time.newのutc_offset文字列で、 MMが60-99の場合にも例外を出して欲しい
要望
---
Time.new へ utc_offset を表す文字列 "+HH:MM" "-HH:MM" が渡された時、
MM が 60-99 の場合にも ArgumentError を出して欲しい。
### 期待する結果の例
Time.new(2000, 1, 1, 0, 0, 0, "+01:60") #=> "+HH:MM" or "-HH:MM" expected for utc_offset (ArgumentError)
Time....
kachick (Kenichi Kamiya)
05:35 PM Bug #8676: ruby 2.0 can not require or load the source file with non-ascii path name
By the way,the file nacl/pepper_main.c has a same name function at line 824.
Is the file need change too?
jiayp@glodon.com (贾 延平)
11:06 AM Bug #8676: ruby 2.0 can not require or load the source file with non-ascii path name
This patch looks good to me for trunk. It can't be backported though because that would break API compatibility. Anonymous
11:01 AM Bug #8676 (Closed): ruby 2.0 can not require or load the source file with non-ascii path name
=begin
Sorry for my poor english:)
I attached the patch to fix the problem, but I don't know is it the right way.
Changelog:
*include/ruby/intern.h change the declaration of "rb_load_file";change parameter from char* to VALUE
*...
jiayp@glodon.com (贾 延平)
02:47 PM Feature #8678 (Assigned): Allow invalid string to work with regexp
Legacy Ruby 1.8 could regexp match with broken strings.
People can find characters from binary data on the age.
After Ruby 1.9, Ruby raises Exception if it does regexp match with broken strings.
So it became hard to work with charac...
naruse (Yui NARUSE)
02:40 PM Bug #8674: [patch] unused-parameter warning in ruby/ruby.h
下記のように、パラメータを使用しない場合は警告を抑制するようにしてはいかがでしょうか。
*** ruby.h.old 2013-07-23 01:08:27.000000000 +0900
--- ruby.h 2013-07-23 23:57:01.000000000 +0900
***************
*** 1271,1276 ****
--- 1271,1279 ----
{
#ifdef RGENGC_LOGGING_...
Linda_pp (Ryuichi Hayashida)
11:23 AM Bug #8674: [patch] unused-parameter warning in ruby/ruby.h
使わないパラメータを残しているのは意図的なんですが、どうしたもんでしょ
う。マクロで使うときだけ有効にするような感じにするといいですかねぇ。

(2013/07/24 9:47), Linda_pp (R H) wrote:
>
> Issue #8674 has been updated by Linda_pp (R H).
>
>
> `ruby -v` の出力が間違っていました。
>
> ruby 2.1.0dev...
ko1 (Koichi Sasada)
09:47 AM Bug #8674: [patch] unused-parameter warning in ruby/ruby.h
`ruby -v` の出力が間違っていました。
ruby 2.1.0dev (2013-07-23 trunk) [x86_64-darwin12.3.0]
でした。失礼しました。
Linda_pp (Ryuichi Hayashida)
12:13 AM Bug #8674 (Closed): [patch] unused-parameter warning in ruby/ruby.h
C++ のプログラムで ruby.h をインクルードすると ruby/ruby.h にて unused-parameter の警告が出ます.
・警告内容
In file included from /Users/rhayasd/.rbenv/versions/2.1.0-dev/include/ruby-2.1.0/ruby.h:33:0,
from ruby_interpreter.cpp:6:
/Users/rhayas...
Linda_pp (Ryuichi Hayashida)
02:31 PM Feature #8671 (Assigned): support SEEK_DATA and SEEK_HOLE
It sounds good.
matz, how do you think?
naruse (Yui NARUSE)
01:38 PM Revision 7567977a (git): merge revision(s) 42153: [Backport #8645]
* lib/uri/generic.rb (find_proxy): raise BadURIError if the URI is
a relative URI. [Bug #8645]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@42155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
12:58 PM Bug #8670 (Rejected): "100do" should be a syntax error
It's spec. Ruby does not require spaces when it's clear.
Matz.
matz (Yukihiro Matsumoto)
11:19 AM Bug #8670: "100do" should be a syntax error
nobu (Nobuyoshi Nakada) wrote:
> I've thought it's a spec.
I think so too and it should be.
naruse (Yui NARUSE)
11:11 AM Bug #8670 (Assigned): "100do" should be a syntax error
I've thought it's a spec. nobu (Nobuyoshi Nakada)
12:48 PM Bug #8668: Net::Telnet waitfor('Waittime'=>0) may wait forever
There is a related bug with 'Timeout': if the remote end keeps sending data (even if only telnet control codes), but it never matches the prompt, waitfor() will wait forever. scottj97 (Scott Johnson)
11:59 AM Revision 71442815 (git): * compile.c (iseq_set_arguments): use RARRAY_RAWPTR() instead of
RARRAY_PTR() because there is no new reference.
* compile.c (iseq_set_exception_table): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
11:45 AM Bug #8669 (Assigned): outbuf can be "temporarily" locked forever in IO#read
Seems fine.
Furthermore, should we introduce a function to callback with locking
temporarily?
nobu (Nobuyoshi Nakada)
10:53 AM Feature #8658: Process.clock_gettime
2013/7/24 KOSAKI Motohiro <kosaki.motohiro@gmail.com>:

> So, Why do you choice Process.clock_gettime() instead of
> Time.clock_gettime()?

I don't like the result value of clock_gettime(CLOCK_REALTIME) because
the value is ...
akr (Akira Tanaka)
03:23 AM Feature #8658: Process.clock_gettime
(7/20/13 6:39 AM), akr (Akira Tanaka) wrote:
>
> Issue #8658 has been updated by akr (Akira Tanaka).
>
> File clock_gettime-2.patch added
>
> kosaki (Motohiro KOSAKI) wrote:
>> First, Process.times() returns user time and ...
kosaki (Motohiro KOSAKI)
03:14 AM Feature #8658: Process.clock_gettime
Eregon (Benoit Daloze) wrote:
> akr (Akira Tanaka) wrote:
> ...
It's great to see a focus on cross-platform impl issues :)
Has anyone spelunked libuv's awesomeness for inspiration on a nice cross-platform implementation style?
...
jonforums (Jon Forums)
01:22 AM Feature #8658: Process.clock_gettime
akr (Akira Tanaka) wrote:
> > While I appreciate Ruby is not always taking the lowest common denominator for functionality (fork, etc),
> ...
A very poor one as mapping to Linux/UNIX constants would just confuse people.
I do not thin...
Eregon (Benoit Daloze)
12:23 AM Feature #8658: Process.clock_gettime
2013/7/21 Eregon (Benoit Daloze) <redmine@ruby-lang.org>:
>
> Issue #8658 has been updated by Eregon (Benoit Daloze).
>
>
> While I appreciate Ruby is not always taking the lowest common denominator for functionality (fork, et...
akr (Akira Tanaka)
10:52 AM Revision 6398f798 (git): * lib/uri/generic.rb (find_proxy): raise BadURIError if the URI is
a relative URI. [Bug #8645]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
09:57 AM Revision d9a55654 (git): * vm_insnhelper.c (vm_expandarray): use RARRAY_RAWPTR() instead of
RARRAY_PTR() because there is no new reference.
* vm_insnhelper.c (vm_caller_setup_args): ditto.
* vm_insnhelper.c (vm_yield_setup_block_args): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42152 b2dd03c8-39d4-4d8f-98ff-823...
ko1 (Koichi Sasada)
09:42 AM Revision 33ebcb05 (git): * array.c, gc.c: move ary_unprotect_logging() into
rb_gc_unprotect_logging() which is general version
* include/ruby/ruby.h: add USE_RGENGC_LOGGING_WB_UNPROTECT
to enable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
08:38 AM Revision 1758ff03 (git): file.c: exception message encoding
* file.c (rb_file_expand_path_internal): preserve the file name
encoding in an exception message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:27 AM Revision 9240eb3d (git): ossl.c: suppress warning
* ext/openssl/ossl.c (Init_ossl_locks): to suppress shorten-64-to-32
warning, re-apply part of r41879.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:53 AM Revision a0dd4fc5 (git): fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
03:05 AM Bug #8672 (Third Party's Issue): Segmentation fault ruby 2.0.0p247 (2013-06-27 revision 41674) [i686-linux]
It seems therubyracer or v8's issue. naruse (Yui NARUSE)
03:03 AM Feature #8675 (Closed): Add Readline.point=(pos)
r42146 でのテスト修正で \A を入力しているのですが、rl_point を直接いじった方が正しい気がするので。
diff --git a/ext/readline/readline.c b/ext/readline/readline.c
index 714b08c..03ab724 100644
--- a/ext/readline/readline.c
+++ b/ext/readline/readline.c
@@ -808,6 +808,12...
naruse (Yui NARUSE)

07/23/2013

11:08 PM Revision e93e38d1 (git): * test/-ext-/tracepoint/test_tracepoint.rb: add GC on/off to count
GC events strictly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
10:11 PM Bug #8673: User rest-client PUT request core dumped
/home/hao/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/openssl/buffering.rb:174: [BUG] Segmentation fault
ruby 2.0.0p247 (2013-06-27 revision 41674) [i686-linux]
-- Control frame information --------------------------------------------...
gabrielwei (Hao Wei)
10:06 PM Bug #8673 (Closed): User rest-client PUT request core dumped
1. use OpenSSL::X509::Certificate.new generate certificate object
2. create client = RestClient::Resource.new object
3. use client PUT request, then server crashed
code is like as below:
certificate = OpenSSL::X509::Certificate.n...
gabrielwei (Hao Wei)
08:23 PM Bug #8669: outbuf can be "temporarily" locked forever in IO#read
"Glass_saga (Masaki Matsushita)" <glass.saga@gmail.com> wrote:
> Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN

I can confirm the issue under 1.9.3-p448 and 2.0.0-p247

> Following code make outbuf "temporarily" locked forever.
>...
normalperson (Eric Wong)
06:06 PM Bug #8669 (Closed): outbuf can be "temporarily" locked forever in IO#read
Following code make outbuf "temporarily" locked forever.
It is needed to ensure rb_str_unlocktmp().
str = ""
t = Thread.new(str) do |str|
r, = IO.pipe
r.read(nil, str)
end
sleep 1
t.raise
sleep 1
str.clear #=> can't modif...
Glass_saga (Masaki Matsushita)
07:11 PM Bug #8386: OpenSSL thread safety
Maybe I fixed it.
Please check it.
ko1 (Koichi Sasada)
06:59 PM Bug #8386 (Closed): OpenSSL thread safety
This issue was solved with changeset r42135.
Dirkjan, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/openssl/ossl.c: use system native (system provided)
th...
ko1 (Koichi Sasada)
06:55 PM Bug #8672 (Third Party's Issue): Segmentation fault ruby 2.0.0p247 (2013-06-27 revision 41674) [i686-linux]
Tried to install gitlab, following https://github.com/gitlabhq/gitlabhq/blob/master/doc/install/installation.md
At step "Initialize Database and Activate Advanced Features" with
sudo -u git -H bundle exec rake gitlab:setup RAILS_ENV=p...
pruss (Peter Russ)
06:30 PM Feature #8671 (Closed): support SEEK_DATA and SEEK_HOLE
SEEK_DATA and SEEK_HOLE are whences for lseek(2) supported by Linux since version 3.1.
These are useful to deal with sparse files.
I propose that ruby supports these whences.
* http://d.hatena.ne.jp/meech/20110721/1311244529
* http...
Glass_saga (Masaki Matsushita)
06:18 PM Bug #8670 (Rejected): "100do" should be a syntax error
=begin
In certain contexts, `do' adjacent to a number can be parsed as a distinct token instead of syntax error.
For example:
(({Shoes.app width: 330do end}))
=end
whitequark (whitequark *)
06:00 PM Revision 182cf90d (git): fix test of r42101 [Feature #6626]
rl_delete_text removes characters in line_buffer, but it doesn't move rl_point.
Therefore it may cause invalid rl_point.
On following case, test_input_metachar causes test_insert_text failure.
(test_input_metachar_multibyte) is skipped ...
naruse (Yui NARUSE)
04:40 PM Revision 46541321 (git): * include/ruby/intern.h (rb_f_lambde): restore the declaration of
rb_f_lambda() for backword compatibility. and mark it as deprecated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@42145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
04:20 PM Revision 7bbe99cb (git): fix typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
04:18 PM Revision 03f08daf (git): * 2013-07-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:17 PM Revision 1a61e05d (git): it may stuck with console on readline 5.1 + CentOS 5
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
02:19 PM Revision 4c4347e6 (git): * ext/openssl/extconf.rb (CRYPTO_THREADID): check exist or not.
* ext/openssl/ossl.c (ossl_thread_id): use rb_nativethread_self()
implemented at r42137 to allow threads which doesn't associated with
Ruby thread to use openssl functions.
* ext/openssl/ossl.c (Init_ossl_locks): If CRYPTO_THREADID ...
naruse (Yui NARUSE)
01:55 PM Feature #8663: Officialy alias ArgumentError to ArgError
This just saves 5 characters, but creates confusion because now many people will start to wonder what the difference is between ArgumentError and ArgError, if any. duerst (Martin Dürst)
12:07 AM Feature #8663 (Assigned): Officialy alias ArgumentError to ArgError
When not using custom made exceptions, I find myself using TypeError, NameError and ArgumentError the most. ArgumentError is the longest and I would like to suggest to alias it officially as ArgError. Anonymous
12:41 PM Bug #8668 (Rejected): Net::Telnet waitfor('Waittime'=>0) may wait forever
waitfor('Waittime'=>0) says it will not wait once the expected prompt has matched, yet if the remote end continues to send data, it will in fact wait, possibly forever.
Line 555 of net/telnet.rb (from 2.0.0) is:
until(prompt ...
scottj97 (Scott Johnson)
11:49 AM Revision a84ea119 (git): * bignum.c: Move functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:23 AM Feature #8661: Add option to print backtrace in reverse order (stack frames first and error last)
(13/07/23 4:56), Joshua Ballanco wrote:
> You can already accomplish something like this yourself:
> ...
You don't need to join.
> ```ruby
> ...
nobu (Nobuyoshi Nakada)
04:59 AM Feature #8661: Add option to print backtrace in reverse order (stack frames first and error last)
You can already accomplish something like this yourself:
```ruby
begin
raise "Hello!"
rescue Exception => e
puts e.backtrace.reverse.join("\n")
puts e.message
end
```
Simple!
jballanc (Joshua Ballanco)
11:16 AM Revision ca3f5b53 (git): * bignum.c (bary_divmod): Add special cases for x < y easily detected
and nx == 2 && ny == 2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:50 AM Revision 4d3feac9 (git): * thread_(pthread|win32).h: rename rb_thread_cond_t to
rb_nativethread_cond_t.
* thread.c, thread_pthread.c, thread_win32.c, vm_core.h: catch up
renaming.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
10:46 AM Revision b2bcef72 (git): * thread_native.h: add rb_nativethread_self() which returns
current running native thread identifier.
* thread_[pthread|win32].c: implement rb_nativethread_self().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
10:38 AM Revision 2b1088c8 (git): * thread_pthread.h, thread_win32.h: rename rb_thread_id_t to
rb_nativethread_id_t.
* thread_pthread.c, vm_core.h: use rb_nativethread_id_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
09:59 AM Revision 55201cac (git): * ext/openssl/ossl.c: use system native (system provided)
thread locking APIs added by last commit.
This patch fixes [Bug #8386].
"rb_mutex_*" APIs control only "Ruby" threads.
Not for native threads.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42135 b2dd03c8-39d4-4d8f-98ff-823fe...
ko1 (Koichi Sasada)
09:58 AM Revision db22d280 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:53 AM Revision bd058912 (git): * thread_native.h: added.
Move native thread related lines from vm_core.h.
And declare several functions "rb_nativethread_lock_*",
manipulate locking.
* common.mk: add thread_native.h.
* thread.c: add functions "rb_nativethread_lock_*".
* thraed.c, thread_[pt...
ko1 (Koichi Sasada)
08:44 AM Bug #8664 (Closed): open ssl not_before failure on small set of certificates
This issue was solved with changeset r42126.
Jody, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/openssl/ossl_asn1.c (asn1time_to_time): Implement YYMMDDhh...
drbrain (Eric Hodel)
08:42 AM Bug #8664: open ssl not_before failure on small set of certificates
Unfortunately, when encoded as BER, all bets are off, as the format (with or without time zone, string representations of the time zone, ...) is not clearly specified anymore. But in this particular case I believe it makes a lot of sense... MartinBosslet (Martin Bosslet)
08:29 AM Bug #8664: open ssl not_before failure on small set of certificates
It seems that there are multiple ways to represent a UTCTime in ASN1, but ruby's openssl extension only implements one of them.
This patch adds the format your certificate is encoded in.
Martin, can you check it? Are there other fo...
drbrain (Eric Hodel)
08:04 AM Bug #8664 (Assigned): open ssl not_before failure on small set of certificates
drbrain (Eric Hodel)
01:59 AM Bug #8664 (Closed): open ssl not_before failure on small set of certificates
This failure only occurs on a very small percentage of certificates, during processing of ~2 million certificates, this failure only occurred 3 times. It happens on ruby-1.9.3-p448, ruby-1.8.7-p374 and ruby-2.0.0-p247 with the same error... jnickel (Jody Nickel)
08:15 AM Bug #8665 (Closed): Examples of REXML::StreamParser#entitydecl
This issue was solved with changeset r42125.
Ippei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/rexml/streamlistener.rb: [DOC] Fix examples in
REXML::St...
zzak (zzak _)
03:56 AM Bug #8665 (Closed): Examples of REXML::StreamParser#entitydecl
REXML::StreamParser#entitydecl のドキュメントの部分が実際の動作と食い違っています。
修正は rexml-streamparser-entitydecl.patch でよいと思います。
添付した test_streamparser.rb で動作が確認できます。
ohai (Ippei Obayashi)
08:03 AM Feature #8667 (Assigned): Unable to set OpenSSL GCM iv_length in Ruby
drbrain (Eric Hodel)
08:02 AM Feature #8667 (Closed): Unable to set OpenSSL GCM iv_length in Ruby
Hello,

In OpenSSL you are allowed to change the iv_length on an AES-BCM cipher. (
http://www.openssl.org/docs/crypto/EVP_EncryptInit.html#GCM_Mode) However
this was not implemented in the ruby-wrapper. Since I am a novice in C ...
Anonymous
08:02 AM Bug #8666 (Closed): Unable to set OpenSSL GCM iv_length in Ruby
Hello,

In OpenSSL you are allowed to change the iv_length on an AES-BCM cipher. (
http://www.openssl.org/docs/crypto/EVP_EncryptInit.html#GCM_Mode) However
this was not implemented in the ruby-wrapper. Since I am a novice in C ...
Anonymous
07:55 AM Bug #8659 (Assigned): Curses::Window#bkgdset does not handle color correctly
drbrain (Eric Hodel)
07:15 AM Revision 37421929 (git): * gc.c (gc_before_sweep): fix spacing.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
07:02 AM Revision 511e155e (git): * gc.c (heap_get_freeobj): clear slot->freelist here.
This means that this slot doesn't have any free objects.
And store this slot with objspace->heap.using_slot.
* gc.c (gc_before_sweep): restore objspace->freelist
into objspace->heap.using_slot->freelist.
This means that using_slot ...
ko1 (Koichi Sasada)
06:01 AM Feature #8635: attr_accessor with default block
May be thread-safety should be optional. But it definitely should be. prijutme4ty (Ilya Vorontsov)
01:12 AM Revision 792b6fd8 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:37 AM Revision 3b4134ca (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:35 AM Revision 65f69855 (git): * sample/drb/README*.rdoc: [DOC] migrate DRb sample READMEs to rdoc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
12:28 AM Revision 982245a6 (git): * lib/drb/invokemethod.rb: [DOC] nodoc InvokeMethod18Mixin
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)

07/22/2013

11:44 PM Revision bdbef403 (git): * ext/openssl/ossl_asn1.c (asn1time_to_time): Implement YYMMDDhhmmZ
format for ASN.1 UTCTime. [ruby-trunk - Bug #8664]
* test/openssl/test_asn1.rb: Test for the above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
11:15 PM Revision d4314719 (git): * lib/rexml/streamlistener.rb: [DOC] Fix examples in
REXML::StreamListener#entitydecl patch by Ippei Obayashi [Bug #8665]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
10:46 PM Revision 4c2304f0 (git): * lib/rubygems: Import RubyGems from master as of commit b165260
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
10:16 PM Revision 66cc0fa4 (git): * bignum.c (bary_mulsub_1xN): New function.
(bary_mul_toom3): Use bary_mulsub_1xN.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
06:35 PM Revision fdb991b9 (git): * bignum.c (KARATSUBA_BALANCED): New macro.
(TOOM3_BALANCED): Ditto.
(bary_mul_balance_with_mulfunc): Use KARATSUBA_BALANCED and
TOOM3_BALANCED.
(rb_big_mul_balance): Relax a condition.
(rb_big_mul_karatsuba): Use KARATSUBA_BALANCED.
(rb_big_mul_toom3): Use TOOM3_BALANCE...
akr (Akira Tanaka)
05:55 PM Feature #8640: Add Time#elapsed to return nanoseconds since creation
+1
Should save a lot of Time object allocations.
vipulnsward (Vipul Amler)
04:37 PM Revision e44b8eb3 (git): merge revision(s) 41933:
* lib/rubygems/psych_additions.rb: Ignore Psych docs here
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@42121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
04:36 PM Revision 2c2cb685 (git): * 2013-07-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:36 PM Revision 685e4c67 (git): * bignum.c (bigdivrem_mulsub): Extracted from bigdivrem1.
(bigdivrem1): Use bary_add.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
04:36 PM Revision 14044110 (git): merge revision(s) 41857:
* test/test_tracer.rb: catch up recent rubygems changes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@42118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
04:33 PM Revision b264a7ac (git): * lib/rubygems: Update to RubyGems 2.0.5.
The patch provided by drbrain (Eric Hodel). [ruby-core:55896]
[Backport #8617]
* test/rubygems: Tests for the above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@42117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
03:13 PM Revision 65dc7d00 (git): merge revision(s) 42103: [Backport #8662]
* vm_eval.c (eval_string_with_cref): use the given file name unless
eval even if scope is given. additional fix for [Bug #8436].
based on the patch by srawlins at [ruby-core:56099] [Bug #8662].
git-svn-id: svn+ssh:...
nagachika (Tomoyuki Chikanaga)
02:53 PM Revision 1daf909b (git): * test/ruby/tes_io.rb (test_copy_stream_bigcontent_fpos): rename duplicated
test method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
02:24 PM Revision 39b5931d (git): readline.c: $SAFE 4
* ext/readline/readline.c (readline_s_delete_text): call rb_secure
only if level 4 is allowed. otherwise do nothing.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:42 AM Revision 07809744 (git): * string.c (rb_str_enumerate_chars): specify array capa
with str_strlen().
* string.c (rb_str_enumerate_codepoints): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Glass_saga (Masaki Matsushita)
09:37 AM Feature #6626 (Closed): Readline.delete_text
This issue was solved with changeset r42101.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/readline/readline.c (Init_readline): added
Readline....
kouji (Kouji Takao)
09:03 AM Revision fa20fb37 (git): * string.c (rb_str_enumerate_chars): specify array capa.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Glass_saga (Masaki Matsushita)
08:42 AM Revision efacdb43 (git): * ChangeLog: fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Glass_saga (Masaki Matsushita)
08:37 AM Revision f775a27b (git): * string.c (rb_str_each_char_size): performance implement by
using rb_str_length().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Glass_saga (Masaki Matsushita)
07:56 AM Revision 265de667 (git): fix commit miss
* ext/win32/lib/win32/importer.rb: miss to add at r41936.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:32 AM Revision 03813f6d (git): vm_eval.c: Check_TypedStruct
* vm_eval.c (eval_string_with_cref): check by Check_TypedStruct
instead of rb_obj_is_kind_of.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:06 AM Bug #8611: Minitest encoding problems.
All right, I am no longer getting the same error since I patched it for myself, but to illustrate what I am talking about, here is another way to crash irb in basically the same way, pointing to a wider problem. It can be illustrated wit... Anonymous
04:29 AM Revision 62b8b4df (git): fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
04:21 AM Revision 8160fab8 (git): * array.c (ary_resize_capa): use RARRAY_RAWPTR() because
this code creates no new references.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
04:00 AM Revision 8eb0a3cd (git): * array.c (ary_memfill): added.
* array.c (rb_ary_initialize): use ary_memfill().
* array.c (rb_ary_fill): ditto.
* array.c (rb_ary_slice_bang): use RARRAY_RAWPTR() because
this code creates no new references.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4210...
ko1 (Koichi Sasada)
01:10 AM Revision 4132ac37 (git): * gc.c (gc_slot_sweep): need to add empty RVALUE as freeobj.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
12:48 AM Revision c7a56bd6 (git): vm_eval.c: use file argument
* vm_eval.c (eval_string_with_cref): use the given file name unless
eval even if scope is given. additional fix for [Bug #8436].
based on the patch by srawlins at [ruby-core:56099] [Bug #8662].
git-svn-id: svn+ssh://ci.ruby-lang.or...
nobu (Nobuyoshi Nakada)
12:48 AM Revision 38eb518f (git): readline.c: $SAFE
* ext/readline/readline.c (readline_s_delete_text): $SAFE=4 is
obsolete.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:37 AM Revision 56af7427 (git): * ext/readline/readline.c (Init_readline): added
Readline.delete_text. [ruby-dev:45789] [Feature #6626]
* ext/readline/extconf.rb: check for rl_delete_text() in Readline library.
Thanks, Nobuyoshi Nakada, for the patch.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42101 b2dd03...
kouji (Kouji Takao)

07/21/2013

07:15 PM Feature #8658: Process.clock_gettime
While I appreciate Ruby is not always taking the lowest common denominator for functionality (fork, etc),
we need a counterpart for Windows and OS X at least.
https://github.com/copiousfreetime/hitimes does it pretty nicely and I wou...
Eregon (Benoit Daloze)
04:59 PM Feature #8658: Process.clock_gettime
2013/7/21 "Martin J. Dürst" <duerst@it.aoyama.ac.jp>:
>
> On 2013/07/19 21:32, akr (Akira Tanaka) wrote:
>
>> On LP64 systems, Fixnum can represent 2**62-1.
>> So (2**62-1)/(365.25*24*60*60*1e9)=146.1 years are representable
>> wi...
akr (Akira Tanaka)
02:53 PM Feature #8658: Process.clock_gettime
Hello Akira,

On 2013/07/19 21:32, akr (Akira Tanaka) wrote:

> On LP64 systems, Fixnum can represent 2**62-1.
> So (2**62-1)/(365.25*24*60*60*1e9)=146.1 years are representable
> without object allocation.
>
> On ILP32 ...
duerst (Martin Dürst)
06:16 PM Revision ff777206 (git): date_parse.c: missing wday
* ext/date/date_parse.c (rfc2822_cb): check if wday is given, since it
can be omitted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:27 PM Revision 7234f04b (git): opttest.rb: adust styles
* sample/optparse/opttest.rb: adjust indent and block stypes. use
do/end wholly, put spaces around operators, and deep indent in
parentheses.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:17 PM Revision a1e6d554 (git): * 2013-07-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:17 PM Revision d3845ef8 (git): * bignum.c (bary_sq_fast): Refine expressions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:13 PM Revision 5cf931d6 (git): * bignum.c (bary_mul): Use simple multiplication if yl is small.
(rb_cstr_to_inum): Invoke bigsq instead of bigmul0.
(bigsq): Re-implemented.
(bigmul0): Invoke bigsq if two arguments are identical.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:17 AM Bug #8660 (Rejected): rb_thread_blocking_region deprecated, no alternative in ruby.h
See ruby/thread.h. nobu (Nobuyoshi Nakada)
05:20 AM Feature #8661 (Closed): Add option to print backtrace in reverse order (stack frames first and error last)
Currently, the way ruby prints backtrace is that the error comes first and then the stack frames, like this:
```
Main Error Message
stack frame 1
stack frame 2
stack frame 3
.....
```
This is perfectly fine provided:
1. ...
gary4gar (Gaurish Sharma)
01:01 AM Revision a2116ef2 (git): * bignum.c (bary_mul_toom3): New function based on bigmul1_toom3.
(bary_mul_toom3_branch): Call bary_mul_toom3.
(rb_big_mul_toom3): Ditto.
(bigmul1_toom3): Removed.
(big_real_len): Ditto.
(big_split): Ditto.
(big_split3): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42095 b2dd0...
akr (Akira Tanaka)
 

Also available in: Atom