Project

General

Profile

Activity

From 03/05/2013 to 03/11/2013

03/11/2013

10:21 PM Feature #8050: struct stat to VALUE should be accessable from the C-API
Can we also have a way to create a Dir object from a DIR pointer? Something like rb_dir_new(DIR *dir). andrenth (Andre Nathan)
02:18 PM Feature #8050: struct stat to VALUE should be accessable from the C-API
vote for ruby/io.h. nobu (Nobuyoshi Nakada)
12:31 PM Feature #8050 (Assigned): struct stat to VALUE should be accessable from the C-API
This patch seems to implement the feature. drbrain (Eric Hodel)
09:29 PM Revision 10c5d6ee (git): * lib/rubygems/commands/setup_command.rb: Don't delete non-rubygems
files when installing RubyGems.
* test/rubygems/test_gem_commands_setup_command.rb: Test for the
above.
* lib/rubygems/ext/ext_conf_builder.rb: Use full path to siteconf.rb
in case the extconf.rb changes directories (like memcache...
drbrain (Eric Hodel)
07:53 PM Feature #8075: Add socket interface class to list interfaces
2013/3/11 drbrain (Eric Hodel) <drbrain@segment7.net>:

> Feature #8075: Add socket interface class to list interfaces
> https://bugs.ruby-lang.org/issues/8075

> For IPv6 multicast an interface may be set to indicate which in...
akr (Akira Tanaka)
12:20 PM Feature #8075 (Closed): Add socket interface class to list interfaces
For IPv6 multicast an interface may be set to indicate which interface IPv6 packets should be sent on.
The attached patch allows interfaces to be looked up by name (or index) for use in setting this socket option.
drbrain (Eric Hodel)
05:27 PM Revision 21c1e2da (git): * 2013-03-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:27 PM Revision f2a13e60 (git): * lib/net/smtp.rb: Added Net::SMTP#rset method to implement the SMTP
RSET command. [ruby-trunk - Feature #5373]
* NEWS: ditto.
* test/net/smtp/test_smtp.rb: Test for the above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
05:07 PM Bug #8066: Inconsistency in ancestors chain
Isn't it just a conseqency of the fact that module can't be included twice and because of that including a module in parent class prevents including module into a child class.
This behavior disallows for example creating decorators by p...
prijutme4ty (Ilya Vorontsov)
02:08 AM Bug #8066: Inconsistency in ancestors chain
This is the behaviour I would expect in all versions of Ruby. The ancestor chain is set at the time that a class is created, and is updated at the time that a module is included in that class. What does not happen is that the chain for... Student (Nathan Zook)
03:57 PM Revision 91e37180 (git): merge revision(s) 39688: [Backport #8065]
* test/thread/test_queue.rb (TestQueue#test_thr_kill): reduce
iterations from 2000 to 250. When running on uniprocessor
systems, every th.kill needs TIME_QUANTUM_USEC time (i.e.
100msec on posix systems). Be...
nagachika (Tomoyuki Chikanaga)
03:54 PM Revision 6901ebcb (git): merge revision(s) 39679,39682,39683,39685,39686,39694: [Backport #7999]
* thread_pthread.c (set_nonblock): new helper function for set
O_NONBLOCK.
* thread_pthread.c (rb_thread_create_timer_thread): set O_NONBLOCK
to timer_thread_pipe[0] too.
* thread_pthread.c (consume_...
nagachika (Tomoyuki Chikanaga)
03:51 PM Revision c98f39af (git): merge revision(s) 39680,39681: [Backport #8063]
* thread_pthread.c (USE_SLEEPY_TIMER_THREAD): use more accurate
ifdef condtions.
* thread_pthread.c (timer_thread_sleep): use poll() instead of
select(). select doesn't work if timer_thread_pipe[0] is
...
nagachika (Tomoyuki Chikanaga)
01:47 PM Revision b1f2effd (git): * lib/resolv-replace.rb (TCPSocket#initialize): resolve the 3rd
argument only if non-nil value is given.
[ruby-dev:47150] [ruby-trunk - Bug #8054] reported and analyzed by
mrkn.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:43 PM Bug #8039: DRB/dRuby server throws an exception when probed on its port
This patch fixes the bug. drbrain (Eric Hodel)
12:34 PM Feature #8015 (Assigned): [patch] tuneable HEAP_GROWTH_FACTOR
drbrain (Eric Hodel)
12:12 PM Revision 79ea4d62 (git): * test/mkmf/test_config.rb (TestMkmf): fix superclass mismatch.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:53 AM Bug #8074 (Closed): Call init_mkmf for main
This issue was solved with changeset r39717.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
mkmf.rb: defer use of instance variable
* lib/mkmf.rb (Make...
nobu (Nobuyoshi Nakada)
11:43 AM Bug #8074 (Closed): Call init_mkmf for main
=begin
((<URL:https://github.com/ruby/ruby/pull/257>))
When (({MakeMakefile})) is extended on itself there is a call to (({init_mkmf})).
This method mainly setups various global variables, but it also sets ((|@libdir_basename|)) to ...
nobu (Nobuyoshi Nakada)
11:23 AM Feature #8042: Add Addrinfo#socket to create a socket that is not connected or bound
2013/3/11 drbrain (Eric Hodel) <drbrain@segment7.net>:
>
> How about unbound_socket?

I like unbound_socket.

> Perhaps #connect_to or #bind could take a block that would yield the socket for setsockopt before bind/connect?
...
akr (Akira Tanaka)
10:32 AM Feature #8042: Add Addrinfo#socket to create a socket that is not connected or bound
How about unbound_socket?
I would like to use a feature like this one in rinda/ring.rb for multicast support since options need to be set before connect/bind (see #8073)
Perhaps #connect_to or #bind could take a block that would yi...
drbrain (Eric Hodel)
10:53 AM Feature #7701: Non-optional (required) keyword args
(2013/03/09 17:12), headius (Charles Nutter) wrote:
> There's also probably no code out there that relies on the behavior ko1 pointed out. I think it's safe.

It is *my preference*, I don't like empty value (foo:).
But no idea w...
ko1 (Koichi Sasada)
10:21 AM Feature #7701: Non-optional (required) keyword args
Method#parameter should return a different symbol for those, say :keyreq.
For arity, I opened #8072 regarding what I believe is a problem with the current behavior.
I would expect the arity of the following two methods to be equiva...
marcandre (Marc-Andre Lafortune)
10:53 AM Feature #7895: Exception#backtrace_locations to go with Thread#backtrace_locations and Kernel#caller_locations
(2013/03/09 17:08), headius (Charles Nutter) wrote:
> What's next here? I'm about to implement caller_locations in JRuby, so I'm close to being able to prototype this feature request too.

Now, only two attendees (you and I).
I ...
ko1 (Koichi Sasada)
10:28 AM Feature #6693: Don't warn for unused variables starting with _
Since 2.0.0p0 has been released with this feature (which I still believe to be good), should we close this? marcandre (Marc-Andre Lafortune)
10:25 AM Feature #8073 (Closed): Add multicast support to Rinda::Ring*
This patch adds multicast support to Rinda::Ring.
If the addresses list for Rinda::RingServer or Rinda::RingFinger contain a multicast address then a multicast socket will automatically be created and used.
Rinda::RingServer#initia...
drbrain (Eric Hodel)
10:23 AM Revision 2f20defa (git): * test/mkmf/base.rb: class name conflict.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
09:47 AM Revision 5f257cf4 (git): * enumerator.c (enumerator_with_index): try to convert given offset to
integer. fix bug introduced in r39594.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
08:29 AM Revision 7590de68 (git): * test/ruby/envutil.rb (EnvUtil.with_default_external): add for
changing Encoding.default_external without warnings.
* test/ruby/envutil.rb (EnvUtil.with_default_internal): ditto.
* test/ruby/test_io_m17n.rb: use above with_default_external.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39721 ...
naruse (Yui NARUSE)
08:02 AM Revision 756cd285 (git): * io.c (extract_binmode): raise error even if binmode and textmode
don't conflict. [Bug #5918] [ruby-core:42199]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
06:01 AM Bug #8034: File.expand_path('something', '~') do not include home path
Luis, thank you for your work.
`xfree(wpath);` would be needed before rb_raise(rb_eArgError, "can't find user %s"...
Indeed refactoring is better if possible.
h.shirosaki (Hiroshi Shirosaki)
04:41 AM Bug #8034: File.expand_path('something', '~') do not include home path
Following patch solves the issue:
https://gist.github.com/luislavena/5130078
However there is lot of duplication between wpath and wdir checks, which is crying for a refactoring.
Shirosaki-san, what do you think?
luislavena (Luis Lavena)
01:10 AM Bug #8034 (Assigned): File.expand_path('something', '~') do not include home path
=begin
Nobu,
I'll add test for (({File.expand_path('something', '~whoever')})) and add support for it in ((|dir_string|)).
=end
luislavena (Luis Lavena)
01:02 AM Bug #8034: File.expand_path('something', '~') do not include home path
=begin
nobu (Nobuyoshi Nakada) wrote:
> =begin
> ...
There is no test for that, I didn't see a test that verifies that behavior so I didn't add code for it.
Also, (({~user})) doesn't work as you expect on Windows.
=end
=end
luislavena (Luis Lavena)
12:33 AM Bug #8034: File.expand_path('something', '~') do not include home path
=begin
Why is (({File.expand_path('something', '~whoever')})) ignored?
=end
nobu (Nobuyoshi Nakada)
05:25 AM Revision a82d24aa (git): gen_dummy_probes.rb
* tool/gen_dummy_probes.rb: remove empty lines and compact.
* tool/gen_dummy_probes.rb: allow arbitrary number of arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:46 AM Revision 407bcb4b (git): * Merge Onigmo d4bad41e16e3eccd97ccce6f1f96712e557c4518.
fix lookbehind assertion fails with /m mode enabled. [Bug #8023]
fix \Z matches where it shouldn't. [Bug #8001]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
02:53 AM Revision 76d8cc33 (git): mkmf.rb: defer use of instance variable
* lib/mkmf.rb (MakeMakefile#dir_config, MakeMakefile#_libdir_basename):
defer use of instance variable until needed. [Bug #8074]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:50 AM Revision c0035ed3 (git): test_file_exhaustive.rb: others home
* test/ruby/test_file_exhaustive.rb (test_expand_path_home_dir_string):
add assertions for other user's home directory path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:29 AM Revision 3176b04d (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

03/10/2013

11:45 PM Bug #8034: File.expand_path('something', '~') do not include home path
Hello,
This has been fixed in trunk and backports for both 2.0.0 and 1.9.3 have been requested.
Thank you for your report.
luislavena (Luis Lavena)
11:39 PM Bug #8034 (Closed): File.expand_path('something', '~') do not include home path
This issue was solved with changeset r39697.
Pavel, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Expand home directory when used in dir_string
* win32/file.c (r...
luislavena (Luis Lavena)
11:03 PM Revision f407b141 (git): ChangeLog reformatting and append ticket number.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
11:01 PM Revision 1c47bd88 (git): * lib/thread.rb (Queue#push): return self.
* lib/thread.rb (Queue#clear): ditto.
* lib/thread.rb (SizedQueue#push): ditto.
* test/thread/test_queue.rb: add tests for the above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
11:01 PM Revision 0b1ff939 (git): * tool/change_maker.rb (#diff2index): check Encoding::BINARY.
BASERUBY may still be 1.8.x.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
10:36 PM Feature #8062: Argument error stack trace to specify the 'called' method
(sorry I just realized my CTRL+C bug sometimes)
ruby -v: ruby 1.9.3p327 (2012-11-10 revision 37606) [i686-linux]
randoum (Benj Benj)
11:11 AM Feature #8062 (Feedback): Argument error stack trace to specify the 'called' method
**Note**
Feature request about the stack trace generated by Ruby, the step by step bellow is using Rails, but if I'm not wrong this is Ruby related.
**Request**
When an ArgumentError exception is raised, the stack trace should displ...
randoum (Benj Benj)
09:10 PM Bug #8067 (Closed): Checking a network connection in a loop never succeeds even if the connection is available.
=begin
I want to check for a connection to a specific server with Ruby. So I just wrap the HTTP request into a begin/rescue construct and try again in a few seconds if the connection is not available.
((*Problem*)): If I start the pr...
l0x (Markus Lux)
08:33 PM Bug #8066 (Rejected): Inconsistency in ancestors chain
Method including have some inconsistencies. Let's define module and include(or prepend) and then include it in classes in different order.
module M; end
Class.send :include, M
Module.send :include, M
Class.ancestors
# => [Class, M...
prijutme4ty (Ilya Vorontsov)
08:14 PM Bug #8006: Dir.glob behaves differently on 1.9.3 and 2.0
=begin
For your information, I have fixed this problem in my code, see the ((<commit on Github|URL:https://github.com/gettalong/webgen/commit/8c49da9143569c8b68d6172199e12a9b8274e5bd>)).
Would be good, though, to know whether this i...
gettalong (Thomas Leitner)
08:02 PM Revision 11125bf4 (git): git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
headius (Charles Nutter)
06:23 PM Revision cbd15bdb (git): * NEWS (Mutex#owned?): no longer experimental.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
05:16 PM Feature #7701: Non-optional (required) keyword args
What should Method#arity and Method#parameter return?
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
05:14 PM Feature #8061: 重複するキーワードをエラーにする
キーワード引数の実体はハッシュなので、
{ a: 1, a: 2 } #=> { :a => 2 }
がエラーでない以上、これもエラーにならない方が仕様として単純で好きですが、
明らかにミスっぽいケースを検出してあげるのもありですかね。
m(:a => 8, eval(":a") => 9)
h = { a: 8 }; m(**h, a: 9)
などはどうするかと合わせて、matz に。
--
Yusuke Endoh ...
mame (Yusuke Endoh)
09:53 AM Feature #8061 (Assigned): 重複するキーワードをエラーにする
重複するキーワードをエラーにする。
def m(a:1, b:2)
p [a, b]
end
m(a:8, a:9)
tadf (tadayoshi funaba)
04:16 PM Revision 735f7a51 (git): merge revision(s) 39506,39514: [Backport #7959]
* configure.in (unexpand_shvar): get rid of non-portable shell
behavior on OpenBSD, so no extra quotes. [Bug #7959]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
04:13 PM Revision 7449059c (git): merge revision(s) 39504: [Backport #7942]
* parse.y (IS_LABEL_POSSIBLE): allow labels for keyword arguments just
after method definition without a parenthesis. [ruby-core:52820]
[Bug #7942]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39...
nagachika (Tomoyuki Chikanaga)
04:11 PM Revision 2994c621 (git): merge revision(s) 39501,39502:
* error.c: clarify a document of SignalException. Process.kill()
doesn't have any guarantee when signal will be delivered.
[Bug #7951] [ruby-core:52864]
* error.c: clarify reason for sleep in SignalException ...
nagachika (Tomoyuki Chikanaga)
04:05 PM Revision d2b2159f (git): merge revision(s) 39495: [Backport #7954]
* string.c (str_byte_substr): don't set coderange if it's not known.
[Bug #7954] [ruby-dev:47108]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
04:01 PM Revision 300b401c (git): merge revision(s) 39492: [Backport #6807]
* common.mk (realclean-local): miniprelude.c is made by srcs, so it
should not removed by distclean but by realclean. [Bug #6807]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39705 b2dd03c8-39d4-4d8f-98ff-...
nagachika (Tomoyuki Chikanaga)
03:54 PM Revision ab4dba0d (git): merge revision(s) 39489,39490: [Backport #7950]
* enc/depend (ARFLAGS): VisualC++ linker does not allow spaces between
output option and the output file name. [Bug #7950]
* enc/depend (RANLIB): set default command to do nothing, or make the
entire line a ...
nagachika (Tomoyuki Chikanaga)
03:50 PM Revision f612f51c (git): merge revision(s) 39484,39485: [Backport #7952]
* thread.c: Document Thread::new, clean up ::fork and mention calling
super if subclassing Thread
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
03:48 PM Revision cb0c0513 (git): merge revision(s) 39481: [Backport #7941]
* configure.in (unexpand_shvar): Use the numeric comparison
operator instead of '==' which is a ksh extention. [Bug #7941]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39702 b2dd03c8-39d4-4d8f-98ff-823fe69b...
nagachika (Tomoyuki Chikanaga)
03:26 PM Revision 2aabb9ae (git): * test/ruby/test_file_exhaustive.rb (test_expand_path_home_dir_string):
enable generic test on all platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:11 PM Revision 4fdb1fbd (git): * ChangeLog: fix a typo in r39680.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
03:08 PM Revision 7d7481d5 (git): * 2013-03-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:08 PM Revision 92dce6fb (git): * ChangeLog: remove duplicated entry in r39696.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
02:39 PM Revision ee90455a (git): Expand home directory when used in dir_string
* win32/file.c (rb_file_expand_path_internal): Expand home directory when
used as second parameter (dir_string). [ruby-core:53168] [Bug #8034]
* test/ruby/test_file_exhaustive.rb: add test to verify.
git-svn-id: svn+ssh://ci.ruby-la...
luislavena (Luis Lavena)
02:27 PM Revision 4cbb8ea8 (git): ext_conf_builder.rb: use intermediate destdir always
* lib/rubygems/ext/ext_conf_builder.rb (Gem::Ext::ExtConfBuilder.build):
it is impossible to predict which file will be installed to where,
by the arguments, so use intermediate destination directory always.
[Bug #7698]
git-svn-id...
nobu (Nobuyoshi Nakada)
09:41 AM Bug #8060 (Closed): Dir.new に意味のないキーワード引数を与えてもエラーにならない
Dir.new に意味のないキーワード引数を与えてもエラーにならない。
$ ruby -v -e 'p Dir.new(".", yencoding: "a")'
ruby 2.1.0dev (2013-03-09 trunk 39650) [i686-linux]
#<Dir:.>
tadf (tadayoshi funaba)
08:39 AM Bug #8059 (Closed): Unrelated block value returned by String#match(regex) when regex is returned by a method that uses define_method and super
This started as a stackoverflow question:
http://stackoverflow.com/questions/15283425/in-rspec-using-let-to-assign-a-regex-creates-unexpected-pass-fail-behavior-bu/15284031
...then became an rspec-core issue:
https://github.com/...
myronmarston (Myron Marston)
08:01 AM Revision 9a4f0375 (git): * complex.c: edited rdoc.
* rational.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Tadayoshi Funaba
06:04 AM Revision de6d82f9 (git): * process.c (setup_communication_pipe): remove unused function.
it was unintentionally added r39683.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
05:14 AM Revision 73c480a9 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:12 AM Revision d71a8880 (git): * tool/gen_ruby_tapset.rb: add tapset generator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
05:11 AM Revision c38469f4 (git): * probes.d (symbol-create): change argument name `string' to
`str'. `string' is a keyword for systemtap.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
05:07 AM Revision c6c0d09a (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:06 AM Revision 117b51a3 (git): * probes.d: added argument name
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
04:00 AM Revision 19e0d7c1 (git): * test/thread/test_queue.rb (TestQueue#test_thr_kill): reduce
iterations from 2000 to 250. When running on uniprocessor
systems, every th.kill needs TIME_QUANTUM_USEC time (i.e.
100msec on posix systems). Because, "r.read 1" is 3 steps
operations that 1) release GVL 2) read 3) acquire gvl and...
kosaki (Motohiro KOSAKI)
04:00 AM Revision 235546ba (git): * io.c (rb_update_max_fd): use ATOMIC_CAS because this function
is used from timer thread too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
04:00 AM Revision bcf12936 (git): * thread_pthread.c (ARRAY_SIZE): new.
* thread_pthread.c (gvl_acquire_common): use low priority
notification for avoiding timer thread interval confusion.
If we use timer_thread_pipe[1], every gvl_yield() request
one more gvl_yield(). It lead to thread starvation.
[B...
kosaki (Motohiro KOSAKI)
04:00 AM Revision 9c021064 (git): * thread_pthread.c (rb_thread_wakeup_timer_thread_fd): add fd
argument and remove hardcoded dependency of timer_thread_pipe[1].
* thread_pthread.c (consume_communication_pipe): add fd argument.
* thread_pthread.c (close_communication_pipe): ditto.
* thread_pthread.c (timer_thread_sleep): adjust th...
kosaki (Motohiro KOSAKI)
04:00 AM Revision 0eeb1169 (git): * thread_pthread.c (ubf_select): add to small comments why we
need to call rb_thread_wakeup_timer_thread().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
03:59 AM Revision 383a2579 (git): * thread_pthread.c (rb_thread_create_timer_thread): factor out
creating communication pipe logic into separate function.
* thread_pthread.c (setup_communication_pipe): new helper function.
* thread_pthread.c (set_nonblock): moves a definition before
setup_communication_pipe.
git-svn-id: svn+ssh:/...
kosaki (Motohiro KOSAKI)
03:59 AM Revision 368fdf9c (git): * thread_pthread.c (consume_communication_pipe): retry when
read returned CCP_READ_BUFF_SIZE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
03:59 AM Revision 27f25728 (git): * thread_pthread.c (timer_thread_sleep): use poll() instead of
select(). select doesn't work if timer_thread_pipe[0] is
greater than FD_SETSIZE.
* thread_pthread.c (USE_SLEEPY_TIMER_THREAD): add a dependency
against poll.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39681 b2dd03c8-39d4-4d8...
kosaki (Motohiro KOSAKI)
03:59 AM Revision 3887a34c (git): * thread_pthread.c (USE_SLEEPY_TIMER_THREAD): use more accurate
ifdef condtions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
03:59 AM Revision 5cebbe8f (git): * thread_pthread.c (set_nonblock): new helper function for set O_NONBLOCK.
* thread_pthread.c (rb_thread_create_timer_thread): set O_NONBLOCK
to timer_thread_pipe[0] too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
03:40 AM Bug #7968: Poor UDPSocket#send performance in ruby 2.0.0 on windows
The bind and connect can be different. The bind specifies what port you are sending from, and connect specifies the port you are sending to (the ip address can be a different box too). It runs fine for me with different ports, but you ... cs96and (Alan Davies)
12:18 AM Revision e2e374e4 (git): * 2013-03-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:18 AM Revision ec9eabc6 (git): * complex.c: described syntax of string form.
* rational.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Tadayoshi Funaba

03/09/2013

10:42 PM Bug #7995 (Assigned): RubyVM::InstructionSequence to_a not working for blocks
Backport 200 is project for backport tickets. I'll move it to ruby-trunk. nagachika (Tomoyuki Chikanaga)
10:40 PM Bug #8037 (Assigned): rdoc issues preventing docs generating after ruby was compiled
nagachika (Tomoyuki Chikanaga)
08:59 PM Feature #7795: Symbol.defined? and/or to_existing_symbol
Student (Nathan Zook) wrote:
> phluid61 (Matthew Kerwin) wrote:
> ...
Having experimented with multiple implementations ( e.g. https://gist.github.com/phluid61/5104973 ) I agree that Symbol[] does seem like a much more useful, all-enco...
phluid61 (Matthew Kerwin)
06:38 PM Bug #8056 (Closed): Random segmentation faults in Tempfile
I'm getting random segmentation faults after switch to Ruby 2.0.0
I cannot reproduce it on my local machine, but it often happens when deploying to Heroku.
This is rails app with lot of other gem dependencies, so it might be hard to ...
morgoth (Wojciech Wnętrzak)
05:54 PM Feature #7854: New method Symbol[string]
nobu (Nobuyoshi Nakada) wrote:
> Why does it have -1 arity?
> ...
To the first: an oversight on my part, there's no real reason. I have rewritten it with an arity of 1.
To the second: I can easily change it to allow a Symbol as wel...
phluid61 (Matthew Kerwin)
05:36 PM Bug #8055 (Rejected): Method with the same name as accessor causes stack level too deep error
An accessor is just a method. If you then use def to define a method with the same name, the accessor gets overwritten. You end up with a recursive method, which will blow up the stack. You can do that even quicker:
def a
a
end
...
duerst (Martin Dürst)
05:29 PM Bug #8055 (Rejected): Method with the same name as accessor causes stack level too deep error
To me this looks like a bug. It causes stack level too deep in all versions of Ruby (1.9 and 2.0 at least).
class Test
attr_accessor :uuid
def uuid
self.uuid ||=1
end
end

> Test.new.uuid
SystemSt...
firedev (Nick O)
05:21 PM Bug #8017: Got segmentation fault on attempt to install ruby 2.0.0-p0 on Mac 10.6.8 via RVM
Same issue, same clang version as chrisdb.
edit: Scratch that, got the latest command line tools, woks flawlessly.
Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin12.2.1
Thread model: posix
mkarklins (Magnuss Karklins)
01:35 AM Bug #8017: Got segmentation fault on attempt to install ruby 2.0.0-p0 on Mac 10.6.8 via RVM
nobu (Nobuyoshi Nakada) wrote:
> Immature ancient version.
I have the same issue with a newer version:
clang -v
Apple clang version 2.1 (tags/Apple/clang-163.7.1) (based on LLVM 3.0svn)
Target: x86_64-apple-darwin11.4.2
Thread ...
chrisdb (Christopher de Bruin)
05:12 PM Feature #7701: Non-optional (required) keyword args
Target version would be 2.1 now? headius (Charles Nutter)
05:12 PM Feature #7701: Non-optional (required) keyword args
There's also probably no code out there that relies on the behavior ko1 pointed out. I think it's safe. headius (Charles Nutter)
05:11 PM Bug #7282: Invalid UTF-8 from emoji allowed through silently
A couple quick tests seem to work ok in 2.0.0. If all my original cases from the report work properly (i.e. fail properly) then this one is fixed. I have not confirmed all scenarios yet. headius (Charles Nutter)
05:08 PM Feature #7895: Exception#backtrace_locations to go with Thread#backtrace_locations and Kernel#caller_locations
What's next here? I'm about to implement caller_locations in JRuby, so I'm close to being able to prototype this feature request too. headius (Charles Nutter)
03:02 PM Revision 0d946b21 (git): merge revision(s) 39475: [Backport #7868]
* ext/date/date_core.c: [ruby-core:52303]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
02:57 PM Revision 0c2b3f7f (git): merge revision(s) 39466,39470: [Backport #7935]
* random.c (rb_random_ulong_limited): limit is inclusive, but generic
rand method should return a number less than it, so increase for the
difference. [ruby-core:52779] [Bug #7935]
* test/ruby/test_array.rb ...
nagachika (Tomoyuki Chikanaga)
02:52 PM Revision 8767705e (git): merge revision(s) 39376: [Backport #7903]
* random.c (rb_random_ulong_limited): fix error message for negative
value. [ruby-dev:47061] [Bug #7903]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
02:41 PM Revision b78c7fa1 (git): merge revision(s) 39461:
* thread.c: Document ThreadGroup::Default
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
02:36 PM Revision 8c7d4383 (git): merge revision(s) 39451: [Backport #7925]
* vm_insnhelper.c (vm_call_method): block level control frame does not
have method entry, so obtain the method entry from method top-level
control frame to be compared with refined method entry.
[ruby-core:5...
nagachika (Tomoyuki Chikanaga)
02:15 PM Revision 01815ec0 (git): merge revision(s) 39445,39447:
* signal.c (sigsegv): suppress unused result warning. Because
write(2) is marked __warn_unused_result__ on Linux glibc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
02:11 PM Revision 530ce295 (git): merge revision(s) 39444,39446: [Backport #7922]
* compile.c (iseq_set_arguments): no keyword check if any keyword rest
argument exists, even unnamed. [ruby-core:52744] [Bug #7922]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39670 b2dd03c8-39d4-4d8f-98f...
nagachika (Tomoyuki Chikanaga)
02:03 PM Bug #7805: ruby 2.0rc2 core on solaris
kosaki (Motohiro KOSAKI) wrote:
> How about to add a pragma of optimization off?
> ...
No.
John
groenveld@acm.org
groenveld@acm.org (John Groenveld)
02:02 PM Revision 6ba39948 (git): merge revision(s) 39431:
test_backtrace.rb: test Thread#backtrace_locations with range
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
01:55 PM Revision b9c27b5f (git): merge revision(s) 39425:
merger.rb: runnable
* tool/merger.rb: make runnable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
01:54 PM Revision d64bddf2 (git): merge revision(s) 39424:
merger.rb: suppress warnings
* tool/merger.rb (version_up, tag, default_merge_branch): suppress
syntax warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
01:52 PM Revision 9fcf2f8f (git): merge revision(s) 39418:
* array.c: Document #<=> return values and formatting
* bignum.c: ditto
* file.c: ditto
* object.c: ditto
* numeric.c: ditto
* rational.c: ditto
* string.c: ditto
* time.c: d...
nagachika (Tomoyuki Chikanaga)
01:49 PM Revision fa4e355e (git): merge revision(s) 39417: [Backport #7904]
test_process.rb: fix test
* test/ruby/test_process.rb (assert_fail_too_long_path): get rid of
syntax error on sh, increase command line size until it exceeds the
limit. [Bug #7904]
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
nagachika (Tomoyuki Chikanaga)
01:45 PM Revision 79b2fb05 (git): merge revision(s) 39415:
* array.c (rb_ary_diff, rb_ary_and, rb_ary_or): Document return order
[RubySpec #7803]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
01:43 PM Revision d9193294 (git): merge revision(s) 39414:
* object.c (rb_obj_comp): Documenting Object#<=> return values
Patch by Stefan Rusterholz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
01:35 PM Revision cda3c63c (git): merge revision(s) 39413: [Backport #7911]
* dir.c (file_s_fnmatch, fnmatch_brace): encoding-incompatible pattern
and string do not match, instead of exception. [ruby-dev:47069]
[Bug #7911]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@396...
nagachika (Tomoyuki Chikanaga)
01:19 PM Revision 5a5df65d (git): merge revision(s) 39372,39383: [Backport #7912]
* test/test_rbconfig.rb (TestRbConfig): skip user defined values by
configuration options. [Bug #7902]
* test/test_rbconfig.rb (TestRbConfig): fix r39372.
It must see RbConfig::CONFIG instead of CONFIG.
gi...
nagachika (Tomoyuki Chikanaga)
01:11 PM Feature #7998: "def" should return a value (the symbol of the method name) instead of nil
This is a nice addition indeed and I remember I asked for it too in the
past. One usage could be method annotation like what is done in some
command line library:
desc 'Do something'
def do_something
...
end
The above code l...
gcao (Guoliang Cao)
01:08 PM Revision c6a99bc5 (git): merge revision(s) 39388:
* lib/rexml/document.rb (REXML::Document.entity_expansion_text_limit):
fix a typo in comment in r39384.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
01:02 PM Revision 2cec010e (git): merge revision(s) 39375:
test_process.rb: fix parameters
* test/ruby/test_process.rb (test_{,a}spawn_too_long_path): fix
missing parameters in r38934.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39659 b2dd03c8-39d4-4d8f-98ff-823fe...
nagachika (Tomoyuki Chikanaga)
12:53 PM Revision 7737f3ec (git): merge revision(s) 39369:
* numeric.c: Examples and formatting for Numeric and Float
Based on a patch by Zach Morek and Oren K of newhaven.rb
[Github documenting-ruby/ruby#5]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39...
nagachika (Tomoyuki Chikanaga)
12:47 PM Revision 10fb5c3a (git): merge revision(s) 39365:
* doc/globals.rdoc: Document what setting $DEBUG does.
* doc/globals.rdoc: Added pointer to $-d for full documentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
12:45 PM Revision 813615b7 (git): merge revision(s) 39364:
* doc/globals.rdoc: Document what setting $VERBOSE does. [Bug #7899]
* doc/globals.rdoc: Added pointer to $-w and $-v for full
documentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39656 b...
nagachika (Tomoyuki Chikanaga)
12:39 PM Revision e2e5d3fd (git): merge revision(s) 39359:
Add test for [Backport #7896] [ruby-core:52607]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
12:33 PM Revision 9913bbba (git): merge revision(s) 39354,39356,39382: [Backport #5014]
* signal.c (sigsegv): avoid to use async signal unsafe functions
when nested sigsegv is happen.
[Bug #5014] [ruby-dev:44082]
* signal.c (check_stack_overflow): extract duplicated code and get rid
of...
nagachika (Tomoyuki Chikanaga)
12:26 PM Revision 54281916 (git): merge revision(s) 39353: [Backport #8057]
* file.c (rb_group_member): added an error check. SUS says,
getgroups(small_value) may return EINVAL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
12:24 PM Revision efbc2d7f (git): merge revision(s) 39352,39360:
* file.c (RB_MAX_GROUPS): moved to
* internal.h (RB_MAX_GROUPS): here.
* file.c (rb_group_member): use RB_MAX_GROUPS instead of
RUBY_GROUP_MAX. They are the same.
* process.c (RB_MAX_GROUPS): moved to...
nagachika (Tomoyuki Chikanaga)
12:16 PM Revision 286a00f4 (git): merge revision(s) 39351:
* file.c (access_internal): removed.
* file.c (rb_file_readable_real): use access() instead of
access_internal().
* file.c (rb_file_writable_real): ditto.
* file.c (rb_file_executable_real): ditto.
...
nagachika (Tomoyuki Chikanaga)
08:12 AM Bug #8039 (Assigned): DRB/dRuby server throws an exception when probed on its port
drbrain (Eric Hodel)
07:38 AM Feature #8053 (Rejected): Make coercion if #=== operator doesn't know what to do
Related to http://bugs.ruby-lang.org/issues/7604
It'd be fine if === will do coerce when it doesn't know what to do. In ticket above I gave use-case for case-statement which needs that any ruby object could be coerced to a "pattern".
F...
prijutme4ty (Ilya Vorontsov)
06:48 AM Feature #7836: Need a way to get Method and UnboundMethod objects to methods overridden by prepended modules
Also it should be mentioned that there is no way to get Method for super call. So one cannot know, for example, number of argments of method down the ancestry chain. For prepending methods there is a workaround - to save link on prepend_... prijutme4ty (Ilya Vorontsov)
06:41 AM Feature #7604: Make === comparison operator ability to delegate comparison to an argument
boris_stitnicky (Boris Stitnicky) wrote:
> Let me know when you make the first commit.
I released proof-of-concept gem. https://github.com/prijutme4ty/flex_coerce It makes no changes in behavior of base classes, you need to patch onl...
prijutme4ty (Ilya Vorontsov)
05:37 AM Bug #8052: "prepend Mod1, Mod2" behaves strangely
My bad :-D
I was so excited that I found a bug in Ruby... just kidding.
gcao (Guoliang Cao)
05:30 AM Bug #8052 (Rejected): "prepend Mod1, Mod2" behaves strangely
Your test has a bug. The last puts should use `AA.ancestors`.
You would see that `prepend B, C` is equivalent to `prepend C; prepend B` (as per the documentation).
marcandre (Marc-Andre Lafortune)
04:40 AM Bug #8052 (Rejected): "prepend Mod1, Mod2" behaves strangely
I did some quick experiment with prepend and noticed a strange behavior.
"prepend B; prepend C" and "prepend B, C" produce same ancestors. However, their behaviors are different.
IMHO, "prepend B, C" should just insert B and C int...
gcao (Guoliang Cao)
03:05 AM Bug #8006: Dir.glob behaves differently on 1.9.3 and 2.0
Hi,
r36903 seems related with this issue.
I'm not sure it is intentional change or not.
nakada san, what do you think?
nagachika (Tomoyuki Chikanaga)
02:58 AM Revision b3265c0e (git): marshal.c: check for prepended
* marshal.c (w_extended): check for prepended object.
[ruby-core:53206] [Bug #8043]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:01 AM Revision b0c40fca (git): * io.c: Fix rdoc typo [Github fixes #256]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
12:26 AM Bug #8041 (Closed): Marshal incompatibility with prepend
This issue was solved with changeset r39642.
Marc-Andre, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
marshal.c: prepended objects
* marshal.c (r_object0): load...
nobu (Nobuyoshi Nakada)
12:17 AM Revision 0230ff70 (git): configure.in: note to remove a hack
* configure.in (rm): note to remove this hack when AC_PREREQ(2.70) or
later.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:05 AM Revision 198a2eac (git): fix commit miss
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:03 AM Revision 6c4ab3f4 (git): load.c: hide internal objects
* load.c (rb_construct_expanded_load_path, Init_load): hide internal
objects, expanded_load_path, {load_path,loaded_features}_snapshot,
and loaded_features_index in the VM, and ruby_dln_librefs.
git-svn-id: svn+ssh://ci.ruby-lang.or...
nobu (Nobuyoshi Nakada)

03/08/2013

11:54 PM Revision 1b714330 (git): load.c: move loop invariant condition
* load.c (rb_feature_p): move this_feature_index condition which is
loop invariant.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:37 PM Revision 8237581a (git): load.c: reduce indexes arrays
* load.c (features_index_add_single, rb_feature_p): store single index
as Fixnum to reduce the number of arrays for the indexes. based on
the patch by tmm1 (Aman Gupta) in [ruby-core:53216] [Bug #8048].
git-svn-id: svn+ssh://ci.rub...
nobu (Nobuyoshi Nakada)
11:24 PM Bug #8000: "require 'tk'" segfaults on 64-bit linux with Tk 8.6
> First of all, current Ruby/Tk cannot support Tcl/Tk8.6. Please see [ruby-talk:395829].
> ...
Nagai-san: thanks for the info. FYI, while it's not really relevant to Ed's Arch issue, I'm running Tcl/Tk8.6 on Win7 32bit on `ruby 1.9.3p39...
jonforums (Jon Forums)
05:55 PM Bug #8000: "require 'tk'" segfaults on 64-bit linux with Tk 8.6
Now that I've tried a few more ruby/tk scripts, I see that only a limited subset of tk works on 32-bit under Tk8.6. But in case it's still useful, I've attached a backtrace from gdb using ruby1.9.3p392/tcl8.6/tk8.6 with debug info on 64-... edmccard (Ed McCardell)
04:25 PM Bug #8000: "require 'tk'" segfaults on 64-bit linux with Tk 8.6
Jon: I've just posted to Newbie Corner on the Arch forums. The only other place on the internet that I've seen this is in the forums for the Coursera Programming languages class I'm taking, where several other users have reported it. I'l... edmccard (Ed McCardell)
02:08 PM Bug #8000: "require 'tk'" segfaults on 64-bit linux with Tk 8.6
First of all, current Ruby/Tk cannot support Tcl/Tk8.6. Please see [ruby-talk:395829].
But, I don't know whether this trouble belongs to the "tailcall" problem or not.
Does the same trouble occur with Tcl/Tk8.5 ? If so, tcltklib may no...
nagai (Hidetoshi Nagai)
07:45 AM Bug #8000: "require 'tk'" segfaults on 64-bit linux with Tk 8.6
One of the committers please assign this to Hidetoshi NAGAI.
Too bad tcltklib.so is stripped and the bt is weak. I bet no one on ruby-core has an Arch x64 system to try to repro/debug the issue, so we need to get better debug info. (O...
jonforums (Jon Forums)
10:45 PM Bug #8017 (Rejected): Got segmentation fault on attempt to install ruby 2.0.0-p0 on Mac 10.6.8 via RVM
Immature ancient version. nobu (Nobuyoshi Nakada)
10:21 PM Bug #8017: Got segmentation fault on attempt to install ruby 2.0.0-p0 on Mac 10.6.8 via RVM
experiencing the same issue.
clang -v
Apple clang version 1.7 (tags/Apple/clang-77) (based on LLVM 2.9svn)
Target: x86_64-apple-darwin10
Thread model: posix
defsprite (Christoph Sassenberg)
09:25 PM Feature #8015: [patch] tuneable HEAP_GROWTH_FACTOR
I agree this patch. I'll merge it few days later, if there are no objections.
Thank you!
authorNari (Narihiro Nakamura)
04:01 PM Feature #8015: [patch] tuneable HEAP_GROWTH_FACTOR
Are there any objections to this patch? tmm1 (Aman Karmani)
09:22 PM Feature #8050: struct stat to VALUE should be accessable from the C-API
:+1: nobu (Nobuyoshi Nakada)
05:30 PM Feature #8050 (Closed): struct stat to VALUE should be accessable from the C-API
filc.c has methods to turn an struct stat into an File::Stat, the problem is that this methods are not accessable from the outside, and cant me mimiced my coping into the c-Ext code.
so it would be good if there where a VALUE rb_stat_...
Hanmac (Hans Mackowiak)
09:19 PM Feature #8046: allow Object#extend to take a block
Without a module, it'd not be #extend but #singleton_class_eval. nobu (Nobuyoshi Nakada)
04:27 PM Feature #8046: allow Object#extend to take a block
david_macmahon (David MacMahon) wrote:
> Which raises another question: what would be the order of extending if
> ...
That's the order Facets uses: https://github.com/rubyworks/facets/blob/master/lib/core/facets/kernel/extend.rb
> O...
phluid61 (Matthew Kerwin)
03:53 PM Feature #8046: allow Object#extend to take a block
On Mar 7, 2013, at 6:53 PM, charliesome (Charlie Somerville) wrote:

> There are two ways to do this
>
> def extend(&bk)
> singleton_class.class_eval(&bk)
> end
>
> or
>
> def extend(&bk)
> singleton_cla...
david_macmahon (David MacMahon)
01:05 PM Feature #8046: allow Object#extend to take a block
charliesome (Charlie Somerville) wrote:
> There are two ways to do this - make the extend block execute in the
> ...
I'd think more like the former, as that doesn't inject a new anonymous Module into the singleton_class's #ancestors.
...
phluid61 (Matthew Kerwin)
11:53 AM Feature #8046: allow Object#extend to take a block
=begin
There are two ways to do this - make the extend block execute in the context of the receiver's singleton class, or make it execute in the context of a new module to be mixed in to the receiver's singleton class.
For example:
...
Anonymous
11:48 AM Feature #8046 (Open): allow Object#extend to take a block
=begin
In #8038 david_macmahon proposed:
How about allowing Object#extend to take a block that would be executed with the context such that methods defined therein would become singleton methods of the object receiving #extend?
Fo...
phluid61 (Matthew Kerwin)
08:15 PM Bug #8006: Dir.glob behaves differently on 1.9.3 and 2.0
=begin
After some more experimenting, it seems that the '**' operator doesn't act the same like in 1.9.3:
With Ruby 2.0.0-p0:
2.0.0p0 :017 > Dir.glob('data/webgen/basic_website_template/*/*', File::FNM_DOTMATCH|File::FNM_CASEF...
gettalong (Thomas Leitner)
07:51 PM Bug #8051 (Third Party's Issue): linux_iocparm_len in io.c is ifdef __linux__, but uses glibc specifics
_IOC_SIZE is glibc specific, thus compilation fails with musl libc. aep (Arvid Picciani)
06:36 PM Feature #7854: New method Symbol[string]
Why does it have -1 arity?
And I don't think it's harmful if the method allows a Smbol too.
nobu (Nobuyoshi Nakada)
08:48 AM Feature #7854: New method Symbol[string]
nobu (Nobuyoshi Nakada) wrote:
> To obtain existing symbol, rb_check_id() is already available, so you don't have to add new extern function.
Thank you for the feedback. With that in mind, I've made a less invasive version which onl...
phluid61 (Matthew Kerwin)
05:10 PM Bug #8049 (Rejected): Compiling error on Ruby 2.0 with OpenSSL
Trying to compile Ruby 2.0 with newest OpenSSL installed (tried even OpenSSL 1.0.1c 10 May 2012). Getting errors, see attached image. Fallen_Zen (Piotr Panasewicz)
04:59 PM Feature #8042: Add Addrinfo#socket to create a socket that is not connected or bound
2013/3/8 drbrain (Eric Hodel) <drbrain@segment7.net>:

> Feature #8042: Add Addrinfo#socket to create a socket that is not connected or bound
> https://bugs.ruby-lang.org/issues/8042

> This adds a socket method to Addrinfo to...
akr (Akira Tanaka)
08:35 AM Feature #8042 (Assigned): Add Addrinfo#socket to create a socket that is not connected or bound
This adds a socket method to Addrinfo to get a socket that has not been bound or connected to any address for connectionless operation. drbrain (Eric Hodel)
04:45 PM Feature #8027: add the possibility to raise an exception in #included, #extended, #prepended, #inherited and break the calling feature
ah good to know, but not the best way. What if i want that a Module is extendable but not includable? Then append_features may not what i want Hanmac (Hans Mackowiak)
08:50 AM Feature #8027: add the possibility to raise an exception in #included, #extended, #prepended, #inherited and break the calling feature
I think you are looking for Module.append_features:
module A
def self.append_features(mod)
raise "dont include me"
super
end
end
module E
begin
include A
rescue
end
end
p E.ancestors #=>[E]
If ...
semaperepelitsa (Simon Perepelitsa)
04:34 PM Bug #8041: Marshal incompatibility with prepend
=begin
To be honest, I haven't considered about marshaling prepended objects at all.
How could we represent it?
(1) add new type, (({TYPE_PREEXTEND})) for example.
(2) allow the current dumped format and treat the class in extending mod...
nobu (Nobuyoshi Nakada)
08:13 AM Bug #8041 (Closed): Marshal incompatibility with prepend
=begin
Marshal doesn't work for objects with prepended modules:
o = Object.new
o.singleton_class.send :include, Enumerable
Marshal.load(Marshal.dump(o)) # => ok
o = Object.new
o.singleton_class.send :prepend...
marcandre (Marc-Andre Lafortune)
03:26 PM Revision 28d7cd10 (git): * 2013-03-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:26 PM Revision 0316cf2e (git): marshal.c: prepended objects
* marshal.c (r_object0): load prepended objects. treat the class of
extended object in the included modules as prepended singleton
class. [ruby-core:53202] [Bug #8041]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39642 b2dd03c...
nobu (Nobuyoshi Nakada)
03:26 PM Revision e14095ff (git): marshaltestlib.rb: descriptive assertions
* test/ruby/marshaltestlib.rb (MarshalTestLib#test_string_ivar)
(MarshalTestLib#test_string_subclass_cycle): use more descriptive
assertions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:48 PM Feature #8047 (Assigned): IPAddr makes host address with netmask
現状のIPAddrはネットマスク付きの場合、
```
IPAddr.new("192.168.1.99/24")
=> #<IPAddr: IPv4:192.168.1.0/255.255.255.0>
```
のようにネットワークアドレスとして生成されますが、
マスク付きの場合にマスクされないホストとして生成する
モードを提案します
(=ホストのIPアドレスとどのネットワークかを把握したい)
ex.
```
IPAddr.new(...
nori_nori (Tadanori Kojima)
11:52 AM Feature #8038: Keyword `object` to be used instead of `class <<`
matz (Yukihiro Matsumoto) wrote:
> Introducing a new keyword would break a lot of existing programs. We don't want to do unless there's strong requirement.
> ...
I'm interested in this discussion, including Facets' interpretation. I ...
phluid61 (Matthew Kerwin)
11:16 AM Revision 6f59a8b4 (git): * man/rake.1, man/ruby.1: Use the Pa macro to make URLs stand out.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
10:41 AM Bug #7977: rails 4 crashes ruby 2.0 on Solaris
I'm not able to reproduce the core with the latest ruby on github
ruby 2.1.0dev (2013-03-08 trunk 39630) [x86_64-solaris2.11]
John
groenveld@acm.org
groenveld@acm.org (John Groenveld)
09:57 AM Bug #8045 (Closed): Object#singleton_methods incompatible with prepend
Similar to #8044, although implementation is independent:
o=Object.new
def o.foo; end
o.singleton_methods(false) # => [:foo], ok
o.singleton_class.send :prepend, Enumerable
o.singleton_methods(false) # => [], s...
marcandre (Marc-Andre Lafortune)
09:55 AM Bug #8044: Object#methods incompatible with prepend
{public|protected|private}_methods have the same problem, since they all call class_instance_method_list marcandre (Marc-Andre Lafortune)
09:49 AM Bug #8044 (Closed): Object#methods incompatible with prepend
Object#methods incompatible with prepend:
o = Object.new
def o.foo; end
o.methods(false) # => [:foo], ok
o.singleton_class.send :prepend, Enumerable
o.methods(false) # => [], should be [:foo]
marcandre (Marc-Andre Lafortune)
07:09 AM Revision 1a633537 (git): assertions.rb: split lines
* lib/test/unit/assertions.rb (Test::Unit::Assertions#message): split
msg and default procs by period and newline.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:02 AM Revision 3d881966 (git): assertions.rb: allow proc
* lib/test/unit/assertions.rb (Test::Unit::Assertions#message):
convert msg by call if it is a proc, as well as assert.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:47 AM Revision 4a3970c2 (git): load.c: reorder conditions
* load.c (loaded_feature_path): reorder conditions so simple
comparision comes first.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:24 AM Revision d415f2ab (git): configure.in: suppress error messages
* configure.in: suppress error messages, rm: cannot remove
'conftest.dSYM', from AC_EGREP_CPP with CFLAGS=-g on Darwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:24 AM Revision 5ebffacf (git): * tool/rbuninstall.rb: remove symlinks.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:21 AM Revision 7d183dab (git): * ext/pathname/pathname.c (path_f_pathname): rdoc for Pathname()
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
03:01 AM Revision df9d847e (git): * man/rake.1: Document ENVIRONMENT variables on RAKE(1) manpage
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
02:54 AM Feature #8035 (Closed): singleton class should be included in ancestors
This issue was solved with changeset r39628.
Marc-Andre, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* class.c (rb_mod_ancestors): Include singleton_class in an...
marcandre (Marc-Andre Lafortune)
02:17 AM Feature #7791: Let symbols be garbage collected
Of course the params are verified and there is no risk of SQL injection in my case either. I'm joining the same table multiple times at least once for each condition in the search query request that contains a reference to some field. Th... rosenfeld (Rodrigo Rosenfeld Rosas)
02:02 AM Feature #7791: Let symbols be garbage collected
rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
> Jeremy, I don't understand how #to_existing_sym could avoid the issue. Take your gem "sequel" for instance. In my application there is a class that will generate dynamic queries based on the ...
jeremyevans0 (Jeremy Evans)
01:52 AM Feature #7791: Let symbols be garbage collected
Jeremy, I don't understand how #to_existing_sym could avoid the issue. Take your gem "sequel" for instance. In my application there is a class that will generate dynamic queries based on the user params. Sequel will always convert those ... rosenfeld (Rodrigo Rosenfeld Rosas)
01:19 AM Feature #7791: Let symbols be garbage collected
I don't think there is any way to implement GC-able symbols via an extension library. Significant changes to the interpreter will be required to implement them.
Personally, I think the String#to_existing_sym and/or Symbol[string] pro...
jeremyevans0 (Jeremy Evans)
01:58 AM Bug #8036: Unable to compile Ruby 2.0.0p20 on Mac OSX 10.7.5
Ruby 2.0's configure normally selects clang.
You seems set CC as gcc.
naruse (Yui NARUSE)
01:23 AM Bug #8036: Unable to compile Ruby 2.0.0p20 on Mac OSX 10.7.5
> gcc -v
Using built-in specs.
Target: i686-apple-darwin11
Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.11~67/src/configure --disable-checking --enable-werror --prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-...
ericdp (Eric Peterson)
01:23 AM Bug #8036: Unable to compile Ruby 2.0.0p20 on Mac OSX 10.7.5
nobu (Nobuyoshi Nakada) wrote:
> You don't use clang, but /usr/bin/gcc.
> ...
CC = /usr/bin/gcc
LD = ld
LDSHARED = /usr/bin/gcc -dynamic -bundle
ericdp (Eric Peterson)
01:46 AM Revision 9c1fbec8 (git): * lib/webrick/httpproxy.rb: Fix typos in HTTPProxyServer [Bug #8013]
Patch by Nobuhiro IMAI [ruby-core:53127]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
01:21 AM Revision 0003ac99 (git): Remove very obsolete test code
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune

03/07/2013

10:32 PM Feature #7791: Let symbols be garbage collected
@jeremyevans0 Thanks for clarifying these limitations.
So, how far might this be remedied if it is made a C extension? For instance, it is not possible to make SafeSymbol a subclass of Symbol in pure Ruby, but I suspect it could be m...
trans (Thomas Sawyer)
12:30 PM Feature #7791: Let symbols be garbage collected
trans (Thomas Sawyer) wrote:
> Would something like this do the trick? http://github.com/rubyworks/safe_symbol
No.
:a != SafeSymbol('a')
Even if you fixed that, Symbols are immediates in ruby's C API, and passing a SafeSymbol ...
jeremyevans0 (Jeremy Evans)
10:08 AM Feature #7791: Let symbols be garbage collected
Would something like this do the trick? http://github.com/rubyworks/safe_symbol
trans (Thomas Sawyer)
10:19 PM Feature #8035: singleton class should be included in ancestors
Agreed. I will accept it unless any other compatibility problem raises.
Matz.
matz (Yukihiro Matsumoto)
04:21 AM Feature #8035: singleton class should be included in ancestors
Singleton class it the same thing as metaclass, right? I feel it would be better to keep it invisible, and maybe in the future to remove it completely and to allow objects to keep their singleton methods themselves. alexeymuranov (Alexey Muranov)
01:51 AM Feature #8035 (Closed): singleton class should be included in ancestors
I feel it would be consistent if:
k.ancestors.include?(k) #=> always true if k.is_a?(Class)
This is currently the case except for singleton classes:
class << ""; include Enumerable; end.ancestors
# => [Enumerable, S...
marcandre (Marc-Andre Lafortune)
10:01 PM Bug #8036 (Rejected): Unable to compile Ruby 2.0.0p20 on Mac OSX 10.7.5
You don't use clang, but /usr/bin/gcc. nobu (Nobuyoshi Nakada)
05:56 AM Bug #8036 (Rejected): Unable to compile Ruby 2.0.0p20 on Mac OSX 10.7.5
> svn co http://svn.ruby-lang.org/repos/ruby/branches/ruby_2_0_0/ ruby2
...
> ...
autoconf (GNU Autoconf) 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+/Autoconf: GNU GPL version 3 or later
<http://gnu.o...
ericdp (Eric Peterson)
09:50 PM Feature #7854: New method Symbol[string]
To obtain existing symbol, rb_check_id() is already available, so you don't have to add new extern function. nobu (Nobuyoshi Nakada)
03:03 PM Feature #7854: New method Symbol[string]
:)
Student (Nathan Zook)
12:50 PM Feature #7854: New method Symbol[string]
=begin
I've attached a patch that defines ((%Symbol[str]%)). If ((|str|)) is a string and there exists a symbol such that (({symbol.to_s == str})), it returns that symbol. Otherwise it returns ((|nil|)). Raises a TypeError if ((|str|...
phluid61 (Matthew Kerwin)
08:04 PM Bug #6479 (Closed): ipaddr.rbの受け付ける書式が、プラットフォームによって異なる
本件を修正して様子を見るうちに2.0.0が正式リリースとなったので、すみませんが旧シリーズとなった1.9ではこのままとしたいと思います。
報告ありがとうございました。
knu (Akinori MUSHA)
06:17 PM Revision 7afb2ead (git): Update ChangeLog for r39628
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
05:54 PM Revision 131fa91f (git): * 2013-03-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:54 PM Revision dfde34cb (git): * class.c (rb_mod_ancestors): Include singleton_class in ancestors list
[Feature #8035]
* test/ruby/test_module.rb (class): test for above
* test/ruby/marshaltestlib.rb (module): adapt test
* NEWS: list change
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
05:01 PM Feature #8038: Keyword `object` to be used instead of `class <<`
@alexey I sympathize. I tend to avoid `class << foo` too b/c it "reads" so poorly.
@david Facets extends #extend to do that actually, but it does not add the the methods directly. Instead it creates an anonymous module which it includ...
trans (Thomas Sawyer)
03:26 PM Feature #8038 (Rejected): Keyword `object` to be used instead of `class <<`
Introducing a new keyword would break a lot of existing programs. We don't want to do unless there's strong requirement.
Making Object#extend to take a block is interesting idea. We will discuss later if it's submitted.
Matz.
matz (Yukihiro Matsumoto)
03:23 PM Feature #8038: Keyword `object` to be used instead of `class <<`
As an alternative, how about allowing Object#extend to take a block that would be executed with the context such that methods defined therein would become singleton methods of the object receiving #extend?

Your example would then bec...
david_macmahon (David MacMahon)
02:59 PM Feature #8038 (Rejected): Keyword `object` to be used instead of `class <<`
=begin
I propose to introduce a new keyword (({object})) and to use it instead of the mysterious (({class <<})):
object foo
def bar
# ...
end
def baz
# ...
end
end
instead of
foo = Objec...
alexeymuranov (Alexey Muranov)
04:47 PM Bug #8039 (Closed): DRB/dRuby server throws an exception when probed on its port
I am not sure if this is a bug or a feature ...
When I use nmap to probe the port that the DRB server is listening on, it throws an exception.
Should the server be more resilient to this and/or have an option to restart itself aut...
kimptoc (Chris Kimpton)
12:28 PM Feature #8024: Lazy sweep を on/off するための機能
> SEGVが発生するかしないかの切り分けのため
これは正確な表現ではなく、本当の動機は「SEGVを回避するため」です。
> ...
そうですね。
> それ以外の用途
ありません〜
mrkn (Kenta Murata)
11:14 AM Feature #8024: Lazy sweep を on/off するための機能
このメソッドや環境変数を追加する動機が「SEGVが発生するかしないかの切り分けのため」なので、その用途だけでメソッド追加などをするのはやり過ぎかな、と思いました。
SEGVが直ったら用済みになっちゃうかもしれないですよね…。
それ以外の用途がなにかあれば教えてもらえると助かります。
authorNari (Narihiro Nakamura)
10:42 AM Feature #8024: Lazy sweep を on/off するための機能
> むらけんさんの好みに合わないなら
この件に関しては好みを主張できるほど詳しくないので、メソッド名から要/不要まで nari3 にすべての決めて頂こうと考えてました。
私は真偽値を与えて on/off を制御する方式でも問題ないと思ってます〜
mrkn (Kenta Murata)
04:52 AM Feature #8024: Lazy sweep を on/off するための機能
bool 値化同意します。 sorah (Sorah Fukumori)
12:54 AM Feature #8024: Lazy sweep を on/off するための機能
今後なにかあるたびに、GCにメソッドが2つづつ増えるのは非生産的なので、対称性だけが目的なら GC.enableにbool引数追加して、GC.enable_lazy_sweepもそうするってのが私の好みかなあ。すでにstressはboolean値のようだし。
ただの好みなのでむらけんさんの好みに合わないならこれ以上はプッシュしません
では。
kosaki (Motohiro KOSAKI)
10:42 AM Bug #7956: Install fail with RVM
=begin
I have just rechecked both with and without RVM and I can not reproduce this problem, make sure to update RVM: (({rvm get head})) - there are two things you could check:
(1) problem with compiler - check this https://github.com/w...
mpapis (Michal Papis)
10:08 AM Bug #8037 (Rejected): rdoc issues preventing docs generating after ruby was compiled
I have reported two issues for rdoc but there was no response, forwarding here as ruby is involved:
- https://github.com/rdoc/rdoc/issues/193
- https://github.com/rdoc/rdoc/issues/194
Thanks, Michal
mpapis (Michal Papis)
10:05 AM Feature #7849: Symbol#to_str
Symbol's not anything like a Proc either, but we have Symbol#to_proc.
Put that in your pipe and smoke it ;-)
trans (Thomas Sawyer)
08:33 AM Feature #7795: Symbol.defined? and/or to_existing_symbol
phluid61 (Matthew Kerwin) wrote:
> matz (Yukihiro Matsumoto) wrote:
> ...
I agree with Matz that the names are problematic. What about Symbol[] ? (#7854)
Student (Nathan Zook)
06:59 AM Feature #7795: Symbol.defined? and/or to_existing_symbol
matz (Yukihiro Matsumoto) wrote:
> I agree with the basic concept of the proposal.
> ...
My ruby core abilities are somewhat limited as yet, but in experimentation on a local fork I have implemented "foo".to_existing_sym (which raises ...
phluid61 (Matthew Kerwin)
05:21 AM Revision 221f2a1d (git): compile.c: zsuper keyword args
* compile.c (iseq_compile_each): pass keyword arguments to zsuper,
with current values. [ruby-core:53114] [Bug #8008]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:17 AM Revision 8a689839 (git): compile.c: nd_line(node)
* compile.c (iseq_compile_each): keep nd_line(node) in a local
variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:17 AM Revision fedf4c22 (git): compile.c: calc in int
* compile.c (iseq_compile_each): calculate argc as int, not as Fixnum.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:38 AM Revision 3016b65a (git): .gdbinit: initialize color sequences
* .gdbinit (hook-run): initialize color sequences for each runs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:38 AM Revision 94daa860 (git): iseq.c: keyword arguments
* iseq.c (rb_iseq_disasm): fix keyword arguments index.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:06 AM Revision 9926b16d (git): * ChangeLog:
* lib/rubygems/commands/setup_command.rb (class Gem):
* lib/rubygems/commands/setup_command.rb (TEXT):
* lib/rubygems/spec_fetcher.rb (class Gem):
* lib/rubygems/test_utilities.rb (class Gem):
* lib/rubyge...
drbrain (Eric Hodel)
04:01 AM Revision 105361d9 (git): * ChangeLog:
* lib/rubygems/commands/setup_command.rb (class Gem):
* lib/rubygems/commands/setup_command.rb (TEXT):
* lib/rubygems/spec_fetcher.rb (class Gem):
* lib/rubygems/test_utilities.rb (class Gem):
* lib/rubyge...
drbrain (Eric Hodel)
01:39 AM Revision 3d4d9377 (git): * 2013-03-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:39 AM Revision 1a71b871 (git): rbinstall.rb: gem subdirectories
* tool/rbinstall.rb (gem): Gem.ensure_gem_subdirectories now has mode
option since r39607. refix of r38870.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:39 AM Revision e4e82e50 (git): common.mk: reinstall target
* common.mk (reinstall): new target.
* defs/gmake.mk (install, uninstall): can't run parallel.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

03/06/2013

11:08 PM Bug #8029 (Rejected): M-p and M-n don't work in irb
Hello, artagnon.
Thank you for your investigation. I'll close this ticket.
nagachika (Tomoyuki Chikanaga)
07:35 PM Bug #8029: M-p and M-n don't work in irb
I'm sorry, but I seem to have misunderstood the non-incremental-reverse-search-history and non-incremental-forward-search-history functions of readline. I expected it to work like in ZSH (which uses zle, not readline). Anonymous
05:50 PM Bug #8029: M-p and M-n don't work in irb
Okay, it seems to be a bug in readline, not irb. Anonymous
05:39 PM Bug #8029 (Rejected): M-p and M-n don't work in irb
irb is supposed to use readline and M-a, M-e are bound to beginning-of-line and end-of-line respectively. However, M-p and M-n don't have the same effect as up-arrow and down-arrow. Why is this? Anonymous
10:43 PM Bug #8034 (Closed): File.expand_path('something', '~') do not include home path
=begin
Next code works correctly only on ruby <= 1.9.3p362.
Tested on Windows XP, Windows 2008 with ruby 1.9.3p194 (works properly), ruby 1.9.3p362 (bug), ruby 2.0.0p0 (bug).
(({File.expand_path('something', '~') #=> "C:/path/to/cur...
rap-kasta (Pavel Manylov)
08:24 PM Feature #8024: Lazy sweep を on/off するための機能
> GC.disable_lazy_sweepも有り難みがよくわかりませんでした。
rspec が spec ファイル群をロードするだけで10分以上かかる場合があるので、
プロセスの起動時〜specファイルロード完了までは lazy sweep は有効であって欲しくて、
begin(:suite) で GC.disable_lazy_sweep することにしています。
ですから、私の個人的なユースケースでは GC.enable_lazy_sweep は使...
mrkn (Kenta Murata)
11:09 AM Feature #8024: Lazy sweep を on/off するための機能
えーと、一般論としてチューニングパラメータはdisable_hogehoge とかいう否定形は好ましくないよ。間違えるから。
環境変数は RUBY_GC_ENABLE_LAZY_SWEEP のほうがよいんじゃないかな。
GC.disable_lazy_sweepも有り難みがよくわかりませんでした。
kosaki (Motohiro KOSAKI)
10:50 AM Feature #8024 (Closed): Lazy sweep を on/off するための機能
Lazy sweep を on/off する機能を追加するパッチを作りました。
このパッチは環境変数1つと GC のモジュール関数2つを追加します。
環境変数は RUBY_GC_DISABLE_LAZY_SWEEP です。
これに 0 以外の整数を設定して ruby を実行すると、
lazy sweep が off の状態で実行されます。
GC に追加されるモジュール関数は disable_lazy_sweep と enable_lazy_sweep ...
mrkn (Kenta Murata)
06:31 PM Bug #7212: "stack level too deep" in Fiber much earlier in new versions of 1.9.3
ko1 (Koichi Sasada) wrote:
> Do you use same compiler and compile option on each environments?
Yes, it was compiled with rvm with no options specified.
I'm sorry for the late answer, for some reason I didn't get any mail notif...
fiddur (Fredrik Liljegren)
05:31 PM Bug #8028 (Rejected): Shellwords.escape works incorrect under windows
Shellwords.escape works incorrect under windows (tested for Windows 7
x64), here is example:
Actual result:
```
irb(main):001:0> require 'shellwords'
=> true
irb(main):002:0> `echo #{Shellwords.escape( '123>' )} test` # shoul...
Shagabutdinov (Leonid Shagabutdinov)
05:26 PM Feature #8027 (Feedback): add the possibility to raise an exception in #included, #extended, #prepended, #inherited and break the calling feature
imo an exception in this hook methods should be possible to prevent the adding in the ancestor chain
module A
def self.included(mod)
raise "dont include me"
end
end
module E
include A
end
##>> RuntimeError: dont include me...
Hanmac (Hans Mackowiak)
01:24 PM Revision 5f5d9155 (git): iseq.c: keyword arguments
* iseq.c (rb_iseq_disasm): show keyword arguments info, in format
"keyword: NUM@LIDX".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:14 PM Revision 22e2bfc6 (git): merge revision(s) 39297: [Backport #8032]
mkconfig.rb: clear exec_prefix
* tool/mkconfig.rb: clear exec_prefix which may differ from prefix,
before expanding rubyarchdir to remove prefix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39616 b2dd03c8-...
nagachika (Tomoyuki Chikanaga)
12:40 PM Feature #8026 (Feedback): Need Module#prepended_modules
We should have a way to get the list of prepended modules of a class or module.
module Mixin
end
module Outer
prepend Mixin
end
Mixin.prepended_modules #=> []
Outer.prepended_modules #=> [Mi...
marcandre (Marc-Andre Lafortune)
11:59 AM Revision 5c1af05e (git): defs/gmake.mk: serialize test targets.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:22 AM Revision 0af37bf0 (git): configure.in: fix unexpand_shvar
* configure.in (unexpand_shvar): remove guarding quotes at last.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:45 AM Bug #7949 (Closed): Gem::Ext::Builder removes dependency to directory creation task
Seems fixed by Nobu's patches, so I will close this. drbrain (Eric Hodel)
06:30 AM Revision 63324158 (git): GNUmakefile.in: new template
* template/GNUmakefile.in: split from configure.in.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:30 AM Revision 6f4d00e5 (git): process.c: fix error message
* process.c (check_exec_redirect_fd): fix error message for unknown
symbol.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:30 AM Revision 2d1c94a1 (git): prefix global symbols
* iseq.c (rb_insn_operand_intern): prefix global symbols.
* numeric.c (ruby_num_interval_step_size): ditto.
* vm_backtrace.c (rb_vm_backtrace_str_ary),
(rb_vm_backtrace_location_ary, rb_vm_thread_backtrace),
(rb_vm_thread_backtrace...
nobu (Nobuyoshi Nakada)
06:29 AM Revision 4f59a115 (git): intern.h: macro rb_check_arity
* include/ruby/intern.h (rb_check_arity): same name macro for backward
compatibility checking by ifdef.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:25 AM Bug #8000: "require 'tk'" segfaults on 64-bit linux with Tk 8.6
All packages are installed via packman
/usr/lib/libtcl8.6.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=0x31a66c5d6eacb77f2a9a220bff2e78a88821167e, not stripped
/usr/lib/libtk8.6.so: ELF ...
ponimas (Alexander Ponimaskin)
04:14 AM Revision d1e3c632 (git): * test/rubygems/test_gem_spec_fetcher.rb: Removed unused variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
02:49 AM Bug #6151: ArgumentError of lambda shows wrong location
I agree, @trans, this is a very surprising behavior. I was expecting instance_eval to call the block I passed to it without any args. Since self is already implicitly available from the block, I just don't understand why instance_eval wo... TylerRick (Tyler Rick)
02:48 AM Bug #8018 (Closed): Typo in Class: Encoding documentation. Encoding::UTF-8 instead of Encoding::UTF_8
Already fixed by r39575, see https://github.com/ruby/ruby/pull/255 marcandre (Marc-Andre Lafortune)
02:39 AM Feature #7836: Need a way to get Method and UnboundMethod objects to methods overridden by prepended modules
nobu: Patch looks good, but I would go further and have `String.instance_method(:object_id, false)` also raise a NameError, for consistency with `String.instance_methods(false).include? :object_id # => false`.
Did Matz confirm any of ...
marcandre (Marc-Andre Lafortune)
02:38 AM Feature #7836: Need a way to get Method and UnboundMethod objects to methods overridden by prepended modules
banister (john mair) wrote:
> @ marcandre. Another possible approach is to provide `UnboundMethod#super`.
Not a bad idea, for Method also, although I'm not sure if it would be useful to many. You might want to make another feature re...
marcandre (Marc-Andre Lafortune)
02:21 AM Bug #7968: Poor UDPSocket#send performance in ruby 2.0.0 on windows
Hello, Alan.
I re-open this ticket because it was accidentally closed by wrong commit message.
This issue is not fixed yet.
BTW, in socketsendtest.rb UDPSocket#bind and #connect receive different port number. Is it right?
On my e...
nagachika (Tomoyuki Chikanaga)
02:02 AM Bug #7968: Poor UDPSocket#send performance in ruby 2.0.0 on windows
I see the %Done went up to 100 and back down to zero. Is this fixed or not now?
Thanks
Alan.
cs96and (Alan Davies)
12:35 AM Bug #8017: Got segmentation fault on attempt to install ruby 2.0.0-p0 on Mac 10.6.8 via RVM
nobu (Nobuyoshi Nakada) wrote:
> What's the clang version?
$ clang -v
Apple clang version 1.6 (tags/Apple/clang-70)
Target: x86_64-apple-darwin10
Thread model: posix
adantel (Alex Filatau)

03/05/2013

11:11 PM Revision 48d5694f (git): * test/rubygems/test_require.rb: Fix tests when 'a.rb' exists.
[ruby-trunk - Bug #7749]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
11:02 PM Revision 6e48ce9c (git): * lib/rubygems.rb: Allow specification of directory permissions.
[ruby-trunk - Bug #7713]
* test/rubygems/test_gem.rb: Test for the above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
10:40 PM Revision 7a88ad0a (git): * lib/rubygems/commands/query_command.rb: Only fetch remote specs when
showing details. [ruby-trunk - Bug #8019] RubyGems bug #487
* lib/rubygems/remote_fetcher.rb: ditto.
* lib/rubygems/security/policy.rb: ditto.
* test/rubygems/test_gem_commands_query_command.rb: Test for the
above.
* lib/rubygems...
drbrain (Eric Hodel)
08:29 PM Bug #7988 (Closed): Module#prepend(Module) and instance_method causes Segmentation fault
This issue was solved with changeset r39599.
Nobuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
proc.c: revert r39224
* proc.c (mnew): revert r39224. [ruby...
nobu (Nobuyoshi Nakada)
05:13 PM Bug #8018 (Closed): Typo in Class: Encoding documentation. Encoding::UTF-8 instead of Encoding::UTF_8
Hi, there's a typo in the Encoding Class documentation. http://ruby-doc.org/core-2.0/Encoding.html
In the Changing an encoding section, in the example says
string.force_encoding(Encoding::UTF-8)
instead of
string.force_encodin...
eljojo (Jose Tomas Albornoz)
05:06 PM Bug #8017 (Feedback): Got segmentation fault on attempt to install ruby 2.0.0-p0 on Mac 10.6.8 via RVM
What's the clang version?
nobu (Nobuyoshi Nakada)
02:52 PM Bug #8017 (Third Party's Issue): Got segmentation fault on attempt to install ruby 2.0.0-p0 on Mac 10.6.8 via RVM
Mac OS 10.6.8
rvm rvm 1.18.15 (master)
$ sudo rvm install 2.0.0
Password:
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.6/i386/ruby-2.0.0-p0.
Continuing with compilation. Please re...
adantel (Alex Filatau)
04:31 PM Revision 32fa37f5 (git): * 2013-03-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:31 PM Revision dbec401c (git): use INT2FIX(0) instead of INT2NUM(0).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:54 PM Bug #7881: Windows でパスに日本語を含むスクリプトからの require が失敗する
=begin
たとえば、下記のようなコードを書いたときに、current directoryのパスが日本語を含んでいても
Encoding::CompatibilityError にならずに動く、という利点はあるのではないでしょうか。
expand_pathの結果がfilesystem encodingに変わる可能性があれば、日本語の引数に.encode('filesystem')をつけるなどしておかないといけません。
# coding: euc-...
h.shirosaki (Hiroshi Shirosaki)
01:48 PM Revision 6520da62 (git): * ChanageLog: fix ticket ref in r39597.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
12:50 PM Revision 1d82ffd8 (git): fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:41 PM Feature #8016 (Assigned): Alias __FILE__ and __LINE__ as methods
naruse (Yui NARUSE)
12:16 PM Feature #8016 (Assigned): Alias __FILE__ and __LINE__ as methods
=begin
All of the previous issues discussing the new (({Kernel#__dir__})) method (#1961, #3346, #7975), never came to any conclusion regarding the naming inconsistency between the likes of (({__dir__})) and (({__method__})), and the key...
wardrop (Tom Wardrop)
12:38 PM Feature #8015: [patch] tuneable HEAP_GROWTH_FACTOR
Thanks for the review. How about this?
@@ -3366,10 +3535,11 @@ rb_gc_set_params(void)

growth_factor_ptr = getenv("RUBY_HEAP_SLOTS_GROWTH_FACTOR");
if (growth_factor_ptr != NULL) {
- double growth_factor_f = atof(...
tmm1 (Aman Karmani)
10:53 AM Feature #8015: [patch] tuneable HEAP_GROWTH_FACTOR
The idea seems good.

> + growth_factor_ptr = getenv("RUBY_HEAP_SLOTS_GROWTH_FACTOR");
> + if (growth_factor_ptr != NULL) {
> + double growth_factor_f = atof(growth_factor_ptr);

atof() don't have proper error ch...
kosaki (Motohiro KOSAKI)
10:17 AM Feature #8015 (Closed): [patch] tuneable HEAP_GROWTH_FACTOR
diff --git a/gc.c b/gc.c
index 925e496..71f509f 100644
--- a/gc.c
+++ b/gc.c
@@ -71,11 +71,13 @@
#endif
#define HEAP_MIN_SLOTS 10000
#define FREE_MIN 4096
+#define HEAP_GROWTH_FACTOR 1.8

typedef struct {
unsigned i...
tmm1 (Aman Karmani)
12:36 PM Revision f113ab55 (git): class.c: check redefinition
* class.c (rb_prepend_module): check redefinition of built-in opimized
methods. [ruby-dev:47124] [Bug #7983]
* vm.c (rb_vm_check_redefinition_by_prepend): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39601 b2dd03c8-39d4-...
nobu (Nobuyoshi Nakada)
12:30 PM Revision 00a8203b (git): test_method.rb: reduce iteration
* test/ruby/test_method.rb (TestMethod#test_bound_method_entry):
reduce iteration.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:29 AM Revision 2ff56cc9 (git): proc.c: revert r39224
* proc.c (mnew): revert r39224. [ruby-core:53038] [Bug #7988]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:23 AM Revision 708df44e (git): intern.h: inline function rb_check_arity
* include/ruby/intern.h (rb_check_arity): make a static inline
function so it can be used as an expression and argc would be
evaulated only once.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39598 b2dd03c8-39d4-4d8f-98ff-823fe...
nobu (Nobuyoshi Nakada)
11:02 AM Feature #2837: Compile-time constant for HEAP_GROWTH_FACTOR (patch attached)
This patch contains not only the subject but also the accessors.
It isn't acceptable and you should separate them, I think.
nobu (Nobuyoshi Nakada)
10:20 AM Bug #8010 (Closed): Enumerator#with_index(large_number)
This issue was solved with changeset r39594.
Kazuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
enumerator.c: allow Bignum for with_index
* enumerator.c (en...
nobu (Nobuyoshi Nakada)
06:16 AM Feature #5373: SMTP - new method
Since Aoki-san was listed as neutral last I asked, I will apply this sometime next week. drbrain (Eric Hodel)
03:31 AM Revision 85164e55 (git): * lib/rubygems.rb: Bump version to 2.0.1 for upcoming bugfix release
* lib/rubygems/ext/ext_conf_builder.rb: Restore ruby 1.8 compatibility
for [Bug #9698]
* test/rubygems/test_gem_installer.rb: Ditto.
* lib/rubygems/package.rb: Restore ruby 1.8 compatibility.
* test/rubygems/test_gem_dependency_in...
drbrain (Eric Hodel)
03:25 AM Revision 6c77ae07 (git): * enumerator.c (enumerator_with_index): Restore handling of a nil memo
from r39594.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
01:40 AM Revision b4a117f8 (git): objspace.c: newly added nodes
* ext/objspace/objspace.c (count_nodes): count also newly added nodes,
and fix key for unknown node. patch by tmm1 (Aman Gupta) in
[ruby-core:53130] [Bug #8014]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39595 b2dd03c8-39d4-...
nobu (Nobuyoshi Nakada)
01:20 AM Revision 4a429c11 (git): enumerator.c: allow Bignum for with_index
* enumerator.c (enumerator_with_index_i): allow Bignum as offset, to
get rid of conversion exception and integer overflow.
[ruby-dev:47131] [Bug #8010]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39594 b2dd03c8-39d4-4d8f-98ff...
nobu (Nobuyoshi Nakada)
01:18 AM Revision ce357ef1 (git): numeric.c: optimize for Bignum
* numeric.c (rb_int_succ, rb_int_pred): shortcut optimization for
Bignum.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:06 AM Revision 66867b0a (git): ext_conf_builder.rb: clear DESTDIR
* lib/rubygems/ext/ext_conf_builder.rb (Gem::Ext::ExtConfBuilder.build):
clear DESTDIR so RUBYARCHDIR and RUBYLIBDIR are not be overrdden.
[Bug #7698]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39592 b2dd03c8-39d4-4d8f-98ff-...
nobu (Nobuyoshi Nakada)
01:02 AM Revision 001e06ed (git): * 2013-03-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:02 AM Revision f2d3cd1c (git): ext_conf_builder.rb: clear DESTDIR
* lib/rubygems/ext/ext_conf_builder.rb (Gem::Ext::ExtConfBuilder.build):
clear DESTDIR so RUBYARCHDIR and RUBYLIBDIR are not be overrdden.
[Bug #7698]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39590 b2dd03c8-39d4-4d8f-98ff-...
nobu (Nobuyoshi Nakada)
12:57 AM Bug #8012 (Closed): Performance degradation in 2.0.0p0
$ ruby -v
ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux]
I'm running a simple CPU intensive benchmark:
puts (0..11).to_a.permutation.inject(0) { |m, _| m += 1 }
This takes around 158s with 1.9.3 and 200s with 2.0.0p0 w...
ram (Munagala Ramanath)
 

Also available in: Atom