Project

General

Profile

Activity

From 11/25/2012 to 12/01/2012

12/01/2012

11:24 PM Feature #7488 (Assigned): Receiving object_id in object creation probes
Hi.
I want to get a object id in object creation probes to know a creation
point of a suspect object.
I've wro...
authorNari (Narihiro Nakamura)
10:24 PM Revision f242cefc (git): * lib/rdoc/parser.rb: Parse files with a -*- rdoc -*- modeline
* test/rdoc/test_rdoc_parser.rb: Test for above
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38135 b2dd03c8-3...
drbrain (Eric Hodel)
10:19 PM Feature #7487: Cutting through the issues with Refinements
This is too big, but refinements aren't? trans (Thomas Sawyer)
01:31 PM Feature #7487: Cutting through the issues with Refinements
And it's too big to next minor.
Matz.
matz (Yukihiro Matsumoto)
09:55 AM Feature #7487: Cutting through the issues with Refinements
Sorry, cuts are too late for ruby 2.0.0. We started feature freeze last month. drbrain (Eric Hodel)
09:13 AM Feature #7487: Cutting through the issues with Refinements
Here is a slightly more updated version of the RCR: https://github.com/rubyworks/cuts/blob/master/RCR.textile trans (Thomas Sawyer)
08:55 AM Feature #7487 (Rejected): Cutting through the issues with Refinements
=begin
In issue #4085, there has been a long somewhat contentious discussion about Refinements. While it seems that ...
trans (Thomas Sawyer)
09:23 PM Feature #4085: Refinements and nested methods
On 30.11.2012 20:41, headius (Charles Nutter) wrote:
> respond_to? brings up a really good point: there's lots of ...
The8472 (Aaron G)
06:46 AM Feature #4085: Refinements and nested methods
Could someone make a summary of the current proposed refinements feature in the next couple of days once the churn of... enebo (Thomas Enebo)
05:16 AM Feature #4085: Refinements and nested methods
shugo (Shugo Maeda) wrote:
> I mean that all refinements appear in the method lookup 1.blah, but
> the only first...
headius (Charles Nutter)
05:07 AM Feature #4085: Refinements and nested methods
shugo (Shugo Maeda) wrote:
> I guess your idea is similar to ko1's idea using prepend to implement refinements.
> W...
headius (Charles Nutter)
05:02 AM Feature #4085: Refinements and nested methods
Anonymous wrote:
> Hi,
>
> In message "Re: [ruby-core:50355] [ruby-trunk - Feature #4085] Refinements and neste...
headius (Charles Nutter)
04:54 AM Feature #4085: Refinements and nested methods
Anonymous wrote:
> |This is incredibly confusing to me. Why are the String refinements active within the refine Arr...
headius (Charles Nutter)
04:41 AM Feature #4085: Refinements and nested methods
Anonymous wrote:
> From usability perspective, all retrospective methods e.g. respond_to?
> methods etc. should r...
headius (Charles Nutter)
03:59 AM Feature #4085: Refinements and nested methods
> Since there still remain undefined corner case behavior in refinements, and the time is running out, I decided not... The8472 (Aaron G)
09:15 PM Revision 2ba9cdce (git): * gc.h (SET_MACHINE_STACK_END): add volatile for preventing
harmful optimization.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
08:31 PM Bug #7356: ruby-2.0.0-preview1 で adlint-2.6.10 が性能劣化
wanabe さん、情報ありがとうございます。
下記のバージョンで再測定してみました。
* ruby 1.9.3p327 (2012-11-10 revision 37606) [i686-linux]
* ruby 2.0...
yanoh (Yutaka Yanoh)
08:07 PM Revision 5bdd0393 (git): * iseq.c (rb_iseq_line_trace_each): iterate `line' event only.
* test/ruby/test_iseq.rb: add a test for this change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38133 b2dd...
ko1 (Koichi Sasada)
07:24 PM Bug #5986 (Closed): Segmentation Fault
This issue was solved with changeset r38120.
Luis, thank you for reporting this issue.
Your contribution to Ruby is g...
nobu (Nobuyoshi Nakada)
06:44 PM Bug #5986: Segmentation Fault
Since that to_ary method creates new arrays for each time, rb_exec_recursive() can't catch it. nobu (Nobuyoshi Nakada)
06:53 PM Bug #7481 (Closed): gem cleanup が正常に完了しない
Committed, thank you kou! drbrain (Eric Hodel)
02:40 PM Bug #7481 (Assigned): gem cleanup が正常に完了しない
RubyGemsのリポジトリの方に修正するコミットをしておきました。drbrainに確認してもらったらtrunkの方に入ります!(drbrainが入れてくれるはず!)
https://github.com/rubygems/ru...
kou (Kouhei Sutou)
01:55 PM Bug #7481: gem cleanup が正常に完了しない
あ、再現できた気がします。一番最後のcleanupでmongo-1.7.1がuninstallできないのが問題という事ですね。
% /tmp/local/bin/gem install mongo
Fetching: i1...
kou (Kouhei Sutou)
01:42 PM Bug #7481: gem cleanup が正常に完了しない
gem listもらえませんか!?
手元でも試してみます。
kou (Kouhei Sutou)
06:16 PM Feature #6539 (Closed): public and private for core methods
This issue was solved with changeset r38113.
Marc-Andre, thank you for reporting this issue.
Your contribution to Rub...
nobu (Nobuyoshi Nakada)
05:47 PM Revision 921385a6 (git): * vm_trace.c: add TracePoint#inspect.
* test/ruby/test_settracefunc.rb: add a test for this change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38...
ko1 (Koichi Sasada)
05:13 PM Bug #6742 (Closed): Emacs compilation-shell-minor-mode misconfiguration
This issue was solved with changeset r38107.
Jean-Christophe, thank you for reporting this issue.
Your contribution t...
nobu (Nobuyoshi Nakada)
03:26 PM Revision e78cf44a (git): * vm_trace.c (rb_tracepoint_new): commit miss.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:25 PM Revision d9254071 (git): * 2012-12-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:25 PM Revision 17b19ca0 (git): * tool/gen_dummy_probes.rb: add mode name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:25 PM Revision 66fd9d44 (git): adjust style.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:22 PM Revision 82b1bfe4 (git): make-snapshot: PATH_SEPARATOR
* tool/make-snapshot (package): now PATH_SEPARATOR is needed for
id2token.rb.
git-svn-id: svn+ssh://ci.ruby-lang.o...
nobu (Nobuyoshi Nakada)
01:54 PM Revision 0efa7abc (git): * test/rubygems/test_gem_specification.rb (test_emits_zulu_timestamps_properly): too old bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:54 PM Revision 3faee652 (git): time.c, vm_method.c: update rdoc
* time.c (time_{mdump,dump,mload,load): update rdoc.
* vm_method.c (obj_respond_to_missing): ditto.
git-svn-id: svn...
nobu (Nobuyoshi Nakada)
01:52 PM Bug #7485: ruby cannot build on mingw32 or FreeBSD 8 due to missing __sync_val_compare_and_swap
I guess -march=i486 enable __sync_val_compare_and_swap. kosaki (Motohiro KOSAKI)
09:11 AM Bug #7485: ruby cannot build on mingw32 or FreeBSD 8 due to missing __sync_val_compare_and_swap
@nobu Why do we have to bother old broken compiler? shyouhei (Shyouhei Urabe)
08:41 AM Bug #7485: ruby cannot build on mingw32 or FreeBSD 8 due to missing __sync_val_compare_and_swap
__sync_or_and_fetch wasn't available in Apple derivative gcc. nobu (Nobuyoshi Nakada)
07:38 AM Bug #7485 (Closed): ruby cannot build on mingw32 or FreeBSD 8 due to missing __sync_val_compare_and_swap
mingw32 GCC has the other atomic builtins but not this one. The attached patch checks for the GCC builtins used in r... drbrain (Eric Hodel)
01:35 PM Revision ccebd9b0 (git): vm_method.c: private
* vm_method.c (basic_obj_respond_to): call even if private.
[Feature #6539]
git-svn-id: svn+ssh://ci.ruby-lang.org...
nobu (Nobuyoshi Nakada)
12:52 PM Feature #7427: Update Rubygems
I can build 2.0.0-preview1 on 32bit XP SP3 (right click My Computer -> properties) using the mingw-32-4.6.2 toolchain... jonforums (Jon Forums)
10:37 AM Feature #7427: Update Rubygems
drbrain (Eric Hodel) wrote:
> set and ruby -v: http://paste.segment7.net/ace.html
Looks ok.

> gem env: http...
jonforums (Jon Forums)
09:27 AM Feature #7427: Update Rubygems
set and ruby -v: http://paste.segment7.net/ace.html
gem env: http://paste.segment.net/acf.html
drbrain (Eric Hodel)
08:21 AM Feature #7427: Update Rubygems
Odd. On both my trunk (mingw-w64 gcc 4.7.2) and ruby_1_9_3 (mingw.org gcc 4.6.2) builds, HAVE_GCC_ATOMIC_BUILTINS is... jonforums (Jon Forums)
07:39 AM Feature #7427: Update Rubygems
Filed #7485 drbrain (Eric Hodel)
07:35 AM Feature #7427: Update Rubygems
It seems that using rubyinstaller downloaded its own compiler, so I don't think it got in the way. Since configure d... drbrain (Eric Hodel)
07:30 AM Feature #7427: Update Rubygems
drbrain (Eric Hodel) wrote:
> The RubyInstaller build tools are fantastic!
>
> Unfortunately I fail at exactly th...
luislavena (Luis Lavena)
07:26 AM Feature #7427: Update Rubygems
The RubyInstaller build tools are fantastic!
Unfortunately I fail at exactly the same spot, undefined reference to...
drbrain (Eric Hodel)
07:00 AM Feature #7427: Update Rubygems
Don't worry about installing a toolchain and double check that you have a minimal PATH and clean env vars; no pointer... jonforums (Jon Forums)
06:36 AM Feature #7427: Update Rubygems
=begin
I have Windows XP running in VirtualBox. (I don't have a license for a newer version.) I believe I have it ...
drbrain (Eric Hodel)
06:07 AM Feature #7427: Update Rubygems
> r38074 was good. r38071 is fine. The message may not be completely correct, but without a windows environment it is... jonforums (Jon Forums)
04:37 AM Feature #7427: Update Rubygems
Thank you for your assistance, usa!
I imported all these fixes and your RDoc fix.
r38074 was good. r38071 is fi...
drbrain (Eric Hodel)
02:24 AM Feature #7427 (Closed): Update Rubygems
I hope... I've fixed... all problems on Windows... cause by rubygems.....
Eric, check these revisions and merge yo...
usa (Usaku NAKAMURA)
12:19 PM Revision 095022cb (git): * test/ruby/test_backtrace.rb: add a test for
Thread::Backtrace::Location#inspect.
BTW, tests for `caller_locations' are not enough.
Any volunteers are welcome...
ko1 (Koichi Sasada)
12:09 PM Revision c906e879 (git): * vm_backtrace.c (location_inspect_m): add
Thread::Backtrace::Location#inspect.
It same as loc_obj.to_s.inspect.
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
ko1 (Koichi Sasada)
10:24 AM Revision 01eb117b (git): io.c: recurse for the argument
* io.c (rb_io_puts): recurse for the argument itself, not converted
array elements. [ruby-core:42444] [Bug #5986]
...
nobu (Nobuyoshi Nakada)
10:06 AM Revision af4ceeff (git): * misc: ignore pre-compiled emacs lisp files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:01 AM Revision 4f0c9b2b (git): marshal.c: private methods
* marshal.c (w_object, r_object0): call private marshal methods.
[Feature #6539]
git-svn-id: svn+ssh://ci.ruby-la...
nobu (Nobuyoshi Nakada)
09:52 AM Revision 4090ec10 (git): * lib/rubygems/commands/cleanup_command.rb: Fix cleanup command for
multiple gems. [ruby-trunk - #7481] by Kouhei Sutou
* test/rubygems/test_gem_commands_cleanup_command.rb: Test for ...
drbrain (Eric Hodel)
09:30 AM Revision 018d8261 (git): gc.c: suppress warnings
* gc.c (add_slot_local_freelist, slot_sweep, mark_locations_array):
suppress unused-value warnings, even with valgr...
nobu (Nobuyoshi Nakada)
09:17 AM Revision 9c1b3161 (git): complex.c, time.c: make marshal methods private
* complex.c (Init_Complex), time.c (Init_Time): make marshal methods
private. [Feature #6539]
git-svn-id: svn+ss...
nobu (Nobuyoshi Nakada)
09:16 AM Revision 82ec3de0 (git): object.c: make remove_instance_variable public
* object.c (Init_Object): make remove_instance_variable public.
[Feature #6539]
git-svn-id: svn+ssh://ci.ruby-lan...
nobu (Nobuyoshi Nakada)
09:16 AM Revision cf9d17a3 (git): vm_method.c: make initialize methods private
* id.c (Init_id), template/id.h.tmpl: add initialize_{copy,clone,dup}
and respond_to_missing?.
* vm_method.c (rb_me...
nobu (Nobuyoshi Nakada)
09:15 AM Revision 0a8575c8 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:57 AM Feature #7486: Cutting through the issues with Refinements
Please disregard this issue. Something went wrong with the RD syntax, so I just created a new issue b/c I saw no way ... trans (Thomas Sawyer)
08:50 AM Feature #7486 (Rejected): Cutting through the issues with Refinements
=begin
In issue #4085, there has been a long somewhat contentious discussion about Refinements. While it seems that ...
trans (Thomas Sawyer)
08:54 AM Bug #7197: Error: test_tls_v1_2(OpenSSL::TestSSL)
fwiw, I still get this on trunk with ubuntu 12.10
uname -a:
Linux ux31a 3.5.0-18-generic #29-Ubuntu SMP Fri Oct 1...
zzak (zzak _)
08:29 AM Revision 89ff44e2 (git): * test/ruby/test_thread.rb: move ConditionVariable related test
into test/thread/test_cv.rb.
* test/thread/test_cv.rb: new file.
* test/thread/test_cv.rb (test_condvar_empty_signal)...
kosaki (Motohiro KOSAKI)
08:28 AM Revision afbbcd13 (git): * test/ruby/test_thread.rb (test_cv_wait_deadlock): enable
cv deadlock test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
08:28 AM Revision 1f1db611 (git): * lib/thread.rb (ConditionVariable): use hash instead of array for
@waiters.
* test/thread/test_queue.rb (test_sized_queue_and_wakeup): remove
a test because @waiters no longer have ...
kosaki (Motohiro KOSAKI)
08:17 AM Revision f9aef184 (git): ruby-electric.el: use kill-region
* misc/ruby-electric.el (ruby-electric-curlies): use kill-region
instead of interactive command delete-backward-cha...
nobu (Nobuyoshi Nakada)
08:13 AM Revision 5852d901 (git): inf-ruby.el: fix compilation-shell-minor-mode
* misc/inf-ruby.el (inferior-ruby-mode): fix the
compilation-shell-minor-mode configuration. a patch by
j2petkov...
nobu (Nobuyoshi Nakada)
08:08 AM Revision 214938f1 (git): * ChangeLog: fix a typo for r38075.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
06:38 AM Feature #7426 (Closed): Update Rdoc
drbrain (Eric Hodel)
06:05 AM Revision 0f37c951 (git): dir.c: use NAMLEN
* dir.c (glob_helper): use NAMLEN() to tell the length of d_name
instead of strlen(), which can access beyond the b...
nobu (Nobuyoshi Nakada)
04:48 AM Revision 6e46c048 (git): * lib/rubygems/specification.rb: Don't add default gems to $LOAD_PATH
as they are already there.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38104 b2dd03c8-39d4-4d8f-98ff-823fe69b...
drbrain (Eric Hodel)
04:41 AM Feature #4276: Allow use of quotes in symbol syntactic sugar for hashes
Sorry, this feature is too late for 2.0.0 drbrain (Eric Hodel)
02:31 AM Feature #4276: Allow use of quotes in symbol syntactic sugar for hashes
This would improve a lot of my code that's punctuated with `{ foo: bar, :'hoge' => piyo }`. Switching syntax is a men... bitsweat (Jeremy Daer)
04:23 AM Feature #6762: Control interrupt timing
OK. I see the logic in using the term "interrupt" if you are actually
trying to unify exceptions from other threa...
brent (Brent Roman)
03:58 AM Revision f593911d (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:57 AM Revision 946ab45d (git): markdown.rb: \r
* lib/rdoc/markdown.rb (RDoc::Markdown): use \r instead of raw control
code.
git-svn-id: svn+ssh://ci.ruby-lang.or...
nobu (Nobuyoshi Nakada)
03:35 AM Revision bfd5921e (git): * re-added r38053 that is reverted by r38061. Problems by r38053
are resolved by r38096. r38096 removed GEM_SKIP configuration.
The below is ChangeLog of r38053:
* defs/default_g...
Sutou Kouhei
03:30 AM Revision 3f50943b (git): test_gem_specification.rb: suppress warnings
* test/rubygems/test_gem_specification.rb (with_syck): we all know
that syck has been removed.
git-svn-id: svn+ssh...
nobu (Nobuyoshi Nakada)
02:39 AM Bug #7484 (Closed): Fiddle::Importer incompatibility with DL::Importer
As described in r38054, Fiddle::Importer is not compatible with DL::Importer about :stdcall.
I hope attached patch f...
ngoto (Naohisa Goto)
02:28 AM Bug #7482: test_system_redirect_win(TestSystem) failure on Windows 8
Ah, I should check these Win8 tickets, but I have no time before the release
limit of preview 2.
Committers, plea...
usa (Usaku NAKAMURA)
02:13 AM Revision afb02bbe (git): * variable.c (rb_class_path_no_cache): add a function to get the class
path without caching the computed path. Some classes are frozen, and
will raise an exception without this.
* probe...
tenderlovemaking (Aaron Patterson)
02:02 AM Feature #6670: str.chars.last should be possible
duerst (Martin Dürst) wrote:
> For with_index in particular, wouldn't it make sense to either add it to Enumerable o...
yhara (Yutaka HARA)
01:28 AM Feature #6670: str.chars.last should be possible
I often use StringIO as an IO substitute for tests. I would prefer matching behavior.
You can get the last line by...
drbrain (Eric Hodel)
01:57 AM Bug #7440 (Rejected): IO#lines etc. should return Array
This issue is now included in #6670. yhara (Yutaka HARA)
12:57 AM Bug #7483 (Closed): Fiddle::Function::STDCALL is never defined even on WIN32
This issue was solved with changeset r38073.
Naohisa, thank you for reporting this issue.
Your contribution to Ruby i...
ngoto (Naohisa Goto)
12:44 AM Bug #7483 (Closed): Fiddle::Function::STDCALL is never defined even on WIN32
In ext/fiddle/function.c, Fiddle::Function::STDCALL is defined only when "#ifdef FFI_STDCALL" is true. However, in ff... ngoto (Naohisa Goto)
12:49 AM Revision d3c6187a (git): * test/rdoc/test_rdoc_options.rb: Windows drive letters are
case-insensitive.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
12:42 AM Revision 5db8f999 (git): * lib/rubygems.rb: Search for gem deps file up the directory tree.
* test/rubygems/test_gem.rb: Test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38097 b2dd03c8-39d4...
drbrain (Eric Hodel)
12:34 AM Revision 18a37744 (git): * test/runner.rb: Set GEM_HOME, GEM_PATH and GEM_SKIP to empty set.
With default_gem support in RubyGems GEM_SKIP prevents loading of
built-in gems.
git-svn-id: svn+ssh://ci.ruby-la...
drbrain (Eric Hodel)

11/30/2012

11:43 PM Feature #1586: Including a module already present in ancestors should not be ignored
As Clay said, I think the example I gave previously is not the way to go.
The important aspect is the ability to i...
marcandre (Marc-Andre Lafortune)
07:04 PM Feature #1586: Including a module already present in ancestors should not be ignored
This would cause compatibility issue, in some cases, when a module is
included twice but it expects it never get cal...
nobu (Nobuyoshi Nakada)
10:58 PM Bug #7482 (Closed): test_system_redirect_win(TestSystem) failure on Windows 8
I found the following test failure on Windows 8.
test_system_redirect_win(TestSystem) [c:/work/snapshot-mg64/test/...
phasis68 (Heesob Park)
10:52 PM Bug #4911 (Closed): timer_thread_function() が thead unsafe
This issue was solved with changeset r38063.
Motohiro, thank you for reporting this issue.
Your contribution to Ruby ...
kosaki (Motohiro KOSAKI)
10:51 PM Bug #7475: Unexpected behavior of Module#append_features on singleton class
Another quick set of observations from this morning:
class Baz
class << self
Const = 'Const'
...
ernie (Ernie Miller)
10:56 AM Bug #7475 (Closed): Unexpected behavior of Module#append_features on singleton class
=begin
A more involved explanation is available at ((<URL:http://erniemiller.org/2012/11/29/ruby-tidbit-include-vs-e...
ernie (Ernie Miller)
10:29 PM Revision 7c407e2a (git): * compile.c (ADD_CATCH_ENTRY): add a cast to fix SEGV with x64 mingw
on Windows 8. Without cast, 0 might be non zero value at higher bits
in rb_ary_new3().
[ruby-core:50258] [Bug #74...
h.shirosaki (Hiroshi Shirosaki)
09:46 PM Bug #7481 (Closed): gem cleanup が正常に完了しない
gem cleanup を実行すると先頭の gem のみ cleanup に成功し、以降の gem の cleanup に失敗してしまいます。
% yes | gem cleanup
WARN: Unresolved ...
hsbt (Hiroshi SHIBATA)
08:53 PM Feature #4085: Refinements and nested methods
Em 29-11-2012 23:42, Yukihiro Matsumoto escreveu:
> | class C
> | def foo; p :C; end
> | end
> | modul...
rosenfeld (Rodrigo Rosenfeld Rosas)
02:41 PM Feature #4085: Refinements and nested methods
> |* Performance expectations. Is performance being completely ignored here, or shall we set some goals for the impl... jonforums (Jon Forums)
12:23 PM Feature #4085: Refinements and nested methods
Your mail seems to be failed to synced into bugs.ruby-lang.org, so I
reply by e-mail.

2012/11/30 Yukihiro Matsum...
shugo (Shugo Maeda)
11:23 AM Feature #4085: Refinements and nested methods
In message "Re: [ruby-core:50357] [ruby-trunk - Feature #4085] Refinements and nested methods"
on Fri, 30 Nov ...
Anonymous
11:23 AM Feature #4085: Refinements and nested methods
Hi,

In message "Re: [ruby-core:50355] [ruby-trunk - Feature #4085] Refinements and nested methods"
on Fri...
Anonymous
11:04 AM Feature #4085: Refinements and nested methods
headius (Charles Nutter) wrote:
> By stacking, I assume you mean something like this:
>
> class String
> def b...
shugo (Shugo Maeda)
10:58 AM Feature #4085: Refinements and nested methods
> |What happens if the same class is refined both in a module and another module included into that module?
> |For e...
trans (Thomas Sawyer)
10:42 AM Feature #4085: Refinements and nested methods
=begin
@matz
> It makes refinement decoration quite unpredictable. For example,
>
> module M
> refine In...
trans (Thomas Sawyer)
10:23 AM Feature #4085: Refinements and nested methods
In message "Re: [ruby-core:50338] [ruby-trunk - Feature #4085] Refinements and nested methods"
on Fri, 30 Nov 2...
Anonymous
10:00 AM Feature #4085: Refinements and nested methods
Thanks for your answering my questions. I understand your intention.
matz wrote:
> In message "Re: [ruby-core:50...
shugo (Shugo Maeda)
06:23 AM Feature #4085: Refinements and nested methods
In message "Re: [ruby-core:50338] [ruby-trunk - Feature #4085] Refinements and nested methods"
on Fri, 30 Nov ...
Anonymous
04:35 AM Feature #4085: Refinements and nested methods
As headius wants substantive questions, here are some
* What is the plan to make sure, that this feature is compat...
Gibheer (Stefan Radomski)
04:05 AM Feature #4085: Refinements and nested methods
Anonymous wrote:
> In message "Re: [ruby-core:50299] [ruby-trunk - Feature #4085] Refinements and nested methods"
>...
headius (Charles Nutter)
01:53 AM Feature #4085: Refinements and nested methods
On Nov 29, 2012, at 4:56, "steveklabnik (Steve Klabnik)" <[email protected]> wrote:

> Wasn't a 'feature free...
drbrain (Eric Hodel)
01:09 AM Feature #4085: Refinements and nested methods
@rosenfeld -- yeah, that sounds like it would work fine, as long as there wasn't a perf impact just by having the cod... myronmarston (Myron Marston)
01:05 AM Feature #4085: Refinements and nested methods
Myron, congrats for the lead maintainer position in RSpec. You're really doing a great job there.
With regards to ...
rosenfeld (Rodrigo Rosenfeld Rosas)
12:42 AM Feature #4085: Refinements and nested methods
=begin
@headius Your idea of having refinements in class hierarchy is very interesting. It is remarkably similar to C...
trans (Thomas Sawyer)
12:41 AM Feature #4085: Refinements and nested methods
I find refinements to be a _very_ interesting idea, but, as with many others, it concerns me that there aren't rubysp... myronmarston (Myron Marston)
08:13 PM Revision 1b6c1cb6 (git): * Fixed commit reference for r38083
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
07:59 PM Bug #7443 (Closed): Method redefinition from Fiddle is causing a test failure (MinGW)
This issue was solved with changeset r38055.
Luis, thank you for reporting this issue.
Your contribution to Ruby is g...
usa (Usaku NAKAMURA)
07:59 PM Feature #5174 (Feedback): Export ruby_init_prelude()
I don't think exporting it is a nice idea.
What's wrong with ruby_options(0, 0)?
nobu (Nobuyoshi Nakada)
07:30 PM Feature #7427: Update Rubygems
drbrain, good work!
The current trunk seems to work on many platforms [1], but unfortunately, usa told me that it ...
mame (Yusuke Endoh)
07:23 PM Feature #6762: Control interrupt timing
(2012/11/30 18:59), Brent Roman wrote:
> Koichi,
>
> Sorry about misspelling your name in my previous post. :...
ko1 (Koichi Sasada)
07:23 PM Feature #6762: Control interrupt timing
How about:

Thread.allow_exception(RuntimeError => :on_blocking){
while true
...

- brent
...
brent (Brent Roman)
07:23 PM Feature #6762: Control interrupt timing
Koichi,

Sorry about misspelling your name in my previous post. :-(

In reference to:
----------------
...
brent (Brent Roman)
06:31 PM Feature #6762 (Feedback): Control interrupt timing
I renamed it as [ruby-core:50147] says.
and I also remove/add method:
* thread.c: remove Thread.check_interrup...
ko1 (Koichi Sasada)
06:29 PM Feature #6762: Control interrupt timing
I like this proposal.
It looks very similar to one I made five years ago on this thread:

www.ruby-forum.com/t...
brent (Brent Roman)
06:28 PM Feature #6762 (Closed): Control interrupt timing
This issue was solved with changeset r38046.
Koichi, thank you for reporting this issue.
Your contribution to Ruby is...
ko1 (Koichi Sasada)
05:53 PM Feature #6762: Control interrupt timing
(2012/11/26 13:53), kosaki (Motohiro KOSAKI) wrote:
> Ko1 suggested me defer_async_interrupt or async_interrupt_ti...
ko1 (Koichi Sasada)
07:10 PM Revision b1920c03 (git): * parse.y (parser.utf8): remove unused property.
* parse.y (UTF8_ENC): remove unused macro.
* parse.y (parser_tokadd_utf8): use rb_utf8_encoding() directly.
git-svn...
naruse (Yui NARUSE)
07:10 PM Revision b1b7c389 (git): suppress warnings: uninitialized variables
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:10 PM Revision 9207474f (git): suppress warnings: unused variables
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:10 PM Revision 8539a917 (git): Use RUBYOPT to overwrite original RUBYOPT ENV
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:05 PM Bug #7480 (Closed): tracepoint deadlock on exception without :raise
=begin
to reproduce
TracePoint.new { |tp| p [tp.lineno, tp.event, tp.raised_exception] }.enable { 0 / 0 }
=end
zzak (zzak _)
06:55 PM Revision c62ec3ae (git): * lib/sync.rb (Sync_m#sync_synchronize): add Thread.async_interrupt_timing
for protecting from async interrupt.
* lib/sync.rb (Sync_m#sync_lock): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org...
kosaki (Motohiro KOSAKI)
06:55 PM Revision 028ca79f (git): * lib/thread.rb (ConditionVariable#broadcast): s/RuntimeError/StandardError/
* lib/thread.rb (ConditionVariable#signal): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38088 b2dd03c8-...
kosaki (Motohiro KOSAKI)
06:55 PM Revision 3357d88a (git): * lib/thread.rb (SizedQueue#pop): rewrite by using ConditionVariable.
* lib/thread.rb (SizedQueue#push): ditto.
* lib/thread.rb (SizedQueue#max): ditto.
* lib/thread.rb (Queue#pop): ditto...
kosaki (Motohiro KOSAKI)
06:47 PM Revision e742a446 (git): * thread.c (Thread.async_interrupt_timing): fix RDoc.
:never is not used any more.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38086 b2dd03c8-39d4-4d8f-98ff-823fe...
ko1 (Koichi Sasada)
06:44 PM Bug #7479 (Third Party's Issue): undefined symbol: rb_thread_blocking_region_begin
on linux
[root@localhost ~]# ruby -v
ruby 1.9.3p327 (2012-11-10 revision 37606) [x86_64-linux]
[root@localhost ...
kevinbin (hong bin)
06:28 PM Bug #4285 (Closed): Ruby don't have asynchrounous exception safe syntax and It should have.
This issue was solved with changeset r38046.
Koichi, thank you for reporting this issue.
Your contribution to Ruby is...
ko1 (Koichi Sasada)
06:25 PM Feature #6895 (Closed): TracePoint API
This issue was solved with changeset r38045.
Koichi, thank you for reporting this issue.
Your contribution to Ruby is...
zzak (zzak _)
01:22 AM Feature #6895 (Assigned): TracePoint API
I didn't receive your comment from ruby-core.
trans (Thomas Sawyer) wrote:
> > I can't get points.
> > What is "...
ko1 (Koichi Sasada)
06:08 PM Feature #6670: str.chars.last should be possible
knu (Akinori MUSHA) wrote:
> Here's a patch to deprecate #lines, #bytes, #chars and #codepoints of IO-likes.
Mayb...
yhara (Yutaka HARA)
06:02 PM Revision 5697f69b (git): * iseq.c: add RubyVM::InstructionSequence (ISeq) inspection methods.
* ISeq#path returns path of this ISeq written.
* ISeq#absolute_path returns absolute path.
* ISeq#label returns label...
ko1 (Koichi Sasada)
05:59 PM Revision 57a83c4c (git): * include/ruby/ruby.h (rb_event_flag_t): Maintain integer precision
for clang error (VALUE aka unsigned long vs unsigned int)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38084 b...
drbrain (Eric Hodel)
05:54 PM Revision 646eeab1 (git): * test/rubygems/test_gem_dependency_installer.rb: Use Gem.read_binary
instead of File.binread for ruby 1.8 compatibility in the rubygems
source repository. Updates r38071
git-svn-id:...
drbrain (Eric Hodel)
05:43 PM Bug #7342 (Closed): String#<=> checks for a #to_str method on other but never uses it?
This issue was solved with changeset r38044.
Joshua, thank you for reporting this issue.
Your contribution to Ruby is...
nobu (Nobuyoshi Nakada)
05:43 PM Bug #7478 (Rejected): Do not include vararg.h - always include stdarg.h
Cause : https://gist.github.com/4172330
It seems that stdarg.h is included in many separate C files unconditionall...
funny_falcon (Yura Sokolov)
05:39 PM Revision a113ab64 (git): * thread.c (rb_threadptr_interrupt_mask, async_interrupt_timing_func):
merge into them into rb_thread_s_async_interrupt_timing.
* thread.c (rb_thread_s_async_interrupt_timing): ditto.
git...
kosaki (Motohiro KOSAKI)
05:39 PM Revision 279cd29b (git): * thread.c (rb_threadptr_interrupt_mask): add argument check.
* thread.c (async_interrupt_timing_arg_check_i): helper function
for the above.
* test/ruby/test_thread.rb (test_as...
kosaki (Motohiro KOSAKI)
05:39 PM Revision 6ca32179 (git): * lib/thread.rb (ConditionVariable#broadcast): protect from
async interrupt by using Thread.async_interrupt_timing.
* lib/thread.rb (ConditionVariable#signal): ditto.
* lib/thre...
kosaki (Motohiro KOSAKI)
05:14 PM Revision a1d837cc (git): * test/ruby/envutil.rb (Test::Unit::Assertions#assert_in_out_err): raise if assert_in_out_err misused.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
05:14 PM Revision 8f9b451d (git): assert_in_out_err with block ignores test_stdout
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
05:11 PM Revision ad01ea42 (git): * test/rdoc/test_rdoc_rubygems_hook.rb
(TestRDocRubygemsHook#test_setup_unwritable): 1. check the existance
of the file(directory) before touch it. 2. re...
U.Nakamura
05:00 PM Revision 12f2f737 (git): [EXPERIMENTAL]
* iseq.c: add following two methods.
* ISeq#line_trace_all returns all line traces (line numbers)
* ISeq#line_trace_s...
ko1 (Koichi Sasada)
04:51 PM Revision 60317fa8 (git): * test/rubygems/test_gem_dependency_installler.rb: gems are of course
binary files, so use a binary reading method when reading it.
see [ruby-core:50388].
git-svn-id: svn+ssh://ci.rub...
U.Nakamura
04:27 PM Revision 952beb5f (git): * lib/rubygems/command.rb (Gem::Command#get_all_gem_names_and_versions):
who assumes that the pathname of a gem never contains ':' ?
yes, on Unixen pathnames can contain ':', and on Window...
U.Nakamura
03:57 PM Revision 4bb1bfa0 (git): * ext/fiddle/extconf.rb, ext/fiddle/function.c
(Fiddle::Function::STDCALL): FFI_STDCALL is not a macro, but an enumeration. [ruby-core:50398] [Bug #7483]
git-svn-...
ngoto (Naohisa Goto)
03:25 PM Feature #7476 (Closed): missing "IP_TRANSPARENT" constant for IP sockets.
There is a missing constant for IP_TRANSPARENT on linux.
to set the TPROXY on a socket I use:
s.setsockopt(Socket::...
elico (Eliezer Croitoru)
03:16 PM Revision 7c1a19b6 (git): fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
03:11 PM Revision a847bedb (git): * test/rubygems/test_gem_installer.rb
(TestGemInstaller#test_check_executable_overwrite_other_non_gem):
on Windows, rubygems always generate a wrapper .b...
U.Nakamura
03:07 PM Revision b688029a (git): * ChangeLog: remove duplicated lines for r38042-r38044.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
03:05 PM Revision ed13a84a (git): * 2012-12-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:05 PM Revision b20e7eb9 (git): * ChangeLog: fix a typo for r38064.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
03:05 PM Revision f125ec9a (git): * ChangeLog: fix a typo for r38063.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
02:43 PM Revision ec7d935c (git): * test/rubygems/test_gem_installer.rb
(TestGemInstaller#test_check_executable_overwrite_default_bin_dir):
if the executable to be overwritten was generat...
U.Nakamura
02:29 PM Revision 053ca25f (git): * test/rubygems/test_gem_ext_ext_conf_builder.rb
(TestGemExtExtConfBuilder::test_class_make): reading with binary mode
of course introduce \r on Windows. see [ruby...
U.Nakamura
02:15 PM Revision bcef7159 (git): * lib/rubygems/specification.rb
(Gem::Specification.validate_permissions): don't check executablity
of the source on Windows. they will be wrapped...
U.Nakamura
02:06 PM Bug #7465 (Closed): Rdoc for CGI (html generation example)
This issue was solved with changeset r38033.
Marcus, thank you for reporting this issue.
Your contribution to Ruby is...
zzak (zzak _)
01:53 PM Feature #7434: Allow caller_locations and backtrace_locations to receive negative params
(2012/11/30 10:25), sam.saffron (Sam Saffron) wrote:
> @ko1 will try to write some tests next week.

Thank yo...
ko1 (Koichi Sasada)
10:23 AM Feature #7434: Allow caller_locations and backtrace_locations to receive negative params
@ko1 will try to write some tests next week.
On first go I got a segfault:
(pry):1: [BUG] backtrace_collect: ...
sam.saffron (Sam Saffron)
01:53 PM Bug #7326 (Closed): Time.c doc improvements
This issue was solved with changeset r38032.
Bernd, thank you for reporting this issue.
Your contribution to Ruby is ...
zzak (zzak _)
01:52 PM Revision 15b25acd (git): * vm_core.h (rb_vm_struct): add thread_destruct_lock field.
* thread.c (Init_Thread): ditto.
* thread.c (rb_vm_gvl_destroy): ditto.
* thread.c (thread_start_func_2): make sure ...
kosaki (Motohiro KOSAKI)
01:52 PM Revision 2e72d1c3 (git): revert r35486 (add rb_thread_t#yeiling field). because it doesn't help
to close a race.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
01:02 PM Bug #7471 (Open): character class has duplicated range warning for "" =~ /[\w\W]/
While I worked around this, the warning itself looks like a bug in our regexp engine (Onigmo?). knu (Akinori MUSHA)
01:01 PM Bug #7471 (Closed): character class has duplicated range warning for "" =~ /[\w\W]/
This issue was solved with changeset r38028.
Eric, thank you for reporting this issue.
Your contribution to Ruby is g...
knu (Akinori MUSHA)
08:06 AM Bug #7471 (Closed): character class has duplicated range warning for "" =~ /[\w\W]/
=begin
The warning seems bogus, \w and \W do not overlap.
$ cat test.rb
$-w = true
""=~/[\w\W]/
$ m...
drbrain (Eric Hodel)
01:00 PM Revision 5d33dad1 (git): * revert r38053 because it causes too many test failures.
if you've already installed r38053 or later, remove the installed
lib/ruby/gems/2.0.0 directory and reinstall this ...
U.Nakamura
12:50 PM Revision 759619ca (git): fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:27 PM Feature #7472: Add a mechanism to remove objects from the GC cycle
@charlie looking at the code and the heap design I think there is very little cheating we could do here.
I vote t...
sam.saffron (Sam Saffron)
11:48 AM Feature #7472: Add a mechanism to remove objects from the GC cycle
What happens if an object in the 'permanent' objectspace references an object in the ephemeral objectspace?
Now this...
Anonymous
10:57 AM Feature #7472: Add a mechanism to remove objects from the GC cycle
> if you mean "move to a different memory address" this will cause crashes.
no, not at all, leave it exactly where...
sam.saffron (Sam Saffron)
09:59 AM Feature #7472: Add a mechanism to remove objects from the GC cycle
sam.saffron (Sam Saffron) wrote:
> How about we add.
>
> GC.skip(object) # remove object from GC cycle, essential...
drbrain (Eric Hodel)
08:47 AM Feature #7472 (Rejected): Add a mechanism to remove objects from the GC cycle
For typical rails apps there is a huge largely static object graph in memory. Requests come in, some objects are adde... sam.saffron (Sam Saffron)
12:09 PM Revision d07346a1 (git): * lib/test/unit/parallel.rb (Test::Unit::Worker.run): wrap LoadError
because it's Gem::LoadError sometimes. see [Bug #6882]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38059 b2d...
U.Nakamura
11:54 AM Bug #7469 (Assigned): WEBrick "Could not determine content-length of response body. Set content-length of the response..." even when content-length is set
=begin
I cannot reproduce it with the example code given or by removing (({response.body = ''})), (({response.conten...
drbrain (Eric Hodel)
10:41 AM Bug #7469: WEBrick "Could not determine content-length of response body. Set content-length of the response..." even when content-length is set
We were seeing this as well when using webrick with Rails. However, putting
gem 'webrick', '= 1.3.1'
in the Ge...
steveklabnik (Steve Klabnik)
05:01 AM Bug #7469 (Closed): WEBrick "Could not determine content-length of response body. Set content-length of the response..." even when content-length is set
Minimal demonstration code:
########
require 'webrick'
class BugDemonstrator < WEBrick::HTTPServlet::AbstractS...
meta (mathew murphy)
11:50 AM Revision bb4410a2 (git): * thread.c: TracePoint#self returns invoking/exitting thread object
at thread_begin/end event.
* test/ruby/test_settracefunc.rb: fix test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
ko1 (Koichi Sasada)
11:22 AM Revision d0a4fecf (git): * test/ruby/memory_status.rb (Memory::Win32): sorry, ko1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
11:15 AM Revision 88201504 (git): * test/ruby/memory_status.rb (Memory::Win32): rescue non libffi user, such as ko1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
10:59 AM Revision 7ca1927a (git): * ChangeLog: mention to ML and ticket: [ruby-core:50194] [Bug #7443]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
10:57 AM Revision 77df72a6 (git): * test/ruby/memory_status.rb (Memory::Win32): use fiddle instead of dl,
but I doubt fiddle is not compatible with dl. (if you are interested,
see the diff.)
git-svn-id: svn+ssh://ci.rub...
U.Nakamura
10:45 AM Revision f807e1b8 (git): * defs/default_gems: Add base directory column.
* tool/rbinstall.rb:
- Install .gemspecs of default gem to
#{GEM_HOME}/specifications/default/.
- Update file...
Sutou Kouhei
10:29 AM Revision 57540a49 (git): * vm_trace.c:
tracepoint_attr_return_value (TracePoint#return_value):
include `:b_return` for method doc
tracepoint_enable_m,...
zzak (zzak _)
10:28 AM Bug #7474 (Rejected): I am getting undefined symbol: rb_enable_interrupt when running event machine
I would like to cross report
https://github.com/eventmachine/eventmachine/issues/389
Clearly this breakage cou...
sam.saffron (Sam Saffron)
10:08 AM Revision 5a82fca5 (git): fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
09:55 AM Revision 6df1b3a9 (git): * vm_trace.c (tracepoint_disable_m, tracepoint_enable_m):
fix block parameter.
No arugment should be given to a block which is passed
to TracePoint#enable (and disable).
...
ko1 (Koichi Sasada)
09:50 AM Revision fcd4ecd5 (git): vm_backtrace.c: suppress warning
* vm_backtrace.c (rb_debug_inspector_open): suppress
uninitialized-variable warning.
git-svn-id: svn+ssh://ci.ruby...
nobu (Nobuyoshi Nakada)
09:50 AM Revision ed0aa14f (git): zlib.c: suppress warning
* ext/zlib/zlib.c (zstream_run): suppress unused-but-set-variable
warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/...
nobu (Nobuyoshi Nakada)
09:50 AM Revision 578deb65 (git): zlib.c: suppress warning
* ext/zlib/zlib.c (zlib_mem_alloc): suppress unused-value warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
nobu (Nobuyoshi Nakada)
09:28 AM Revision 719e0cd5 (git): * thread.c: rename Thread.control_interrupt
to Thread.async_interrupt_timing.
The option name `:never' is also changed to `:defer'.
[ruby-core:50375] [ruby-...
ko1 (Koichi Sasada)
09:25 AM Revision f2fee844 (git): * vm_trace.c: Documentation for TracePoint API
[ruby-core:47243] [Feature #6895]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38045 b2dd03c8-39d4-4d8f-98ff-8...
zzak (zzak _)
09:02 AM Feature #7473 (Closed): new events for TracePoint thread_begin/end, b_call/b_end
On the trunk, there are new 4 events for TracePoint.
* vm_trace.c: add events
* :thread_begin - hook at threa...
ko1 (Koichi Sasada)
08:43 AM Revision 020cc0ad (git): string.c: compare with to_str
* string.c (rb_str_cmp_m): try to compare with to_str result if
possible before calling <=> method. [ruby-core:492...
nobu (Nobuyoshi Nakada)
08:43 AM Revision c08785a3 (git): string.c: use rb_check_funcall
* string.c (rb_str_cmp_m): use rb_check_funcall instead of respond_to
and call.
git-svn-id: svn+ssh://ci.ruby-lan...
nobu (Nobuyoshi Nakada)
08:43 AM Revision 1dbc720c (git): string.c: always fixed value
* string.c (rb_str_cmp_m): return fixed value, one of -1,0,+1 always.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t...
nobu (Nobuyoshi Nakada)
07:19 AM Revision 981f9c52 (git): vm_dump.c: no methods in segv handler
* vm_dump.c (rb_vm_bugreport): get rid of calling methods in sigsegv
handler. based on a patch by charliesome (Cha...
nobu (Nobuyoshi Nakada)
07:06 AM Revision b5d8a0b3 (git): * NEWS: Added RubyGems 2.0.0
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
06:24 AM Revision 8e2839ba (git): parse.y: false usage of local variable
* parse.y (parser_yylex): fix false usage of local variable, it cannot
appear in fname state [ruby-core:49659] [Bug...
nobu (Nobuyoshi Nakada)
06:20 AM Revision 69690434 (git): * lib/rubygems/package.rb: Load YAML for building gems.
* test/rubygems/test_gem_commands_contents_command.rb: Sort expected
output of default gem contents. Re-fixes r38...
drbrain (Eric Hodel)
06:15 AM Revision 0d672c18 (git): * vm_trace.c (set_trace_func): Formatting of params and events
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
05:45 AM Revision 421d4f62 (git): * lib/net/http.rb: Net::HTTP::Patch to list of HTTP Request Classes
Patch by Ryunosuke SATO [Fixes #217 on github]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38036 b2dd03c8-39d...
zzak (zzak _)
05:42 AM Revision 25b0a58b (git): parse.y: LVAR_USED
* parse.y (LVAR_USED): use MSB of ID.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38035 b2dd03c8-39d4-4d8f-98f...
nobu (Nobuyoshi Nakada)
05:41 AM Revision 7e42e55e (git): parse.y: IS_lex_state_for
* parse.y (IS_lex_state_for): new macro similar to IS_lex_state() but
for arbitrary variables.
git-svn-id: svn+ssh...
nobu (Nobuyoshi Nakada)
05:06 AM Revision 90d43225 (git): * lib/cgi.rb: CGI example for HTML generation
Patch by Marcus Stollsteimer [ruby-core:50303] [Bug #7465]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38033 ...
zzak (zzak _)
04:53 AM Revision 088b04e8 (git): * time.c: Documentation improvements, grammar and formatting
Patch by Bernd Homuth [ruby-core:49203] [Bug #7326]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38032 b2dd03c...
zzak (zzak _)
04:48 AM Revision 24c0d076 (git): * lib/rdoc.rb: Set version to 4.0.0.preview2
* lib/rubygems.rb: Set version to 2.0.0.preview2
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38031 b2dd03c8-...
drbrain (Eric Hodel)
04:32 AM Revision 368d99b3 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:30 AM Revision 42968fe6 (git): * lib/rubygems/commands/setup_command.rb: Remove old files on install
of RubyGems. (not by rbinstall.rb).
* test/rubygems/test_gem_commands_setup_command.rb: Test for above.
g...
drbrain (Eric Hodel)
04:01 AM Revision 3c4633a3 (git): Stop using a regexp that causes a false warning.
* lib/abbrev.rb (Abbrev#abbrev): Stop using a regexp that causes a
false warning. [Bug #7471]
git-svn-id: svn+ssh:...
Akinori MUSHA
03:56 AM Revision 4078d42b (git): Fix a line matching problem in Abbrev.abbrev(words, "prefix").
* lib/abbrev.rb (Abbrev#abbrev): A fixed string prefix pattern
should only match the beginning of each word, not th...
Akinori MUSHA
03:56 AM Revision aac52e2b (git): Improve test data in test_abbrev.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
03:35 AM Revision 06c3b413 (git): Add tests for lib/abbrev.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
03:28 AM Revision aee295fc (git): * lib/rubygems/spec_fetcher.rb: Allow prerelease spec fetching to fail
for bundler.
* test/rubygems/test_gem_spec_fetcher.rb: Test for above.
git-svn-id: svn+ssh://ci.ruby-lang....
drbrain (Eric Hodel)
03:21 AM Revision 8137152e (git): * lib/rake/backtrace.rb: Removed duplication in
Rake::Backtrace::SUPPRESSED_PATHS
* test/rake/test_rake_backtrace.rb: Skip tests when tmpdir is in the
...
drbrain (Eric Hodel)
02:35 AM Bug #7466 (Closed): Hashの大きさによってHash#keysでvalueが返ることがある
This issue was solved with changeset r38000.
Shin-ichiro, thank you for reporting this issue.
Your contribution to Ru...
naruse (Yui NARUSE)
01:09 AM Bug #7466 (Assigned): Hashの大きさによってHash#keysでvalueが返ることがある
naruse (Yui NARUSE)
02:11 AM Revision 9e449748 (git): * revert r37993 to avoid SEGV in tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shugo (Shugo Maeda)
01:39 AM Revision 696ebcd8 (git): * lib/rdoc/ri/driver.rb: Relaxed matching for pages to be more
user-friendly.
* test/rdoc/test_rdoc_ri_driver.rb: Test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
drbrain (Eric Hodel)
01:35 AM Revision e553663c (git): value.rb: adjust indent
* ext/fiddle/lib/fiddle/value.rb (Fiddle::ValueUtil#wrap_arg): adjust
indent.
git-svn-id: svn+ssh://ci.ruby-lang.o...
nobu (Nobuyoshi Nakada)
01:35 AM Revision 1459cabe (git): value.rb: remove DL
* ext/fiddle/lib/fiddle/value.rb (Fiddle::ValueUtil#wrap_arg): remove
deprecated require.
git-svn-id: svn+ssh://ci...
nobu (Nobuyoshi Nakada)
01:29 AM Revision d8da36dd (git): Refix r38002: capture_subprocess_io also doesn't fork
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:01 AM Revision 96748600 (git): * lib/rdoc/markdown.rb: Fixed warnings with -w
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
12:54 AM Revision b479ca0c (git): Use capture_subprocess_io instead of capture_io. fix r38002
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
12:38 AM Revision 4f451ddd (git): vm_backtrace.c: RB_GC_GUARD
* include/ruby/ruby.h (RB_GC_GUARD_PTR): add note.
* vm_backtrace.c (backtrace_to_str_ary): use RB_GC_GUARD() instead...
nobu (Nobuyoshi Nakada)
12:23 AM Revision 82e6c75d (git): * lib/rubygems/commands/contents_command.rb: Sort output from command.
Replaces r38004, r38005
* test/rubygems/test_gem_commands_contents_command.rb: ditto.
* lib/rubygems/defaults.rb: ...
drbrain (Eric Hodel)

11/29/2012

11:34 PM Revision 09af9d7f (git): * lib/rdoc/generator/darkfish.rb: Silenced warning
* test/rdoc/test_rdoc_rdoc.rb: ditto
* lib/rdoc/markup/parser.rb: Use byteslice when available for
...
drbrain (Eric Hodel)
11:23 PM Feature #4085: Refinements and nested methods
In message "Re: [ruby-core:50299] [ruby-trunk - Feature #4085] Refinements and nested methods"
on Thu, 29 Nov ...
Anonymous
09:56 PM Feature #4085: Refinements and nested methods
=begin
Sorry, I didn't realize that the form was submitted because redmine is being a bit slow today. This comment wa...
steveklabnik (Steve Klabnik)
09:56 PM Feature #4085: Refinements and nested methods
Wasn't a 'feature freeze' declared on October 24th? Why are major additions to the language being modified post-freez... steveklabnik (Steve Klabnik)
08:43 PM Feature #4085: Refinements and nested methods
Yeah, "using" at file scope will mean a bit of boilerplate to specify it across several files, but since there are no... brainopia (Ravil Bayramgalin)
08:19 PM Feature #4085: Refinements and nested methods
@matz, I like the suggestion of "using" being file scoped, although I don't understand why you want it to be applied ... rosenfeld (Rodrigo Rosenfeld Rosas)
06:59 PM Feature #4085: Refinements and nested methods
@trans I am thinking of combination of require and using, but I don't want to put half baked idea into Ruby 2.0.
So ...
matz (Yukihiro Matsumoto)
06:31 PM Feature #4085: Refinements and nested methods
=begin
> refinements are file scope
That's a very interesting and significant recalibration of refinements. On on...
trans (Thomas Sawyer)
06:09 PM Feature #4085: Refinements and nested methods
Hello,
I followed the discussion of refinements not as close as most others commenting here, but the state I saw t...
Gibheer (Stefan Radomski)
05:43 PM Feature #4085: Refinements and nested methods
The last two comments here again confirm my view that we should not add refinements to Ruby 2.0. Apparently it is not... dbussink (Dirkjan Bussink)
03:02 PM Feature #4085: Refinements and nested methods
matz (Yukihiro Matsumoto) wrote:
> Since there still remain undefined corner case behavior in refinements, and the t...
shugo (Shugo Maeda)
01:56 PM Feature #4085: Refinements and nested methods
Since there still remain undefined corner case behavior in refinements, and the time is running out, I decided not to... matz (Yukihiro Matsumoto)
11:14 PM Bug #5353: TLS v1.0 and less - Attack on CBC mode
=begin
This could be an option:
Index: test/openssl/test_ssl.rb
==============================================...
nahi (Hiroshi Nakamura)
11:10 PM Revision a22bb18e (git): * gc.c : remove a unused function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e authorNari (Narihiro Nakamura)
11:02 PM Revision 6b627e6c (git): fix a revisited typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e authorNari (Narihiro Nakamura)
10:56 PM Revision 59770bf9 (git): * gc.c (rb_objspace_call_finalizer): finalize_deferred may free up
a object which is reachable from a part after this function,
e.g. ruby_vm_destruct(). [ruby-dev:46647] [Bug #7452]
...
authorNari (Narihiro Nakamura)
10:54 PM Bug #7463 (Closed): OpenSSL::TestSSL#test_npn_* fail with "string contains null byte" on big-endian machines
This issue was solved with changeset r37996.
Naohisa, thank you for reporting this issue.
Your contribution to Ruby i...
ngoto (Naohisa Goto)
12:29 PM Bug #7463 (Closed): OpenSSL::TestSSL#test_npn_* fail with "string contains null byte" on big-endian machines
On Solaris10 running in sparc64 CPU, during make test-all, the following 4 tests raise "ArgumentError: string contain... ngoto (Naohisa Goto)
10:44 PM Revision c8637940 (git): * thread.c (rb_thread_interrupted): avoid warning of
implicit conversion.
* thread.c (rb_threadptr_execute_interrupts): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
ko1 (Koichi Sasada)
10:35 PM Bug #6141 (Feedback): rails-3.2.2+1.9.3p125 の環境で SEGV が発生
すいません、私にassignしたばっかりに放置されてしまいました。。。で、今見てもさっぱりわからないので、再現したらまた教えてください。 nahi (Hiroshi Nakamura)
10:35 PM Revision 0c3f23ae (git): * vm_backtrace.c: add GC guards.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
10:28 PM Revision 4db83403 (git): [EXPERIMENTAL: NEED DISCUSS]
* vm_trace.c: add events
* :thread_begin - hook at thread beggining.
* :thead_end - hook at thread ending.
* :b_call ...
ko1 (Koichi Sasada)
10:28 PM Bug #4408 (Third Party's Issue): Net::SSH connections are subject to plaintext recovery due to lack of CTR mode
Indeed. Closing this as TPI. Added CTR test at r37994 for making sure we can use CTR. nahi (Hiroshi Nakamura)
10:20 PM Bug #4332 (Third Party's Issue): Some seemingly random segfaults
Thanks for the confirmation. Closing. nahi (Hiroshi Nakamura)
10:05 PM Bug #4418: OpenSSL::PKey::DH#public_key
I like to keep ext/openssl just reflects OpenSSL API but we already have some exceptions in API for ease of use.
I...
nahi (Hiroshi Nakamura)
10:02 PM Revision 2dc5e625 (git): Imported minitest 4.3.2 (r8027)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Ryan Davis
09:53 PM Bug #3817: current ruby-openssl impl wrongly utilizes CRYPTO_EX_DATA in X509_STORE
Postpone this issue again. Let us (nahi and emboss) know if you seem to be bitten by this. nahi (Hiroshi Nakamura)
08:48 PM Revision 213ba524 (git): Fix typo of r38004
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:34 PM Revision e818b24c (git): Sort th result to compare multiple lines
The order of the lines is depend on Dir.glob's result.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38004 b2dd0...
naruse (Yui NARUSE)
07:16 PM Revision d1d4490a (git): * lib/rake/*: Updated to rake 0.9.5
* test/rake/*: ditto.
* NEWS: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38003 b2dd03c8-39d4-4d8f-9...
drbrain (Eric Hodel)
07:15 PM Bug #7466 (Closed): Hashの大きさによってHash#keysでvalueが返ることがある
This issue was solved with changeset r37991.
Shin-ichiro, thank you for reporting this issue.
Your contribution to Ru...
nobu (Nobuyoshi Nakada)
04:23 PM Bug #7466 (Closed): Hashの大きさによってHash#keysでvalueが返ることがある
=begin
jpmobileのRuby 2.0対応をやっていてわかったのですが、添付のようなHashでkeysの戻り値が途中でvalueになってしまい、それ以降valueが返るようになります。
% ruby -v
...
conceal_rs (Shin-ichiro OGAWA)
07:07 PM Bug #7467: lib/mkmf.rb merge_lib fails on larger sets of libraries
here is a link to a working patch: https://github.com/tokaido/tokaido-build/blob/master/patches/darwin/1.9.3-p327/fix... mpapis (Michal Papis)
05:42 PM Bug #7467 (Closed): lib/mkmf.rb merge_lib fails on larger sets of libraries
running:
merge_libs(["-lncurses", "-ltinfo", "-lssl", "-lcrypto", "-lz", "-lreadline", "-ltermcap", "-lyaml"],["-l...
mpapis (Michal Papis)
06:22 PM Revision 40bae2f6 (git): Run another process to avoid failure when objspace is already loaded
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
05:55 PM Revision 97094484 (git): * vm.c: add a return hook when a method raises an exception.
* probes_helper.h: look up klass and method if none are provided.
* eval.c: update macro usage.
* vm_eval.c: ditto....
tenderlovemaking (Aaron Patterson)
05:50 PM Feature #6823: Where/how should ruby-mode issues be reported?
vote to remove ruby-mode.el. nobu (Nobuyoshi Nakada)
05:45 PM Bug #7190 (Closed): warning: already initialized constant の書式
This issue was solved with changeset r37990.
Tsuyoshi, thank you for reporting this issue.
Your contribution to Ruby ...
nobu (Nobuyoshi Nakada)
05:35 PM Revision 4556a9ec (git): * compile.c (compile_array_): refix r37991 remove assertion:
it is true only if type == COMPILE_ARRAY_TYPE_HASH.
[ruby-dev:46658] [Bug #7466]
* vm.c (m_core_hash_from_ary): ad...
naruse (Yui NARUSE)
05:15 PM Bug #7449 (Closed): Rdoc for obj.object_id
This issue was solved with changeset r37987.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is...
zzak (zzak _)
10:12 AM Bug #7449: Rdoc for obj.object_id
"return a fixnum" is not a specification of #object_id so the more generic "integer" is better. drbrain (Eric Hodel)
05:18 AM Bug #7449: Rdoc for obj.object_id
eric, you mean Fixnum right?
Or change rb_obj_id implementation to return INT2NUM((SIGNED_VALUE)obj);
zzak (zzak _)
05:12 PM Feature #6670: str.chars.last should be possible
We don't have much time left before 2.0 to decide how to change IO#lines, #chars, etc. .
Can we deprecate them for n...
knu (Akinori MUSHA)
02:13 PM Feature #6670: str.chars.last should be possible
yhara (Yutaka HARA) wrote:
> For String, the impact will be limited.
>
> * String#lines returns Array, which ha...
duerst (Martin Dürst)
05:11 PM Bug #7420 (Closed): Writeable pipe and timeout tests are failing (MinGW)
This issue was solved with changeset r37984.
Luis, thank you for reporting this issue.
Your contribution to Ruby is g...
nobu (Nobuyoshi Nakada)
05:07 PM Bug #5350: WeakRef で謎の NoMethodError
Could someone help me understand WeakMap?
I'm looking for a good example, or use-case for it to use in documentati...
zzak (zzak _)
05:05 PM Revision 0e0a8244 (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
04:55 PM Revision 6a631b7b (git): * 2012-11-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:55 PM Revision 584e0526 (git): fix indent and typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
04:04 PM Bug #7465 (Closed): Rdoc for CGI (html generation example)
I "modernized" the example for HTML generation a little,
it now produces HTML4 Strict, validated with the W3C valida...
stomar (Marcus Stollsteimer)
03:54 PM Bug #7464 (Closed): minitest 4.3.2 in r37967 breaks RDoc tests
drbrain (Eric Hodel)
03:53 PM Bug #7464: minitest 4.3.2 in r37967 breaks RDoc tests
Fixed by r37974 thank you naruse drbrain (Eric Hodel)
01:10 PM Bug #7464 (Closed): minitest 4.3.2 in r37967 breaks RDoc tests
=begin
With r37966:
$ svnversion
37966
$ make all test-all TESTS='minitest rdoc'
[…]
Finished tests...
drbrain (Eric Hodel)
02:10 PM Feature #7457 (Closed): GC.stat to return "allocated object count" and "freed object count"
Finally, I introduce two keys.
* total_allocated_object: total allocated object number.
* total_freed_objec...
ko1 (Koichi Sasada)
01:59 PM Feature #7457: GC.stat to return "allocated object count" and "freed object count"
(2012/11/29 5:06), bitsweat (Jeremy Kemper) wrote:
> The ruby-prof gem supports object allocation profiling for 1....
ko1 (Koichi Sasada)
08:53 AM Feature #7457: GC.stat to return "allocated object count" and "freed object count"
Could you commit it?

Thanks!
authorNari (Narihiro Nakamura)
05:06 AM Feature #7457: GC.stat to return "allocated object count" and "freed object count"
Yes!! A million times yes. Tracking *total* allocations makes it possible to profile Ruby code by object creation ins... bitsweat (Jeremy Daer)
04:31 AM Feature #7457 (Closed): GC.stat to return "allocated object count" and "freed object count"
How about to return "allocated object count" and "freed object count"?
The following patch enable to show "total a...
ko1 (Koichi Sasada)
01:54 PM Revision 36c40166 (git): * ext/openssl/ossl_ssl.c (ssl_npn_encode_protocol_i): fix byte order
issue on big-endian architecture [ruby-core:50292] [Bug #7463]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37...
ngoto (Naohisa Goto)
01:25 PM Revision 40a44254 (git): Add issue ref to the previous commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Hiroshi Nakamura
01:24 PM Revision 361f6b25 (git): * test/openssl/test_cipher.rb (test_ctr_if_exists): add CTR mode test
if underlying OpenSSL supports it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37994 b2dd03c8-39d4-4d8f-98ff-...
Hiroshi Nakamura
12:50 PM Revision 421314cf (git): * vm_method.c (rb_method_entry_make): add a method entry with
VM_METHOD_TYPE_REFINED to the class refined by the refinement if
the target module is a refinement. When a method ...
shugo (Shugo Maeda)
12:44 PM Bug #7462 (Closed): x86_64-linux build failure after r37951
It seems make distclean fixed it.
https://twitter.com/tenderlove/status/273990942866931712
zzak (zzak _)
11:56 AM Bug #7462 (Closed): x86_64-linux build failure after r37951
I can only produce this in my working svn clone, here is the make log:
https://gist.github.com/4166280
re: r37951
zzak (zzak _)
12:25 PM Bug #7442 (Closed): StringScanner#charpos vs StringScanner#pos
I think so. We can keep it unless any serious problem is reported after preview2. Thanks for your quick action!
...
mame (Yusuke Endoh)
09:23 AM Bug #7442: StringScanner#charpos vs StringScanner#pos
No objections (yet)... can this be merged to 2.0 branch for next preview release? zenspider (Ryan Davis)
11:53 AM Bug #7461 (Closed): Deadlock
fixed at r37964 kosaki (Motohiro KOSAKI)
11:49 AM Bug #7461: Deadlock
"minimal" reproduction:
require 'minitest/metametameta'
class TestMiniTestUnit < MetaMetaMetaTestCase
parall...
zenspider (Ryan Davis)
10:45 AM Bug #7461: Deadlock
Sorry. No. 37921 is the first bad. 37920 runs clean. zenspider (Ryan Davis)
10:43 AM Bug #7461: Deadlock
I double checked and r37921 runs clean. zenspider (Ryan Davis)
10:37 AM Bug #7461 (Closed): Deadlock
When I try to update minitest in trunk and run my tests I get the following error:
% ./miniruby -I./lib ./tool/ru...
zenspider (Ryan Davis)
11:09 AM Revision bda0aca2 (git): Revert r37991 "compile.c: hash must be paired"
DO BUILD BEFORE COMMIT !
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
10:15 AM Revision 399a32df (git): compile.c: hash must be paired
* compile.c (compile_array_): hash elements must be paired even for
literal elements. [ruby-dev:46658] [Bug #7466]...
nobu (Nobuyoshi Nakada)
10:03 AM Bug #7460 (Assigned): メインスレッド終了後のサブスレッド終了待ち処理においてデッドロック検知が動作していない
kosaki (Motohiro KOSAKI)
10:02 AM Bug #7460 (Closed): メインスレッド終了後のサブスレッド終了待ち処理においてデッドロック検知が動作していない
[Bug #5368] からの派生なんですが、
Thread.new do
begin
p "sleep1"
sleep
p "sleep2"
ensure
p "stop1"...
kosaki (Motohiro KOSAKI)
09:56 AM Bug #7459 (Closed): at_exit { Thread.new {} } broken in r37921
fixed at r37958
kosaki (Motohiro KOSAKI)
09:44 AM Bug #7459: at_exit { Thread.new {} } broken in r37921
This is blocking my merge of minitest to trunk for 2.0 preview. zenspider (Ryan Davis)
09:40 AM Bug #7459: at_exit { Thread.new {} } broken in r37921
I don't think main thread should be marked dead until after at_exit is done:
% multiruby -e 'p Thread.current; at_...
zenspider (Ryan Davis)
09:19 AM Bug #7459 (Closed): at_exit { Thread.new {} } broken in r37921
ruby -e 'p Thread.current; at_exit { p Thread.current; [Thread.new {}].map(&:join) }'
outputs:
#<Thread:0x007fe...
zenspider (Ryan Davis)
09:23 AM Feature #7434: Allow caller_locations and backtrace_locations to receive negative params
(2012/11/28 6:08), sam.saffron (Sam Saffron) wrote:
> I think either 1) or 3-1), works ok.

I committed (3-1)....
ko1 (Koichi Sasada)
09:12 AM Feature #7434 (Closed): Allow caller_locations and backtrace_locations to receive negative params
This issue was solved with changeset r37957.
Sam, thank you for reporting this issue.
Your contribution to Ruby is gr...
ko1 (Koichi Sasada)
04:53 AM Feature #7434: Allow caller_locations and backtrace_locations to receive negative params
(2012/11/28 6:08), sam.saffron (Sam Saffron) wrote:
> Though there is an issue with accepting ranges: caller(1..-6...
ko1 (Koichi Sasada)
08:49 AM Feature #5481: Gemifying Ruby standard library
@vo.x Don't count your eggs before they hatch ;) I think the exceptions will be pretty well defined, basically anythi... trans (Thomas Sawyer)
07:22 AM Feature #5481: Gemifying Ruby standard library
@trans You know how it is with exceptions. They tend to become rules and justification for another exceptions. I beli... vo.x (Vit Ondruch)
06:23 AM Feature #5481: Gemifying Ruby standard library
@vo.x Psych would have to be an exception. And really, with the inclusion of libyaml, YAML is becoming more and more ... trans (Thomas Sawyer)
06:17 AM Feature #5481: Gemifying Ruby standard library
@sdaubert That shouldn't be a problem in this case. All the necessary gems would be distributed with the Ruby source ... trans (Thomas Sawyer)
04:30 AM Feature #5481: Gemifying Ruby standard library
trans (Thomas Sawyer) wrote:
> Why keep the source code in the Ruby repository at all? Development occurs at the lib...
sdaubert (Sylvain Daubert)
08:45 AM Revision f77c97a8 (git): variable.c: show namespace
* variable.c (rb_const_set): show namespace in warning messages.
[Feature #7190]
git-svn-id: svn+ssh://ci.ruby-la...
nobu (Nobuyoshi Nakada)
08:34 AM Revision 5cab66cb (git): * lib/rubygems.rb (Gem.load_yaml): return if Kernel#gem is not defined
yet. This causes crash if test-all requires libraries in a certain
order. A simple reproducible code is
ruby --di...
naruse (Yui NARUSE)
08:22 AM Revision 88f5a4ff (git): * lib/tracer.rb: Updated to match removal of custom_require from
RubyGems.
* test/test_tracer.rb: ditto. Improved failure message if the test
fails
git-svn-id: ...
drbrain (Eric Hodel)
08:15 AM Revision 8baab38a (git): * gc.c: Documentation for GC, GC::Profiler, ObjectSpace, and
ObjectSpace::WeakMap [ruby-core:50245] [Bug #7449]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37987 b2dd03c8...
zzak (zzak _)
08:13 AM Revision 8818a574 (git): helper.rb: try with sudo
* test/dtrace/helper.rb (DTrace::TestCase#trap_probe): try with $SUDO if set.
git-svn-id: svn+ssh://ci.ruby-lang.or...
nobu (Nobuyoshi Nakada)
08:12 AM Revision d22ac50a (git): tool/vpath.rb
* tool/generic_erb.rb, tool/id2token.rb: add --path-separator option
for mingw where make and built ruby live in di...
nobu (Nobuyoshi Nakada)
08:11 AM Revision 2f80fdda (git): test_io_wait.rb: Bug #7420
* test/io/wait/test_io_wait.rb (TestIOWait#fill_pipe):
Errno::EWOULDBLOCK may not be the same as Errno::EAGAIN. pa...
nobu (Nobuyoshi Nakada)
08:10 AM Revision cf1d6730 (git): remove trainling spaces
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:04 AM Revision 0a7d24cc (git): * lib/rubygems/test_case.rb: Determine path to certificates to avoid
build-dir problems.
* test/rubygems/test_gem_security_signer.rb: Use predetermined paths
to avoid ...
drbrain (Eric Hodel)
07:18 AM Revision d9422d87 (git): * lib/rubygems/test_case.rb: Disable loading of keys and certificates
outside rubygems or ruby tests as the files are not available (or
necessary).
git-svn-id: svn+ssh://ci.ruby-lang....
drbrain (Eric Hodel)
07:15 AM Revision e8af0046 (git): * vm_backtrace.c (rb_debug_inspector_open): use RARRAY_LENINT() for
int variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
07:05 AM Revision 585ac7f1 (git): * include/ruby/debug.h: add rb_debug_inspector_* APIs.
* vm_backtrace.c: ditto.
* common.mk: add dpendency from vm_backtrace.o to
include/ruby/debug.h.
* proc.c (rb_bindi...
ko1 (Koichi Sasada)
07:01 AM Revision 07b10cd5 (git): * lib/rdoc/test_case.rb (RDoc::TestCase#verbose_capture_io):
defined for asserts of warnings.
* test/rdoc: use verbose_capture_io on asserts of warnings.
they failed when test...
naruse (Yui NARUSE)
06:54 AM Revision a985c589 (git): * ext/psych/extconf.rb: added --enable-bundled-libyaml option. this
enforces using bundled libyaml.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37977 b2dd03c8-39d4-4d8f-98ff-823...
U.Nakamura
06:52 AM Revision 9694bb8c (git): * lib/rubygems*: Updated to RubyGems 2.0
* test/rubygems*: ditto.
* common.mk (prelude): Updated for RubyGems 2.0 source rearrangement.
* tool/change_make...
drbrain (Eric Hodel)
06:43 AM Revision 3f606b70 (git): * include/ruby/debug.h: provide rb_tracearg_*() APIs,
instead of rb_tracepoint_attr_*().
These APIs are for debuggers/profilers.
They will be explained in another docs...
ko1 (Koichi Sasada)
06:19 AM Revision d81b5a4f (git): * test/minitest/test_minitest_unit.rb: restore orig_verbose only
if it is set. This broke rdoc's tests.
http://u64.rubyci.org/~chkbuild/ruby-trunk/log/20121129T050102Z.diff.html.gz...
naruse (Yui NARUSE)
05:57 AM Revision 479e3961 (git): * vm_trace.c (rb_tracepoint_attr_method_id):
rename TracePoint#id to TracePoint#method_id.
* include/ruby/debug.h: ditto.
* test/ruby/test_settracefunc.rb: ditto,...
ko1 (Koichi Sasada)
05:52 AM Revision 89c889d4 (git): * vm_trace.c (rb_tracepoint_attr_defined_class):
rename TracePoint#klass to TracePoint#defined_class.
[ruby-core:50187] Re: [ruby-trunk - Feature #6895]
* include/r...
ko1 (Koichi Sasada)
05:29 AM Revision 502ab126 (git): * gc.c (gc_stat): prepre Symbol objects at first time
to make it fast.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
05:21 AM Bug #7458 (Closed): Depending on value of BigDecimal::limit, addition can give inaccurate results
=begin
This bug is present in ruby-trunk and also in 1.8.7 and 1.9.3p125.
I apologize that I cannot figure out wh...
bpow (Bradford Powell)
05:05 AM Revision c512d6ac (git): * gc.c (gc_stat): GC.stat supports new information
* total_allocated_object: total allocated object number.
* total_freed_object: total freed object number.
Above two...
ko1 (Koichi Sasada)
04:53 AM Feature #7051: Extend caller_locations API to include klass and bindings. Allow caller_locations as a method hanging off Thread.
(2012/11/27 9:02), SASADA Koichi wrote:
> (2012/09/23 15:43), sam.saffron (Sam Saffron) wrote:
>> Also it feels ...
ko1 (Koichi Sasada)
04:39 AM Revision 5bb12509 (git): * test/dtrace/helper.rb (DTrace::TestCase): check dtrace availability
once.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:50 AM Feature #7375: embedding libyaml in psych for Ruby 2.0
Aaron, you have to add the ticket in the message, like:
[Feature #7375]
zzak (zzak _)
03:26 AM Feature #7375 (Closed): embedding libyaml in psych for Ruby 2.0
I fixed this in r37919, but it didn't seem to close. I'm closing now. tenderlovemaking (Aaron Patterson)
03:24 AM Revision 0e515efd (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:23 AM Revision 81eb635f (git): Imported minitest 4.3.2 (r8026)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Ryan Davis
02:58 AM Revision 304885cd (git): test/dl: no warnings
* test/dl/test_base.rb, test/dl/test_c_struct_entry.rb: deprecation
warnings make no sense here.
git-svn-id: svn+s...
nobu (Nobuyoshi Nakada)
02:58 AM Revision ecaba0f2 (git): remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:50 AM Revision c058d821 (git): Revert r37956: thread.c (thread_start_func_2): small cleanups.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
02:30 AM Feature #5458: DL should be removed
DL is deprecated in trunk. To maintain backwards compatibility, I've moved some parts of DL to Fiddle. We should be... tenderlovemaking (Aaron Patterson)
02:09 AM Revision 989c529c (git): * thread.c (thread_start_func_2): remove unused code. When
th->safe_level == 4, th->errinfo never be thrown. So, to
create new exception makes no sense.
git-svn-id: svn+ssh:...
kosaki (Motohiro KOSAKI)
01:30 AM Revision f22f1fbb (git): * vm_backtrace.c: same as a last patch.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
01:26 AM Revision d7ab6820 (git): * vm_backtrace.c: use `long' for return values of `NUM2LONG()'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
01:11 AM Revision d1dfebc0 (git): Revert r37953: thread.c (thread_start_func_2): remove unused code. security
This sticks at bootstraptest/test_fork.rb:24 on FreeBSD and darwin.
http://fb.rubyci.org/~chkbuild/ruby-trunk/log/201...
naruse (Yui NARUSE)
12:52 AM Revision e2779a53 (git): * thread.c (do_select): suppress warning (uninitialized value warning)
with UNINITIALIZED_VAR().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
12:48 AM Revision 98ed344a (git): * eval.c (ruby_cleanup): delay THREAD_KILLED timing.
It should be located just before rb_thread_terminate_all().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3795...
ko1 (Koichi Sasada)
12:33 AM Bug #7356 (Feedback): ruby-2.0.0-preview1 で adlint-2.6.10 が性能劣化
横からすみません。adlint-benchmark 使わせていただきました。
git bisect で調べてみたのですが、r34948 で rb_ary_push_m() が
rb_ary_cat() を呼び出すように変更されてい...
wanabe (_ wanabe)
12:12 AM Revision 3d47e7b2 (git): * vm_backtrace.c (vm_backtrace_to_ary): support range argument
like Array#[].
[ruby-core:50092] [ruby-trunk - Feature #7434]
Test and document is not available. Please help us....
ko1 (Koichi Sasada)

11/28/2012

11:41 PM Bug #7455 (Closed): Queue#popで待っている間にtrapに入りその時にQueue#pushされると、Queue#popから戻ってこなくなる。
This issue was solved with changeset r37944.
Masaya, thank you for reporting this issue.
Your contribution to Ruby is...
ko1 (Koichi Sasada)
10:47 PM Bug #7455: Queue#popで待っている間にtrapに入りその時にQueue#pushされると、Queue#popから戻ってこなくなる。
とりあえず原因を書いておくと
1. que.popで、mutex.sleepが呼ばれ、結局sleep_forever()が呼ばれる。ここで一旦 status = THREAD_STOPPED_FOREVERになる
2. Pro...
kosaki (Motohiro KOSAKI)
10:36 PM Bug #7455 (Closed): Queue#popで待っている間にtrapに入りその時にQueue#pushされると、Queue#popから戻ってこなくなる。
以下スクリプトを実行すると期待したように終わらずに、deadlockしてしまいます。
ささださんよろしく。
--
require 'thread'
que = Queue.new
th = Thread.new{
...
tarui (Masaya Tarui)
11:30 PM Feature #5534: Redefine Range class and introduce RelativeNumeric and RelativeRange
=begin
I propose to disregard the second part of my proposal: about (({RelativeNumeric})) and
(({RelativeRange}))....
alexeymuranov (Alexey Muranov)
10:35 PM Bug #3351: stack overflow on super
shugo-san, do you know why Override#foo called only once?
ko1 (Koichi Sasada)
09:55 PM Revision b76b6b5c (git): * thread.c (thread_start_func_2): small cleanups.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
09:55 PM Revision 5e606aee (git): * thread.c (thread_start_func_2): remove unused code.
this function never be used for main thread.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37955 b2dd03c8-39d4-4...
kosaki (Motohiro KOSAKI)
09:55 PM Revision fdda95ed (git): * thread.c (thread_start_func_2): remove unused code.
errinfo = th->errinfo; and errinfo = rb_errinfo(); are
the same.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
kosaki (Motohiro KOSAKI)
09:54 PM Revision 1d207fcf (git): * thread.c (thread_start_func_2): remove unused code. security
level is checked before rb_eSecurityError raises.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37953 b2dd03c8-3...
kosaki (Motohiro KOSAKI)
08:30 PM Revision 2fa079b6 (git): * vm_backtrace.c (backtrace_to_str_ary2): rename to backtrace_to_str_ary.
* vm_backtrace.c (rb_backtrace_to_str_ary): use `backtrace_to_str_ary()'.
* vm_backtrace.c (backtrace_to_frame_ary): ...
ko1 (Koichi Sasada)
08:20 PM Revision 4bdd9095 (git): * probes.d: Change function-entry probe to method-entry.
* insns.def: ditto
* probes_helper.h: ditto
* test/dtrace/test_function_entry.rb: ditto
* test/dtrace/test_singleton_...
tenderlovemaking (Aaron Patterson)
08:01 PM Bug #7445: strptime('%s %z') doesn't work
this is intentional behaviour.
`%s` cannot represent localtime with offset.
`%s` implies utc.
this is just odd as ...
tadf (tadayoshi funaba)
07:46 PM Revision 0fe2051c (git): * vm_backtrace.c: rename Class name from
::RubyVM::Backtrace and ::RubyVM::Backtrace::Location
to ::Thread::Backtrace and ::Thread::Backtrace::Location.
...
ko1 (Koichi Sasada)
06:09 PM Revision c5c1d8c2 (git): * ChangeLog: fix a typo for r37928.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
05:56 PM Revision c788b5f5 (git): * 2012-11-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:56 PM Revision af6decf8 (git): * ChangeLog: fix a typo for r37938.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
05:31 PM Bug #7450 (Closed): Thread#raise may override Thread#status unexpectedly
This issue was solved with changeset r37931.
Motohiro, thank you for reporting this issue.
Your contribution to Ruby ...
kosaki (Motohiro KOSAKI)
02:10 PM Bug #7450 (Closed): Thread#raise may override Thread#status unexpectedly
test.rb
---------------------
ary = []
t = Thread.new {
begin
sleep
ensure
begin
ary << T...
kosaki (Motohiro KOSAKI)
05:01 PM Bug #4559 (Closed): Proc#== does not match the documented behaviour
This issue was solved with changeset r37929.
Adam, thank you for reporting this issue.
Your contribution to Ruby is g...
ko1 (Koichi Sasada)
04:23 PM Bug #4559: Proc#== does not match the documented behaviour
(2012/11/28 16:10), matz (Yukihiro Matsumoto) wrote:
>
> @ko1 You've chosen the latter option, so it is natural...
ko1 (Koichi Sasada)
04:10 PM Bug #4559: Proc#== does not match the documented behaviour
@ko1 You've chosen the latter option, so it is natural conclusion.
Matz.
matz (Yukihiro Matsumoto)
03:29 PM Bug #7451 (Closed): r37911 breaks build on non gcc or non IA-32 platforms
This issue was solved with changeset r37924.
Naohisa, thank you for reporting this issue.
Your contribution to Ruby i...
ngoto (Naohisa Goto)
03:12 PM Bug #7451 (Closed): r37911 breaks build on non gcc or non IA-32 platforms
r37911 以降、__sync_val_compare_and_swap がリンク失敗したら必ず -march=i486 が付くため、
gccではないコンパイラ、またはIA-32ではない環境ではコンパイルに失敗します。
Su...
ngoto (Naohisa Goto)
02:55 PM Revision 7b6e26ae (git): * ext/fiddle/closure.c: cosmetic fix for rdoc comment. (fix for r37917)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
02:53 PM Revision 5c32aff1 (git): revert some part of r37942. sorry.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Masaya Tarui
02:41 PM Revision 36b21ada (git): add ticket ref: [ruby-dev:46654] [ruby-trunk - Bug #7455]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
02:40 PM Revision 09f9aa43 (git): * thread.c (rb_mutex_sleep): fix to allow spurious wakeup.
* NEWS: write about spurious wakeup.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37943 b2dd03c8-39d4-4d8f-98...
ko1 (Koichi Sasada)
02:37 PM Revision e59c7307 (git): * NEWS (Thread) remove incompatible changes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Masaya Tarui
02:20 PM Bug #7449: Rdoc for obj.object_id
changing to Integer is fine with me. It seems to be a better type. drbrain (Eric Hodel)
02:05 PM Bug #7449: Rdoc for obj.object_id
zzak (Zachary Scott) wrote:
> Luis, can you confirm this on windows?
I don't think the Windows part is relevant b...
luislavena (Luis Lavena)
01:53 PM Bug #7449: Rdoc for obj.object_id
Luis, can you confirm this on windows? zzak (zzak _)
01:46 PM Bug #7449 (Assigned): Rdoc for obj.object_id
luislavena (Luis Lavena)
01:45 PM Bug #7449 (Closed): Rdoc for obj.object_id
Documentation for return type of obj.object_id is wrong on Windows x64.
C:\Users\phasis>irb
irb(main):001:0> 0.1....
phasis68 (Heesob Park)
01:57 PM Revision bf442ed2 (git): * thread_win32.c: catch up latest change of BLOCKING_REGION.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
01:56 PM Revision ff2ca81b (git): * vm_insnhelper.c (vm_call_method): fix undefined behavior.
Should not access scope local variable from outer scope.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37940 b...
ko1 (Koichi Sasada)
01:44 PM Bug #7443: Method redefinition from Fiddle is causing a test failure (MinGW)
=begin
Thank you Aaron
This indeed improved the error, but now we are getting a different one:
http://ci.rubyi...
luislavena (Luis Lavena)
03:54 AM Bug #7443: Method redefinition from Fiddle is causing a test failure (MinGW)
I should probably mention the failures I saw were due to missing libffi headers, carry on! zzak (zzak _)
01:24 PM Revision c6557c6f (git): * test/ruby/test_thread.rb (test_thread_status_in_trap): change test for
thread status in trap. now can accept Thread#join and Thread#value in trap.
git-svn-id: svn+ssh://ci.ruby-lang.org/...
Masaya Tarui
01:12 PM Bug #6531 (Closed): Increase Racc runtime versions
zzak (zzak _)
01:01 PM Bug #6416: Deadlock when calling Thread#join from signal interrupt context
kosaki (Motohiro KOSAKI) wrote:
> Nari,
>
> In your case, main thread and trap handler uses the same mutex and it...
authorNari (Narihiro Nakamura)
11:46 AM Bug #6416: Deadlock when calling Thread#join from signal interrupt context
Nari,
In your case, main thread and trap handler uses the same mutex and it is racy and deadlockable. Even if I re...
kosaki (Motohiro KOSAKI)
11:31 AM Bug #6416: Deadlock when calling Thread#join from signal interrupt context
Hello
I need sometimes to call Thread#join in Signal.trap when I want to implement safe termination in a server.
...
authorNari (Narihiro Nakamura)
01:01 PM Revision 9d0de48e (git): * include/ruby/thread.h (rb_thread_call_without_gvl2): change
meaning of function.
This function is called with same parameters of
`rb_thread_call_without_gvl()'.
However, i...
ko1 (Koichi Sasada)
12:34 PM Revision f5dc27aa (git): * thread.c (thread_join_sleep): check spurious wakeup by itself for
corresponding status change in trap context.
* vm_core.h (struct rb_thread_struct): add rb_thread_list_t and ...
Masaya Tarui
12:23 PM Revision ac93d931 (git): emitter.c: constify
* ext/psych/yaml/emitter.c (yaml_emitter_write_indicator): constify.
* ext/psych/yaml/emitter.c (yaml_emitter_write_b...
nobu (Nobuyoshi Nakada)
12:22 PM Revision 082a2716 (git): extconf.rb: mingw32
* ext/psych/extconf.rb: mingw32 also needs macros for win32, not
only mswin32.
git-svn-id: svn+ssh://ci.ruby-lang...
nobu (Nobuyoshi Nakada)
12:21 PM Revision d8da0faf (git): extconf.rb: VPATH
* ext/psych/extconf.rb: compile sources in the source directory
without copying by using VPATH.
git-svn-id: svn+s...
nobu (Nobuyoshi Nakada)
12:20 PM Feature #6670: str.chars.last should be possible
duerst (Martin Dürst) wrote:
> Instead of this proposal, what about adding some/most/all of the Array methods to Enu...
yhara (Yutaka HARA)
09:38 AM Feature #6670: str.chars.last should be possible
Instead of this proposal, what about adding some/most/all of the Array methods to Enumerator?
E.g. like so:
mod...
duerst (Martin Dürst)
01:32 AM Feature #6670: str.chars.last should be possible
trans (Thomas Sawyer) wrote:
> If I understand correctly, this is going to break a lot of code?
For String, the i...
yhara (Yutaka HARA)
12:19 PM Revision a0f7f36a (git): mkmf.rb: each_compile_rules
* lib/mkmf.rb (MakeMakefile#each_compile_rules): splat $(*VPATH*) for
each VPATH elements.
git-svn-id: svn+ssh://c...
nobu (Nobuyoshi Nakada)
12:17 PM Revision 3baef1fc (git): unit.rb: remove unnecessary includes
* lib/test/unit.rb (Test::Unit::{GlobOption,LoadPathOption}): remove
unnecessary includes.
git-svn-id: svn+ssh://c...
nobu (Nobuyoshi Nakada)
09:31 AM Bug #7442: StringScanner#charpos vs StringScanner#pos
Committed revision 37916.
Please beat up on it.
zenspider (Ryan Davis)
08:57 AM Bug #3022 (Closed): What are $. and ARGF.lineno ?
This issue was solved with changeset r37913.
Marc-Andre, thank you for reporting this issue.
Your contribution to Rub...
zzak (zzak _)
08:31 AM Revision 9cbf4732 (git): * vm_core.h (enum rb_thread_status): remove THREAD_TO_KILL
* vm_core.h (struct rb_thread_struct): add to_kill field
* thread.c (terminate_i): convert THREAD_TO_KILL to to_kill....
kosaki (Motohiro KOSAKI)
08:30 AM Revision b8a1e362 (git): * thread.c (struct rb_mutex_struct): add allow_trap field.
* internal.h (rb_mutex_allow_trap): added.
* thread.c (rb_mutex_lock, rb_mutex_unlock): check mutex->allow_trap.
* th...
kosaki (Motohiro KOSAKI)
08:01 AM Revision fc57f2bf (git): add ticket number [Bug #4559]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
08:00 AM Revision 49ed2a75 (git): * proc.c: remove Proc#== and Proc#eql?.
Proc objects compared with thier object ids.
* test/ruby/test_proc.rb: remove related test.
git-svn-id: svn+ssh://...
ko1 (Koichi Sasada)
07:41 AM Revision 45011d08 (git): * lib/rdoc/servlet.rb: Add support for serving documentation from a
subdirectory.
* lib/rdoc/generator/darkfish.rb: ditto
* test/rdoc/test_rdoc_servlet.rb: Test for above
* test/rdoc/...
drbrain (Eric Hodel)
06:45 AM Revision 013521e5 (git): * configure.in: fix r37294: run only on i[3-6]86-linux.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:36 AM Revision e6ef313a (git): * io.c (FMODE_SYNCWRITE): removed unused macro.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
06:29 AM Revision 58b85730 (git): * configure.in: revert r37911, r37906 and r37904 which break build
with non-gcc and/or non-IA32 compilers, e.g. Solaris Studio,
Fujitsu C Compiler. [ruby-dev:46646] [Bug #7451]
git...
ngoto (Naohisa Goto)
06:08 AM Feature #7434: Allow caller_locations and backtrace_locations to receive negative params
I think either 1) or 3-1), works ok.
Though there is an issue with accepting ranges: caller(1..-6, 8) becomes a bi...
sam.saffron (Sam Saffron)
05:59 AM Feature #4085: Refinements and nested methods
shugo (Shugo Maeda) wrote:
> headius (Charles Nutter) wrote:
> > Well, I'm still questioning how super should work ...
headius (Charles Nutter)
05:52 AM Revision 1ff0a3d0 (git): * ext/psych/extconf.rb: copy sources into build directory,
not into srcdir.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
05:40 AM Revision 835d24f6 (git): * thread.c (rb_mutex_lock): moved trap context check from
rb_mutex_trylock because try_lock have no change to make
a deadlock.
* thread.c (rb_mutex_trylock): ditto.
* NEWS: ...
kosaki (Motohiro KOSAKI)
04:43 AM Revision 8111b32d (git): * thread.c (thread_s_new): uses main_thread->status instead of
th->inhibit_thread_creation for preventing thread creation.
* vm_core.h (rb_vm_struct): remove inhibit_thread_creatio...
kosaki (Motohiro KOSAKI)
04:35 AM Revision d5c463b5 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:34 AM Revision 14099149 (git): * ext/psych/extconf.rb: use embedded libyaml if no system libyaml is
found. [ruby-core:49463]
* ext/psych/lib/psych.rb: updating to psych 2.0.0
* ext/psych/lib/psych/deprecated.rb: updat...
tenderlovemaking (Aaron Patterson)
04:09 AM Revision 694c7763 (git): * thread.c (thread_join): A trap handler check was moved from
thread_join_m because Thread#value should be raised an exception
too.
* thread.c (thread_join_m): remove trap handl...
kosaki (Motohiro KOSAKI)
03:14 AM Feature #5458: DL should be removed
I wrote a patch for the deprecation notice: https://gist.github.com/4155983 zzak (zzak _)
02:08 AM Revision 4ed6a88b (git): * ext/fiddle/closure.c: Documentation for Fiddle
* ext/fiddle/lib/fiddle/import.rb: ditto
* ext/fiddle/lib/fiddle/value.rb: ditto
* ext/fiddle/lib/fiddle/pack.rb: dit...
zzak (zzak _)
02:08 AM Bug #5368: ensure節でsleepするようなThreadがあるとインタプリタが終了しない
> なお、#1952 ですでに指摘されているように Ctrl-c が押された時にサブスレッドを待たずに終了してしまうという案はSEGVを引き起こすのでNG。
もうちょっとまじめに書くと、SEGVを引き起こすのは終了処理でまじめに...
kosaki (Motohiro KOSAKI)
12:53 AM Feature #5481: Gemifying Ruby standard library
trans (Thomas Sawyer) wrote:
> Why keep the source code in the Ruby repository at all? Development occurs at the lib...
vo.x (Vit Ondruch)
12:19 AM Feature #5481: Gemifying Ruby standard library
Why keep the source code in the Ruby repository at all? Development occurs at the library's repository anyway, so why... trans (Thomas Sawyer)
12:17 AM Revision 0700a911 (git): Added #charpos for multibyte string position.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Ryan Davis
12:03 AM Revision db9fe59b (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:02 AM Revision 0713f899 (git): * ext/fiddle/fiddle.c: adding alignment constants for compatibility
with DL.
* ext/fiddle/fiddle.h: ditto
* ext/fiddle/lib/fiddle/cparser.rb: importing the C parser for DL
backwards c...
tenderlovemaking (Aaron Patterson)

11/27/2012

11:57 PM Revision 118d9f43 (git): * doc/globals.rdoc: Add documentation file for magic globals
[ruby-core:29048] [Bug #3022]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37913 b2dd03c8-39d4-4d8f-98ff-823fe...
zzak (zzak _)
11:56 PM Feature #6670: str.chars.last should be possible
Here's a patch to deprecate #lines, #bytes, #chars and #codepoints of IO-likes. knu (Akinori MUSHA)
10:21 PM Feature #6670: str.chars.last should be possible
If I understand correctly, this is going to break a lot of code?
trans (Thomas Sawyer)
08:14 PM Feature #6670: str.chars.last should be possible
It may be an idea to simply obsolete IO#{lines,chars,codepoints,bytes} for now.
First of all, line wise operation is...
knu (Akinori MUSHA)
12:21 PM Feature #6670: str.chars.last should be possible
Okay, I understand that it may be harmful to change the behavior right now.
Then, let's warn a user to use `each_lin...
mame (Yusuke Endoh)
08:15 AM Feature #6670: str.chars.last should be possible
#size will return `nil` for all enumerators based on IO.
Maybe the best is to have `chars` return an array for str...
marcandre (Marc-Andre Lafortune)
05:36 AM Feature #6670 (Assigned): str.chars.last should be possible
Now we have Enumerable#size, so we can know whether the last character is available or not by it.
So how about chang...
naruse (Yui NARUSE)
11:55 PM Revision d07c73be (git): * .document: Add README's to be included with docs
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
11:36 PM Bug #7445 (Assigned): strptime('%s %z') doesn't work
usa (Usaku NAKAMURA)
10:33 PM Bug #7445: strptime('%s %z') doesn't work
I've attached a patch that fixes this. Anonymous
05:02 PM Bug #7445 (Rejected): strptime('%s %z') doesn't work
See:
ruby -e "require 'date'; p DateTime.strptime('0 +0100', '%s %z').strftime('%s %z')"
The timezone is ig...
felipec (Felipe Contreras)
11:30 PM Revision 13dc0e14 (git): Refix of r37904
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:27 PM Revision 4ba88161 (git): * ext/dl/lib/dl.rb: Deprecation notice for DL
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
11:26 PM Revision 9c831edb (git): * ext/fiddle/closure.c: Documentation for Fiddle
* ext/fiddle/pointer.c: ditto
* ext/fiddle/function.c: ditto
* ext/fiddle/lib/fiddle.rb: ditto
* ext/fiddle/fiddle.c:...
zzak (zzak _)
11:20 PM Feature #5481: Gemifying Ruby standard library
=begin
Hi,
I played around a bit an put together a few patches. You can find it here: https://github.com/voxik/ru...
vo.x (Vit Ondruch)
10:52 PM Bug #7180: set_trace_func with error in proc block locks up Ruby with 100% cpu usage and no way to exit without killing proc
This can be reproduced inside eval:
eval 'set_trace_func proc {|event, file, line, id, binding, classname| raise...
Anonymous
10:36 PM Bug #6573: Webrick test failures
Thanks to bkabrda and mlartz's minimal reproducer and the investigation, I could easily understand the issue.
I th...
nahi (Hiroshi Nakamura)
10:05 PM Feature #7444: Array#product_set
I'd prefer `Array.product`, all things being the same.
But you have given me a neat idea. In Ruby Facets there is ...
trans (Thomas Sawyer)
02:44 PM Feature #7444 (Assigned): Array#product_set
I'd like to propose `Array#product_set` to return the product set of arrays (aka cartesian product)
deck = [1....
marcandre (Marc-Andre Lafortune)
09:20 PM Bug #7356: ruby-2.0.0-preview1 で adlint-2.6.10 が性能劣化
=begin
まずは ruby 単体で動くベンチマークプログラムを adlint-benchmark という gem で作成しました。
== 短時間で終了する版で測定
% gem install adlint-benc...
yanoh (Yutaka Yanoh)
07:57 PM Revision 7e4b6fa7 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:54 PM Revision c1fb6a82 (git): * ext/fiddle/handle.c: Make Fiddle independent of DL, copy DL::Handle
to Fiddle::Handle.
* ext/fiddle/pointer.c: Make Fiddle independent of DL, copy
DL::Pointer to Fiddle::Pointer.
* te...
tenderlovemaking (Aaron Patterson)
06:59 PM Feature #7434: Allow caller_locations and backtrace_locations to receive negative params
(2012/11/27 18:35), sam.saffron (Sam Saffron) wrote:
>> > The last point is API design.
>> > "negative number" ...
ko1 (Koichi Sasada)
06:35 PM Feature #7434: Allow caller_locations and backtrace_locations to receive negative params
> The last point is API design.
> "negative number" to this purpose is feasible?
I like negative numbers cause it h...
sam.saffron (Sam Saffron)
05:23 PM Feature #7434: Allow caller_locations and backtrace_locations to receive negative params
(2012/11/27 15:52), sam.saffron (Sam Saffron) wrote:
> Issue #7434 has been updated by sam.saffron (Sam Saffron).
...
ko1 (Koichi Sasada)
03:52 PM Feature #7434: Allow caller_locations and backtrace_locations to receive negative params
> My question is: use-case of negative number for performance. Your answer only shows "backtrace is big".
Apologie...
sam.saffron (Sam Saffron)
08:53 AM Feature #7434: Allow caller_locations and backtrace_locations to receive negative params
(2012/11/27 7:35), sam.saffron (Sam Saffron) wrote:
> This means that there are 60 or so frames below my applicati...
ko1 (Koichi Sasada)
07:37 AM Feature #7434: Allow caller_locations and backtrace_locations to receive negative params
This means, I don't really know how many frames I want to take, I just know how many frames I want to discard. sam.saffron (Sam Saffron)
07:35 AM Feature #7434: Allow caller_locations and backtrace_locations to receive negative params
This is a "typical" caller trace for a rails app:
app/controllers/list_controller.rb:8:in `block (2 levels) in ...
sam.saffron (Sam Saffron)
06:24 PM Feature #4085: Refinements and nested methods
headius (Charles Nutter) wrote:
> I would think they stack like module includes, so at lookup time we'd see refined ...
shugo (Shugo Maeda)
01:37 AM Feature #4085: Refinements and nested methods
shugo (Shugo Maeda) wrote:
> headius (Charles Nutter) wrote:
> > {:upcase => {
> > :default => <builtin upcase>,...
headius (Charles Nutter)
06:23 PM Feature #7426: Update Rdoc
On Nov 26, 2012, at 11:21 PM, Eric Hodel <[email protected]> wrote:
> On Nov 26, 2012, at 10:17 PM, Eric Hodel <...
drbrain (Eric Hodel)
04:23 PM Feature #7426: Update Rdoc
On Nov 26, 2012, at 10:17 PM, Eric Hodel <[email protected]> wrote:
> On Nov 26, 2012, at 10:09 PM, Luis Lavena ...
drbrain (Eric Hodel)
03:23 PM Feature #7426: Update Rdoc
On Nov 26, 2012, at 10:09 PM, Luis Lavena <[email protected]> wrote:
> On Tue, Nov 27, 2012 at 12:57 AM, SASADA ...
drbrain (Eric Hodel)
03:23 PM Feature #7426: Update Rdoc
On Tue, Nov 27, 2012 at 12:57 AM, SASADA Koichi <[email protected]> wrote:
> (2012/11/27 13:33), drbrain (Eric Hodel) w...
luislavena (Luis Lavena)
02:59 PM Feature #7426: Update Rdoc
(2012/11/27 13:33), drbrain (Eric Hodel) wrote:
> You may need to delete .ext/rdoc as the format of the ri data ha...
ko1 (Koichi Sasada)
01:32 PM Feature #7426: Update Rdoc
I have updated RDoc to 4.0.
You may need to delete .ext/rdoc as the format of the ri data has changed. While I di...
drbrain (Eric Hodel)
06:12 PM Revision c8d35368 (git): fix r37904: it forced i486 though -marh was usually i686
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:04 PM Revision bb2e9e9e (git): * configure.in (opt-dir): don't use non portable flag -E of sed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:02 PM Revision c41e749c (git): * configure.in (ARCH_FLAG): __sync_val_compare_and_swap_4 needs
-march=i486 on at least linux gcc 4.1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37904 b2dd03c8-39d4-4d8f-98...
naruse (Yui NARUSE)
04:20 PM Revision e6be8784 (git): * 2012-11-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:20 PM Revision bd43e67e (git): * ChangeLog: fix typos for r37867, r37874, r37877 and r37884.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
02:49 PM Feature #7427: Update Rubygems
I plan to commit RubyGems by Thursday Pacific Time. drbrain (Eric Hodel)
02:39 PM Feature #6499: Array::zip
I've thought a bit about this, and the proposed `Array.zip` basically already exists if all arrays have the same leng... marcandre (Marc-Andre Lafortune)
01:34 PM Revision 06d6edca (git): * string.c (rb_str_enumerate_chars, rb_str_enumerate_codepoints)
(rb_str_enumerate_lines): Dummy initialization of ary has been
replaced with UNINITIALIZED_VAR().
git-svn-id: svn+...
Akinori MUSHA
01:16 PM Bug #7443: Method redefinition from Fiddle is causing a test failure (MinGW)
Luis, sorry to pollute your ticket, I was just discussing this with drbrain on irc. Ignore me :)
edit: that test pas...
zzak (zzak _)
01:11 PM Bug #7443: Method redefinition from Fiddle is causing a test failure (MinGW)
=begin
zzak (Zachary Scott) wrote:
> For what it's worth, here's the issues I'm getting:
> https://gist.github....
luislavena (Luis Lavena)
01:07 PM Bug #7443: Method redefinition from Fiddle is causing a test failure (MinGW)
For what it's worth, here's the issues I'm getting:
https://gist.github.com/4152220
zzak (zzak _)
01:00 PM Bug #7443 (Closed): Method redefinition from Fiddle is causing a test failure (MinGW)
=begin
The modification introduced in r37881 associated with #5458 is causing a test failure on RubyInstaller CI:
...
luislavena (Luis Lavena)
12:53 PM Revision 8c4992f1 (git): * NEWS: typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
12:46 PM Revision 1dce5edf (git): * bignum.c (bigdivrem): optimize the way to retry calculation of
bigdivrem so that the calculation is started from the point where
the last interruption was occurred.
* bignum.c (...
Kenta Murata
12:25 PM Bug #7442 (Feedback): StringScanner#charpos vs StringScanner#pos
Sorry, it is too late to fix such a spec-level bug. Setting the target to Next Major.
If you create and commit a pa...
mame (Yusuke Endoh)
11:04 AM Bug #7442 (Closed): StringScanner#charpos vs StringScanner#pos
=begin
I talked to Matz at rubyconf and he agreed this was a bug I should file. Sorry I took so long to do so.
As...
zenspider (Ryan Davis)
12:18 PM Bug #7440: IO#lines etc. should return Array
Eregon (Benoit Daloze) wrote:
> Strongly agreed. It could also increase a lot the memory usage (while on String we a...
yhara (Yutaka HARA)
03:49 AM Bug #7440: IO#lines etc. should return Array
drbrain (Eric Hodel) wrote:
> With the exception of StringIO hey also support infinite streams. I think the current ...
Eregon (Benoit Daloze)
02:29 AM Bug #7440: IO#lines etc. should return Array
With the exception of StringIO hey also support infinite streams. I think the current Enumerator is best. drbrain (Eric Hodel)
01:49 AM Bug #7440: IO#lines etc. should return Array
Is this really wnat you'd want? ARGF and IO (and possibly Zlib's readers) can stream data lazily in lines/chars/bytes... headius (Charles Nutter)
12:46 AM Bug #7440 (Rejected): IO#lines etc. should return Array
String#bytes, #chars, #codepints and #lines are changed to return Array in #6670.
For consistent behavior, followi...
yhara (Yutaka HARA)
12:11 PM Bug #2402: super in instance_eval
shugo (Shugo Maeda) wrote:
> instance_evalの中でsuperを呼んだ時に正しいレシーバを見つけるために r36640 で外側のフレームを辿る
> ようにしたのですが、 Bug #6907 ...
shugo (Shugo Maeda)
11:58 AM Revision 956cc293 (git): * vm.c (rb_vm_make_env_object): make Proc object if Env is possible
to point block.
[ruby-core:41038] [ruby-trunk - Bug #5634]
* vm.c (rb_vm_make_proc): No need to make Proc object he...
ko1 (Koichi Sasada)
11:03 AM Feature #1952: cannot stop with Ctrl+C
ついでというわけではないんですが、mameさんのcomment#10のようなスクリプトへの防御力をあげるため、メインスレッドがサブスレッド終了を待ってる時はステータスをTHREAD_KILLEDに変える修正を r37886 で入れまし... kosaki (Motohiro KOSAKI)
08:08 AM Feature #1952 (Closed): cannot stop with Ctrl+C
This issue was solved with changeset r37875.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is ...
kosaki (Motohiro KOSAKI)
10:53 AM Feature #5458: DL should be removed
On Sat, Nov 24, 2012 at 11:26:16AM +0900, mame (Yusuke Endoh) wrote:
>
> Issue #5458 has been updated by mame (...
Anonymous
10:21 AM Revision 5faf4cc7 (git): * ruby_atomic.h (ATOMIC_CAS): added for Solaris and other platforms.
* ruby_atomic.h, signal.c (NEED_RUBY_ATOMIC_OPS): renamed from
NEED_RUBY_ATOMIC_EXCHANGE.
* signal.c (ruby_atomic_c...
ngoto (Naohisa Goto)
09:58 AM Bug #7439 (Closed): Please revert r32841
This issue was solved with changeset r37878.
Vit, thank you for reporting this issue.
Your contribution to Ruby is gr...
nobu (Nobuyoshi Nakada)
06:45 AM Bug #7439 (Assigned): Please revert r32841
Well, may be it was incomprehensible, but I really wanted you to accept my patch, not fix the Ruby 1.8 support as a B... vo.x (Vit Ondruch)
04:12 AM Bug #7439 (Closed): Please revert r32841
This issue was solved with changeset r37870.
Vit, thank you for reporting this issue.
Your contribution to Ruby is gr...
nobu (Nobuyoshi Nakada)
03:58 AM Bug #7439: Please revert r32841
That line is not in r32841. nobu (Nobuyoshi Nakada)
09:23 AM Feature #7051: Extend caller_locations API to include klass and bindings. Allow caller_locations as a method hanging off Thread.
(2012/09/23 15:43), sam.saffron (Sam Saffron) wrote:
> Also it feels very tied to MRI returning RubyVM:::Backtrace...
ko1 (Koichi Sasada)
08:54 AM Revision 6d1266a8 (git): * lib/rdoc/*: Added --root option for building documentation outside
the source directory.
* test/rdoc/*: ditto
* common.mk (rdoc): Added --root to rdoc rule
git-svn-id: svn+ssh://ci...
drbrain (Eric Hodel)
08:53 AM Feature #6895: TracePoint API
(2012/11/26 5:47), SASADA Koichi wrote:
> * Is #klass method necessary since one can call `self.class`? But maybe ...
ko1 (Koichi Sasada)
08:53 AM Feature #6895: TracePoint API
I renamed methods:
* TracePoint#file -> TracePoint#path
* TracePoint#line -> TracePoint#lineno
to make consi...
ko1 (Koichi Sasada)
08:16 AM Bug #5368: ensure節でsleepするようなThreadがあるとインタプリタが終了しない
1.8と同等と書いたのは
Thread.new do
begin
sleep
ensure
sleep
end
end
というプログラムが一度ensure節のsleepで寝てしまうが...
kosaki (Motohiro KOSAKI)
08:13 AM Bug #5368: ensure節でsleepするようなThreadがあるとインタプリタが終了しない
[Feature #1952]の対策として、r37875でCtrl-Cが押されるたびに eTerminateSignalを最送出するようにしたので、現状1.8と同等の動きをするようになってます。
kosaki (Motohiro KOSAKI)
05:09 AM Bug #5368: ensure節でsleepするようなThreadがあるとインタプリタが終了しない
1.8の挙動の方がバグっぽいですけれどねぇ
Ctrl-Cでensureの実行が保証されず、終わってしまうのは大きな問題だと思います。
現にTimeoutでensureが飛ばされるので困ってcontrol_interruptをなどを...
tarui (Masaya Tarui)
01:15 AM Bug #5368: ensure節でsleepするようなThreadがあるとインタプリタが終了しない
1.8 だと、Ctrl-C でsleepを抜けてくれるようです。うーん、この挙動のほうがいいんかなあ。1.8がどういう理屈でこう動いているのかよくわからないんだけど、ようするにInterruptがmain threadではなく、たまた... kosaki (Motohiro KOSAKI)
07:29 AM Revision 7de9e2df (git): * test/rdoc/test_rdoc_ri_paths.rb: Fixed duplicate path bug which
caused windows failures.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
07:09 AM Revision ef8e0908 (git): * test/rdoc/test_rdoc_generator_darkfish.rb: Updated tests for windows
* test/rdoc/test_rdoc_options.rb: ditto
* test/rdoc/test_rdoc_parser.rb: ditto
* test/rdoc/test_rdoc_rdoc.rb: ditt...
drbrain (Eric Hodel)
06:31 AM Bug #5985: miniruby skews "make benchmark" results
"ko1 (Koichi Sasada)" <[email protected]> wrote:
>
> Issue #5985 has been updated by ko1 (Koichi Sasada).
...
normalperson (Eric Wong)
06:19 AM Revision 585de40a (git): * common.mk (rdoc): Set --debug for rdoc generation in case of bugs
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
06:01 AM Revision cb581e20 (git): * lib/rdoc/rubygems_hook.rb: Updated for (upcoming) RubyGems 2
import.
* test/rdoc/test_rdoc_rubygems_hook.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37892 b2dd...
drbrain (Eric Hodel)
05:59 AM Revision 1eac1cb2 (git): reverting r37881
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
05:16 AM Bug #7437 (Closed): Array#delete(obj) should return obj when there is an object that is equal in the array
Documentation fixed, thanks for bringing this up. marcandre (Marc-Andre Lafortune)
01:44 AM Bug #7437: Array#delete(obj) should return obj when there is an object that is equal in the array
marcandre (Marc-Andre Lafortune) wrote:
> Indeed, the documentation does not match the code and there is no test for...
headius (Charles Nutter)
12:20 AM Bug #7437 (Assigned): Array#delete(obj) should return obj when there is an object that is equal in the array
mame (Yusuke Endoh)
05:00 AM Revision 1d8d7a3e (git): * NEWS: add improvements of the garbage collector.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e authorNari (Narihiro Nakamura)
04:28 AM Revision 1c279a7d (git): * lib/rdoc*: Updated to RDoc 4.0 (pre-release)
* bin/rdoc: ditto
* test/rdoc: ditto
* NEWS: Updated with RDoc 4.0 information
git-svn-id: svn+ssh://ci.ruby-lan...
drbrain (Eric Hodel)
03:18 AM Revision c72f0daa (git): * thread.c (rb_thread_terminate_all): retry broadcast only when
an exception is raised.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
03:11 AM Feature #6762: Control interrupt timing
kosaki (Motohiro KOSAKI) wrote:
> Sure. then we can't drop Thread.raise even though 99% programmers don't use it dir...
headius (Charles Nutter)
02:10 AM Feature #6762: Control interrupt timing
> The timeout module uses Thread#raise, of course.
Sure. then we can't drop Thread.raise even though 99% programme...
kosaki (Motohiro KOSAKI)
01:50 AM Feature #6762: Control interrupt timing
kosaki (Motohiro KOSAKI) wrote:
> Thread.raise is not big problem, the most big problems are timeout module and Ctrl...
headius (Charles Nutter)
12:47 AM Feature #6762: Control interrupt timing
> Honestly, the only safe answer is to disallow asynchronous exceptions. The better long-term design would probably b... kosaki (Motohiro KOSAKI)
12:40 AM Feature #6762: Control interrupt timing
normalperson (Eric Wong) wrote:
> Really, naming is hard :<
>
> I think Thread.may_raise is fine, however...
...
headius (Charles Nutter)
03:04 AM Revision 2f9ee7af (git): * thread.c (rb_thread_terminate_all): broadcast terminate event
not only an interrupt exception but any exceptions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37887 b2dd03...
ko1 (Koichi Sasada)
02:00 AM Revision 9ace5c12 (git): * eval.c (ruby_cleanup): set thread status to THREAD_KILLED
for preventing thr.raise.
* test/ruby/test_thread.rb (test_main_thread_status_at_exit):
test for the above.
git-sv...
kosaki (Motohiro KOSAKI)
02:00 AM Revision 863e0873 (git): * thread.c (rb_thread_terminate_all): suppress a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
02:00 AM Revision b1a18cf4 (git): * thread.c (thread_join): raises ThreadError if target therad
is a main thread.
* test/ruby/test_thread.rb (test_thread_join_main_thread):
test for the above.
* NEWS: news for t...
kosaki (Motohiro KOSAKI)
02:00 AM Revision 8079f8a6 (git): * thread.c (thread_join): raises ThreadError if target thread
is a current thread.
* test/ruby/test_thread.rb (test_thread_join_current):
test for the above.
* NEWS: news for th...
kosaki (Motohiro KOSAKI)
01:43 AM Revision 82cc52ed (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:38 AM Revision ab2a7a93 (git): * ext/fiddle/handle.c: Make Fiddle independent of DL, copy DL::Handle
to Fiddle::Handle.
* ext/fiddle/pointer.c: Make Fiddle independent of DL, copy
DL::Pointer to Fiddle::Pointer.
* te...
tenderlovemaking (Aaron Patterson)
01:35 AM Revision 357d4256 (git): Suppress uninitialized variable warning with UNINITIALIZED_VAR()
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:11 AM Bug #7441 (Third Party's Issue): Segmentation Fault generated with 1.9.3 installed by library1.8.so.1.8.7
Hi,
I reported this under issue #7428 which was closed with the recommendation that I move to 1.9.3 and see if the...
agenerette (Anthony Generette)
12:59 AM Revision 3677a68d (git): extmk.rb: fix mixing mkmf.log
* ext/extmk.rb (extmake): close mkmf.log for each libraries so that
failure messages are not mixed.
git-svn-id: s...
nobu (Nobuyoshi Nakada)
12:58 AM Revision f0a229b6 (git): extconf.rb: git rid of post-1.8 feature
* ext/digest/*/extconf.rb, ext/openssl/extconf.rb: get git rid of
post-1.8 feature require_relative for cross compi...
nobu (Nobuyoshi Nakada)
12:26 AM Feature #7429: Provide options for core collections to customize behavior
matz (Yukihiro Matsumoto) wrote:
> @headius I am afraid it's not going to 2.0, for some reasons:
>
> * it's too l...
headius (Charles Nutter)
12:18 AM Revision 4df479f5 (git): * NEWS: add TracePont.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)

11/26/2012

11:25 PM Revision d187f4bc (git): * vm_trace.c: rename TracePoint#file and TracePoint#line
to TracePoint#path and TracePoint#lineno respectively.
They are consistent to RubyVM::Backtrace::Location.
* includ...
ko1 (Koichi Sasada)
11:08 PM Revision a9162789 (git): * thread.c (rb_thread_terminate_all): broadcast eTerminateSignal
again when Ctrl-C was pressed. [Feature #1952] [ruby-dev:39107]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37...
kosaki (Motohiro KOSAKI)
11:01 PM Revision 8c138db3 (git): * vm_core.h: add members to rb_trace_arg_t:
* `klass_solved' represents klass and id is checked.
* `line' represents line calculated from cfp.
* `file' represent...
ko1 (Koichi Sasada)
10:59 PM Bug #5368 (Assigned): ensure節でsleepするようなThreadがあるとインタプリタが終了しない
現状、ささださんが #1にてCPU使用率が跳ね上がるのだけがバグで、終わらない、かつCtrl-Cも効かなくなるのは仕様という見解を出しているのでそれにそって、r37865でCPU使用率問題を直しました。
さて、このまま閉じてしまって...
kosaki (Motohiro KOSAKI)
10:47 PM Bug #5368 (Closed): ensure節でsleepするようなThreadがあるとインタプリタが終了しない
This issue was solved with changeset r37865.
Masaki, thank you for reporting this issue.
Your contribution to Ruby is...
kosaki (Motohiro KOSAKI)
10:40 PM Bug #5368: ensure節でsleepするようなThreadがあるとインタプリタが終了しない
なお、#1952 ですでに指摘されているように Ctrl-c が押された時にサブスレッドを待たずに終了してしまうという案はSEGVを引き起こすのでNG。 kosaki (Motohiro KOSAKI)
12:27 PM Bug #5368: ensure節でsleepするようなThreadがあるとインタプリタが終了しない
読み返しました。[Feature #1952] とちょっと似た話で終了途中で例外食われてしまったら、という話のようですね。論点をまとめると
- ensure節の中でsleep等、無限待ちが記述されているとハングしてしまう。これ...
kosaki (Motohiro KOSAKI)
09:26 AM Bug #5368: ensure節でsleepするようなThreadがあるとインタプリタが終了しない
ticket の詳細が思い出せないので小崎先生に振ってみます.
control_interrupt じゃ解決しないんだよな,多分.
ko1 (Koichi Sasada)
10:49 PM Revision 25393806 (git): * thread.c (rb_thread_terminate_all): add RUBY_VM_CHECK_INTS_BLOCKING().
Otherwise the loop in this function behave as busy loop because
native_sleep() return immediately when RUBY_VM_INTE...
kosaki (Motohiro KOSAKI)
10:46 PM Bug #7439: Please revert r32841
=begin
This is error I get when using 1.8 for cross-compilation:
./ext/extmk.rb:228:in `extmake': undefined method...
vo.x (Vit Ondruch)
10:28 PM Bug #7439 (Assigned): Please revert r32841
This was applied due a bunch of issues cross-compiling Ruby 1.9.x using Ruby 1.8.7 as baseline.
I'm not sure if th...
luislavena (Luis Lavena)
10:21 PM Bug #7439 (Closed): Please revert r32841
I cannot find any reference why r32841 was committed and what is the real issue it solves, but since R1.8 cannot be u... vo.x (Vit Ondruch)
10:18 PM Bug #7364 (Rejected): CGI::Cookie.parse can't deal with cookie options
I agree with mame-san.
In this case, I think CGI::Cookie::parse is out of role.
xibbar (Takeyuki FUJIOKA)
10:12 PM Bug #7380: benchmark/driver.rb: --executables separator
ko1 (Koichi Sasada) wrote:
> I always use -e with quote strings. does it bother you?
>
> By the way, -e accept `...
Eregon (Benoit Daloze)
06:19 PM Bug #7380 (Closed): benchmark/driver.rb: --executables separator
This issue was solved with changeset r37854.
Benoit, thank you for reporting this issue.
Your contribution to Ruby is...
ko1 (Koichi Sasada)
09:52 AM Bug #7380: benchmark/driver.rb: --executables separator
I always use -e with quote strings. does it bother you?
By the way, -e accept `:'
like -e "foo::path1; bar::pat...
ko1 (Koichi Sasada)
08:14 PM Revision 5768a4a7 (git): * array.c: Fix rdoc for Array#delete [#7437]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
08:05 PM Bug #5768 (Closed): TestRequire#test_race_exceptionで競合するケースがまだある
さすがに時期的に、書き直しはあきらめるべきなので、close
kosaki (Motohiro KOSAKI)
08:04 PM Bug #4909 (Closed): trapハンドラは再入されてはいけないのではないか?
#6009と重複しているので、こちらのチケットは閉じますね。英語のほうを残します。
kosaki (Motohiro KOSAKI)
09:21 AM Bug #4909: trapハンドラは再入されてはいけないのではないか?
小崎先生にお任せ. ko1 (Koichi Sasada)
08:02 PM Bug #6416 (Closed): Deadlock when calling Thread#join from signal interrupt context
Fixed at r37852.
Thanks, Timothy!
kosaki (Motohiro KOSAKI)
09:35 AM Bug #6416: Deadlock when calling Thread#join from signal interrupt context
I agree with kosaki-san's comment.
ko1 (Koichi Sasada)
07:57 PM Bug #6009 (Closed): Rapid signal delivery via kill(2) causes SystemStackError
This issue was solved with changeset r37861.
Eric, thank you for reporting this issue.
Your contribution to Ruby is g...
kosaki (Motohiro KOSAKI)
07:46 PM Bug #6786 (Closed): Add :trace_instruction to the output of RubyVM::InstructionSequence.compile_option
This issue was solved with changeset r37860.
David, thank you for reporting this issue.
Your contribution to Ruby is ...
ko1 (Koichi Sasada)
07:19 PM Revision cd246ff2 (git): string.c: suppress warning
* string.c (rb_str_enumerate_bytes): suppress a uninitialized variable
warning.
git-svn-id: svn+ssh://ci.ruby-lang...
nobu (Nobuyoshi Nakada)
07:12 PM Revision 943b664e (git): extmk.rb: git rid of post-1.8 features
* ext/extmk.rb (extmake): git rid of post-1.8 features for cross
compilation. [ruby-core:50160] [Bug #7439]
git-s...
nobu (Nobuyoshi Nakada)
06:54 PM Bug #4559: Proc#== does not match the documented behaviour

def test_eq2
b1 = proc { }
b2 = b1.dup
assert(b1 == b2)
end
will be `false'. Is it okay?
ko1 (Koichi Sasada)
06:43 PM Bug #5985: miniruby skews "make benchmark" results
Sorry, the previous comment is for [Bug #7380].
BTW, the current benchmark using `ruby' instead of `miniruby'.
...
ko1 (Koichi Sasada)
06:20 PM Bug #5985 (Closed): miniruby skews "make benchmark" results
I changed to accept multiple `-e' like "-e path1 -e path2". or "-e label1::path1 -e label2::path2".
You don't need t...
ko1 (Koichi Sasada)
06:34 PM Feature #4085: Refinements and nested methods
headius (Charles Nutter) wrote:
> ko1's suggestion, as I understand it, was to add a flag to the method table (or me...
shugo (Shugo Maeda)
05:48 AM Feature #4085: Refinements and nested methods
I was reading this discussion (http://branch.com/b/rubyists-which-would-you-rather-have-in-ruby-2-0-0) about refineme... trans (Thomas Sawyer)
05:42 PM Bug #7356: ruby-2.0.0-preview1 で adlint-2.6.10 が性能劣化
反応が遅れてすみません。
まずは、ko1 さんからリクエストがあった ruby 単体で動くベンチマークを作ってみて、
その後 dtrace してみます。
yanoh (Yutaka Yanoh)
09:50 AM Bug #7356: ruby-2.0.0-preview1 で adlint-2.6.10 が性能劣化
最悪「refinementのせい」「siphash のせい」ということで一つ.
いや,プロファイラ作れって話か.
簡単に試せそうなら,せっかく入った dtrace で見てみたいのですが,
yanoh さん,いかがでしょうか.
ko1 (Koichi Sasada)
04:01 PM Revision 79d42a88 (git): * README: mention about README.win32.
* win32/README.win32: small changes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37869 b2dd03c8-39d4-4d8f-98f...
U.Nakamura
03:50 PM Feature #2255: unicode parameters cannot be passed to ruby
% Done: 0% ;-( usa (Usaku NAKAMURA)
03:23 PM Bug #7437: Array#delete(obj) should return obj when there is an object that is equal in the array
Indeed, the documentation does not match the code and there is no test for this.
It was clearly Matz' intention to...
marcandre (Marc-Andre Lafortune)
01:21 PM Bug #7437: Array#delete(obj) should return obj when there is an object that is equal in the array
Here's the patch. Where should the tests go? RubySpec? hasari (Hiro Asari)
01:00 PM Bug #7437 (Closed): Array#delete(obj) should return obj when there is an object that is equal in the array
According to http://www.ruby-doc.org/core-1.9.3/Array.html#method-i-delete, Array#delete(obj) should return "obj" whe... hasari (Hiro Asari)
03:17 PM Revision 4491b98c (git): * 2012-11-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:17 PM Revision 5b238e8d (git): * thread.c (rb_mutex_trylock, rb_mutex_unlock, mutex_sleep):
raises ThreadError if called from trap handler as Thread#join.
* NEWS: news fot the above.
git-svn-id: svn+ssh://ci....
kosaki (Motohiro KOSAKI)
03:01 PM Bug #7276: TestFile#test_utime failure
This seems due to r37337. I don't know the reason of r37337, but reverting the commit (use rb_w32_fstati64 for fstat)... h.shirosaki (Hiroshi Shirosaki)
02:55 PM Revision 23d5c282 (git): * NEWS: update for Thread#join incompatible change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
01:53 PM Feature #6762: Control interrupt timing
For the records.
Ko1 suggested me defer_async_interrupt or async_interrupt_timing(...){...}.
Both looks acceptabl...
kosaki (Motohiro KOSAKI)
10:29 AM Feature #6762: Control interrupt timing
SASADA Koichi <[email protected]> wrote:
> Okay mame-san.
>
> Eric, could you advice a good name?

Really, na...
normalperson (Eric Wong)
09:53 AM Feature #6762: Control interrupt timing
(2012/11/03 8:33), kosaki (Motohiro KOSAKI) wrote:
>> Okay. Give us a good name.
>
> How's this?
>
> co...
ko1 (Koichi Sasada)
09:53 AM Feature #6762: Control interrupt timing
Okay mame-san.

Eric, could you advice a good name?

Kosaki-san's points:
[ruby-core:48769] [ruby-trunk - ...
ko1 (Koichi Sasada)
01:47 PM Revision 39d38ff8 (git): * thread.c (rb_thread_terminate_all): use native_sleep() instead
of rb_thread_schedule(). Otherwise, it consume 100% cpu meaninglessly.
[Bug #5368] [ruby-dev:44546]
* thread.c (thr...
kosaki (Motohiro KOSAKI)
12:17 PM Revision 66e2e6ee (git): * vm_core.h (RUBY_VM_SET_TIMER_INTERRUPT, RUBY_VM_SET_INTERRUPT)
(RUBY_VM_SET_FINALIZER_INTERRUPT, RUBY_VM_SET_TRAP_INTERRUPT)
(RUBY_VM_INTERRUPTED): use enum symbol instead of immed...
kosaki (Motohiro KOSAKI)
11:45 AM Revision 58543f00 (git): * thread.c (thread_join_m): use th->interrupt_mask instead of
th->in_trap.
* vm_core.h (struct rb_thread_struct): remove in_trap member.
* signal.c (signal_exec): ditto.
* thread...
kosaki (Motohiro KOSAKI)
11:25 AM Revision 12d48f4e (git): * test/ruby/test_argf.rb (TestArgf#test_chars): since marshal data is
binary, shouldn't pass via text mode. use base64 encoded data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3...
U.Nakamura
11:11 AM Bug #2402: super in instance_eval
ko1 (Koichi Sasada) wrote:
> shugo-san
> これ,どういう話でしたっけ.
instance_evalの中でsuperを呼んだ時に正しいレシーバを見つけるために r36640 で外側のフレ...
shugo (Shugo Maeda)
09:05 AM Bug #2402: super in instance_eval
shugo-san
これ,どういう話でしたっけ.
ko1 (Koichi Sasada)
10:57 AM Revision 6190bb4d (git): * ruby_atomic.h (ATOMIC_CAS): new macro for compare-and-exchange.
* vm_core.h (struct rb_thread_struct): add interrupt_mask member.
* thread.c (thread_create_core, Init_Thread): initi...
kosaki (Motohiro KOSAKI)
10:46 AM Revision 8c6ad2b0 (git): * iseq.c (make_compile_option_value): add trace_instruction option.
a patch by davidbalbert (David Albert).
[Bug #6786]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37860 b2dd...
ko1 (Koichi Sasada)
10:14 AM Revision 42e9fc41 (git): * bootstraptest/test_thread.rb: try to `join' each 100
threads.
This benchmark seems consuming long time on travis-ci
several times (and make `failure').
git-svn-id:...
ko1 (Koichi Sasada)
09:54 AM Bug #6832 (Closed): Module#instance_method and Module#method_defined? act inconsistently w.r.t #respond_to_missing?
Closed on request of myronmarston.
(I'm not totally sure, but I think only people in the Assignee list can close iss...
duerst (Martin Dürst)
09:22 AM Bug #6832: Module#instance_method and Module#method_defined? act inconsistently w.r.t #respond_to_missing?
Is there a way to close the issue? I haven't used rubymine enough to figure out how to do that, but I would if I could. myronmarston (Myron Marston)
09:21 AM Bug #6832: Module#instance_method and Module#method_defined? act inconsistently w.r.t #respond_to_missing?
While I still think this is initially surprising behavior, I've thought about it some more and realized that there's ... myronmarston (Myron Marston)
09:48 AM Bug #7259 (Closed): ruby-debug-base19x does not compile on 2.0.0-head
ko1 (Koichi Sasada)
09:46 AM Bug #6981: set_trace_func passes strange bindng on method call defined by define_method
time up.
ko1 (Koichi Sasada)
09:35 AM Bug #6701: once literal doesn't care escape
これ,preview 2 の後でも許されますか?
許されないなら next minor 行き.
ko1 (Koichi Sasada)
09:34 AM Bug #6117: Transfers allowed into Fibers that have resumed into other fibers
Exception seems good.
`transfer' and `resume' should not be mix.
Any volunteer?
or it will be tagged `next minor...
ko1 (Koichi Sasada)
09:30 AM Revision 7b918be3 (git): * common.mk: specify label `built-ruby'.
* benchmark/driver.rb: quote path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37858 b2dd03c8-39d4-4d8f-98ff...
ko1 (Koichi Sasada)
09:28 AM Revision 521af835 (git): * signal.c (signal_exec): add volatile to make sure setjmp safe.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
09:27 AM Bug #5527: set_trace_func binding incorrect
no discussion.
ko1 (Koichi Sasada)
09:25 AM Revision 458796d4 (git): * signal.c (signal_exec): suppress "warning: variable 'signum'
might be clobbered by 'longjmp' or 'vfork'" warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37856 b2dd03c...
kosaki (Motohiro KOSAKI)
09:23 AM Bug #5240 (Feedback): Hang when using threads + forks on Debian GNU/kFreeBSD
ko1 (Koichi Sasada)
09:23 AM Bug #5236: Including a module in a superclass after it has been included in a subclass leads to infinite recursion if the module uses `super`
nobu, could you check it?
ko1 (Koichi Sasada)
09:22 AM Bug #4911: timer_thread_function() が thead unsafe
これは忘れてはいけなかった気がする.
小崎先生お願いします.
ko1 (Koichi Sasada)
09:22 AM Revision 70871531 (git): split trap interrupt and async interrupt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
09:20 AM Feature #4614: [RFC/PATCH] thread_pthread.c: lower RUBY_STACK_MIN_LIMIT to 64K
Priority: *High*.
ko1 (Koichi Sasada)
09:19 AM Bug #4537: Incorrectly creating private method via attr_accessor
No discussion.
ko1 (Koichi Sasada)
09:19 AM Revision 2e87867a (git): * benchmark/driver.rb: accept multiple `-e'.
You don't need to use `;' separation character.
[ruby-core:50139] [ruby-trunk - Bug #7380]
git-svn-id: svn+ssh:/...
ko1 (Koichi Sasada)
09:18 AM Bug #4502: strange Module.new behaviour
nobu, could you check it?
I think you tried something like this issue.
ko1 (Koichi Sasada)
09:16 AM Bug #4492 (Feedback): Segfault on successive stack overflows
ko1 (Koichi Sasada)
09:14 AM Bug #4379: [patch] eval(s, b, "(eval)", n) discards location
Are there any applications that this problem is critical for? ko1 (Koichi Sasada)
09:11 AM Bug #4285 (Feedback): Ruby don't have asynchrounous exception safe syntax and It should have.
ko1 (Koichi Sasada)
09:10 AM Bug #4040: SystemStackError with Hash[*a] for Large _a_
We need re-consideration about method invocation to support such cases.
I want to challenge at next version.
ko1 (Koichi Sasada)
09:05 AM Bug #3080: class_variable_set issue with duped Module
nobu, could you check it?
ko1 (Koichi Sasada)
09:03 AM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
I will check it *after* preview2.
This ticket will not affect *Ruby* level spec.
ko1 (Koichi Sasada)
09:01 AM Feature #1952: cannot stop with Ctrl+C
これはやらんといかんということで,pr2 前か後かわかりませんが,やります. ko1 (Koichi Sasada)
09:01 AM Feature #1586: Including a module already present in ancestors should not be ignored
nobu, could you check it?
ko1 (Koichi Sasada)
09:00 AM Bug #1152: profiler.rb is not concurrent-execution threadsafe
nobu, could you check it?
ko1 (Koichi Sasada)
08:59 AM Bug #953: 深い入れ子の配列の取り扱いで落ちる
タイムアップとして次に回します. ko1 (Koichi Sasada)
08:59 AM Feature #7436: Allow for a "granularity" flag for backtrace_locations
(2012/11/26 7:06), sam.saffron (Sam Saffron) wrote:
> This allows for one to take quicker backtraces if they need ...
ko1 (Koichi Sasada)
07:49 AM Feature #7436 (Assigned): Allow for a "granularity" flag for backtrace_locations
zzak (zzak _)
07:08 AM Feature #7436: Allow for a "granularity" flag for backtrace_locations
ouch, this was meant to be a feature req not a bug ... cant figure out how to change sam.saffron (Sam Saffron)
07:06 AM Feature #7436 (Assigned): Allow for a "granularity" flag for backtrace_locations
related to http://bugs.ruby-lang.org/issues/7051
Sometimes one need less information (or more information) associa...
sam.saffron (Sam Saffron)
08:59 AM Feature #7434: Allow caller_locations and backtrace_locations to receive negative params
(2012/11/26 6:59), sam.saffron (Sam Saffron) wrote:
> caller_locations(0,-2) # should strip the bottom frame

...
ko1 (Koichi Sasada)
07:49 AM Feature #7434 (Assigned): Allow caller_locations and backtrace_locations to receive negative params
zzak (zzak _)
07:08 AM Feature #7434: Allow caller_locations and backtrace_locations to receive negative params
ouch, this was meant to be pointed at 2.0 can't figure out how to change sam.saffron (Sam Saffron)
06:59 AM Feature #7434 (Closed): Allow caller_locations and backtrace_locations to receive negative params
Further to http://bugs.ruby-lang.org/issues/7051
It would be nice if caller_locations and backtrace_locations has...
sam.saffron (Sam Saffron)
08:56 AM Feature #7435 (Rejected): Exceptions should have backtrace_locations
ko1 (Koichi Sasada)
08:53 AM Feature #7435: Exceptions should have backtrace_locations
(2012/11/26 7:02), sam.saffron (Sam Saffron) wrote:
> This means exceptions could be more efficient as filenames c...
ko1 (Koichi Sasada)
07:54 AM Feature #7435: Exceptions should have backtrace_locations
Sorry, meant next minor, as #7051 zzak (zzak _)
07:48 AM Feature #7435 (Assigned): Exceptions should have backtrace_locations
zzak (zzak _)
07:07 AM Feature #7435: Exceptions should have backtrace_locations
ouch, this was meant to be a feature req not a bug ... cant figure out how to change sam.saffron (Sam Saffron)
07:02 AM Feature #7435 (Rejected): Exceptions should have backtrace_locations
Further to http://bugs.ruby-lang.org/issues/7051
def boom
raise "boom"
end
begin
boom
rescue => e
p...
sam.saffron (Sam Saffron)
08:13 AM Revision 6746eeca (git): * string.c (rb_str_enumerate_chars, rb_str_enumerate_codepoints)
(rb_str_enumerate_lines): suppress "may be used uninitialized in
this function" warning.
git-svn-id: svn+ssh://ci....
kosaki (Motohiro KOSAKI)
08:05 AM Revision f150ed15 (git): * vm_core.h (rb_thread_struct): added 'in_trap' member for marking
running trap handler.
* signal.c (signal_exec): turn on in_trap when running trap.
* thread.c (Init_Thread, thread_cr...
kosaki (Motohiro KOSAKI)
07:39 AM Feature #7429: Provide options for core collections to customize behavior
@headius I am afraid it's not going to 2.0, for some reasons:
* it's too late to add new classes to 2.0
* and it ...
matz (Yukihiro Matsumoto)
03:57 AM Feature #7429: Provide options for core collections to customize behavior
Speed isn't everything...until it becomes everything. Ruby should not be wasteful unnecessarily. There are also immut... headius (Charles Nutter)
03:44 AM Feature #7429: Provide options for core collections to customize behavior
That is interesting. I suspect part of the problem is the design of the Hash class itself --something I addressed bef... trans (Thomas Sawyer)
03:26 AM Feature #7429: Provide options for core collections to customize behavior
trans (Thomas Sawyer) wrote:
> I wonder if concurrency behavior can be designed as a mixin. As long as the underlyin...
headius (Charles Nutter)
03:23 AM Feature #7429: Provide options for core collections to customize behavior
matz (Yukihiro Matsumoto) wrote:
> Even though I prefer smaller set of built-in fundamental classes, I don't think '...
headius (Charles Nutter)
07:37 AM Revision 3e0becb4 (git): * io.c (argf_each_codepoint): add missing ARGF#codepoints [Bug #7438]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:09 AM Feature #7051: Extend caller_locations API to include klass and bindings. Allow caller_locations as a method hanging off Thread.
Addeed #7436 #7435 and #7434 sam.saffron (Sam Saffron)
07:00 AM Revision cb0a4c0f (git): * bignum.c (bigdivrem): restart calculation when bigdivrem1 was
interrupted by signal. Otherwise, ruby script may see a garbage
value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
kosaki (Motohiro KOSAKI)
06:49 AM Revision 6f3ad9bd (git): * bignum.c (big_div_struct): added volatile to 'stop' member.
Otherwise, "if (bds->stop)" check in bigdivrem1 don't read
memory and ignore interrupt.
* bignum.c (bigdivrem, rb_b...
kosaki (Motohiro KOSAKI)
06:43 AM Feature #6895: TracePoint API
> I can't get points.
> What is "defined event"?
Undefined event, where `tp.event #=> nil`. I would assume there ...
trans (Thomas Sawyer)
05:53 AM Feature #6895: TracePoint API
Hi,

(2012/11/26 4:27), trans (Thomas Sawyer) wrote:
> I made a comparison of the API with the pure Ruby Trace...
ko1 (Koichi Sasada)
04:27 AM Feature #6895: TracePoint API
I made a comparison of the API with the pure Ruby TracePoint gem I had written and have a few points:
* Do all tra...
trans (Thomas Sawyer)
06:01 AM Feature #6670: str.chars.last should be possible
=begin
An IO may be infinite (({open "/dev/zero" do |io| io.chars.to_a }})), and so may ARGF ((%ruby -e 'ARGF.chars....
drbrain (Eric Hodel)
02:23 AM Feature #6670: str.chars.last should be possible
What about IO, StringIO, ARGF as mentioned above?
Thanks,
Brian
brixen (Brian Shirai)
04:52 AM Bug #7344: gem pristine bigdecimal が失敗してしまう
須藤さんありがとうございます。直りそうな気がします!
mrkn よろしくお願いします!
hsbt (Hiroshi SHIBATA)
03:12 AM Revision e4b54208 (git): string.c: suppress warnings
* string.c (rb_str_enumerate_{lines,chars,codepoints}): suppress
uninitialized variable warnings.
git-svn-id: svn...
nobu (Nobuyoshi Nakada)
03:11 AM Revision 6a858bc1 (git): Makefile.sub: fix r37821
* win32/Makefile.sub (DLNOBJ): missing in r37821.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37847 b2dd03c8-...
nobu (Nobuyoshi Nakada)
03:08 AM Feature #7400: Incorporate OpenSSL tests from JRuby.
MartinBosslet (Martin Bosslet) wrote:
> > ((*Some caveats:*))
> >
> > * ((*Not all of these pass in MRI's OpenSSL...
headius (Charles Nutter)
01:57 AM Revision 769781a0 (git): * test/ruby/test_process.rb (test_setsid): added a few wait for
preventing that Process.getsid(io.pid) makes Errno::ESRCH.
(refix r37844)
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
kosaki (Motohiro KOSAKI)
12:52 AM Bug #7246 (Assigned): FileUtils.cp_r does not preserve attributes of directories
Thanks, I'll import your fix unless there is objection.
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
12:19 AM Bug #7180: set_trace_func with error in proc block locks up Ruby with 100% cpu usage and no way to exit without killing proc
The following script also repeat "[:return, 1]".
I'm not sure it is same problem or not.
def m
p:m
end
Tra...
ko1 (Koichi Sasada)

11/25/2012

11:19 PM Feature #7429: Provide options for core collections to customize behavior
=begin
I wonder if concurrency behavior can be designed as a mixin. As long as the underlying class conforms to its ...
trans (Thomas Sawyer)
09:54 PM Feature #7429 (Rejected): Provide options for core collections to customize behavior
Even though I prefer smaller set of built-in fundamental classes, I don't think 'concurrent' option is sufficient,
s...
matz (Yukihiro Matsumoto)
09:55 AM Feature #7429: Provide options for core collections to customize behavior
Too late completely, as you said.
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
01:49 AM Feature #7429 (Rejected): Provide options for core collections to customize behavior
Many folks know that Matz is a fan of having a few classes that handle a wide range of behavior. For this reason, I t... headius (Charles Nutter)
11:11 PM Feature #7432: Explicit way to define local variable in scope
I see why then. Thanks. trans (Thomas Sawyer)
09:49 PM Feature #7432 (Rejected): Explicit way to define local variable in scope
Since I am sick of 'var' and 'local' in other languages, I don't want to add explicit local variable declaration, tha... matz (Yukihiro Matsumoto)
08:02 PM Feature #7432: Explicit way to define local variable in scope
I have always been curious why there is no dynamic way to create local variables (other then eval).
Eg. x = 10 mig...
trans (Thomas Sawyer)
06:17 PM Feature #7432 (Assigned): Explicit way to define local variable in scope
Assigning to matz, but don't hold your breath; matz has rejected such a explicit variable declaration syntax many tim... mame (Yusuke Endoh)
05:18 PM Feature #7432: Explicit way to define local variable in scope
This should definitely not be a method, however I would welcome a 'local' keyword for this purpose. Anonymous
04:32 PM Feature #7432 (Rejected): Explicit way to define local variable in scope
Imagine code such as this
def test_smth
result = nil
assert_nothing_raised { result = some_slow_calculat...
prijutme4ty (Ilya Vorontsov)
10:40 PM Bug #7344: gem pristine bigdecimal が失敗してしまう
あぁ、それは解決しないです。そっちはrubygems.orgにあるbigdecimal-1.1.0.gemをダウンロードしてビルドするのでdefault gemとかは関係ない世界になります。
gem install bigdec...
kou (Kouhei Sutou)
09:42 PM Bug #7344: gem pristine bigdecimal が失敗してしまう
gem install bigdecimal でも同様の結果になってしまいました。rubygems/rubygems の #377 でインストールできない問題も解決するのであれば、rubygems 側の変更でよさそうです。 hsbt (Hiroshi SHIBATA)
01:46 PM Bug #7344: gem pristine bigdecimal が失敗してしまう
RubyGemsに https://github.com/rubygems/rubygems/pull/377 がマージされて、RubyGemsがRuby本体にマージされれば #7427 解決しそうな気がします。RubyGemsの方の... kou (Kouhei Sutou)
02:16 AM Bug #7344: gem pristine bigdecimal が失敗してしまう
他のライブラリは pure-ruby なので問題無いようです。EM 等にならってビルド時の working ディレクトリを tmp とかにすれば良さそうな気もしますが、rubygems や fake_gem.rb の仕組みをあまりよく... hsbt (Hiroshi SHIBATA)
09:32 PM Feature #6688: Object#replace
This is a very dangerous proposal and has the potential to cause all sorts of crashes and other nastiness.
Consider ...
Anonymous
02:33 AM Feature #6688: Object#replace
This is an awful, awful idea. Objects should never change their basic type in-place, or the very essence of OO is des... headius (Charles Nutter)
09:00 PM Bug #7430: 'unexpected return' occurs when call a Proc that returning value in rescue
In fact, there is no problem with 'return' in 'rescue'.
My intention is to return after the Proc not continue execut...
danilo.s.coelho (Danilo Coelho)
09:50 AM Bug #7430 (Rejected): 'unexpected return' occurs when call a Proc that returning value in rescue
This is the spec. To exit from Proc, use next instead of return.
p = Proc.new do
begin
1 / 0
rescu...
mame (Yusuke Endoh)
05:44 AM Bug #7430 (Rejected): 'unexpected return' occurs when call a Proc that returning value in rescue
p = Proc.new do
begin
1 / 0
rescue
return "error handled by proc"
end
end
p.call
danilo.s.coelho (Danilo Coelho)
04:59 PM Revision 251dbc12 (git): * 2012-11-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:59 PM Revision 997518c6 (git): * test/ruby/test_process.rb (test_setsid): call Process.getsid for
child process in child process. because parent process call
Process.getsid with io.pid, Errno::ESRCH could be raise...
nagachika (Tomoyuki Chikanaga)
01:45 PM Bug #6653: 1.9.2/1.9.3 exhibit SEGV with many threads+tcp connections
Unfortunately, I've seen nothing wrong even if file descriptor limits are greater than FD_SETSIZE.
kosaki (Motohiro KOSAKI)
11:41 AM Bug #6653 (Assigned): 1.9.2/1.9.3 exhibit SEGV with many threads+tcp connections
Erik, thank you for the reply!
Well, it seems that there is something wrong in the handling of file descriptors bigg...
mame (Yusuke Endoh)
01:39 PM Revision 56132b13 (git): array.c: refactoring of rb_ary_delete_same()
* array.c (ary_resize_smaller): new function to resize array.
* array.c (rb_ary_delete): refactoring to extract a fu...
h.shirosaki (Hiroshi Shirosaki)
01:28 PM Revision 0012b0ab (git): * array.c: fixes for the updated documentation in r35858:
Typos and #take/#drop accept to take/drop 0 elements.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37842 b2dd03...
Eregon (Benoit Daloze)
01:08 PM Bug #7431 (Rejected): Encoding.compatible? results are order-dependent for Strings but not Encodings
mame (Yusuke Endoh)
12:48 PM Bug #7431: Encoding.compatible? results are order-dependent for Strings but not Encodings
Nevermind, I was writing other specs and interchanging Encoding constants and encoding names (eg that #encode and #fo... brixen (Brian Shirai)
12:32 PM Bug #7431 (Rejected): Encoding.compatible? results are order-dependent for Strings but not Encodings
Could someone please explain the following?
1.9.3p286 :001 > Encoding.compatible? "euc-jp", "utf-8"
=> #<Encodin...
brixen (Brian Shirai)
12:15 PM Bug #7311 (Assigned): DRb test suite fails when hostname cannot be reached
Seki-san, Urabe-san, Naruse-san, what do you think?
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
12:03 PM Bug #7318 (Feedback): activerecord-3.2.8/lib/active_record/connection_adapters/postgresql_adapter.rb:1213: [BUG] Segmentation fault
Sorry, please contact first on pg gem developer. The segfault seems to occur in pg_ext.so.
If they say this is defi...
mame (Yusuke Endoh)
11:57 AM Bug #7364 (Assigned): CGI::Cookie.parse can't deal with cookie options
I guess that CGI::Cookie::parse is a method for parsing ENV["HTTP_COOKIE"], not http response.
Anyway I'm assignin...
mame (Yusuke Endoh)
11:17 AM Feature #6589: Set#rehash
headius (Charles Nutter) wrote:
> Is it specified that Set must be hashtable-based forever? There are alternate ways...
marcandre (Marc-Andre Lafortune)
02:05 AM Feature #6589: Set#rehash
Is it specified that Set must be hashtable-based forever? There are alternate ways to implement a Set. headius (Charles Nutter)
10:51 AM Feature #7349: Struct#inspect needs more meaningful output
This is not a bug. This ticket has been moved to the feature tracker.
I'm not against this proposal, but I don't ...
mame (Yusuke Endoh)
10:44 AM Feature #7349 (Assigned): Struct#inspect needs more meaningful output
mame (Yusuke Endoh)
10:45 AM Revision d91b1dd4 (git): * NEWS: add a news about iconv.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
10:42 AM Bug #7373 (Assigned): FileUtils#chmod verbose gives error when mode is string
Thank you.
I'll apply the following patch unless there is objection.
diff --git a/lib/fileutils.rb b/lib/fileutil...
mame (Yusuke Endoh)
09:46 AM Feature #6647: Exceptions raised in threads should be logged
headius (Charles Nutter) wrote:
> Can we at least agree it should happen for 2.0.0?
No, objection. This looks to...
mame (Yusuke Endoh)
02:18 AM Feature #6647: Exceptions raised in threads should be logged
Checking in on this again. Can we at least agree it should happen for 2.0.0? Perhaps Matz should review this? headius (Charles Nutter)
09:34 AM Feature #6769: rbinstall.rb: install both src and batch files separetely
Though it is better if it is implemented in this month, an accepted feature can be implemented up to code freeze (aro... mame (Yusuke Endoh)
09:16 AM Feature #6769: rbinstall.rb: install both src and batch files separetely
Sorry, was unable to work on this while still working on the other bug/issues.
I'm moving this to next minor.
E...
luislavena (Luis Lavena)
07:39 AM Revision 1ab73afb (git): Fix test to follow r37838
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:00 AM Bug #7326: Time.c doc improvements
After going over the file one last time I found a couple of lines I've missed. bt (Bernd Homuth)
06:19 AM Feature #7121: Extending the use of `require'
Just an alternative idea. What about using Regexp as an alternative to String?
require /.*_helper/
prijutme4ty (Ilya Vorontsov)
03:46 AM Feature #6670 (Closed): str.chars.last should be possible
This issue was solved with changeset r37838.
Yutaka, thank you for reporting this issue.
Your contribution to Ruby is...
knu (Akinori MUSHA)
02:28 AM Feature #6721: Object#yield_self
It occurs to me #apply is used in some other languages to refer to the elements of a collection rather than to the co... headius (Charles Nutter)
02:03 AM Feature #7299: Ruby should not completely ignore blocks.
Perhaps methods that want to ensure nobody accidentally passes in a block should just check for it? `fail if block_gi... headius (Charles Nutter)
01:39 AM Bug #7081: GServer orphaned threads lead to resource exhaustion
FWIW, this could have been fixed by ko1's proposal for threads that don't start until you start them. This would guar... headius (Charles Nutter)
 

Also available in: Atom