Project

General

Profile

Activity

From 02/12/2014 to 02/18/2014

02/18/2014

11:53 PM Feature #9113: Ship Ruby for Linux with jemalloc out-of-the-box
Note, this pattern of
1. Retaining large number of objects
2. Allocating a big chunk of objects (and releasing)
3. Repeating (2)
Is very representative of web apps / rails apps. For our application requests will range between ...
sam.saffron (Sam Saffron)
11:39 PM Feature #9113: Ship Ruby for Linux with jemalloc out-of-the-box
I can confirm 2 findings.
When heaps are small you barely notice a different.
When heaps grow and general memory fragmentation grows, jemalloc is far better.
I see a 6% reduction of RSS running discourse bench on 2.1.0 https://g...
sam.saffron (Sam Saffron)
11:48 PM Bug #9525: Stuck with Socket.pack_sockaddr_in
Motohiro KOSAKI wrote:
> I'm not an expert this area. But I guess we don't need to call getaddrinfo() in this case
> ...
Yes. It is the workaround I said.
akr (Akira Tanaka)
07:35 PM Bug #9525: Stuck with Socket.pack_sockaddr_in
Akr-san,
I'm not an expert this area. But I guess we don't need to call getaddrinfo() in this case
because the name was already resolved.
How about bypass to call getaddrinfo when 'host' is given by IP address?
kosaki (Motohiro KOSAKI)
06:57 PM Bug #9525: Stuck with Socket.pack_sockaddr_in
I checked a glibc code. I don't think fa3fc0fe5f fixed this issue. It is a mere optimization patch.
I'm not sure why kernel's netlink doesn't reply anything. But it may be worth to try upgrade your kernel.
Thanks.
kosaki (Motohiro KOSAKI)
03:38 PM Bug #9525: Stuck with Socket.pack_sockaddr_in
I think we can accept a workaround if there is a good patch. akr (Akira Tanaka)
05:24 AM Bug #9525: Stuck with Socket.pack_sockaddr_in
Thank you! Let me write a note here.
On my current environment, the glibc version was glibc-2.12-1.47.el6.x86_64.
I checked the latest centos rpm http://vault.centos.org/6.5/os/Source/SPackages/glibc-2.12-1.132.el6.src.rpm,
but ...
sonots (Naotoshi Seo)
03:48 AM Bug #9525 (Third Party's Issue): Stuck with Socket.pack_sockaddr_in
gdb says __check_pf is guilty.
https://gist.github.com/sonots/9047653#file-gistfile3-txt
(gdb) bt
#0 0x00000032f2ce659d in recvmsg () from /lib64/libc.so.6
#1 0x00000032f2d0c2c5 in make_request () from /lib64/libc.so....
naruse (Yui NARUSE)
11:20 PM Bug #9352 (Closed): [BUG] rb_sys_fail_str(connect(2) for [fe80::1%lo0]:3000) - errno == 0
naruse (Yui NARUSE)
11:07 PM Revision 879ac9de (git): merge revision(s) 44492: [Backport #9351]
* lib/rinda/ring.rb (Rinda::RingFinger#make_socket): Use
ipv4_multicast_loop option for portability. Patch by Jeremy Evans.
[ruby-trunk - Bug #9351]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@45...
naruse (Yui NARUSE)
10:17 PM Feature #9532 (Assigned): Expose logger monitor
Please note: a number of libraries are using this class: https://github.com/search?l=ruby&q=LogDeviceMutex&ref=cmdform&type=Code zzak (zzak _)
10:11 PM Feature #9532 (Closed): Expose logger monitor
I was wondering if we could do this type of change on the logger class:
https://github.com/arthurnn/ruby/commit/376b9f944948662ac816ad179ae90bc50a2a6c8f
I am proposing this, because if we have access to the mutex, on the logger ins...
arthurnn (Arthur Neves)
09:12 PM Bug #9521 (Assigned): [Doc] Fix error in Time.parse documentation (in lib/time)
zzak (zzak _)
09:12 PM Bug #9521: [Doc] Fix error in Time.parse documentation (in lib/time)
Thank you for the patch! zzak (zzak _)
08:32 PM Misc #9188: r43870 make benchmark/bm_so_k_nucleotide.rb slow
Eric Wong <[email protected]> wrote:
> The design is based on st, but uses linked-list of cache-sized arrays
> for chaining, so it's as if each bucket is an st-packed array.

Fwiw, I don't think this is a good design for our int...
normalperson (Eric Wong)
07:45 PM Bug #9124 (Third Party's Issue): TestSocket errors in test-all on Arch 64-bit
We don't need to care upstream kernel specific bugs. Nobody except developer uses it.
I've closed this.
kosaki (Motohiro KOSAKI)
03:36 PM Bug #9124: TestSocket errors in test-all on Arch 64-bit
I think we can accept a workaround if there is well commented patch. akr (Akira Tanaka)
04:51 PM Revision 941bd1c3 (git): merge revision(s) 34605: [Backport #9351]
Set encoding as ASCII-8BIT. [Bug #6027]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@45040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:33 PM Bug #9529 (Assigned): TarHeader (Gem::Package) doesn't parse size correctly for +8GB entries
luislavena (Luis Lavena)
01:33 PM Bug #9529 (Third Party's Issue): TarHeader (Gem::Package) doesn't parse size correctly for +8GB entries
* The current TAR header parsing code assumes the size is represented as an octal string
* Because this is a 12-byte, null-terminated field, effectively this can represent up to 8GB (8^11).
* For bigger files the standard allows to def...
eranhirsch (Eran Hirsch)
03:32 PM Revision b4fa32f3 (git): merge revision(s) r42175:
envutil.rb: encoding
* test/ruby/envutil.rb (Test::Unit::Assertions#assert_separately):
specify the encoding of source.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@45039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
02:51 PM Revision 1b54468b (git): merge revision(s) r40866:
* test/ruby/envutil.rb (assert_separately): require envutil in the
child process too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@45038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
02:23 PM Revision 28b3d20b (git): * test/socket/test_socket.rb: unix socket is required by test case.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
01:54 PM Revision 85186dab (git): * ruby_atomic.h: fixed merge mistake of r44946. reported by ngoto at
[ruby-dev:47980] [Backport #9530]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@45036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
01:46 PM Bug #9526: Method#owner returns wrong owner if using prepend.
Sorry, I misunderstood behavior of prepend. Shugo and Boris are right. Thanks for your quick responce. Please close this ticket :) yui-knk (Kaneko Yuichiro)
05:16 AM Bug #9526: Method#owner returns wrong owner if using prepend.
Also for me, this is the expected behavior. `MyMod` is prepended before `Blah`, and therefore `Blah.new.method( :x )` is taken from `MyMod`. As soon as you perform `module MyMod; remove_method( :x ) end`, method `x` will be again taken f... Anonymous
01:30 AM Bug #9526 (Feedback): Method#owner returns wrong owner if using prepend.
shugo (Shugo Maeda)
01:30 AM Bug #9526: Method#owner returns wrong owner if using prepend.
Kaneko Yuichiro wrote:
> In this case, a class or module that defines a method is Blah.
> ...
I don't catch your point.
`Blah.new.x(1)` calls MyMod#x, so `Blah.new.method(:x).owner` should return MyMod, shouldn't it?
shugo (Shugo Maeda)
01:39 PM Revision 1e143919 (git): merge revision(s) r40833:
Default script encoding is now UTF-8
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@45035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
01:28 PM Feature #9528 (Rejected): mathn.rb library
I want to add factorial method mathn.rb file as feature of Math module. umair.amjad (Umair Amjad)
12:05 PM Revision 93156392 (git): * test/socket/test_addrinfo.rb: remove unused variables.
* test/socket/test_nonblock.rb: ditto.
* test/socket/test_socket.rb: ditto.
* test/socket/test_unix.rb: ditto.
* test/testunit/test_parallel.rb: ditto.
* test/webrick/test_filehandler.rb: ditto.
* test/xmlrpc/test_features.rb: ditto.
* t...
hsbt (Hiroshi SHIBATA)
10:59 AM Feature #9527 (Open): make Net::HTTP.get_print not only to $stdout but to an IO as a parameter
e.g.
url = 'http://server/path/large-file.zip'
fh = File.new(File.basename(url), 'wb')
Net::HTTP.get_print(URI(url), fh)
fh.close
imho looks good
bdimych (Dmitry Bolshakov)
10:43 AM Bug #9356: TCPSocket.new does not seem to handle INTR
"U.Nakamura" <[email protected]> wrote:
> In message "[ruby-core:60819] [ruby-trunk - Bug #9356] TCPSocket.new does not seem to handle INTR"
> on Feb.18,2014 18:34:40, <[email protected]> wrote:
> > Does anybody know why th...
normalperson (Eric Wong)
09:58 AM Bug #9356: TCPSocket.new does not seem to handle INTR
Hi,

In message "[ruby-core:60819] [ruby-trunk - Bug #9356] TCPSocket.new does not seem to handle INTR"
on Feb.18,2014 18:34:40, <[email protected]> wrote:
> Does anybody know why the following code in ext/socket/init.c is nec...
usa (Usaku NAKAMURA)
09:34 AM Bug #9356: TCPSocket.new does not seem to handle INTR
Eric Wong wrote:
> Eric Wong <[email protected]> wrote:
> ...
On FreeBSD 10, Errno::ENOTCONN isn't raised, but Ruby goes in an infinite loop because getsockopt(2) in wait_connectable() sets sockerr to 0.
Does anybody know why th...
shugo (Shugo Maeda)
08:12 AM Bug #7805: ruby 2.0rc2 core on solaris
Can you please try the following patch?
This is hopefully robust enough for all future compilers:
http://bogomips.org/ruby.git/patch?id=1b5d3c0b9d
```diff
--- a/gc.c
+++ b/gc.c
@@ -88,10 +88,14 @@
#define rb_setjmp(env) RUBY_...
normalperson (Eric Wong)
07:22 AM Bug #7805: ruby 2.0rc2 core on solaris
Sorry about the breakage. Instead of reverting completely and using
volatile again, we should try to make RB_GC_GUARD more correct/robust.
normalperson (Eric Wong)
07:12 AM Bug #7805 (Open): ruby 2.0rc2 core on solaris
Please completely revert r44994 and r45025.
r45025 partly reverts r44494 and cause regression.
ngoto (Naohisa Goto)
05:28 AM Revision da61291a (git): * lib/test/unit.rb: Requires minitest < 5.0.0 if Gem is available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e sorah (Sorah Fukumori)
05:27 AM Revision 7c030a5d (git): * lib/test/unit/test-unit.gemspec: Add minitest < 5.0.0 dependency
* tool/rbinstall.rb: Add empty implementations for `add_dependency`,
`add_runtime_dependency`, `add_development_dependency` for
Gem::Specification.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45032 b2dd03c8-39d4-4d8f-98ff-823f...
sorah (Sorah Fukumori)
03:13 AM Revision bf6279bc (git): * configure.in (FILE_COUNT): Removed. (win32.c defines it in itself.)
(FILE_READPTR): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:44 AM Revision bf251d8a (git): * 2014-02-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:44 AM Revision 64d35eb6 (git): * test/test/psych/test_string.rb: remove unused variables.
* test/test/psych/test_yaml.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)

02/17/2014

10:46 PM Feature #8850: Convert Rational to decimal string
I've updated the patch by rebasing and fixing syntax.
https://github.com/mrkn/ruby/compare/64634f92f3474babab93264b3c7557043f6753e7...71e463b80d17959f3a4cfd49d7773818fa671037.diff
mrkn (Kenta Murata)
02:24 PM Bug #9526 (Rejected): Method#owner returns wrong owner if using prepend.
rdoc indicates that Method#owner will return a class or module that defines a method.
http://www.ruby-doc.org/core-2.0/Method.html#method-i-owner
-------------------
module MyMod
def x(y)
super(y*y)
end
end
class Blah...
yui-knk (Kaneko Yuichiro)
12:32 PM Revision 131696f4 (git): * test/ruby/test_gc.rb: ignore warning messages for running with -w
option such as chkbuild.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
12:12 PM Bug #9525: Stuck with Socket.pack_sockaddr_in
I think that PF_NETLINK is not a socket to communicate to another host. akr (Akira Tanaka)
12:08 PM Bug #9525: Stuck with Socket.pack_sockaddr_in
Following command on CentOS release 6.2 x86_64 returned a line
$ strace -e socket /usr/lib64/fluent/ruby/bin/ruby -rsocket -e 'Socket.pack_sockaddr_in(80, "192.168.1.1")'
socket(PF_NETLINK, SOCK_RAW, 0) = 5
/usr/li...
sonots (Naotoshi Seo)
11:55 AM Bug #9525: Stuck with Socket.pack_sockaddr_in
I guess getaddrinfo() doesn't block if an IP address is given.
At least, following command on Debian GNU/Linux (jessie) doesn't show anything.
% strace -e socket ruby -rsocket -e 'Socket.pack_sockaddr_in(80, "192.168.1.1")'
...
akr (Akira Tanaka)
11:52 AM Bug #9525: Stuck with Socket.pack_sockaddr_in
I think it is very difficult to add timeout to getaddrinfo() function in C. akr (Akira Tanaka)
11:49 AM Bug #9525: Stuck with Socket.pack_sockaddr_in
Are there any ways to timeout Socket.pack_sockaddr_in?
If so, this problem should be resolved.
EDIT: And, I was pointing an IP address at the concerned line. Will it still block for the name resolution?
sonots (Naotoshi Seo)
11:45 AM Bug #9525 (Feedback): Stuck with Socket.pack_sockaddr_in
Socket.pack_sockaddr_in can block with a name resolution.
If you think the name resolution doesn't block, please explain why.
akr (Akira Tanaka)
11:30 AM Bug #9525 (Closed): Stuck with Socket.pack_sockaddr_in
We met this trouble with Fluentd https://github.com/fluent/fluentd.
Fluentd is sometimes stuck at `Socket.pack_sockaddr_in` line on shutdown.
Here is the gist https://gist.github.com/sonots/9047653 to explain details.
sonots (Naotoshi Seo)
11:01 AM Revision 841bf2b2 (git): * internal.h: Move BDIGIT and related definitions from
include/ruby/defines.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
09:10 AM Bug #8433: Mutexes held by background threads at fork not always released
r43148, r43149, and r43152 are backported into ruby_1_9_3 at r45026. usa (Usaku NAKAMURA)
09:09 AM Revision efe5d8db (git): merge revision(s) 43148,43149,43152: [Backport #8433]
* thread.c (terminate_atfork_i): fix locking mutexes not unlocked in
forks when not tracked in thread. [ruby-core:55102] [Bug #8433]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@45026 b2dd03c8-39d4-4d8f-98...
U.Nakamura
08:54 AM Bug #8443: -Lprefix/lib
1.9.3では諦めます。 usa (Usaku NAKAMURA)
08:42 AM Bug #9523 (Closed): marshal_dump and callcc causes SEGV
Applied in changeset r45025.
----------
marshal.c: do not recycle wrapper objects
* marshal.c (marshal_dump, marshal_load): do not recycle wrapper
objects, to prevent from segfault with continuation.
[ruby-dev:47970] [Bug #9523]
nobu (Nobuyoshi Nakada)
08:41 AM Revision dd998dd5 (git): marshal.c: do not recycle wrapper objects
* marshal.c (marshal_dump, marshal_load): do not recycle wrapper
objects, to prevent from segfault with continuation.
[ruby-dev:47970] [Bug #9523]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45025 b2dd03c8-39d4-4d8f-98ff-823fe...
nobu (Nobuyoshi Nakada)
06:51 AM Revision 8ae07cf3 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:46 AM Revision 2af43c6d (git): * doc/keywords.rdoc: [DOC] Add keywords doc by documenting-ruby/ruby#29
https://github.com/documenting-ruby/ruby/pull/29 [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
05:15 AM Feature #9502: Remove deprecated definitions
Koichi Sasada wrote:
> I copied this table to the following page:
> ...
Not only functions. So I renamed to:
https://bugs.ruby-lang.org/projects/ruby-trunk/wiki/CAPI_obsolete_definitions
ko1 (Koichi Sasada)
05:07 AM Feature #9502: Remove deprecated definitions
I copied this table to the following page:
https://bugs.ruby-lang.org/projects/ruby-trunk/wiki/CAPI_ObsoleteFunctions
Maybe we can maintain this page for deprecated definitions.
ko1 (Koichi Sasada)
03:33 AM Revision 1aebaf73 (git): * gc.c (get_envparam_double): fix a warning message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
03:27 AM Revision 3ee04449 (git): * gc.c: introduce new environment variable
"RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR" to control major/minor GC
frequency.
Do full GC when the number of old objects is more than R * N
where R is this factor and
N is the number of old objects just after last full ...
ko1 (Koichi Sasada)
02:39 AM Revision 1492277e (git): * test/test_pty.rb: use underscore variables. because ignored unseued variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
02:39 AM Revision 6f667c64 (git): * test/test_find.rb: remove unused variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
01:06 AM Revision 3cf3a759 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

02/16/2014

11:05 PM Bug #9523 (Closed): marshal_dump and callcc causes SEGV
Ruby dumps core as follows.
% ./ruby -rcontinuation -e '
class C
def marshal_dump
callcc {|c| $c = c }
nil
end
def marshal_load(v)
end
end
p Marshal.dump(C.new)
$...
akr (Akira Tanaka)
09:28 PM Revision 4ee9d27f (git): merge revision(s) 44476: [Backport #9317]
* configure.in: reset LDFLAGS and DLDFLAGS for opt-dir again after
LIBPATHFLAG and RPATHFLAG are set. [ruby-dev:47868] [Bug #9317]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@45017 b2dd03c8-39d4-4d8f-98ff-8...
naruse (Yui NARUSE)
05:14 PM Revision 54225326 (git): * 2014-02-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:14 PM Revision 260cdec9 (git): * ext/bigdecimal/bigdecimal.c (BigDecimal_initialize): Insert GC guard.
* ext/bigdecimal/bigdecimal.c (BigDecimal_global_new): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
05:03 PM Bug #9385: open-uri always uses proxy set as env var even if proxy flag is set to nil
r44637 was backported to ruby_2_0_0 at r45014. nagachika (Tomoyuki Chikanaga)
05:02 PM Revision c33a8076 (git): merge revision(s) r44637: [Backport #9385]
* lib/open-uri.rb: Make proxy disabling working again.
Fixed by Christophe Philemotte. [ruby-core:59650] [Bug #9385]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@45014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
04:59 PM Bug #9387: Documentation for Range#size is incomplete
r44549 was backported to ruby_2_0_0 at r45013. nagachika (Tomoyuki Chikanaga)
04:59 PM Revision 9d6dd894 (git): merge revision(s) r44549: [Backport #9387]
* range.c (Range#size): [DOC] improve description and add examples.
Patch by @skade. [Fixes GH-501]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@45013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
04:57 PM Bug #8425: webrick show local filesystem charset bug
r40830 and r40848 were backported to ruby_2_0_0 at r45012. nagachika (Tomoyuki Chikanaga)
04:56 PM Revision 954b8281 (git): merge revision(s) r40830,r40848: [Backport #8425]
* test/webrick/test_htmlutils.rb: add test for WEBrick::HTMLUtils.
* lib/webrick/htmlutils.rb (WEBrick::HTMLUtils#escape): replace HTML
meta chars even in non-ascii string. [Bug #8425] [ruby-core:55052]
* lib...
nagachika (Tomoyuki Chikanaga)
04:48 PM Bug #9187: st_table leaks when exception is raised in Hash#rehash
r43942, r43957 and r43975 were backported to `ruby_2_0_0` at r45011. nagachika (Tomoyuki Chikanaga)
04:47 PM Revision 886142e8 (git): merge revision(s) r43942,r43957,r43975: [Backport #9187]
* hash.c (rb_hash_rehash): fix to free new st_table when exception
is raised in do_hash(). [Bug #9187]
* hash.c (rb_hash_rehash): make temporary st_table under the control
of GC. [Bug #9187]
* test/r...
nagachika (Tomoyuki Chikanaga)
04:32 PM Bug #9413: Object Metaclass Constants Array doesn't Include Singleton Constant
r44628 was backported to `ruby_2_0_0` at r45010. nagachika (Tomoyuki Chikanaga)
04:32 PM Revision 37e3fd88 (git): merge revision(s) r44628: [Backport #9413]
* eval.c (rb_mod_s_constants): return its own constants for other
than Module itself. [ruby-core:59763] [Bug #9413]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@45010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
04:17 PM Bug #9374: [PATCH] ext/json: objects depend on $(ruby_headers)
r44514 was backported to ruby_2_0_0 at r45009. nagachika (Tomoyuki Chikanaga)
04:16 PM Revision bdcadb8c (git): merge revision(s) r44514: [Backport #9374]
* ext/json/generator/depend: add build dependencies for json extension
[Bug #9374] [ruby-core:59609]
* ext/json/parser/depend: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@45009 b2dd03c8-39d4...
nagachika (Tomoyuki Chikanaga)
04:14 PM Bug #8978: Fiddle possibly misuses mprotect
r44731 and r44751 were backported to ruby_2_0_0 at r45008. nagachika (Tomoyuki Chikanaga)
04:13 PM Revision b5c309df (git): merge revision(s) r44731,r44751: [Backport #8978]
* ext/fiddle/closure.c: use sizeof(*pcl) for correct sizeof value.
[ruby-core:57599] [Bug #8978]. Thanks mame!
* ext/fiddle/closure.c: use sizeof(*pcl) for correct sizeof value.
[ruby-core:57599] [Bug #8978]...
nagachika (Tomoyuki Chikanaga)
04:11 PM Bug #9430: [PATCH] benchmark/driver: avoid large alloc in driver process
r44772 was backported to ruby_2_0_0 at r45007. nagachika (Tomoyuki Chikanaga)
04:10 PM Revision 89424b13 (git): merge revision(s) 44772: [Backport #9430]
benchmark/driver: avoid large alloc in driver process
* benchmark/driver: avoid large alloc in driver process
[ruby-core:59869] [Bug #9430]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@45007 b2dd03c8-39d4-4...
nagachika (Tomoyuki Chikanaga)
04:07 PM Bug #8783: ruby 1.9/2.0 crash on exit on FreeBSD/powerpc64
r44670, r44671, r44673 and r44675 were backported to ruby_2_0_0 r45006. nagachika (Tomoyuki Chikanaga)
04:07 PM Revision b8cab3fc (git): merge revision(s) r44670,r44671,r44673,r44675: [Backport #8783]
thread_pthread.c: timer thread stack size
* thread_pthread.c (rb_thread_create_timer_thread): define the stack
size for timer thread at compile time.
* thread_pthread.c (rb_thread_create_timer_thread): expand timer
...
nagachika (Tomoyuki Chikanaga)
03:54 PM Revision 46561d57 (git): merge revision(s) r44803: [Backport #9484]
* string.c (rb_str_modify_expand): enable capacity and disable
assocation with packed objects when setting capa, so that
pack("p") string fails to unpack properly after modified.
git-svn-id: svn+ssh://ci.ruby-lang.o...
nagachika (Tomoyuki Chikanaga)
03:26 PM Feature #9362 (Rejected): Minimize cache misshit to gain optimal speed
In the last developer meeting we agreed that sacrificing memory
consumption to gain speed is not a contemporary nice idea in this
cloud PaaS era. So we decided to reject this particular patch.
However *I* do not give up the idea it...
shyouhei (Shyouhei Urabe)
02:14 PM Feature #8850: Convert Rational to decimal string
I updated the patch to use rb_check_arity: https://github.com/mrkn/ruby/commit/a6837fab190fed2707ec7e13c494cd4b642ff630 mrkn (Kenta Murata)
05:20 AM Feature #8850 (Assigned): Convert Rational to decimal string
mrkn (Kenta Murata)
08:34 AM Revision f042e511 (git): add tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
07:53 AM Revision 6ef6dab3 (git): ext/psych/yaml: suppress warnings
* ext/psych/yaml/emitter.c (WRITE_BREAK, PUT_BREAK): suppress
unused-value warnings.
* ext/psych/yaml/parser.c, ext/psych/yaml/scanner.c: suppress
unused-but-set-variable warnings.
* ext/psych/yaml/yaml_private.h (STACK_EMPTY): dit...
nobu (Nobuyoshi Nakada)
07:53 AM Revision beb2d4c5 (git): bigdecimal.c: refine macros
* ext/bigdecimal/bigdecimal.c (PUSH, SAVE): remove extra
semicolons.
* ext/bigdecimal/bigdecimal.c (GUARD_OBJ): add parentheses and
make an expression instead of a statement.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45002 ...
nobu (Nobuyoshi Nakada)
07:20 AM Revision 71430123 (git): ruby.h: use FIX2LONG
* include/ruby/ruby.h (RBIGNUM_SIGN): use FIX2LONG() instead of
FIX2INT() for optimization, since rb_big_cmp() returns only
Fixnum -1..+1 for Finxum 0.
(RBIGNUM_POSITIVE_P, RBIGNUM_NEGATIVE_P): ditto.
git-svn-id: svn+ssh://ci.rub...
nobu (Nobuyoshi Nakada)
06:55 AM Revision 3efb36c2 (git): * test/test_securerandom.rb: use File.exist? instead of File.exists?
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
06:05 AM Revision 2e1d21f5 (git): * test/pathname/test_pathname.rb: use File.exist? instead of File.exists?
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
06:05 AM Revision 72191a0a (git): * test/net/ftp/test_ftp.rb: remove unused variables.
test/logger/test_logger.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
05:53 AM Revision 87661039 (git): dir.c (dir_s_glob): RB_GC_GUARD instead of volatile
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eric Wong
05:36 AM Feature #9522 (Open): Float( "NaN" ), Float( "Infinity" )
I have noticed that 0.0 / 0.0 returns NaN, but Float( "#{0.0 / 0.0}" ),
or simply Float( "NaN" ) does not return Float::NAN, failing instead.
To me, even inclusion of NaN among floats is somewhat questionable, but
since it's there, Fl...
Anonymous
05:34 AM Revision 0bb75c4a (git): * include/ruby/ruby.h (RBIGNUM_SIGN): Defined for compatibility.
(RBIGNUM_POSITIVE_P): Ditto.
(RBIGNUM_NEGATIVE_P): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
04:19 AM Revision 10a8e87c (git): io.c (rb_f_backquote): trade volatile for manual recycle
* io.c (rb_f_backquote): trade volatile for manual recycle
rb_gc_force_recycle ensures object is visible until recycle
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
03:45 AM Revision f9705151 (git): marshal.c: use rb_gc_force_recycle for GC-safety
Putting rb_gc_force_recycle at the end of the function has a nice
side-effect of keeping wrapper visible to GC until the moment of
recycle, preventing GC from prematurely killing live objects.
volatile is a common source of compiler bugs...
Eric Wong
12:13 AM Revision c83ad9aa (git): merge revision(s) 44474,44538,44539,44890,44896: [Backport #9495]
* configure.in: use SSE2 instructions for drop unexpected
precisions. [ruby-core:54738] [Bug #8358]
* configure.in: use SSE2 instructions to drop unexpected precisions on
other than mingw. [ruby-core:59472]...
naruse (Yui NARUSE)

02/15/2014

11:13 PM Revision 401cf928 (git): * README.EXT.ja: [DOC] Fix typo by @utenmiki [Fixes GH-534] [ci skip]
https://github.com/ruby/ruby/pull/534
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
10:48 PM Revision 037ceae5 (git): * ext/bigdecimal/bigdecimal.c (BIGNUM_ZERO_P): Unused macro removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
09:17 PM Revision ea6d662c (git): * 2014-02-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:17 PM Revision 3c99764b (git): * internal.h: Rename macro names: RBIGNUM_FOO to BIGNUM_FOO.
(BIGNUM_EMBED_LEN_NUMBITS): Renamed from RBIGNUM_EMBED_LEN_NUMBITS.
(BIGNUM_EMBED_LEN_MAX): Renamed from RBIGNUM_EMBED_LEN_MAX.
(BIGNUM_SIGN_BIT): Renamed from RBIGNUM_SIGN_BIT.
(BIGNUM_SIGN): Renamed from RBIGNUM_SIGN.
(BIGNUM_S...
akr (Akira Tanaka)
05:05 PM Bug #9521 (Closed): [Doc] Fix error in Time.parse documentation (in lib/time)
The docs state that the examples are for GMT as local time zone while in fact they are for JST.
The patch fixes this by using EST (and saying so), like the rest of the examples for lib/time.
stomar (Marcus Stollsteimer)
04:48 PM Revision d423965b (git): merge revision(s) r44809,r44813,r44815,r44816,r44817,r44818,r44918: [Backport #9481]
* ext/psych/yaml/emitter.c: merge libyaml 0.1.5
* ext/psych/yaml/loader.c: ditto
* ext/psych/yaml/parser.c: ditto
* ext/psych/yaml/reader.c: ditto
* ext/psych/yaml/scanner.c: ditto
* ext/psych...
nagachika (Tomoyuki Chikanaga)
04:29 PM Revision e68cf6f5 (git): merge revision(s) r44758,r44759,r44760: [Backport #9466]
object.c: error message encoding
* object.c (convert_type, rb_convert_type, rb_check_convert_type),
(rb_to_integer): preserve class name encoding error messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0...
nagachika (Tomoyuki Chikanaga)
04:10 PM Bug #9432: ThreadError [ Attempt to unlock a mutex which is locked by another thread ]
Hello, rajesh.
Thank you for your report.
Could you try to reproduce it with 2.1 and/or trunk?
nagachika (Tomoyuki Chikanaga)
04:03 PM Bug #9429: Fix typos
r44696 was backported to ruby_2_0_0 at r44986. nagachika (Tomoyuki Chikanaga)
04:03 PM Revision 257ec8c9 (git): merge revision(s) r44696: [Backport #9429]
* lib/racc/rdoc/grammar.en.rdoc: [DOC] Correct grammar and typos
Patch by Giorgos Tsiftsis [Bug #9429] [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@44986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
04:01 PM Bug #9483: Fix typo in OpenURI and Ripper documenation
r44878 and r44879 were backported to ruby_2_0_0 at r44985. nagachika (Tomoyuki Chikanaga)
04:01 PM Revision 099f6676 (git): merge revision(s) r44878,r44879: [Backport #9483]
* ext/ripper/lib/ripper/lexer.rb: [DOC] use lower case version of core
classes when referring to return value, since we aren't directly
talking about the class. Patch by Jonathan Jackson [Bug #9483]
* lib/ope...
nagachika (Tomoyuki Chikanaga)
03:58 PM Bug #9210: Adding extra example in docs
r44463 and r44464 were backported to ruby_2_0_0 at r44984. nagachika (Tomoyuki Chikanaga)
03:57 PM Revision c386c3a2 (git): merge revision(s) r44463,r44464: [Backport #9210]
* variable.c: adding extra example in docs.
patched by Steve Klabnik. [Bug #9210]
* variable.c: [DOC] adding extra example in docs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@44984 b2dd03c8-39d4-...
nagachika (Tomoyuki Chikanaga)
03:55 PM Bug #9093: Resolv: Multiple strings should be concatenated in a DNS record's data
r44642 was backported to ruby_2_0_0 at r44983. nagachika (Tomoyuki Chikanaga)
03:55 PM Revision 5d5fb5f2 (git): merge revision(s) r44642: [Backport #9093]
* lib/resolv.rb (Resolv::DNS::Resource::TXT#data): Return concatenated
string.
Patch by Ryan Brunner. [ruby-core:58220] [Bug #9093]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@44983 b2dd03c8-39d...
nagachika (Tomoyuki Chikanaga)
03:53 PM Bug #9243: DOC fix example key exchane using DH
r44584, r44587 and r44945 were backported to ruby_2_0_0 at 44982. nagachika (Tomoyuki Chikanaga)
03:52 PM Revision 9187fefa (git): merge revision(s) r44584,r44587,r44945: [Backport #9243]
* ext/openssl/ossl_pkey_dh.c: Fixed typo by Sandor Szuecs [Bug #9243]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@44982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
03:48 PM Bug #9152: Relic documentation in lib/xmlrpc/client.rb
r44586 was backported to ruby_2_0_0 at r44981. nagachika (Tomoyuki Chikanaga)
03:48 PM Revision cbc21bed (git): merge revision(s) r44586: [Backport #9152]
* lib/xmlrpc/client.rb: [DOC] Remove note about SSL package on RAA
Since RAA has been deprecated, and the SSL package has been replaced
with net/https this statement is entirely false and should be
deleted. ...
nagachika (Tomoyuki Chikanaga)
03:45 PM Bug #9268: dead link to raa
r44585 was backported to ruby_2_0_0 at 44980. nagachika (Tomoyuki Chikanaga)
03:45 PM Revision ea0fc449 (git): merge revision(s) r44585: [Backport #9268]
* lib/net/smtp.rb: [DOC] Remove dead link to RAA by Giorgos Tsiftsis
Fixes the following bugs: [Bug #9152] [Bug #9268] [Bug #9394]
* lib/open-uri.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_...
nagachika (Tomoyuki Chikanaga)
03:44 PM Bug #8703: hash_type is not duplicated if hash is empty
r42224, r42225, r42226, r42227, r42228, r42229 and r42232 were backported to ruby_2_0_0 at 44979. nagachika (Tomoyuki Chikanaga)
03:43 PM Revision 4ccf22e1 (git): merge revision(s) r42224,r42225,r42226,r42227,r42228,r42229,r42232: [Backport #8703]
* hash.c (rb_hash_assoc): performance improvement by replacing
compare function in RHASH(hash)->ntbl->type temporarily.
* hash.c (rb_hash_assoc): aggregate object can be initialized only
with link time consta...
nagachika (Tomoyuki Chikanaga)
03:20 PM Revision bbf24e6d (git): merge revision(s) r42242:
* test/ruby/test_hash.rb: use @cls.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@44978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
03:20 PM Feature #8850: Convert Rational to decimal string
I made a simple implementation: https://github.com/mrkn/ruby/commit/408d4a05c40a70a7d49e40d6edc33af98e6816a3 mrkn (Kenta Murata)
03:02 PM Bug #9477: Address family not supported by protocol - socket(2) - udp
r44880 was backported to ruby_2_0_0 at r44977. nagachika (Tomoyuki Chikanaga)
03:01 PM Revision af33a148 (git): merge revision(s) r44880: [Backport #9477]
* lib/resolv.rb: Ignore name servers which cause EAFNOSUPPORT on
socket creation.
Reported by Bjoern Rennhak. [ruby-core:60442] [Bug #9477]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@44977 b2dd...
nagachika (Tomoyuki Chikanaga)
03:00 PM Bug #9498: undefined method 'ord' for nil:NilClass from Resolv methods when internet connection is lost
r44884 was backported to ruby_2_0_0 at r44976. nagachika (Tomoyuki Chikanaga)
02:59 PM Revision d9e36580 (git): merge revision(s) r44884: [Backport #9498]
* lib/resolv.rb (Resolv::DNS::Message::MessageDecoder): Raise
DecodeError if no data before the limit.
Reported by Will Bryant. [ruby-core:60557] [Bug #9498]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/rub...
nagachika (Tomoyuki Chikanaga)
02:57 PM Bug #8756: SEGFAULT caused by `p Struct.new(:q?).instance_methods`
Additionally r44926 was backported ruby_2_0_0 at r44975. nagachika (Tomoyuki Chikanaga)
02:53 PM Revision f9acab1f (git): merge revision(s) r44926: [Backport #8756] [Backport #9248]
* parse.y (IDSET_ATTRSET_FOR_INTERN): fix off-by-one bug.
* parse.y (rb_enc_symname_type): junk ID succeeded by '=' is also
attrset ID. [ruby-core:60668] [Bug #8756]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branc...
nagachika (Tomoyuki Chikanaga)
02:44 PM Revision 4f8090c7 (git): merge revision(s) r44046:
test_struct.rb: use assert_same
* test/ruby/test_struct.rb (test_question_mark_in_member): true value
has no meanings itself. use assert_same instead.
* test/ruby/test_struct.rb (test_bang_mark_in_member): ditto.
gi...
nagachika (Tomoyuki Chikanaga)
02:43 PM Revision d0a5dfec (git): merge revision(s) r44042,44045:
* test/ruby/test_struct.rb: Add regression test for question marks and
bangs in struct members. [Closes GH-468]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@44973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
02:39 PM Revision 8e01dd6f (git): merge revision(s) r43440:
* struct.c (new_struct): fix warning message, class name and encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@44972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
11:59 AM Misc #9215: Maintenance Policy for Future Releases (2.1.0 & beyond)
>> We've decided our plans for ruby-core supported maintenance periods of Ruby.
> ...
Who should "we" be? As an official post on ruby-lang.org, it must refer to ruby-core? Should it read:
The ruby-core team has decided plans for su...
zzak (zzak _)
11:58 AM Bug #9388 (Closed): Ruby 1.9.3-pxxx segmentation fault
Thanks for your report. hsbt (Hiroshi SHIBATA)
11:49 AM Revision 7f27543b (git): * configure.in (FILE_READEND): Don't detect it because it is not used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:07 AM Bug #9156: Not able to get tmp dir to work with Ruby 2.0.0
That's what I get:
drwx------ 181 ben staff 6154 Feb 15 00:07 /var/folders/w6/5t5wbvps7sq68h0ss0qs3ygm0000gn/T/
saipas (B L)
07:53 AM Revision eee950f0 (git): merge revision(s) r40270:
* struct.c (rb_struct_define_without_accessor, rb_struct_define),
(rb_struct_s_def): hide member names array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@44970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
07:45 AM Revision 69f58f06 (git): merge revision(s) r40269:
* struct.c (anonymous_struct, new_struct, setup_struct): split
make_struct() for each purpose.
make_struct() for each purpose.
* error.c: Capture EGAIN, EWOULDBLOCK, EINPROGRESS exceptions and
git-svn-id: s...
nagachika (Tomoyuki Chikanaga)
07:18 AM Revision 31e0a516 (git): merge revision(s) r40101:
* struct.c (make_struct): avoid inadvertent symbol creation.
(rb_struct_aref): ditto.
(rb_struct_aset): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@44968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
06:53 AM Bug #9452: Refining methods that should be private
r44931 was backported to ruby_2_0_0 at r44967. nagachika (Tomoyuki Chikanaga)
06:53 AM Revision ab530f05 (git): merge revision(s) r44931: [Backport #9452]
* vm_insnhelper.c (vm_call_method): should check ci->me->flag of
a refining method in case the method is private.
[ruby-core:60111] [Bug #9452]
* vm_method.c (make_method_entry_refined): set me->flag of a ref...
nagachika (Tomoyuki Chikanaga)
06:23 AM Bug #9520 (Rejected): Arity of a Proc obtained by Symbol#to_proc
The `proc` created by `Symbol#to_proc` is not a lambda, but a proc, which accepts arbitrary number arguments. nobu (Nobuyoshi Nakada)
05:24 AM Bug #9520 (Rejected): Arity of a Proc obtained by Symbol#to_proc
I'm not sure is it a bug, but I find this behavior wrong.
:to_s.to_proc.arity # => -1
but isn't :to_s.to_proc is the same as ->(x){x.to_s} whose arity is 1?
prijutme4ty (Ilya Vorontsov)
04:23 AM Revision 54e4583d (git): probes_helper.h (RUBY_DTRACE_HOOK): correct type for _id
* probes_helper.h (RUBY_DTRACE_HOOK): correct type for _id
I want to experiment with uint32_t ID
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
02:48 AM Revision dfd26e3a (git): * bignum.c (rb_big_cmp): Avoid bignum allocation for comparison
between bignum and fixnum.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:47 AM Revision f9810d26 (git): Add note about "struct RBignum is hidden.".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:43 AM Revision 3a541fd9 (git): Describe "Deprecated APIs removed." and "struct RBignum is hidden."
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:59 AM Revision abb6b507 (git): fd_setsize/depend: fix wrong dependencies
* ext/-test-/win32/fd_setsize/depend: fix wrong dependencies.
[ruby-dev:47253]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
h.shirosaki (Hiroshi Shirosaki)
01:33 AM Revision b73610f1 (git): minor rdoc typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Ryan Davis
12:39 AM Revision d4cf669d (git): Range#bsearch: fix typo in rdoc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune

02/14/2014

07:59 PM Bug #9388: Ruby 1.9.3-pxxx segmentation fault
Hiroshi SHIBATA wrote:
> Could you try to your code in Ruby 2.0 or 2.1?
Hello Hiroshi,
thank you for your response. We're currently porting the code to 2.1 (on the side), and hope to solve this issue with the upgrade. Since that m...
phillipoertel (Phillip Oertel)
06:32 PM Bug #9039: [PATCH] socket: avoid unnecessary ppoll/select on Linux (part 3)
[email protected] wrote:
> Issue #9039 has been updated by Usaku NAKAMURA.
>
> Backport changed from 1.9.3: DONE, 2.0.0: REQUIRED, 2.1: REQUIRED to 1.9.3: REJECTED, 2.0.0: REQUIRED, 2.1: REQUIRED
>
> ... but reverted from rub...
normalperson (Eric Wong)
12:04 PM Bug #9039: [PATCH] socket: avoid unnecessary ppoll/select on Linux (part 3)
... but reverted from ruby_1_9_3 because it causes errors on CI. usa (Usaku NAKAMURA)
06:24 AM Bug #9039: [PATCH] socket: avoid unnecessary ppoll/select on Linux (part 3)
backported into ruby_1_9_3 at r44943. usa (Usaku NAKAMURA)
04:40 PM Revision 2568fd77 (git): load.c: call init
* load.c (register_init_ext): call initialization function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:34 PM Bug #9519 (Rejected): Wrong multiline calculation
PoLS is not for Ruby. nobu (Nobuyoshi Nakada)
10:33 AM Bug #9519: Wrong multiline calculation
Heesob Park wrote:
> I think this issue is not a bug.
> ...
Is it ok? How about "the Principle of Least Surprise"?
Victor (Victor Daev)
10:28 AM Bug #9519: Wrong multiline calculation
I think this issue is not a bug.
p(100 - (1
+ 2
+ 3
+ 4))
is interpreted as
p(100-(1;+2;+3;+4))
phasis68 (Heesob Park)
10:27 AM Bug #9519: Wrong multiline calculation
p(100 - (1 + 2 + 3 + 4))
# => 90
# ok
p(100 - (1 +
2 +
3 +
4))
# => 90
# ok
p(100 - (1
+ 2
+ 3
+ 4))
# => 96
# BUT it should be 90
Victor (Victor Daev)
10:19 AM Bug #9519: Wrong multiline calculation
Ooops. How can I fix the layout? Victor (Victor Daev)
10:14 AM Bug #9519 (Rejected): Wrong multiline calculation
I have some script with a trouble.
p(100 - (1 + 2 + 3 + 4))
# => 90
# ok
p(100 - (1 +
2 +
3 +
4))
# => 90
# ok
p(100 - (1
+ 2
+ 3
+ 4))
# => 96
# BUT it should be 90
If I run the script I will get
$...
Victor (Victor Daev)
04:33 PM Feature #7596: Find::find should not silently ignores errors
What about an optional error handler?
Simple flag may not be enough, for example, to search unreadable directories.
nobu (Nobuyoshi Nakada)
10:27 AM Feature #7596: Find::find should not silently ignores errors
I agree with adding keyword argument, e.g. ignore_error: true.
Choose a good keyword for the option.
Matz.
matz (Yukihiro Matsumoto)
03:45 PM Feature #8887 (Closed): min(n), max(n), min_by(n), max_by(n)
Applied in changeset r44958.
----------
* enum.c: Enumerable#{min,min_by,max,max_by} extended to take an
optional argument.
(nmin_cmp): New function.
(nmin_block_cmp): Ditto
(nmin_filter): Ditto.
(nmin_i): Ditto.
(nmin_run):...
akr (Akira Tanaka)
08:44 AM Feature #8887 (Assigned): min(n), max(n), min_by(n), max_by(n)
nobu (Nobuyoshi Nakada)
07:56 AM Feature #8887: min(n), max(n), min_by(n), max_by(n)
Agreed. I think 2.2 is a good time to add these enhancement.
Matz.
matz (Yukihiro Matsumoto)
03:45 PM Revision f526784e (git): * enum.c: Enumerable#{min,min_by,max,max_by} extended to take an
optional argument.
(nmin_cmp): New function.
(nmin_block_cmp): Ditto
(nmin_filter): Ditto.
(nmin_i): Ditto.
(nmin_run): Ditto.
(enum_min): Call nmin_run if the optional argument is given.
(nmin_max): Ditto.
(nmin_min_by):...
akr (Akira Tanaka)
03:29 PM Feature #6083 (Closed): Hide a Bignum definition
Applied in changeset r44957.
----------
* include/ruby/ruby.h,
internal.h,
ext/-test-/bignum/bigzero.c: Hide a Bignum definition.
[ruby-core:42891] [Feature #6083]
akr (Akira Tanaka)
07:59 AM Feature #6083: Hide a Bignum definition
Even though this breaks source compatibility, it is worth changing it (to mark dangerous operation).
So go ahead.
Matz.
matz (Yukihiro Matsumoto)
03:29 PM Revision ab9bc151 (git): * include/ruby/ruby.h,
internal.h,
ext/-test-/bignum/bigzero.c: Hide a Bignum definition.
[ruby-core:42891] [Feature #6083]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:16 PM Feature #9502 (Closed): Remove deprecated definitions
Applied in changeset r44955.
----------
* include/ruby/intern.h,
include/ruby/io.h,
include/ruby/ruby.h,
include/ruby/win32.h,
include/ruby/backward/rubysig.h,
bignum.c,
gc.c,
io.c,
process.c,
safe.c,
struct.c,
thr...
akr (Akira Tanaka)
07:50 AM Feature #9502: Remove deprecated definitions
Agreed. Remove those functions (structs).
Matz.
matz (Yukihiro Matsumoto)
03:16 PM Revision d8633ac1 (git): * 2014-02-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:16 PM Revision 6f8b0e9b (git): * include/ruby/intern.h,
include/ruby/io.h,
include/ruby/ruby.h,
include/ruby/win32.h,
include/ruby/backward/rubysig.h,
bignum.c,
gc.c,
io.c,
process.c,
safe.c,
struct.c,
thread.c,
ext/socket/rubysocket.h,
ext/-test-/old_thread_select: Re...
akr (Akira Tanaka)
12:02 PM Revision 4c58aa8e (git): * ext/socket: revert r44943 because it causes errors on some linux
platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
11:52 AM Revision 59680d0f (git): * configure.in (ARCH_FLAG): __sync_val_compare_and_swap_4 needs
-march=i486 on at least linux gcc 4.1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
10:19 AM Bug #9092: Update Unicode data to Unicode Version 7.0
Agreed. We'd better use the latest Unicode data.
Matz.
matz (Yukihiro Matsumoto)
10:18 AM Feature #7918 (Rejected): Create Signal.in_trap?()
Queue is a better solution now.
So we reject this issue.
akr (Akira Tanaka)
10:11 AM Bug #7805: ruby 2.0rc2 core on solaris
The following should work without `RB_GC_GUARD` nor `volatile`.
I plan to commit unless there are objections, I see no possible
way for a compiler to mess things up:
```diff
--- a/marshal.c
+++ b/marshal.c
@@ -950,7 +950,7 @@ mar...
normalperson (Eric Wong)
10:10 AM Revision bceb3cd9 (git): merge revision(s) 43851,43882,43996:
* ruby_atomic.h: use __atomic builtin functions supported by GCC.
__sync family are legacy functions now and it is recommended
that new code use the __atomic functions.
http://gcc.gnu.org/onlinedocs/gcc/_005...
U.Nakamura
09:42 AM Revision f7cff3a9 (git): string.c (rb_str_format_m): trade volatile for RB_GC_GUARD
* string.c (rb_str_format_m): trade volatile for RB_GC_GUARD
RB_GC_GUARD meaning is clear and has better code generation.
[ruby-core:60688]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
09:37 AM Feature #7309 (Rejected): HEREDOC end of line or similar
"def increase(~str)" is technically impossible so please let me
reject this. However I think "<<<" can be possible. If you still
need that, please open another ticket for that part.
shyouhei (Shyouhei Urabe)
09:20 AM Misc #9215: Maintenance Policy for Future Releases (2.1.0 & beyond)
Zachary Scott wrote:
> I've updated the pull request given Martin and narsue's feedback. Please check it.
> ...
Who are "We"?
> For context, you should read our recent policy changes for semantic versioning.
Ruby's versioning pol...
naruse (Yui NARUSE)
08:56 AM Feature #8919: Queue as embedded class
It's OK for 2.2.
Matz.
matz (Yukihiro Matsumoto)
08:54 AM Feature #8850 (Feedback): Convert Rational to decimal string
Can anyone propose a patch please? shyouhei (Shyouhei Urabe)
07:22 AM Revision 74934174 (git): * ruby_atomic.h (ATOMIC_CAS): added.
* signal.c (ruby_atomic_compare_and_swap): ATOMIC_CAS implementation
for non-VC/gcc platform.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
06:57 AM Bug #9477: Address family not supported by protocol - socket(2) - udp
backported into ruby_1_9_3 at r44949. usa (Usaku NAKAMURA)
06:56 AM Revision 39413265 (git): merge revision(s) 44880: [Backport #9477]
* lib/resolv.rb: Ignore name servers which cause EAFNOSUPPORT on
socket creation.
Reported by Bjoern Rennhak. [ruby-core:60442] [Bug #9477]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44949 b2dd...
U.Nakamura
06:55 AM Bug #9498: undefined method 'ord' for nil:NilClass from Resolv methods when internet connection is lost
backported into ruby_1_9_3 at r44948. usa (Usaku NAKAMURA)
06:55 AM Revision d4fa1259 (git): merge revision(s) 44884: [Backport #9498]
* lib/resolv.rb (Resolv::DNS::Message::MessageDecoder): Raise
DecodeError if no data before the limit.
Reported by Will Bryant. [ruby-core:60557] [Bug #9498]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/rub...
U.Nakamura
06:52 AM Bug #9374: [PATCH] ext/json: objects depend on $(ruby_headers)
backported into ruby_1_9_3 at r44947. usa (Usaku NAKAMURA)
06:51 AM Revision 681d225d (git): merge revision(s) 44514: [Backport #9374]
* ext/json/generator/depend: add build dependencies for json extension
[Bug #9374] [ruby-core:59609]
* ext/json/parser/depend: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44947 b2dd03c8-39d4...
U.Nakamura
06:48 AM Bug #9399: [PATCH] iseq: avoid potential memory leak in iseq_load
backported into ruby_1_9_3 at r44946. usa (Usaku NAKAMURA)
06:44 AM Revision 30a1b86e (git): merge revision(s) 44568: [Backport #9399]
* iseq.c (iseq_load): keep type_map to get rid of memory leak.
based on a patch by Eric Wong at [ruby-core:59699]. [Bug #9399]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44946 b2dd03c8-39d4-4d8f-98ff-823...
U.Nakamura
06:39 AM Revision 4e3522e9 (git): * Changelog: I hope that "ue" is the right replacement of "u-umlaut". it was
removed at r44587 because it was not included in us-ascii.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
06:26 AM Bug #9093: Resolv: Multiple strings should be concatenated in a DNS record's data
backported into ruby_1_9_3 at r44944. usa (Usaku NAKAMURA)
06:26 AM Revision 73176ef9 (git): merge revision(s) 44642: [Backport #9093]
* lib/resolv.rb (Resolv::DNS::Resource::TXT#data): Return concatenated
string.
Patch by Ryan Brunner. [ruby-core:58220] [Bug #9093]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44944 b2dd03c8-39d...
U.Nakamura
06:24 AM Revision 64fe84ae (git): merge revision(s) 44643: [Backport #9039]
* ext/socket: Avoid unnecessary ppoll/select on Linux.
Patch by Eric Wong. [ruby-core:57950] [Bug #9039]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
06:22 AM Bug #9430: [PATCH] benchmark/driver: avoid large alloc in driver process
backported into ruby_1_9_3 at r44942. usa (Usaku NAKAMURA)
06:22 AM Revision 505d2d7f (git): merge revision(s) 44772,44773: [Backport #9430]
benchmark/driver: avoid large alloc in driver process
* benchmark/driver: avoid large alloc in driver process
[ruby-core:59869] [Bug #9430]
* benchmark/driver: avoid large alloc in driver process
[ruby-core:5...
U.Nakamura
06:19 AM Bug #8978: Fiddle possibly misuses mprotect
backported into ruby_1_9_3 at r44941. usa (Usaku NAKAMURA)
06:19 AM Revision 503badb5 (git): merge revision(s) 44731,44751: [Backport #8978]
* ext/fiddle/closure.c: use sizeof(*pcl) for correct sizeof value.
[ruby-core:57599] [Bug #8978]. Thanks mame!
* ext/fiddle/closure.c: use sizeof(*pcl) for correct sizeof value.
[ruby-core:57599] [Bug #8978]...
U.Nakamura
06:06 AM Bug #8783: ruby 1.9/2.0 crash on exit on FreeBSD/powerpc64
backported r44670,r44671, and r44675 into ruby_1_9_3 at r44940. usa (Usaku NAKAMURA)
06:06 AM Revision 5bcb47db (git): merge revision(s) 44670,44671,44675: [Backport #8783]
thread_pthread.c: timer thread stack size
* thread_pthread.c (rb_thread_create_timer_thread): define the stack
size for timer thread at compile time.
* thread_pthread.c (rb_thread_create_timer_thread): expand timer
...
U.Nakamura
05:59 AM Bug #9413: Object Metaclass Constants Array doesn't Include Singleton Constant
backported into `ruby_1_9_3` at r44939. usa (Usaku NAKAMURA)
05:58 AM Revision 86d4408c (git): merge revision(s) 44628: [Backport #9413]
* eval.c (rb_mod_s_constants): return its own constants for other
than Module itself. [ruby-core:59763] [Bug #9413]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
05:45 AM Bug #9187: st_table leaks when exception is raised in Hash#rehash
backported into `ruby_1_9_3` at r44948. usa (Usaku NAKAMURA)
05:45 AM Revision 90d94de3 (git): merge revision(s) 43942,43957,43975: [Backport #9187]
* hash.c (rb_hash_rehash): fix to free new st_table when exception
is raised in do_hash(). [Bug #9187]
* hash.c (rb_hash_rehash): make temporary st_table under the control
of GC. [Bug #9187]
* test/r...
U.Nakamura
05:04 AM Revision 8c5c68b2 (git): * 2014-02-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:04 AM Revision aff08cfc (git): gc.c: unit suffix
* gc.c (get_envparam_size): accept unit suffix 'k', 'm', and 'g'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:52 AM Bug #8865: OptionParser acceptable bugs
backported into ruby_1_9_3 at r44935. usa (Usaku NAKAMURA)
04:52 AM Revision 1bb654d3 (git): merge revision(s) 42844,42845: [Backport #8865]
* lib/optparse.rb: The Integer acceptable now allows binary and
hexadecimal numbers per the documentation. [ruby-trunk - Bug #8865]
DecimalInteger, OctalInteger, DecimalNumeric now validate their input
bef...
U.Nakamura
04:31 AM Bug #9518: Objects in large arrays are leaked
Oops, the markdown rendering messed up the code I pasted above.
a = [nil] * 131071
loop { a << Object.new; a.pop }
# process RSS stays stable
a = [nil] * 131072
loop { a << Object.new; a.pop }
# process ...
Anonymous
04:29 AM Bug #9518 (Closed): Objects in large arrays are leaked
a = [nil] * 131071
loop { a << Object.new; a.pop }
# process RSS stays stable
a = [nil] * 131072
loop { a << Object.new; a.pop }
# process RSS grows quickly and never falls
It seems to be related to this bit of code: https://gi...
Anonymous
04:25 AM Bug #8425: webrick show local filesystem charset bug
backported into ruby_1_9_3 at r44934. usa (Usaku NAKAMURA)
04:24 AM Revision a20b957b (git): merge revision(s) 40848: [Backport #8425]
* lib/webrick/htmlutils.rb (WEBrick::HTMLUtils#escape): replace HTML
meta chars even in non-ascii string. [Bug #8425] [ruby-core:55052]
* lib/webrick/httputils.rb (WEBrick::HTTPUtils#{_escape,_unescape}):
fi...
U.Nakamura
04:16 AM Bug #9266 (Assigned): dead links to rubyforge
then, reopened. usa (Usaku NAKAMURA)
04:15 AM Bug #8945: Unmarshaling an Array containing a Bignum from a tainted String returns a frozen, tainted Bignum
IMO this is a feature change, although it is close to a bug infinite.
So, I decided this not to backport into 1.9.3.
usa (Usaku NAKAMURA)
03:59 AM Bug #8627: Socket.pack_sockaddr_in crashes ruby
I can't test it on the problem platform, but I guess this will occurs with 1.9.3, too.
backported into ruby_1_9_3 at r44933.
usa (Usaku NAKAMURA)
03:57 AM Revision a540b10c (git): merge revision(s) 41215,41216,41217: [Backport #8627]
* ext/socket/raddrinfo.c (nogvl_getaddrinfo): work around for Ubuntu
13.04's getaddrinfo issue with mdns4. [ruby-list:49420]
* ext/socket/raddrinfo.c (nogvl_getaddrinfo): Add missing return
value assignment.
...
U.Nakamura
03:49 AM Bug #9342: [PATCH] SizedQueue#clear does not notify waiting threads in Ruby 1.9.3
Commited to ruby_1_9_3 at r44932.
Thank you, Justin!
usa (Usaku NAKAMURA)
03:48 AM Revision d88502b7 (git): * lib/thread.rb (SizedQueue#clear): wake waiting threads when called.
[Bug #9342] [ruby-core:59462]
* test/thread/test_queue.rb: add a test for above.
patched by Justin Collins.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:09 AM Bug #9517: why not match ?
ok, why not set Regexp::MULTILINE by default ? sevk (kk kk)
02:51 AM Bug #9517: why not match ?
I think this issue is not a bug.
Because s1 string contains "\n" character, the match fails.
Try with
r = Regexp.new '[\001\002\003]\000(.*?)\xAA' , Regexp::MULTILINE , 'n'
phasis68 (Heesob Park)
02:24 AM Bug #9517 (Rejected): why not match ?
```
class String
def jhex
self.split(/,|\s+/).map{|x| x.hex}.pack('c*')
end
end
s = "01 00 28 09 00 04 02 00 27 AA" .jhex
s1 = "01 00 05 09 00 04 02 00 0A AA" .jhex
s .force_encoding 'ascii-8bit'
s1.force_encoding '...
sevk (kk kk)

02/13/2014

05:11 PM Misc #9516 (Open): Consolidate all deprecation messages to one or more helper methods
I was examining this blog entry: http://batsov.com/articles/2014/02/05/a-list-of-deprecated-stuff-in-ruby/ and I wanted to add these warning in JRuby. I thought it would be nice if I could make a higher level construct (e.g. @RubyDeprec... enebo (Thomas Enebo)
02:44 PM Bug #9452 (Closed): Refining methods that should be private
Applied in changeset r44931.
----------
* vm_insnhelper.c (vm_call_method): should check ci->me->flag of
a refining method in case the method is private.
[ruby-core:60111] [Bug #9452]
* vm_method.c (make_method_entry_refined): set ...
shugo (Shugo Maeda)
02:44 PM Revision 4d33c0e9 (git): * vm_insnhelper.c (vm_call_method): should check ci->me->flag of
a refining method in case the method is private.
[ruby-core:60111] [Bug #9452]
* vm_method.c (make_method_entry_refined): set me->flag of a refined
method entry to NOEX_PUBLIC in case the original method is private
and it is refin...
shugo (Shugo Maeda)
10:38 AM Feature #666: Enumerable::to_hash
For those interested in this feature, check #7292, Marc-Andre implemented Array#to_h and Enumerable#to_h. It's not as powerful (since it takes no block, you'll usually need to create an intermediate array with "map"), but it's definitely... tokland (Arnau Sanchez)
09:40 AM Revision 518ab383 (git): re.c (rb_reg_raise): remove volatile
* re.c (rb_reg_raise): remove volatile
Unnecessary since r41597
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
09:36 AM Revision 9c4d2d79 (git): re.c (rb_reg_regcomp): remove volatile
* re.c (rb_reg_regcomp): remove volatile
Unnecessary since r13261
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
07:55 AM Revision dc853e33 (git): * test/ruby/test_array.rb: Ensure flatten! is used for test_flatten
Patch by @ksss [Fixes GH-530] https://github.com/ruby/ruby/pull/530
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
06:59 AM Revision 966d04da (git): * marshal.c: fix typo by @xta [fix GH-533] [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
06:43 AM Revision 5b56c1c4 (git): parse.y: attrset from junk ID
* parse.y (IDSET_ATTRSET_FOR_INTERN): fix off-by-one bug.
* parse.y (rb_enc_symname_type): junk ID succeeded by '=' is also
attrset ID. [ruby-core:60668] [Bug #8756]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44926 b2dd03c8-39...
nobu (Nobuyoshi Nakada)
02:28 AM Bug #9388 (Feedback): Ruby 1.9.3-pxxx segmentation fault
Could you try to your code in Ruby 2.0 or 2.1? hsbt (Hiroshi SHIBATA)
02:06 AM Bug #9492 (Closed): ruby won't build on Mac OS X versions before 10.6 - pthread_setname_np() not available
Applied in changeset r44925.
----------
configure.in: use pthread_setname_np only if available
* configure.in: check if pthread_setname_np is available.
* thread_pthread.c: pthread_setname_np is not available on old
Darwins. [ruby-c...
nobu (Nobuyoshi Nakada)
02:06 AM Revision bb7ae984 (git): configure.in: use pthread_setname_np only if available
* configure.in: check if pthread_setname_np is available.
* thread_pthread.c: pthread_setname_np is not available on old
Darwins. [ruby-core:60524] [Bug #9492]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44925 b2dd03c8-39d4-4d8...
nobu (Nobuyoshi Nakada)
12:15 AM Revision 75e1b5c8 (git): fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:02 AM Bug #9514 (Third Party's Issue): Huge query crash ruby core
drbrain (Eric Hodel)

02/12/2014

10:32 PM Bug #9492: ruby won't build on Mac OS X versions before 10.6 - pthread_setname_np() not available
I am also experiencing this issue.
There are still many Apple Xserve running OS X 10.5.8 (darwin 9.8) in production.
PvpDJgHP (William Thomas NELSON)
10:12 PM Feature #9513: Hide Rational internal
[email protected] wrote:
> This is similar to [Feature #6083] for struct RBignum.

I support hiding more internals. Thank you.
I hope for 100% opaque data structures for the C-API one day,
maybe in 3-5 years?
normalperson (Eric Wong)
12:00 PM Feature #9513 (Closed): Hide Rational internal
I'd like to hide C-level Ratinal internal.
I made a patch to do it.
This is similar to [Feature #6083] for struct RBignum.
If the internal is hidden, we can change it without compatibility problem.
For example, we can use GMP.
T...
akr (Akira Tanaka)
09:22 PM Bug #9514: Huge query crash ruby core
[email protected] wrote:
> I have made a query on a [[http://teradata.com|terradata]] server using https://github.com/priviterag/teradata-cli

>
normalperson (Eric Wong)
01:51 PM Bug #9514 (Third Party's Issue): Huge query crash ruby core
Hi,
I have made a query on a [[http://teradata.com|terradata]] server using https://github.com/priviterag/teradata-cli
The result output is a CSV file containing at least a billing of lines (unicode).
After a few hours, I have t...
waghanza (Marwan Rabbâa)
04:16 PM Feature #9515 (Open): `IO.each` and `CSV.each`
In `IO` class, there are pairs of a class method and an instance method with related function:
* `IO.read` and `IO#read`
* `IO.write` and `IO#write`
* `IO.foreach` and `IO#each` (or its alias `IO#each_line`)
For consistency, plea...
sawa (Tsuyoshi Sawada)
04:04 PM Revision 6cb5dc55 (git): * configure.in: revert r44922. I should have used AC_CHECK_FUNCS()
to just define a symbol if the function is available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Glass_saga (Masaki Matsushita)
03:24 PM Revision 353fcc27 (git): * configure.in: use AC_CHECK_FUNC instead of AC_CHECK_FUNCS
if available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Glass_saga (Masaki Matsushita)
03:17 PM Revision 759e2c79 (git): * 2014-02-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:17 PM Revision d6203c93 (git): * configure.in: fix to undefine HAVE_MEMEM collectlly if it is broken.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Glass_saga (Masaki Matsushita)
02:52 PM Bug #8756: SEGFAULT caused by `p Struct.new(:q?).instance_methods`
See https://bugs.ruby-lang.org/issues/9248#note-6 Eregon (Benoit Daloze)
11:48 AM Feature #6083: Hide a Bignum definition
I made a patch for this issue.
It just moves struct RBignum and related macros from include/ruby/ruby.h to internal.h, not bignum.c.
It is because other files (such as gc.c, marshal.c, etc.) access internal of struct RBignum.
akr (Akira Tanaka)
09:01 AM Revision 14922c70 (git): httpservlet/filehandler.rb: pass queries
* lib/webrick/httpservlet/filehandler.rb (set_dir_list): pass the
given queries to subdirectories.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:01 AM Revision 897a42b0 (git): yaml/api.c: fix typo
* ext/psych/yaml/api.c (yaml_emitter_delete): fix typo 'empty'
with 'emitter'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:07 AM Bug #9156: Not able to get tmp dir to work with Ruby 2.0.0
MacOS X makes a directory with permission 0700 under `/var/folders` and sets `TMPDIR` to it by default.
Check if it is properly set: `ls -ld "$TMPDIR"`
nobu (Nobuyoshi Nakada)
02:36 AM Revision f9fc9298 (git): test_rubyoptions.rb: just check if aborted
* test/ruby/test_rubyoptions.rb (test_segv_loaded_features):
ignore message at segv, just check if aborted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:25 AM Revision 20061dad (git): error.c: Crash Report log
* error.c (REPORTBUG_MSG): mention about Crash Report log file on
MacOS X.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:25 AM Revision 4cac2f4a (git): bigdecimal.h: suppress warnings
* ext/bigdecimal/bigdecimal.h (VpSetZero, VpSetInf): get rid of
unused-value warnings by gcc 4.9.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:37 AM Bug #9512 (Feedback): Segmentation fault for eventmachine 1.0.3 in rubyeventmachine.bundle on Ruby 2.0.0p353
Could you show Crash Report log file? nobu (Nobuyoshi Nakada)
12:21 AM Bug #9512: Segmentation fault for eventmachine 1.0.3 in rubyeventmachine.bundle on Ruby 2.0.0p353
eventmachine installs fine on ruby 2.0.0p195 (2013-05-14 revision 40734) [x86_64-darwin13.0.0] rubiii (Daniel Harrington)
12:14 AM Bug #9512: Segmentation fault for eventmachine 1.0.3 in rubyeventmachine.bundle on Ruby 2.0.0p353
Also not sure if this is a Ruby problem or if I should direct it to the eventmachine project. But I'm sure you can tell me. rubiii (Daniel Harrington)
12:07 AM Bug #9512 (Closed): Segmentation fault for eventmachine 1.0.3 in rubyeventmachine.bundle on Ruby 2.0.0p353
$ ruby --version # ruby 2.0.0p353 (2013-11-22 revision 43784) [x86_64-darwin12.5.0]
See attached crash output for details.
Let me know if you need any more information.
Ps. Not sure if ruby-trunk is the right project, but there d...
rubiii (Daniel Harrington)
 

Also available in: Atom