Project

General

Profile

Activity

From 09/09/2014 to 09/15/2014

09/15/2014

07:00 PM Bug #10231: Process.detach(pid) defines new singleton classes every call
Eric Wong wrote:
> I prefer deliberately leaving out Process::Waiter and Thread references,
> since I think we ma...
headius (Charles Nutter)
02:26 PM Bug #9971: potential stack overflow check deadlock (fixed at r46495)
まだ完全ではないとのことでしたが、念のため r46495 と r46499 を r47597 で `ruby_2_1` へバックポートしました。 nagachika (Tomoyuki Chikanaga)
02:11 PM Bug #10242: Backport r47591 (Pathname#relative_path_from crash)
Backported into `ruby_2_1` branch at r47596. nagachika (Tomoyuki Chikanaga)
01:22 PM Bug #10242 (Closed): Backport r47591 (Pathname#relative_path_from crash)
r47591 で修正された pathname.rb の当該箇所は 2.0.0 と 2.1 でも同様で、Encodingが異なる文字列でString#casecmpがnilを返す点も同じなので同様の問題があると思います。
バックポ...
nagachika (Tomoyuki Chikanaga)
01:33 PM Bug #10241: Backport r47590 (fix a typo in fiddle/import.rb)
Backported into `ruby_2_1` branch at r47595. nagachika (Tomoyuki Chikanaga)
01:10 PM Bug #10241 (Closed): Backport r47590 (fix a typo in fiddle/import.rb)
r47590 で修正された typo は 2.0.0, 2.1 にもあります。
バックポート管理用チケットなので Close 状態で作成します。
nagachika (Tomoyuki Chikanaga)
07:38 AM Feature #10177: Hash#has_key? and Hash#has_value? should be deprecated
Salutations,
First Last wrote:
> Tsuyoshi Sawada wrote:
> > I don't understand how `has_key?` is better
>
> I...
spatulasnout (B Kelly)
02:12 AM Bug #8315: mkmf does not include include paths from pkg_config anymore
Sorry, r47587 breaks build of digests/*.
I overlooked r44459 and r44460 because they seems a new feature (and ther...
nagachika (Tomoyuki Chikanaga)
12:45 AM Bug #10235 (Rejected): make fails to configure OpenSSL on OS X 10.9.4 (Mavericks)
hsbt (Hiroshi SHIBATA)

09/14/2014

07:58 PM Feature #10240: `String#to_a`
I understand your intention, but I think proposed behavior is bit awkward for `to_a` of String class.
As you know `t...
matz (Yukihiro Matsumoto)
02:51 PM Feature #10240 (Rejected): `String#to_a`
I often want to exclude the empty strings from an array of strings. A use case is to join an array of strings with `"... sawa (Tsuyoshi Sawada)
06:29 PM Feature #10177: Hash#has_key? and Hash#has_value? should be deprecated
I guess the culture gap (not language gap) is leading to imbroglio in this case.
http://en.wikipedia.org/wiki/High...
mame (Yusuke Endoh)
05:00 AM Feature #10177: Hash#has_key? and Hash#has_value? should be deprecated
First Last wrote:
> That the conjugation can be off is nothing, next to not knowing what question is being asked.
...
sawa (Tsuyoshi Sawada)
04:43 AM Feature #10177: Hash#has_key? and Hash#has_value? should be deprecated
Tsuyoshi Sawada wrote:
> I don't understand how `has_key?` is better
I already explained it, all I can do is rest...
rits (First Last)
04:15 AM Feature #10177: Hash#has_key? and Hash#has_value? should be deprecated
`has_key?` is one of the few exceptions to the naming convention in that it uses the third person singular present fo... sawa (Tsuyoshi Sawada)
04:15 PM Bug #8315: mkmf does not include include paths from pkg_config anymore
Backported into `ruby_2_1` branch at r47587. nagachika (Tomoyuki Chikanaga)
03:31 PM Bug #10218 (Closed): 手続きを再帰するとSegmentation faultが発生する
おっしゃる通り #9454 や #9945 と同様で、 trunk では修正済み、2.1 ブランチでも(おそらく 2.0.0 でも)同様の修正が取り込まれているはずです。(RubyCI では稀にまだ失敗することがあるようですが)。 nagachika (Tomoyuki Chikanaga)
03:26 PM Bug #9766: Add force_encoding option to csv
r46391 and r46395 were backported into `ruby_2_1` branch at r47586. nagachika (Tomoyuki Chikanaga)
02:47 PM Bug #9907: Abbreviated method assignment with private attr_writer/attr_reader does not work.
This seems a spec change for me. Any comments? nagachika (Tomoyuki Chikanaga)
10:23 AM Feature #10017: Add `Hash#fetch_values`
For the reason Andrew pointed out, I also prefer `#fetch_values`.
Maybe we need to conduct voting?
Matz.
matz (Yukihiro Matsumoto)
09:56 AM Bug #10222: require_relative and require should be compatible with each other when symlinks are used
Curious behaviour indeed, there may be a reason why symlinks were assumed to behave differently. shevegen (Robert A. Heiler)
09:54 AM Bug #10239 (Closed): Regexp.quote() and default encoding
Hello,
I am not sure if this is a bug, or unexpected behaviour (for me).
I will simply report it, I am sure you...
shevegen (Robert A. Heiler)
12:28 AM Feature #10228: Statistics module
The Ruby/GSL gem provides a Ruby interface to GSL which provides a great deal of statistical functionality and much ... david_macmahon (David MacMahon)
12:16 AM Feature #10238 (Assigned): todo: remove dependency on malloc_usable_size
malloc_usable_size shows up at or near the top of many profiles for me.
We should be able to use ruby_sized_xfree ...
normalperson (Eric Wong)

09/13/2014

11:58 PM Feature #9632: [PATCH 0/2] speedup IO#close with linked-list from ccan
[email protected] wrote:
> 4. Should we use it on compile.c?

Yes, and probably gc.c, too. I think it would help imp...
normalperson (Eric Wong)
11:28 PM Feature #10177: Hash#has_key? and Hash#has_value? should be deprecated
@Robert A. Heiler
@First Last
@Jeremy Evans
Thank you so much for replying. I could acquire new point of view. I...
gogotanaka (Kazuki Tanaka)
10:59 PM Feature #10237 (Open): Transform all elements of one Encoding into another Encoding for Array and Hash
I find myself to sometimes have to convert one encoding to the other.
For string objects, this is trivial:
.enc...
shevegen (Robert A. Heiler)
10:56 PM Feature #10228: Statistics module
I concur that statistics would be useful.
For bioinformatics I am forced to use R (http://www.r-project.org/) righ...
shevegen (Robert A. Heiler)
10:45 PM Bug #10236 (Closed): [PATCH] test_modify_expand.rb: increase limit for {je,tc}malloc
In this test, jemalloc and tcmalloc are both more hesitant to
release memory to the kernel than the stock glibc allo...
normalperson (Eric Wong)
09:21 PM Feature #10059: [PATCH and SUGGEST] 代数構造を記述する時にメタプログラミングは非常に非常に強力ですが
@Naohisa Goto さん
なるほど、そちら面白いですね.
しかし、そちらの場合はむしろドキュメントが生成されない方が好ましい気もしますし
`method_define` を用いた場合は生成されて欲しいです.
...
gogotanaka (Kazuki Tanaka)
04:51 PM Bug #10235: make fails to configure OpenSSL on OS X 10.9.4 (Mavericks)
Please close, installing OpenSSL under my home directory appears to have resolved the problem (though the permissions... opt1c (opt1c -)
02:21 PM Bug #10235: make fails to configure OpenSSL on OS X 10.9.4 (Mavericks)
Also, from what I read it sounds like libsocket and libnsl are part of libc on Darwin. opt1c (opt1c -)
02:08 PM Bug #10235 (Rejected): make fails to configure OpenSSL on OS X 10.9.4 (Mavericks)
"Failed to configure openssl. It will not be installed."
OPENSSL
-------
$ which openssl
/usr/local/ssl/bin/o...
opt1c (opt1c -)
06:49 AM Misc #10233: iseq.cのget_line_info()でバイナリサーチを使うように修正するか
Koichi Sasada wrote:
> ありがとうございます。
> 性能評価みたいなことって出来ますか?
> (短いと、実は、線形サーチのほうが速かったりして)
これでよいかちょっとわからないのですが、一応とってみま...
shiracha (Rikyu Shiracha)
04:40 AM Feature #10197: document RUBY_* stack size/GC params in ruby.1 manpage
Work-in-progress here with *_STACK_SIZE.
I added a header section hopefully clarifying the difference between
VM vs...
normalperson (Eric Wong)
02:58 AM Bug #10206: garbage symbols crash symbol GC
(2014/09/13 7:59), Eric Wong wrote:
>> 1. make all IDs permanent, as ko1 claims

+1

--
// SASADA Koichi at a...
ko1 (Koichi Sasada)
01:29 AM Bug #10206 (Closed): garbage symbols crash symbol GC
Applied in changeset r47569.
----------
parse.y: intern_cstr
* parse.y (intern_cstr): remove `_without_pindown` suf...
nobu (Nobuyoshi Nakada)

09/12/2014

11:11 PM Bug #10206: garbage symbols crash symbol GC
[email protected] wrote:
> One problem about it is ripper.
> The result of `Ripper.parse` is transient, but symbol...
normalperson (Eric Wong)
09:30 PM Bug #10234 (Third Party's Issue): /v8/function.rb:13: [BUG] Segmentation fault at 0x00000000000000
The SEGV was caused in therubyracer.
Please ask the author first.
usa (Usaku NAKAMURA)
09:16 PM Bug #10234 (Third Party's Issue): /v8/function.rb:13: [BUG] Segmentation fault at 0x00000000000000
When I run less with ruby 2.1.2p95, the following error happens
/usr/lib/ruby/gems/2.1.0/gems/therubyracer-0.12.0/...
raysen.jia (Raysen Jia)
08:42 PM Bug #10231: Process.detach(pid) defines new singleton classes every call
[email protected] wrote:
> Eric Wong wrote:
> > I haven't checked the inits.c ordering change closely, but
> > ...
normalperson (Eric Wong)
07:42 PM Bug #10231 (Closed): Process.detach(pid) defines new singleton classes every call
Applied in changeset r47561.
----------
Process.detach: avoid singleton class creation
* process.c (Init_process): ...
Anonymous
02:52 PM Bug #10231 (Assigned): Process.detach(pid) defines new singleton classes every call
Probably, you can use `rb_undef_alloc_func`.
And should join the waiter thread.
nobu (Nobuyoshi Nakada)
01:46 PM Bug #10231: Process.detach(pid) defines new singleton classes every call
Eric Wong wrote:
> I haven't checked the inits.c ordering change closely, but
> make check and test-rubyspec passe...
headius (Charles Nutter)
06:11 PM Feature #10077: [PATCH] Implement Matrix#row_merge and Matrix#column_merge
FWIW, Matlab calls these operations "horzcat" (for "horizontal concatenation") and "vertcat" (for "vertical concaten... david_macmahon (David MacMahon)
05:11 PM Feature #10077: [PATCH] Implement Matrix#row_merge and Matrix#column_merge
@Hiroshi SHIBATA san
Thank you so much!
いつもありがとうございます. 助かっています.
gogotanaka (Kazuki Tanaka)
06:22 AM Feature #10077 (Assigned): [PATCH] Implement Matrix#row_merge and Matrix#column_merge
hsbt (Hiroshi SHIBATA)
04:13 AM Feature #10077: [PATCH] Implement Matrix#row_merge and Matrix#column_merge
Is there anything I should do with? gogotanaka (Kazuki Tanaka)
02:45 PM Misc #10233: iseq.cのget_line_info()でバイナリサーチを使うように修正するか
とりあえずインデントは揃えてください。 nobu (Nobuyoshi Nakada)
12:21 PM Misc #10233: iseq.cのget_line_info()でバイナリサーチを使うように修正するか
ありがとうございます。
性能評価みたいなことって出来ますか?
(短いと、実は、線形サーチのほうが速かったりして)
ko1 (Koichi Sasada)
11:50 AM Misc #10233 (Closed): iseq.cのget_line_info()でバイナリサーチを使うように修正するか
以下のPullRequestを投げさせていただきました。
https://github.com/ruby/ruby/pull/712
TODOコメントがあって気になったのでその通りの修正をとりあえず作ってみた形です。
た...
shiracha (Rikyu Shiracha)
02:21 PM Feature #9816: 文字列内の数字を数値として比較するメソッド
Yui NARUSE wrote:
> 熟考の結果、Gem::Versionと仕様をあわせました。
> 理由は、
> * Gem::Versionでこれを使ってくれればオブジェクトの生成数が減る
> * 2.2.0-previ...
akr (Akira Tanaka)
12:51 PM Bug #10221: You may have encountered a bug in the Ruby interpreter or extension libraries.
klaus dieter wrote:
> is there a workaround for this?
Please report to therubyracer's issue tracking.
https:/...
hsbt (Hiroshi SHIBATA)
12:36 PM Bug #10221: You may have encountered a bug in the Ruby interpreter or extension libraries.
is there a workaround for this? dwarf (klaus dieter)
10:28 AM Bug #10212: MRI is not for lambda calculus
SASADA Koichi <[email protected]> wrote:
> (2014/09/12 19:03), Eric Wong wrote:
> > Yes, I think the following API is ...
normalperson (Eric Wong)
10:19 AM Bug #10212: MRI is not for lambda calculus
(2014/09/12 19:03), Eric Wong wrote:
> Yes, I think the following API is OK. rb_proc_t is big.
> The new inline r...
ko1 (Koichi Sasada)
10:10 AM Bug #10212: MRI is not for lambda calculus
[email protected] wrote:
> Eric Wong wrote:
> > Any comment? I think the improvement is worth it since proc allocati...
normalperson (Eric Wong)
02:09 AM Bug #10212: MRI is not for lambda calculus
Eric Wong wrote:
> Any comment? I think the improvement is worth it since proc allocation
> only happens in 2 pl...
ko1 (Koichi Sasada)
06:47 AM Bug #8982: NoMethodError#message produces surprising output when #inspect is defined on an anonymous class
So I've run into this issue again, and as it turns out, this is a much more widespread problem than I first thought. ... myronmarston (Myron Marston)
05:04 AM Feature #10059: [PATCH and SUGGEST] 代数構造を記述する時にメタプログラミングは非常に非常に強力ですが
現在のRDocの挙動では、以下のように、メソッド定義そっくりだが実際には定義されない文を記述しておくと、メソッドは定義されないがRDocには反映されるので、私はそれを活用しています。
ただし、これが本当に正しいのか、単に現在のRDo...
ngoto (Naohisa Goto)
04:26 AM Feature #10059: [PATCH and SUGGEST] 代数構造を記述する時にメタプログラミングは非常に非常に強力ですが
Feedbackを頂いたのにも関わらず、見落としておりました.
失礼しました.
Akira Tanaka wrote:
> ふとパッチを見たのですが、これって rdoc で生成されるドキュメントはどうなるのでしょうか。
...
gogotanaka (Kazuki Tanaka)
03:31 AM Bug #10232: Trivial change of IMMEDIATE VALUE bits layout
Eric Wong wrote:
> > Strange thing is: vm1_const
>
> I suspect this is CPU-specific behaviors. I cannot see t...
ko1 (Koichi Sasada)
03:10 AM Bug #10232: Trivial change of IMMEDIATE VALUE bits layout
[email protected] wrote:
> (1) can be incompatibility issue so that I don't propose this fix strongly.
> Interpreter c...
normalperson (Eric Wong)
01:27 AM Bug #10232 (Rejected): Trivial change of IMMEDIATE VALUE bits layout

The following patch improves performance a bit.
```
!USE_FLONUM
-------------------------
...xxxx xxx1 Fixnum...
ko1 (Koichi Sasada)
02:37 AM Bug #10191: Possible memory leak using dup and setting an unassigned instance variable (Windows)
backported into `ruby_2_0_0` at r47548.
In my environment, I don't have to change the limit of assert_no_memory_le...
usa (Usaku NAKAMURA)
02:33 AM Bug #9344: warning origin incorrect with instance_eval
committed into `ruby_2_0_0` at r47547. usa (Usaku NAKAMURA)
02:23 AM Bug #10161: C API docs not generated properly without baseruby
backported into `ruby_2_0_0` at r47546. usa (Usaku NAKAMURA)
02:20 AM Bug #9036: [PATCH] io.c: make IO#reopen("pathname") atomic for non-stdio
backported into `ruby_2_0_0` at r47545. usa (Usaku NAKAMURA)

09/11/2014

09:59 PM Feature #10225: [PATCH] *math.c: New method Math.normcdf
FWIW, the Ruby/GSL gem already provides support for this (and many other things):

```
$ ruby -r gsl -e 'p GSL::C...
david_macmahon (David MacMahon)
06:26 AM Feature #10225 (Open): [PATCH] *math.c: New method Math.normcdf
I know it looks kind of arbitrary or unnecessary feature ,but I believe that
to provide such a feature as official...
gogotanaka (Kazuki Tanaka)
09:20 PM Bug #10231: Process.detach(pid) defines new singleton classes every call
I haven't checked the inits.c ordering change closely, but
make check and test-rubyspec passes:
~~~diff
diff --g...
normalperson (Eric Wong)
09:11 PM Bug #10231: Process.detach(pid) defines new singleton classes every call
[email protected] wrote:
> I would suggest that Process.detach should return a subclass of Thread
> that has the...
normalperson (Eric Wong)
08:02 PM Bug #10231 (Closed): Process.detach(pid) defines new singleton classes every call
The logic for Process.detach(pid) adds a singleton "pid" method to the thread it returns for every call. This is bad ... headius (Charles Nutter)
07:21 PM Bug #10212: MRI is not for lambda calculus
Eric Wong <[email protected]> wrote:
> I think the xcalloc was overreaching, though.
>
> Removing redundant ...
normalperson (Eric Wong)
05:58 PM Feature #10090: Display of program name in process listing under AIX
I wanted to update this with our findings. This is definitely a result of the functionality in `missing/setproctitle.... mckern (Ryan McKern)
04:43 PM Feature #10208: Passing block to Enumerable#to_h
We have #max and #max_by. When we have #hash and #hash_by, people may expect something else.
But it may not matter m...
matz (Yukihiro Matsumoto)
04:19 PM Feature #10208: Passing block to Enumerable#to_h
Marc-Andre Lafortune wrote:
> I completely agree that we need new methods to do this.
Thanks. One idea is name it...
yhara (Yutaka HARA)
05:29 AM Feature #10208: Passing block to Enumerable#to_h
I think the creation of intermediate arrays for each pair is waste of resource. Can we use combination of two methods... sawa (Tsuyoshi Sawada)
03:05 PM Bug #10229: RFC 5649 implementation in OpenSSL breaks Ruby.
Let me quote Fedora's OpenSSL maintainer on this issue:
~~~
>t8m< "Ruby should not expect that blindly trying any...
vo.x (Vit Ondruch)
02:11 PM Bug #10229 (Closed): RFC 5649 implementation in OpenSSL breaks Ruby.
Recently updated OpenSSL in Fedora 21+ [1] introduces support for RFC 5649 [2, 3]. However, this breaks Ruby's test s... vo.x (Vit Ondruch)
02:40 PM Bug #10230 (Closed): make install fails with mingw ruby
`make install` fails with mingw ruby on Windows MSYS environemnt.
ruby 2.2.0dev (2014-09-11 trunk 47535) [i386-min...
h.shirosaki (Hiroshi Shirosaki)
01:34 PM Bug #9728: Regexp bug
This bug is fixed with the following Onigmo's commit:
https://github.com/k-takata/Onigmo/commit/15ddec6d18e27fdc1988...
k_takata (Ken Takata)
08:14 AM Feature #10228: Statistics module
@Yukihiro Matsumoto san
Oh.. I know the exchanges like that.. we have had such a talks before.. I'm so sorry for y...
gogotanaka (Kazuki Tanaka)
07:46 AM Feature #10228 (Feedback): Statistics module
Why don't you create a gem and polish the spec before adding it in the core?
Matz.
matz (Yukihiro Matsumoto)
07:41 AM Feature #10228 (Feedback): Statistics module
I'm gonna implement some features related with statistics to `Math` module now.
Like that -> https://bugs.ruby-la...
gogotanaka (Kazuki Tanaka)
08:11 AM Bug #10202: TestBenchmark#test_realtime_output breaks on ARM
Thanks for the confirmation! r47526 removes CLOCK_MONOTONIC_RAW.

r47526 | normal | 2014-09-11 08:09:07 +0000 (Thu...
normalperson (Eric Wong)
08:09 AM Bug #10202 (Closed): TestBenchmark#test_realtime_output breaks on ARM
Applied in changeset r47526.
----------
lib/benchmark.rb: remove CLOCK_MONOTONIC_RAW support
In addition to being u...
Anonymous
07:52 AM Bug #10202: TestBenchmark#test_realtime_output breaks on ARM
The test passes with the applied patch:
~~~
$ ruby -Itest/lib/ test/benchmark/test_benchmark.rb -n test_realtime_...
vo.x (Vit Ondruch)
07:06 AM Bug #10223: Stack level too deep in CSV when parsing long line
The shortest code would be:
~~~ruby
def t;yield [0]*200000; end
t{|a,|}
~~~
nobu (Nobuyoshi Nakada)
06:31 AM Feature #10227 (Closed): array.include? is much slower than array.index
I benchmarked both, and found that `include?` is about ten times slower than `index` (for the test below).
~~~
re...
Darudmand (A N)
06:30 AM Feature #10226 (Rejected): [PATCH] *math.c: Slight refactoring
Through `https://bugs.ruby-lang.org/issues/10225` I found something refactorable. gogotanaka (Kazuki Tanaka)
06:28 AM Feature #9614: ordering of non-Hash items which use st_ internally
I forget, ordering is easy to add to ihash with ccan/list.

Work-in-progress, this is only for method entries with...
normalperson (Eric Wong)
06:14 AM Feature #8923 (Closed): Frozen nil/true/false
Applied in changeset r47525.
----------
test_object.rb: add assertions
* test/ruby/test_object.rb (test_freeze_imme...
nobu (Nobuyoshi Nakada)
05:24 AM Feature #8923: Frozen nil/true/false
@ko1 you have proven there's no significant issue. Go ahead.
Of course, we might have to revert it if something happ...
matz (Yukihiro Matsumoto)
05:40 AM Bug #10221 (Third Party's Issue): You may have encountered a bug in the Ruby interpreter or extension libraries.
Seems a therubyracer's issue. nobu (Nobuyoshi Nakada)
05:17 AM Bug #10224: Server crash
From your log, the SEGV point was:
https://github.com/typhoeus/ethon/blob/v0.7.1/lib/ethon/multi/operations.rb#L17...
usa (Usaku NAKAMURA)
03:23 AM Bug #10224: Server crash
Usaku NAKAMURA wrote:
> It seems that there is a wrong call of libcurl via ffi.
Sorry I'm new to this. How would ...
jahvon (Jahvon Dock)
02:25 AM Bug #10224 (Third Party's Issue): Server crash
It seems that there is a wrong call of libcurl via ffi. usa (Usaku NAKAMURA)
02:13 AM Bug #10224: Server crash
I just tried changing my version from 2.1.1 back to 1.9.3 and the problem is no longer there. jahvon (Jahvon Dock)
02:04 AM Bug #10224 (Third Party's Issue): Server crash
Every time I try to run the application that I created with ruby my server crashes. I am actually a beginner to progr... jahvon (Jahvon Dock)
02:38 AM Feature #10096: [PATCH] use khash for fstring and id_str tables
[email protected] wrote:
> File khash-fstring-v3.patch added

OK to commit before 9/14? I think khash is the...
normalperson (Eric Wong)

09/10/2014

08:34 PM Bug #10221: You may have encountered a bug in the Ruby interpreter or extension libraries.
this is ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]
dwarf (klaus dieter)
08:33 PM Bug #10221: You may have encountered a bug in the Ruby interpreter or extension libraries.
I seem to be experiencing the same or a similar bug.
Iam running rake assets:precompile and the process crashes.
Th...
dwarf (klaus dieter)
10:31 AM Bug #10221 (Third Party's Issue): You may have encountered a bug in the Ruby interpreter or extension libraries.
Hi guys recently i'd installed ruby.
i'm trying to run beef(browsing exploitation framework),
i'd installed rub...
tulsirao (B.Tulsi Rao)
03:02 PM Bug #10191: Possible memory leak using dup and setting an unassigned instance variable (Windows)
r46501, r47372 and r47460 were backported into `ruby_2_1` branch at r47520.
I add limit: 2.5 option argment to asser...
nagachika (Tomoyuki Chikanaga)
02:32 PM Bug #9344: warning origin incorrect with instance_eval
merge partially r46831 into `ruby_2_1` branch at r47519.
The patch was derived from https://github.com/k-takata/Onig...
nagachika (Tomoyuki Chikanaga)
02:30 PM Bug #10223: Stack level too deep in CSV when parsing long line
I guess, that CSV has not much to do with that error. Probably the root cause is that `*mappings` inside
~~~
|cat...
apohllo (Aleksander Pohl)
02:21 PM Bug #10223 (Closed): Stack level too deep in CSV when parsing long line
The following code:
~~~ruby
#!/usr/bin/env ruby ...
apohllo (Aleksander Pohl)
02:23 PM Bug #10222: require_relative and require should be compatible with each other when symlinks are used
I can't change the title myself. Could someone with privileges please change it to something like: "require_relative ... rosenfeld (Rodrigo Rosenfeld Rosas)
12:53 PM Bug #10222 (Closed): require_relative and require should be compatible with each other when symlinks are used
Not sure if this should be considered a bug or a feature request since I don't know whether the current behavior is i... rosenfeld (Rodrigo Rosenfeld Rosas)
02:08 PM Bug #10161: C API docs not generated properly without baseruby
Backported into `ruby_2_1` branch at r47518. nagachika (Tomoyuki Chikanaga)
01:21 PM Feature #10208: Passing block to Enumerable#to_h
I agree `to_h` isn't the right method to do this.
I completely agree that we need new methods to do this.
This ...
marcandre (Marc-Andre Lafortune)
10:32 AM Feature #8923: Frozen nil/true/false
Hans Mackowiak wrote:
> i am unsure about toally freeze them ... some might extend/include some "Boolean" module int...
fxn (Xavier Noria)
08:30 AM Feature #8923: Frozen nil/true/false
Hans Mackowiak wrote:
> i am unsure about toally freeze them ... some might extend/include some "Boolean" module int...
ko1 (Koichi Sasada)
08:28 AM Feature #8923: Frozen nil/true/false
The following patch makes test-all green.
```
Index: gc.c
====================================================...
ko1 (Koichi Sasada)
09:10 AM Feature #10187: minor iseq memory reductions
[email protected] wrote:
> Eric Wong wrote:
> > Nobody hits the limit, so reusing rb_memerror keeps code size down.
...
normalperson (Eric Wong)
07:35 AM Feature #10187: minor iseq memory reductions
Eric Wong wrote:
> Nobody hits the limit, so reusing rb_memerror keeps code size down.
how about to use rb_fatal...
ko1 (Koichi Sasada)
06:18 AM Feature #10121: Dir.empty?
https://github.com/nobu/ruby/compare/Feature%2310121-Dir.empty-p nobu (Nobuyoshi Nakada)
02:28 AM Feature #10121 (Feedback): Dir.empty?
What should happen if the `dir` is not a directory name?
Just returns `false`, or raises `Errno::ENOTDIR`?
nobu (Nobuyoshi Nakada)
06:14 AM Feature #10185 (Closed): [PATCH] iseq: free untranslated iseq->iseq at compile
Applied in changeset r47508.
----------
compile: translate iseq in-place
running "ruby -rpp -e 'pp GC.stat'", a red...
Anonymous
06:01 AM Feature #10219 (Closed): [PATCH] time.c: DATA_PTR is never NULL
Applied in changeset r47506.
----------
time.c: DATA_PTR is never NULL
* time.c (time_mark): remove NULL check
(t...
Anonymous
01:24 AM Feature #10219 (Assigned): [PATCH] time.c: DATA_PTR is never NULL
Seems fine.
`RUBY_TYPED_DEFAULT_FREE` also does nothing if `DATA_PTR` is `NULL`, as same as `time_free` does now.
...
nobu (Nobuyoshi Nakada)
05:20 AM Bug #10220 (Assigned): enc/trans/*.c の依存関係不足?
たぶん依存もれはこれでいいと思います。
distcleanの方は未対応です。
そもそもenc.mkに処理を投げてない気がするんですが、マジで? どっか見落としてるかなあ。
usa (Usaku NAKAMURA)
05:16 AM Bug #10220 (Closed): enc/trans/*.c の依存関係不足?
Applied in changeset r47505.
----------
* common.mk (encs enc trans libencs libenc libtrans): force to run
enk.mk ...
usa (Usaku NAKAMURA)
04:50 AM Bug #10220 (Closed): enc/trans/*.c の依存関係不足?
r47221 の EUC-KR の文字追加後に make test-all するとこの変更についてのテストが失敗しました。
make distclean してやりなおしてもやはり失敗しました。
手動で enc/trans/kore...
nagachika (Tomoyuki Chikanaga)
03:36 AM Bug #10153: File.open block does not throw "No space left on device (Errno::ENOSPC)" if the data fits the buffer of IO.write
backported into `ruby_2_0_0` at r47503. usa (Usaku NAKAMURA)
03:33 AM Bug #10149: Some characters in EUC-KR does not encode to UTF-8 properly
backported into `ruby_2_0_0` at r47502. usa (Usaku NAKAMURA)
03:26 AM Bug #10144: [PATCH] time_timespec: fix tv_nsec overflow on float conversion
backported into `ruby_2_0_0` at r47501. usa (Usaku NAKAMURA)
03:24 AM Bug #10101: Zlib::GzipReader produce different outputs for different methods applied
backported into `ruby_2_0_0` at r47500. usa (Usaku NAKAMURA)
03:21 AM Bug #10043: Crash Report log file on MacOS X
backported into `ruby_2_0_0` at r47499. usa (Usaku NAKAMURA)
03:08 AM Bug #10039: "a+" mode for File.open doesn’t work
backported into `ruby_2_0_0` at r47498. usa (Usaku NAKAMURA)
03:05 AM Bug #9982: Kernel#sprintf: unmbered widht and precision with numbered argument
backported into `ruby_2_0_0` at r47497. usa (Usaku NAKAMURA)
02:54 AM Feature #9924 (Open): Revisitting GC.stat keys
fixed.
https://docs.google.com/spreadsheets/d/11Ua4uBr6o0k-nORrZLEIIUkHJ9JRzRR0NyZfrhEEnc8/edit?usp=sharing
Fee...
ko1 (Koichi Sasada)
01:42 AM Feature #9924 (Closed): Revisitting GC.stat keys
Applied in changeset r47488.
----------
* gc.c (objspace_total_slot): rename objspace_available_slots.
* gc.c (objsp...
ko1 (Koichi Sasada)
02:49 AM Bug #9984: OpenSSL::TestPKeyRSA#test_sign_verify_memory_leak timeouts on ARM
backported into `ruby_2_0_0` at r47494. usa (Usaku NAKAMURA)
02:42 AM Bug #9976: ENV doesn't raise SecurityError except for aset and delete
backported into `ruby_2_0_0` at r47492. usa (Usaku NAKAMURA)

09/09/2014

09:28 PM Feature #10219 (Closed): [PATCH] time.c: DATA_PTR is never NULL
Tiny improvement on my older Phenom II X4 945 system:
$ ruby --disable=gems -e '6000000.times { Time.now }'
before:...
normalperson (Eric Wong)
06:48 PM Bug #10153: File.open block does not throw "No space left on device (Errno::ENOSPC)" if the data fits the buffer of IO.write
Backported into `ruby_2_1` branch at r47486. nagachika (Tomoyuki Chikanaga)
06:26 PM Bug #10149: Some characters in EUC-KR does not encode to UTF-8 properly
Backported into `ruby_2_1` branch at r47485. nagachika (Tomoyuki Chikanaga)
06:10 PM Bug #10144: [PATCH] time_timespec: fix tv_nsec overflow on float conversion
Backported into `ruby_2_1` branch at r47482. nagachika (Tomoyuki Chikanaga)
05:27 PM Bug #10218: 手続きを再帰するとSegmentation faultが発生する
https://bugs.ruby-lang.org/issues/9945 と同じ原因で、既に修正済みのような気がする zonuexe (Kenta USAMI)
05:14 PM Bug #10218 (Closed): 手続きを再帰するとSegmentation faultが発生する
`stack level too deep (SystemStackError)`が発生することを期待した。
~~~
% ruby -v
ruby 2.1.2p95 (2014-05-08 revision 45877) [...
zonuexe (Kenta USAMI)
03:18 PM Feature #10217 (Open): Dir constructor similar to Pathname constructor
Make Dir(path) an alias for Dir.new(path)
Dir('.').entries
Dir('test').each do |entry|
..
dsisnero (Dominic Sisneros)
01:01 PM Bug #10213: bundled gems ignored by make install
Hans Mackowiak wrote:
> my use case would be i writing a script that makes a dot graph from the installed/requested ...
kou (Kouhei Sutou)
12:51 PM Feature #9924 (Open): Revisitting GC.stat keys
r47472
r47473
r47474
are also related changes (and not finished).
These fixes break prorgrams depends on s...
ko1 (Koichi Sasada)
09:34 AM Feature #9924 (Closed): Revisitting GC.stat keys
Applied in changeset r47471.
----------
* gc.c (rb_objspace_t::heap_pages): rename field names:
* used -> allocate...
ko1 (Koichi Sasada)
10:00 AM Feature #10187: minor iseq memory reductions
[email protected] wrote:
>
> > + if (newsize > INT_MAX) rb_memerror();
>
> memerror?
I took the h...
normalperson (Eric Wong)
10:00 AM Feature #10187: minor iseq memory reductions
[email protected] wrote:
> > Subject: [PATCH] iseq_inline_storage_entry: 24=>16 bytes on x86-64
>
> > ~~~diff
>...
normalperson (Eric Wong)
09:14 AM Feature #10187: minor iseq memory reductions
> ~~~diff
> + if (newsize > INT_MAX) rb_memerror();
memerror?
ko1 (Koichi Sasada)
09:11 AM Feature #10187: minor iseq memory reductions
> Subject: [PATCH] iseq_inline_storage_entry: 24=>16 bytes on x86-64
> ~~~diff
> +#define RUNNING_THREAD_ONCE_DON...
ko1 (Koichi Sasada)
08:32 AM Feature #10187: minor iseq memory reductions
updated 2/2 patch to adjust for r47456 (redundant SYM2ID <=> ID2SYM removal)
normalperson (Eric Wong)
08:21 AM Feature #10185: [PATCH] iseq: free untranslated iseq->iseq at compile
This combines both patches to do translation in-place.
I couldn't make rb_iseq_original_iseq return const because ...
normalperson (Eric Wong)
01:47 AM Feature #10185: [PATCH] iseq: free untranslated iseq->iseq at compile
Koichi Sasada wrote:
> - rename rb_iseq_untranslate_threaded_code to rb_iseq_decode_encoded_iseq() and fill iseq->is...
ko1 (Koichi Sasada)
01:39 AM Feature #10185: [PATCH] iseq: free untranslated iseq->iseq at compile
Thank you for waiting my comment.
I'm thinking about compatibility and expandability.
Now, in Ruby source, iseq...
ko1 (Koichi Sasada)
02:08 AM Bug #10206: garbage symbols crash symbol GC
One problem about it is ripper.
The result of `Ripper.parse` is transient, but symbols by its side-effect are perman...
nobu (Nobuyoshi Nakada)
01:43 AM Bug #10206: garbage symbols crash symbol GC
> Unfortunately, I do not yet understand why we avoid pindown in parse.y
> (or much of parse.y). I thought symbol GC...
ko1 (Koichi Sasada)
12:02 AM Bug #8315 (Closed): mkmf does not include include paths from pkg_config anymore
Applied in changeset r47457.
----------
mkmf.rb: --cflags to $CXXFLAGS
* lib/mkmf.rb (MakeMakefile#pkg_config): app...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom