Project

General

Profile

Activity

From 07/02/2014 to 07/08/2014

07/08/2014

10:38 PM Feature #8788: use eventfd on newer Linux instead of pipe for timer thread
Updated patch (from testing for #10009).
Uploading for archival purposes. This version is probably less intrusive and
falls back to pipe in case of ENOSYS (in case glibc supports eventfd and the
kernel has eventfd disabled).
Thi...
normalperson (Eric Wong)
10:37 PM Feature #10017 (Closed): Add `Hash#fetch_values`
I'm proposing to add a new method `Hash#values_at!` that's basically a combination of `#values_at` and `#fetch`.
When dealing with configuration I prefer to use `#fetch` to fail early and this would be useful to read multiple keys at ...
wojtekmach (Wojtek Mach)
09:55 PM Bug #10016 (Closed): Destructuring block arguments with a Hashable last element
The following code:
~~~ruby
# destructure_bug.rb
def m
x = Object.new
def x.to_hash() {x: 9} end
yield [1, 2, 3, x]
end
p m { |a, *b, c, **k| [a, b, c, k] }
~~~
gives:
~~~
$ ruby -v destructure_bug.rb
ruby 2.1....
brixen (Brian Shirai)
08:50 PM Revision b10058ae (git): thread_pthread.h: do not expose pthread type for lock
* thread_pthread.h (struct rb_global_vm_lock_struct):
do not expose pthread type for lock
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
08:47 PM Revision 3e14cdc4 (git): thread_pthread.h: remove unneeded semaphore.h include
* thread_pthread.h: remove unneeded semaphore.h include
We currently do not use POSIX semaphores.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
08:37 PM Bug #10009: IO operation is 10x slower in multi-thread environment
eventfd doesn't help performance (but still reduces FD count),
I never expected eventfd to improve speed, though.
Lowering TIME_QUANTUM_USEC (in thread_pthread.c) helps with the I/O case
(try it yourself if you have a 1000HZ kernel)...
normalperson (Eric Wong)
09:56 AM Bug #10009: IO operation is 10x slower in multi-thread environment
Eric Wong wrote:
> I'll try resurrecting an old eventfd proposal and maybe also bare futexes
> ...
Tank's Eric,
If an application running Rainbows has only one thread using 100% the worker is affected greatly in the query database. ...
ariveira (Alexandre Riveira)
01:21 AM Bug #10009: IO operation is 10x slower in multi-thread environment
I'll try resurrecting an old eventfd proposal and maybe also bare futexes
to see if that improves things.
normalperson (Eric Wong)
05:43 PM Bug #10015 (Closed): Performance regression in Dir#[]
r44802 seems to have introduced a performance regression in Dir#[].
Here is the test program:
~~~ruby
require 'benchmark'
puts Benchmark.realtime {
glob = "minitest/*_plugin.rb{,.rb,.bundle}"
$LOAD_PATH.map { |load_path|
...
tenderlovemaking (Aaron Patterson)
03:32 PM Bug #9975: irb で Hash を 1.9 記法で記述したときに、キーがキーワードだと syntax error
けいじゅ@いしつかです.

takkanm@gmail.com wrote:

> Issue #9975 has been reported by 三村 益隆.

> irb で Hash を 1.9 記法で記述したとき、以下の end を伴なうキーワードをキーとして使用するとエラーとなります。
>
> ~~~
> if do case def for unless until while begin

確かにバグですが...

> 添付...
keiju (Keiju Ishitsuka)
03:19 PM Revision a402e84e (git): * 2014-07-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:19 PM Revision 44ab0f8b (git): * lib/irb/ruby-lex.rb: fix counting indent in identify_string_dvar.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e keiju (Keiju Ishitsuka)
01:14 PM Revision aae3bcbc (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:12 PM Feature #9997: Specifying non volatile registers for increase performence in ppc64
Hi Nobuyoshi, yes, my mistake. The correct results are the ones I added later.
I'm attaching the results for the "Computer Language Benchmarks Game" as well. Check the time enhancement.
lbianc (Leonardo Bianconi)
11:33 AM Bug #10010 (Open): Error in TestEnv#test_memory_leak_* on Solaris
r46756 の make test-all にて、同じ Failure がすべての test/ruby/memory_status.rb 関連の場所で出たので再オープンします。
invoke_ruby によって --diable-gems を付けて呼んだ子プロセスの ruby 内で実行される envutil.rb にて、 require 'rbconfig' より前に find_executable が実行されるため、エラーになっているように見えます。(親プロセ...
ngoto (Naohisa Goto)
09:41 AM Bug #10010: Error in TestEnv#test_memory_leak_* on Solaris
以下のように test/ruby/test_env.rb を実行すると、なぜか、
uninitialized constant EnvUtil::RbConfig (NameError) になります。
実行に使ったrubyはr46751で、svnレポジトリのローカルコピーr46756 の test/ruby/test_env.rb を相対パス指定にて直接実行した結果のものです。
~~~
$ ruby test/ruby/test_env.rb
Run ...
ngoto (Naohisa Goto)
07:58 AM Bug #10010 (Closed): Error in TestEnv#test_memory_leak_* on Solaris
Applied in changeset r46755.
----------
memory_status.rb: find proper ps
* test/ruby/memory_status.rb (Memory::PSCMD): use ps command which
outputs expected result. [ruby-dev:48370] [Bug #10010]
nobu (Nobuyoshi Nakada)
10:56 AM Bug #10014 (Closed): Do not expose no-pinned down IDs
概要
----
ID と Symbol の関係を整理し、よりバグの少ないコードへと変更する。
現状と問題点
------------
Symbol GC が導入され、Symbol に dynamic symbol と static symbol に別れる
ことになった。
pindown されていない dynamic symbol は、GC 可能であり、ここでは mortal
symbol と呼ぶことにする。
逆に、static s...
ko1 (Koichi Sasada)
08:04 AM Revision 8b427e35 (git): sprintf.c: skip non-interned name
* sprintf.c (rb_str_format): get rid of accessing by symbol of
invalid ID, when the name is not interned.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:58 AM Revision 286eaeb2 (git): memory_status.rb: find proper ps
* test/ruby/memory_status.rb (Memory::PSCMD): use ps command which
outputs expected result. [ruby-dev:48370] [Bug #10010]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:01 AM Revision 65accad3 (git): parse.y: expand is_asgn_or_id
* parse.y (new_op_assign_gen): expand is_asgn_or_id(), which call
id_type() function multiple times now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:48 AM Revision 7defa383 (git): * 2014-07-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:48 AM Revision fd7073f7 (git): * parse.y (dsymbol_alloc): set global_symbols.minor_marked to 0.
* parse.y (dsymbol_check): set RSYMBOL(sym)->fstr to 0
because we should not touch fstr after that.
* parse.y (rb_gc_free_dsymbol): skip deleting str and sym
from tables if fstr == 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
ko1 (Koichi Sasada)

07/07/2014

05:09 PM Bug #10013: [CSV] Yielding all elements from a row
Do you mean that it should consider the block arity to decide whether to yield a Row or destructure it into column parts? i.e.
~~~ruby
CSV.foreach('file.csv', headers: true) do |col1, col2, col3|
col1 == "1"
col2 == "2"
col...
avit (Andrew Vit)
01:05 PM Bug #10013: [CSV] Yielding all elements from a row
Sorry, this should be in lib category, but I'm not able to change it now. Gat (Dawid Janczak)
01:03 PM Bug #10013 (Closed): [CSV] Yielding all elements from a row
Let's say I have the following CSV file:
col1,col2,col3
1,2,3
4,5,6
(...)
I want to iterate over values yielding them to a block. I can do that like this:
`CSV.foreach('file.csv') { |col1, col2, col3| print col2 + " " } # => "col...
Gat (Dawid Janczak)
02:19 PM Bug #10010: Error in TestEnv#test_memory_leak_* on Solaris
> 定数の初期化はロードされてモジュール定義のときですから、まだテストでPATHが変更される前です。
確かにそのとおりでした、すみません。
パッチを当てて、PATH=/usr/ucb:$PATH などとした状態でも Error が出なくなるのは確認しました。
Errorのかわりに、下記の2つのFailureに変わりましたが、本件とは別問題として調べてみます。
~~~
1) Failure:
TestEnv#test_memory_leak...
ngoto (Naohisa Goto)
12:03 AM Bug #10010: Error in TestEnv#test_memory_leak_* on Solaris
Naohisa Goto wrote:
> TestEnv#test_memory_leak_* では、子プロセス内のコードで ENV.clear を呼んでいて、
> ...
定数の初期化はロードされてモジュール定義のときですから、まだテストでPATHが変更される前です。
> これでも、Solarisで /usr/ucb を /usr/bin や /bin より先に PATH に入れていた場合は救えません。
使えるpsを探すようにしてみました。
~...
nobu (Nobuyoshi Nakada)
01:35 PM Bug #10008: conftest crashed: installing mri 2.1.2: EXC_BAD_ACCESS (SIGABRT)
Is conftest part of debugger gem? hsbt (Hiroshi SHIBATA)
08:42 AM Revision a560c208 (git): test/ruby/find_executable.rb
* test/ruby/test_rubyoptions.rb (test_program_name): use expected
ps command from PATH.
* test/ruby/find_executable.rb (EnvUtil#find_executable): find
expected executable path with argument and output pattern.
git-svn-id: svn+ssh:/...
nobu (Nobuyoshi Nakada)
07:30 AM Bug #9908 (Rejected): [mingw] openssl.so LoadError when built with 1.0.0m or 1.0.1h
usa (Usaku NAKAMURA)
07:11 AM Bug #9908 (Closed): [mingw] openssl.so LoadError when built with 1.0.0m or 1.0.1h
nagachika (Tomoyuki Chikanaga)
07:08 AM Revision b1f4bf8a (git): common.mk: integrate clean targets
* common.mk (clean-rdoc, clean-capi, clean-platform): integrate
from Makefile.in and win32/Makefile.sub.
* win32/Makefile.sub (RMALL): now use rm.bat instead of rmall.bat
which does not handle any options and convert slashes.
* win...
nobu (Nobuyoshi Nakada)
05:36 AM Revision 8572ed5c (git): * parse.y: remove global_symbols::pinned_dsym
(and ::pinned_dsym_minor_marked).
Mark pinned dsymbols by rb_gc_register_mark_object() because
they are immortal.
* prase.y (rb_gc_free_dsymbol): rename parameter name `ptr' to `sym'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
ko1 (Koichi Sasada)
04:42 AM Bug #10012 (Closed): Improve Documentation for IO.read
Duplicates: https://github.com/ruby/ruby/pull/658
- Readability improvements
- English language fixes
- Formatting fixes
soodesune (Mark Lorenz)
04:09 AM Bug #8523: intermittent unit test failure in test_timeout.rb results in build failures
backported into `ruby_2_0_0` at r46748. usa (Usaku NAKAMURA)
04:08 AM Revision 79d578eb (git): merge revision(s) 46159,46196: [Backport #8523]
* test/test_timeout.rb (test_timeout): inverted test condition.
[Bug #8523]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@46748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:58 AM Bug #9729: Hash#each が無限ループする
backported into `ruby_2_0_0` at r46747. usa (Usaku NAKAMURA)
03:58 AM Bug #9646: Infinite loop at Hash#each
backported into `ruby_2_0_0` at r46747. usa (Usaku NAKAMURA)
03:58 AM Revision a383ffa0 (git): merge revision(s) 45642,45643: [Backport #9646] [Backport #9729]
* st.c (st_foreach_check): chnage start point of search at check
from top to current. [ruby-dev:48047] [Bug #9646]
* st.c (st_foreach_check): change start point of search at check
git-svn-id: svn+ssh://ci.ruby-lang.o...
U.Nakamura
03:56 AM Bug #9543: [Doc] Fix example in GServer documentation (lib/gserver)
backported into `ruby_2_0_0` at r46746. usa (Usaku NAKAMURA)
03:55 AM Revision d2d9d6ef (git): merge revision(s) 45344: [Backport #9543]
* lib/gserver.rb: [DOC] Fixed typo in example by @stomar [Bug #9543]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@46746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:53 AM Bug #9814: Improving documentation example for Enumerator#peek
backported into `ruby_2_0_0` at r46745. usa (Usaku NAKAMURA)
03:52 AM Revision d29595ce (git): merge revision(s) 46099: [Backport #9814]
* enumerator.c: [DOC] Fix example to show Enumerator#peek behavior
Patch by Erik Hollembeak [Bug #9814]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@46745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:51 AM Bug #9819: changed documentation for enumerable methods find and detect
backported into `ruby_2_0_0` at r46744. usa (Usaku NAKAMURA)
03:51 AM Revision 73d6945f (git): merge revision(s) 46095: [Backport #9819]
* enum.c: [DOC] Use #find in example to clarify alias by @rachellogie
Patch submitted via documenting-ruby/ruby#34
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@46744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:50 AM Bug #9773: broken link in man/ruby.1
backported into `ruby_2_0_0` at r46743. usa (Usaku NAKAMURA)
03:50 AM Bug #9738: A document fix for Rinda::TupleEntry#renew
backported into `ruby_2_0_0` at r46742. usa (Usaku NAKAMURA)
03:49 AM Revision a30ba8d7 (git): merge revision(s) 45896: [Backport #9773]
* man/ruby.1: remove deadlink. [ruby-core:62145][Bug #9773]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@46743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:48 AM Revision c579174a (git): merge revision(s) 45786: [Backport #9738]
* lib/rinda/tuplespace.rb: fix document. [ruby-core:62003][Bug #9738]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@46742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:47 AM Bug #9684: Use same error messages in struct.c
backported into `ruby_2_0_0` at r46741. usa (Usaku NAKAMURA)
03:47 AM Revision 8d8c4277 (git): merge revision(s) 45462,45463,45466: [Backport #9684]
* struct.c (not_a_member): extract name error and use same error
messages. based on the patch by Marcus Stollsteimer <sto.mar AT
web.de> at [ruby-core:61721]. [Bug #9684]
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
U.Nakamura
03:46 AM Revision 2e225e2c (git): * gc.c: revert miss-commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
03:45 AM Bug #9662: [Doc] Typo in README.EXT
backported into `ruby_2_0_0` at r46739. usa (Usaku NAKAMURA)
03:44 AM Revision ea5adc4c (git): merge revision(s) 45495: [Backport #9662]
* README.EXT: fix typo.
[ruby-core:61634] [Bug #9662]
* README.EXT.ja: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@46739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:43 AM Bug #8625: IO#read(len, buf) shortens buf even if data is not read actually
backported into `ruby_2_0_0` at r46738. usa (Usaku NAKAMURA)
03:43 AM Revision ae8a4a43 (git): merge revision(s) 46360,46372: [Backport #8625]
* io.c (io_setstrbuf, io_read): should not shorten the given buffer until
read succeeds. [ruby-core:55951] [Bug #8625]
* io.c (read_all): truncate the buffer before appending read data,
instead of truncating...
U.Nakamura
03:42 AM Revision 2c551e47 (git): * parse.y: need to use updated (re-created) symbols.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
03:38 AM Bug #416: core_set_method_alias
backported into `ruby_2_0_0` at r46736. usa (Usaku NAKAMURA)
03:37 AM Revision 20666f4a (git): merge revision(s) 45399,45400,46036,46037: [Backport #416]
vm.c: merge code
* vm.c (m_core_hash_from_ary, m_core_hash_merge_ary): merge
duplicated code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@46736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:17 AM Bug #9949: Net::FTP#gettextfile truncates last line when missing newline before EOF
backported into `ruby_2_0_0` at r46735. usa (Usaku NAKAMURA)
03:17 AM Revision ea0bf826 (git): merge revision(s) 46457,46458: [Backport #9949]
* lib/net/ftp.rb (gets, readline): read lines without LF properly.
[ruby-core:63205] [Bug #9949]
* test/net/ftp/test_buffered_socket.rb: related test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@4...
U.Nakamura
03:13 AM Bug #9885: lib/net/imap.rb: FETCH-ed BODYSTRUCTURE with "MIXED" body type fails
backported into `ruby_2_0_0` at r46734. usa (Usaku NAKAMURA)
03:13 AM Revision 5ff287ad (git): merge revision(s) 46331: [Backport #9885]
* lib/net/imap.rb (body_type_1part): Gmail IMAP reports a body
type as "MIXED" followed immediately by params
[ruby-core:62864] [Bug #9885]
Patch by @rayners (David Raynes). [Fixes GH-622]
https://...
U.Nakamura
03:08 AM Bug #8167: net/imap failing to parse IMAP response containing one BODYSTRUCTURE
backported into `ruby_2_0_0` at r46733. usa (Usaku NAKAMURA)
03:07 AM Revision 9f3a1d75 (git): merge revision(s) 40372: [Backport #8167]
* lib/net/imap.rb (body_type_msg): should accept
message/delivery-status with extra data.
[ruby-core:53741] [Bug #8167]
* test/net/imap/test_imap_response_parser.rb: related test.
git-svn-id: svn+ssh://ci.r...
U.Nakamura
03:00 AM Bug #9994: replace deprecated macro finite() with isfinite() (fixed at r44505)
backported into `ruby_2_0_0` at r46732. usa (Usaku NAKAMURA)
03:00 AM Revision c8c913c6 (git): merge revision(s) 44505: [Backport #9994]
numeric.c: isfinite
* numeric.c (flo_is_finite_p): prefer C99 standard isfinite() than
deprecated finite().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@46732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
02:52 AM Bug #9486: Multiple Kernel#local_variables entries with block local parameters
backported r45845 and r45847 into `ruby_2_0_0` at r46731.
skipping r45846 because it's not the test for this change.
And, in fact, what is tested here is another problem that exists in the current state 2.0.0.
It is not known at thi...
usa (Usaku NAKAMURA)
02:49 AM Revision e4256538 (git): merge revision(s) 45845,45847: [Backport #9786]
* parse.y (local_tbl_gen): remove local variables duplicated with
arguments.
[ruby-core:60501] [Bug #9486]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@46731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
02:40 AM Bug #9759: [TracePoint API] return event missing when raising exception
r45758 is not enough to resolve this problem for ruby_2_0_0.
But I cannot find what is missing.
ko1, do you have any idea?
usa (Usaku NAKAMURA)
02:10 AM Bug #9912 (Assigned): URI#to_s with an empty host formats the string incorrectly
nagachika (Tomoyuki Chikanaga)
02:07 AM Revision 011b74b7 (git): * tool/mkconfig.rb: remove not to require rbconfig/obsolete.rb.
* lib/rbconfig/obsolete.rb: removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
01:53 AM Revision a31219c9 (git): * parse.y: do not use rb_gc_resurrect(), but create a new dynamic
symbol for garbage dynamic symbol.
* common.mk: use gc.h by parse.y.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)

07/06/2014

11:47 PM Revision 69e9b27a (git): string.c: do not use garbage object
* string.c (fstr_update_callback): should not access garbage
object contents, copy from the argument instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:09 PM Bug #10010: Error in TestEnv#test_memory_leak_* on Solaris
TestEnv#test_memory_leak_* では、子プロセス内のコードで ENV.clear を呼んでいて、
上記コードもその子プロセス内で呼ばれることになるため、つまり、
上記コードを通る際には ENV[PATH]は nil になった状態です。
このため、ENV["PATH"].split の部分でエラーになると思います。
以下のようにPATHを保存して最後に復旧するようにしたら、Errorは出なくなりました。(Failureにはなりますが、OS...
ngoto (Naohisa Goto)
04:19 PM Bug #10010 (Feedback): Error in TestEnv#test_memory_leak_* on Solaris
これでどうでしょう。
見つからなかったときにどうするか悩ましいですが。
~~~diff
diff --git a/test/ruby/memory_status.rb b/test/ruby/memory_status.rb
index f8e097a..ef973ee 100644
--- a/test/ruby/memory_status.rb
+++ b/test/ruby/memory_status.rb
@@ -82,7 +82,17 @@ ...
nobu (Nobuyoshi Nakada)
12:55 PM Bug #10010: Error in TestEnv#test_memory_leak_* on Solaris
コードをよく読んだら原因の推測が間違っていたので訂正します。
> なお、Solaris では、/proc/self/status は struct pstatus_t の内容のバイナリを返しますが、それには全く対応していないので、nil になるか、偶然バイナリ値が何かに一致した場合にでたらめな値が返されるかのいずれかになります。
は明確に間違いで、ps を利用して、それなりの値を返すようにはなっていました。
しかし、test_env.rb 内のテストコ...
ngoto (Naohisa Goto)
10:55 AM Bug #10010 (Closed): Error in TestEnv#test_memory_leak_* on Solaris
r46550 くらい以降、Solaris 10 にて make test-all 中、以下のエラーが発生します。
(r44686 にて確認)
test/envutil.rb の 438行目にて、:size や :rss 用の情報が、OS側の何らかの理由で示されず、その結果ハッシュにも格納されず、 a または b が nil になることがあるのに、それに対応していないのが原因と思います。
なお、Solaris では、/proc/self/status は s...
ngoto (Naohisa Goto)
05:20 PM Revision 7ad35210 (git): * string.c (fstr_update_callback): do not use rb_gc_resurrect()
any more.
Make new frozen string and replace with garbage frozen string.
* common.mk: use gc.h from string.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
03:53 PM Bug #10011 (Closed): Passing a string to Pathname#relative_path_from results in NoMethodError
When a string is passed to Pathname#relative_path_from, a NoMethodError is raised.
```
irb(main):001:0> require "pathname"
=> true
irb(main):002:0> Pathname.new("/usr/bin/cc").relative_path_from Pathname.new("/usr/bin")
=> #<Pathn...
Anonymous
03:42 PM Revision 2006bfe2 (git): * gc.c: rename is_dying_object() to is_garbage_object().
* gc.h: rb_objspace_garbage_object_p() as an exported function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
03:22 PM Revision 6a9b242a (git): st.c: fix uninitialized variable
* st.c (st_update): old_key is uninitialized by jump to the label
unpacked.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:13 PM Revision d74fdfb1 (git): * 2014-07-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:11 PM Revision 783b3c8d (git): st.c: remove equality checks
* st.c (st_update): remove equality checks, callers should ensure
the equality, otherwise the behavior is undefined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:42 PM Revision ea74da0c (git): st.c: re-calc hash_val before adding
* st.c (st_update): re-calculate hash_val before adding if key was
changed, otherwise cannot access the newly added element if it
has different hash value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46722 b2dd03c8-39d4-4d8f-9...
nobu (Nobuyoshi Nakada)
02:29 PM Bug #9729: Hash#each が無限ループする
Backported into `ruby_2_1` branch at r46721. nagachika (Tomoyuki Chikanaga)
02:29 PM Bug #9646: Infinite loop at Hash#each
Backported into `ruby_2_1` branch at r46721. nagachika (Tomoyuki Chikanaga)
02:28 PM Revision 068a7dff (git): merge revision(s) r45642,r45643: [Backport #9646] [Backport #9729]
* st.c (st_foreach_check): chnage start point of search at check
from top to current. [ruby-dev:48047] [Bug #9646]
* st.c (st_foreach_check): change start point of search at check
git-svn-id: svn+ssh://ci.ruby-lang.o...
nagachika (Tomoyuki Chikanaga)
02:19 PM Revision e6be6ebc (git): st.c: update the key too if changed
* st.c (st_update): fix a bug that the key was not updated even if
it was changed by the callback function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:58 PM Bug #9543: [Doc] Fix example in GServer documentation (lib/gserver)
Backported into `ruby_2_1` branch at r46719. nagachika (Tomoyuki Chikanaga)
01:57 PM Revision 1fe220dc (git): merge revision(s) r45344: [Backport #9543]
* lib/gserver.rb: [DOC] Fixed typo in example by @stomar [Bug #9543]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@46719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
01:28 PM Bug #10009: IO operation is 10x slower in multi-thread environment
Alexandre Riveira wrote:
I applied tests using Rubinius.
Rubinius uses only 1 processor due to applied taskset, results:
first 18164692
second 10007 <==========
third 18184825
ariveira (Alexandre Riveira)
07:47 AM Bug #10009: IO operation is 10x slower in multi-thread environment
My environment is Debian 3.2.0-4-amd64 ariveira (Alexandre Riveira)
07:35 AM Bug #10009 (Assigned): IO operation is 10x slower in multi-thread environment
I created this issue #9832 but not have io operation.
In the script attached I simulate IO operation in multi-thread environment.
For ruby 1.9.2 apply `taskset -c -p 2 #{Process.pid}` for regulates threads behavior.
The second Thread ...
ariveira (Alexandre Riveira)
12:45 PM Revision 9f051c80 (git): * file.c, ext/pathname/pathname.c: [DOC] correct position of method rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
12:33 PM Revision 094949cb (git): * gc.c (is_dying_object): fix missed condition.
* gc.c (is_live_object): move frequent path first.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
12:02 PM Revision 38943e80 (git): * gc.c: rename is_dead_object() to is_dying_object().
This function is not opposite against is_live_object()
because is_dying_object() does *not* check object type.
* gc.c (is_dying_object): change condition.
* gc.c (is_live_object): use T_NONE instead of 0.
* gc.c (rb_objspace_dying_obje...
ko1 (Koichi Sasada)
05:31 AM Bug #10008 (Feedback): conftest crashed: installing mri 2.1.2: EXC_BAD_ACCESS (SIGABRT)
nobu (Nobuyoshi Nakada)
05:31 AM Bug #10008: conftest crashed: installing mri 2.1.2: EXC_BAD_ACCESS (SIGABRT)
Which `conftest`?
Some `conftest`s are expected to segfault.
nobu (Nobuyoshi Nakada)
05:16 AM Bug #10008 (Closed): conftest crashed: installing mri 2.1.2: EXC_BAD_ACCESS (SIGABRT)
crash dump: https://gist.github.com/jaredbeck/be73c376b860d8d6eed9
```bash
cd ~/.rbenv
git log --oneline | head -n1
# 13a474c Get rid of explicit exit in fish branch of `rbenv-init`
cd plugins/ruby-build/
git log --oneline | head...
jaredbeck (Jared Beck)
05:20 AM Revision ad92b09e (git): split tool/fake.rb
* tool/fake.rb: split from template/fake.rb.in.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:42 AM Revision a617afc6 (git): * gc.c (rb_gc_register_mark_object): change data structure.
From single array, to array of arrays. Each array only has 1024
entries.
* vm.c (Init_vm_objects): change default capa from 1 to 128.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
02:42 AM Revision 92089610 (git): fake.rb.in: override File::ALT_SEPARATOR
* template/fake.rb.in (File::ALT_SEPARATOR): override
ALT_SEPARATOR if different, not only a backslash.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:42 AM Revision 24e41046 (git): mkconstants.rb: remove empty comments
* ext/etc/mkconstants.rb: remove empty comments, defaut_proc isn't
called by accessing nil-assigned elements, and the same content
is useless.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:03 AM Revision 09e36e47 (git): rdoc/stats/normal.rb: fix last_width
* lib/rdoc/stats/normal.rb (print_file): reset @last_width to the
last line size.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:00 AM Revision d054cab6 (git): rdoc/stats/normal.rb: IO.console_size
* lib/rdoc/stats/normal.rb (print_file): use IO.console_size to
follow window resize.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:00 AM Revision 25e8f524 (git): rdoc/stats/normal.rb: clear previous output
* lib/rdoc/stats/normal.rb (print_file): clear previous output
instead of filling the line, not to leave extra spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

07/05/2014

11:38 PM Revision 31cd6420 (git): * 2014-07-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:38 PM Revision dd1f6b7d (git): common.mk: ignore clean-runnable errors
* common.mk (clean-runnable): get rid of errors running again after
clean-runnable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:13 PM Feature #9064: Add support for packages, like in Java
Hi,

I only have now seen this feature request.
Luckily it came almost at the same time has my feature request for an __internal interface__ (https://bugs.ruby-lang.org/issues/9992).
It seems that we are now starting to think mo...
dsferreira (Daniel Ferreira)
08:56 AM Bug #9183 (Closed): IRB::Localeの属性名にtypo
fixed at r46700 hsbt (Hiroshi SHIBATA)
07:05 AM Revision c97934b3 (git): common.mk: remove sizes.o
* common.mk (sizes.o): remove stale target.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:02 AM Revision 86689e03 (git): common.mk: empty by distclean
* common.mk (clean-runnable): remove files made by mkrunnable.
* common.mk (clean-extout): remove archir too.
* common.mk (clean-ext): remove timestamp directory
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46705 b2dd03c8-39d4-4d...
nobu (Nobuyoshi Nakada)
07:02 AM Revision 17368c69 (git): ext/rbconfig/sizeof: distclean
* ext/rbconfig/sizeof/extconf.rb: clean sizes.c at distclean.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:32 AM Revision e8778357 (git): ext/etc: distclean
* ext/etc/extconf.rb: clean constdefs.h at distclean.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:13 AM Revision 5a60ddc5 (git): * class.c: [DOC] mention about prepended modules.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
02:54 AM Revision 566f1e71 (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)

07/04/2014

08:05 PM Revision c2356225 (git): lib/irb/locale.rb: fix typo
* lib/irb/locale.rb (IRB::Locale#modifier): fix wrong attr_reader
`modifieer` => `modifier` from irb locale. [fix GH-656]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:32 PM Revision 8eedcaa6 (git): common.mk: move DEFAULT_PRELUDES
* common.mk (DEFAULT_PRELUDES): no longer configurable since
r43278, move from Makefile.in and win32/Makefile.sub.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:27 PM Revision 45395fea (git): * 2014-07-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:27 PM Revision 5405eff9 (git): parse.y: fix casts
* parse.y (reg_named_capture_assign_gen): remove needless cast.
* parse.y (must_be_dynamic_symbol, intern_cstr_without_pindown):
get rid of type-punning cast.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46697 b2dd03c8-39d4-4d8f...
nobu (Nobuyoshi Nakada)
12:57 PM Bug #9681: miniruby Bus Error at 0x3d44c4
Thank you very much!
In my experience, compiling ruby with --enable-dtrace (enabled by default on Solaris during configure) and relatively higher compiler optimization flags (-O2, -O3 or higher) fails with bus error or segmentation fa...
ngoto (Naohisa Goto)
12:02 PM Bug #9681: miniruby Bus Error at 0x3d44c4
I can also confirm that Ruby 2.1.2 works on Solaris 10 x86 when compiled with Oracle Studio 12.3:
~~~
dam@unstable10x [global]:/home/dam/tmp/rubyx/ruby-2.1.2 > gmake test
CC = /opt/solarisstudio12.3/bin/cc
LD = /usr...
dagobert (Dagobert Michelsen)
09:30 AM Bug #9681: miniruby Bus Error at 0x3d44c4
I can confirm that the error is also present in Ruby 2.1.2 when compiling with gcc 4.9.0:
~~~
In file included from ./include/ruby/ruby.h:24:0,
from ./include/ruby.h:33,
from ./missing/signbit.c:2:...
dagobert (Dagobert Michelsen)
11:48 AM Revision 336f65eb (git): * parse.y: rename symbols::sym_id to symbols::str_id.
This table is not {Symbol => ID} table, but
{String => ID} table.
* parse.y (lookup_sym_id): also rename lookup_sym_id() to
lookup_str_id() because key is not Symbol, but String.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4...
ko1 (Koichi Sasada)
09:42 AM Revision a99a88d4 (git): * parse.y (must_be_dynamic_symbol): fix missed-condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
09:39 AM Revision cc462eed (git): * parse.y (rb_pin_dynamic_symbol): should be `static' function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
09:11 AM Revision a227b16e (git): * parse.y (must_be_dynamic_symbol): refactoring.
* add `inline'.
* use UNLIKELY().
* check only DYNAMIC_SYM_P(), otherwise it is a bug.
* lookup_id_str() is not needed in second condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46693 b2dd03c8-39d4-4d8f-98ff-823fe69b...
ko1 (Koichi Sasada)
08:00 AM Revision 535ee019 (git): test/unit.rb: newline after message
* test/lib/test/unit.rb (deal): print a newline after an error
message for unknown command not to overwritten by next messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:30 AM Revision 27cafcfc (git): parse.y: remove global_symbols.op_sym
* parse.y (global_symbols): remove op_sym, cache by fstring
instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:16 AM Revision 56ff2b50 (git): parse.y: use rb_fstring_new
* parse.y (rb_id2str): use rb_fstring_new() instead of rb_fstring()
with a new string instance.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:32 AM Revision 72194a89 (git): string.c: rb_fstring_new assumes US-ASCII
* string.c (rb_fstring_new): make US-ASCII string. another
function may be used for non-ASCII strings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:10 AM Revision 5e294b78 (git): parse.y: pack op_tbl
* parse.y (op_tbl): pack limited size strings. gcc/clang warn
if initializer-string for char array is too long, but no option
to err it now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:17 AM Revision d21c35ca (git): compile_prelude.rb: remove comments
* tool/compile_prelude.rb (translate): remove comments which are
not used in compiled sources.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:03 AM Revision c46bafcb (git): ChangeLog: fix typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:56 AM Revision 3e8a898b (git): * parse.y: remove unused code
srounded by `#if ENABLE_SELECTOR_NAMESPACE'
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
01:09 AM Revision ae156550 (git): * test/rubygems/test_gem_package.rb: avoid tempfile leaks using Tempfile#close!
* test/rubygems/test_gem_request_set.rb: ditto.
* test/rubygems/test_gem_request_set_gem_dependency_api.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
12:47 AM Revision fb38b907 (git): Revert "test/rdoc: avoid tempfile leaks"
This reverts commit r46145.
Tempfile.create is only available Ruby 2.1 or higher.
rubygems need to support Ruby 1.9 and 2.0 series.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)

07/03/2014

07:46 PM Revision d8a2c3c0 (git): * lib/net/htp/response.rb (Net::Inflater#inflate_adapter):
prevent automatic encoding conversion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
07:46 PM Revision 6811973d (git): * lib/net/http/response.rb (Net::HTTP.each_response_header):
raise first exception even if inflate_body_io.finish raises error.
when begin block raises error, finish usually raises error too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
06:00 PM Revision 7af73882 (git): * lib/uri/generic.rb (URI::Generic#query=): remove validation, just
escape. [Feature #2542]
* lib/uri/generic.rb (URI::Generic#fragment=): ditto.
* lib/uri/generic.rb (URI::Generic#check_query): removed.
* lib/uri/generic.rb (URI::Generic#set_query): ditto.
* lib/uri/generic.rb (URI::Generic#check_fr...
naruse (Yui NARUSE)
06:00 PM Revision 4a393563 (git): * 2014-07-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:59 PM Revision 88df8816 (git): change default not tot create useless object
initheader = initheader ? initheader.dup : {}
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
03:46 PM Bug #9814: Improving documentation example for Enumerator#peek
Backported into `ruby_2_1` branch at r46677. nagachika (Tomoyuki Chikanaga)
03:46 PM Revision 5fdc9a2e (git): merge revision(s) r46099: [Backport #9814]
* enumerator.c: [DOC] Fix example to show Enumerator#peek behavior
Patch by Erik Hollembeak [Bug #9814]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@46677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
03:45 PM Bug #9819: changed documentation for enumerable methods find and detect
Backported into `ruby_2_1` branch at r46676. nagachika (Tomoyuki Chikanaga)
03:44 PM Revision aa04a722 (git): merge revision(s) r46095: [Backport #9819]
* enum.c: [DOC] Use #find in example to clarify alias by @rachellogie
Patch submitted via documenting-ruby/ruby#34
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@46676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
03:43 PM Bug #9773: broken link in man/ruby.1
Backported into `ruby_2_1` branch at r46675. nagachika (Tomoyuki Chikanaga)
03:43 PM Revision 95338ad3 (git): merge revision(s) r45896: [Backport #9773]
* man/ruby.1: remove deadlink. [ruby-core:62145][Bug #9773]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@46675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
03:42 PM Bug #9738: A document fix for Rinda::TupleEntry#renew
backported into `ruby_2_1` branch at r46674. nagachika (Tomoyuki Chikanaga)
03:41 PM Revision e363464b (git): merge revision(s) r45786: [Backport #9738]
* lib/rinda/tuplespace.rb: fix document. [ruby-core:62003][Bug #9738]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@46674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
03:40 PM Bug #9684: Use same error messages in struct.c
r45462, r45463 and r45466 were backported into `ruby_2_1` branch at r46673. nagachika (Tomoyuki Chikanaga)
03:37 PM Revision 598fc49d (git): merge revision(s) r45462,r45463,r45466: [Backport #9684]
* struct.c (not_a_member): extract name error and use same error
messages. based on the patch by Marcus Stollsteimer <sto.mar AT
web.de> at [ruby-core:61721]. [Bug #9684]
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
nagachika (Tomoyuki Chikanaga)
03:18 PM Bug #9454: The define_method(:class) segfault
... but reverted because it introduced SEGV on CentOS.
Maybe somthing is missed, but I wasn't able to find it.
usa (Usaku NAKAMURA)
04:37 AM Bug #9454: The define_method(:class) segfault
backported into `ruby_2_0_0` at r46667 and r46669. usa (Usaku NAKAMURA)
03:16 PM Revision 091c0753 (git): revert r46667 and r46669 because they introduced SEGV on CentOS.
see [Bug #9454] [Bug #9945]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@46672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
12:35 PM Bug #9985: Gems documenation is not generated when installing local gem with --ignore-dependencies option
Zachary Scott wrote:
> Could you please tell us the full command you used to reproduce this problem?
`$ gem install --local ./pkg-config-1.1.4.gem --install-dir=.
Successfully installed pkg-config-1.1.4
Parsing documentation for pk...
Pulfer (Andrey Bondrov)
06:21 AM Bug #9321: rb_mod_const_missing does not generate a c-return event
backported into `ruby_2_0_0` at r46671. usa (Usaku NAKAMURA)
06:20 AM Revision 6ece9085 (git): merge revision(s) 44535,44536: [Backport #9321]
* vm.c (rb_vm_pop_cfunc_frame): added. It cares c_return event.
The patch base by drkaes (Stefan Kaes).
[Bug #9321]
* variable.c (rb_mod_const_missing): use rb_vm_pop_cfunc_frame()
instead of rb_fr...
U.Nakamura
06:00 AM Revision c6697027 (git): merge revision(s) 46481: [Backport #9966]
* encoding.c (enc_find): [DOC] never accepted a symbol.
[ruby-dev:48308] [Bug #9966]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@46670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
05:13 AM Revision 854db4e8 (git): * thread_pthread.c: fixed compile error on linux.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@46669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
04:38 AM Revision 4c81c909 (git): fix a part of speech [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
04:36 AM Revision 750e2a7d (git): merge revision(s) 44712,44715,44716,44722,44725,44726,44753: [Backport #9454] [Backport #9945]
* thread_pthread.c: get current main thread stack size, which may
be expanded than allocated size at initialization, by rlimit().
[ruby-core:60113] [Bug #9454]
* thread_pthread.c: get current main thread stac...
U.Nakamura
03:40 AM Revision c2b09921 (git): configure.in: fix static-linked-ext
* configure.in (--with-static-linked-ext): fix for extensions to
be linked statically.
* Makefile.in, common.mk: use ENCSTATIC for enc directory.
* ext/extmk.rb: supply dependencies of statically linked extension
libraries.
git-svn-...
nobu (Nobuyoshi Nakada)
03:38 AM Revision e0515646 (git): * 2014-07-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:38 AM Revision 0b4e4b20 (git): extmk.rb: GNU make -C option
* ext/extmk.rb: use -C option for GNU make instead of shell.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:38 AM Revision 876bfc6b (git): Init functions don't need ID caches
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:30 AM Feature #9893 (Closed): [RFC] README.EXT: document rb_gc_register_mark_object
sorry for noise. This is duplicated ticket (#9894) nagachika (Tomoyuki Chikanaga)
03:25 AM Feature #9893 (Assigned): [RFC] README.EXT: document rb_gc_register_mark_object
nagachika (Tomoyuki Chikanaga)
03:15 AM Bug #9877 (Assigned): IRB::OutputMethod defines "pp", but it's actually "p"
nagachika (Tomoyuki Chikanaga)
03:14 AM Bug #9876 (Assigned): IRB::Context output_method is not used
nagachika (Tomoyuki Chikanaga)
03:10 AM Bug #9875 (Closed): ERB#result documentation incorrect
applied at r46241. nagachika (Tomoyuki Chikanaga)
01:11 AM Bug #10007 (Closed): IO#read does not respect String Copy-On-Write in some cases
2.0.0p510 and 2.1.2p161 have no problems. nobu (Nobuyoshi Nakada)
12:01 AM Bug #10007: IO#read does not respect String Copy-On-Write in some cases
No problems in the trunk. nobu (Nobuyoshi Nakada)

07/02/2014

10:20 PM Bug #10007 (Closed): IO#read does not respect String Copy-On-Write in some cases
~~~ruby
#!/usr/bin/env ruby
CHUNK_SIZE = 29 # no problems with CHUNK_SIZE = 28
File.open(__FILE__,'r') do |f|
d0 = ''
a = []
f.read(CHUNK_SIZE, d0)
a << d0[15..-2]
a << d0[5..-2]
a << d0[-5..-2]
a...
zed_0xff (Andrey Zaikin)
06:33 PM Bug #10006 (Rejected): instance_exec uses incorrect binding with curried proc
After using `Proc#curry`, `instanve_eval`/`instance_exec` does not seem to work:
~~~ruby
class Test
def test_func
140
end
end # => :test_func
p = ->(x, y) { x + y + test_func } # => #<Proc:0x007fd23b12bc80@(irb):6 (l...
ledbettj (John Ledbetter)
04:57 PM Bug #9662: [Doc] Typo in README.EXT
Backported into `ruby_2_1` branch at r46662. nagachika (Tomoyuki Chikanaga)
04:55 PM Revision 2d90c01a (git): merge revision(s) r45495: [Backport #9662]
* README.EXT: fix typo.
[ruby-core:61634] [Bug #9662]
* README.EXT.ja: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@46662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
04:28 PM Bug #9811: Numeric#step ignores `to` silently by keyword arguments.
r45858, r45859, r45860, r45861 and r46638 were backported into `ruby_2_1` branch at r46661. nagachika (Tomoyuki Chikanaga)
04:27 PM Revision 5ab69337 (git): merge revision(s) r45858,r45859,r45860,r45861,r46638: [Backport #9811]
numeric.c: indent
* numeric.c (ruby_num_interval_step_size): adjust indent.
* numeric.c (num_step_scan_args): check keyword arguments and fail
if they conflict with positional arguments.
[ruby-dev:481...
nagachika (Tomoyuki Chikanaga)
04:16 PM Bug #10004: lack of "http 80/tcp" in /etc/inet/services in Solaris 10 causes error during make test-all
It seems correct that rubygems can't continue in such case.
Probably those situations should be skipped.
nobu (Nobuyoshi Nakada)
01:20 PM Bug #10004 (Closed): lack of "http 80/tcp" in /etc/inet/services in Solaris 10 causes error during make test-all
On Solaris 10, because of the lack of "http" in the default /etc/inet/services, the following error occurs during make test-all.
~~~
52) Error:
TestGemCommandsServerCommand#test_handle_options_port:
OptionParser::InvalidArgument: ...
ngoto (Naohisa Goto)
09:00 AM Feature #10002: String swapcase
We are talking about swapcase, not folding. The "generally they are not reversible" you say is the difficulty we are facing here. Also as you cited CaseFolding.txt, you should have been aware of type T folding, which is impossible witho... shyouhei (Shyouhei Urabe)
01:51 AM Feature #10002: String swapcase
We should delegate to @_emboss_ everytime we need to convert ß... zzak (zzak _)
01:15 AM Feature #10002: String swapcase
It have been already figured out by [Unicode Standard](http://www.unicode.org/versions/Unicode6.3.0/), so just have to implement it. Look at Default Case Algorithms in section 3.13 and Case Mappings in section 5.18. Mappings can be viewe... davispuh (Dāvis Mosāns)
01:11 AM Feature #10002: String swapcase
At this time, [ffi-icu](https://github.com/jarib/ffi-icu) or [twitter-text-rb](https://github.com/twitter/twitter-cldr-rb) is useful. naruse (Yui NARUSE)
12:09 AM Feature #10002: String swapcase
The current implementation of case conversion methods in String class only understands ASCII characters.
We'd like to enhance it when possible. But we have to know how each character should be converted.
For example, how should we con...
matz (Yukihiro Matsumoto)
08:25 AM Revision 255adda5 (git): hash.c: use rb_check_arity
* hash.c (rb_hash_initialize, rb_hash_fetch_m, rb_hash_default):
use rb_check_arity over rb_scan_args.
(env_fetch): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:03 AM Revision 18a9926a (git): sprintf.c: check_name_arg
* sprintf.c (check_name_arg): utility function for GETNAMEARG().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:03 AM Revision 3f48c1fd (git): sprintf.c: check_pos_arg
* sprintf.c (check_pos_arg): utility function for GETPOSARG().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:03 AM Revision 42052338 (git): sprintf.c: check_next_arg
* sprintf.c (check_next_arg): utility function for GETNEXTARG().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:03 AM Revision 3659c10b (git): sprintf.c: get_num
* sprintf.c (get_num): utility function for GETNUM().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:00 AM Bug #9742 (Third Party's Issue): Error when trying to debug line with "startDate = Time.parse('2014-Apr-01 12:00:30')"
usa (Usaku NAKAMURA)
07:59 AM Revision 54336ee1 (git): test_io.rb: fix leaked threads
* test/ruby/test_io.rb (test_readpartial_locktmp): ensure reading
thread is dead to fix leaked threads.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:59 AM Revision 02ddcb4b (git): leakchecker.rb: MiniTest::Unit.output
* test/lib/leakchecker.rb (LeakChecker#puts): send output to
MiniTest::Unit.output, not to be mixed with parallel test
commands.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:55 AM Bug #9824: mkmf.rb top_srcdir not printed in Makefile of ext/openssl
Daniel Berger wrote:
> Ok, please help me to understand. If Visual C++ is supported, why doesn't $(top_srcdir) get set in the generated Makefile when compiling from source? And is there a way we can set it without resorting to hand edit...
naruse (Yui NARUSE)
07:41 AM Bug #9700 (Rejected): [DOC] Fix for documentation of URI::Escape
usa (Usaku NAKAMURA)
07:40 AM Bug #8737 (Third Party's Issue): [BUG] Bus Error
usa (Usaku NAKAMURA)
07:31 AM Bug #9815 (Feedback): attr_reader doesn't warn on a uninitialized instance variable
usa (Usaku NAKAMURA)
07:30 AM Bug #9809 (Rejected): Date.new(2000,1,1).cweek should == 1
usa (Usaku NAKAMURA)
07:14 AM Bug #9762 (Rejected): keywork argument do not work in some situation
usa (Usaku NAKAMURA)
07:11 AM Bug #10003: Hash#fetch performance issue
Jeremy is correct, Hash#[] (and Array#[]) have optimized dispatch.
I hardly see Hash#fetch used anywhere, and optimizing dispatch for
uncommon cases hurts performance of common cases.

P.S. even if Hash#fetch were optimized, it woul...
normalperson (Eric Wong)
06:47 AM Revision 41fe5248 (git): * gc.c (gc_heap_lazy_sweep): simplify logic.
* gc.c (gc_page_sweep): return TRUE if empty slots are available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
06:39 AM Revision 60a5a85d (git): * tool/redmine-backporter.rb: support new status 'WONTFIX'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
06:26 AM Revision ed762c0b (git): webrick/utils.rb: mark by class name
* lib/webrick/utils.rb (WEBrick::Utils::TimeoutHandler::Thread):
use particular class to mark by the class name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:11 AM Bug #9636 (Rejected): Fiddle::Importer で Segmentation fault が発生する
usa (Usaku NAKAMURA)
01:41 AM Feature #9860 (Closed): Extract Logger::Application from logger.rb
Applied in changeset r46650.
----------
* logger.rb: removed unmaintain code.
[Feature #9860][ruby-core:62724]
* test/logger/test_application.rb: ditto.
hsbt (Hiroshi SHIBATA)
01:41 AM Revision 931d2fd5 (git): * logger.rb: removed unmaintain code.
[Feature #9860][ruby-core:62724]
* test/logger/test_application.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
 

Also available in: Atom