Project

General

Profile

Activity

From 03/14/2013 to 03/20/2013

03/20/2013

11:53 PM Feature #8096: introduce Time.current_timestamp
On 19 March 2013 17:56, headius (Charles Nutter) <[email protected]> wrote:
>
> Issue #8096 has been updated by ...
Eregon (Benoit Daloze)
08:46 PM Feature #8096: introduce Time.current_timestamp
kosaki (Motohiro KOSAKI) wrote:
> (3/19/13 9:31 PM), headius (Charles Nutter) wrote:
> >
> > Issue #8096 has be...
naruse (Yui NARUSE)
11:53 AM Feature #8096: introduce Time.current_timestamp
(3/19/13 9:31 PM), headius (Charles Nutter) wrote:
>
> Issue #8096 has been updated by headius (Charles Nutter)...
kosaki (Motohiro KOSAKI)
10:31 AM Feature #8096: introduce Time.current_timestamp
naruse (Yui NARUSE) wrote:
> What class is it?
> If Float, it introduces extra error.
> If Rational, I feel Time i...
headius (Charles Nutter)
07:24 AM Feature #8096: introduce Time.current_timestamp
headius (Charles Nutter) wrote:
> A few more thoughts to keep this alive...
>
> Implementation in JRuby:
>
> d...
naruse (Yui NARUSE)
01:56 AM Feature #8096: introduce Time.current_timestamp
A few more thoughts to keep this alive...
Implementation in JRuby:
def Time.timestamp
java.lang.System.nano_...
headius (Charles Nutter)
10:52 PM Bug #8115 (Closed): make install DESTDIR=/my/install/path fails
This issue was solved with changeset r39841.
Vit, thank you for reporting this issue.
Your contribution to Ruby is gr...
nobu (Nobuyoshi Nakada)
10:35 PM Revision 91194dfd (git): * 2013-03-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:35 PM Revision 5d402803 (git): * ext/date/date_core.c: Typo in Date::MONTHNAMES by Matt Gauger
[GH fixes #261]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
08:01 PM Bug #8124: gem fails to install valid gems
For handle this issue, it need to know occasion of that "many people".
If you are not "many people" and you could no...
ayumin (Ayumu AIZAWA)
04:37 PM Bug #8124: gem fails to install valid gems
$ gem sources
*** CURRENT SOURCES ***
http://rubygems.org/
Like I said, I'm not able to reproduce ...
Anonymous
02:21 PM Revision 63b66167 (git): merge revision(s) 39835: [Backport #8058]
* test/rubygems/test_gem_installer.rb (test_install_extension_flat):
use ruby in build directory in case ru...
nagachika (Tomoyuki Chikanaga)
02:17 PM Revision 2aaa9ab9 (git): merge revision(s) 39809,39834,39837: [Backport #8132]
* test/win32ole/test_err_in_callback.rb
(TestErrInCallBack#test_err_in_callback): shouldn't create a file i...
nagachika (Tomoyuki Chikanaga)
02:10 PM Revision 7631f28c (git): merge revision(s) 39781,39783: [Backport #8080]
missing.h: build fix
* include/ruby/missing.h: include time.h and sys/time.h iff needed,
but excepct for s...
nagachika (Tomoyuki Chikanaga)
02:07 PM Revision 4346f5d6 (git): merge revision(s) 39779: [Backport #8080]
Makefile.sub: fix mswin build
* win32/Makefile.sub (config.h): fix mswin build, also VC has time.h
and str...
nagachika (Tomoyuki Chikanaga)
02:06 PM Revision 68a2dd54 (git): merge revision(s) 39777: [Backport #8080]
mingw build fix
* configure.in: struct timeval is defined in winsock2.h on mingw.
* include/ruby/mi...
nagachika (Tomoyuki Chikanaga)
02:03 PM Revision 9b0861fb (git): merge revision(s) 39200: [Backport #8080]
* configure.in: move OS specific header/function knowledge before
automatic header tests.
git-svn-id: svn...
nagachika (Tomoyuki Chikanaga)
02:01 PM Revision c8755ba6 (git): merge revision(s) 39174: [Backport #8080]
* configure.in: move header files check to the beginning of
"header and library section".
test rl...
nagachika (Tomoyuki Chikanaga)
01:57 PM Revision 7d772fbd (git): merge revision(s) 39198: [Backport #8080]
* configure.in: move the test for -march=i486 just after
RUBY_UNIVERSAL_ARCH/RUBY_DEFAULT_ARCH.
git-svn-i...
nagachika (Tomoyuki Chikanaga)
01:56 PM Revision 78a2c1a9 (git): merge revision(s) 39162,39163: [Backport #8080]
* configure.in: change CFLAGS temporally to test
ARCH_FLAG="-march=i486".
git-svn-id: svn+ssh://ci.ruby-l...
nagachika (Tomoyuki Chikanaga)
01:54 PM Revision d4e03967 (git): merge revision(s) 39160: [Backport #8080]
* configure.in: don't define ARCH_FLAG="-march=i486" if it causes
compilation problem.
git-svn-id: svn+ss...
nagachika (Tomoyuki Chikanaga)
01:53 PM Revision 9cbd4ac3 (git): mkmf.rb: format message
* lib/mkmf.rb (find_library): fix to format message.
[ruby-core:53568] [Bug #8130]
git-svn-id: svn+ssh://ci.ruby-...
nobu (Nobuyoshi Nakada)
01:52 PM Revision 7e1d5045 (git): mkmf.rb: prefix install_dirs only with DESTDIR
* lib/mkmf.rb (install_dirs, with_destdir): prefix with DESTDIR
directories to install only unless bundled extensio...
nobu (Nobuyoshi Nakada)
01:37 PM Revision 7ff076d5 (git): merge revision(s) 39775: [Backport #8080]
* thread.c: disabled _FORTIFY_SOURCE for avoid to hit glibc bug.
[Bug #8080] [ruby-core:53349]
* t...
nagachika (Tomoyuki Chikanaga)
01:36 PM Revision 552817e5 (git): merge revision(s) 39774: [Backport #8080]
* include/ruby/missing.h (__syscall): moved to...
* io.c: here. because __syscall() is only used from io.c.
...
nagachika (Tomoyuki Chikanaga)
01:34 PM Revision ccb9fb0b (git): merge revision(s) 39772,39773: [Backport #8080]
* configure.in: check struct timeval exist or not.
* include/ruby/missing.h (struct timeval): check HAVE_STR...
nagachika (Tomoyuki Chikanaga)
12:19 PM Feature #8107: [patch] runtime flag to track object allocation metadata
I implemented a basic task api: https://github.com/tmm1/ruby/compare/tmm1;task-api
But API is too simple, maybe.
...
tmm1 (Aman Karmani)
09:00 AM Bug #8129: String#index has drastically different performance when a single unicode character is included
Thanks for the feedback Charlie and Nobuyoshi. This came up from https://github.com/kschiess/parslet/issues/73 which ... zmoazeni (Zach Moazeni)
08:52 AM Bug #8129: String#index has drastically different performance when a single unicode character is included
=begin
You may want to:
* use regexp, e.g. (({scan})).
* convert to fix width wide char encoding, i.e., ((|UTF-32LE|)...
nobu (Nobuyoshi Nakada)
08:40 AM Bug #8129 (Rejected): String#index has drastically different performance when a single unicode character is included
When all the characters in a string are ASCII characters (single bytes), the byte index for any given character can b... Anonymous
08:23 AM Bug #8129 (Rejected): String#index has drastically different performance when a single unicode character is included
=begin
I created a simple ruby script:
#! /usr/bin/env ruby
raise "need a file name" unless ARGV[0]
conten...
zmoazeni (Zach Moazeni)
08:52 AM Revision dd210d8f (git): * test/win32ole/test_err_in_callback.rb (TestErrInCallBack#setup):
allow using different drive for source and build directories.
this may fixes a minor problem of r39834.
git-svn-i...
U.Nakamura
08:30 AM Bug #8127 (Closed): NoMethodError for private / protected methods with Module#prepend
nobu (Nobuyoshi Nakada)
07:49 AM Bug #8127 (Closed): NoMethodError for private / protected methods with Module#prepend
=begin
Calling protected / private methods after using Module#prepend raises NoMethodError exception.

module Fo...
dimko (Dmitriy Meremyanin)
08:00 AM Feature #8128 (Rejected): New primitives for Rinda::TupleSpace
=begin
= New primitives for Rinda::TupleSpace
This issue proposes adding two new primitives to TupleSpace for a...
vjoel (Joel VanderWerf)
07:49 AM Revision f4274129 (git): * test/ruby/test_signal.rb (test_hup_me): skip if HUP isn't supported.
On Windows this test causes ArgumentError.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39836 b2dd03c8-39d4-4d8...
h.shirosaki (Hiroshi Shirosaki)
07:49 AM Revision 7f2a13ea (git): * test/rubygems/test_gem_installer.rb (test_install_extension_flat):
use ruby in build directory in case ruby is not installed.
[ruby-core:53265] [Bug #8058]
git-svn-id: svn+ssh://ci....
h.shirosaki (Hiroshi Shirosaki)
06:38 AM Feature #8126 (Assigned): OpenSSL::SSL::SSLSocket does not define #recv and #send messages
OpenSSL::SSL::SSLSocket does not define #recv/#send methods and is not compatible with TCPSocket. postmodern (Hal Brodigan)
06:24 AM Revision 46048d6d (git): * test/win32ole/test_err_in_callback.rb (TestErrInCallBack#setup): use
relative path to get rid of "too long commandline" error.
* ChangeLog: fixed wrong description.
git-svn-id: svn+ss...
U.Nakamura
06:21 AM Revision 119aa9d2 (git): * test/win32ole/test_err_in_callback.rb: revert r39823 (debug code).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
05:48 AM Feature #7510: irb --help が古い
add patche.(incl. ja) ayumin (Ayumu AIZAWA)
02:21 AM Bug #8125 (Closed): lost-tuple bug and fix for Rinda::TupleSpaceProxy.take
=begin
Rinda::TupleSpaceProxy prevents tuple loss during #take by exposing a "port" object on the client that the ...
vjoel (Joel VanderWerf)
02:11 AM Bug #7756: clang 4.2 sees through UNINITIALIZED_VAR macro, gives warning
A macro can be following, but it still changes syntax from current UNINITIALIZED_VAR.
#if GCC_VERSION_SINCE(4,6,0)...
naruse (Yui NARUSE)
01:53 AM Bug #8120 (Rejected): OptionParser is not handling lists of arguments correctly
You must use commas and no whitespace when entering a list as in your second arguments to opts.on drbrain (Eric Hodel)

03/19/2013

09:02 PM Feature #8107: [patch] runtime flag to track object allocation metadata
This was my first time using the new TracePoint apis. I like the C API a lot- much more flexible than the old event h... tmm1 (Aman Karmani)
08:53 PM Feature #8107: [patch] runtime flag to track object allocation metadata
(2013/03/19 19:26), tmm1 (Aman Gupta) wrote:
>> > Ah, it is my mistake. I want to say *newobj hook*, instead of M...
ko1 (Koichi Sasada)
07:26 PM Feature #8107: [patch] runtime flag to track object allocation metadata
> Ah, it is my mistake. I want to say *newobj hook*, instead of Mark hook.
Oh, OK. This makes much more sense now...
tmm1 (Aman Karmani)
06:23 PM Feature #8107: [patch] runtime flag to track object allocation metadata
(2013/03/19 18:02), tmm1 (Aman Gupta) wrote:
> I like your idea. A finalization task api provides an elegant solut...
ko1 (Koichi Sasada)
06:02 PM Feature #8107: [patch] runtime flag to track object allocation metadata
I like your idea. A finalization task api provides an elegant solution for processing profiling data in a safe contex... tmm1 (Aman Karmani)
04:29 PM Feature #8107: [patch] runtime flag to track object allocation metadata
(2013/03/19 15:45), tmm1 (Aman Gupta) wrote:
> I agree this approach provides more flexibility. But GC hooks canno...
ko1 (Koichi Sasada)
03:53 PM Feature #8107: [patch] runtime flag to track object allocation metadata
(2013/03/19 14:47), SASADA Koichi wrote:
> I believe this approach allows flexible statistics.

One flexibili...
ko1 (Koichi Sasada)
03:45 PM Feature #8107: [patch] runtime flag to track object allocation metadata
> Using this APIs, users can add your own statistics libraries.
I tried a similar approach in ruby 1.8 some while...
tmm1 (Aman Karmani)
02:53 PM Feature #8107: [patch] runtime flag to track object allocation metadata
(2013/03/19 13:39), tmm1 (Aman Gupta) wrote:
> Maybe instead of file/line, this should be rb_iseq_t *iseq?

C ...
ko1 (Koichi Sasada)
01:48 PM Feature #8107: [patch] runtime flag to track object allocation metadata
Here's an example using this feature in a rails app, to find files that are allocating many long lived objects:
% ...
tmm1 (Aman Karmani)
01:39 PM Feature #8107: [patch] runtime flag to track object allocation metadata
> +typedef struct rb_obj_metadata {
> + VALUE file;
> + unsigned short line;
> +} rb_obj_metadata_t;
Mayb...
tmm1 (Aman Karmani)
01:37 PM Feature #8107: [patch] runtime flag to track object allocation metadata
> Something like RubyVM.allocated_position(obj) => [file, line].
I'll defer API decisions to core, but a method un...
tmm1 (Aman Karmani)
07:41 PM Revision dcbc7b01 (git): * test/rinda/test_rinda.rb: remove unused variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ayumin (Ayumu AIZAWA)
07:23 PM Revision 49636da4 (git): * ext/bigdecimal/bigdecimal.c: fixed typo. same as r39830
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ayumin (Ayumu AIZAWA)
07:19 PM Revision 6f072a36 (git): * ext/bigdecimal/bigdecimal.c: fixed typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ayumin (Ayumu AIZAWA)
07:07 PM Bug #8124: gem fails to install valid gems
Please check results of "gem source" command. hsbt (Hiroshi SHIBATA)
06:02 PM Bug #8124 (Closed): gem fails to install valid gems
I'm not able to reproduce this, but many people have reported it on occasion.
$ gem install bundler
ERROR...
Anonymous
06:34 PM Revision 62565929 (git): * test/ruby/test_signal.rb (test_hup_me): added a few comments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
06:26 PM Revision 8c52515e (git): * thread.c (ruby_kill): added a few comments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
06:26 PM Revision df4fcd34 (git): * 2013-03-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:26 PM Revision c9073822 (git): * thread.c (ruby_kill): release GVL while waiting signal delivered.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
05:06 PM Bug #7267 (Closed): Dir.glob on Mac OS X returns unexpected string encodings for unicode file names
This issue was solved with changeset r39821.
Kenny, thank you for reporting this issue.
Your contribution to Ruby is ...
nobu (Nobuyoshi Nakada)
04:12 PM Revision 55f14b45 (git): merge revision(s) 39525: [Backport #8102]
configure.in: escape double-quotes
* configure.in (unexpand_shvar): escape double-quotes in backquotes in
...
nagachika (Tomoyuki Chikanaga)
03:05 PM Bug #8100: Segfault in trunk
I'm also getting segfaults on Ruby 2.0.0. It seems to be related to threading or forking. Can't quite put my figure o... wardrop (Tom Wardrop)
01:11 AM Bug #8100: Segfault in trunk
Forgot to add a link to the repo on github: https://github.com/zzak/segfault_spec.rb zzak (zzak _)
03:04 PM Bug #8000: "require 'tk'" segfaults on 64-bit linux with Tk 8.6
Attached is the gdb backtrace from running nagai's test script. edmccard (Ed McCardell)
11:09 AM Bug #8000: "require 'tk'" segfaults on 64-bit linux with Tk 8.6
That script,
----------------------------------------------------------
module TkCore; RUN_EVENTLOOP_ON_MAIN_THREAD ...
edmccard (Ed McCardell)
10:53 AM Bug #8000: "require 'tk'" segfaults on 64-bit linux with Tk 8.6
Could you test the following script?
----------------------------------------------------------
module TkCore; R...
nagai (Hidetoshi Nagai)
02:53 PM Bug #8122: [patch] gc: GC.stat improvements and related cleanup
(2013/03/19 11:58), authorNari (Narihiro Nakamura) wrote:
> ko1-san, what do you think?

(1) Performance

...
ko1 (Koichi Sasada)
11:58 AM Bug #8122: [patch] gc: GC.stat improvements and related cleanup
ko1-san, what do you think? authorNari (Narihiro Nakamura)
11:29 AM Bug #8122 (Closed): [patch] gc: GC.stat improvements and related cleanup
I propose 4 related patches below. The end result is more information from GC.stat about mark and sweep activity.
...
tmm1 (Aman Karmani)
01:52 PM Bug #8123 (Closed): Transcoding exception when using replace along with universal_newline
The following can be reproduced on 1.9.3-p385, 1.9.3-p392, and 2.0.0-p0.
body, charset = "hey", "hey".encoding.t...
k776 (Kieran Pilkington)
11:27 AM Feature #8024 (Rejected): Lazy sweep を on/off するための機能
特にみなさんから反論もなさそうなのでRejectしておきます。 authorNari (Narihiro Nakamura)
11:05 AM Feature #8121 (Closed): updated Curses::Window example
The example on http://ruby-doc.org/stdlib-2.0/libdoc/curses/rdoc/Curses/Window.html produces somewhat garbled output.... hramrach (Michal Suchanek)
10:51 AM Revision d617690a (git): * ruby_kill (internal.h, thread.c): use rb_pid_t instead of pid_t.
this fixes the build failure of mswin introduced at r39819.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39824...
U.Nakamura
10:44 AM Bug #8120 (Rejected): OptionParser is not handling lists of arguments correctly
Only the first element in a list of arguments is being processed by OptionParser. With the following program:
---...
jpsember (Jeff Sember)
08:40 AM Revision e0b74f8a (git): * test/win32ole/test_err_in_callback.rb: debug print. I'll remove this later.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
08:18 AM Bug #8051 (Third Party's Issue): linux_iocparm_len in io.c is ifdef __linux__, but uses glibc specifics
_IOC_SIZE is not glibc feature. It's a Linux feature. Please use Linux aware libc. kosaki (Motohiro KOSAKI)
08:09 AM Revision 10f5312d (git): convert with one converter
* string.c (rb_str_conv_enc_opts): convert with one converter, instead
of re-creating converters for each buffer ex...
nobu (Nobuyoshi Nakada)
08:06 AM Revision 29dc980e (git): compose HFS file names
* dir.c (glob_helper): compose HFS file names from UTF8-MAC.
[ruby-core:48745] [Bug #7267]
git-svn-id: svn+ssh://...
nobu (Nobuyoshi Nakada)
08:04 AM Revision 353cd01e (git): * dir.c (join_path): move length of path to an argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:23 AM Feature #8119 (Assigned): more efficient version of Rinda::TupleSpaceProxy.take
zzak (zzak _)
06:13 AM Feature #8119 (Closed): more efficient version of Rinda::TupleSpaceProxy.take
=begin
The purpose of Rinda::TupleSpaceProxy is to avoid losing tuples when a client disconnects during a #take ca...
vjoel (Joel VanderWerf)
04:40 AM Revision 4ea96ece (git): * internal.h: added a declaration of ruby_kill().
* thread.c (ruby_kill): helper function of kill().
* signal.c (rb_f_kill): use ruby_kill() instead of kill().
* sign...
kosaki (Motohiro KOSAKI)
03:17 AM Revision b945ad28 (git): * io.c (linux_iocparm_len): enable only exist _IOC_SIZE().
Because musl libc doesn't have it. [Bug #8051] [ruby-core:53229]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3...
kosaki (Motohiro KOSAKI)
01:17 AM Bug #8113 (Closed): ArgumentError: cannot interpret as DNS name: nil
This was fixed by r39725. There is a backport ticket #8054 drbrain (Eric Hodel)
12:53 AM Bug #8113: ArgumentError: cannot interpret as DNS name: nil
I cannot reproduce this with: ruby 2.1.0dev (2013-03-18 trunk 39805)
[x86_64-linux]

$irb -ropen-uri
open("h...
zzak (zzak _)
01:09 AM Revision 3ee89c62 (git): * ext/objspace/objspace.c: Fix typo in doc. Patch by Sho Hashimoto.
[Bug #8116] [ruby-dev:47177]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39817 b2dd03c8-39d4-4d8f-98ff-823fe69...
sorah (Sorah Fukumori)
12:30 AM Bug #8092 (Closed): [patch] gc: improve accuracy of objspace_live_num() and allocated/freed counters
This issue was solved with changeset r39812.
Aman, thank you for reporting this issue.
Your contribution to Ruby is g...
authorNari (Narihiro Nakamura)
12:22 AM Bug #8092: [patch] gc: improve accuracy of objspace_live_num() and allocated/freed counters
Wow, thanks!! I'll commit it soon. authorNari (Narihiro Nakamura)

03/18/2013

11:16 PM Bug #8092: [patch] gc: improve accuracy of objspace_live_num() and allocated/freed counters
With this updated patch the test is passing both before and after r39811. Problem was in finalize_list. After r39811 ... tmm1 (Aman Karmani)
10:27 PM Bug #8092: [patch] gc: improve accuracy of objspace_live_num() and allocated/freed counters
This test is passing for me on trunk. Before r39811 it is failing.
[ 92/132] TestGc#test_stat ...
tmm1 (Aman Karmani)
05:32 PM Bug #8092: [patch] gc: improve accuracy of objspace_live_num() and allocated/freed counters
Thank you for bug report.
But, the following test case is failure.
I think ko1-san is the implementer of GC.sta...
authorNari (Narihiro Nakamura)
09:52 PM Bug #7537: OptionParser treats negative digits as options
Sent a pull-request. https://github.com/ruby/ruby/pull/259
I've made changes the same way as python do -- http://docs...
prijutme4ty (Ilya Vorontsov)
09:52 PM Bug #8115 (Closed): make install DESTDIR=/my/install/path fails
=begin
In Fedora packaging, we used to use (({make install DESTDIR=/my/install/path})) to install compiled extension...
vo.x (Vit Ondruch)
09:44 PM Bug #8093 (Closed): [patch] gc: avoid unnecessary heap growth
This issue was solved with changeset r39811.
Aman, thank you for reporting this issue.
Your contribution to Ruby is g...
authorNari (Narihiro Nakamura)
06:15 PM Bug #8093: [patch] gc: avoid unnecessary heap growth
Thank you for the bug report.
I think this patch is acceptable.
ko1-san, what do you think?
# Because r37970 was...
authorNari (Narihiro Nakamura)
09:16 PM Bug #8114 (Closed): Issue in test coverage for CRL
wrt: https://github.com/ruby/ruby/blob/trunk/test/openssl/test_x509crl.rb#L104
The crl variable seems to be unused, ...
vipulnsward (Vipul Amler)
08:48 PM Bug #8113 (Closed): ArgumentError: cannot interpret as DNS name: nil
Loading development environment (Rails 3.2.12)
irb(main):001:0> open("http://www.ruby-lang.org/") {|f|
irb(main):00...
jaz_lim (Jaz Lim)
08:18 PM Feature #8111 (Closed): Redmine Manager?
How/Who do you contact for Redmine management issues? trans (Thomas Sawyer)
06:26 PM Feature #8110 (Closed): Regex methods not changing global variables
It is useful to have methods allowing pattern matching without setting global variables. It can be very hard to under... prijutme4ty (Ilya Vorontsov)
06:03 PM Bug #8095 (Closed): [patch] gc: fix unlimited memory growth with large values of RUBY_FREE_MIN
This issue was solved with changeset r39810.
Aman, thank you for reporting this issue.
Your contribution to Ruby is g...
authorNari (Narihiro Nakamura)
05:39 PM Revision ab31e97c (git): Add comments to r39808
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
05:15 PM Revision 357b8c06 (git): * configure.in: set ac_cv_prog_cxx if CXX is supplied.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kenta Murata
04:22 PM Revision 5ef1525b (git): * configure.in: Fix c++ compiler auto-selection not only for
Darwin 11.x, but also the other versions of Darwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39814 b2dd03c8...
Kenta Murata
04:14 PM Bug #8100: Segfault in trunk
I got a similar one too, see here: https://github.com/padrino/padrino-framework/issues/1131
DAddYE (Davide D'Agostino)
10:51 AM Bug #8100: Segfault in trunk
I've updated the description of this ticket, because I'm able to reproduce a similar bug. Only similar in that we're ... zzak (zzak _)
03:30 PM Revision 65a709ae (git): * 2013-03-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:30 PM Revision 80329d3a (git): * gc.c: Improve accuracy of objspace_live_num() and
allocated/freed counters. patched by tmm1(Aman Gupta).
[Bug #8092] [ruby-core:53392]
git-svn-id: svn+ssh://ci.ruby...
authorNari (Narihiro Nakamura)
03:22 PM Bug #7267: Dir.glob on Mac OS X returns unexpected string encodings for unicode file names
Attaching my proof of concept code.
diff --git a/dir.c b/dir.c
index d4b3dd3..126c27e 100644
--- a/dir.c
+++ b/...
naruse (Yui NARUSE)
12:44 PM Revision 1bc93a15 (git): * gc.c: Avoid unnecessary heap growth. patched by tmm1(Aman Gupta).
[Bug #8093] [ruby-core:53393]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39811 b2dd03c8-39d4-4d8f-98ff-823fe6...
authorNari (Narihiro Nakamura)
12:04 PM Feature #2837 (Closed): Compile-time constant for HEAP_GROWTH_FACTOR (patch attached)
I commited r39746.
We can change HEAP_GROWTH_FACTOR via an enviroment variable now.
So I close this ticket.
Thanks.
authorNari (Narihiro Nakamura)
09:03 AM Revision 03c7f0ca (git): * gc.c: Fix unlimited memory growth with large values of
RUBY_FREE_MIN. patched by tmm1(Aman Gupta).
[Bug #8095] [ruby-core:53405]
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
authorNari (Narihiro Nakamura)
07:42 AM Bug #8049 (Rejected): Compiling error on Ruby 2.0 with OpenSSL
Was a problem on the client side. See http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/405477 ff. MartinBosslet (Martin Bosslet)
05:47 AM Revision ac454412 (git): * test/win32ole/test_err_in_callback.rb
(TestErrInCallBack#test_err_in_callback): shouldn't create a file in
source directory.
git-svn-id: svn+ssh://ci.r...
U.Nakamura
04:31 AM Revision aa24857f (git): * vm_dump.c (backtrace): on darwin use custom backtrace() to trace
beyond _sigtramp. darwin's backtrace can't trace beyond signal
trampoline with sigaltstack.
* configure.in: check ...
naruse (Yui NARUSE)
02:06 AM Revision f8eaf3c6 (git): * vm_exec.h (END_INSN): revert r39517 because the segv seems fixed by
r39806.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
01:45 AM Revision 9b113a0d (git): * vm_exec.c: Correct predefined macro name. This typo is introduced by
r36534 and should be backported to ruby_2_0_0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39806 b2dd03c8-39d4...
naruse (Yui NARUSE)

03/17/2013

06:19 PM Revision d883d756 (git): * array.c: Typo in Array#delete by Timo Sand [GH fixes #258]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
04:25 PM Revision ade879ec (git): * 2013-03-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:25 PM Revision a9cbf641 (git): * io.c (io_fillbuf): show fd number on failure to debug.
http://c5632.rubyci.org/~chkbuild/ruby-trunk/log/20130316T050302Z.diff.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.or...
naruse (Yui NARUSE)
03:13 PM Revision d32d8b33 (git): merge revision(s) 39731: [Backport #7991]
* lib/rubygems/commands/setup_command.rb: Don't delete non-rubygems
files when installing RubyGems.
...
nagachika (Tomoyuki Chikanaga)
03:11 PM Revision cd1d3422 (git): merge revision(s) 39696: [Backport #7991]
* lib/rubygems/ext/ext_conf_builder.rb (Gem::Ext::ExtConfBuilder.build):
it is impossible to predict which ...
nagachika (Tomoyuki Chikanaga)
03:07 PM Revision cae2f1eb (git): merge revision(s) 39621,39622: [Backport #7991]
* lib/rubygems/commands/setup_command.rb: Install .pem files.
* test/rubygems/test_gem_commands_setup_comma...
nagachika (Tomoyuki Chikanaga)
03:03 PM Revision c071b47a (git): merge revision(s) 39608: [Backport #7749]
* test/rubygems/test_require.rb: Fix tests when 'a.rb' exists.
[ruby-trunk - Bug #7749]
git-svn-id: svn+...
nagachika (Tomoyuki Chikanaga)
03:02 PM Revision 86ae4bc2 (git): merge revision(s) 39607: [Backport #7713]
* lib/rubygems.rb: Allow specification of directory permissions.
[ruby-trunk - Bug #7713]
* test/...
nagachika (Tomoyuki Chikanaga)
03:01 PM Revision 3e3f0346 (git): merge revision(s) 39606,39609: [Backport #8019]
* lib/rubygems/commands/query_command.rb: Only fetch remote specs when
showing details. [ruby-trunk - Bug...
nagachika (Tomoyuki Chikanaga)
02:57 PM Revision d1ce1051 (git): merge revision(s) 39603: [Backport #7991]
for [Bug #7698]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39796 b2dd03c8-39d4-4d8f-98ff-823fe...
nagachika (Tomoyuki Chikanaga)
02:53 PM Revision 9a756111 (git): merge revision(s) 39597: [Backport #7991]
* lib/rubygems.rb: Bump version to 2.0.1 for upcoming bugfix release
* lib/rubygems/ext/ext_conf_builder.rb...
nagachika (Tomoyuki Chikanaga)
02:52 PM Revision 64766e9d (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:51 PM Revision b2a8d8a8 (git): merge revision(s) 39533: [Backport #7991]
* lib/rubygems/available_set.rb: Undent for style
* lib/rubygems/dependency_installer.rb: Pick latest prer...
nagachika (Tomoyuki Chikanaga)
02:28 PM Revision a4e52a1a (git): merge revision(s) 39590,39592: [Backport #7991]
* lib/rubygems/ext/ext_conf_builder.rb (Gem::Ext::ExtConfBuilder.build):
clear DESTDIR so RUBYARCHDIR and R...
nagachika (Tomoyuki Chikanaga)
02:27 PM Revision b28cb4fa (git): merge revision(s) 39579: [Backport #7991]
* lib/rubygems/ext/ext_conf_builder.rb (Gem::Ext::ExtConfBuilder.build):
fix for unusal cases again. insta...
nagachika (Tomoyuki Chikanaga)
02:22 PM Revision 8ff247ae (git): merge revision(s) 39560,39562,39572: [Backport #7991]
* lib/rubygems/ext/ext_conf_builder.rb
(Gem::Ext::ExtConfBuilder.hack_for_obsolete_sytle_gems): remove
...
nagachika (Tomoyuki Chikanaga)
02:20 PM Revision bbe80008 (git): merge revision(s) 39559: [Backport #7991]
* lib/rubygems/ext/ext_conf_builder.rb (Gem::Ext::ExtConfBuilder.build):
use RUBYOPT instead of -r option, ...
nagachika (Tomoyuki Chikanaga)
02:20 PM Revision 5d6aa9ba (git): merge revision(s) 39558: [Backport #7991]
* lib/rubygems/ext/ext_conf_builder.rb (Gem::Ext::ExtConfBuilder.build):
revert use of temporary directory ...
nagachika (Tomoyuki Chikanaga)
02:19 PM Revision 937cf089 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:18 PM Revision 1ec03bfc (git): merge revision(s) 39542,39545: [Backport #7991]
* lib/rubygems/ext/builder.rb: Fix incompatibilities when installing
extensions. Patch by Nobu.
...
nagachika (Tomoyuki Chikanaga)
05:53 AM Feature #7895: Exception#backtrace_locations to go with Thread#backtrace_locations and Kernel#caller_locations
On Sat, Mar 16, 2013 at 02:12:03AM +0900, headius (Charles Nutter) wrote:
>
> Issue #7895 has been updated by h...
Anonymous
03:58 AM Feature #8107: [patch] runtime flag to track object allocation metadata
No objections to adding this feature to MRI, but anything that goes on the standard core classes needs to involve oth... headius (Charles Nutter)
01:34 AM Revision e4811dc6 (git): * array.c: fix rdoc. [ruby-core:53485] [ruby-trunk - Bug #8108]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)

03/16/2013

08:01 PM Feature #8107: [patch] runtime flag to track object allocation metadata
> + rb_gc_set_params();
> +
> if (!(opt->disable & DISABLE_BIT(rubyopt)) &&
> opt->safe_level == 0 && (s...
tmm1 (Aman Karmani)
05:47 PM Feature #8107 (Closed): [patch] runtime flag to track object allocation metadata
When a ruby program contains a reference leak, debugging is a lot easier if you know where each object was allocated.... tmm1 (Aman Karmani)
05:40 PM Revision 326dd6e0 (git): * ext/date/date_core.c: include sys/time.h for avoiding implicit
declaration of gettimeofday().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39784 b2dd03c8-39d4-4d8f-98ff-823fe...
kosaki (Motohiro KOSAKI)
03:58 PM Revision 28d3acb0 (git): * include/ruby/missing.h: removed __linux__. it's unnecessary.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
03:16 PM Revision 6b83f5e6 (git): * 2013-03-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:16 PM Revision 7c14f03c (git): missing.h: build fix
* include/ruby/missing.h: include time.h and sys/time.h iff needed,
but excepct for sys/time.h on linux to get rid ...
nobu (Nobuyoshi Nakada)
02:48 PM Revision 090a6ca4 (git): test_bignum.rb: refine test
* test/ruby/test_bignum.rb (test_interrupt_during_to_s): rename and
merge with assert_interrupt, separate Bignum po...
nobu (Nobuyoshi Nakada)
02:48 PM Revision de9911f5 (git): Makefile.sub: fix mswin build
* win32/Makefile.sub (config.h): fix mswin build, also VC has time.h
and struct timeval.
git-svn-id: svn+ssh://ci....
nobu (Nobuyoshi Nakada)
10:20 AM Bug #8103 (Closed): Fix for URI.decode_www_form ArgumentError
URI.decode_www_form pukes out an ArgumentError if passed any parameter names that aren't followed by an equals sign. ... misfo (Trent Ogren)
10:05 AM Feature #6154: Eliminate extending WaitReadable/Writable at runtime
Since a committer nominee was given permission to commit I think you should commit it drbrain (Eric Hodel)
02:24 AM Feature #6154: Eliminate extending WaitReadable/Writable at runtime
mame or matz: Is this change approved? If so, I can proceed with a patch that includes what I've already posted plus ... headius (Charles Nutter)
10:00 AM Bug #8091: Class.new is not called when class is created using class keyword
alexeymuranov (Alexey Muranov) wrote:
> I think partial overloading can be done by defining the `initialize` private...
anuraguniyal (anurag uniyal)
10:00 AM Bug #8091: Class.new is not called when class is created using class keyword
Initialize is also not called on `class X` but it is called on `Class.new`
class Class
alias old_init...
anuraguniyal (anurag uniyal)
09:37 AM Feature #8096: introduce Time.current_timestamp
Both Postgres and MySQL store timestamps with microsecond precision:
http://www.postgresql.org/docs/9.2/static/dat...
drbrain (Eric Hodel)
06:53 AM Feature #8096: introduce Time.current_timestamp
MySQL stores/transmits TIMESTAMP fields as integer seconds.

Sent from my phone, so excuse the typos.
On Mar 1...
phluid61 (Matthew Kerwin)
06:23 AM Feature #8096: introduce Time.current_timestamp
(3/15/13 4:36 PM), vipulnsward (Vipul Amler) wrote:
>
> Issue #8096 has been updated by vipulnsward (Vipul Amle...
kosaki (Motohiro KOSAKI)
05:36 AM Feature #8096: introduce Time.current_timestamp
=begin
It could be any number of purposes. On top of my head I could think of remote systems, timestamps persisted t...
vipulnsward (Vipul Amler)
08:55 AM Feature #7791: Let symbols be garbage collected
marcandre (Marc-Andre Lafortune) wrote:
> So it's probably only MRI that does stuff like `rb_funcall(obj, '>', 1, IN...
kstephens (Kurt Stephens)
07:10 AM Feature #7791: Let symbols be garbage collected
Student (Nathan Zook) wrote:
> I'm sorry, but this example just gets more strange the more you explain it. Are you...
rosenfeld (Rodrigo Rosenfeld Rosas)
06:49 AM Feature #7791: Let symbols be garbage collected
I'm sorry, but this example just gets more strange the more you explain it. Are you saying that there is one table ... Student (Nathan Zook)
06:05 AM Feature #7791: Let symbols be garbage collected
kstephens (Kurt Stephens) wrote:
> Student (Nathan Zook) wrote:
> > Questions:
> > 1) How certain are you that t...
Student (Nathan Zook)
03:54 AM Feature #7791: Let symbols be garbage collected
kstephens (Kurt Stephens) wrote:
> Unless we have a class of VALUES < 127 that are immediate single-ASCII character...
marcandre (Marc-Andre Lafortune)
03:33 AM Feature #7791: Let symbols be garbage collected
I was thinking about how to implement this in JRuby. Couldn't you just have *all* Symbols be weakly-referenced in the... headius (Charles Nutter)
02:06 AM Feature #7791: Let symbols be garbage collected
marcandre (Marc-Andre Lafortune) wrote:
> kstephens (Kurt Stephens) wrote:
> > I'm considering creating a first-cl...
kstephens (Kurt Stephens)
01:47 AM Feature #7791: Let symbols be garbage collected
kstephens (Kurt Stephens) wrote:
> I'm considering creating a first-class struct RSymbol and making ID synonymous w...
marcandre (Marc-Andre Lafortune)
01:32 AM Feature #7791: Let symbols be garbage collected
Student (Nathan Zook) wrote:
> Questions:
> 1) How certain are you that this covers all of the cases?
With the ...
kstephens (Kurt Stephens)
08:05 AM Revision 4002be60 (git): console.c: supppress warnings
* ext/io/console/console.c (console_iflush, console_oflush): supppress
unused-but-set-variable warnings on no tcflu...
nobu (Nobuyoshi Nakada)
07:28 AM Revision cab12477 (git): mingw build fix
* configure.in: struct timeval is defined in winsock2.h on mingw.
* include/ruby/missing.h: include time.h for time_...
nobu (Nobuyoshi Nakada)
07:28 AM Revision af24f5ff (git): io.c: max_file_descriptor
* io.c (max_file_descriptor): rb_atomic_t for ATOMIC_CAS().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39776 ...
nobu (Nobuyoshi Nakada)
05:07 AM Revision 92b367e0 (git): * thread.c: disabled _FORTIFY_SOURCE for avoid to hit glibc bug.
[Bug #8080] [ruby-core:53349]
* test/ruby/test_io.rb (TestIO#test_io_select_with_many_files):
test for the above.
...
kosaki (Motohiro KOSAKI)
05:07 AM Revision c824d47e (git): * include/ruby/missing.h (__syscall): moved to...
* io.c: here. because __syscall() is only used from io.c.
* include/ruby/missing.h: move "#include <sys/type.h>" to ...
kosaki (Motohiro KOSAKI)
05:07 AM Revision 03a6ce80 (git): * include/ruby/missing.h (struct timespec): include <sys/time.h>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
05:06 AM Revision 798ff850 (git): * configure.in: check struct timeval exist or not.
* include/ruby/missing.h (struct timeval): check HAVE_STRUCT_TIMEVAL
properly. and don't include sys/time.h if stru...
kosaki (Motohiro KOSAKI)
05:06 AM Revision 2e544471 (git): * configure.in (_FORTIFY_SOURCE): added a few comments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
03:17 AM Bug #7037 (Closed): float formatting inconsistently rounds half to even
>7037: float formatting inconsistently rounds half to even
> * https://bugs.ruby-lang.org/issues/7037
> * I belie...
kosaki (Motohiro KOSAKI)
02:27 AM Feature #6309: Add a reference queue for weak references
I request a ruling by matz about adding a ReferenceQueue to weakref.rb. headius (Charles Nutter)
02:26 AM Feature #6308: Eliminate delegation from WeakRef
I request a ruling by matz for making the backward-incompatible change of having Weakref no longer be a Delegate. Alt... headius (Charles Nutter)
02:12 AM Feature #7895: Exception#backtrace_locations to go with Thread#backtrace_locations and Kernel#caller_locations
kallistec (Daniel DeLeo) wrote:
> Hi, I work on Opscode's Chef, a server configuration framework. I have an interest...
headius (Charles Nutter)
02:01 AM Feature #8090: resolv.rb checks platform based on RUBY_PLATFORM, which is insufficient for JRuby
I thought host_os is the OS that we're *actually* running on, and target_os was the OS name Ruby was built for. Was I... headius (Charles Nutter)

03/15/2013

11:11 PM Feature #8096 (Feedback): introduce Time.current_timestamp
vipulnsward (Vipul Amler) wrote:
> A lot of scenarios and applications require the use of Time.now.to_i which is use...
nobu (Nobuyoshi Nakada)
06:23 PM Feature #8096: introduce Time.current_timestamp
Tanaka Akira <[email protected]> wrote:
> 2013/3/15 vipulnsward (Vipul Amler) <[email protected]>:
>
> > A lot...
normalperson (Eric Wong)
03:53 PM Feature #8096: introduce Time.current_timestamp
2013/3/15 vipulnsward (Vipul Amler) <[email protected]>:

> A lot of scenarios and applications require the ...
akr (Akira Tanaka)
03:07 PM Feature #8096: introduce Time.current_timestamp
This is an *excellent* idea. Being able to get timestamps without creating an entire Time object would be really nice... headius (Charles Nutter)
02:17 AM Feature #8096: introduce Time.current_timestamp
More like nanosecond. Atleast thats what currently happens, if I am not wrong. vipulnsward (Vipul Amler)
01:47 AM Feature #8096: introduce Time.current_timestamp
Is one second precision sufficient? drbrain (Eric Hodel)
12:28 AM Feature #8096 (Feedback): introduce Time.current_timestamp
=begin
A lot of scenarios and applications require the use of (({Time.now.to_i})) which is used as current_timestamp...
vipulnsward (Vipul Amler)
11:06 PM Bug #8099 (Closed): Time can be mutated by send :initialize
This issue was solved with changeset r39766.
Charles, thank you for reporting this issue.
Your contribution to Ruby i...
nobu (Nobuyoshi Nakada)
03:39 PM Bug #8099 (Closed): Time can be mutated by send :initialize
It is possible to alter the value of a given Time object by re-sending :initialize. No other methods can cause the ti... headius (Charles Nutter)
09:57 PM Feature #7791: Let symbols be garbage collected
Student (Nathan Zook) wrote:
> ...Second, I really don't understand your example. How do particular values for a pa...
rosenfeld (Rodrigo Rosenfeld Rosas)
10:22 AM Feature #7791: Let symbols be garbage collected
rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
> Of course the params are verified and there is no risk of SQL injection...
Student (Nathan Zook)
10:09 AM Feature #7791: Let symbols be garbage collected
kstephens (Kurt Stephens) wrote:
> Mark and sweep the symbol table like any other GC heap.
>
> However there are...
Student (Nathan Zook)
03:00 AM Feature #7791: Let symbols be garbage collected
kstephens (Kurt Stephens) wrote:
> Mark and sweep the symbol table like any other GC heap.
>
> However there are...
marcandre (Marc-Andre Lafortune)
02:34 AM Feature #7791: Let symbols be garbage collected
Mark and sweep the symbol table like any other GC heap.
However there are some issues in the C API.
IDs in the C AP...
kstephens (Kurt Stephens)
09:26 PM Revision e1807e59 (git): * thread_pthread.c (numberof): renamed from ARRAY_SIZE() because
other all files use numberof().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39770 b2dd03c8-39d4-4d8f-98ff-823f...
kosaki (Motohiro KOSAKI)
08:58 PM Bug #8100 (Closed): Segfault in trunk
=begin
Full backtrace (both VM, C and Ruby) is both attached and available at https://travis-ci.org/rtomayko/tilt/jo...
judofyr (Magnus Holm)
05:50 PM Revision 4bfea99d (git): r39766 denied to initialized already initialized time object
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
04:55 PM Revision 00d9f130 (git): * 2013-03-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:55 PM Revision a4010f4f (git): * test/ruby/test_lazy_enumerator.rb (TestLazyEnumerator#test_drop_while):
Modify while condition to show dropping remains off after first false
value. This change was made in 39711.
git-s...
headius (Charles Nutter)
04:41 PM Bug #8091: Class.new is not called when class is created using class keyword
anuraguniyal (anurag uniyal) wrote:
> I don't want to detect class creation I wan to overload new, which should be...
alexeymuranov (Alexey Muranov)
09:11 AM Bug #8091: Class.new is not called when class is created using class keyword
`new' is one of the ways to create an object, and most obvious probably, but not the only way.
For examples, string ...
nobu (Nobuyoshi Nakada)
03:15 AM Bug #8091: Class.new is not called when class is created using class keyword
nobu (Nobuyoshi Nakada) wrote:
> Correct, not a bug.
Why this is not a bug if classes created differently have di...
anuraguniyal (anurag uniyal)
03:13 AM Bug #8091: Class.new is not called when class is created using class keyword
marcandre (Marc-Andre Lafortune) wrote:
> Note that if you need to detect class creation, that can be done using the...
anuraguniyal (anurag uniyal)
02:06 PM Revision 84085167 (git): time.c: check re-initialize
* time.c (GetTimeval): check if already initialized instance.
* time.c (GetNewTimeval): check if newly created instan...
nobu (Nobuyoshi Nakada)
11:36 AM Revision 55549b85 (git): * test/rubygems/test_gem_package.rb (test_verify_nonexistent): fix
syntax error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:20 AM Revision d4c1418a (git): * test/rubygems/test_gem_package.rb (test_verify_nonexistent): should
make no assumptions on system error messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39764 b2dd03c8-39d4-...
nobu (Nobuyoshi Nakada)
11:19 AM Revision c7c3a275 (git): error.c: rb_sys_fail_path_in
* error.c (syserr_initialize): add optional function name.
* error.c (rb_sys_fail_path_in): rename and move from fil...
nobu (Nobuyoshi Nakada)
09:07 AM Bug #8085 (Third Party's Issue): Debian configure failure because of nonexistent GCC flag -Werror=shorten-64-to-32
nobu (Nobuyoshi Nakada)
03:06 AM Bug #8085 (Rejected): Debian configure failure because of nonexistent GCC flag -Werror=shorten-64-to-32
> Oops! Turns out this is a bug in ruby-build:
Then, closed.
kosaki (Motohiro KOSAKI)
02:27 AM Bug #8085: Debian configure failure because of nonexistent GCC flag -Werror=shorten-64-to-32
Oops! Turns out this is a bug in ruby-build:
https://github.com/sstephenson/ruby-build/issues/325
Sorry.
meta (mathew murphy)
08:57 AM Feature #8098 (Rejected): Add __DIR__ to compliment __FILE__
See #3346, in particular https://bugs.ruby-lang.org/issues/3346#note-17 drbrain (Eric Hodel)
08:27 AM Feature #8098: Add __DIR__ to compliment __FILE__
=begin
IIRC (({__DIR__})) has already been shot down because of concerns that introducing a new keyword might break ...
Anonymous
08:24 AM Feature #8098 (Rejected): Add __DIR__ to compliment __FILE__
There should be a __DIR__ constant to compliment __FILE__. postmodern (Hal Brodigan)
08:29 AM Revision b5a9cd8f (git): fix filename
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
07:15 AM Feature #8088: Method#parameters (and friends) should provide useful information about core methods
marcandre (Marc-Andre Lafortune) wrote:
> headius (Charles Nutter) wrote:
> > I was contemplating hacking something...
headius (Charles Nutter)
06:14 AM Feature #8088: Method#parameters (and friends) should provide useful information about core methods
headius (Charles Nutter) wrote:
> I was contemplating hacking something together myself, in fact. Would like to see ...
marcandre (Marc-Andre Lafortune)
03:40 AM Feature #8088: Method#parameters (and friends) should provide useful information about core methods
marcandre (Marc-Andre Lafortune) wrote:
> +1.
>
> I plan on proposing a new C API for registering methods, so all...
headius (Charles Nutter)
06:08 AM Revision a7e5f0b5 (git): internal.h: export rb_sys_fail_path_with_func
* internal.h (rb_sys_fail_path_with_func): export for
socket/basicsocket.c.
git-svn-id: svn+ssh://ci.ruby-lang.org...
nobu (Nobuyoshi Nakada)
05:51 AM Revision 0d3d9eff (git): file.c: rb_sys_fail_path_with_func
* file.c (rb_sys_fail_path_with_func): share same function, and path
may be nil.
git-svn-id: svn+ssh://ci.ruby-lan...
nobu (Nobuyoshi Nakada)
04:09 AM Bug #8094 (Closed): Docs bug for Proc#arity
This issue was solved with changeset r39758.
Jack, thank you for reporting this issue.
Your contribution to Ruby is g...
zzak (zzak _)
01:07 AM Bug #8034: File.expand_path('something', '~') do not include home path
h.shirosaki (Hiroshi Shirosaki) wrote:
> Luis, thank you for your work.
> `xfree(wpath);` would be needed before rb...
luislavena (Luis Lavena)

03/14/2013

11:25 PM Revision bfd52c98 (git): * file.c (rb_sys_fail_path): define & use rb_sys_fail_path0 like r39752
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:23 PM Feature #8088: Method#parameters (and friends) should provide useful information about core methods
I would love to see this change as well. Quite a few times already I've
had to retrieve the arguments of a method ...
yorickpeterse (Yorick Peterse)
10:59 PM Feature #8088: Method#parameters (and friends) should provide useful information about core methods
+1.
I plan on proposing a new C API for registering methods, so allow for complete information, including keyword ...
marcandre (Marc-Andre Lafortune)
07:56 AM Feature #8088 (Open): Method#parameters (and friends) should provide useful information about core methods
I was wiring up #parameters to work for native methods today when I realized MRI doesn't give very good information a... headius (Charles Nutter)
11:02 PM Bug #8091: Class.new is not called when class is created using class keyword
Note that if you need to detect class creation, that can be done using the `inherited` callback. marcandre (Marc-Andre Lafortune)
02:54 PM Bug #8091 (Rejected): Class.new is not called when class is created using class keyword
Correct, not a bug. nobu (Nobuyoshi Nakada)
10:30 AM Bug #8091 (Rejected): Class.new is not called when class is created using class keyword
=begin
When a class is created using ((|class|)) keyword, Class.new is not called but if class is created using ((|C...
anuraguniyal (anurag uniyal)
08:26 PM Feature #8083: Exit status is limited to one-byte values which is invalid for Windows
=begin
I cannot find exact definition of possible exit codes on Windows, but here is ExitProcess function declaratio...
rutsky (Vladimir Rutsky)
03:53 PM Feature #8083 (Assigned): Exit status is limited to one-byte values which is invalid for Windows
This may be not a bug but a feature. usa (Usaku NAKAMURA)
02:44 PM Feature #8083: Exit status is limited to one-byte values which is invalid for Windows
According to the document http://en.wikipedia.org/wiki/Exit_status#Windows,
"Windows uses 32-bit signed integers as ...
phasis68 (Heesob Park)
05:17 AM Feature #8083 (Feedback): Exit status is limited to one-byte values which is invalid for Windows
Can you provide links to MSDN article that states this? (32-bits exit codes)
Thank you.
luislavena (Luis Lavena)
07:08 PM Revision 1b179216 (git): * proc.c: Typo in Proc.arity found by Jack Nagel [Bug #8094]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
06:46 PM Bug #8095 (Closed): [patch] gc: fix unlimited memory growth with large values of RUBY_FREE_MIN
Normally, do_heap_free is set to 65% of total slots available.
But if you specify a very large RUBY_FREE_MIN, then...
tmm1 (Aman Karmani)
04:59 PM Feature #7978: boolean to_i
I mean, my suggestion can cause problems if one uses `true`, `false`, `nil` for ternary logic, because `nil.to_i` and... alexeymuranov (Alexey Muranov)
04:55 PM Feature #7978: boolean to_i
What kind of problem do you imagine? I cannot think of any.
Matz.
matz (Yukihiro Matsumoto)
04:49 PM Feature #7978: boolean to_i
I understand however that there can be a problem if one wants, for example, to use `true`, `false`, `nil` for ternary... alexeymuranov (Alexey Muranov)
04:58 PM Bug #8094 (Closed): Docs bug for Proc#arity
The docs for Proc#arity in proc.c claim that

proc { |x=0, y| }.arity # => 0
the result is really "1".
Anonymous
04:21 PM Revision 3a3581d5 (git): * 2013-03-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:21 PM Revision 2642e020 (git): Makefile.sub: __FUNCTION__
* win32/Makefile.sub (config.h): __FUNCTION__ is available at least
VC9.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
nobu (Nobuyoshi Nakada)
04:21 PM Revision d24540f5 (git): file.c: insert separator
* file.c (rb_sys_fail_path0): insert separator between function name
and path name.
git-svn-id: svn+ssh://ci.ruby-...
nobu (Nobuyoshi Nakada)
02:31 PM Feature #8090: resolv.rb checks platform based on RUBY_PLATFORM, which is insufficient for JRuby
=begin
Because we haven't considered the case (({RUBY_PLATFORM})) means somethings different from CPU and OS.
If you...
nobu (Nobuyoshi Nakada)
10:55 AM Feature #8090: resolv.rb checks platform based on RUBY_PLATFORM, which is insufficient for JRuby
nobu (Nobuyoshi Nakada) wrote:
> Why not try to require 'win32/resolv' and rescue?
Yep, that works too. The origi...
headius (Charles Nutter)
09:22 AM Feature #8090: resolv.rb checks platform based on RUBY_PLATFORM, which is insufficient for JRuby
Why not try to require 'win32/resolv' and rescue? nobu (Nobuyoshi Nakada)
09:06 AM Feature #8090 (Closed): resolv.rb checks platform based on RUBY_PLATFORM, which is insufficient for JRuby
JRuby shares stdlib with MRI, and as a result we've had to patch a number of things. We'd like to get some of these c... headius (Charles Nutter)
12:56 PM Bug #8034 (Closed): File.expand_path('something', '~') do not include home path
This issue was solved with changeset r39751.
Pavel, thank you for reporting this issue.
Your contribution to Ruby is ...
luislavena (Luis Lavena)
12:26 PM Bug #8093 (Closed): [patch] gc: avoid unnecessary heap growth
In r37970, the following change was made:
> @@ -2063,7 +2070,7 @@ gc_prepare_free_objects(rb_objspace_t *objspace)...
tmm1 (Aman Karmani)
12:10 PM Bug #8092 (Closed): [patch] gc: improve accuracy of objspace_live_num() and allocated/freed counters
Test with large rails app:
ruby -e'
require "./config/environment"
stat, count = {}, {}
GC.star...
tmm1 (Aman Karmani)
08:41 AM Feature #8089 (Closed): Add one-shot multicast DNS support to Resolv
The attached patch adds one-shot multicast DNS (mDNS) support to Resolv per RFC 6762 section 5.1.
This is the easi...
drbrain (Eric Hodel)
07:59 AM Revision 844c04f4 (git): configure.in, file.c: RUBY_FUNCTION_NAME_STRING
* configure.in (rb_cv_function_name_string): macro for function name
string predefined identifier, __func__ in C99,...
nobu (Nobuyoshi Nakada)
06:23 AM Bug #8085 (Third Party's Issue): Debian configure failure because of nonexistent GCC flag -Werror=shorten-64-to-32
Trying to build Ruby 2.0.0 on Debian Stable:
ruby-2.0.0-p0/golf_prelude.c
/tmp/ruby-build.20130313161606.17854/ru...
meta (mathew murphy)
05:59 AM Revision fb34a260 (git): * file.c (rb_sys_fail_path): use rb_sys_fail_path0 only on GCC.
__func__ is C99 feature.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:55 AM Feature #7701: Non-optional (required) keyword args
trans (Thomas Sawyer) wrote:
> Wait. You are the one who brought it up in #16. I was just responding to that.
mam...
headius (Charles Nutter)
01:24 AM Feature #7701: Non-optional (required) keyword args
trans (Thomas Sawyer) wrote:
> So, in ((*real code*)), you ((*will*)) be looking at some file hidden far in a thirdp...
prijutme4ty (Ilya Vorontsov)
04:01 AM Revision 3bda122a (git): * file.c (rb_sys_fail_path0): add to append the name of called function
to ease debugging for example blow umask_spec failure.
http://fbsd.rubyci.org/~chkbuild/ruby-trunk/log/20130309T010...
naruse (Yui NARUSE)
03:56 AM Revision 2caf0bc8 (git): Refactor rb_file_expand_path_internal for dir_string corner cases
* win32/file.c (get_user_from_path): add internal function that retrieves
username from supplied path (refactored)...
luislavena (Luis Lavena)
03:55 AM Bug #7958: include FileUtils::Verbose gives NoMethodError when installing files with a different mode
It is not a band-aid. You are not even aware of the code enough to know it is not #extend, but #include. And it's fit... trans (Thomas Sawyer)
02:36 AM Bug #7958: include FileUtils::Verbose gives NoMethodError when installing files with a different mode
Your patch is a band-aid, overriding Module#extend is not a good practice, so I can't apply it. The ruby standard lib... drbrain (Eric Hodel)
03:49 AM Revision ca4397ad (git): update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:54 AM Revision 8283be28 (git): * NEWS: describe RUBY_HEAP_SLOTS_GROWTH_FACTOR.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e authorNari (Narihiro Nakamura)
02:23 AM Feature #7292: Enumerable#to_h
drbrain (Eric Hodel) wrote:
> There is a potential for a security exploit with Enumerable#to_h:
>
> user_input ...
marcandre (Marc-Andre Lafortune)
02:12 AM Feature #7292: Enumerable#to_h
=begin
There is a potential for a security exploit with Enumerable#to_h:
user_input = %w[rm -rf /]
system ['...
drbrain (Eric Hodel)
01:01 AM Revision 5f92934e (git): * 2013-03-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:01 AM Revision 2e3b394d (git): * doc/globals.rdoc: $? is thread-local
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
12:19 AM Bug #8084 (Closed): ext/tk/MANUAL_tcltklib.eucj is utf-8
ext/tk/MANUAL_tcltklib.eucj は中身が UTF-8 に変更されているので、ファイル名も変更した方が良いのではないでしょうか? znz (Kazuhiro NISHIYAMA)
12:11 AM Feature #7845 (Open): Strip doesn't handle unicode space characters in ruby 1.9.2 & 1.9.3 (does in 1.9.1)
Let's reopen this issue.
Yui: could you explain why strip wouldn't remove leading and trailing /\p{space}/ ? I can...
marcandre (Marc-Andre Lafortune)
 

Also available in: Atom