Project

General

Profile

Activity

From 08/03/2012 to 08/09/2012

08/09/2012

11:42 PM Revision 33a63355 (git): * gc.c (gc_malloc_allocated_size): RDoc does not process macros, so
mention this method is only available when ruby is built with
CALC_EXACT_MALLOC_SIZE
* gc.c (gc_mal...
drbrain (Eric Hodel)
08:38 PM Bug #5437: Using fibers leads to huge memory leak
Yes the memory usage is stable but that does not change the fact that it is simply huge and never returned back. In r... rupert (Robert Pankowecki)
06:23 AM Bug #5437: Using fibers leads to huge memory leak
"rupert (Robert Pankowecki)" <[email protected]> wrote:
> Any progress ? Looks like this is still a prob...
normalperson (Eric Wong)
08:34 PM Feature #6845 (Closed): Optimize stat on Windows
This issue was solved with changeset r36668.
Hiroshi, thank you for reporting this issue.
Your contribution to Ruby i...
Anonymous
09:05 AM Feature #6845 (Assigned): Optimize stat on Windows
seems good.
commit it, please.
usa (Usaku NAKAMURA)
07:46 AM Feature #6845 (Closed): Optimize stat on Windows
`require` slowness on startup was pointed out and some improvements were done, but startup seems still slow especiall... h.shirosaki (Hiroshi Shirosaki)
07:56 PM Feature #6528: Add Pathname#write and Pathname#binwrite
どうでしょうか?
何か引っかかっている所があれば指摘してもらえると嬉しいです.
niku (niku _)
03:46 PM Revision bb979b86 (git): * sample/coverage.rb: fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:16 PM Revision 773c7e94 (git): * 2012-08-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:16 PM Revision 54f5d4ec (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:46 PM Revision 402edc56 (git): mkrunnable.rb: build_os
* tool/mkrunnable.rb: see build_os instead of target arch for
cross-compiling.
git-svn-id: svn+ssh://ci.ruby-lang...
nobu (Nobuyoshi Nakada)
02:46 PM Revision 50f3d3fe (git): configure.in: use real path
* configure.in (MINIRUBY): use real path for include path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36672 ...
nobu (Nobuyoshi Nakada)
02:46 PM Revision 1fcc1762 (git): fake.rb.in: remove duplications
* template/fake.rb.in (builddir): remove duplications
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36671 b2dd0...
nobu (Nobuyoshi Nakada)
02:37 PM Revision 2b648fb7 (git): * ChangeLog: fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
01:49 PM Revision b8006774 (git): merge revision(s) 34972:
* pack.c (pack_unpack): when unpack('M') occurs an illegal byte
sequence, output the "=" character and the ...
naruse (Yui NARUSE)
12:42 PM Bug #6830 (Closed): test failure test_constants(OpenSSL::TestConfig) [/ruby/test/openssl/test_config.rb:27] on Mac + homebrew
This issue was solved with changeset r36666.
Motohiro, thank you for reporting this issue.
Your contribution to Ruby ...
kosaki (Motohiro KOSAKI)
11:10 AM Bug #6830: test failure test_constants(OpenSSL::TestConfig) [/ruby/test/openssl/test_config.rb:27] on Mac + homebrew
Thanks for the detailed description! Luis has pointed out the issue on Windows to me already, and we agreed that this... MartinBosslet (Martin Bosslet)
11:34 AM Revision dcd7f09b (git): Optimize winnt_stat
* test/ruby/test_file_exhaustive.rb
(TestFileExhaustive#test_stat_special_file): add a test.
GetFileAttributesExW...
h.shirosaki (Hiroshi Shirosaki)
09:33 AM Revision 0e92dc4b (git): ruby.c: show version only once
* ruby.c (proc_options): show version only once even if -v and
--verbose are given together.
http://twitter.com/d...
nobu (Nobuyoshi Nakada)
09:31 AM Feature #6841: Shorthand for Assigning Return Value of Method to Self
If we want lexical multiplicity to equal evaluation multiplicity...
Should:
obj.foo.bar[baz.daz] .= to_i
b...
kstephens (Kurt Stephens)
07:54 AM Bug #6836: Improve File.expand_path performance in Windows
On Wed, Aug 8, 2012 at 9:42 PM, luislavena (Luis Lavena)
<[email protected]> wrote:
>
> Issue #6836 has bee...
h.shirosaki (Hiroshi Shirosaki)
06:23 AM Feature #6844: Random.rand() requires pre-seeding in forked process
"andrewhavens (Andrew Havens)" <[email protected]> wrote:
> Feature #6844: Random.rand() requires pre-seeding...
normalperson (Eric Wong)
05:51 AM Feature #6844 (Rejected): Random.rand() requires pre-seeding in forked process
I'm submitting this as a feature because I'm not sure if this implementation is intentional.
While using the delay...
andrewhavens (Andrew Havens)
03:42 AM Revision f207f779 (git): * test/openssl/test_config.rb (OpenSSL#test_constants): skip this
test if platform is Mac OS X or Windows. [Bug #6830]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36666 b2dd03c...
kosaki (Motohiro KOSAKI)
03:23 AM Feature #6840: YAML tag method
On Wed, Aug 08, 2012 at 09:52:15PM +0900, trans (Thomas Sawyer) wrote:
>
> Issue #6840 has been updated by trans ...
Anonymous

08/08/2012

10:45 PM Bug #6789 (Closed): parse.y compilation error due not updated id.h
This issue was solved with changeset r36661.
Luis, thank you for reporting this issue.
Your contribution to Ruby is g...
nobu (Nobuyoshi Nakada)
10:17 PM Bug #6653: 1.9.2/1.9.3 exhibit SEGV with many threads+tcp connections
I've hit a similar issue while using Chef with Ruby 1.9.3 on Ubuntu 12.04 x86_64. I've tried with both the Ubuntu 1.... Anonymous
09:52 PM Feature #6840: YAML tag method
As I stated before, for my use case, I do *not* want users to use a support library. In fact, it's not just want, its... trans (Thomas Sawyer)
06:23 AM Feature #6840: YAML tag method
On Tue, Aug 07, 2012 at 09:30:51AM +0900, trans (Thomas Sawyer) wrote:
>
> Issue #6840 has been reported by trans...
Anonymous
06:19 AM Feature #6840 (Rejected): YAML tag method
tenderlovemaking (Aaron Patterson)
09:42 PM Bug #6836: Improve File.expand_path performance in Windows
h.shirosaki (Hiroshi Shirosaki) wrote:
> usa (Usaku NAKAMURA) wrote:
> > If the performance problem is in 'require...
luislavena (Luis Lavena)
05:33 PM Bug #6836: Improve File.expand_path performance in Windows
usa (Usaku NAKAMURA) wrote:
> If the performance problem is in 'require' and 'load', change only them
> and be st...
h.shirosaki (Hiroshi Shirosaki)
08:25 PM Bug #5637: warnings of shellescape
As I documented, it's all up to how you use the resulted string.
If you are going to pass it to a shell that lacks...
knu (Akinori MUSHA)
07:54 PM Bug #5437: Using fibers leads to huge memory leak
Any progress ? Looks like this is still a problem in Ruby2.0: https://gist.github.com/bf4b57d5bf419dbf56ae rupert (Robert Pankowecki)
06:01 PM Bug #6838: class_eval and instance_eval do not scope class names the same as direct code
I think constants are searched "half-dynamically", as, for example, inheritance hierarchy is searched, but only after... alexeymuranov (Alexey Muranov)
01:09 PM Bug #6838 (Rejected): class_eval and instance_eval do not scope class names the same as direct code
cpoirier (Chris Poirier) wrote:
> My expectation is that class_eval and instance_eval should map class names the sam...
shugo (Shugo Maeda)
05:49 PM Bug #6843 (Rejected): win32ole save shortcut fail on Windows XP
Not a bug. shyouhei (Shyouhei Urabe)
05:06 PM Bug #6843: win32ole save shortcut fail on Windows XP
This is not a bug of ruby.
The error message OLE error code:80070003 means the target folder "#{USERPROFILE}\\Deskto...
phasis68 (Heesob Park)
02:59 PM Bug #6843 (Rejected): win32ole save shortcut fail on Windows XP
The following program will success on Windows 7, but fail on Windows XP
============================================...
mghomn (Justin Peal)
05:03 PM Revision 507dc62a (git): * 2012-08-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:03 PM Revision b2fbb39a (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
04:52 PM Bug #4438 (Closed): rescue args type check omitted
This issue was solved with changeset r36658.
Hiroshi, thank you for reporting this issue.
Your contribution to Ruby i...
ko1 (Koichi Sasada)
01:51 PM Revision 393ed5c9 (git): vm_eval.c: cref-scope hack
* vm_eval.c (eval_under): singletons other than special constants
don't need cref-scope hack.
git-svn-id: svn+ssh...
nobu (Nobuyoshi Nakada)
01:46 PM Revision 6b4ecb32 (git): use local variables
* test/ruby/test_eval.rb: use local variables instead global variables
if possible.
* test/ruby/test_ifunless.rb: d...
nobu (Nobuyoshi Nakada)
01:45 PM Revision 22e14514 (git): common.mk: id.h dependency
* common.mk (.y.h): split from .y.c rule to manage dependency on
parse.h. [ruby-core:46741] [Bug #6789]
* common.m...
nobu (Nobuyoshi Nakada)
01:43 PM Bug #6374: Acces to initialized class variable from included module
mame (Yusuke Endoh) wrote:
> I guess this is where "the Standard" comes in.
> Anyone who can check ISO/IEC 30170 ? ...
shugo (Shugo Maeda)
10:58 AM Feature #6841: Shorthand for Assigning Return Value of Method to Self
Yes, that's exactly how it would behave. To rewrite your example to make sure I understood it correctly:
obj.f...
wardrop (Tom Wardrop)
07:19 AM Feature #6841: Shorthand for Assigning Return Value of Method to Self
I like the idea, iff:
obj.foo.bar.baz .= to_i
behaves as:
begin
temp = obj.foo.bar
temp.baz = ...
kstephens (Kurt Stephens)
10:51 AM Feature #6842: Add Optional Arguments to String#strip
"<b>b" from the start of the string, and the "</b>" from the end. This is how I remember trim() from php behaved, whi... wardrop (Tom Wardrop)
08:12 AM Revision dcfaf3e2 (git): * compile.c (ADD_INSNL): make ADD_INSNSL as alias of ADD_INSN1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
08:11 AM Revision e2f5d4f9 (git): * bootstrap/test_exception.rb: fix a last committed test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
07:52 AM Revision 93b6f8d6 (git): * compile.c, insns.def (checkmatch):
remove checkincludearray instruction and
add new instruction checkmatch.
This change is to solve
[Bug #4438] "r...
ko1 (Koichi Sasada)
12:51 AM Feature #6802: String#scan should have equivalent yielding MatchData
+1 to have a method to return MatchData.
This is related to (or duplicate of) #5749 and #5606.
Even with the sim...
tomoakin (Tomoaki Nishiyama)

08/07/2012

11:10 PM Feature #6842: Add Optional Arguments to String#strip
The first example doesn't seem to make sense, e.g.
```ruby
"<b>bold text</b>".strip("</b>") #=> "old text"
```
...
trans (Thomas Sawyer)
08:24 PM Feature #6842 (Assigned): Add Optional Arguments to String#strip
=begin
One of the very few things I miss from the ol' php days many years ago, was the ability to easily strip arbit...
wardrop (Tom Wardrop)
10:59 PM Bug #6836: Improve File.expand_path performance in Windows
On Tue, Aug 7, 2012 at 4:28 AM, U.Nakamura <[email protected]> wrote:
> Hello,
>
> In message "[ruby-core:470...
luislavena (Luis Lavena)
08:29 PM Bug #6836: Improve File.expand_path performance in Windows
On Tue, Aug 7, 2012 at 2:34 AM, U.Nakamura <[email protected]> wrote:

> However, it is very difficult to wr...
now (Nikolai Weibull)
04:29 PM Bug #6836: Improve File.expand_path performance in Windows
Hello,

In message "[ruby-core:47045] [ruby-trunk - Bug #6836] Improve File.expand_path performance in Windows"
...
usa (Usaku NAKAMURA)
02:46 PM Bug #6836: Improve File.expand_path performance in Windows
Other web servers on Windows also have Windows Short (8.3) Filenames security issue.
http://www.coresecurity.com/c...
h.shirosaki (Hiroshi Shirosaki)
10:26 AM Bug #6836: Improve File.expand_path performance in Windows
On Mon, Aug 6, 2012 at 9:34 PM, U.Nakamura <[email protected]> wrote:
>
> However, it is very difficult to wri...
luislavena (Luis Lavena)
09:54 AM Bug #6836: Improve File.expand_path performance in Windows
Hello,

Thank you for the explanation, Luis.

In message "[ruby-core:47021] [ruby-trunk - Bug #6836] Improve...
usa (Usaku NAKAMURA)
10:32 PM Bug #6789 (Open): parse.y compilation error due not updated id.h
nobu (Nobuyoshi Nakada)
08:51 PM Revision 8637eac4 (git): * 2012-08-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:51 PM Revision 292a3196 (git): * proc.c (method_clone): Added documentation. Patch by Robin Dupret.
Fixes #152 on github.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
08:50 PM Revision f45af0c6 (git): * 2012-08-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@36655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:50 PM Revision 6b3bac29 (git): merge revision(s) r36583, r36458, r36414, r36103, r35690, r35681, r35658, r35657, r35655, r35492: [Backport #6815]
* ext/psych/lib/psych.rb: updated to released version.
* ext/psych/psych.gemspec: ditto
* ext/psych/emitter...
tenderlovemaking (Aaron Patterson)
08:29 PM Feature #6841: Shorthand for Assigning Return Value of Method to Self
Yeah, I thought about making "." a method, but I don't think that would be advantageous. If you were to overload ".",... wardrop (Tom Wardrop)
04:05 PM Feature #6841: Shorthand for Assigning Return Value of Method to Self
=begin
Does `.` effectively become a "call dispatch operator" then? Could one write:
a.send('.', :foo)
I lik...
trans (Thomas Sawyer)
11:39 AM Feature #6841: Shorthand for Assigning Return Value of Method to Self
=begin
The formatting obviously didn't work. Try this one:
Quite often in Ruby, I find myself doing something lik...
wardrop (Tom Wardrop)
11:37 AM Feature #6841 (Assigned): Shorthand for Assigning Return Value of Method to Self
=begin
Quite often in Ruby, I find myself doing something like: (({my_var[:foo][:bar] = my_var[:foo][:bar].to_i})) o...
wardrop (Tom Wardrop)
03:11 PM Feature #6596: New method `Array#indexes`
=begin
Given a ordered list, swap items relative to those that match.
list.index_all{ |x| match?(x) }.each do |i|
...
trans (Thomas Sawyer)
11:22 AM Revision a996b485 (git): * ext/readline/readline.c (Init_readline): rl_catch_signals=0 returns
back. Without this, on FreeBSD9 and readline 6.2 irb can't catch ^C.
[Bug #5423]
git-svn-id: svn+ssh://ci.ruby-lan...
naruse (Yui NARUSE)
11:13 AM Revision 0d1a905e (git): * vm_exec.c, insns.def (leave): solve problems on
OPT_CALL_THREADED_CODE.
Catch up finish frame structure on OPT_CALL_THREADED_CODE.
* vm_core.h: add rb_thread_t#ret...
ko1 (Koichi Sasada)
10:21 AM Bug #6839: 1.9.3p194 [BUG] Segmentation fault
Separate crash log because it was too long and truncated. nobu (Nobuyoshi Nakada)
02:46 AM Bug #6839 (Closed): 1.9.3p194 [BUG] Segmentation fault
=begin
I am trying to process tweets on engineyard for a rails app and constantly get segmentation faults, seemingly...
dzelle (Dustin Zelle)
09:30 AM Feature #6840 (Rejected): YAML tag method
=begin
When loading YAML documents that have a tag, there doesn't seem to be anyway to query for that information.
...
trans (Thomas Sawyer)
06:20 AM Feature #6373: public #self
Strikes me as a very good idea! I forgot about that. In Facets it is called `#ergo`. Essentially,
~~~ruby
def erg...
trans (Thomas Sawyer)
06:00 AM Feature #6373: public #self
How about merging this with feature request #6721 for #yield_self?
Object#self can optionally accept a block, yiel...
alexeymuranov (Alexey Muranov)
02:47 AM Feature #6373: public #self
i also found a previous issue where this behavior would come in handy: http://bugs.ruby-lang.org/issues/2172 citizen428 (Michael Kohl)
06:14 AM Feature #6721: Object#yield_self
This is basically #ergo in Ruby Facets. Essentially:
~~~ruby
def ergo
return yield(self) if block_given?
...
trans (Thomas Sawyer)
02:59 AM Revision fca3c408 (git): * test/ruby/test_require.rb (TestRequire#test_require_twice): added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
02:48 AM Bug #5637: warnings of shellescape
Hi,
Thanks for this patch!.. :)
One question though, from comment #3 it's not clear if it's safe to use it in 1...
dariocravero (Darío Cravero)
02:44 AM Revision 0f24f944 (git): * vm_method.c (rb_redefine_opt_method): use RCLASS_ORIGIN to avoid
SEGV when a module-prepended class is refined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36650 b2dd03c8-39d4...
shugo (Shugo Maeda)
01:48 AM Revision b361d7d0 (git): * test/ruby/test_file_exhaustive.rb
(TestFileExhaustive#test_expand_path*): refactoring. split the method
into some chunks of the same kind of tests.
...
U.Nakamura
12:43 AM Revision ac37fc37 (git): test String#each_line when separator is longer than string.
Thanks Charles Nutter.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
12:31 AM Bug #2788 (Closed): nil.instance_eval pushes nil onto cref
This issue was solved with changeset r36647.
Shugo, thank you for reporting this issue.
Your contribution to Ruby is ...
nobu (Nobuyoshi Nakada)

08/06/2012

11:02 PM Bug #6836: Improve File.expand_path performance in Windows
usa (Usaku NAKAMURA) wrote:
> I found that this includes a patch to WEBrick.
> So, I guess that this means there is...
luislavena (Luis Lavena)
12:28 PM Bug #6836: Improve File.expand_path performance in Windows
First, I think this is the great job!
This patch is very big, so I've not checked whole yet.
I found that this in...
usa (Usaku NAKAMURA)
10:35 PM Feature #2172: Enumerable#chunk with no block
Any decision about this? For me it's a clear +1, chunking by the values unchanged is very common (not that it's repre... tokland (Arnau Sanchez)
10:33 PM Bug #4438: rescue args type check omitted
Patch attached. nobu (Nobuyoshi Nakada)
07:21 PM Bug #6814 (Closed): Test failures in test_win32ole_variant.rb
This issue was solved with changeset r36641.
Hiroshi, thank you for reporting this issue.
Your contribution to Ruby i...
suke (Masaki Suketa)
06:54 PM Bug #6829: Failure using Win32ole (happens in 1.8.7 and 1.9
Thank you for your reporting.
I'm not sure, but maybe you must specify variant type information
of arguments whe...
suke (Masaki Suketa)
05:54 PM Bug #2788: nil.instance_eval pushes nil onto cref
Hello,

In message "[ruby-core:47015] [ruby-trunk - Bug #2788] nil.instance_eval pushes nil onto cref"
on ...
usa (Usaku NAKAMURA)
05:15 PM Bug #2788: nil.instance_eval pushes nil onto cref
ko1 (Koichi Sasada) wrote:
> nobu has patach.
Does he have a Hebrew niqqud vowel sign?
Aside from the joke, why ...
shugo (Shugo Maeda)
04:00 PM Bug #2402 (Closed): super in instance_eval
This issue was solved with changeset r36640.
Shugo, thank you for reporting this issue.
Your contribution to Ruby is ...
shugo (Shugo Maeda)
03:31 PM Revision 28827e61 (git): method in instance_eval
* class.c (rb_special_singleton_class_of): utility function.
* vm_eval.c (eval_under): special deal for class variabl...
nobu (Nobuyoshi Nakada)
03:24 PM Revision 353833c4 (git): * 2012-08-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:24 PM Revision 6f677a5e (git): variable.c: split CVAR_LOOKUP
* variable.c (CVAR_LOOKUP): split into helper functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36645 b2...
nobu (Nobuyoshi Nakada)
01:24 PM Bug #6838: class_eval and instance_eval do not scope class names the same as direct code
On more thought, I can understand that Ruby views class names the same way it does variables, and so pulls them from ... cpoirier (Chris Poirier)
01:13 PM Bug #6838 (Rejected): class_eval and instance_eval do not scope class names the same as direct code
class X
def self.f()
puts "::X"
end
end
class Y
class X
def self.f()
puts "...
cpoirier (Chris Poirier)
01:06 PM Revision 745de093 (git): test_exception.rb: split tests
* test/ruby/test_exception.rb (test_exception, test_else): split huge
tests into simple tests.
git-svn-id: svn+ss...
nobu (Nobuyoshi Nakada)
01:06 PM Revision ddabdd44 (git): test_exception.rb: use local variables
* test/ruby/test_exception.rb (test_exception, test_else): use local
variables instead unnecessary global variables...
nobu (Nobuyoshi Nakada)
12:18 PM Revision 281e4b61 (git): vm_eval.c: check exceptional condition first
* vm_eval.c (vm_call_super): check exceptional condition first.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3...
nobu (Nobuyoshi Nakada)
10:21 AM Revision 906b2110 (git): * test/win32ole/test_win32ole_variant.rb: setting WIN32OLE.locale
to pass some assertion. Thanks to Hiroshi Shirosaki.
[ruby-core:46873][Bug #6814]
git-svn-id: svn+ssh://ci.ruby...
suke (Masaki Suketa)
07:00 AM Revision 9537e8ff (git): * internal.h, class.c, eval.c, insns.def: find the appropriate
receiver for super called in instance_eval. If such a receiver is
not found, raise NoMethodError. [ruby-dev:39772]...
shugo (Shugo Maeda)
05:55 AM Revision 3dd941b2 (git): * include/ruby/ruby.h, eval.c, vm_insnhelper.c: fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shugo (Shugo Maeda)
04:14 AM Revision d93d45fe (git): vm_eval.c: remove dead code
* vm_eval.c (vm_call_super): since cfp->klass is always class or
iclass, no search from method entry.
git-svn-id:...
nobu (Nobuyoshi Nakada)
02:34 AM Revision cc48423e (git): insns.def: use klass in cfp
* insns.def (defined): now should use klass in the current control
frame to search superclass, not me->klass. repo...
nobu (Nobuyoshi Nakada)
02:20 AM Revision 7c5336b8 (git): * test/etc/test_etc.rb (TestEtc#test_getpwuid): `s' is never set to nil.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
02:11 AM Revision e7c6f87c (git): * syslog/test_syslog_logger.rb: miss.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
02:09 AM Revision 404bb0ef (git): * test/syslog/test_syslog_logger.rb: skip unless Syslog module is
available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura

08/05/2012

09:50 PM Bug #6837 (Closed): MinGW: r36626 broke the build (x86 & x64)
I fixed it.
http://ci.rubyinstaller.org/job/ruby-trunk-x86/99/console
http://ci.rubyinstaller.org/job/ruby-trunk-...
authorNari (Narihiro Nakamura)
08:50 PM Bug #6837 (Closed): MinGW: r36626 broke the build (x86 & x64)
=begin
Hello,
After r36626, gc.c compilation fails:
compiling ../gc.c
../gc.c: In function 'rb_objspace_eac...
luislavena (Luis Lavena)
09:13 PM Feature #5478: Add syntax to import Set into core
trans (Thomas Sawyer) wrote:
>```ruby
> {/}
> ```
> Close enough?
Thomas, unfortunately here it looks like ...
alexeymuranov (Alexey Muranov)
09:06 PM Feature #5478: Add syntax to import Set into core
I don't see why Hash and Set need to be merged, however. It certainly could be useful for Ruby supported Set out-of-t... trans (Thomas Sawyer)
09:01 PM Feature #5478: Add syntax to import Set into core
@fxn
```ruby
{/}
```
Close enough?
trans (Thomas Sawyer)
08:51 PM Feature #5478: Add syntax to import Set into core
I don't know which is the general position of core with respect to non-ASCII in source code, but the natural literal ... fxn (Xavier Noria)
04:20 PM Feature #5478: Add syntax to import Set into core
nobu (Nobuyoshi Nakada) wrote:
> Seems off-topic.
> ```ruby
> h1 = {a: 1}; h2 = {b: 2}
> def foo(name: 'unknown',...
alexeymuranov (Alexey Muranov)
01:22 PM Feature #5478: Add syntax to import Set into core
Seems off-topic.
```ruby
h1 = {a: 1}; h2 = {b: 2}
def foo(name: 'unknown', **rest) name; end
foo **h1, **h2, na...
nobu (Nobuyoshi Nakada)
08:39 PM Bug #6829 (Feedback): Failure using Win32ole (happens in 1.8.7 and 1.9
can you try Ruby 1.9.3 and see if it reproduces?
I don't have Stamps software installed or a Stamps printer to tes...
luislavena (Luis Lavena)
07:50 PM Feature #6688: Object#replace
=begin
Ilya, according to how Ruby works (as far as i understand), there should be no difference, as far as exception...
alexeymuranov (Alexey Muranov)
03:40 PM Revision 13527efd (git): bigdecimal.c: fix format specifier
* ext/bigdecimal/bigdecimal.c (BigMath_s_log): fix format specifier.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
nobu (Nobuyoshi Nakada)
03:40 PM Revision d97cd39f (git): io.c: suppress unused variable warnings
* io.c (pipe_open): suppress warnings agains variable which are used
when spawnv is available but fork is not.
gi...
nobu (Nobuyoshi Nakada)
03:39 PM Revision 95512f27 (git): ruby.h: rb_num2ulong_inline
* include/ruby/ruby.h (NUM2ULONG): optimize by inline as well as
NUM2LONG, and cast to unsigned long explicitly for...
nobu (Nobuyoshi Nakada)
03:39 PM Revision 306a16d2 (git): * 2012-08-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:38 PM Revision 09288de5 (git): ruby.h: fix cast
* include/ruby/ruby.h (NUM2SSIZET): fix type to cast.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36629 b2dd0...
nobu (Nobuyoshi Nakada)
01:05 PM Bug #595: Fiber ignores ensure clause
ワナベと申します。
(1) GC で mark と sweep の間に、mark されていない Fiber を対象に
(2) ruby_cleanup 中に、メインスレッドに所属するすべての Fiber を対象に
(3) 子...
wanabe (_ wanabe)
12:17 PM Revision cf4aa712 (git): add references
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e authorNari (Narihiro Nakamura)
12:12 PM Revision 8f1c81c6 (git): * gc.c : if ENABLE_VM_OBJSPACE is 1, rest_sweep is not defined.
remove unused declarations.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36627 b2dd03c8-39d4-4d8f-98ff-823fe69b...
authorNari (Narihiro Nakamura)
10:39 AM Revision dd124a0f (git): * gc.c: just move functions and so on. I don't touch any internal
implementation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
authorNari (Narihiro Nakamura)
09:22 AM Bug #6278: in `join': deadlock detected (fatal)
@kosaki's solution seems to be much better than mine.
+1
thedarkone (Vit Z)
05:28 AM Bug #6278: in `join': deadlock detected (fatal)
Good catch!
For the record, I'd like to write a detail race. This race need three threads at least.
1) thread-A...
kosaki (Motohiro KOSAKI)
07:43 AM Bug #6818 (Rejected): Incorrect Date.parse results
it is not a bug.
us is minority.
i think we should just ignore the case, so far.
tadf (tadayoshi funaba)
07:08 AM Bug #6835 (Closed): Rdoc for DateTime#strftime('%Q') says 'microseconds' instead if 'milliseconds'
tadf (tadayoshi funaba)
06:53 AM Bug #6835 (Assigned): Rdoc for DateTime#strftime('%Q') says 'microseconds' instead if 'milliseconds'
tadf (tadayoshi funaba)
06:55 AM Bug #6836 (Closed): Improve File.expand_path performance in Windows
=begin
(original write up in markdown here: https://gist.github.com/3242245)
== Background
While investigating...
luislavena (Luis Lavena)
05:14 AM Revision 800d9a7a (git): test_etc.rb: remove implicit assumption
* test/etc/test_etc.rb (TestEtc#test_getpwuid): remove implicit
assumption, that getpwuid() would return the first ...
nobu (Nobuyoshi Nakada)
04:26 AM Revision e57da610 (git): * configure.in: use gcc-4.2 prior to clang, gcc, and cc if exist for
the use of Snow Leopard's old clang. see also r36594, r36610, r36611.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
naruse (Yui NARUSE)
12:21 AM Bug #6360: Debug information build even without requesting it
=begin
Hello,
Friendly reminder than this still happens in trunk and ruby_1_9_3:
http://ci.rubyinstaller.org/j...
luislavena (Luis Lavena)

08/04/2012

11:34 PM Bug #6835 (Closed): Rdoc for DateTime#strftime('%Q') says 'microseconds' instead if 'milliseconds'
=begin
The patch fixes wrong rdoc for %Q, which returns the number of ((*milli*))seconds since the unix epoch, not (...
stomar (Marcus Stollsteimer)
11:14 PM Bug #6825: forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
Yeah, that seems to be restricted to snow leopard. xentronium (Mark A)
05:20 PM Bug #6825: forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
At least, require 'mysql2' version nor drbrain version don't crash on my Mountain Lion environment.
kosaki (Motohiro KOSAKI)
11:04 PM Feature #5478: Add syntax to import Set into core
I think that unifying `Hash` with `Set` could also allow to use the *splat* star operator more intelligently. For exa... alexeymuranov (Alexey Muranov)
10:53 PM Bug #6278: in `join': deadlock detected (fatal)

=begin
I've tracked this down to a spinlock/deadlock-detection race condition.
Here's a much shorter script to ...
thedarkone (Vit Z)
10:07 PM Revision 949d740a (git): uncommented some tests
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
10:04 PM Revision a2c5d155 (git): added a comment
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
09:59 PM Revision 7f13c5e4 (git): * 2012-08-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:57 PM Revision ab67ba64 (git): * ext/date/date_{core,strftime}.c: [ruby-core:46990].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
09:56 PM Bug #6830: test failure test_constants(OpenSSL::TestConfig) [/ruby/test/openssl/test_config.rb:27] on Mac + homebrew
=begin
Hello guys,
If I can chime in, something similar happens on Windows:
https://github.com/oneclick/rubyin...
luislavena (Luis Lavena)
03:37 PM Bug #6830 (Assigned): test failure test_constants(OpenSSL::TestConfig) [/ruby/test/openssl/test_config.rb:27] on Mac + homebrew
kosaki (Motohiro KOSAKI)
03:18 PM Bug #6830 (Feedback): test failure test_constants(OpenSSL::TestConfig) [/ruby/test/openssl/test_config.rb:27] on Mac + homebrew
Click the update button, then click "(More)". You can continue editing the description. shyouhei (Shyouhei Urabe)
02:32 PM Bug #6830 (Closed): test failure test_constants(OpenSSL::TestConfig) [/ruby/test/openssl/test_config.rb:27] on Mac + homebrew
When using homebrew openssl, following test failure was happen.
2) Failure:
test_constants(OpenSSL::TestConfig)...
kosaki (Motohiro KOSAKI)
03:39 PM Bug #6832 (Closed): Module#instance_method and Module#method_defined? act inconsistently w.r.t #respond_to_missing?
It's awesome that #respond_to_missing? allows Object#method to work for messages handled by #method_missing. However... myronmarston (Myron Marston)
02:12 PM Revision de0c788b (git): * gc.c: use inline functions instead of macros, and close up
related codes for the profiler.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36619 b2dd03c8-39d4-4d8f-98ff-823f...
authorNari (Narihiro Nakamura)
11:40 AM Revision d7a33316 (git): * gc.c (gc_mark_children): use gc_mark_ptr instead of marking
a object directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
authorNari (Narihiro Nakamura)
06:54 AM Bug #6829 (Rejected): Failure using Win32ole (happens in 1.8.7 and 1.9
The following code:
require 'rubygems'
require 'win32ole'
pdk = WIN32OLE.new("StampsDotCom.PDK5")
...
mvanduyn (Mitch VanDuyn)
04:39 AM Feature #6828: Constancy of Constants
Did you mean #6810 by any chance? alexeymuranov (Alexey Muranov)
01:23 AM Feature #6828 (Open): Constancy of Constants
=begin
Could have swore there was a recent issue addressing this, but couldn't find it, so...
I hope by Ruby 2.0
...
trans (Thomas Sawyer)
04:11 AM Bug #6827 (Closed): Broken build after r36612
Issue seems to be fixed at r36616, closing this out. luislavena (Luis Lavena)
12:21 AM Bug #6827 (Closed): Broken build after r36612
=begin
Hello,
Running sample tests seems is failing on latest trunk for MinGW:
sample/test.rb:alias .FF... 6
...
luislavena (Luis Lavena)
01:45 AM Bug #6816: Can't compile ruby 2.0.0dev on Mac OS X 10.8
naruse everything is working fine now. Thanks!. spastorino (Santiago Pastorino)
01:35 AM Bug #3351 (Open): stack overflow on super
In HEAD of trunk, stack overflow doesn't occur, but Override#foo is called only once.
So I reopen this ticket.
shugo (Shugo Maeda)
01:04 AM Revision cd060b45 (git): * test/ruby/test_alias.rb (test_super_in_aliased_module_method):
add a test case for [ruby-dev:46028], which fails in 1.8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36617 b2...
shugo (Shugo Maeda)

08/03/2012

08:30 PM Feature #3346: __DIR__ revisted
mame (Yusuke Endoh) wrote:
> Thomas Sawyer and Yutaka Hara,
>
> Matz determined Kernel#__dir__ (as a method).
> ...
Eregon (Benoit Daloze)
08:22 PM Feature #3346 (Assigned): __DIR__ revisted
This one is alive. shyouhei (Shyouhei Urabe)
08:05 PM Feature #3346 (Closed): __DIR__ revisted
matz (Yukihiro Matsumoto)
08:05 PM Feature #1961 (Closed): Kernel#__dir__
matz (Yukihiro Matsumoto)
07:33 PM Feature #1961: Kernel#__dir__
This ticket should be closed since discussion is continued to #3346 ("__DIR__ revisted"). yhara (Yutaka HARA)
07:53 PM Feature #6670: str.chars.last should be possible
> I'm happy to inform you that matz has accepted your proposal,
> as making #chars, #lines, etc. return an Array (an...
yhara (Yutaka HARA)
07:27 PM Bug #3351 (Closed): stack overflow on super
This issue was solved with changeset r36612.
Serge, thank you for reporting this issue.
Your contribution to Ruby is ...
shugo (Shugo Maeda)
04:56 PM Revision 260d02d9 (git): vm_insnhelper.c: no recv
* vm_insnhelper.c (vm_search_normal_superclass): no longer needs
receiver, klass is always unique in the ancestors ...
nobu (Nobuyoshi Nakada)
04:54 PM Revision e421410e (git): test_super.rb: rename
* test/ruby/test_super.rb (TestSuper#test_double_include2): rename to
get rid of redefinition.
git-svn-id: svn+ss...
nobu (Nobuyoshi Nakada)
04:32 PM Revision 2e2245bf (git): * 2012-08-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:32 PM Revision 9bef3f05 (git): * insns.def (invokesuper): reverted r36612 so that super in an
aliased method will not call the same method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36613 b2dd03c8-39d4-...
shugo (Shugo Maeda)
04:08 PM Bug #6816: Can't compile ruby 2.0.0dev on Mac OS X 10.8
Oops I missed it; r36603 should fix it. naruse (Yui NARUSE)
11:56 AM Bug #6816: Can't compile ruby 2.0.0dev on Mac OS X 10.8
Even after running git clean -x -f, autoconf, ./configure and make again is not working for me. I'm on Mac OS X 10.7.... spastorino (Santiago Pastorino)
06:34 AM Bug #6816: Can't compile ruby 2.0.0dev on Mac OS X 10.8
As the commit above shows, configure.in was edited. To pick up this change you must rebuild the configure script. U... drbrain (Eric Hodel)
06:30 AM Bug #6816: Can't compile ruby 2.0.0dev on Mac OS X 10.8
"Hrm, autoconf was not re-run, does `make` do it?" No. But ./configure --without-gcc works fine. hg (HG Hoehne)
05:38 AM Bug #6816: Can't compile ruby 2.0.0dev on Mac OS X 10.8
Hrm, autoconf was not re-run, does `make` do it? drbrain (Eric Hodel)
12:15 AM Bug #6816: Can't compile ruby 2.0.0dev on Mac OS X 10.8
As in r36597 the default is still gcc.
./configure
checking build system type... x86_64-apple-darwin12.0.0
chec...
hg (HG Hoehne)
11:45 AM Feature #6824: StopIteration gets a source method
=begin
You should use (({assert_same})) instead of (({assert_equal})), I think.
=end
nobu (Nobuyoshi Nakada)
10:27 AM Revision 2d3d8415 (git): * insns.def (invokesuper): don't skip the same class. instead, use
rb_method_entry_get_with_omod() to avoid infinite loop when
super is used with refinements. [ruby-core:30450] [Bug ...
shugo (Shugo Maeda)
10:21 AM Revision bea3f0df (git): configure.in: use default compilers for non-darwin
* configure.in: use clang prior to gcc only when self-compiling on
darwin. search default compilers on other platf...
nobu (Nobuyoshi Nakada)
08:27 AM Revision a713b376 (git): * configure.in: move RUBY_MINGW32 after AC_PROG_CC.
RUBY_MINGW32 uses AC_TRY_CPP and it sets CC and CPP. [Bug #6816]
* configure.in: don't use AC_PROG_CC in AS_CASE.
g...
naruse (Yui NARUSE)
08:23 AM Revision 7ed6c4ee (git): un.rb: reduce duplication
* lib/un.rb (httpd): reduce duplicated code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36609 b2dd03c8-39d4-...
nobu (Nobuyoshi Nakada)
08:22 AM Revision a580c01d (git): un.rb: DocumentRoot
* lib/un.rb (httpd): document root is mandatory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36608 b2dd03c8-3...
nobu (Nobuyoshi Nakada)
08:21 AM Revision 5b657b5d (git): runner.rb: no installed gems
* test/runner.rb: get rid of loading previously installed gems.
[ruby-dev:46025]
git-svn-id: svn+ssh://ci.ruby-la...
nobu (Nobuyoshi Nakada)
07:46 AM Revision b2acc2d5 (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
07:41 AM Revision bb9fface (git): * .travis.yml (notifications): [experimental] IRC notificatoins.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
07:25 AM Revision e07bdafb (git): Revert "* configure.in: move RUBY_MINGW32 after AC_PROG_CC."
This reverts commit r36603.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36604 b2dd03c8-39d4-4d8f-98ff-823fe69b...
naruse (Yui NARUSE)
06:31 AM Bug #6825 (Open): forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
drbrain (Eric Hodel)
05:48 AM Bug #6825: forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
Switching `require 'active_record'` with `require 'mysql2'` still crashes the interpreter as long as required file is... xentronium (Mark A)
05:45 AM Bug #6825: forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
> I can't reproduce on OS X 10.8 ruby 2.0.0dev (2012-08-03 trunk 36602) [x86_64-darwin12.0.0]
That seems right, 10.8...
xentronium (Mark A)
05:36 AM Bug #6825: forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
=begin
I can't reproduce on OS X 10.8 ruby 2.0.0dev (2012-08-03 trunk 36602) [x86_64-darwin12.0.0]
I modified you...
drbrain (Eric Hodel)
05:23 AM Bug #6825: forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
Another update: I opened up a file `active_record.rb` inside installed activerecord gem and completely commented it o... xentronium (Mark A)
05:09 AM Bug #6825: forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
Oh, it also reproduced on ruby 2.0.0.dev from current git, so I guess it is still not fixed. xentronium (Mark A)
05:08 AM Bug #6825: forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
Update: I greatly simplified my test-case.
https://gist.github.com/47e48301aea114e7b1d3
If I remove sleeping th...
xentronium (Mark A)
03:22 AM Bug #6825 (Feedback): forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
drbrain (Eric Hodel)
02:07 AM Bug #6825: forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
After some more fiddling it looks like it's mysql2 problem, not ruby's. Will duplicate issue there. xentronium (Mark A)
06:21 AM Revision 77ef86fe (git): * configure.in: move RUBY_MINGW32 after AC_PROG_CC.
RUBY_MINGW32 uses AC_TRY_CPP and it sets CC and CPP. [Bug #6816]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3...
naruse (Yui NARUSE)
05:10 AM Feature #6808 (Feedback): Implicit index for enumerations
See rb_define_virtual_variable() and vm_svar_get()
drbrain (Eric Hodel)
03:48 AM Feature #6808: Implicit index for enumerations
> $~ and friends behave this way (thread and method local).
Hmmm... In that case, maybe it is worth trying, to see w...
trans (Thomas Sawyer)
03:15 AM Feature #6808 (Closed): Implicit index for enumerations
trans (Thomas Sawyer) wrote:
> > No matter which method is faster, what happens to this code:
> > ...
> > Does ind...
drbrain (Eric Hodel)
 

Also available in: Atom