Project

General

Profile

Activity

From 01/31/2014 to 02/06/2014

02/06/2014

09:42 PM Bug #9477: Address family not supported by protocol - socket(2) - udp
Please show us /etc/resolv.conf, not /etc/hosts. akr (Akira Tanaka)
04:27 PM Bug #9477: Address family not supported by protocol - socket(2) - udp
No, vserver doesn't have the ipv6 patch enabled. Hosts is
```
127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnod...
bjoern (Bjoern Rennhak)
04:24 PM Bug #9477: Address family not supported by protocol - socket(2) - udp
~% ruby -rresolv -e 'puts Resolv::DNS.new.getresource("_rubygems._tcp.rubygems.org", Resolv::DNS::Resource::IN::SRV).target'
Output is
```
/usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/resolv.rb:744:in `initialize': Address fami...
bjoern (Bjoern Rennhak)
08:43 PM Feature #9496: [PATCH] constant.h: repacking rb_const_entry_struct
Thanks, committed as r44869.
This consistently lowers time(1) measurement of "ruby -e exit" memory
use by ~10-16K on my x86_64 machine, so it should help with bigger apps.
normalperson (Eric Wong)
08:33 PM Feature #9496 (Closed): [PATCH] constant.h: repacking rb_const_entry_struct
Applied in changeset r44869.
----------
constant.h: reduce rb_const_entry_t size on 64-bit
* constant.h: reduce rb_const_entry_t size on 64-bit
Patch by Adam Avilla [ruby-core:60542] [Feature #9496]
Anonymous
08:03 PM Feature #9496 (Closed): [PATCH] constant.h: repacking rb_const_entry_struct
From f8c53e2242e514626a4c9cecba149213ae286722 Mon Sep 17 00:00:00 2001
From: hekaldama <hekaldama>
Date: Wed, 29 Jan 2014 08:50:16 -0800
Subject: [PATCH] constant.h: repacking rb_const_entry_struct
---
constant.h | 2 +-
1 file ...
hekaldama (Adam Avilla)
08:33 PM Revision 88779f0a (git): * 2014-02-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:33 PM Revision 4baa488e (git): constant.h: reduce rb_const_entry_t size on 64-bit
* constant.h: reduce rb_const_entry_t size on 64-bit
Patch by Adam Avilla [ruby-core:60542] [Feature #9496]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
07:21 PM Revision 73fc7809 (git): merge revision(s) 44861,44862: [Backport #9493]
* gc.c (get_envparam_int): don't accept a value equals to lowerbound
(changed by last commit) because "" or "foo" (not a number) strings
are parsed as 0. They should be rejected.
* gc.c (get_envparam_double):...
naruse (Yui NARUSE)
06:11 PM Revision 5d0f801a (git): * 2014-02-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@44867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:11 PM Revision 3c00535d (git): Add missing file of r44858
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@44866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
12:39 PM Bug #9433: Backquote fail to allocate memory
Daniel Libanori wrote:
> Hello Tomoyuki,
> ...
dlibanori (Daniel Libanori)
12:36 PM Bug #9433: Backquote fail to allocate memory
Hello Tomoyuki,
I am forcing memory usage through inserting string at an array. Actually, something like this is happing at another project I am working. My server has something about 1.6GB memory, my Ruby process is using 1.2GB and i...
dlibanori (Daniel Libanori)
12:14 PM Bug #9433 (Rejected): Backquote fail to allocate memory
Hello, Daniel.
Thank you for your reporting.
I cannot reproduce this, but I doubt your fork.rb have object leak. String objects are accumulated to local variable `array` at line.12. I think it's regular behavior.
nagachika (Tomoyuki Chikanaga)
12:21 PM Bug #9434: Segfault on bundle exec rackup of a Sinatra app
Hello, Ilya.
Thank you for your report.
It seemds that Segmentation Fault occurred in extension library mysql. I maybe a issue of mysql.gem.
Could you show me a Crash Report under ~/Library/Logs/DiagnosticReports ?
Thanks.
nagachika (Tomoyuki Chikanaga)
11:49 AM Revision d4bbc2d7 (git): gc.c: check numeric string
* gc.c (get_envparam_int, get_envparam_double): check invalid string
as numeric.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:06 AM Revision 90294118 (git): fix typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
08:01 AM Feature #9487 (Rejected): Add #dup?, #dup! and #clone? and #clone!
Nice try. But dup! and clone! are not following the naming convention (adding ! to more dangerous version).
We are waiting for other naming candidates.
Matz.
matz (Yukihiro Matsumoto)
07:56 AM Bug #9008: TestProcess#test_clock_getres_constants and TestProcess#test_clock_gettime_constants fails on ARM
Just FYI, the test suite passes on Fedora Rawhide with 3.12.9-300.fc20.armv7hl Kernel. Thanks for pushing the fix upstream. vo.x (Vit Ondruch)
07:54 AM Bug #9124: TestSocket errors in test-all on Arch 64-bit
This test passes for me on Fedora Rawhide with Kernel 3.12.8-300.fc20.x86_64 vo.x (Vit Ondruch)
07:52 AM Bug #9494 (Closed): Race condition in autoload of Digest::SHA256, etc.
At the moment the digest extension uses const_missing to implement autoload. Unfortunately there's a race condition: another thread can run after the constant is defined, but before it is initialized. (http://git.io/YW3bbA)
There's a ...
Conrad.Irwin (Conrad Irwin)
07:24 AM Revision 0de6eef3 (git): merge revision(s) 44852: [Backport #9343]
* ext/thread/thread.c (rb_szqueue_max_set): use correct queue and
limit wakeups. [Bug #9343][ruby-core:60517]
* test/thread/test_queue.rb (test_sized_queue_assign_max):
test for bug
git-svn-id: svn+ssh://c...
naruse (Yui NARUSE)
06:28 AM Revision b31c66f7 (git): * gc.c (get_envparam_int): correct warning messsages.
* gc.c (get_envparam_double): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
06:27 AM Bug #9492 (Closed): ruby won't build on Mac OS X versions before 10.6 - pthread_setname_np() not available
The following commit added a usage of the pthread_setname_np() function on Darwin to set the timer thread name: https://github.com/ruby/ruby/commit/09c96a7858955f2b94238bd4bf38729f0d650f22
This function isn't available in all OS X ver...
mistydemeo (Misty De Meo)
06:26 AM Revision cb410ff9 (git): * gc.c (get_envparam_int): don't accept a value equals to lowerbound
(changed by last commit) because "" or "foo" (not a number) strings
are parsed as 0. They should be rejected.
* gc.c (get_envparam_double): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44861 b2dd03c8-39d4-4d8f-98ff-823fe...
ko1 (Koichi Sasada)
05:20 AM Revision c50e2851 (git): * configure.in (POSTLINK): sign built program using RUBY_CODESIGN
identity.
[Backport #9491]
* Makefile.in (PROGRAM): ditto.
* Makefile.in (LIBRUBY_SO): ditto.
* lib/mkmf.rb (LINK_SO): sign extensions too. replace empty line with
default command.
* enc/depend (link_so): prefix $(Q) for each co...
U.Nakamura
03:08 AM Revision c6c6a74f (git): * ext/stringio/stringio.c: [DOC] add docs and example by @schneems [ci skip] [fix GH-527]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
02:59 AM Revision 9b9d3bac (git): * lib/rubygems: RubyGems 2.2.2 which contains the following bug fixes:
http://rubygems.rubyforge.org/rubygems-update/History_txt.html#label-2.2.2+%2F+2014-02-05
https://bugs.ruby-lang.org/issues/9489
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@44858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
02:54 AM Revision 71a01622 (git): suppress warnings: assigned but unused variable - es
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
02:24 AM Revision 39cb7840 (git): merge revision(s) 44853: [Backport #9490]
* gc.c (ruby_gc_set_params): if RUBY_GC_OLDMALLOC_LIMIT is provided,
then set objspace->rgengc.oldmalloc_increase_limit.
Without this fix, the env variable RUBY_GC_OLDMALLOC_LIMIT
does not work.
* g...
naruse (Yui NARUSE)
01:31 AM Revision 78b1ca9f (git): array.c: comment why rb_ary_modify is needed twice
* array.c (rb_ary_initialize): NUM2LONG() may call size.to_int,
ary can be frozen, modified, etc, so recheck after argument
conversion is necessary. [Closes GH-526]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44855 b2dd03c8-3...
nobu (Nobuyoshi Nakada)
12:50 AM Revision 38a9831c (git): test_marshal.rb: fix test depending on heap address
* test/ruby/test_marshal.rb (test_packed_string): explicitly force
encoding for the case packed string is 7bit ASCII only.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:32 AM Bug #9343: [PATCH] SizedQueue#max= wakes up waiters properly
Update backport status drbrain (Eric Hodel)
12:04 AM Revision f167bc40 (git): * gc.c (ruby_gc_set_params): if RUBY_GC_OLDMALLOC_LIMIT is provided,
then set objspace->rgengc.oldmalloc_increase_limit.
Without this fix, the env variable RUBY_GC_OLDMALLOC_LIMIT
does not work.
* gc.c (get_envparam_int): accept a value equals to lowerbounds.
* gc.c (get_envparam_double): ditto.
gi...
ko1 (Koichi Sasada)

02/05/2014

11:44 PM Bug #9343: [PATCH] SizedQueue#max= wakes up waiters properly
SASADA Koichi <ko1@atdot.net> wrote:
> Could you commit it?

Done, r44852. This needs a backport to 2.1
normalperson (Eric Wong)
11:35 PM Bug #9343 (Closed): [PATCH] SizedQueue#max= wakes up waiters properly
Applied in changeset r44852.
----------
ext/thread: SizedQueue#max= wakes up waiters properly
* ext/thread/thread.c (rb_szqueue_max_set): use correct queue and
limit wakeups. [Bug #9343][ruby-core:60517]
* test/thread/test_queue....
Anonymous
11:03 PM Bug #9343: [PATCH] SizedQueue#max= wakes up waiters properly
(2014/02/06 2:53), normalperson@yhbt.net wrote:
> Yes, your patch looks correct. Old thread.rb had "diff.times do"

All right.

Could you commit it?

--
// SASADA Koichi at atdot dot net
ko1 (Koichi Sasada)
05:53 PM Bug #9343: [PATCH] SizedQueue#max= wakes up waiters properly
ko1@atdot.net wrote:
> sorry for long absent.

No worries, I forgot about this, too :x

> I reviewed this patch and I have a question.
> Only `diff' threads should wake-up?

Yes, your patch looks correct. Old thread.rb had "dif...
normalperson (Eric Wong)
03:10 PM Bug #9343: [PATCH] SizedQueue#max= wakes up waiters properly
sorry for long absent.
I reviewed this patch and I have a question.
Only `diff' threads should wake-up?
```
Index: thread.c
===================================================================
--- thread.c (revision 44833)
+++ ...
ko1 (Koichi Sasada)
11:35 PM Revision 2d603f9f (git): ext/thread: SizedQueue#max= wakes up waiters properly
* ext/thread/thread.c (rb_szqueue_max_set): use correct queue and
limit wakeups. [Bug #9343][ruby-core:60517]
* test/thread/test_queue.rb (test_sized_queue_assign_max):
test for bug
git-svn-id: svn+ssh://ci....
Eric Wong
10:29 PM Bug #9488 (Rejected): ruby/2.1.0/net/protocol.rb:153 - Resource temporarily unavailable - read would block
There is no bug here. You told RubyGems to print out ever exception raised even if it is rescued. Remove the `--debug` flag if you are not debugging RubyGems. drbrain (Eric Hodel)
07:43 PM Bug #9488 (Rejected): ruby/2.1.0/net/protocol.rb:153 - Resource temporarily unavailable - read would block
/opt/rubies/ruby-2.1.0/bin/gem env
RubyGems Environment:
- RUBYGEMS VERSION: 2.2.0
- RUBY VERSION: 2.1.0 (2013-12-25 patchlevel 0) [x86_64-linux]
- INSTALLATION DIRECTORY: /opt/rubies/ruby-2.1.0/lib/ruby/gems/2.1....
jigarjm (jigar joshi)
10:18 PM Revision b9a4cf2a (git): * lib/rubygems: Update to RubyGems 2.2.2. Complete history at:
http://rubygems.rubyforge.org/rubygems-update/History_txt.html#label-2.2.2+%2F+2014-02-05
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
03:56 PM Feature #9487 (Rejected): Add #dup?, #dup! and #clone? and #clone!
Some objects can't use #dup or #clone b/c they are singleton, like Integer. So an error is raised if one tries.
> 5.dup
TypeError: can't dup Fixnum
It would helpful if there was an easy way to check if this is so on an a...
atlas (Atlas Prime)
03:47 PM Revision 1f478676 (git): merge revision(s) 44555:
test_weakref.rb: find collected weakref
* test/test_weakref.rb (test_recycled): retry and find a WeakRef
whose the target is collected, to fix circumstance dependent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_...
naruse (Yui NARUSE)
03:32 PM Revision 62d37fb7 (git): * 2014-02-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:32 PM Revision 8a2621dd (git): eval_intern.h: use TH_TMPPOP_TAG and TH_REPUSH_TAG
* eval_intern.h (TH_TMPPOP_TAG, TH_REPUSH_TAG): instead of TAG2 names.
* eval_intern.h (TH_REPUSH_TAG): suppress unused-value warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:57 PM Revision eef4a3cd (git): merge revision(s) 44583: [Backport #9302]
* ext/thread/thread.c (rb_szqueue_push): check GET_SZQUEUE_WAITERS
instead of GET_QUEUE_WAITERS to prevent deadlock. Patch by Eric Wong.
[Bug #9302] [ruby-core:59324]
* test/thread/test_queue.rb: add test
g...
naruse (Yui NARUSE)
02:53 PM Revision 72d18038 (git): merge revision(s) 44525,44534,44537: [Backport #9381]
* hash.c (rb_objid_hash): return hash value from object ID with a
salt, extract from rb_any_hash().
* object.c (rb_obj_hash): return same value as rb_any_hash().
fix r44125. [ruby-core:59638] [Bug #9381]
...
naruse (Yui NARUSE)
02:51 PM Revision 24b531f9 (git): merge revision(s) r42988: [Backport #8928]
* parse.y (intern_str): sigil only names are junk, at least one
identifier character is needed. [ruby-dev:47723] [Bug #8928]
* parse.y (rb_enc_symname_type): fix out of bound access.
git-svn-id: svn+ssh://ci.ruby-la...
nagachika (Tomoyuki Chikanaga)
02:03 PM Revision 073f93d7 (git): merge revision(s) r42456: [Backport #8101]
* time.c (get_timeval, get_new_timeval): use rb_obj_class()
instead of CLASS_OF() because CLASS_OF() may return
a singleton class.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@44844 b2dd03c8-39d4-...
nagachika (Tomoyuki Chikanaga)
01:54 PM Feature #9423: Improve warning semantics
Daniel, that does seem like an even better idea. But it's also a much bigger change. I wonder what effect would that have on performance? Also, I wonder if there could still some type of "severity" level. For instance I could imagine wan... atlas (Atlas Prime)
01:41 PM Revision e7a2c425 (git): merge revision(s) 44527,44552,44553:
* vm_insnhelper.c (vm_search_super_method): when super called in a
bound UnboundMethod generated from a module, no superclass is
found since the current defined class is the module, then call
method_missing ...
naruse (Yui NARUSE)
01:08 PM Revision 1b05b4f4 (git): merge revision(s) 44490,44496: [Backport #9352]
* ext/socket/socket.c (rsock_sys_fail_host_port): save and restore errno
before calling rb_sys_fail_str to prevent [BUG] errno == 0.
Patch by Eric Wong. [ruby-core:59498] [Bug #9352]
* ext/socket/socket.c (rs...
naruse (Yui NARUSE)
12:43 PM Revision c00e2889 (git): merge revision(s) 44517,44518,44519,44523: [Backport #9354]
* lib/timeout.rb (Timeout#timeout): when a custom exception is given,
no instance is needed to be caught, so defer creating new instance
until it is raised. [ruby-core:59511] [Bug #9354]
* lib/timeout.rb (Ti...
naruse (Yui NARUSE)
11:56 AM Revision b2b5a5db (git): pack.c: hide associated objects
* marshal.c (to_be_skipped_id): ignore anonymous attributes.
* pack.c (Init_pack): use anonymous ID so that associated objects
do not appear in the packed result.
* parse.y (rb_make_internal_id): return an anonymous ID for
internal u...
nobu (Nobuyoshi Nakada)
11:42 AM Bug #9467: Net::HTTP does unzip zipped content
Hey
I found the issue to be occurring in rails console but not in IRB. I should have tested it before. The gem right_aws was causing the issue it seems.
Regards,
dknight (Amitav Mohanty)
11:29 AM Revision c0bdb251 (git): merge revision(s) 44512: [Backport #9340]
* array.c (ary_add_hash): Fix consistency issue between Array#uniq and
Array#uniq! [Bug #9340] [ruby-core:59457]
* test/ruby/test_array.rb (class TestArray): regression test for above.
git-svn-id: svn+ssh://ci.ruby-l...
naruse (Yui NARUSE)
08:32 AM Revision 5ba39a12 (git): marshal.c: refine special instance variables
* marshal.c (w_obj_each, obj_count_ivars): count instance
variables accurately.
* marshal.c (encoding_name, w_encoding): separate getting encoding
values and writing them.
* marshal.c (w_symbol, w_ivar, w_objivar, w_object): refine...
nobu (Nobuyoshi Nakada)
08:24 AM Revision 17a47a33 (git): marshal.c: preserve encoding
* marshal.c (must_not_be_anonymous, class2path): preserve encoding
in the exception messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:49 AM Revision e10e309d (git): parse.y: symbol names must be ascii-compatible
* parse.y (rb_enc_symname_type): encoding of symbol names must be
ascii-compatible, reject ascii-incompatible encodings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:41 AM Revision c5038b22 (git): assertions.rb: remove extra period
* lib/test/unit/assertions.rb (assert_raise): remove extra period,
which will be appended by `message`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:23 AM Revision c512cfdb (git): dir.c: fallback to ASCII-8BIT
* dir.c (push_glob): fallback to ASCII-8BIT for the case non-ascii
path name exists. failed with LANG=C, on MacOS X which has a
localized symlink on the root directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44834 b2dd03...
nobu (Nobuyoshi Nakada)
05:52 AM Bug #9486 (Assigned): Multiple Kernel#local_variables entries with block local parameters
It's a known bug, but I've forgotten to issue a ticket.
Thank you.
nobu (Nobuyoshi Nakada)
04:03 AM Bug #9486 (Closed): Multiple Kernel#local_variables entries with block local parameters
Better formatting here: http://stackoverflow.com/questions/21423863/multiple-kernellocal-variables-entries-with-block-local-parameters/21427424?noredirect=1#21427424
I am using this version of Ruby on Arch Linux. I also tried the firs...
ryantm (Ryan Mulligan)
05:42 AM Revision ae411fb5 (git): * vsnprintf.c: remove duplicated def of `UNINITIALIZED_VAR()'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
05:41 AM Revision d76b3826 (git): * ext/objspace/objspace_dump.c (dump_object): use STR_SHARED_P()
instead of removed STR_NOCAPA_P() macro.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
04:58 AM Revision 1ccaa475 (git): * internal.h, vm_core.h: move LIKELY/UNLIKELY/UNINITIALIZED_VAR()
macros from vm_core.h to internal.h.
* string.c: remove dependency to "vm_core.h".
* common.mk: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
04:43 AM Revision b6a4e7ce (git): merge revision(s) 44803: [Backport #9485]
* 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...
U.Nakamura
04:36 AM Revision 135bbdcd (git): fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
04:31 AM Revision 3889ce2d (git): * string.c (rb_str_free): use FL_TEST(str, STR_SHARED) directly
because str is not embed.
* string.c (str_replace): remove `FL_SET(str, STR_SHARED)' line
because STR_SET_SHARED() set STR_SHARED.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
04:21 AM Revision 38cd45a3 (git): * internal.h: remove macros STR_NOCAPA and STR_NOCAPA_P().
* string.c (rb_str_resize): remove `STR_SET_NOEMBED(str)' because
str_make_independent_expand() set NOEMBED flag.
* string.c (rb_str_resize): remove `STR_NOCAPA_P(str)' check because
`str' is independent (not shared).
git-svn-id: ...
ko1 (Koichi Sasada)
04:05 AM Revision bda2300c (git): merge revision(s) 44501: [Backport #9353]
* struct.c (rb_struct_set): return assigned value from setter method
rather than struct object. [Bug #9353] [ruby-core:59509]
* test/ruby/test_struct.rb (test_setter_method_returns_value): add test
git-svn-id: svn+ss...
naruse (Yui NARUSE)
04:00 AM Revision 84d8104e (git): * string.c: refactoring, especially about string flags.
* string.c (STR_UNSET_NOCAPA): removed.
Use FL_UNSET() with STR_SHARED.
* string.c (rb_str_capacity): check STR_SHARED directly
beacuse it is not a embed string.
* string.c (rb_str_modify_expand): ditto.
* string.c (rb_str_shared_rep...
ko1 (Koichi Sasada)
03:53 AM Bug #9333: win32/Makefile.sub malconfiguration
(for memorandum, r44472) usa (Usaku NAKAMURA)
03:46 AM Bug #8721 (Rejected): require digest.so on OSX
usa (Usaku NAKAMURA)
03:39 AM Bug #9477: Address family not supported by protocol - socket(2) - udp
Does the host supports IPv6?
(I guess it doesn't because vserver needs a patch to use IPv6: http://linux-vserver.org/IPv6 )
Would you please show us /etc/resolv.conf.
(I guess it contains IPv6 address for some reason.)
akr (Akira Tanaka)
03:29 AM Bug #9393 (Rejected): Strange behavior of DelegateClass + loop + method_missing
usa (Usaku NAKAMURA)
03:14 AM Revision 46fcec9a (git): * string.c (RESIZE_CAPA): should not resize shared string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
02:51 AM Bug #9444 (Rejected): Segmentation fault in vendor/bundle/gems/json-1.8.1/lib/json/common.rb:67: [BUG]
usa (Usaku NAKAMURA)
02:49 AM Revision 906e88e3 (git): * gc.c (gc_mark_children): STR_ASSOC is no longer available.
Reported by @nagachika.
http://d.hatena.ne.jp/nagachika/20140204
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
02:45 AM Revision 62bd0f18 (git): * string.c (rb_str_new_frozen): refactoring code.
* Move code from str_new_frozen_with_klass() (and remove it)
* `aux.shared' should not be 0 for STR_SHARED strings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
02:42 AM Bug #9472: rb_io_syswrite needs RB_GC_GUARD
backported into ruby_1_9_3 at r44821. usa (Usaku NAKAMURA)
02:42 AM Revision 13848d60 (git): merge revision(s) 44790: [Backport #9472]
* io.c (rb_io_syswrite): add RB_GC_GUARD
[Bug #9472][ruby-core:60407]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
02:38 AM Revision b2a2fa42 (git): merge revision(s) 37905: [Backport #8757]
* configure.in (opt-dir): don't use non portable flag -E of sed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
02:35 AM Revision 673745f7 (git): merge revision(s) 44803: [Backport #9478]
* 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...
naruse (Yui NARUSE)
01:34 AM Bug #9483 (Assigned): Fix typo in OpenURI and Ripper documenation
Thanks for the patch, yeah the grammar sounds weird but I think what the author wanted to represent as the actual type of these return values. Hence the capital Array and String, but it makes more sense to just lower case these and move ... zzak (zzak _)
01:08 AM Bug #9483 (Closed): Fix typo in OpenURI and Ripper documenation
Fixed grammar error in OpenURI#content_encoding and Ripper#tokenize.
Grouped them together because both were the same typo.
rondale_sc (Jonathan Jackson)
01:17 AM Revision 5c0d438f (git): * ext/psych/yaml/config.h (PACKAGE_VERSION): update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:17 AM Revision 215b9e76 (git): yaml/yaml_private.h: include ruby/extconf.h
* ext/psych/yaml/yaml_private.h: need ruby/extconf.h for
HAVE_CONFIG_H.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:17 AM Revision 990ba47c (git): yaml/api.c, yaml/loader.c: integer overflow
* ext/psych/yaml/api.c (yaml_scalar_event_initialize): fix possible
integer overflow.
(yaml_document_add_scalar): ditto.
(yaml_document_add_sequence): ditto.
(yaml_document_add_mapping): ditto.
* ext/psych/yaml/loader.c (yaml_p...
nobu (Nobuyoshi Nakada)
01:17 AM Revision 0483b29a (git): yaml/emitter.c: constify, r37936
* ext/psych/yaml/emitter.c (yaml_emitter_write_indicator): constify.
* ext/psych/yaml/emitter.c (yaml_emitter_write_block_scalar_hints):
ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:06 AM Revision 61dcd01e (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:04 AM Revision 1af28b7b (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:03 AM Bug #9476 (Closed): RDoc generation failure on Windows
zzak (zzak _)
12:58 AM Bug #9476: RDoc generation failure on Windows
This issue was solved with r44801. phasis68 (Heesob Park)
12:16 AM Bug #9476 (Feedback): RDoc generation failure on Windows
It is still happened in trunk? it is fixed by r44801, r44802 and r44807 probably. hsbt (Hiroshi SHIBATA)
12:33 AM Revision b38d16da (git): * lib/set.rb: [DOC] Fix grammatical error by @bouk [fix GH-524]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
12:27 AM Feature #9453: Return symbols of defined methods for `attr` and friends
Tsuyoshi Sawada wrote:
> What is the point of defining a private accessor method? You can directly refer to the instance variables without using accessors.
The example I gave was just one case of "code in the wild" that would benefit...
jballanc (Joshua Ballanco)

02/04/2014

11:53 PM Bug #9480 (Closed): Ruby on windows can get into an infinite loop when exiting
The Ruby VM can get into an infinite loop when exiting. I have attached two ruby programs (main.rb and watcher.rb). Main.rb spawns watcher.rb, and the watcher waits for main to exit. However, sometimes main.rb will get into an infinite l... joshc (Josh C)
11:24 PM Bug #9479: IMAP connection failure on Rubinius
Can you access your server with CRuby? drbrain (Eric Hodel)
03:09 PM Bug #9479 (Closed): IMAP connection failure on Rubinius
Hi,
I have made a little script fetching my email (running with gmail).
I have reported a bug on rubinus => https://github.com/rubinius/rubinius/issues/2916
I'm not sure where I have to report it,
Regards,
waghanza (Marwan Rabbâa)
11:22 PM Bug #9477: Address family not supported by protocol - socket(2) - udp
What is the output of:
ruby -rresolv -e 'puts Resolv::DNS.new.getresource("_rubygems._tcp.rubygems.org", Resolv::DNS::Resource::IN::SRV).target'
This is the code in the backtrace listed above.
drbrain (Eric Hodel)
11:30 AM Bug #9477 (Closed): Address family not supported by protocol - socket(2) - udp
On a fresh Debian GNU/Linux VServer guest running the latest RVM HEAD I experienced the following error:
```
Exception `LoadError' at /usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/resolv.rb:169 - LoadError
Exception `Errno::EAFNOS...
bjoern (Bjoern Rennhak)
09:10 PM Feature #9439: Remove OpenSSL from stdlib
+1 on moving OpenSSL out into a gem.
Note: Apple has marked OpenSSL obsolete, and will probably remove it in a future release of Mac OS X.
I work at a shop that ships a set of libraries to customers that make use of OpenSSL, and
a...
DanKegel (Dan Kegel)
07:24 PM Revision bfda9402 (git): * ext/psych/lib/psych.rb: New release of psych.
* ext/psych/psych.gemspec: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
07:18 PM Revision f35493b9 (git): * 2014-02-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:18 PM Revision e8132aa4 (git): * 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/yaml/writer.c: ditto
* ext/psych/yaml/yaml_private.h: ditto
git-svn-id: svn+ssh://ci.ruby-l...
tenderlovemaking (Aaron Patterson)
02:59 PM Bug #9473: Corruption and Segmentation faults all over
We've been running further tests and when running our app under Unicorn instead of Passenger the problem hasn't occurred yet. drasch (David Rasch)
12:41 PM Bug #9475 (Assigned): Behavior change with include + super + alias_method between 1.9.x and 2.x
nobu (Nobuyoshi Nakada)
10:17 AM Revision fc4321ea (git): * string.c: use long allocator names instead of numbered
allocator names.
* rb_str_new2 -> rb_str_new_cstr
* rb_str_new4 -> rb_str_new_frozen
* rb_str_new5 -> rb_str_new_with_class
* str_new3 -> str_new_shared
* str_new4 -> str_new_frozen_with_klass
git-svn-id: svn+ssh://ci.ruby-l...
ko1 (Koichi Sasada)
08:20 AM Revision 8d9b300a (git): dir.c: glob cases on case-insensitive system
* dir.c (glob_helper): return the filename with actual cases on
the filesystem if it is case-insensitive. [ruby-core:42469]
[Feature #5994]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:17 AM Revision 171a14b3 (git): * string.c: use STR_SHARED instead of ELTS_SHARED.
(same value, but more clear meaning)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
07:12 AM Revision c77a745a (git): * string.c: remvoe STR_ASSOC related code.
By r44804, string objects can not have STR_ASSOC flag.
* internal.h: ditto.
* ext/objspace/objspace_dump.c (dump_object): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
05:22 AM Feature #9453: Return symbols of defined methods for `attr` and friends
There are a number of reasons I use them, but the most obvious is that a
misspelled accessor method will raise NoMethod error, whereas a misspelled
@ivar reference will silently return nil.
--
Avdi Grimm
http://avdi.org
I only...
avdi (Avdi Grimm)
05:07 AM Revision 4b146b25 (git): pack.c: use ivar for associated objects
* pack.c (str_associate, str_associated): keep associated objects
in an instance variables, instead of in the internal structure.
* string.c (rb_str_associate, rb_str_associated): deprecate.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
nobu (Nobuyoshi Nakada)
03:55 AM Revision bebc52a4 (git): string.c: enable capacity when setting capa
* 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.org/ruby/trunk@448...
nobu (Nobuyoshi Nakada)
03:45 AM Revision 5b92c0be (git): dir.c: glob cases on case-insensitive system
* dir.c (glob_make_pattern): all alphabets are magic characters on
case-insensitive filesystems. [ruby-core:42469] [Feature #5994]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:19 AM Revision 859ae776 (git): Revert "dir.c: glob cases on case-insensitive system"
This reverts commit r44796.
* dir.c (glob_helper): return the filename with actual cases on
the filesystem if it is case-insensitive. [ruby-core:42469]
[Feature #5994]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
naruse (Yui NARUSE)
02:30 AM Bug #9476 (Closed): RDoc generation failure on Windows
The revision r44796 introduced rdoc generation failure.
Generating RDoc documentation
C:/work/ruby-2.2.0-r44798/lib/monitor.rb:9:in `require': cannot load such file -- thread (LoadError)
from C:/work/ruby-2.2.0-r44798/lib/mo...
phasis68 (Heesob Park)
12:48 AM Revision 4f431224 (git): * 2014-02-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:48 AM Revision ea2a00d7 (git): * lib/rubygems: Update to RubyGems 2.2.2 prerelease to check fixes to
CI.
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)

02/03/2014

10:32 PM Bug #9473: Corruption and Segmentation faults all over
rasch@raschnet.com wrote:
> 4. upgrading gems with C extensions

Can you reproduce this without C extensions?
Which C extensions do you run? Likely one of them is corrupting
memory, so it could be an odd/strange one somewhere..

...
normalperson (Eric Wong)
09:47 PM Bug #9473: Corruption and Segmentation faults all over
Fixed project, tracker and priority drbrain (Eric Hodel)
09:40 PM Bug #9473: Corruption and Segmentation faults all over
And we've also gotten from valgrind:
==13233== Thread 5:
==13233== Invalid read of size 8
==13233== at 0x3F2B4326A6: __sigsetjmp (in /lib64/libc-2.12.so)
==13233== Address 0xcef8730 is not stack'd, malloc'd or (recently) free'd
...
drasch (David Rasch)
05:02 PM Bug #9473 (Third Party's Issue): Corruption and Segmentation faults all over
We're in the process of moving from Rails 2.3 to 3.2 (both running on Ruby 1.9.3-p484)
In this process we've run into a snag where we're seeing errors crop up within 2-3 hours of taking production traffic (or replays thereof with sieg...
drasch (David Rasch)
10:23 PM Bug #9198: Segfault in TestException#test_machine_stackoverflow
Interesting. Can you poke the Red Hat glibc/kernel folks to see if the
problem is specific to RH/Fedora systems?

Regardless, the current method of getting the address of the main thread
stack seems error prone and fragile on Linux...
normalperson (Eric Wong)
08:22 PM Bug #9475 (Closed): Behavior change with include + super + alias_method between 1.9.x and 2.x
Ruby 2.0 appears to have introduced a subtle behavior change in method resolution that persists in 2.1.0.
The attached test case (also visible online at https://gist.github.com/benweint/8791007) is extracted from an actual application...
benweint (Ben Weintraub)
07:06 PM Bug #9474: Segment Fault
update with right log rafaelmacedo (rafael macedo)
06:56 PM Bug #9474 (Closed): Segment Fault
I'm getting a SEGFAULT when i try to instantiate new AR by a lambda with AR public method new. any help is welcome. rafaelmacedo (rafael macedo)
06:44 PM Feature #9453: Return symbols of defined methods for `attr` and friends
What is the point of defining a private accessor method? You can directly refer to the instance variables without using accessors. sawa (Tsuyoshi Sawada)
03:13 PM Feature #9453: Return symbols of defined methods for `attr` and friends
private *attr_reader(:images, :key_map, :window, :screen_manager, :animations)
does not look so nice to me (the parens and the explicit splat).
Maybe #private should accept an Array of Symbols so:
private attr_reader :imag...
Eregon (Benoit Daloze)
03:05 PM Feature #9453: Return symbols of defined methods for `attr` and friends
*bump*
Would be nice if we could get this in 2.2 (if someone could update the target version, I'd appreciate it).
jballanc (Joshua Ballanco)
02:50 PM Feature #9427 (Closed): [PATCH] io.c: remove socket check for sendfile
I see. It seems that the problems are sporadic. akr (Akira Tanaka)
06:12 AM Bug #9092: Update Unicode data to Unicode Version 7.0
Unicode 6.3 came out in 2013. In 2014, Unicode 7.0 will be available, quite surely in time for a December release of 2.2. Most data files are already available as alpha versions for early tests at http://www.unicode.org/Public/7.0.0/ucd/. duerst (Martin Dürst)
03:05 AM Revision bd950a75 (git): * error.c: [DOC] Exception#cause may return nil. [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:49 AM Feature #5994 (Closed): Dir.glob without wildcards returns pattern, not filename
Applied in changeset r44796.
----------
dir.c: glob cases on case-insensitive system
* dir.c (glob_helper): return the filename with actual cases on
the filesystem if it is case-insensitive. [ruby-core:42469]
[Feature #5994]
nobu (Nobuyoshi Nakada)
01:49 AM Revision 5e17a85c (git): * 2014-02-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:49 AM Revision 0f9da422 (git): dir.c: glob cases on case-insensitive system
* dir.c (glob_helper): return the filename with actual cases on
the filesystem if it is case-insensitive. [ruby-core:42469]
[Feature #5994]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

02/02/2014

10:37 PM Bug #9424: ruby 1.9 & 2.x has insecure SSL/TLS client defaults
Attached the last patch updated with a whitelist of 30 ciphers. The rationale:
- prefer ephemeral DH to enable forward secrecy
- prefer GCM over CBC mode
- prefer AES-128 over AES-256 (due to performance mostly, both are secure)
-...
MartinBosslet (Martin Bosslet)
03:10 PM Feature #8257: Exception#cause to carry originating exception along with new one
`raise ErrorClass, msg, cause: cause` was implemented with the rest in r44473.
e = (
begin
raise ArgumentError, "arg error"
rescue
nie = NotImplementedError.new("nie")
raise StandardError, "stderr", ...
Eregon (Benoit Daloze)
01:55 PM Revision b92b4252 (git): merge revision(s) r41102: [Backport #8549]
Remove empty directories.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@44795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
01:46 PM Revision 3da0a0ce (git): merge revision(s) 44630,44631: [Backport #9403]
* lib/delegate.rb (Delegator): keep source information methods
which start and end with '__'. [ruby-core:58572] [Bug #9155]
which start and end with '__'. [ruby-core:59718] [Bug #9403]
git-svn-id: svn+ssh://ci.rub...
naruse (Yui NARUSE)
12:51 PM Revision 64296077 (git): merge revision(s) r43923,r43925: [Backport #9181]
* ext/tk/lib/tkextlib/tktable/tktable.rb: fix bug on arguments for Proc object.
* ext/tk/sample/scrollframe.rb: forgot a Module definition.
* ext/tk/extconf.rb: check unsupported version of tclConfig.sh/tkConfig.sh. It ...
nagachika (Tomoyuki Chikanaga)
12:41 PM Bug #9472: rb_io_syswrite needs RB_GC_GUARD
r44790 was backported to ruby_2_0_0 at r44792. nagachika (Tomoyuki Chikanaga)
12:40 PM Revision 9619b029 (git): merge revision(s) 44790: [Backport #9472]
* io.c (rb_io_syswrite): add RB_GC_GUARD
[Bug #9472][ruby-core:60407]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@44792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
03:01 AM Feature #8987: map/collect extension which handles arguments
Tsuyoshi Sawada wrote:
> Probably, it makes more sense to extend the syntax of `Symbol#to_proc`. The conventional `Symbol#to_proc` does not take an argument:
+1
henry.maddocks (Henry Maddocks)

02/01/2014

11:21 PM Feature #9451 (Assigned): Refinements and unary & (to_proc)
I'd like to clarify the design policy rather than adding features ad hoc.
All implicit method calls in syntactic constructs should be affected by refinements, right?
Do other implementers, especially JRuby people, accept this policy?
shugo (Shugo Maeda)
08:51 PM Bug #9472: rb_io_syswrite needs RB_GC_GUARD
Fixed in trunk: r44790 normalperson (Eric Wong)
08:51 PM Bug #9472 (Closed): rb_io_syswrite needs RB_GC_GUARD
Applied in changeset r44790.
----------
io.c (rb_io_syswrite): add RB_GC_GUARD
* io.c (rb_io_syswrite): add RB_GC_GUARD
[Bug #9472][ruby-core:60407]
Anonymous
08:46 PM Bug #9472 (Closed): rb_io_syswrite needs RB_GC_GUARD
[ruby-core:60407]
Will commit to trunk.
This needs to be backported to 2.0 and 2.1, too.
normalperson (Eric Wong)
08:50 PM Revision 47345b71 (git): * 2014-02-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:50 PM Revision 50612854 (git): io.c (rb_io_syswrite): add RB_GC_GUARD
* io.c (rb_io_syswrite): add RB_GC_GUARD
[Bug #9472][ruby-core:60407]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
05:17 PM Feature #9469: BigDecimal support for yaml serialization
I think we can remove that custom yaml serialization from Rails and we don't need to put in upstream.
Looking in the history of that file I found it was added [6 years ago](https://github.com/rails/rails/commit/191ffc94568ca22885eac70...
rafaelfranca (Rafael França)
11:10 AM Feature #9469: BigDecimal support for yaml serialization
Why changing the default format?
And it doesn't seem round-trip.
nobu (Nobuyoshi Nakada)
08:40 AM Feature #9469 (Closed): BigDecimal support for yaml serialization
Given the following serialization methods in rails/rails: https://github.com/rails/rails/blob/master/activesupport/lib/active_support/core_ext/big_decimal/conversions.rb
I feel like these methods would be better supported in the upstr...
zzak (zzak _)
02:54 PM Bug #9367: REXML::XmlDecl doesn't use user specified quotes
* `include StringQuotes` after `private` is meaningless. Please put it the top of class definition.
* It seems that `strip_quotes` is needless for `adjust_prologue_quotes`. Can we just remove `.inspect` from `adjust_prologue_quotes XXX....
kou (Kouhei Sutou)
12:09 PM Feature #8987: map/collect extension which handles arguments
Probably, it makes more sense to extend the syntax of `Symbol#to_proc`. The conventional `Symbol#to_proc` does not take an argument:
~~~ruby
:foo.to_proc # => ->(x){x.foo}
~~~
My proposal is to let it take optional arguments that...
sawa (Tsuyoshi Sawada)
11:55 AM Bug #9310 (Closed): inheritance.rb: 27: [BUG] Segmentation fault at 0x00000c
fixed by r44777 . Please wait next minor release of 2.1 hsbt (Hiroshi SHIBATA)
11:08 AM Revision e7892503 (git): * file.c (rb_f_test): [DOC] refer to 'character' instead of 'integer'
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Charlie Somerville
09:39 AM Bug #9471 (Third Party's Issue): /usr/lib/ruby/site_ruby/1.9.1/Qt/qtruby4.rb:469: [BUG] cfp consistency error - call0
I'm trying to write a browser using qtruby4.
I tried to load a webpage using webview , the program crashed , and I got this output:
/usr/lib/ruby/site_ruby/1.9.1/Qt/qtruby4.rb:469: [BUG] cfp consistency error - call0
ruby 1.9.3p48...
hxcan (Hxcan Cai)
08:38 AM Bug #9407 (Closed): bigdecimal 1.2.4 install fail because missing ruby/util.h macro
nobu (Nobuyoshi Nakada)
08:35 AM Revision 484a6ffb (git): merge revision(s) 44373: [Backport #9417]
test_alias.rb: rename duplicate name
* test/ruby/test_alias.rb (test_alias_wb_miss): rename duplicate
name to get rid of redefinition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@44788 b2dd03c8-39d4-4d8f-98f...
naruse (Yui NARUSE)
08:19 AM Revision d985425d (git): * 2014-02-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@44787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:19 AM Revision 8f87be4e (git): Revert r44778 #9375
It breaks test-all if all tests are in a single process
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@44786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
08:02 AM Feature #9425: [PATCH] st: use power-of-two sizes to avoid slow modulo ops
Notes to self (or anybody else with free time right now):
test and verify compare_by_identity performance

I'm comfortable that ID, string and most objects will hash well with
power-of-two; but compare_by_identity, weakmap, vm->li...
normalperson (Eric Wong)
06:16 AM Revision 7a2b7cf1 (git): ext/win32ole/win32ole.c (ole_typedesc2val): add VT_RECORD case.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e suke (Masaki Suketa)

01/31/2014

11:23 PM Feature #8987: map/collect extension which handles arguments
On Jan 31, 2014 6:20 PM, <sowieso@dukun.de> wrote:
>
> Actually I believe the most readable form would be
>
> `p [1,2,3,4].map{ 4 + _ } # when there is no |...|, set block params to _ `
>
> Many blocks in realworld-code are so ea...
phluid61 (Matthew Kerwin)
12:08 PM Feature #8987: map/collect extension which handles arguments
Just joke.
~~~ruby
p [0,1,2,3].dmap + 1 #=> [1, 2, 3, 4]
# %w(foo bar baz).map {|x| x.upcase.concat("!") }
p %w(foo bar baz).map_do.upcase.concat("!").end
# => ["FOO!", "BAR!", "BAZ!"]
~~~
Source:
~~~ruby
class Delegat...
mame (Yusuke Endoh)
08:19 AM Feature #8987: map/collect extension which handles arguments
Matthew Kerwin wrote:
> On 31 January 2014 15:48, SASADA Koichi <ko1@atdot.net> wrote:
> ...
Actually I believe the most readable form would be
~~~ruby
p [1,2,3,4].map{ 4 + _ } # when there is no |…|, set block params to _
~~~
...
sowieso (So Wieso)
07:17 AM Feature #8987: map/collect extension which handles arguments
Matthew Kerwin wrote:
> Are any of these actually better than:
> ...
LOL
ko1 (Koichi Sasada)
06:39 AM Feature #8987: map/collect extension which handles arguments
On 31 January 2014 15:48, SASADA Koichi <ko1@atdot.net> wrote:
> ~~~ruby
> ...
Are any of these actually better than:
~~~ruby
p [1, 2, 3, 4].map{|x| 4+x }
~~~
?
--
Matthew Kerwin
http://matthew.kerwin.net.au/
phluid61 (Matthew Kerwin)
05:48 AM Feature #8987: map/collect extension which handles arguments
(2013/10/06 0:26), sawa (Tsuyoshi Sawada) wrote:
> ~~~ruby
> ...
Interesting.
If we use λ (alias of lambda), it is more short.
~~~ruby
module Kernel
alias λ lambda
end
p [1, 2, 3, 4].map(&4.method(:+)) #=> [5, 6, 7, 8]
p [...
ko1 (Koichi Sasada)
09:40 PM Revision 2d170da4 (git): * lib/drb/drb.rb: [DOC] Add note about start_service for each process
Based on a patch by @rosenfeld [Fixes GH-514] [ci skip]
https://github.com/ruby/ruby/pull/514
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
09:31 PM Revision 16220d9a (git): * error.c: [DOC] Document Exception#cause by @jasonrclark [ci skip]
[Fixes GH-519] https://github.com/ruby/ruby/pull/519
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
09:12 PM Revision 09c3f845 (git): * lib/securerandom.rb: [DOC] Add note on require for examples
Based on a patch by @schneems [Fixes GH-518] [ci skip]
https://github.com/ruby/ruby/pull/518
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
09:05 PM Revision e4ee9897 (git): * 2014-02-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:05 PM Revision 65fd879a (git): * numeric.c: [DOC] Fix typo in example for #step [ci skip]
Patch by @ksss [Fixes GH-522] https://github.com/ruby/ruby/pull/522
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
08:53 PM Misc #9215: Maintenance Policy for Future Releases (2.1.0 & beyond)
I've updated the pull request given Martin and narsue's feedback. Please check it.
https://github.com/zzak/www.ruby-lang.org/blob/future_release_policy/en/news/_posts/2014-01-13-approved-maintenance-policy.md
My plan is to write a ...
zzak (zzak _)
05:18 PM Bug #9032: Time.round reverts the DST status of the time
This has been fixed in Rails master and will be released as part of Rail 4.1:
https://github.com/rails/rails/commit/63f8fabe4939ad59d597dfea441002ef5b16d2f4
pixeltrix (Andrew White)
02:17 PM Bug #9367: REXML::XmlDecl doesn't use user specified quotes
Thanks!
But I can't merge the pull request because it changes public API, `NotationDecl.new`. I don't want to add backward incompatible API change.
I'll comment furthere on the pull request later. Sorry.
Anyway, thanks for your work!
kou (Kouhei Sutou)
12:58 PM Revision c04e6e6e (git): fixed merge mistake at r44766.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
11:59 AM Bug #9198: Segfault in TestException#test_machine_stackoverflow
BTW I am not using some old glibc (as you say in ruby-core:60248), but the most recent version (glibc-2.18.90-26.fc21.x86_64). vo.x (Vit Ondruch)
11:57 AM Bug #9198: Segfault in TestException#test_machine_stackoverflow
Eric Wong wrote:
> Does it go away if you wrap the test with Thread.new?
Yes, this patch helps.
vo.x (Vit Ondruch)
09:17 AM Revision 3efb494a (git): merge revision(s) 44515: [Backport #9375]
* lib/rubygems: Update to RubyGems master 21e409d / RubyGems 2.2.1.
See http://rubygems.rubyforge.org/rubygems-update/History_txt.html
for a list of bug fixes.
* test/rubygems: ditto.
git-svn-id: svn+ssh:...
naruse (Yui NARUSE)
08:58 AM Revision 32e4d034 (git): merge revision(s) 44455,44458,44510: [Backport #9349]
* vm_insnhelper.c (vm_search_super_method): direct superclass of a
module is found when super called in a Method object generated a
method defined in a module, call method_missing in that case.
[ruby-core:59...
naruse (Yui NARUSE)
08:41 AM Bug #5985: miniruby skews "make benchmark" results
ko1@atdot.net wrote:
>
> > +BENCHRUBY = ./$(STATIC_RUBY) -I$(srcdir)/lib -I. -I$(EXTOUT)/common $(RUN_OPT

> We need to discuss which version we want to compare. static_ruby and
> dynamic (using libruby) ruby show different perfor...
normalperson (Eric Wong)
07:44 AM Bug #5985: miniruby skews "make benchmark" results
> +BENCHRUBY = ./$(STATIC_RUBY) -I$(srcdir)/lib -I. -I$(EXTOUT)/common $(RUN_OPT
We need to discuss which version we want to compare. static_ruby and dynamic (using libruby) ruby show different performance (basically, dynamic ruby is ...
ko1 (Koichi Sasada)
08:06 AM Revision cb072750 (git): socket: split out SOCK_CLOEXEC versions of wrappers for readability
* ext/socket/init.c (rsock_socket0): split out SOCK_CLOEXEC version
* ext/socket/socket.c (rsock_socketpair0): ditto
[ruby-core:60377]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44776 b2dd03c8-39d4-4d8f-98ff-823...
Eric Wong
07:34 AM Bug #9262: global_method_cache should be configurable or grow automatically
I tried to do once with static variables, but had performance regression. Perhaps, i missed something. funny_falcon (Yura Sokolov)
05:31 AM Bug #9262: global_method_cache should be configurable or grow automatically
(2014/01/30 4:17), Eric Wong wrote:
> It looks like the performance regressions w/o global method cache are
> because rb_funcall and friends do not have call info, so they don't
> hit the inline cache. So perhaps we should just add ...
ko1 (Koichi Sasada)
07:23 AM Feature #6647: Exceptions raised in threads should be logged
Restart for 2.2.
Matz, do you have any idea?
ko1 (Koichi Sasada)
07:08 AM Revision d0a84c2c (git): socket.c: suppress warnings
* ext/socket/init.c (rsock_socket0): suppress unused label
warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:07 AM Revision edacfada (git): merge revision(s) 44406: [Backport #9324]
* configure.in: let mingw do something black-magic, and check if
_gmtime64_s() is available actually.
* win32/win32.c (gmtime_s, localtime_s): use _gmtime64_s() and
_localtime64_s() if available, not dependin...
naruse (Yui NARUSE)
02:57 AM Misc #9265: Meeting Guide
First of all, Meetings of Ruby Developers is not a decision-making body.
It is only a tool to make a consensus or inform some issues or a place of discussion.
If groundwork is not sufficient, a conclusion of the meeting is useless.
naruse (Yui NARUSE)
01:55 AM Bug #9468 (Feedback): the Runtime to terminate it in an unusual way.
tu nguyen wrote:
> Step 11: Download “mysql-5.0.96-winx64.zip” and “mysql-connector-c-noinstall-6.0.2-win32.zip” from
> ...
To `Ruby192`, not `Ruby193`?
nobu (Nobuyoshi Nakada)
 

Also available in: Atom