Project

General

Profile

Activity

From 06/29/2014 to 07/05/2014

07/05/2014

11:38 PM Revision 31cd6420 (git): * 2014-07-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:38 PM Revision dd1f6b7d (git): common.mk: ignore clean-runnable errors
* common.mk (clean-runnable): get rid of errors running again after
clean-runnable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:13 PM Feature #9064: Add support for packages, like in Java
Hi,

I only have now seen this feature request.
Luckily it came almost at the same time has my feature request for an __internal interface__ (https://bugs.ruby-lang.org/issues/9992).
It seems that we are now starting to think mo...
dsferreira (Daniel Ferreira)
08:56 AM Bug #9183 (Closed): IRB::Localeの属性名にtypo
fixed at r46700 hsbt (Hiroshi SHIBATA)
07:05 AM Revision c97934b3 (git): common.mk: remove sizes.o
* common.mk (sizes.o): remove stale target.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:02 AM Revision 86689e03 (git): common.mk: empty by distclean
* common.mk (clean-runnable): remove files made by mkrunnable.
* common.mk (clean-extout): remove archir too.
* common.mk (clean-ext): remove timestamp directory
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46705 b2dd03c8-39d4-4d...
nobu (Nobuyoshi Nakada)
07:02 AM Revision 17368c69 (git): ext/rbconfig/sizeof: distclean
* ext/rbconfig/sizeof/extconf.rb: clean sizes.c at distclean.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:32 AM Revision e8778357 (git): ext/etc: distclean
* ext/etc/extconf.rb: clean constdefs.h at distclean.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:13 AM Revision 5a60ddc5 (git): * class.c: [DOC] mention about prepended modules.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
02:54 AM Revision 566f1e71 (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)

07/04/2014

08:05 PM Revision c2356225 (git): lib/irb/locale.rb: fix typo
* lib/irb/locale.rb (IRB::Locale#modifier): fix wrong attr_reader
`modifieer` => `modifier` from irb locale. [fix GH-656]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:32 PM Revision 8eedcaa6 (git): common.mk: move DEFAULT_PRELUDES
* common.mk (DEFAULT_PRELUDES): no longer configurable since
r43278, move from Makefile.in and win32/Makefile.sub.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:27 PM Revision 45395fea (git): * 2014-07-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:27 PM Revision 5405eff9 (git): parse.y: fix casts
* parse.y (reg_named_capture_assign_gen): remove needless cast.
* parse.y (must_be_dynamic_symbol, intern_cstr_without_pindown):
get rid of type-punning cast.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46697 b2dd03c8-39d4-4d8f...
nobu (Nobuyoshi Nakada)
12:57 PM Bug #9681: miniruby Bus Error at 0x3d44c4
Thank you very much!
In my experience, compiling ruby with --enable-dtrace (enabled by default on Solaris during configure) and relatively higher compiler optimization flags (-O2, -O3 or higher) fails with bus error or segmentation fa...
ngoto (Naohisa Goto)
12:02 PM Bug #9681: miniruby Bus Error at 0x3d44c4
I can also confirm that Ruby 2.1.2 works on Solaris 10 x86 when compiled with Oracle Studio 12.3:
~~~
dam@unstable10x [global]:/home/dam/tmp/rubyx/ruby-2.1.2 > gmake test
CC = /opt/solarisstudio12.3/bin/cc
LD = /usr...
dagobert (Dagobert Michelsen)
09:30 AM Bug #9681: miniruby Bus Error at 0x3d44c4
I can confirm that the error is also present in Ruby 2.1.2 when compiling with gcc 4.9.0:
~~~
In file included from ./include/ruby/ruby.h:24:0,
from ./include/ruby.h:33,
from ./missing/signbit.c:2:...
dagobert (Dagobert Michelsen)
11:48 AM Revision 336f65eb (git): * parse.y: rename symbols::sym_id to symbols::str_id.
This table is not {Symbol => ID} table, but
{String => ID} table.
* parse.y (lookup_sym_id): also rename lookup_sym_id() to
lookup_str_id() because key is not Symbol, but String.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4...
ko1 (Koichi Sasada)
09:42 AM Revision a99a88d4 (git): * parse.y (must_be_dynamic_symbol): fix missed-condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
09:39 AM Revision cc462eed (git): * parse.y (rb_pin_dynamic_symbol): should be `static' function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
09:11 AM Revision a227b16e (git): * parse.y (must_be_dynamic_symbol): refactoring.
* add `inline'.
* use UNLIKELY().
* check only DYNAMIC_SYM_P(), otherwise it is a bug.
* lookup_id_str() is not needed in second condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46693 b2dd03c8-39d4-4d8f-98ff-823fe69b...
ko1 (Koichi Sasada)
08:00 AM Revision 535ee019 (git): test/unit.rb: newline after message
* test/lib/test/unit.rb (deal): print a newline after an error
message for unknown command not to overwritten by next messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:30 AM Revision 27cafcfc (git): parse.y: remove global_symbols.op_sym
* parse.y (global_symbols): remove op_sym, cache by fstring
instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:16 AM Revision 56ff2b50 (git): parse.y: use rb_fstring_new
* parse.y (rb_id2str): use rb_fstring_new() instead of rb_fstring()
with a new string instance.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:32 AM Revision 72194a89 (git): string.c: rb_fstring_new assumes US-ASCII
* string.c (rb_fstring_new): make US-ASCII string. another
function may be used for non-ASCII strings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:10 AM Revision 5e294b78 (git): parse.y: pack op_tbl
* parse.y (op_tbl): pack limited size strings. gcc/clang warn
if initializer-string for char array is too long, but no option
to err it now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:17 AM Revision d21c35ca (git): compile_prelude.rb: remove comments
* tool/compile_prelude.rb (translate): remove comments which are
not used in compiled sources.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:03 AM Revision c46bafcb (git): ChangeLog: fix typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:56 AM Revision 3e8a898b (git): * parse.y: remove unused code
srounded by `#if ENABLE_SELECTOR_NAMESPACE'
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
01:09 AM Revision ae156550 (git): * test/rubygems/test_gem_package.rb: avoid tempfile leaks using Tempfile#close!
* test/rubygems/test_gem_request_set.rb: ditto.
* test/rubygems/test_gem_request_set_gem_dependency_api.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
12:47 AM Revision fb38b907 (git): Revert "test/rdoc: avoid tempfile leaks"
This reverts commit r46145.
Tempfile.create is only available Ruby 2.1 or higher.
rubygems need to support Ruby 1.9 and 2.0 series.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)

07/03/2014

07:46 PM Revision d8a2c3c0 (git): * lib/net/htp/response.rb (Net::Inflater#inflate_adapter):
prevent automatic encoding conversion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
07:46 PM Revision 6811973d (git): * lib/net/http/response.rb (Net::HTTP.each_response_header):
raise first exception even if inflate_body_io.finish raises error.
when begin block raises error, finish usually raises error too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
06:00 PM Revision 7af73882 (git): * lib/uri/generic.rb (URI::Generic#query=): remove validation, just
escape. [Feature #2542]
* lib/uri/generic.rb (URI::Generic#fragment=): ditto.
* lib/uri/generic.rb (URI::Generic#check_query): removed.
* lib/uri/generic.rb (URI::Generic#set_query): ditto.
* lib/uri/generic.rb (URI::Generic#check_fr...
naruse (Yui NARUSE)
06:00 PM Revision 4a393563 (git): * 2014-07-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:59 PM Revision 88df8816 (git): change default not tot create useless object
initheader = initheader ? initheader.dup : {}
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
03:46 PM Bug #9814: Improving documentation example for Enumerator#peek
Backported into `ruby_2_1` branch at r46677. nagachika (Tomoyuki Chikanaga)
03:46 PM Revision 5fdc9a2e (git): merge revision(s) r46099: [Backport #9814]
* enumerator.c: [DOC] Fix example to show Enumerator#peek behavior
Patch by Erik Hollembeak [Bug #9814]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@46677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
03:45 PM Bug #9819: changed documentation for enumerable methods find and detect
Backported into `ruby_2_1` branch at r46676. nagachika (Tomoyuki Chikanaga)
03:44 PM Revision aa04a722 (git): merge revision(s) r46095: [Backport #9819]
* enum.c: [DOC] Use #find in example to clarify alias by @rachellogie
Patch submitted via documenting-ruby/ruby#34
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@46676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
03:43 PM Bug #9773: broken link in man/ruby.1
Backported into `ruby_2_1` branch at r46675. nagachika (Tomoyuki Chikanaga)
03:43 PM Revision 95338ad3 (git): merge revision(s) r45896: [Backport #9773]
* man/ruby.1: remove deadlink. [ruby-core:62145][Bug #9773]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@46675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
03:42 PM Bug #9738: A document fix for Rinda::TupleEntry#renew
backported into `ruby_2_1` branch at r46674. nagachika (Tomoyuki Chikanaga)
03:41 PM Revision e363464b (git): merge revision(s) r45786: [Backport #9738]
* lib/rinda/tuplespace.rb: fix document. [ruby-core:62003][Bug #9738]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@46674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
03:40 PM Bug #9684: Use same error messages in struct.c
r45462, r45463 and r45466 were backported into `ruby_2_1` branch at r46673. nagachika (Tomoyuki Chikanaga)
03:37 PM Revision 598fc49d (git): merge revision(s) r45462,r45463,r45466: [Backport #9684]
* struct.c (not_a_member): extract name error and use same error
messages. based on the patch by Marcus Stollsteimer <sto.mar AT
web.de> at [ruby-core:61721]. [Bug #9684]
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
nagachika (Tomoyuki Chikanaga)
03:18 PM Bug #9454: The define_method(:class) segfault
... but reverted because it introduced SEGV on CentOS.
Maybe somthing is missed, but I wasn't able to find it.
usa (Usaku NAKAMURA)
04:37 AM Bug #9454: The define_method(:class) segfault
backported into `ruby_2_0_0` at r46667 and r46669. usa (Usaku NAKAMURA)
03:16 PM Revision 091c0753 (git): revert r46667 and r46669 because they introduced SEGV on CentOS.
see [Bug #9454] [Bug #9945]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@46672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
12:35 PM Bug #9985: Gems documenation is not generated when installing local gem with --ignore-dependencies option
Zachary Scott wrote:
> Could you please tell us the full command you used to reproduce this problem?
`$ gem install --local ./pkg-config-1.1.4.gem --install-dir=.
Successfully installed pkg-config-1.1.4
Parsing documentation for pk...
Pulfer (Andrey Bondrov)
06:21 AM Bug #9321: rb_mod_const_missing does not generate a c-return event
backported into `ruby_2_0_0` at r46671. usa (Usaku NAKAMURA)
06:20 AM Revision 6ece9085 (git): merge revision(s) 44535,44536: [Backport #9321]
* vm.c (rb_vm_pop_cfunc_frame): added. It cares c_return event.
The patch base by drkaes (Stefan Kaes).
[Bug #9321]
* variable.c (rb_mod_const_missing): use rb_vm_pop_cfunc_frame()
instead of rb_fr...
U.Nakamura
06:00 AM Revision c6697027 (git): merge revision(s) 46481: [Backport #9966]
* encoding.c (enc_find): [DOC] never accepted a symbol.
[ruby-dev:48308] [Bug #9966]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@46670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
05:13 AM Revision 854db4e8 (git): * thread_pthread.c: fixed compile error on linux.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@46669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
04:38 AM Revision 4c81c909 (git): fix a part of speech [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
04:36 AM Revision 750e2a7d (git): merge revision(s) 44712,44715,44716,44722,44725,44726,44753: [Backport #9454] [Backport #9945]
* thread_pthread.c: get current main thread stack size, which may
be expanded than allocated size at initialization, by rlimit().
[ruby-core:60113] [Bug #9454]
* thread_pthread.c: get current main thread stac...
U.Nakamura
03:40 AM Revision c2b09921 (git): configure.in: fix static-linked-ext
* configure.in (--with-static-linked-ext): fix for extensions to
be linked statically.
* Makefile.in, common.mk: use ENCSTATIC for enc directory.
* ext/extmk.rb: supply dependencies of statically linked extension
libraries.
git-svn-...
nobu (Nobuyoshi Nakada)
03:38 AM Revision e0515646 (git): * 2014-07-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:38 AM Revision 0b4e4b20 (git): extmk.rb: GNU make -C option
* ext/extmk.rb: use -C option for GNU make instead of shell.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:38 AM Revision 876bfc6b (git): Init functions don't need ID caches
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:30 AM Feature #9893 (Closed): [RFC] README.EXT: document rb_gc_register_mark_object
sorry for noise. This is duplicated ticket (#9894) nagachika (Tomoyuki Chikanaga)
03:25 AM Feature #9893 (Assigned): [RFC] README.EXT: document rb_gc_register_mark_object
nagachika (Tomoyuki Chikanaga)
03:15 AM Bug #9877 (Assigned): IRB::OutputMethod defines "pp", but it's actually "p"
nagachika (Tomoyuki Chikanaga)
03:14 AM Bug #9876 (Assigned): IRB::Context output_method is not used
nagachika (Tomoyuki Chikanaga)
03:10 AM Bug #9875 (Closed): ERB#result documentation incorrect
applied at r46241. nagachika (Tomoyuki Chikanaga)
01:11 AM Bug #10007 (Closed): IO#read does not respect String Copy-On-Write in some cases
2.0.0p510 and 2.1.2p161 have no problems. nobu (Nobuyoshi Nakada)
12:01 AM Bug #10007: IO#read does not respect String Copy-On-Write in some cases
No problems in the trunk. nobu (Nobuyoshi Nakada)

07/02/2014

10:20 PM Bug #10007 (Closed): IO#read does not respect String Copy-On-Write in some cases
~~~ruby
#!/usr/bin/env ruby
CHUNK_SIZE = 29 # no problems with CHUNK_SIZE = 28
File.open(__FILE__,'r') do |f|
d0 = ''
a = []
f.read(CHUNK_SIZE, d0)
a << d0[15..-2]
a << d0[5..-2]
a << d0[-5..-2]
a...
zed_0xff (Andrey Zaikin)
06:33 PM Bug #10006 (Rejected): instance_exec uses incorrect binding with curried proc
After using `Proc#curry`, `instanve_eval`/`instance_exec` does not seem to work:
~~~ruby
class Test
def test_func
140
end
end # => :test_func
p = ->(x, y) { x + y + test_func } # => #<Proc:0x007fd23b12bc80@(irb):6 (l...
ledbettj (John Ledbetter)
04:57 PM Bug #9662: [Doc] Typo in README.EXT
Backported into `ruby_2_1` branch at r46662. nagachika (Tomoyuki Chikanaga)
04:55 PM Revision 2d90c01a (git): merge revision(s) r45495: [Backport #9662]
* README.EXT: fix typo.
[ruby-core:61634] [Bug #9662]
* README.EXT.ja: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@46662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
04:28 PM Bug #9811: Numeric#step ignores `to` silently by keyword arguments.
r45858, r45859, r45860, r45861 and r46638 were backported into `ruby_2_1` branch at r46661. nagachika (Tomoyuki Chikanaga)
04:27 PM Revision 5ab69337 (git): merge revision(s) r45858,r45859,r45860,r45861,r46638: [Backport #9811]
numeric.c: indent
* numeric.c (ruby_num_interval_step_size): adjust indent.
* numeric.c (num_step_scan_args): check keyword arguments and fail
if they conflict with positional arguments.
[ruby-dev:481...
nagachika (Tomoyuki Chikanaga)
04:16 PM Bug #10004: lack of "http 80/tcp" in /etc/inet/services in Solaris 10 causes error during make test-all
It seems correct that rubygems can't continue in such case.
Probably those situations should be skipped.
nobu (Nobuyoshi Nakada)
01:20 PM Bug #10004 (Closed): lack of "http 80/tcp" in /etc/inet/services in Solaris 10 causes error during make test-all
On Solaris 10, because of the lack of "http" in the default /etc/inet/services, the following error occurs during make test-all.
~~~
52) Error:
TestGemCommandsServerCommand#test_handle_options_port:
OptionParser::InvalidArgument: ...
ngoto (Naohisa Goto)
09:00 AM Feature #10002: String swapcase
We are talking about swapcase, not folding. The "generally they are not reversible" you say is the difficulty we are facing here. Also as you cited CaseFolding.txt, you should have been aware of type T folding, which is impossible witho... shyouhei (Shyouhei Urabe)
01:51 AM Feature #10002: String swapcase
We should delegate to @_emboss_ everytime we need to convert ß... zzak (zzak _)
01:15 AM Feature #10002: String swapcase
It have been already figured out by [Unicode Standard](http://www.unicode.org/versions/Unicode6.3.0/), so just have to implement it. Look at Default Case Algorithms in section 3.13 and Case Mappings in section 5.18. Mappings can be viewe... davispuh (Dāvis Mosāns)
01:11 AM Feature #10002: String swapcase
At this time, [ffi-icu](https://github.com/jarib/ffi-icu) or [twitter-text-rb](https://github.com/twitter/twitter-cldr-rb) is useful. naruse (Yui NARUSE)
12:09 AM Feature #10002: String swapcase
The current implementation of case conversion methods in String class only understands ASCII characters.
We'd like to enhance it when possible. But we have to know how each character should be converted.
For example, how should we con...
matz (Yukihiro Matsumoto)
08:25 AM Revision 255adda5 (git): hash.c: use rb_check_arity
* hash.c (rb_hash_initialize, rb_hash_fetch_m, rb_hash_default):
use rb_check_arity over rb_scan_args.
(env_fetch): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:03 AM Revision 18a9926a (git): sprintf.c: check_name_arg
* sprintf.c (check_name_arg): utility function for GETNAMEARG().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:03 AM Revision 3f48c1fd (git): sprintf.c: check_pos_arg
* sprintf.c (check_pos_arg): utility function for GETPOSARG().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:03 AM Revision 42052338 (git): sprintf.c: check_next_arg
* sprintf.c (check_next_arg): utility function for GETNEXTARG().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:03 AM Revision 3659c10b (git): sprintf.c: get_num
* sprintf.c (get_num): utility function for GETNUM().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:00 AM Bug #9742 (Third Party's Issue): Error when trying to debug line with "startDate = Time.parse('2014-Apr-01 12:00:30')"
usa (Usaku NAKAMURA)
07:59 AM Revision 54336ee1 (git): test_io.rb: fix leaked threads
* test/ruby/test_io.rb (test_readpartial_locktmp): ensure reading
thread is dead to fix leaked threads.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:59 AM Revision 02ddcb4b (git): leakchecker.rb: MiniTest::Unit.output
* test/lib/leakchecker.rb (LeakChecker#puts): send output to
MiniTest::Unit.output, not to be mixed with parallel test
commands.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:55 AM Bug #9824: mkmf.rb top_srcdir not printed in Makefile of ext/openssl
Daniel Berger wrote:
> Ok, please help me to understand. If Visual C++ is supported, why doesn't $(top_srcdir) get set in the generated Makefile when compiling from source? And is there a way we can set it without resorting to hand edit...
naruse (Yui NARUSE)
07:41 AM Bug #9700 (Rejected): [DOC] Fix for documentation of URI::Escape
usa (Usaku NAKAMURA)
07:40 AM Bug #8737 (Third Party's Issue): [BUG] Bus Error
usa (Usaku NAKAMURA)
07:31 AM Bug #9815 (Feedback): attr_reader doesn't warn on a uninitialized instance variable
usa (Usaku NAKAMURA)
07:30 AM Bug #9809 (Rejected): Date.new(2000,1,1).cweek should == 1
usa (Usaku NAKAMURA)
07:14 AM Bug #9762 (Rejected): keywork argument do not work in some situation
usa (Usaku NAKAMURA)
07:11 AM Bug #10003: Hash#fetch performance issue
Jeremy is correct, Hash#[] (and Array#[]) have optimized dispatch.
I hardly see Hash#fetch used anywhere, and optimizing dispatch for
uncommon cases hurts performance of common cases.

P.S. even if Hash#fetch were optimized, it woul...
normalperson (Eric Wong)
06:47 AM Revision 41fe5248 (git): * gc.c (gc_heap_lazy_sweep): simplify logic.
* gc.c (gc_page_sweep): return TRUE if empty slots are available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
06:39 AM Revision 60a5a85d (git): * tool/redmine-backporter.rb: support new status 'WONTFIX'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
06:26 AM Revision ed762c0b (git): webrick/utils.rb: mark by class name
* lib/webrick/utils.rb (WEBrick::Utils::TimeoutHandler::Thread):
use particular class to mark by the class name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:11 AM Bug #9636 (Rejected): Fiddle::Importer で Segmentation fault が発生する
usa (Usaku NAKAMURA)
01:41 AM Feature #9860 (Closed): Extract Logger::Application from logger.rb
Applied in changeset r46650.
----------
* logger.rb: removed unmaintain code.
[Feature #9860][ruby-core:62724]
* test/logger/test_application.rb: ditto.
hsbt (Hiroshi SHIBATA)
01:41 AM Revision 931d2fd5 (git): * logger.rb: removed unmaintain code.
[Feature #9860][ruby-core:62724]
* test/logger/test_application.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)

07/01/2014

10:25 PM Bug #10003: Hash#fetch performance issue
I believe this is expected since the Hash#[] call is optimized to call rb_hash_aref (see opt_aref in insns.def), where the Hash#fetch call goes through normal method dispatch. Array#[] calls are similarly optimized to call rb_ary_entry. jeremyevans0 (Jeremy Evans)
10:08 PM Bug #10003 (Closed): Hash#fetch performance issue
It looks like there is a performance issue with Hash#fetch compared to Hash#[]. I found this issue via this gist: https://gist.github.com/jonleighton/3552829. I could not find it reported anywhere on the tracker, forgive me if this is a ... schneems (Richard Schneeman)
06:21 PM Revision d3a54f6f (git): Fix --dump=parsetree segfault on required keyword argument
* node.c (dump_node): handle nd_value == (NODE *)-1 to mean this
keyword argument is required
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Charlie Somerville
05:57 PM Revision 1a2b90d5 (git): vm.c: rb_vm_env_local_variables
* vm.c (rb_vm_env_local_variables): returns array of local
variable name symbols in the environment by envval.
* proc.c (bind_local_variables): use rb_vm_env_local_variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46648 b2d...
nobu (Nobuyoshi Nakada)
05:55 PM Revision 0fdb18e5 (git): vm.c: constify
* vm.c (vm_make_env_each): constify pointer arguments.
(collect_local_variables_in_iseq): ditto.
(collect_local_variables_in_env): ditto.
(vm_collect_local_variables_in_heap): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru...
nobu (Nobuyoshi Nakada)
05:24 PM Feature #8779 (Closed): Binding#yourself
Applied in changeset r46646.
----------
proc.c: Binding#receiver
* proc.c (bind_receiver): new method to return the bound receiver
of the binding object. [ruby-dev:47613] [Feature #8779]
nobu (Nobuyoshi Nakada)
05:04 PM Feature #8779: Binding#yourself
なんと、accept されていた。
2.2 で入れる?
(self.self 書いてみるとキモカワイかったのだけど -> http://www.atdot.net/~ko1/diary/201407.html#d2 )
ko1 (Koichi Sasada)
05:24 PM Revision 43ba2c01 (git): proc.c: Binding#receiver
* proc.c (bind_receiver): new method to return the bound receiver
of the binding object. [ruby-dev:47613] [Feature #8779]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:14 PM Bug #10001 (Closed): Binding#local_variables が返ってこない
Applied in changeset r46645.
----------
proc.c: fix infinite loop
* proc.c (bind_local_variables): update env from envval for each
iterations. [ruby-dev:48351] [Bug #10001]
nobu (Nobuyoshi Nakada)
12:29 PM Bug #10001 (Closed): Binding#local_variables が返ってこない
Binding#local_variables を呼びだすと、ハングアップします。
以下で再現します。
~~~
ruby -e 'binding.local_variables'
~~~
takkanm (三村 益隆)
05:14 PM Revision 02c391a1 (git): proc.c: fix infinite loop
* proc.c (bind_local_variables): update env from envval for each
iterations. [ruby-dev:48351] [Bug #10001]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:14 PM Revision bc1fafae (git): test_proc.rb: test_local_variables
* test/ruby/test_proc.rb (test_local_variables): missing test for
Binding#local_variables. [Feature #8773]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:14 PM Revision d34c4786 (git): test_proc.rb: test_local_variables_in_other_context
* test/ruby/test_proc.rb (test_local_variables_in_other_context):
move from test_variable.rb, this is a test for the method of
Binding, not of Kernel.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46643 b2dd03c8-39d4-4d8f-98ff-8...
nobu (Nobuyoshi Nakada)
04:18 PM Revision 82de71c2 (git): * 2014-07-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:18 PM Revision 71a1a3b8 (git): test_gem_package_tar_reader_entry.rb: close temporary files
* test/rubygems/test_gem_package_tar_reader_entry.rb (teardown):
close temporary files under util_entry to fix leaked tempfiles.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:18 PM Revision 8606377d (git): test_gem_remote_fetcher.rb: stop SSL server
* test/rubygems/test_gem_remote_fetcher.rb (stop_servers): stop
SSL server before shutdown its thread.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:55 PM Feature #10002 (Closed): String swapcase
Hi, the ruby version 2.1.2 has a problem with the .swapcase function and german letters.
E.g. `"ä".swapcase` does return "ä" but should be "Ä".
randy15 (Andreas Runk)
02:51 PM Revision 061e4c3f (git): * NEWS: [DOC] mention about Binding#local_variables, introduced at
r44392 (see [Feature #8773]).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
02:36 PM Revision 71336a03 (git): * numeric.c (num_step_scan_args): table argument of rb_get_kwargs() is
array of IDs, not Symbols. [ruby-dev:48353] [Bug #9811]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
02:34 PM Bug #9811: Numeric#step ignores `to` silently by keyword arguments.
r45861 およびその準備の r45859, r45860 を `ruby_2_1` にバックポートすると 1.step(by: 0).size が "in `size': unknown keywords: by, to (ArgumentError)" のような例外を発生させます。
rb_get_kwargs() は ID の配列を受けとりますが、Symbol の配列を渡しているためでした。trunk では rb_id2sym() が Symbol をそのまま返...
nagachika (Tomoyuki Chikanaga)
01:28 PM Bug #9986: WEBrick content-length being set when transfer-encoding is chunked
I've split out my patch into two separate patches. The first contains a failing test and the second contains a fix which has been applied to `WEBrick::HTTPResponse#[]=` instead of `#chunked?`
I assume this is the correct way of supply...
lengarvey (Leonard Garvey)
01:10 PM Feature #2542: URI lib should be updated to RFC 3986
I've implemented something similar to that policy in the following gist: https://gist.github.com/lengarvey/31983eac6664351ed16d
It's a very basic naive implementation but I believe it roughly does what we need URI.parse to do.
lengarvey (Leonard Garvey)
09:14 AM Feature #2542: URI lib should be updated to RFC 3986
I'm considering to change the error policy of URI library, for example:
BEFORE: raise error if invalid characters exist
AFTER: percent-escape them
naruse (Yui NARUSE)
05:59 AM Feature #2542: URI lib should be updated to RFC 3986
I think #9990 is related /cc @naruse @JK @tenderlove zzak (zzak _)
12:59 PM Bug #6137: openssl: hardcoded MD5 use leads to SSL server failure in FIPS mode
Patch for 1.8.7 is at https://bugzilla.redhat.com/show_bug.cgi?id=802946#c4 (this won't be news to you, Vit, but any other readers of this issue may not know about https://bugzilla.redhat.com/show_bug.cgi?id=802946) jared.jennings.ctr (Jared Jennings)
09:23 AM Revision c6bc3789 (git): * NEWS: added news entry of removing to date/format.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
08:20 AM Revision 05bb8549 (git): test_gem_remote_fetcher.rb: fix leaked threads
* test/rubygems/test_gem_remote_fetcher.rb (stop_servers): kill
server threads to fix leaked threads.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:21 AM Revision e2e4ac3a (git): Digest::HMAC is finally removed as previously noticed. [fix GH-648]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
06:36 AM Bug #9990: URI.parse and URI.encode use different RFCs
I did see it, this bug points out that URI.escape isn't covered by that change. I'm not sure if there's a more appropriate place for that feedback besides raising this issue though. This is a separate issue to the one raised by @tenderlo... lengarvey (Leonard Garvey)
06:02 AM Bug #9990 (Feedback): URI.parse and URI.encode use different RFCs
Did you see r46491? zzak (zzak _)
06:12 AM Bug #9998 (Assigned): docs state that define_singleton_method returns a proc if passed a block
Thanks for the report! zzak (zzak _)
06:12 AM Feature #9992: Access Modifiers (Internal Interfaces)
Ehh, sorry I must have missed #9992
zzak (zzak _)
06:12 AM Feature #9992: Access Modifiers (Internal Interfaces)
I would suggest opening a feature request if you feel strongly about adding `internal` to Ruby.
See also: https://bugs.ruby-lang.org/projects/ruby/wiki/HowToRequestFeatures
zzak (zzak _)
05:49 AM Feature #9987: method Net::HTTP methods private
I also think this may be a feature zzak (zzak _)
05:47 AM Bug #9985 (Assigned): Gems documenation is not generated when installing local gem with --ignore-dependencies option
Could you please tell us the full command you used to reproduce this problem?
This could be related to RG or RDoc, so I'm assigning to @drbrain for feedback.
Thanks for the report! <3
zzak (zzak _)
03:16 AM Revision 91dfb379 (git): add timeout
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
02:28 AM Revision f8a38a36 (git): * ext/date/lib/date/format.rb: removed empty file by @vipulnsward.
* ext/date/lib/date.rb: removed needless require.
[fix GH-647]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
01:25 AM Feature #10000: format width and precision with symbol hash
I can resist next time! :) nobu (Nobuyoshi Nakada)
12:40 AM Revision ab606d8f (git): exception must make process stop
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)

06/30/2014

11:57 PM Feature #10000: format width and precision with symbol hash
You couldn't resist to create feature #10000, right? ;) rosenfeld (Rodrigo Rosenfeld Rosas)
11:24 PM Feature #10000 (Open): format width and precision with symbol hash
`Kernel#sprintf`では位置指定の場合には`*`によって引数での幅や精度の指定ができますが、`%{}`や`%<>`でのSymbolの場合では指定できません。
matz案では、`*`が指定された場合は該当する引数をArrayとみなして対応する幅、精度、値に分解するのはどうか、ということです。
nobu (Nobuyoshi Nakada)
11:36 PM Bug #9995 (Third Party's Issue): crash when running rake for the first time...
RVM's issue, as usual.
~~~
-- C level backtrace information -------------------------------------------
0 ruby 0x000000010c62bec6 rb_vm_bugreport + 134
1 ruby 0x0000...
nobu (Nobuyoshi Nakada)
11:32 PM Bug #9965 (Feedback): Segmentation Fault in Ruby
Does it happen in the trunk?
And could you show libraries part too?
nobu (Nobuyoshi Nakada)
11:32 PM Bug #9965: Segmentation Fault in Ruby
Does it happen in the trunk?
And could you show libraries part too?
nobu (Nobuyoshi Nakada)
11:27 PM Bug #9998: docs state that define_singleton_method returns a proc if passed a block
The behavior has changed as `def`. nobu (Nobuyoshi Nakada)
07:49 PM Bug #9998 (Closed): docs state that define_singleton_method returns a proc if passed a block
it returns a symbol
I'm guessing the docs are wrong?
rits (First Last)
11:06 PM Feature #9999 (Closed): Type Annotations (Static Type Checking)
Hi all,
I know @matz is interested in introducing **type annotations** in ruby. More here: https://bugs.ruby-lang.org/issues/5583
I think it's time for ruby to get this.
Before working on a patch I would like to know:
1. Synt...
DAddYE (Davide D'Agostino)
10:24 PM Feature #2542: URI lib should be updated to RFC 3986
In RFC 3986, square brackets are no longer allowed in the query part.
Source of the unescaped brackets, in this case: https://github.com/brynary/rack-test/blob/master/lib/rack/test/utils.rb
This may become a common issue since plen...
bitsweat (Jeremy Daer)
09:55 PM Feature #2542: URI lib should be updated to RFC 3986
r46491 broke this script:
~~~
require 'uri'
thing = URI.parse 'http://example.com'
thing.query = 'location[]=1&location[]=2&age_group[]=2'
~~~
Before r46491 it would set the query, after r46491, it raises an exception.
Is ...
tenderlovemaking (Aaron Patterson)
07:29 PM Revision 7ef7c6d6 (git): * 2014-07-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:28 PM Revision 7973ff4f (git): show if parallel test-all fails to Marshal.load
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:12 PM Bug #8625: IO#read(len, buf) shortens buf even if data is not read actually
Backported into `ruby_2_1` branch at r46629. nagachika (Tomoyuki Chikanaga)
06:12 PM Revision 428a637f (git): merge revision(s) r46360,r46372: [Backport #8625]
* io.c (io_setstrbuf, io_read): should not shorten the given buffer until
read succeeds. [ruby-core:55951] [Bug #8625]
* io.c (read_all): truncate the buffer before appending read data,
instead of truncating...
nagachika (Tomoyuki Chikanaga)
06:03 PM Bug #416: core_set_method_alias
r45399, r45400, r46036 and r46037 were backported into `ruby_2_1` branch at r46628.
nagachika (Tomoyuki Chikanaga)
06:02 PM Revision 09cf4529 (git): merge revision(s) r45399,r45400,r46036,r46037: [Backport #416]
vm.c: merge code
* vm.c (m_core_hash_from_ary, m_core_hash_merge_ary): merge
duplicated code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@46628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
05:47 PM Feature #6216: SystemStackError backtraces should not be reduced to one line
... and fixed in my testing today ccutrer (Cody Cutrer)
05:18 PM Feature #9980: Create HashWithIndiferentAccess using new syntax {a: 1}i
Reattaching using Firefox rosenfeld (Rodrigo Rosenfeld Rosas)
08:07 AM Feature #9980: Create HashWithIndiferentAccess using new syntax {a: 1}i
received, thanks! naruse (Yui NARUSE)
05:17 PM Feature #9064: Add support for packages, like in Java
Reattaching using Firefox rosenfeld (Rodrigo Rosenfeld Rosas)
08:07 AM Feature #9064: Add support for packages, like in Java
received, thanks! naruse (Yui NARUSE)
05:14 PM Feature #7797: Hash should be renamed to StrictHash and a new Hash should be created to behave like AS HashWithIndifferentAccess
Trying again, using Firefox now. rosenfeld (Rodrigo Rosenfeld Rosas)
05:11 PM Feature #7797: Hash should be renamed to StrictHash and a new Hash should be created to behave like AS HashWithIndifferentAccess
Chrome reported this in the console: "Uncaught RangeError: Maximum call stack size exceeded."
The stack goes something like this:
~~~
v.extend.clone jquery-1.8.3-ui-1.9.2-ujs-2.0.3.js?1402908441:2
(anonymous function) jquery-1.8....
rosenfeld (Rodrigo Rosenfeld Rosas)
05:05 PM Feature #7797: Hash should be renamed to StrictHash and a new Hash should be created to behave like AS HashWithIndifferentAccess
I don't think I have permissions to remove it. I'm reattaching it.
But indeed Redmine is buggy here on Chrome when I try to attach a PDF. See attached screenshot (It attached the PDF twice and I removed the duplicate)
rosenfeld (Rodrigo Rosenfeld Rosas)
02:25 PM Feature #7797: Hash should be renamed to StrictHash and a new Hash should be created to behave like AS HashWithIndifferentAccess
Hi Rodrigo,
Cur redmine couldn't handle your file named feature-7797.pdf.
Please remove & upload it again.
hsbt (Hiroshi SHIBATA)
04:42 AM Feature #7797: Hash should be renamed to StrictHash and a new Hash should be created to behave like AS HashWithIndifferentAccess
received, thanks! naruse (Yui NARUSE)
04:47 PM Feature #9997: Specifying non volatile registers for increase performence in ppc64
The first results are inverted? nobu (Nobuyoshi Nakada)
03:53 PM Feature #9997: Specifying non volatile registers for increase performence in ppc64
Sending the benchmark results again, the previous was wrong, sorry.
bm_loop_for.rb
Before
real 0m2.781s
user 0m2.777s
sys 0m0.004s
After
real 0m2.524s
user 0m2.520s
sys 0m0.004s
bm_loop_whileloop.rb
Before
real 0m1.26...
lbianc (Leonardo Bianconi)
03:44 PM Feature #9997 (Closed): Specifying non volatile registers for increase performence in ppc64
To increase performance on ppc64 machines, the registers 14 and 15 were specified for the architecture, just like for x86_64 machines.
I've executed some benchmarks, see below:
bm_loop_for.rb
Before After
real 0m2.52...
lbianc (Leonardo Bianconi)
03:46 PM Bug #9984: OpenSSL::TestPKeyRSA#test_sign_verify_memory_leak timeouts on ARM
Thanks for the patch. The test is passing with it.
I have not tested Ruby 2.0, but since the original issue was backported to Ruby 2.0, I'd expect that the fix should be applied there as well.
vo.x (Vit Ondruch)
02:59 PM Revision 1d0fbdb9 (git): gc.c: freeze GC::OPTS
* gc.c (Init_GC): freeze GC::OPTS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:59 PM Revision 58bd5fac (git): string.c: rb_fstring_new
* string.c (rb_fstring_new): create fstring from pointer and
length.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:02 PM Feature #6806: Support functional programming: forbid instance/class variables for ModuleName::method_name, allow for ModuleName.method_name
It's just your style.
I use `Math.sin` and so on.
nobu (Nobuyoshi Nakada)
01:45 PM Feature #6806: Support functional programming: forbid instance/class variables for ModuleName::method_name, allow for ModuleName.method_name
I meant that a function called like `Math::sin` would be required to return same values (for same arguments) every time. Maybe i did not explain this well. `Foo.bar`, on the other hand, would not have this restriction.
Same could be...
alexeymuranov (Alexey Muranov)
01:37 PM Feature #6806 (Feedback): Support functional programming: forbid instance/class variables for ModuleName::method_name, allow for ModuleName.method_name
It seems unrelated to "functional programming" at all. nobu (Nobuyoshi Nakada)
01:31 PM Feature #6806: Support functional programming: forbid instance/class variables for ModuleName::method_name, allow for ModuleName.method_name
Besides functional programming, IMO this would support [command–query separation](https://en.wikipedia.org/wiki/Command–query_separation). alexeymuranov (Alexey Muranov)
11:33 AM Feature #5010 (Closed): Add Slop(-like) in stdlib and deprecate current OptionParser API
shyouhei (Shyouhei Urabe)
10:10 AM Feature #5010: Add Slop(-like) in stdlib and deprecate current OptionParser API
Sure, feel free to close this one. rosenfeld (Rodrigo Rosenfeld Rosas)
02:57 AM Feature #5010: Add Slop(-like) in stdlib and deprecate current OptionParser API
I'm neutral about that proposed #to_hash (so far, bit vague), but is definitely far better than removing optparse. Can you let your proposal be a new ticket? This thread is already too long to read through.
Rodrigo Rosenfeld Rosas w...
shyouhei (Shyouhei Urabe)
10:11 AM Revision b105cbc8 (git): suppress warnings: assigned but unused variable
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
10:06 AM Revision 48559765 (git): remove useless part of regexp
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:51 AM Bug #9589: Stack level too deep during eval causes segmentation fault
This command fails with segfault on 2.1.1 and 2.1.2:
ruby -e 'define_method(:bar) {send(:bar)}; bar'
It's OK on 2.0.0 and below.
decuplet (Nikita Shilnikov)
08:14 AM Bug #9986: WEBrick content-length being set when transfer-encoding is chunked
Thanks for taking another look.
It's a relatively simple fix either way, I made the change in HTTPResponse#chunked? because I assumed that less 3rd parties would use this method so would be less affected by the additional logic withi...
lengarvey (Leonard Garvey)
08:04 AM Bug #9986 (Assigned): WEBrick content-length being set when transfer-encoding is chunked
It sounds reasonable.
But the fix should be in WEBrick::HTTPResponse#[]=.
naruse (Yui NARUSE)
08:07 AM Bug #8543: new rb_iseq_load crash
received, thanks! naruse (Yui NARUSE)
08:07 AM Feature #8631: Add a new method to ERB to allow assigning the local variables from a hash
received, thanks! naruse (Yui NARUSE)
07:46 AM Revision 51ae29a3 (git): * gc.c (gc_stat_internal): return size_t value instead of VALUE
and remove `out' parameter.
* gc.c: add braces for `if' statements.
* gc.c (gc_stat_internal): fix comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
07:00 AM Bug #9902: Regexp#[] ignores after NUL byte in named capture index
Yes, or `rb_id2str(SYM2ID(idx))`. nobu (Nobuyoshi Nakada)
06:57 AM Bug #9607: Change the full GC timing
The following patch is for current Ruby 2.1 branch.
Can anyone (who has memory consuming trouble) try this patch on Ruby 2.1 trunk?
I think this patch will decrease memory consumption on Ruby 2.1 (but increase major GC counts).
...
ko1 (Koichi Sasada)
06:14 AM Revision 4369806f (git): * gc.c: support `USE_RGENGC == 0'.
* test/ruby/test_gc.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
04:29 AM Bug #9993 (Third Party's Issue): x86_64 linux + i686 os = 32bit ruby, but `RUBY_PLATFORM=x86_64`
That name comes from autoconf tools.
And your environment can be considered a variant of cross compiling.
`config.guess` expects the default compiler to make binaries for the current system, so you need to use `--host` option with pref...
nobu (Nobuyoshi Nakada)
02:48 AM Bug #9996 (Closed): document File.join returns a string
Hi, Lorenz. Thanks for your patch.
I applied at r46620.
hsbt (Hiroshi SHIBATA)
02:45 AM Bug #9996: document File.join returns a string
I don't see a way for me to close this, but my pull request was merged as I was authoring the bug #9996.
This can be closed now.
soodesune (Mark Lorenz)
02:41 AM Bug #9996 (Closed): document File.join returns a string
Duplicates: https://github.com/ruby/ruby/pull/646
The documented return from `File.join` is `path`. This patch changes it
to `string` to avoid confusion with `Pathname#join`, which returns a
`Pathname` object.
soodesune (Mark Lorenz)
02:37 AM Revision 989373b2 (git): * 2014-06-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:37 AM Revision b5a000bf (git): * file.c: [DOC] document File.join returns a string.
Contributed by @dapplebeforedawn. [fix GH-646]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)

06/29/2014

09:39 PM Bug #9995 (Third Party's Issue): crash when running rake for the first time...
New to ruby I get the error below. the instructions tell me to report it on this site so here I am. When I run rake the whole thing just crashes. I'm using ruby 2.1.2 installed under rvm.
~~~
brian@brians-air:~/RubymineProjects/work...
crimsonalucard (Brian Yeh)
06:23 PM Bug #9954: Unexpected Hash Modification and Segmentation Fault with Named Arguments
Backported into `ruby_2_1` branch at r46619. nagachika (Tomoyuki Chikanaga)
06:22 PM Revision 370e83b7 (git): merge revision(s) r46342: [Backport #9954]
* vm.c (core_hash_merge_kwd): should return the result hash, which
may be converted from and differ from the given argument.
[ruby-core:62921] [Bug #9898]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_...
nagachika (Tomoyuki Chikanaga)
06:13 PM Bug #9902: Regexp#[] ignores after NUL byte in named capture index
rb_sym2str() doesn't exist in 2.1. Can I use rb_sym_to_s() instead? nagachika (Tomoyuki Chikanaga)
06:09 PM Bug #9949: Net::FTP#gettextfile truncates last line when missing newline before EOF
Backported into `ruby_2_1` branch at r46618. nagachika (Tomoyuki Chikanaga)
06:08 PM Revision bdab29b1 (git): merge revision(s) r46457,r46458: [Backport #9949]
* lib/net/ftp.rb (gets, readline): read lines without LF properly.
[ruby-core:63205] [Bug #9949]
* test/net/ftp/test_buffered_socket.rb: related test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@466...
nagachika (Tomoyuki Chikanaga)
06:06 PM Bug #9885: lib/net/imap.rb: FETCH-ed BODYSTRUCTURE with "MIXED" body type fails
Backported into `ruby_2_1` at r46617. nagachika (Tomoyuki Chikanaga)
06:01 PM Revision dfba910f (git): merge revision(s) r46331: [Backport #9885]
* lib/net/imap.rb (body_type_1part): Gmail IMAP reports a body
type as "MIXED" followed immediately by params
[ruby-core:62864] [Bug #9885]
Patch by @rayners (David Raynes). [Fixes GH-622]
https://...
nagachika (Tomoyuki Chikanaga)
05:56 PM Bug #9878: ruby_signal() should return either sa_sigaction or sa_handler, depending on SA_SIGINFO
Backported into `ruby_2_1` at r46616. nagachika (Tomoyuki Chikanaga)
05:56 PM Revision d681d9ce (git): merge revision(s) r46233: [Backport #9878]
* signal.c (ruby_signal): should return either `old.sa_sigaction`
or `old.sa_handler`, depending on whether `SA_SIGINFO` is set in
`old.sa_flags`, because they may not be a union.
[ruby-core:62836] [Bug #987...
nagachika (Tomoyuki Chikanaga)
05:43 PM Bug #9856: [PATCH] process.c (proc_getgroups, proc_setgroups): use ALLOCV_N
Backported into `ruby_2_1` branch at r46615. nagachika (Tomoyuki Chikanaga)
05:43 PM Revision 39d96342 (git): merge revision(s) r46075: [Backport #9856]
* process.c (proc_getgroups, proc_setgroups): use ALLOCV_N
[Bug #9856]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@46615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
05:35 PM Bug #9847: Cannot create new String when using File.read(size, buffer)
Backported into `ruby_2_1` branch at r46614. nagachika (Tomoyuki Chikanaga)
05:34 PM Revision 7d49e2bf (git): merge revision(s) r45979: [Backport #9847]
* io.c (io_setstrbuf): always check if the buffer is modifiable.
[ruby-core:62643] [Bug #9847]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@46614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
05:27 PM Bug #9750: OpenSSL::SSL::SSLServer can not accept a Socket as it's first parameter
r45863 and r45871 were backported into `ruby_2_1` branch at r46613. nagachika (Tomoyuki Chikanaga)
05:26 PM Revision 4c5d8beb (git): merge revision(s) r45863,r45871: [Backport #9750]
* ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SSLServer#accept):
Consider Socket#accept as well as TCPServer#accept.
Reported by Sam Stelfox. [ruby-core:62064] [Bug #9750]
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
nagachika (Tomoyuki Chikanaga)
05:21 PM Bug #9608: [PATCH] avoid large alloca on Complex/Rational calls
Backported into `ruby_2_1` at r46612. nagachika (Tomoyuki Chikanaga)
05:21 PM Revision 1ff2d59e (git): merge revision(s) r45793: [Backport #9608]
* complex.c (parse_comp): replace ALLOCA_N with ALLOCV_N/ALLOCV_END
[Bug #9608]
* rational.c (read_digits): ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@46612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
05:17 PM Bug #9861: BSD_vfprintf precsion doesn't work at shorter string
Backported into `ruby_2_1` branch at r46611. nagachika (Tomoyuki Chikanaga)
05:17 PM Revision 0caeba64 (git): merge revision(s) r46098: [Backport #9861]
* vsnprintf.c (BSD_vfprintf): fix string width when precision is
given. as the result of `memchr` is NULL or its offset from the
start cannot exceed the size, the comparison was always false.
[ruby-core:627...
nagachika (Tomoyuki Chikanaga)
05:09 PM Bug #9994: replace deprecated macro finite() with isfinite() (fixed at r44505)
Backported into `ruby_2_1` branch at r46610. nagachika (Tomoyuki Chikanaga)
05:02 PM Bug #9994 (Closed): replace deprecated macro finite() with isfinite() (fixed at r44505)
deprecated になった finite() を isfinite() に置換。
r44505 で修正済みです。
バックポート管理用にチケット化します。
nagachika (Tomoyuki Chikanaga)
05:09 PM Revision 8a333244 (git): merge revision(s) r44505: [Backport #9994]
numeric.c: isfinite
* numeric.c (flo_is_finite_p): prefer C99 standard isfinite() than
deprecated finite().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@46610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
05:00 PM Bug #9897: Build fails for fiddle with libffi version 3.1
Backported into `ruby_2_1` branch at r46609. nagachika (Tomoyuki Chikanaga)
04:59 PM Revision 1121fa0e (git): merge revision(s) r46485: [Backport #9897]
* ext/fiddle/extconf.rb: supply 0 to fill RUBY_LIBFFI_MODVERSION
with 3-digit. libffi 3.1 returns just 2-digit.
[ruby-core:62920] [Bug #9897]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@46609 b2dd...
nagachika (Tomoyuki Chikanaga)
04:13 PM Bug #9321: rb_mod_const_missing does not generate a c-return event
Backported into `ruby_2_1` branch at r46608. nagachika (Tomoyuki Chikanaga)
04:13 PM Revision bdf635bf (git): merge revision(s) r44535,r44536: [Backport #9321]
* vm.c (rb_vm_pop_cfunc_frame): added. It cares c_return event.
The patch base by drkaes (Stefan Kaes).
[Bug #9321]
* variable.c (rb_mod_const_missing): use rb_vm_pop_cfunc_frame()
instead of rb_fr...
nagachika (Tomoyuki Chikanaga)
03:12 PM Bug #9993: x86_64 linux + i686 os = 32bit ruby, but `RUBY_PLATFORM=x86_64`
https://github.com/wayneeseguin/rvm/issues/2928 DenKn (Denis Knauf)
03:09 PM Bug #9993 (Third Party's Issue): x86_64 linux + i686 os = 32bit ruby, but `RUBY_PLATFORM=x86_64`
Hi,
On x86_64 Linux Kernel, but i686 OS (there is no 64-binary file anywhere), this will produce a i686-binary ruby, but RUBY_PLATFORM=x86_64-linux:
# ./configure && make
Downloading config.guess...
Downloading config...
DenKn (Denis Knauf)
03:36 AM Feature #9970: Add `Hash#map_keys` and `Hash#map_values`
A patch that introduces a new feature is still a feature request, and the feature you'd introducing matches one of the stronger suggestions in #7793.
And considering the other ticket has been sitting for a year now, I suspect this is ...
phluid61 (Matthew Kerwin)
01:07 AM Feature #9970: Add `Hash#map_keys` and `Hash#map_values`
Ping seantheprogrammer (Sean Griffin)
 

Also available in: Atom