Project

General

Profile

Activity

From 07/15/2013 to 07/21/2013

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 ...
Eregon (Benoit Daloze)
04:59 PM Feature #8658: Process.clock_gettime
2013/7/21 "Martin J. Dürst" <[email protected]>:
>
> On 2013/07/19 21:32, akr (Akira Tanaka) wrote:
>
>> On...
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-...
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.ru...
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 ...
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 argum...
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:
```
...
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_le...
akr (Akira Tanaka)

07/20/2013

11:55 PM Bug #8251: Windowsにおいて、drbのテストでteardown時のkillに失敗することがある
ruby_2_0_0 ブランチでも同様の Error が起きていたので、テストを green に保つため r42090 で workaround をバックポートしました。 nagachika (Tomoyuki Chikanaga)
11:14 PM Revision 92084a8b (git): * proc.c (proc_to_s): use PRIsVALUE to preserve the result encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
08:44 PM Revision f262909c (git): * hash.c (rb_hash_flatten): use NUM2INT to raise TypeError on 32bit
platform. it's introduced by r42039
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42093 b2dd03c8-39d4-4d8f-98ff-...
naruse (Yui NARUSE)
08:41 PM Bug #8659: Curses::Window#bkgdset does not handle color correctly
agree: not just ncurses, but any implementation of SVr4 or X/Open curses will use >8 bits for chtype.
8-bit values w...
ThomasDickey (Thomas dickey)
03:55 PM Bug #8659 (Closed): Curses::Window#bkgdset does not handle color correctly
=begin
Colors in curses are handled as high bits on a character. Logically ORing a character with a color pair shou...
inferiorhumanorgans (Alex Zepeda)
08:05 PM Bug #8660 (Rejected): rb_thread_blocking_region deprecated, no alternative in ruby.h
In "ruby/intern.h", the function declaration for `rb_thread_blocking_region` is deprecated. The comment says "Use rb_... mattconnolly (Matt Connolly)
07:39 PM Feature #8658: Process.clock_gettime
kosaki (Motohiro KOSAKI) wrote:
> First, Process.times() returns user time and system time and they are process spe...
akr (Akira Tanaka)
04:52 AM Feature #8658: Process.clock_gettime
First, Process.times() returns user time and system time and they are process specific. But Process::CLOCK_MONOTONIC... kosaki (Motohiro KOSAKI)
06:40 PM Bug #8493 (Feedback): Random Segmentation fault in sass
naruse (Yui NARUSE)
04:08 PM Revision 32ee2103 (git): * 2013-07-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:08 PM Revision f293fa8d (git): * common.mk (help): Fix environment variable name and argument.
Actually it can also be a directory or any argument for
test/unit runner. [Fixes GH-363]
git-svn-id: svn+ssh://ci....
Eregon (Benoit Daloze)
02:52 PM Revision 7029875b (git): merge revision(s) 40232: [Backport #8251]
* test/drb/drbtest.rb (Drb{Core,Ary}#teardown): retry Process.kill
if it fails with Errno::EPERM on Windows...
nagachika (Tomoyuki Chikanaga)
02:45 PM Revision 3207cfce (git): merge revision(s) 40334: [Backport #8149]
* iseq.c (iseq_location_setup): re-use existing string when iseq has
the same path and absolute_path. [Bug ...
nagachika (Tomoyuki Chikanaga)
02:22 PM Revision 3cdf8cf9 (git): merge revision(s) 41466:
envutil.rb: keyword arguments
* test/ruby/envutil.rb (invoke_ruby, assert_normal_exit),
(assert_in_out_err...
nagachika (Tomoyuki Chikanaga)
01:46 PM Revision d0fd9aa2 (git): * common.mk: Document running a single test [Fixes GH-363]
by Avdi Grimm https://.com/ruby/ruby/pull/363
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42087 b...
zzak (zzak _)
01:41 PM Revision b4489ae9 (git): * sample/*: whitespace by Sergio Campama [Fixes GH-364]
https://.com/ruby/ruby/pull/364
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42086 b2dd03c8-39d4-4d8f-98...
zzak (zzak _)
01:34 PM Revision 368cecc1 (git): * doc/regexp.rdoc: [DOC] Fix typo in example [Fixes GH-365]
by Juanito Fatas https://.com/ruby/ruby/pull/365
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4208...
zzak (zzak _)
01:32 PM Revision abfb7b35 (git): Update a comment for Toom3.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:14 PM Bug #8653 (Closed): Unexpected result of String#succ with utf-16 and utf-32 string.
This issue was solved with changeset r42078.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is...
nobu (Nobuyoshi Nakada)
09:10 AM Revision f685b401 (git): rename a() to b() and define a() for US-ASCII
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
09:10 AM Revision 42bf8994 (git): * string.c (rb_str_succ): add missing case NEIGR_WRAPPED.
r42078 caused buggy behavior like "\xFF".b -> "\x01\xFF".b
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42082 b...
naruse (Yui NARUSE)
06:24 AM Revision 3a202870 (git): * array.c (rb_ary_resize): use simple memcpy because there are no new
references.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
06:02 AM Revision a4fefc95 (git): safe.c: ruby_safe_level_4_warning
* safe.c (ruby_safe_level_4_warning): define for old extension
libraries. [Bug #8652]
git-svn-id: svn+ssh://ci.ru...
nobu (Nobuyoshi Nakada)
05:39 AM Revision 45e8268d (git): * array.c (ary_make_shared): make shared array shady.
Making non-shady shared array causes SEGV (see rubyci).
It seems a bug around shared array.
git-svn-id: svn+ssh:...
ko1 (Koichi Sasada)
03:14 AM Revision e6a6dd8e (git): string.c: wchar succ
* string.c (enc_succ_char, enc_pred_char): consider wchar case.
[ruby-core:56071] [Bug #8653]
* string.c (rb_str_su...
nobu (Nobuyoshi Nakada)
03:13 AM Revision 241ad887 (git): encoding.c: add rb_enc_code_to_mbclen
* encoding.c (rb_enc_code_to_mbclen): add new function which returns
mbclen from codepoint like as rb_enc_codelen()...
nobu (Nobuyoshi Nakada)
02:27 AM Revision b36cbe28 (git): * 2013-07-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:27 AM Revision 13408170 (git): test_io.rb: split test_copy_stream
* test/ruby/test_io.rb (TestIO#test_copy_stream): split huge test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
nobu (Nobuyoshi Nakada)

07/19/2013

10:14 PM Feature #8640: Add Time#elapsed to return nanoseconds since creation
rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
> You're right, Matthew, although I'd appreciate some bookmark capabiliti...
phluid61 (Matthew Kerwin)
08:46 PM Feature #8640: Add Time#elapsed to return nanoseconds since creation
You're right, Matthew, although I'd appreciate some bookmark capabilities... But I understand it would be more costly... rosenfeld (Rodrigo Rosenfeld Rosas)
10:23 AM Feature #8640: Add Time#elapsed to return nanoseconds since creation
2013/7/19 phluid61 (Matthew Kerwin) <[email protected]>:

> Actually the supplied uses clock_gettime(CLO...
akr (Akira Tanaka)
08:00 AM Feature #8640: Add Time#elapsed to return nanoseconds since creation
rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
> Em 18-07-2013 03:03, Aaron Patterson escreveu:
> >> In that case, wou...
phluid61 (Matthew Kerwin)
09:32 PM Feature #8658 (Closed): Process.clock_gettime
How about adding a new method, Process.clock_gettime(clk_id) ?
Recently there were two feature request for measuri...
akr (Akira Tanaka)
07:52 PM Feature #8657 (Closed): Make Find.find respect the encodings of arguments
=begin
== 概要
Find.findが返すパス名は常にfilesystem encodingとなっていますが
任意のencodingを指定できるようにすることを提案します。
== ユースケース
日本語Window...
ktsj (Kazuki Tsujimoto)
01:43 PM Bug #8656 (Closed): Cannot Build Ruby-Tk
This issue was solved with changeset r42059.
Alex, thank you for reporting this issue.
Your contribution to Ruby is g...
nagai (Hidetoshi Nagai)
11:48 AM Bug #8656 (Closed): Cannot Build Ruby-Tk
I am using NetBSD's pkgsrc, and I cannot build ruby-tk because of a typo in ext/tk/extconf.rb. More information is av... wandns (Alex D)
01:31 PM Revision db16068c (git): gc.c: suppress warning
* gc.c (heap_assign_slot): suppress implicit conversion warning.
delta is not greater than sizeof(RVALUE).
git-svn...
nobu (Nobuyoshi Nakada)
01:00 PM Revision 79d557ff (git): * gc.c: declare type_name() at the beggining of file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
12:56 PM Revision 6e3c4fd8 (git): * array.c: reduce shady operations.
* array.c (rb_ary_modify, ary_make_partial, rb_ary_splice,
rb_ary_replace, rb_ary_eql, rb_ary_compact_bang):
use ...
ko1 (Koichi Sasada)
12:12 PM Revision 8d8ead14 (git): * array.c: reduce shade operations.
* array.c (rb_ary_modify): use RARRAY_RAWPTR().
* array.c (ary_make_substitution, rb_ary_s_create, ary_make_partial,
...
ko1 (Koichi Sasada)
11:08 AM Revision 9cc7f5f8 (git): * array.c (ary_mem_clear): added. This operation doesn't need WB
because this operation creates a reference to Qnil.
* array.c (ary_make_shared, rb_ary_store, rb_ary_shift_m,
rb_ar...
ko1 (Koichi Sasada)
10:57 AM Revision cd868926 (git): Suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:29 AM Revision 33fc365f (git): Suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:19 AM Revision a6e1e3d6 (git): * array.c: fix commit miss.
RGENGC_UNPROTECT_LOGGING should be 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42067 b2dd03c8-39d4-4d8f-9...
ko1 (Koichi Sasada)
10:16 AM Revision 5ef247aa (git): * array.c (rb_ary_resurrect): use RARRAY_RAWPTR() because there is no
writing.
* array.c (rb_ary_new_from_values): use ary_memcpy().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4...
ko1 (Koichi Sasada)
10:10 AM Revision 01bf4952 (git): * array.c (ary_memcpy): add a function to copy VALUEs into ary
with write barrier. If ary is promoted, use write barrier correctly.
* array.c (rb_ary_cat, rb_ary_unshift_m, rb_ary_...
ko1 (Koichi Sasada)
10:02 AM Bug #8644 (Assigned): valgrind error in a readline test
kouji (Kouji Takao)
06:34 AM Revision 77887cf0 (git): * array.c (rb_ary_store): use RARRAY_PTR_USE() intead of RARRAY_PTR().
Clearing memory space doesn't need WBs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42064 b2dd03c8-39d4-4d8f...
ko1 (Koichi Sasada)
06:21 AM Revision b9b5a2cc (git): * array.c (ary_ensure_room_for_push): use RARRAY_RAWPTR() instead of
RARRAY_PTR. In this code, there are no "write" operation.
* array.c (rb_ary_equal): ditto.
* array.c (recursive_equal...
ko1 (Koichi Sasada)
06:11 AM Revision 344835a7 (git): * gc.c, internal.h (rb_gc_writebarrier_remember_promoted): add a new
function to remember an specified object. This api is only
experimental (strongly depend on WB/rgengc strategy).
...
ko1 (Koichi Sasada)
06:00 AM Revision 8e5374d0 (git): * array.c (ary_unprotect_logging): use (void *) for first parameter
because VALUE is not defined before including ruby/ruby.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42061...
ko1 (Koichi Sasada)
05:21 AM Revision 854520fc (git): * ext/pathname/pathname.c (path_inspect): use PRIsVALUE to preserve
the result encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ktsj (Kazuki Tsujimoto)
04:43 AM Revision e31da2df (git): * ext/tk/extconf.rb: Default search_versions are set 8.5 and 8.4 only. At present, Tcl/Tk8.6 is not supported.
* ext/tk/extconf.rb: Fix typo. [ruby-core:56084] [Bug #8656]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4205...
nagai (Hidetoshi Nagai)
04:40 AM Revision 8dd4a3c6 (git): * dir.c: [DOC] add docs for :encoding option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
03:35 AM Revision e9c04509 (git): * test/socket/test_tcp.rb (test_initialize_failure): Use EADDRNOTAVAIL
to test an error message generated by bind() failure.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42057 b2dd...
akr (Akira Tanaka)
03:06 AM Revision 028d67b9 (git): Fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:28 AM Revision 736a429d (git): * lib/racc/parser.rb: [DOC] Capitalize "Ruby" in documentation
by Dave Worth https://.com/ruby/ruby/pull/341
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42055 b...
zzak (zzak _)
02:27 AM Revision 826df7f2 (git): * ext/psych/lib/psych*: [DOC] Capitalize "Ruby" in documentation
by Dave Worth https://.com/ruby/ruby/pull/341
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42054 b...
zzak (zzak _)
02:26 AM Revision b19a968f (git): * lib/rdoc/*: [DOC] Capitalize "Ruby" in documentation
by Dave Worth https://.com/ruby/ruby/pull/341
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42053 b...
zzak (zzak _)
02:24 AM Revision 757dee12 (git): * lib/rubygems*: [DOC] Capitalize "Ruby" in documentation
by Dave Worth https://.com/ruby/ruby/pull/341
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42052 b...
zzak (zzak _)
02:22 AM Revision ad78cf4e (git): Define Set#to_set so that aSet.to_set returns self.
* lib/set.rb (Set#to_set): Define Set#to_set so that aSet.to_set
returns self. [Fixes GH-359]
git-svn-id: svn+ssh:...
Akinori MUSHA
02:12 AM Revision 74201103 (git): * lib/rake/*: [DOC] Capitalize "Ruby" in documentation
by Dave Worth https://.com/ruby/ruby/pull/341
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42050 b...
zzak (zzak _)
01:07 AM Bug #8655 (Closed): シンボル名 Init_pack が複数ファイルで定義されている
This issue was solved with changeset r42049.
Naohisa, thank you for reporting this issue.
Your contribution to Ruby i...
akr (Akira Tanaka)
12:55 AM Bug #8654 (Closed): SEGV in Array#count
This issue was solved with changeset r42047.
Masaki, thank you for reporting this issue.
Your contribution to Ruby is...
Eregon (Benoit Daloze)

07/18/2013

11:23 PM Feature #8640: Add Time#elapsed to return nanoseconds since creation
Also, as a side effect, this new class could have methods like
nanoseconds_ellapsed, and seconds_ellapsed and the ...
rosenfeld (Rodrigo Rosenfeld Rosas)
10:53 PM Feature #8640: Add Time#elapsed to return nanoseconds since creation
Em 18-07-2013 03:03, Aaron Patterson escreveu:
>> In that case, would #8096 be a better proposal? Since that one d...
rosenfeld (Rodrigo Rosenfeld Rosas)
03:23 PM Feature #8640: Add Time#elapsed to return nanoseconds since creation
On Thu, Jul 18, 2013 at 07:59:34AM +0900, phluid61 (Matthew Kerwin) wrote:
>
> Issue #8640 has been updated by ...
tenderlovemaking (Aaron Patterson)
07:59 AM Feature #8640: Add Time#elapsed to return nanoseconds since creation
tenderlovemaking (Aaron Patterson) wrote:
> On Wed, Jul 17, 2013 at 01:04:37PM +0900, phluid61 (Matthew Kerwin) wrot...
phluid61 (Matthew Kerwin)
02:59 AM Feature #8640: Add Time#elapsed to return nanoseconds since creation
On Wed, Jul 17, 2013 at 01:04:37PM +0900, phluid61 (Matthew Kerwin) wrote:
>
> Issue #8640 has been updated by ...
tenderlovemaking (Aaron Patterson)
11:02 PM Bug #8644: valgrind error in a readline test
とりあえず、close されたかどうかは元々の IO オブジェクトが
close されたかどうかで判断するようなパッチを書いてみたんですが、
どうですかね。
なお、やってみて気がついたのですが、
isatty して EBA...
akr (Akira Tanaka)
07:49 PM Bug #8644: valgrind error in a readline test
調べてみると、テストにある、Readline.output に設定した
IO オブジェクトを close した場合だけでなく、
Readline.input に設定した IO オブジェクトを close した場合にも
Inval...
akr (Akira Tanaka)
05:41 PM Bug #8644: valgrind error in a readline test
SEGV のログは長すぎたので issue の本文からは消しました。 akr (Akira Tanaka)
08:41 PM Bug #8654 (Open): SEGV in Array#count
Reopening for backport.
(The fix will need to be a bit different as there is no RARRAY_AREF() in older versions).
Eregon (Benoit Daloze)
08:38 PM Bug #8654 (Closed): SEGV in Array#count
This issue was solved with changeset r42041.
Masaki, thank you for reporting this issue.
Your contribution to Ruby is...
Eregon (Benoit Daloze)
08:25 PM Bug #8654: SEGV in Array#count
Glass_saga (Masaki Matsushita) wrote:
> > What do you think of this ?
>
> I already fixed it on r42040, but ...
Eregon (Benoit Daloze)
08:18 PM Bug #8654: SEGV in Array#count
I confirmed it is reproducible on the both head revisions of ruby_1_9_3 and ruby_2_0_0.
mrkn (Kenta Murata)
08:15 PM Bug #8654: SEGV in Array#count
> What do you think of this ?
I already fixed it on r42040, but this ticket hasn't been closed because I have...
Glass_saga (Masaki Matsushita)
07:50 PM Bug #8654: SEGV in Array#count
What do you think of this ?
I am not sure assert_in_out_err is good for segfaults checks,
but I could not re...
Eregon (Benoit Daloze)
06:02 PM Bug #8654 (Closed): SEGV in Array#count
Following code causes SEGV.
a1 = []
a2 = Array.new(100) {|i| i }
a2.count do |i|
p i
a2.replace(a1) if i =...
Glass_saga (Masaki Matsushita)
07:51 PM Bug #8653: Unexpected result of String#succ with utf-16 and utf-32 string.
I understand String#succ is not easy for UTF-16LE encoded string.
In case of UTF-16 or UTF-32 string, it is possib...
phasis68 (Heesob Park)
06:23 PM Bug #8653: Unexpected result of String#succ with utf-16 and utf-32 string.
2013/7/18 phasis68 (Heesob Park) <[email protected]>:
> Bug #8653: Unexpected result of String#succ with utf-16 and...
akr (Akira Tanaka)
05:51 PM Bug #8653 (Closed): Unexpected result of String#succ with utf-16 and utf-32 string.
I found the result of String#succ of UTF-16LE encoded string is incorrect.
As a result, Range of UTF-16LE encoded...
phasis68 (Heesob Park)
06:25 PM Bug #8655 (Closed): シンボル名 Init_pack が複数ファイルで定義されている
Solarisにて、make test-all すると、以下のエラーが出てテストが実行できません。
% make test-all
./miniruby -I./lib -I. -I.ext/common ./tool/ru...
ngoto (Naohisa Goto)
04:07 PM Revision ccdc9ecf (git): * ext/-test-/bignum/intpack.c: Renamed from ext/-test-/bignum/pack.c.
(Init_intpack): Renamed from Init_pack.
Reported by Naohisa Goto. [ruby-dev:47526] [Bug #8655]
git-svn-id: svn+...
akr (Akira Tanaka)
03:55 PM Revision c306d817 (git): * 2013-07-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:55 PM Revision 632b85a3 (git): * test/ruby/test_array.rb (test_count): add a test case for #count
with an argument. See Bug #8654.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42047 b2dd03c8-39d4-4d8f-98ff-823...
Eregon (Benoit Daloze)
03:45 PM Bug #8652 (Closed): gem で rb_secure(4) を使用するとビルドエラーとなる
This issue was solved with changeset r42037.
Hiroshi, thank you for reporting this issue.
Your contribution to Ruby i...
nobu (Nobuyoshi Nakada)
02:59 PM Bug #8652: gem で rb_secure(4) を使用するとビルドエラーとなる
naruse (Yui NARUSE) wrote:
> > rb_secure(4)は$SAFEを4以上にセットするものではなく、$SAFEが4以上にセットされている時にSecurityErrorを発生されるものです。
> > ...
shugo (Shugo Maeda)
02:52 PM Bug #8652: gem で rb_secure(4) を使用するとビルドエラーとなる
shugo (Shugo Maeda) wrote:
> naruse (Yui NARUSE) wrote:
> > > 個人的には、$SAFEを4以上にセットするコードはエラーにすべきですが、rb_secure(4)のようなコ...
naruse (Yui NARUSE)
02:49 PM Bug #8652: gem で rb_secure(4) を使用するとビルドエラーとなる
> なぜこけた方がよいと思いますか?
なるせさんと同じ理由でしたが、rb_secure の挙動がそれなら(勘違いでした)エラーにならない方が良いと思えてきました。
sorah (Sorah Fukumori)
02:46 PM Bug #8652: gem で rb_secure(4) を使用するとビルドエラーとなる
naruse (Yui NARUSE) wrote:
> > > linux で ruby-fcgi(https://.com/saks/ruby-fcgi) という rb_secure(4) を使っている gem を ...
shugo (Shugo Maeda)
02:38 PM Bug #8652: gem で rb_secure(4) を使用するとビルドエラーとなる
ビルドがこけるので良い気がしています。
柴田さんがなぜコケるという事でバグレポートを上げているのか気になります。
意図的な変更だと思っていなかったのか、あるいはコケると何か問題があるという事だと思うのですが、
後者だとしたら...
sorah (Sorah Fukumori)
02:30 PM Bug #8652: gem で rb_secure(4) を使用するとビルドエラーとなる
shugo (Shugo Maeda) wrote:
> hsbt (Hiroshi SHIBATA) wrote:
> > linux で ruby-fcgi(https://.com/saks/ruby-fcgi)...
naruse (Yui NARUSE)
01:46 PM Bug #8652 (Assigned): gem で rb_secure(4) を使用するとビルドエラーとなる
hsbt (Hiroshi SHIBATA) wrote:
> linux で ruby-fcgi(https://.com/saks/ruby-fcgi) という rb_secure(4) を使っている gem を t...
shugo (Shugo Maeda)
01:28 PM Bug #8652 (Closed): gem で rb_secure(4) を使用するとビルドエラーとなる
linux で ruby-fcgi(https://.com/saks/ruby-fcgi) という rb_secure(4) を使っている gem を trunk でコンパイルしようと失敗してしまいます。
$ ma...
hsbt (Hiroshi SHIBATA)
02:47 PM Revision 2de786d4 (git): * array.c (rb_ary_eql): compare RARRAY_PTR() for performance
improvement in case of that self and other are shared.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42046 b2dd0...
Glass_saga (Masaki Matsushita)
01:50 PM Revision c366a99c (git): * lib/cgi.rb: [DOC] Capitalize "Ruby" in documentation [Fixes GH-341]
by Dave Worth https://.com/ruby/ruby/pull/341
* lib/webrick.rb: ditto
* lib/scanf.rb: ditto
* lib/xmlrpc/...
zzak (zzak _)
12:58 PM Revision 2314c1bf (git): * bignum.c (bary_sq_fast): Specialize the last iteration of the
outer loop.
(bigfixize): A condition simplified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42044 b2dd03c...
akr (Akira Tanaka)
12:21 PM Revision 4595d9a3 (git): * array.c (rb_ary_equal): compare RARRAY_PTR() for performance
improvement in case of that self and other are shared.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42043 b2dd0...
Glass_saga (Masaki Matsushita)
11:51 AM Revision e07e814e (git): * array.c (rb_ary_fill): use memfill().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Glass_saga (Masaki Matsushita)
11:38 AM Revision e1335a30 (git): * array.c (rb_ary_count): check length to avoid SEGV
while iterating. Remove other pointer loop when arg is given.
* test/ruby/test_array.rb (test_count): add test for bu...
Eregon (Benoit Daloze)
11:30 AM Bug #8651 (Rejected): /[#$]/ causes syntax error
=begin
On ruby 1.9.3-p448, a regular expression (({/[#$]/})) (character class which contains two characters, (({#}))...
sakuro (Sakuro OZAWA)
09:18 AM Revision 6f49bc63 (git): * hash.c (rb_hash_flatten): performance improvement by not using
rb_hash_to_a() to avoid array creation with rb_assoc_new().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42040 ...
Glass_saga (Masaki Matsushita)
08:48 AM Revision 852caed8 (git): * hash.c (rb_hash_flatten): performance improvement by not using
rb_hash_to_a() to avoid array creation with rb_assoc_new().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42039 ...
Glass_saga (Masaki Matsushita)
07:18 AM Revision faa9d5ec (git): * array.c: add logging feature for RGenGC's write barrier unprotect
event.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
06:45 AM Revision 862bad2d (git): ruby.h: error only in the core
* include/ruby/ruby.h (RUBY_SAFE_LEVEL_CHECK): make only
rb_set_safe_level(4) an error always but make rb_secure(4)...
nobu (Nobuyoshi Nakada)
06:42 AM Revision 6795b09f (git): * include/ruby/ruby.h: fix spell miss.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
06:26 AM Feature #8643: Add Binding.from_hash
I don't mind on it being a local var in the binding since it should work either way, just an implementation detail I'... rosenfeld (Rodrigo Rosenfeld Rosas)
06:11 AM Revision 0ef059b2 (git): ruby.h: no $
* include/ruby/ruby.h (ruby_safe_level_4): get rid of special
character. [ruby-dev:47512] [misc #8646]
git-svn-id...
nobu (Nobuyoshi Nakada)
05:54 AM Revision 6429bbad (git): * array.c (ary_alloc): slim setup process.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
05:39 AM Revision 74974529 (git): * string.c (str_alloc): no need to clear RString (already cleared).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
04:00 AM Revision 80afc9b2 (git): * bignum.c (BDIGITS_ZERO): Defined.
(bary_pack): Use BDIGITS_ZERO.
(bary_unpack): Ditto.
(bary_mul_single): Ditto.
(bary_mul_normal): Ditto.
(bar...
akr (Akira Tanaka)
01:06 AM Bug #8641: Enumerator size argument is either mis-documented or should accept any callable
Thanks Marc. Because I really really want to learn how to do this stuff, I went ahead cargo-culted a fix here: https:... avdi (Avdi Grimm)

07/17/2013

11:19 PM Revision 7d9bae8b (git): * 2013-07-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:19 PM Revision 5c088cf7 (git): * gc.c: rename gc related functions with prefix "gc_".
* before_gc_sweep() -> gc_before_sweep().
* after_gc_sweep() -> gc_after_sweep().
* lazy_sweep() -> gc_lazy_swe...
ko1 (Koichi Sasada)
10:51 PM Bug #8641: Enumerator size argument is either mis-documented or should accept any callable
> Instinctively I'd say that the documentation has it right and it ought to take any callable.
Agreed, I'll addres...
marcandre (Marc-Andre Lafortune)
05:12 PM Feature #8649 (Closed): Make ENV.fetch KeyError give key name in error message.
This issue was solved with changeset r42025.
Matthew, thank you for reporting this issue.
Your contribution to Ruby i...
nobu (Nobuyoshi Nakada)
02:10 PM Feature #8649 (Closed): Make ENV.fetch KeyError give key name in error message.
The KeyError raised by ENV.fetch('test') when the 'test' key does not exist does not give the name of the key in the ... mmb (Matthew Boedicker)
01:59 PM Revision b30eb0fa (git): * hash.c (delete_if_i): use ST_DELETE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Glass_saga (Masaki Matsushita)
01:53 PM Revision 15f7c7f9 (git): * bignum.c: An static assertion for relation of SIZEOF_LONG and
SIZEOF_BDIGITS is added.
(bary_mul_precheck): Reduce comparisons.
(bary_mul): Invoke bary_sq_fast or bary_mul1 if...
akr (Akira Tanaka)
01:17 PM Revision 7c1a2f61 (git): * hash.c (rb_hash_replace): performance improvement by using
st_copy().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Glass_saga (Masaki Matsushita)
01:04 PM Feature #8640: Add Time#elapsed to return nanoseconds since creation
nobu (Nobuyoshi Nakada) wrote:
> You propose the method not to take any arguments?
> I had supposed that you'd wa...
phluid61 (Matthew Kerwin)
12:23 PM Feature #8640: Add Time#elapsed to return nanoseconds since creation
(13/07/16 20:37), phluid61 (Matthew Kerwin) wrote:
> nobu (Nobuyoshi Nakada) wrote:
>> phluid61 (Matthew Kerwin)...
nobu (Nobuyoshi Nakada)
10:23 AM Feature #8640: Add Time#elapsed to return nanoseconds since creation
Hello Aaron,

On 2013/07/17 1:46, Aaron Patterson wrote:
> Hi Martin,
>
> On Tue, Jul 16, 2013 at 03:24:36PM +0...
duerst (Martin Dürst)
07:59 AM Feature #8640: Add Time#elapsed to return nanoseconds since creation
On Wed, Jul 17, 2013 at 04:04:42AM +0900, charliesome (Charlie Somerville) wrote:
>
> Issue #8640 has been upda...
Anonymous
04:04 AM Feature #8640: Add Time#elapsed to return nanoseconds since creation
I'll echo what everyone else has said above by saying that I'm strongly against #elapsed returning nanoseconds. I'm h... Anonymous
11:08 AM Feature #8601: Win32API.rb long life plan
Win32API.rb should be removed at 2.1.0. usa (Usaku NAKAMURA)
11:05 AM Feature #7106 (Open): FileUtils.touch should allow touching the symlink itself rather than the file the link points to
Ah, I take charge of Windows versions, but I cannot judge whether we should accept this feature request or not.
file...
usa (Usaku NAKAMURA)
10:20 AM Bug #8575: Crash in openssl verify_certificate_identity
backported to 1.9.3 at r42016. usa (Usaku NAKAMURA)
08:52 AM Feature #8648 (Closed): unuse special global variable in erb/cgi methods
This issue was solved with changeset r42013.
Takeyuki, thank you for reporting this issue.
Your contribution to Ruby ...
xibbar (Takeyuki FUJIOKA)
07:54 AM Feature #8648 (Closed): unuse special global variable in erb/cgi methods
reference [Bug #8612]
the scope of regexp special global variable is changed from 2.0 to trunk.
I think better some...
xibbar (Takeyuki FUJIOKA)
08:25 AM Revision a3b6aeba (git): * gc.c: rename heap management functions with prefix "heap_".
* allocate_sorted_array() -> heap_allocate_sorted_array().
* slot_add_freeobj() -> heap_slot_add_freeobj().
* as...
ko1 (Koichi Sasada)
08:12 AM Revision c9118e2a (git): hash.c: key name in error message
* hash.c (env_fetch): Add key name to message on ENV.fetch KeyError,
as well as Hash#fetch. [ruby-core:56062] [Fea...
nobu (Nobuyoshi Nakada)
07:42 AM Bug #8612 (Rejected): nil in ERB::Util.url_encode
This is not a bug.
Because implemented string class is not supported.
But I think this proposal is good.
I will me...
xibbar (Takeyuki FUJIOKA)
07:01 AM Revision caa14925 (git): * gc.c: catch up last changes for debugging/checking mode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
06:52 AM Revision 9860c846 (git): * gc.c (rb_objspace_free): free slot itself.
* gc.c (objspace_each_objects): fix condition.
Use slot->body instead of slot.
* gc.c (count_objects): use "slot" v...
ko1 (Koichi Sasada)
06:24 AM Revision fa014681 (git): * gc.c (unlink_heap_slot): fix memory .
free slot itself at free_heap_slot().
Reproduce-able code is here:
N1 = 100_000; N2 = 1_000_000
N1.times{ary = ...
ko1 (Koichi Sasada)
05:55 AM Revision 79d9c8ac (git): * gc.c: re-design the heap structure.
(1) The heap is consists of a set of slots.
(2) Each "slot" has a "slot_body".
slot::start and slot::limit specif...
ko1 (Koichi Sasada)
04:34 AM Revision fd920505 (git): * gc.c: fix heaps_header and heaps_slot to reduce memory consumption.
(1) move heaps_header::start and limit to heaps_slot.
(2) remove heaps_header::end which can be calculated by star...
ko1 (Koichi Sasada)
04:10 AM Feature #8643: Add Binding.from_hash
PS: I'm neutral towards this feature. I've got no strong feelings that it should or shouldn't be part of Ruby. Anonymous
04:09 AM Feature #8643: Add Binding.from_hash
Personally I think hash keys should be local variables in the binding, not method calls against self.
It's hard to...
Anonymous
03:31 AM Revision f44eeda9 (git): * include/ruby/st.h (st_strcasecmp): Macro defined for compatibility.
(st_strncasecmp): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:02 AM Revision 99285bcd (git): ChangeLog: Update r42013 r42014.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Takeyuki FUJIOKA
02:22 AM Bug #8647 (Closed): Unused variable "id" in ssl.rb
Hi Daniel, thanks for mentioning it! Somebody else noticed it as well, in #8582 :) MartinBosslet (Martin Bosslet)
01:58 AM Bug #8647 (Closed): Unused variable "id" in ssl.rb
Saw this, thought I should mention it.
c:/Ruby2/lib/ruby/2.0.0/openssl/ssl.rb:101: warning: assigned but unused va...
djberg96 (Daniel Berger)
02:01 AM Revision 297ac0a6 (git): merge revision(s) 36265: [Backport #8580]
* ext/date/date_core.c: [ruby-core:46058].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@42017 b2...
U.Nakamura
01:19 AM Revision ce8c46b4 (git): merge revision(s) 41805: [Backport #8575]
* lib/openssl/ssl.rb: Fix SSL client connection crash for SAN marked
critical.
The for CVE-...
U.Nakamura
01:10 AM Revision 347e8c44 (git): merge revision(s) 41077,41105: [Backport #8578]
* ext/date/date_core.c: fixed a bug [ruby-core:55295]. reported
by Riley Lynch.
* ext/date/date_c...
U.Nakamura
12:35 AM Feature #8635: attr_accessor with default block
Just adding some prior art...
There have been many, many takes on this in various gems, but I thought I'd drop in ...
avdi (Avdi Grimm)

07/16/2013

11:52 PM Revision fd2fc885 (git): * lib/cgi/util.rb (CGI::Util#escape, unescape): Unuse regexp special
global variable. [Feature #8648] Thanks to fotos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42014 b2dd03c8-3...
Takeyuki FUJIOKA
11:52 PM Revision 747b1a31 (git): * lib/erb.rb (ERB::Util#url_encode): Unuse regexp special global
variable. [Feature #8648] Thanks to fotos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42013 b2dd03c8-39d4-4d8...
Takeyuki FUJIOKA
11:52 PM Misc #8646 (Assigned): Can't compile ruby on AIX using gcc if a function name has $.
どうぞ。 nobu (Nobuyoshi Nakada)
11:43 PM Misc #8646 (Closed): Can't compile ruby on AIX using gcc if a function name has $.
r41273で追加されたSafe Levelのチェックの部分で関数名に $ が使われているのですが、AIXのgccでエラーになってしまいます。
% make
(中略)
compiling ../trunk/main.c
I...
kanemoto (Yutaka Kanemoto)
11:15 PM Revision 87955745 (git): * st.c (st_locale_insensitive_strcasecmp): Renamed from st_strcasecmp.
(st_locale_insensitive_strncasecmp): Renamed from st_strncasecmp.
* include/ruby/st.h: Follow above changes.
* incl...
akr (Akira Tanaka)
09:47 PM Bug #8644: valgrind error in a readline test
readline のテストについて報告したのですが、
内容が長すぎたのか、途切れてしまったので、
SEGV したときのログを添付します。
あと、長すぎたためか、メールも ruby-dev には流れなかったようです。
akr (Akira Tanaka)
09:13 PM Bug #8644 (Closed): valgrind error in a readline test
test-all が readline のところで SEGV することがあったので、
とりあえず valgrind をかけてみたところ、ひとつ問題を指摘されました。
% ./ruby -v
ruby 2.1.0dev...
akr (Akira Tanaka)
08:37 PM Feature #8640: Add Time#elapsed to return nanoseconds since creation
duerst (Martin Dürst) wrote:
> It's going to be very confusing to have different methods on Time use different units...
phluid61 (Matthew Kerwin)
06:03 PM Feature #8640: Add Time#elapsed to return nanoseconds since creation
phluid61 (Matthew Kerwin) wrote:
> I wouldn't complain if there was a kwarg, although I'm not sure which way it sh...
nobu (Nobuyoshi Nakada)
03:51 PM Feature #8640: Add Time#elapsed to return nanoseconds since creation
phluid61 (Matthew Kerwin) wrote:
> duerst (Martin Dürst) wrote:
> > duration = start.elapsed_nanoseconds
>
>...
duerst (Martin Dürst)
03:34 PM Feature #8640: Add Time#elapsed to return nanoseconds since creation
+1
duerst (Martin Dürst) wrote:
> I think this is a good idea. But since
> duration = Time.now - start
> is in ...
phluid61 (Matthew Kerwin)
03:24 PM Feature #8640: Add Time#elapsed to return nanoseconds since creation
I think this is a good idea. But since
duration = Time.now - start
is in seconds, I'd either keep seconds as units,...
duerst (Martin Dürst)
10:11 AM Feature #8640: Add Time#elapsed to return nanoseconds since creation
+1 rosenfeld (Rodrigo Rosenfeld Rosas)
03:39 AM Feature #8640 (Open): Add Time#elapsed to return nanoseconds since creation
Hi,
We time many things in Rails (and so does lots of other code), and I've found that we spend lots of time alloc...
tenderlovemaking (Aaron Patterson)
07:53 PM Feature #8635: attr_accessor with default block
On Mon, Jul 15, 2013 at 6:07 PM, rkh (Konstantin Haase) <[email protected]> wrote:

>
> Issue #8635 has been updated b...
judofyr (Magnus Holm)
01:07 AM Feature #8635: attr_accessor with default block
If this should be added, could you consider adding it with a read-write-lock? rkh (Konstantin Haase)
07:29 PM Feature #8643: Add Binding.from_hash
Whoops. I can't update the description. The implementation should be:
OpenStruct.new(hash).instance_eval { binding }
rosenfeld (Rodrigo Rosenfeld Rosas)
07:11 PM Feature #8643 (Rejected): Add Binding.from_hash
`Binding.from_hash` would work like:
```ruby
class Binding
def self.from_hash(hash)
OpenStruct.new(hash){...
rosenfeld (Rodrigo Rosenfeld Rosas)
06:45 PM Bug #8642 (Closed): Unexpected behavior of String#split with UTF-32 encoded string.
This issue was solved with changeset r42002.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is...
nobu (Nobuyoshi Nakada)
11:27 AM Bug #8642 (Closed): Unexpected behavior of String#split with UTF-32 encoded string.
The recent revisions related with encoding r41964,r41965,r41968,r71969,r47970,r41973 raised many test failures and er... phasis68 (Heesob Park)
03:17 PM Revision adba373c (git): * 2013-07-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:17 PM Revision deaec247 (git): * bignum.c (bigmul1_toom3): Use bigdivrem_single instead of bigdivrem.
(big_three): Removed.
(Init_Bignum): Don't initialize big_three.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru...
akr (Akira Tanaka)
12:49 PM Revision 13a1fd6d (git): * configure.in: revert r42008. strcasecmp() uses the current locale.
* include/ruby/ruby.h: ditto.
* st.c (st_strcasecmp): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4200...
Glass_saga (Masaki Matsushita)
12:13 PM Revision a0d9bd44 (git): * configure.in: check strcasecmp().
* include/ruby/ruby.h: use strcasecmp() as st_strcasecmp() if it
exists.
* st.c (st_strcasecmp): define the functi...
Glass_saga (Masaki Matsushita)
11:23 AM Revision 6be7c957 (git): * bignum.c (bigsq): Renamed from bigsqr.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:44 AM Revision a08c5527 (git): * bignum.c (USHORT): Unused macro removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:29 AM Revision a97c3b75 (git): * gc.c: slim a path of newobj_of().
* gc.c (objspace): add a new field objspace::freelist, which contains
available RVALUEs.
* gc.c (newobj_of): simply...
ko1 (Koichi Sasada)
10:08 AM Revision 41064134 (git): * bignum.c (big_shift3): Big shift width is not a problem for right
shift.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
09:50 AM Revision 3569c6c3 (git): array.c: fix typo
* array.c (rb_ary_count): [DOC] fix typo. Array#count uses ==, not
===. a question at asakusa.rb ML.
git-svn-id:...
nobu (Nobuyoshi Nakada)
09:45 AM Revision 3341db31 (git): test_string.rb: Bug #8642
* test/ruby/test_string.rb (test_split): test for r41994.
[ruby-core:56036] [Bug #8642]
git-svn-id: svn+ssh://ci.r...
nobu (Nobuyoshi Nakada)
09:37 AM Revision c0cce293 (git): * bignum.c (bary_mul_karatsuba): Avoid duplicate calculation when
squaring.
((bary_mul_toom3_branch): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42001 b2dd03c8-39d4...
akr (Akira Tanaka)
09:10 AM Bug #8641 (Closed): Enumerator size argument is either mis-documented or should accept any callable
I ran into this while wrapping Enumerators around Queues. The Enumerator docs state:
* The optional parameter ca...
avdi (Avdi Grimm)
08:46 AM Revision ed621c00 (git): * gc.c (link_free_heap_slot): removed.
* gc.c (slot_sweep): use `heaps_add_freeslot' instead of
`link_free_heap_slot'.
* gc.c (assign_heap_slot): use loca...
ko1 (Koichi Sasada)
08:32 AM Revision 73ee1676 (git): * gc.c (assign_heap_slot): refactoring variable names.
* gc.c (slot_add_freeobj): added.
* gc.c (heaps_add_freeslot): added.
* gc.c (finalize_list, rb_gc_force_recycle, slo...
ko1 (Koichi Sasada)
07:33 AM Revision e8ee0a24 (git): * gc.c (lazy_sweep): refactoring.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
06:44 AM Revision 15dd1f9d (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
06:23 AM Feature #8639: Add Queue#each
BTW, I feel like I've left out the biggest justification for this, which
for me is POLS. What prompted me to submi...
avdi (Avdi Grimm)
05:53 AM Feature #8639: Add Queue#each
On Mon, Jul 15, 2013 at 4:24 PM, Alex Young <[email protected]> wrote:

> I thought this sounded familiar. I...
avdi (Avdi Grimm)
05:29 AM Feature #8639: Add Queue#each
On Tue, 2013-07-16 at 00:44 +0900, avdi (Avdi Grimm) wrote:
> Issue #8639 has been reported by avdi (Avdi Grimm).
...
regularfry (Alex Young)
01:23 AM Feature #8639: Add Queue#each
P.S. Should I reply on the ticket or do these conversations eventually get
posted back to it? I'm new to all of this!
avdi (Avdi Grimm)
01:23 AM Feature #8639: Add Queue#each
On Mon, Jul 15, 2013 at 11:54 AM, rkh (Konstantin Haase) <[email protected]> wrote:

> +1 for the feature, should have g...
avdi (Avdi Grimm)
12:54 AM Feature #8639: Add Queue#each
+1 for the feature, should have gone into CommonRuby, I think, maybe. rkh (Konstantin Haase)
12:44 AM Feature #8639 (Closed): Add Queue#each
I was fiddling around with Queue the other day and realized it doesn't have an #each method. So I made one: https://g... avdi (Avdi Grimm)
06:10 AM Revision 53bdcbed (git): revert last commit because it fails test-all.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
06:00 AM Revision 3cd6fe32 (git): * gc.c (after_gc_sweep): refactoring code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
04:32 AM Revision 241b1e63 (git): encoding.c: revert r41964
* encoding.c (enc_set_index): since r41967, old terminator is dealt
with in str_fill_term(). should not consider i...
nobu (Nobuyoshi Nakada)
04:15 AM Feature #8638 (Feedback): Official Ruby FAQ
@naruse ok, I will leave this for feedback, and close after a week if there are no more responses.
I have opened a...
zzak (zzak _)
12:55 AM Feature #8638: Official Ruby FAQ
zzak (Zachary Scott) wrote:
> Should this be included in ruby source? ie: doc/faq.rdoc
FAQ should be outside of t...
naruse (Yui NARUSE)
12:20 AM Feature #8638: Official Ruby FAQ
@naruse Yes, I will open a ticket to import the existing FAQ.
I would like feedback from more committers too.
S...
zzak (zzak _)
03:24 AM Misc #8548: Correction for a String#include? usage example
@zzak even better; thanks for the heads-up :) mattonrails (Matthew Conway)
02:25 AM Revision 3495f2b8 (git): * io.c (appendline): cosmetic change
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Glass_saga (Masaki Matsushita)
02:24 AM Bug #6491: DateTime.strftime('%Z') output is incorrect format
@tadf why is this closed? To me a discrepancy between DateTime.strftime and Time.strftime should either be documented... kenips (Ken Ip)
02:22 AM Revision 7317bda6 (git): * proc.c (rb_block_arity): raise ArgumentError if no block given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Glass_saga (Masaki Matsushita)

07/15/2013

11:46 PM Feature #8638: Official Ruby FAQ
It sounds this should be on https://.com/ruby/www.ruby-lang.org naruse (Yui NARUSE)
11:46 AM Feature #8638 (Closed): Official Ruby FAQ
Should we have one? And should it be hosted on ruby-lang.org.
https://bugs.ruby-lang.org/projects/ruby/wiki/Devel...
zzak (zzak _)
11:16 PM Revision f3a63c31 (git): * ext/bigdecimal/lib/bigdecimal/util.rb: [DOC] document top-level
classes from BigDecimal utils native extensions
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41991 b2dd03c8-39...
zzak (zzak _)
09:43 PM Feature #8631: Add a new method to ERB to allow assigning the local variables from a hash
You can see here how often people want to use a hash to render an ERB template:
https://.com/search?q=erb+re...
rosenfeld (Rodrigo Rosenfeld Rosas)
09:39 PM Feature #8631: Add a new method to ERB to allow assigning the local variables from a hash
I didn't propose an API because I don't really care about the API as long as it allows us to provide a hash instead o... rosenfeld (Rodrigo Rosenfeld Rosas)
09:23 PM Feature #8636: Documentation hosting on ruby-lang.org
Definitely docs.ruby-lang.org for me between these three.

On 15 July 2013 04:38, zzak (Zachary Scott) <[email protected]...
Eregon (Benoit Daloze)
12:53 PM Feature #8636: Documentation hosting on ruby-lang.org
Another +1 for docs.ruby-lang.org. "rdoc" is the tool, not the product.
"ref" would be reference, but around Ruby...
duerst (Martin Dürst)
12:23 PM Feature #8636: Documentation hosting on ruby-lang.org
On Mon, Jul 15, 2013 at 11:38 AM, zzak (Zachary Scott) <[email protected]> wrote:
> I am partial to docs.ruby-lang.org, bu...
mrkn (Kenta Murata)
11:38 AM Feature #8636 (Closed): Documentation hosting on ruby-lang.org
We discussed whether RDoc documentation should be hosted on ruby-lang.org.
What domain should we use to host api d...
zzak (zzak _)
08:12 PM Feature #7688: Error hiding with rb_rescue() on Comparable#==, #coerce and others
I just got bitten by this problem and I agree there should not be any hidden rescue misleading you on what is really ... schmurfy (Julien A)
06:27 PM Revision 9893a389 (git): * 2013-07-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:27 PM Revision 4314d8c2 (git): * numeric.c: [DOC] improve rdoc formatting for parameters and links
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
06:26 PM Bug #8622: Tracepoint API: B_RETURN_EVENT not triggered when "return" used inside lambda
=begin
Notice that I am blaming "return" because this doesn't happen if "return" is not explicited.
TracePoin...
deivid (David Rodríguez)
01:48 PM Feature #8637: I18n documentation
zzak (Zachary Scott) wrote:
> @kou Will the original English documentation stay the same? As embedded rdoc in cruby ...
kou (Kouhei Sutou)
01:39 PM Feature #8637: I18n documentation
@kou Will the original English documentation stay the same? As embedded rdoc in cruby source? zzak (zzak _)
12:55 PM Feature #8637: I18n documentation
I will work on "RDoc API for i18n".
I will use the same approach what I did for YARD.
In the approach, gettext ...
kou (Kouhei Sutou)
11:43 AM Feature #8637 (Closed): I18n documentation
From the July 12 Developers Meeting:
Support for internationalized documentation was requested. RDoc needs a few
...
zzak (zzak _)
12:56 PM Revision a38f209a (git): Fix spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
05:42 AM Revision 46360975 (git): * include/ruby/intern.h (rb_big2str0): Deprecated.
* bignum.c (rb_big2str1): Renamed from rb_big2str0.
(rb_big2str0): Deprecated wrapper for rb_big2str1.
(rb_big2st...
akr (Akira Tanaka)
05:38 AM Bug #8507: Keyword splat does not convert arg to Hash
Thanks for weighing in. Given that nil is so prevalent in the language, I don't think we can ignore it.
Also, `**f...
stephencelis (Stephen Celis)
05:20 AM Revision d738fed4 (git): * struct.c (rb_struct_each_pair): use rb_yield_values(2, key, value)
instead of rb_yield(rb_assoc_new(key, value)) if rb_block_arity()
is greater than 1.
git-svn-id: svn+ssh://ci.ruby...
Glass_saga (Masaki Matsushita)
04:50 AM Revision 1a42f368 (git): * bignum.c: Add static assertions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
04:38 AM Revision b9d29603 (git): * hash.c (rb_hash_each_pair): performance improvement by using
rb_block_arity().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Glass_saga (Masaki Matsushita)
04:26 AM Revision f344841e (git): * proc.c (rb_block_arity): create internal API rb_block_arity().
it return arity of given block.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41983 b2dd03c8-39d4-4d8f-98ff-823f...
Glass_saga (Masaki Matsushita)
04:21 AM Revision def83bff (git): * lib/prime.rb (Prime::EratosthenesGenerator,
Prime::EratosthenesSieve): New implementation by
robertjlooby <robertjlooby AT gmail.com>.
* test/test_prime.rb: u...
yugui (Yuki Sonoda)
02:33 AM Revision ceda8816 (git): * numeric.c (rb_cNumeric): [DOC] Added comment for Numeric to fix doc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
02:26 AM Revision a5da8319 (git): * bignum.c (maxpow_in_bdigit_dbl): Useless #if removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:21 AM Bug #8634 (Closed): Segfault with sprintf of force_encoding('UTF-16LE') on Windows
This issue was solved with changeset r41967.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is...
nobu (Nobuyoshi Nakada)
02:13 AM Revision b39b66f4 (git): * bignum.c (rb_big_coerce): [DOC] Add docs for Bignum#coerce
Based on by Juanito Fatas [Fixes GH-360]
https://.com/ruby/ruby/pull/360
git-svn-id: svn+ssh://ci.rub...
zzak (zzak _)
02:11 AM Revision e068834b (git): bignum.c: suppress warnings
* bignum.c (big_shift2, rb_big_lshift, rb_big_rshift): cast explicitly
to suppress warnings.
git-svn-id: svn+ssh:/...
nobu (Nobuyoshi Nakada)
01:56 AM Revision 89d8d769 (git): * thread.c (mutex_sleep): [DOC] Awake thread will reacquire lock
By Tim Abdulla [Fixes GH-342] https://.com/ruby/ruby/pull/342
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru...
zzak (zzak _)
01:49 AM Revision 150b2655 (git): * bignum.c (nlz16): Use __builtin_clz if possible.
(nlz32): Use __builtin_clz or __builtin_clzl if possible.
(nlz64): Use __builtin_clzl or __builtin_clzll if possibl...
akr (Akira Tanaka)
12:52 AM Revision 0e15aec6 (git): ChangeLog: fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:46 AM Revision 508669b6 (git): * bignum.c (power_cache_get_power): Use bitsize insteadof ceil_log2.
(ones): Removed.
(next_pow2): Removed.
(floor_log2): Removed.
(ceil_log2): Removed.
* configure.in (__builtin_...
akr (Akira Tanaka)
 

Also available in: Atom