Activity

From 10/09/2013 to 11/07/2013

11/07/2013

11:22 PM Bug #9090: [BUG] object allocation during garbage collection phase
mswin の CI だと backtrace がまともに出ていますね。
r43558 http://ruby-mswin.cloudapp.net/vc10-x64/ruby-trunk/log/20131106T191452...
Akira Tanaka
05:33 PM Bug #9090: [BUG] object allocation during garbage collection phase
r43558もGC起動のスレッシュルドを変えただけなので、
ここで発生となるとこれまで発生確率が低くて眠ってたバグを掘り起こしたって事に。
とりあえず見てみます。
Masaya Tarui
12:08 PM Bug #9090: [BUG] object allocation during garbage collection phase
objdump -S ruby の結果をつけます。
あと、rubyci.org の結果をざっとみると、同じような失敗がいくつか見つかります。
r43540 http://fb32.rubyci.org/~chkbuild/...
Akira Tanaka
10:37 AM Bug #9090: [BUG] object allocation during garbage collection phase
C-level stack traceにシンボル情報がほとんど載ってないので、objdump -S ruby の結果も何処かに上げていただけるとありがたいです。 Masaya Tarui
09:54 AM Bug #9090 (Closed): [BUG] object allocation during garbage collection phase
昨日の夜、r43558 で make check を 300回動かしてみたところ、
なんかずいぶんと [BUG] が出ました。
% ./ruby -v
ruby 2.1.0dev (2013-11-06 trunk 4355...
Akira Tanaka
09:50 PM Bug #9089: rb_fix2uint no longer raises a RangeError when given negative values
NoKarma (Arthur Schreiber) wrote:
> That's weird. If you go back to the previous change that was made in numeric.c, ...
Akira Tanaka
07:19 PM Bug #9089: rb_fix2uint no longer raises a RangeError when given negative values
That's weird. If you go back to the previous change that was made in numeric.c, the fix2uint specs do pass:
Arthur...
Arthur Schreiber
08:26 AM Bug #9089 (Feedback): rb_fix2uint no longer raises a RangeError when given negative values
As far as I know, NUM2Uxxx accepts negative integers.
For consistency, FIX2Uxxx should behaves so.
Also, both r4...
Akira Tanaka
07:52 AM Bug #9089: rb_fix2uint no longer raises a RangeError when given negative values
=begin
I guess I somehow incorrectly formatted the issue description, so here it is again with proper formatting.
...
Arthur Schreiber
07:34 AM Bug #9089 (Rejected): rb_fix2uint no longer raises a RangeError when given negative values
Up until the change that was made in ((<URL:https://github.com/ruby/ruby/commit/92f59c6d7937b14bb5eefb052099ef0a3ef3b... Arthur Schreiber
09:50 PM Bug #4044: Regex matching errors when using \W character class and /i option
Shouldn't this bug be mentioned in the docs for \W in the Regexp documentation?
http://www.ruby-doc.org/core-2.0.0...
Rodrigo Rosenfeld Rosas
09:23 PM Bug #9013: Crash on start
Can you tell us what is the system and the console codepage? (use chcp in
the command prompt)

Thank you.

...
Luis Lavena
07:13 PM Bug #9013: Crash on start
Oops! Bug is clearly reproduced on Windows Server 2003 R2 SP2 with "plain" ruby-1.9.3-p448 (just extracted from http:... Alexey Shumkin
01:30 AM Bug #9013: Crash on start
I confirm this bug.
I had ruby 1.9.3p194 installed. Today I've tried to upgrade. I've downloaded ruby 1.9.3p448 (7-z...
Alexey Shumkin
06:11 PM Revision 43577: test_logger.rb: clear garbage files
* test/logger/test_logger.rb (test_shifting_age_in_multiprocess):
unlink rotated log files all.
Nobuyoshi Nakada
06:10 PM Revision 43576: gc.c: use switch for alternative BUILTIN_TYPE
* gc.c (rb_objspace_call_finalizer): BUILTIN_TYPE is alternative,
T_DATA object (Thread, Mutex, Fiber) cannot be T_...
Nobuyoshi Nakada
06:04 PM Revision 43575: commit miss from r43573
Zachary Scott
06:03 PM Revision 43574: * gc.c (vm_malloc_increase): check GVL before gc_rest_sweep().
vm_malloc_increase() can be called without GVL.
However, gc_rest_sweep() assumes acquiring GVL.
To avoid this pro...
Koichi Sasada
05:53 PM Revision 43573: * lib/securerandom.rb: [DOC] specify arguments passed to ::random_bytes
By @chastell [Fixes GH-412] https://github.com/ruby/ruby/pull/412 Zachary Scott
05:44 PM Revision 43572: * ext/objspace/object_tracing.c: [DOC] trace_object_allocations_stop
By @srawlins [Fixes GH-421] https://github.com/ruby/ruby/pull/421 Zachary Scott
05:38 PM Revision 43571: * lib/net/ftp.rb: [DOC] Document Net::FTP.mdtm and .set_socket and fix
spelling typo, based on patch by @artfuldodger [Fixes GH-426]
https://github.com/ruby/ruby/pull/426
Zachary Scott
05:34 PM Feature #8839: Class and module should return the class or module that was opened
Just to throw my 2¢ in...
I think the main benefit to returning a symbol from `def` is that it enables the use of ...
Joshua Ballanco
05:15 PM Revision 43570: * array.c: [DOC] Add note about negative indices in Array overview
By @ckaenzig [Fixes GH-427] https://github.com/ruby/ruby/pull/427 Zachary Scott
05:10 PM Revision 43569: * lib/csv.rb: [DOC] Fix typo in CSV.parse_line by @funky-bibimbap
[Fixes GH-430] https://github.com/ruby/ruby/pull/430 Zachary Scott
05:02 PM Revision 43568: typo [Fixes GH-435] PAtch by @zed-0xff https://github.com/ruby/ruby/pull/435
Hiroshi SHIBATA
04:03 PM Revision 43567: * 2013-11-08
svn
04:03 PM Revision 43566: * golf_prelude.rb: syntax formatting for whitespace [Fixes GH-425]
Patch by @edward https://github.com/ruby/ruby/pull/425 Zachary Scott
02:39 PM Bug #9092 (Open): Update Unicode data to Unicode Version 7.0
As done regularly, Ruby should be updated to the newest version of Unicode, 6.3. This year's updates on the Unicode s... Martin Dürst
12:33 PM Bug #9091 (Open): [PATCH] accept_nonblock supports "exception: false"
git pull git://bogomips.org/ruby.git accept_nonblock-noraise
This is analogous to functionality found in IO#read_n...
Eric Wong
12:31 PM Bug #9087 (Closed): swallowing "s" letters when "i" flag is on
Closed because it's a duplicate (of #4044). Martin Dürst
10:45 AM Revision 43565: * gc.c: modify malloc_limit strategy.
* fix default vaues:
GC_MALLOC_LIMIT_GROWTH_FACTOR
GC_MALLOC_LIMIT: 8MB -> 16MB
GC_MALLOC_LIMIT_MAX: 384M...
Koichi Sasada
09:39 AM Bug #9088 (Closed): SEGV with set_trace_func and break
This issue was solved with changeset r43561.
Akira, thank you for reporting this issue.
Your contribution to Ruby is ...
Nobuyoshi Nakada
06:51 AM Revision 43564: fix typos
kazu
02:08 AM Revision 43563: * array.c (rb_ary_shuffle_bang): use RARRAY_PTR_USE() without WB
because there are not new relations. glass
01:37 AM Revision 43562: * array.c (rb_ary_sample): use rb_ary_dup().
glass
01:20 AM Bug #8439: test_aes_gcm_wrong_tag(OpenSSL::TestCipher) fails randomly
I tracked down the random failure.
It seems that the failure occur when tag[-1].succ is 2byte.
I.e. it fails when...
Akira Tanaka
12:39 AM Revision 43561: vm_trace.c: isolate errinfo in trace blocks
* vm_trace.c (rb_threadptr_exec_event_hooks_orig): errinfo should not
be propagated to trace blocks so that no argu...
Nobuyoshi Nakada

11/06/2013

11:32 PM Feature #9076: New one-argument block syntax: &.
asterite (Ary Borenszweig) wrote:
> Did you know that you can't do `&:to_s` wherever you want?
>
> ~~~ruby
> irb(...
Alexey Muranov
11:22 PM Feature #9076: New one-argument block syntax: &.
alexeymuranov (Alexey Muranov) wrote:
> > Note that in doing `array.map &:to_s` the `do ... end` and curly braces ar...
Ary Borenszweig
10:44 PM Feature #9076: New one-argument block syntax: &.
> Note that in doing `array.map &:to_s` the `do ... end` and curly braces are also missing. However, the `&` signals ... Alexey Muranov
09:53 PM Feature #9076: New one-argument block syntax: &.
Alexey,
You are right about every point you make. It's indeed a random syntactic sugar for a special case. It only...
Ary Borenszweig
06:39 AM Feature #9076: New one-argument block syntax: &.
Ary,
as far as i understand, the ampersand is used with symbols and not with strings because method names and iden...
Alexey Muranov
08:37 PM Revision 43560: * 2013-11-07
svn
08:37 PM Revision 43559: * .gdbinit (rp): fix flag name.
Nobuyoshi Nakada
08:12 PM Bug #9088 (Closed): SEGV with set_trace_func and break
以下のようにすると SEGV します。
% ./ruby -e '
set_trace_func proc {raise rescue nil}
1.times do
break
end...
Akira Tanaka
07:04 PM Bug #9087 (Closed): swallowing "s" letters when "i" flag is on
# This regexp is removing 's' characters from the string
irb(main):091:0> "fdsa-f fdas5_-423432".gsub /[_\W]/i, ''
...
Dawid Grzesiak
05:11 PM Bug #8134: Compilation failure for 2.0.0 on 10.6.8
"Third Party's Issue" is considered as closed on this tracker. Yui NARUSE
05:10 PM misc #9078 (Closed): Q: Why the Roadmap states that v2.1 is due in about 14 months (12/25/2014) w...
fixed Yui NARUSE
12:36 PM Revision 43558: * gc.c (gc_before_sweep): Change algorithm of malloc_limit to
conservative for closing to memory consumption of ruby 2.0.
* gc.c (GC_MALLOC_LIMIT, GC_MALLOC_LIMIT_GROWTH_FACTOR)...
Masaya Tarui
12:20 PM Revision 43557: * array.c (rb_ary_shift_m): use RARRAY_PTR_USE() without WB because
there are not new relations. glass
12:09 PM Revision 43556: * array.c (rb_ary_reverse): use RARRAY_PTR_USE().
glass
10:50 AM Bug #9086 (Closed): lib/rubygems/LICENSE.txt does not match LICENSE.txt from http://github.com/ru...
lib/rubygems/LICENSE.txt in the Ruby source tree says:
RubyGems is copyrighted free software by Chad Fowler, Rich...
Antonio Terceiro
10:38 AM Feature #5446: at_fork callback API
I'd love to see this added. Gems using threads (like newrelic_rpm) have a lot of potential for deadlocks when forking... Jason Clark
06:48 AM Feature #5446: at_fork callback API
This is a critical feature for Ruby imho, at the moment there are 100 mechanisms for at_fork, we need a clean, suppor... Sam Saffron
10:32 AM Revision 43555: * common.mk (help): add texts about gcbench.
Masaya Tarui
09:30 AM Bug #9004: gem which command should exit with status of '1' if 1 or more gem arguments are not found
=begin
Patch causes `gem which` to return 1 if there are no args, or if any of the args is not found.
$ gem whic...
Matthew Kerwin
07:34 AM Bug #9082: popen3 hangs when stderr gets lots of output
Sorry, haven't seen your message before posting, @akr. Thanks, I surely overlooked the documentation, sorry! Rodrigo Rosenfeld Rosas
07:34 AM Bug #9082: popen3 hangs when stderr gets lots of output
Also, I'm not sure how I should use IO.select. Looking at the documentation it's not clear to me how I should use it ... Rodrigo Rosenfeld Rosas
07:32 AM Bug #9082: popen3 hangs when stderr gets lots of output
rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
> At least with the block form. I think this should be documented if this...
Akira Tanaka
07:31 AM Bug #9082: popen3 hangs when stderr gets lots of output
I'm assuming that if I use popen2 or redirect all STDOUT to /dev/null I don't need IO.select, right? Rodrigo Rosenfeld Rosas
07:30 AM Bug #9082: popen3 hangs when stderr gets lots of output
You need to use IO.select to handle that. Charlie Somerville
07:29 AM Bug #9082: popen3 hangs when stderr gets lots of output
I see, but usually a process will write both to STDOUT and STDERR so it may happen that both buffers will be full. Wh... Rodrigo Rosenfeld Rosas
07:27 AM Bug #9082: popen3 hangs when stderr gets lots of output
If you call e.read then test.rb is able to write the entire message to STDERR then exit. When it exits, both stderr a... Charlie Somerville
07:24 AM Bug #9082: popen3 hangs when stderr gets lots of output
Also, is it expected that even if e.read is called inside the block it will hang up? Rodrigo Rosenfeld Rosas
07:19 AM Bug #9082: popen3 hangs when stderr gets lots of output
At least with the block form. I think this should be documented if this is the case. Rodrigo Rosenfeld Rosas
07:19 AM Bug #9082: popen3 hangs when stderr gets lots of output
Rodrigo: Yes, this is how UNIX works. Charlie Somerville
07:18 AM Bug #9082: popen3 hangs when stderr gets lots of output
Will it also block on STDOUT? If so, I suppose people shouldn't use the open3 library for interacting with commands l... Rodrigo Rosenfeld Rosas
07:16 AM Bug #9082 (Rejected): popen3 hangs when stderr gets lots of output
Jeremy is correct, this is not a bug in popen3.
To properly handle things like this, look into IO.select.
Charlie Somerville
07:14 AM Bug #9082: popen3 hangs when stderr gets lots of output
I think this is expected behavior, not a bug. Your test.rb program blocks outputting to stderr because the pipe buffe... Jeremy Evans
06:54 AM Bug #9082 (Rejected): popen3 hangs when stderr gets lots of output
Create this program test.rb:
STDERR.puts "some error line\n" * 10_000
Then, try this:
ruby -r open3 -e "Open...
Rodrigo Rosenfeld Rosas
07:32 AM Revision 43554: lib/open3.rb: tweaked grammar in comments
Martin Dürst
07:22 AM Bug #9083 (Open): BasicObject#method_missing does not always raise NoMethodError for missing methods

def method_missing(name, *)
super
rescue NoMethodError => e

end
if the method is called witho...
First Last
06:46 AM Bug #9026: [PATCH] Add ObjectSpace.heap_dump to objspace.so
I think it could be helpful to be able to specify the filename that the dump should be written to, or at least the di... Alexander Kahn
06:25 AM Revision 43553: Suppress warnings: ambiguous first argument; put parentheses or even spaces
Yui NARUSE
06:23 AM Revision 43552: Suppress warnings: File.exists? is a deprecated name
Yui NARUSE
06:23 AM Revision 43551: Suppress Warnings: instance variable @installed_by_version not initialized
Yui NARUSE
02:50 AM Revision 43550: * array.c (rb_ary_sample): use RARRAY_AREF() and RARRAY_PTR_USE()
instead of RARRAY_PTR(). glass
01:39 AM Revision 43549: * array.c (rb_ary_and): defer hash creation and some refactoring.
glass
12:21 AM Revision 43548: * properties.
Nobuyoshi Nakada
12:17 AM Revision 43547: * benchmark/bm_vm1_gc_short_lived.rb: added.
These GC benchmarks do not reflect practical applications.
They are only for tuning.
* benchmark/bm_vm1_gc_short_wi...
Koichi Sasada
12:14 AM Revision 43546: * gc.c: define RGENGC_ESTIMATE_OLDSPACE == 0 if USE_RGENGC is 0.
Koichi Sasada

11/05/2013

10:27 PM Revision 43545: * benchmark/gc/gcbench.rb: fix typo of r43543
Benoit Daloze
10:13 PM Revision 43544: * gc.c (Init_GC): add GC::OPTS to show options.
Koichi Sasada
10:13 PM Revision 43543: * benchmark/gc/gcbench.rb: add some options to make quiet.
Koichi Sasada
08:15 PM Bug #9072 (Closed): test_weakref.rb failure
This issue was solved with changeset r43539.
Akira, thank you for reporting this issue.
Your contribution to Ruby is ...
Masaya Tarui
07:48 PM Bug #9072: test_weakref.rb failure
もうちょっと調べて、いくらか少ない繰り返しで症状を発生させてみました。
% ./ruby -ve '
wmap = ObjectSpace::WeakMap.new
keys = []
1.upto(10) {|i|
...
Akira Tanaka
08:08 PM Feature #9076: New one-argument block syntax: &.
Hanmac: thanks for the code to make it work. Ruby is very powerful.
However, I'm sure that code is very slow. At l...
Ary Borenszweig
06:01 PM Feature #9076: New one-argument block syntax: &.
i got a working sample with `.()`
~~~ruby
class Symbol
class SymbolHelper < BasicObject
def initialize(ob...
Hans Mackowiak
11:59 AM Feature #9076: New one-argument block syntax: &.
alexeymuranov (Alexey Muranov) wrote:
> In my opinion, this is a bad idea: there would be a dot `.`, an ampersand `&...
Ary Borenszweig
06:57 AM Feature #9076: New one-argument block syntax: &.
In my opinion, this is a bad idea: there would be a dot `.`, an ampersand `&`, and an ampersand-dot `&.`, unrelated t... Alexey Muranov
06:17 AM Feature #9076: New one-argument block syntax: &.
nobu (Nobuyoshi Nakada) wrote:
> You seem confusing that `&:` is an operator, but it's not
> They are `&` + `:` of ...
Ary Borenszweig
05:59 AM Feature #9076 (Feedback): New one-argument block syntax: &.
You seem confusing that `&:` is an operator, but it's not.
They are `&` + `:` of the beginning of a symbol literal.
...
Nobuyoshi Nakada
05:29 AM Feature #9076: New one-argument block syntax: &.
Introducing both syntaxes indeed is a bit confusing. I don’t think
~~~ruby
[1, 10, 100].map &.to_s.length
~~~
...
Fuad Saud
12:57 AM Feature #9076: New one-argument block syntax: &.
Note that if `&:` would be removed at the same time and `&.` added I would not mind it that much. You could use `&` a... Robert A. Heiler
12:55 AM Feature #9076: New one-argument block syntax: &.
I dislike the amount of special meanings that would get associated with `&` and I already think that `&` is used too ... Robert A. Heiler
07:15 PM Revision 43542: * 2013-11-06
svn
07:15 PM Revision 43541: * ext/psych/lib/psych/visitors/to_ruby.rb: process merge keys before
reviving objects. Fixes GH psych #168
* test/psych/test_merge_keys.rb: test for change
https://github.com/tenderlov...
tenderlove
06:23 PM Feature #9049: Shorthands (a:b, *) for inclusive indexing
[Sorry for the delay of this message. I wrote most of this mail on a
plane, but had to check a few loose ends, an...
Martin Dürst
05:54 PM Bug #9053: SSL Issue with Ruby 2.0.0
chittoor (Rajesh Malepati) wrote:
> tisba (Sebastian Cohnen) wrote:
> > chittoor (Rajesh Malepati) wrote:
> > > Yo...
Sebastian Cohnen
05:40 PM Bug #9053: SSL Issue with Ruby 2.0.0
MartinBosslet (Martin Bosslet) wrote:
> Thanks everyone for contributing, I'm sorry I couldn't look into it any soone...
Sebastian Cohnen
05:03 PM Bug #9080: ENV[key] produces three objects
A little ObjectSpace exploration gives:
n = 1
GC.disable

a = ObjectSpace.count_objects[:T_STRI...
Benoit Daloze
07:51 AM Bug #9080 (Open): ENV[key] produces three objects
This code:
ENV["HOME"]
allocates three T_STRING according to ObjectSpace.count_objects. Unless I'm missing so...
Yehuda Katz
12:25 PM Revision 43540: * test/ruby/test_thread.rb (test_thread_join_in_trap):
Run the test in a different process. Akira Tanaka
12:22 PM Bug #9077 (Assigned): RDoc typographical error
Thank you for the report, I will check it! Zachary Scott
02:50 AM Bug #9077 (Closed): RDoc typographical error
=begin
There is a typographical error in http://www.ruby-doc.org/core-2.0.0/_lib/racc/rdoc/grammar_en_rdoc.html#labe...
Tsuyoshi Sawada
11:15 AM Revision 43539: * gc.c (is_live_object): A hidden object may be a live object.
[ruby-dev:47788] [Bug #9072] Masaya Tarui
09:56 AM Bug #9081 (Rejected): Unexpected result for and opreator
This isn't a bug. The 'and' operator has lower precedence than '&&', so when you write this code:
puts true an...
Charlie Somerville
09:51 AM Bug #9081: Unexpected result for and opreator
This isn't unexpected behavior. (({and})) and (({or})) are not boolean, but control flow operators. Execution stops w... Gergo Erdosi
09:41 AM Bug #9081 (Rejected): Unexpected result for and opreator
I use this code to test and confirm this result
def show
@profile = .......
puts "=================="
...
Mo Amin
08:10 AM Revision 43538: pty.c: check error of seteuid
* ext/pty/pty.c (chfunc): check error of seteuid and return error
message, to suppress unused-value warning.
Nobuyoshi Nakada
08:10 AM Revision 43537: test_command_processor.rb: clear tmpdir
* test/shell/test_command_processor.rb (TestShell#teardown): should
not leave temporary directories.
Nobuyoshi Nakada
08:06 AM Bug #9079: Interpolated Symbol creates unnecessary intermediate String on the heap
To shed a bit of light on why this happens, it turns out :"" syntax is just sugar for "".intern:
~ trunk λ rub...
Charlie Somerville
07:49 AM Bug #9079 (Open): Interpolated Symbol creates unnecessary intermediate String on the heap
This case:
x = "world"
y = :"hello#{world}!"
allocates one T_STRING according to ObjectSpace.count_objects...
Yehuda Katz
07:56 AM Revision 43536: eval_intern.h: rename prefix
* eval_intern.h (rb_threadptr_tag_state, rb_threadptr_tag_jump):
rename prefix ruby as rb, same as other rb_threadp...
Nobuyoshi Nakada
07:56 AM Revision 43535: eval.c: suppress warning
* eval.c (rb_protect): get rid of false clobbered warning. Nobuyoshi Nakada
07:48 AM Revision 43534: * remove trailing spaces.
Nobuyoshi Nakada
06:57 AM misc #9078 (Closed): Q: Why the Roadmap states that v2.1 is due in about 14 months (12/25/2014) w...
Are these different milestones? Otherwise the dates must match.
https://bugs.ruby-lang.org/versions/27
Dimitar Bonev
04:52 AM Revision 43533: fix typos in ChangeLog.
Koichi Sasada
04:51 AM Revision 43532: * gc.c: add support to estimate increase of oldspace memory usage.
This is another approach to solve an issue discussed at r43530.
This feature is diabled as default.
This feature ...
Koichi Sasada

11/04/2013

11:42 PM Feature #9076: New one-argument block syntax: &.
my first idea is this:
~~~ruby
class Symbol
def call(*args)
proc {|obj| obj.public_send(self,*args) }
...
Hans Mackowiak
11:04 PM Feature #9076 (Feedback): New one-argument block syntax: &.
Hello,
I'd like to introduce a new syntax for blocks that have one argument.
Currently you can do this:
~~~r...
Ary Borenszweig
07:04 PM Revision 43531: * gc.c (GC_MALLOC_LIMIT_MAX): fix default value 512MB -> 384MB.
512MB is huge. Koichi Sasada
06:59 PM Revision 43530: * gc.c: add 3gen GC patch, but disabled as default.
RGenGC is designed as 2 generational GC, young and old generation.
Young objects will be promoted to old objects af...
Koichi Sasada
06:38 PM Bug #9072: test_weakref.rb failure
ちょっと追いかけたところ、ObjectSpace::WeakMap が、
入れた覚えのないオブジェクトを返すことがあるようです。
% ./ruby -ve '
wmap = ObjectSpace::WeakMap.new
...
Akira Tanaka
03:56 PM Bug #7956: Install fail with RVM
the last reported problem is unrelated to the initial one and was fixed in #8134 - it can be reclosed Michal Papis
03:52 PM Bug #8134: Compilation failure for 2.0.0 on 10.6.8
it's coded now in rvm to default to gcc-4.2 in this case, also if user forced CC=clang then rvm will warn about old v... Michal Papis
03:06 PM Revision 43529: * node.h: catch up comments for last commit.
Koichi Sasada
03:04 PM Revision 43528: * 2013-11-05
svn
03:04 PM Revision 43527: * include/ruby/ruby.h: rename FL_OLDGEN to FL_PROMOTED.
This flag represents that "this object is promoted at least once."
* gc.c, debug.c, object.c: catch up this change.
Koichi Sasada
01:21 PM Revision 43526: * test/xmlrpc: Don't use fixed ports: 8070 and 8071.
Akira Tanaka
11:42 AM Bug #9053: SSL Issue with Ruby 2.0.0
=begin
@davispuh: OpenSSL in Windows do not come with support for Windows certificate storage, so it cannot connect ...
Luis Lavena
09:47 AM Bug #9053: SSL Issue with Ruby 2.0.0
Thanks everyone for contributing, I'm sorry I couldn't look into it any sooner. Special thanks to Rajesh for finding ... Martin Bosslet
07:17 AM Revision 43525: fix a typo
kazu
06:27 AM Revision 43524: * test/xmlrpc/webrick_testing.rb (start_server): Initialize the server
at main thread to fail early. Akira Tanaka
01:08 AM Revision 43523: * 2013-11-04
svn
01:08 AM Revision 43522: eval_intern.h: avoid undefined behavior of setjmp
* eval_intern.h (TH_EXEC_TAG, TH_JUMP_TAG): get rid of undefined
behavior of setjmp() in rhs of assignment expressi...
Nobuyoshi Nakada
12:28 AM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
@mame: Good catch. How about String#fz then? Boris Stitnicky

11/03/2013

02:09 PM Revision 43521: * sample/test.rb: Make temporary file names unique.
Akira Tanaka
12:40 PM Revision 43520: gc.c: use boolean
* gc.c (obj_free): use free_immediately as boolean. Nobuyoshi Nakada
12:40 PM Revision 43519: ifchange: no overwrite with an empty file
* tool/ifchange, win32/ifchange.bat: do not overwrite with an empty
file by default, and add --empty option to forc...
Nobuyoshi Nakada
11:41 AM Revision 43518: * test/xmlrpc: Wrap definitions by TestXMLRPC module.
Akira Tanaka
11:35 AM Bug #9075 (Third Party's Issue): ruby fails to compile enc/trans/big5.c
_rpq (r pq) wrote:
> gcc: Internal error: Killed (program cc1)
> Please submit a full bug report.
> See <http://bu...
Nobuyoshi Nakada
05:18 AM Bug #9075 (Third Party's Issue): ruby fails to compile enc/trans/big5.c
Ruby fails to compile on CentOS release 6.4 (Final): Linux 2.6.32-358.6.2.el6.x86_64
with ruby 2.0.0-p247 stable:
...
r pq
11:26 AM Revision 43517: * test/xmlrpc/webrick_testing.rb (stop_server): Don't try to shutdown
the server if the server is not started. Akira Tanaka
11:10 AM Bug #8883 (Closed): Rational canonicalization unexpectedly converts to Fixnum
Nobuyoshi Nakada
01:37 AM Revision 43516: gc.c: suppress warning
* gc.c (obj_free): suppress a false shorten-64-to-32 warning,
RUBY_TYPED_FREE_IMMEDIATELY never exceed the limit of...
Nobuyoshi Nakada
12:35 AM Revision 43515: * 2013-11-03
svn
12:35 AM Revision 43514: load.c: defer initalization of static-linked-ext
* load.c (rb_feature_p): deal with default loadable suffixes.
* load.c (load_lock): initialize statically linked exte...
Nobuyoshi Nakada

11/02/2013

11:45 PM Bug #9074 (Assigned): Doc promotes inadequate way to sanitize a filename
Thanks for the report! Zachary Scott
05:13 PM Bug #9074 (Closed): Doc promotes inadequate way to sanitize a filename
http://www.ruby-doc.org/stdlib-2.0.0/libdoc/drb/rdoc/DRb.html
also http://www.ruby-doc.org/stdlib-1.8.7/libdoc/drb/r...
Chris Phoenix
03:15 PM Bug #9046 (Closed): [PATCH] Inter-process locking for log rotation is required
This issue was solved with changeset r43513.
Naotoshi, thank you for reporting this issue.
Your contribution to Ruby ...
Nobuyoshi Nakada
01:46 PM Bug #9046 (Open): [PATCH] Inter-process locking for log rotation is required
=begin
It broke on Windows.
* don't use fork.
* don't assume that open file can be removed or renamed.
I'll try to ...
Nobuyoshi Nakada
07:15 AM Bug #9046 (Closed): [PATCH] Inter-process locking for log rotation is required
This issue was solved with changeset r43511.
Naotoshi, thank you for reporting this issue.
Your contribution to Ruby ...
Yui NARUSE
01:23 PM Bug #9072: test_weakref.rb failure
2013/11/2 akr (Akira Tanaka) <akr@fsij.org>:
> Bug #9072: test_weakref.rb failure
> https://bugs.ruby-lang.org/i...
Akira Tanaka
10:03 AM Bug #9072 (Closed): test_weakref.rb failure
test_weakref.rb を単独で動かすと、以下のように失敗します。
boron% ./ruby -v -e 'load("test/test_weakref.rb")'
ruby 2.1.0dev (2013-11-...
Akira Tanaka
12:55 PM Bug #9073 (Third Party's Issue): Array#join encoding problem
Bugs in gems return ASCII-8BIT strings. Nobuyoshi Nakada
11:42 AM Bug #9073 (Third Party's Issue): Array#join encoding problem
a=['hello']
a.push 'kitty'.force_encoding('ASCII-8BIT')
puts a.join
=> hellokitty
a=['问题']
a.push '错误'.force_e...
6569 04
12:33 PM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
Matz, I believe adding a new method will significantly limit the usefulness of this feature.
The reason optimizing...
Charlie Somerville
12:18 PM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
matz (Yukihiro Matsumoto) wrote:
> * I am OK with adding a new method (e.g. String#f) and compiler trick.
Somewha...
Yusuke Endoh
11:59 AM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
* I am OK with adding a new method (e.g. String#f) and compiler trick.
* I hesitate a bit to change String#freeze se...
Yukihiro Matsumoto
11:23 AM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
Matz, could you conclude this ticket?

I like this idea because:
- No syntax change
- Semantics was changed ...
Koichi Sasada
12:23 PM Feature #9071: Enumerable#slice_after
2013/11/2 sawa (Tsuyoshi Sawada) <sawadatsuyoshi@gmail.com>:
> Feature #9071: Enumerable#slice_after
> https://b...
Akira Tanaka
01:21 AM Feature #9071 (Closed): Enumerable#slice_after
I see in this discussion: http://ruby.11.x6.nabble.com/ruby-dev-38392-Enumerable-gather-each-td3534746.html that `Enu... Tsuyoshi Sawada
09:24 AM Bug #9053: SSL Issue with Ruby 2.0.0
=begin
On Linux it works fine, but on Windows:
N:\Projects>ruby -rnet/http -e 'Net::HTTP.get(URI("https://googl...
Dāvis Mosāns
09:19 AM Bug #9053: SSL Issue with Ruby 2.0.0
=begin
I've same problem on Windows 8 using Ruby 2.0.0-p247 (x86) from ((<RubyInstaller|URL:http://rubyinstaller.org...
Dāvis Mosāns
08:46 AM Bug #9053: SSL Issue with Ruby 2.0.0
I think it can be closed as per https://github.com/wayneeseguin/rvm/issues/2315#issuecomment-27198136 - adding the mi... Michal Papis
06:15 AM Revision 43513: logger.rb: fix r43511 for Windows
* lib/logger.rb (Logger::LogDevice::LogDeviceMutex#lock_shift_log):
open file can't be removed or renamed on Window...
Nobuyoshi Nakada
03:23 AM Feature #9070: Introduce `---` as synonym of `end` keyword
On Nov 1, 2013, at 10:44 AM, alexeymuranov (Alexey Muranov) wrote:

> This looks to me like the best approximation...
David MacMahon
02:44 AM Feature #9070: Introduce `---` as synonym of `end` keyword
matz (Yukihiro Matsumoto) wrote:
> Hmm, interesting idea. But it looks bit ugly, isn't it?
>
> FYI, I have once e...
Alexey Muranov
12:37 AM Feature #9070: Introduce `---` as synonym of `end` keyword
It does look ugly. I don't think that really makes the code better.
Also, I think if you leave a space after each ...
Prem Sichanugrist
12:35 AM Feature #9070: Introduce `---` as synonym of `end` keyword
Hmm, interesting idea. But it looks bit ugly, isn't it?
FYI, I have once experimented ';;' as replacement of 'end'...
Yukihiro Matsumoto

11/01/2013

11:24 PM Bug #9069 (Closed): test_weakref.rb with GC.stress causes [BUG] rb_gc_mark(): 0x8024ee94 is T_ZOMBIE
This issue was solved with changeset r43509.
Akira, thank you for reporting this issue.
Your contribution to Ruby is ...
Nobuyoshi Nakada
10:20 PM Bug #9069 (Open): test_weakref.rb with GC.stress causes [BUG] rb_gc_mark(): 0x8024ee94 is T_ZOMBIE
直っていないように思います。
boron% ./ruby -e 'GC.stress = true; load("test/test_weakref.rb")'
Run options:
# Running tests...
Akira Tanaka
05:25 PM Bug #9069 (Closed): test_weakref.rb with GC.stress causes [BUG] rb_gc_mark(): 0x8024ee94 is T_ZOMBIE
This issue was solved with changeset r43502.
Akira, thank you for reporting this issue.
Your contribution to Ruby is ...
Nobuyoshi Nakada
03:40 PM Bug #9069 (Closed): test_weakref.rb with GC.stress causes [BUG] rb_gc_mark(): 0x8024ee94 is T_ZOMBIE
気がついたのですが、GC.stress = true で test/test_weakref.rb を動かすと、
[BUG] rb_gc_mark(): 0x8024ee94 is T_ZOMBIE
というようなメッセージで異...
Akira Tanaka
11:17 PM Feature #9070 (Open): Introduce `---` as synonym of `end` keyword
=begin
This is just an idea: introduce "(({---}))" as synonym of "(({end}))" keyword.
It is a bit easier to type ...
Alexey Muranov
10:15 PM Revision 43512: * 2013-11-02
svn
10:14 PM Revision 43511: * lib/logger.rb: Inter-process locking for log rotation
Current implementation fails log rotation on multi process env.
by sonots <sonots@gmail.com>
https://github.com/r...
Yui NARUSE
06:09 PM Bug #9067: IO.reopen broken in 1.9/2.0, worked in 1.8
Thanks for the quick turnaround!
$stdin.reopen(IO.new(1, "r+")) does what I want.
Johan Walles
02:27 PM Revision 43510: fix typo
Masaya Tarui
02:24 PM Revision 43509: gc.c: mark live objects only
* gc.c (wmap_mark_map): mark live objects only, but delete zombies.
[ruby-dev:47787] [Bug #9069]
Nobuyoshi Nakada
01:47 PM Revision 43508: * gc.c (struct heap_page, gc_page_sweep, gc_sweep): Refactoring for
performance. Add before_sweep condition to heap_page structure.
* gc.c (rb_gc_force_recycle): Use before_sweep memb...
Masaya Tarui
01:46 PM Revision 43507: test_m17n.rb: fix encoding
* test/ruby/test_m17n.rb (test_scrub): fix expected encoding, for
non-UTF-8 environment.
Nobuyoshi Nakada
01:22 PM Revision 43506: * gc.c (make_deferred): Refactoring. Collect codes which should be
atomic.
* gc.c (make_io_deferred, obj_free, rb_objspace_call_finalizer,
gc_page_sweep): Correspond to the above.
Masaya Tarui
12:49 PM Revision 43505: * gc.c (typedef struct rb_objspace): Refactoring. Move some members
into profile member.
* gc.c (newobj_of): Correspond to the above.
* gc.c (finalize_list): Ditto.
* gc.c (objspa...
Masaya Tarui
12:12 PM Revision 43504: transcode.c: fix segv in String.encode!
* transcode.c (str_transcode0): fix segv in String.encode!. now
rb_str_scrub() can return nil.
Nobuyoshi Nakada
11:53 AM Revision 43503: string.c: fix typo
* string.c (rb_str_scrub): fix typo, should yield invalid byte
sequence to be scrubbed. reported by znz at IRC.
Nobuyoshi Nakada
08:25 AM Revision 43502: gc.c: zombie is not alive
* gc.c (is_live_object): finalizer may not run because of lazy-sweep.
[ruby-dev:47786] [Bug #9069]
Nobuyoshi Nakada
08:00 AM Revision 43501: test_m17n.rb: nil replacement
* test/ruby/test_m17n.rb (test_scrub, test_scrub_bang): now explicit
nil is allowed as replacement.
Nobuyoshi Nakada
07:55 AM Revision 43500: string.c: export rb_str_scrub
* string.c (rb_str_scrub): export with fixed length arguments, and
allow nil as replacement string instead of omitt...
Nobuyoshi Nakada
07:37 AM Revision 43499: load.c: suppress warning
* load.c (rb_load_internal): split to suppress false "clobbered"
warning by gcc 4.4.5.
Nobuyoshi Nakada
07:37 AM Revision 43498: load.c: use local variable
* load.c (rb_load_internal): use local variable th instead of
GET_THREAD() for each time.
Nobuyoshi Nakada
06:59 AM Feature #9068: [PATCH (trivial)] thread.c: reduce rb_mutex_t size by 8 bytes on x86_64
KOSAKI Motohiro <kosaki.motohiro@gmail.com> wrote:
> (10/31/13 5:12 PM), Eric Wong wrote:
> >KOSAKI Motohiro <ko...
Eric Wong
06:53 AM Feature #9068: [PATCH (trivial)] thread.c: reduce rb_mutex_t size by 8 bytes on x86_64
(10/31/13 5:12 PM), Eric Wong wrote:
> KOSAKI Motohiro <kosaki.motohiro@gmail.com> wrote:
>> ok, please commit.
...
Motohiro KOSAKI
06:27 AM Feature #9068 (Closed): [PATCH (trivial)] thread.c: reduce rb_mutex_t size by 8 bytes on x86_64
This issue was solved with changeset r43497.
Eric, thank you for reporting this issue.
Your contribution to Ruby is g...
Motohiro KOSAKI
06:23 AM Feature #9068: [PATCH (trivial)] thread.c: reduce rb_mutex_t size by 8 bytes on x86_64
KOSAKI Motohiro <kosaki.motohiro@gmail.com> wrote:
> ok, please commit.

I never accepted commit bit.

How...
Eric Wong
05:29 AM Feature #9068: [PATCH (trivial)] thread.c: reduce rb_mutex_t size by 8 bytes on x86_64
(10/31/13 3:42 PM), normalperson (Eric Wong) wrote:
>
> Issue #9068 has been reported by normalperson (Eric Wong...
Motohiro KOSAKI
04:42 AM Feature #9068 (Closed): [PATCH (trivial)] thread.c: reduce rb_mutex_t size by 8 bytes on x86_64
gcc can pack the structure better when both 32-bit fields
are next to each other.
(I realized I could have 10K-10...
Eric Wong
02:28 AM Bug #8384: Cannot build ruby against OpenSSL build with "no-ec2m"
Thank you! Vit Ondruch
12:09 AM Bug #8384: Cannot build ruby against OpenSSL build with "no-ec2m"
Backported to ruby_1_9_3 at r43486 and r43494. Usaku NAKAMURA
12:05 AM Bug #9048: Remove legacy ±(binary) special cases.
Backported to ruby_1_9_3 at r43493. Usaku NAKAMURA
12:00 AM Bug #8654: SEGV in Array#count
Backported to ruby_1_9_3 at r43491. Usaku NAKAMURA

10/31/2013

11:44 PM Bug #8768: [PATCH] tempfile: undefine finalizer on unlink
Backported to ruby_1_9_3 at r43490. Usaku NAKAMURA
11:41 PM Bug #8913: Unclear licensing terms on lib/gserver.rb
Backported to ruby_1_9_3 at r43489. Usaku NAKAMURA
11:37 PM Bug #8864: sprintf segfaults with too high precision
Backported to ruby_1_9_3 at r43488. Usaku NAKAMURA
11:33 PM Bug #8792: HP-UX needs sys/pstat.h for missing/setproctitle.c
Backported to ruby_1_9_3 at r43487. Usaku NAKAMURA
11:30 PM Feature #9064: Add support for packages, like in Java
david_macmahon (David MacMahon) wrote:
>... If we change the behavior, then the implicit creation of module MyMod...
Rodrigo Rosenfeld Rosas
02:23 PM Feature #9064: Add support for packages, like in Java
On Oct 30, 2013, at 9:26 PM, Nobuyoshi Nakada wrote:

> (13/10/31 5:15), David MacMahon wrote:
>> It would be nic...
David MacMahon
01:53 PM Feature #9064: Add support for packages, like in Java
On Oct 30, 2013, at 2:55 PM, rosenfeld (Rodrigo Rosenfeld Rosas) wrote:

> When I talk about conflicts, I'm worrie...
David MacMahon
01:29 PM Feature #9064: Add support for packages, like in Java
(13/10/31 5:15), David MacMahon wrote:
> On a semi-related note, I find it mildly frustrating that all openings of...
Nobuyoshi Nakada
09:29 AM Feature #9064: Add support for packages, like in Java
Sorry, I forgot to mention I was replying Dave.
On Oct 30, 2013 7:59 PM, "rosenfeld (Rodrigo Rosenfeld Rosas)" <
...
Fuad Saud
06:59 AM Feature #9064: Add support for packages, like in Java
fuadksd (Fuad Saud) wrote:
> To define a constant you could use Module#const_set...
Was this message target at me...
Rodrigo Rosenfeld Rosas
06:55 AM Feature #9064: Add support for packages, like in Java
When I talk about conflicts, I'm worried about an existing MyModule::MyClass in the project.
If you do "module MyM...
Rodrigo Rosenfeld Rosas
05:53 AM Feature #9064: Add support for packages, like in Java
To define a constant you could use Module#const_set, and you can avoid reopening the class with Module#instance_exec... Fuad Saud
05:23 AM Feature #9064: Add support for packages, like in Java
On Oct 30, 2013, at 12:54 PM, rosenfeld (Rodrigo Rosenfeld Rosas) wrote:

> David, I agree with you, and actually,...
David MacMahon
04:54 AM Feature #9064: Add support for packages, like in Java
I'm not against Python (and Node.js) package import approaches, but I think it's a completely separate subject from t... Rodrigo Rosenfeld Rosas
04:47 AM Feature #9064: Add support for packages, like in Java
I think it would be more interesting if you would also support package imports then (similar to Python) which would p... Daniel Mendler
03:53 AM Feature #9064: Add support for packages, like in Java
It seems two things are needed for your request.

1) Define nested modules with one statement

2) Add implicit "...
David MacMahon
03:16 AM Feature #9064 (Open): Add support for packages, like in Java
In Java, it's easy to define a package for a certain class:
package com.company.MyClass
We don't use that conve...
Rodrigo Rosenfeld Rosas
10:43 PM Bug #8384 (Assigned): Cannot build ruby against OpenSSL build with "no-ec2m"
Tomoyuki Chikanaga
10:42 PM Bug #8384: Cannot build ruby against OpenSSL build with "no-ec2m"
r41808 and 41829 are backported to ruby_2_0_0 at r43481. Tomoyuki Chikanaga
10:35 PM Bug #8384: Cannot build ruby against OpenSSL build with "no-ec2m"
sorry, I've overlooked this ticket. I'll try to backport r41808 and 41829. Tomoyuki Chikanaga
09:52 PM Bug #9062: lib/rexml/parsers/streamparser.rb に require "rexml/parsers/baseparser" を追加してほしい
たしかにそのとおりですね!
追加しました!
Kouhei Sutou
09:50 PM Bug #9062 (Closed): lib/rexml/parsers/streamparser.rb に require "rexml/parsers/baseparser" を追加してほしい
This issue was solved with changeset r43480.
Ippei, thank you for reporting this issue.
Your contribution to Ruby is ...
Kouhei Sutou
12:54 AM Bug #9062 (Closed): lib/rexml/parsers/streamparser.rb に require "rexml/parsers/baseparser" を追加してほしい
lib/rexml/parsers/streamparser.rb は内部で REXML::Parsers::BaseParser を使っていますが
rexml/parsers/baseparser を require していません...
Ippei Obayashi
09:27 PM Revision 43497: * thread.c (rb_mutex_struct): reduce rb_mutex_t size by 8 bytes
on 64bit platform. Patch by Eric Wong. [Feature #9068][ruby-core:58114] Motohiro KOSAKI
04:09 PM Revision 43496: * 2013-11-01
svn
04:09 PM Revision 43495: * benchmark/gc/gcbench.rb: print HWM (high water mark) if possible.
Koichi Sasada
12:50 PM Revision 43480: * lib/rexml/parsers/streamparser.rb: Add dependency file require.
[Bug #9062] [ruby-dev:47779]
Reported by Ippei Obayashi. Thanks!!!
Kouhei Sutou
11:17 AM Bug #9067 (Rejected): IO.reopen broken in 1.9/2.0, worked in 1.8
Nobuyoshi Nakada
09:53 AM Bug #9067: IO.reopen broken in 1.9/2.0, worked in 1.8
2013/10/31 walles (Johan Walles) <johan.walles@gmail.com>:
> Bug #9067: IO.reopen broken in 1.9/2.0, worked in 1.8...
Akira Tanaka
05:04 AM Bug #9067 (Rejected): IO.reopen broken in 1.9/2.0, worked in 1.8
Try piping some input into the attached code:
echo foo | reopen-fail.rb
Works as expected with ruby 1.8.7 (2012...
Johan Walles
07:27 AM Bug #9063: irb crashes when #backtrace of raised Exception is nil
attached a patch. (which is same with https://github.com/ruby/ruby/pull/434.patch ) Shimpei Makimoto
01:37 AM Bug #9063 (Assigned): irb crashes when #backtrace of raised Exception is nil
+1, I think irb shouldn't die even if caught Exception is something wrong.
Could you attach a patch for here too?
Shota Fukumori
01:05 AM Bug #9063 (Assigned): irb crashes when #backtrace of raised Exception is nil
=begin
See also the pull req on GitHub: https://github.com/ruby/ruby/pull/434
When an exception whose backtrace i...
Shimpei Makimoto
05:26 AM Revision 43479: * vm_method.c (rb_method_entry_make): fix to pass an ISeq value.
OBJ_WRITTEN() accepts only VALUE. Koichi Sasada
04:13 AM Revision 43478: * 2013-10-31
svn
04:13 AM Revision 43477: Record dependency on Emacs 24.3 and update commentary.
Akinori MUSHA

10/30/2013

11:33 PM Bug #9061 (Closed): REXML::Parsers::UltraLightParser で doctype を含む XML のパースがうまくいかない
以下のコード (test_ulp.rb)
require 'rexml/parsers/ultralightparser'
require 'pp'

pp REXML::Parsers::UltraLigh...
Ippei Obayashi
08:27 PM Bug #7565: Redundant functions in ruby-additional.el
Cool, thanks! Dmitry Gutov
07:13 PM Bug #7565: Redundant functions in ruby-additional.el
ruby-mode-set-encoding is still there because it is updated after 24.3.
It can hopefully be removed when the next ...
Akinori MUSHA
07:11 PM Bug #7565 (Closed): Redundant functions in ruby-additional.el
This issue was solved with changeset r43475.
Dmitry, thank you for reporting this issue.
Your contribution to Ruby is...
Akinori MUSHA
05:38 PM Feature #9060 (Rejected): "Assignment" operator overloading
I am not sure what you want. Could you elaborate?
Doesn't defining regular method like #update do for you?
cla...
Yukihiro Matsumoto
10:00 AM Feature #9060 (Rejected): "Assignment" operator overloading
=begin
I understand assignment in ruby is assigning an object to the variable. However there are other cases we need...
Bruce Metz
12:22 PM Bug #9059 (Closed): Equal Time objects don't hash equal
This issue was solved with changeset r43473.
Isaac, thank you for reporting this issue.
Your contribution to Ruby is ...
Akira Tanaka
07:09 AM Bug #9059: Equal Time objects don't hash equal
=begin
Further testing supports the above hypothesis:
$ cat test_time_hash.rb
#!/usr/bin/env ruby

require...
Isaac Schwabacher
03:50 AM Bug #9059 (Closed): Equal Time objects don't hash equal
=begin
Time objects break the promise that if (({t0.eql? t1})), then (({t0.hash == t1.hash})).
It is possible that ...
Isaac Schwabacher
12:04 PM Revision 43476: fix typos
kazu
10:11 AM Revision 43475: misc/ruby-additional.el: Remove functions implemented in Emacs 24.3.
* misc/ruby-additional.el (ruby-brace-to-do-end)
(ruby-do-end-to-brace, ruby-toggle-block): Remove functions that
...
Akinori MUSHA
03:44 AM Revision 43474: Makefile.sub: add missing config variables
* win32/Makefile.sub (config.status): add missing variables,
PLATFORM_DIR and THREAD_MODEL.
Nobuyoshi Nakada
03:22 AM Revision 43473: * time.c (v2w): Normalize a rational value to an integer if possible.
[ruby-core:58070] [Bug #9059] reported by Isaac Schwabacher. Akira Tanaka
03:11 AM Revision 43472: * array.c (rb_ary_uniq_bang): use rb_ary_modify_check() instead of
rb_ary_modify() because the array will be unshared soon. glass
01:31 AM Bug #9057 (Closed): Thread documentation refers to thread_local_set/get but it only documents thr...
http://ruby-doc.org/core-2.0.0/Thread.html#method-i-5B-5D
Shouldn't mentions to thread_local* be replaced by threa...
Rodrigo Rosenfeld Rosas

10/29/2013

10:03 PM Feature #9049: Shorthands (a:b, *) for inclusive indexing
nobu (Nobuyoshi Nakada) wrote:
> ^ is XOR operator.
There you go. I'm yet to XOR things in my life :-) So basic ASC...
Boris Stitnicky
09:39 PM Bug #8836: [BUG] Bus Error with bundler on large Gemfile when resolving dependencies
I hope `ulimit -s 8192` should help on 32bit system. Will test later and report Damir Sharipov
06:25 PM Revision 43471: * ext/psych/lib/psych/visitors/yaml_tree.rb: make less garbage when
testing if a string is binary. tenderlove
06:10 PM Revision 43470: * 2013-10-30
svn
06:10 PM Revision 43469: * ext/psych/lib/psych/visitors/yaml_tree.rb: string subclasses should
not be considered to be binary. Fixes Psych / GH 166
https://github.com/tenderlove/psych/issues/166
* test/psych/...
tenderlove
04:54 PM Bug #9027: [Doc] improve rdoc of Digest module
How do you handle backports? Will I have to open separate tickets as soon as this is merged to trunk? Marcus Stollsteimer
06:32 AM Bug #9027: [Doc] improve rdoc of Digest module
@stomar Thanks for the patch! seems good, I will do a full review and try to commit it soon! Zachary Scott
02:08 PM Revision 43468: * array.c (rb_ary_zip): some refactoring.
glass
01:14 PM Revision 43467: * array.c (rb_ary_uniq_bang): use st_foreach() instead of for loop.
glass
11:16 AM Revision 43466: * add RUBY_TYPED_FREE_IMMEDIATELY to data types which only use
safe functions during garbage collection such as xfree().
On default, T_DATA objects are freed at same points as fi...
Koichi Sasada
10:49 AM Revision 43465: * include/ruby/ruby.h: fix typo (FL_WB_PROTECT -> FL_WB_PROTECTED).
Koichi Sasada
09:47 AM Revision 43464: * vm_trace.c (tp_free): remvoed because empty free function.
Use RUBY_TYPED_NEVER_FREE instead. Koichi Sasada
09:42 AM Revision 43463: * include/ruby/ruby.h: introduce new flags for T_TYPEDDATA.
* RUBY_TYPED_FREE_IMMEDIATELY: free the data given by DATA_PTR()
with dfree function immediately. Otherwise (def...
Koichi Sasada
07:49 AM Revision 43462: * gc.c (vm_malloc_increase): decrease it more carefully.
Koichi Sasada
07:25 AM Revision 43461: * gc.c (heap_page_resurrect): return a page in tomb heap even if
freelist is NULL. Koichi Sasada
06:46 AM Revision 43460: ruby_atomic.h: ATOMIC_SIZE_CAS
* ruby_atomic.h (ATOMIC_SIZE_CAS): new macro, compare and swap size_t. Nobuyoshi Nakada
05:31 AM Revision 43459: fix typos
kazu
03:09 AM Revision 43458: * ext/readline/readline.c (readline_getc): Consider
NULL as input. Akira Tanaka
03:07 AM Bug #9053: SSL Issue with Ruby 2.0.0
tisba (Sebastian Cohnen) wrote:
> chittoor (Rajesh Malepati) wrote:
> > Your certificate chain is incomplete.
> > ...
Rajesh Malepati
02:11 AM Revision 43457: * gc.c (gc_profile_total_time): fix off-by-one error in GC::Profiler.total_time.
* test/ruby/test_gc.rb (class TestGc): test for above. Aman Gupta
12:52 AM Revision 43456: * 2013-10-29
svn
12:52 AM Revision 43455: * insns.def, vm.c, vm_insnhelper.c, vm_insnhelper.h, vm_method.c: split
ruby_vm_global_state_version into two separate counters - one for the
global method state and one for the global co...
Charlie Somerville

10/28/2013

06:44 PM Bug #9027: [Doc] improve rdoc of Digest module
@zzak. Any Feedback...? Marcus Stollsteimer
04:56 PM Bug #9053: SSL Issue with Ruby 2.0.0
chittoor (Rajesh Malepati) wrote:
> tisba (Sebastian Cohnen) wrote:
> > =begin
> > Steps to reproduce:
> >
> > ...
Sebastian Cohnen
03:01 PM Bug #9056: Segmentation fault after upgrading to OSX Maverick and runnning berks upload
Thanks! turns out I had to install xcode. Perhaps the old version of xcode was interfering with the command line tool... Moshe Bergman
01:34 PM Bug #9056 (Third Party's Issue): Segmentation fault after upgrading to OSX Maverick and runnning ...
Seems issue of ffi. Nobuyoshi Nakada
02:29 AM Bug #9056: Segmentation fault after upgrading to OSX Maverick and runnning berks upload
Sorry, the full ruby -v:
ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin13.0.0]
Moshe Bergman
02:28 AM Bug #9056 (Third Party's Issue): Segmentation fault after upgrading to OSX Maverick and runnning ...
See full log:
http://pastebin.com/AU316Bx3
Let me know if you need more information.
The bug is with ruby 2 p2...
Moshe Bergman
02:26 PM Revision 43454: * test/readline/test_readline.rb (teardown): Clear Readline.input and
Readline.output. Akira Tanaka
01:53 PM Feature #9049: Shorthands (a:b, *) for inclusive indexing
(13/10/26 17:11), boris_stitnicky (Boris Stitnicky) wrote:
> @mohawkjoh: Tilde is bad, too. From basic ASCII (I lo...
Nobuyoshi Nakada
12:48 PM Bug #8883: Rational canonicalization unexpectedly converts to Fixnum
Hello, melquiades
Don't you build your binary with --with-static-linked-ext ?
A similar issue is reported when ex...
Tomoyuki Chikanaga
10:38 AM Bug #8883: Rational canonicalization unexpectedly converts to Fixnum
Hi
melquiades (Paul Cantrell) wrote:
> (2) The bug occurs when you include _nothing_ at all:
>
> $ ~/.rvm/...
Marc-Andre Lafortune
12:38 PM Revision 43453: * properties.
Nobuyoshi Nakada
12:36 PM Revision 43452: * ext/-test-/file/depend, ext/-test-/postponed_job/depend,
ext/-test-/tracepoint/depend: New files for dependencies. Akira Tanaka
08:58 AM Bug #9055 (Rejected): Global methods called from an object can access object's internals
That's what global methods are. If you have objection, you need to be more specific and concrete.
What exactly do y...
Yukihiro Matsumoto
12:21 AM Bug #9055 (Rejected): Global methods called from an object can access object's internals
=begin
When I run the following program:
def foo()
bar(1)
puts "baz: #{@baz}"
end
def bar(n)
...
Alexander Korolkov
06:32 AM Revision 43451: openssl: work around of dependency
* ext/openssl/depend (ossl.o): work around of dependency of
thread_native.h, which depends on headers by THREAD_MOD...
Nobuyoshi Nakada
06:32 AM Revision 43450: * goruby.c (init_golf): append suffix.
Nobuyoshi Nakada
05:57 AM Revision 43449: load.c: share feature names
* load.c (ruby_init_ext): share feature names between frame name and
provided features.
Nobuyoshi Nakada
05:45 AM Revision 43448: * misc/ruby-electric.el: Import ruby-electric.el 2.1 from
https://github.com/knu/ruby-electric.el.
* Hitting the newline-and-indent key within a comment fires
comment-i...
Akinori MUSHA
04:17 AM Revision 43447: error.c: remove NameError#to_s
* error.c (name_err_to_s): remove no longer needed overriding, since
r30455 which made exc_to_s almost same. Fixes...
Nobuyoshi Nakada
04:11 AM Revision 43446: test_exception.rb: missing test
* test/ruby/test_exception.rb (test_to_s): missing test for r30455. Nobuyoshi Nakada
03:43 AM Revision 43445: * common.mk, ext/objspace/depend, ext/coverage/depend,
ext/-test-/debug/depend, ext/date/depend: Update dependencies. Akira Tanaka
12:31 AM Revision 43444: * vm.c: vm_clear_all_cache is not necessary now we use a 64 bit counter
for global state version.
* vm_insnhelper.h: ruby_vm_global_state_version overflow is unnecessary
Charlie Somerville

10/27/2013

10:48 PM Revision 43443: * vm_backtrace.c (rb_profile_frame_classpath): do not use rb_inspect
directly, since it might have a custom implementation or show ivars. Aman Gupta
09:10 PM Bug #8749: Readline.readline stops STDOUT?
この [ruby-dev:47033] [Bug #8749] と
[ruby-core:57951] [Bug #9040] の件をあわせて修正する変更を入れました。
パッチを出してから 2ヵ月くらい経っていますが反応が無く...
Akira Tanaka
09:04 PM Bug #8749 (Closed): Readline.readline stops STDOUT?
This issue was solved with changeset r43439.
Nobuhiro, thank you for reporting this issue.
Your contribution to Ruby ...
Akira Tanaka
09:04 PM Bug #9040 (Closed): Readline duplicate file descriptors but doesn't close them
This issue was solved with changeset r43439.
Eamonn, thank you for reporting this issue.
Your contribution to Ruby is...
Akira Tanaka
07:17 PM Revision 43442: * vm_backtrace.c (rb_profile_frame_classpath): handle singleton
methods defined directly on an object. Aman Gupta
03:52 PM Revision 43441: * 2013-10-28
svn
03:52 PM Revision 43440: struct.c: fix warning message
* struct.c (new_struct): fix warning message, class name and encoding. Nobuyoshi Nakada
12:53 PM Feature #9049: Shorthands (a:b, *) for inclusive indexing
On Oct 26, 2013, at 1:11 AM, boris_stitnicky (Boris Stitnicky) wrote:

> Sadly, there is no way to overload : in r...
David MacMahon
12:04 PM Revision 43439: * ext/readline/readline.c: Include ruby/thread.h for
rb_thread_call_without_gvl2.
(readline_rl_instream, readline_rl_outstream): Record FILE
structures allocated by t...
Akira Tanaka
11:59 AM Bug #8982: NoMethodError#message produces surprising output when #inspect is defined on an anonym...
nobu (Nobuyoshi Nakada) wrote:
> myronmarston (Myron Marston) wrote:
> > * It matters whether or not the first char...
Myron Marston
11:44 AM Bug #8883: Rational canonicalization unexpectedly converts to Fixnum
Somewhere in all the discussion, the actual bug got lost. This issue shouldn't be closed.
To clarify:
(1) The b...
Paul Cantrell
01:38 AM Revision 43438: process.c: Process::Tms
* process.c (Init_process): rename Struct::Tms as Process::Tms. keep
the former defined for the backward compatibi...
Nobuyoshi Nakada
01:36 AM Revision 43437: * 2013-10-27
svn
01:36 AM Revision 43436: envutil.rb: fix disabling gems in assert_separately
* test/ruby/envutil.rb (assert_separately): fix the position of
--disable=gems option.
Nobuyoshi Nakada

10/26/2013

10:37 PM Bug #9053: SSL Issue with Ruby 2.0.0
tisba (Sebastian Cohnen) wrote:
> =begin
> Steps to reproduce:
>
> ruby -rnet/http -e 'Net::HTTP.get(URI("http...
Rajesh Malepati
11:12 AM Bug #9053 (Assigned): SSL Issue with Ruby 2.0.0
Ah, I missed that.
Maybe Martin knows, I have assigned the issue to him.
Eric Hodel
10:30 AM Bug #9053: SSL Issue with Ruby 2.0.0
=begin
as per the RVM ticket
rvm osx-ssl-certs update all
was used, I do not think this one is missing certificat...
Michal Papis
05:59 AM Bug #9053 (Rejected): SSL Issue with Ruby 2.0.0
You need to install certificates when using non-platform OpenSSL on OS X. Your certificates should be installed here... Eric Hodel
05:50 PM Bug #9051 (Closed): open-uri meta_add_field method removed
This issue was solved with changeset r43430.
Eamonn, thank you for reporting this issue.
Your contribution to Ruby is...
Akira Tanaka
05:11 PM Feature #9049: Shorthands (a:b, *) for inclusive indexing
On the secon thought, that m » my string « literal is problem-ridden, too. Boris Stitnicky
05:11 PM Feature #9049: Shorthands (a:b, *) for inclusive indexing
@mohawkjoh: Tilde is bad, too. From basic ASCII (I looked), everything is taken, except for ^, and ^ should be avoide... Boris Stitnicky
02:44 PM Feature #9049: Shorthands (a:b, *) for inclusive indexing
@boris_stitnicky What about ~? x[3~4,1~5], for example. I don't like it as much as colon, but it looks a little more ... John Woods
02:24 PM Feature #9049: Shorthands (a:b, *) for inclusive indexing
@david_macmahon: Technical. Colon is already busy in the basic fabric of the language
( { a: :b }, ternary operator ...
Boris Stitnicky
01:59 PM Feature #9049: Shorthands (a:b, *) for inclusive indexing
On Oct 25, 2013, at 8:43 PM, boris_stitnicky (Boris Stitnicky) wrote:

> @david_macmahon, mohawkjohn: Colon is bus...
David MacMahon
12:43 PM Feature #9049: Shorthands (a:b, *) for inclusive indexing
@david_macmahon, mohawkjohn: Colon is busy, how about harassing % ?
%s/1 1e6 step 12/ # %s would mean series, retu...
Boris Stitnicky
10:42 AM Revision 43434: * gc.c: catch up recent changes to compile on GC_DEBUG,
RGENGC_CHECK_MODE. Kazuki Tsujimoto
10:08 AM Revision 43433: range.c: modify check
* range.c (range_initialize_copy): disallow to modify after
initialized.
Nobuyoshi Nakada
10:07 AM Revision 43432: envutil.rb: disable gems in child process
* test/ruby/envutil.rb (assert_separately): disable gems by default to
get rid of loading test-unit gem, which does...
Nobuyoshi Nakada
10:07 AM Revision 43431: signal.c: adjust indent
* signal.c (ruby_atomic_compare_and_swap): adjust indent. Nobuyoshi Nakada
08:49 AM Revision 43430: * lib/open-uri.rb (meta_add_field): : Re-implemented.
[ruby-core:58017] [Bug #9051] patch by Eamonn Webster. Akira Tanaka
06:05 AM Bug #9054 (Third Party's Issue): bug error from ruby output
Based on the call stack, this is a bug of the nfqueue or FFI libraries. Eric Hodel
03:17 AM Bug #9054 (Third Party's Issue): bug error from ruby output
I have never submitted an issue before so I am unsure of the proper protocol, but I got this output from the ruby int... tyler jones
06:02 AM Bug #8836: [BUG] Bus Error with bundler on large Gemfile when resolving dependencies
You ran out of stack space.
bundler uses a recursive algorithm for resolving gems, so if your Gemfile is overly co...
Eric Hodel
05:35 AM Revision 43428: * gc.c (gc_profile_dump_on): use "Page" terminology.
Koichi Sasada
04:31 AM Revision 43427: * gc.c (gc_sweep, gc_heap_lazy_sweep): fix measurement code.
We only need one sweep time measurement without lazy sweep. Koichi Sasada
03:04 AM Revision 43426: * addr2line.c: Include ELF header after system headers (especially
sys/types.h) to avoid compilation failure,
"usr/include/sh3/elf_machdep.h:4:2: error: #error Define _BYTE_ORDER!",
...
Akira Tanaka
02:46 AM Revision 43425: * gc.c: tuning parameters.
* gc.c (GC_MALLOC_LIMIT): change default value to 16MB.
* gc.c (GC_MALLOC_LIMIT_GROWTH_FACTOR): change default value ...
Koichi Sasada
02:34 AM Revision 43424: * gc.c (vm_malloc_increase): do gc_rest_sweep() before GC.
gc_rest_sweep() can reduce malloc_increase, so try it before GC.
Otherwise, malloc_increase can be less than malloc...
Koichi Sasada

10/25/2013

09:54 PM Bug #8836: [BUG] Bus Error with bundler on large Gemfile when resolving dependencies
upd: After update system on 64 bit all work "3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:20:46 UTC 2013 x86_64 x86... Damir Sharipov
09:37 PM Revision 43423: * gc.c (gc_before_heap_sweep): Restructure code to mean clearly.
heap->freelist is connected to end of list. Masaya Tarui
08:06 PM Bug #9051 (Assigned): open-uri meta_add_field method removed
Sounds reasonable.
How do you think, akr?
Yui NARUSE
07:09 PM Revision 43422: * 2013-10-26
svn
07:09 PM Revision 43421: * gc.c (gc_before_heap_sweep): fix freelist management.
After rb_gc_force_recycle() for a object blonging to heap->freelist,
`heap->using_page->freelist' is not null.
Koichi Sasada
06:24 PM Bug #9053 (Assigned): SSL Issue with Ruby 2.0.0
=begin
Steps to reproduce:
ruby -rnet/http -e 'Net::HTTP.get(URI("https://stormforger.com"));'
results in:
...
Sebastian Cohnen
12:33 PM Bug #7829: Rounding error in Ruby Time
david_macmahon (David MacMahon) wrote:
> The three main reasons for preferring the decimal approximation for Float ...
Matt Glover
09:09 AM Bug #8997 (Third Party's Issue): TestSignal#test_hup_me hangs up the test suite
Please contact us after you've investigated. Fedora Rawhide is not supported platform of us. Motohiro KOSAKI
06:57 AM Revision 43420: range.c: fix int and VALUE
* range.c (SET_EXCL): set boolean always.
* range.c (range_init): fix int flag and boolean VALUE.
Nobuyoshi Nakada
05:18 AM Revision 43419: range.c: setter macros
* range.c (RANGE_SET_{BEG,END,EXCL}): add setter macros which wrap
RSTRUCT_SET() and index.
Nobuyoshi Nakada
03:23 AM Feature #9049: Shorthands (a:b, *) for inclusive indexing
On Oct 24, 2013, at 7:19 AM, matz (Yukihiro Matsumoto) wrote:

> * Should non number indexing be allowed? (e.g. n...
David MacMahon
03:23 AM Feature #9049: Shorthands (a:b, *) for inclusive indexing
>
> 4) It is more intuitive for new Ruby programmers who come from a
> Matlab/Octave/Python background. I'm not...
Carlos Agarie
03:23 AM Feature #9049: Shorthands (a:b, *) for inclusive indexing
On Oct 23, 2013, at 10:36 PM, boris_stitnicky (Boris Stitnicky) wrote:

> @david_macmahon: I do not think that the...
David MacMahon
02:53 AM Feature #9049: Shorthands (a:b, *) for inclusive indexing
On Oct 24, 2013, at 1:24 AM, Eregon (Benoit Daloze) wrote:

> @david_macmahon What about (1..5).step(2).to_a ?

...
David MacMahon
02:53 AM Feature #9049: Shorthands (a:b, *) for inclusive indexing
On Oct 23, 2013, at 11:39 PM, Fuad Saud wrote:

> How is a:b better than a..b? two dots are straightforward, unamb...
David MacMahon
02:21 AM Feature #8956: Allow hash members delimited by \n inside of {}
bump? This looks helpful. Tim Rosenblatt

10/24/2013

11:55 PM Feature #9049: Shorthands (a:b, *) for inclusive indexing
Yes. 1:2 is the same as 1..2; it's inclusive of the begin and end indices. It is not equivalent to 1...2.
I would ...
John Woods
11:19 PM Feature #9049: Shorthands (a:b, *) for inclusive indexing
Could you be more specific?
* What is the value of 1:2?
* Is it equivalent to 1...2?
* Should non number i...
Yukihiro Matsumoto
05:24 PM Feature #9049: Shorthands (a:b, *) for inclusive indexing
I am not sure m[1:3,2:4] is really preferable to m[1..3,2..4] in Ruby.
The first one is certainly more Matlab, Octav...
Benoit Daloze
03:53 PM Feature #9049: Shorthands (a:b, *) for inclusive indexing
How is a:b better than a..b? two dots are straightforward, unambiguous, well known.

I don’t see a need for it. As...
Fuad Saud
03:50 PM Feature #9049: Shorthands (a:b, *) for inclusive indexing
@boris_stitnicky I don't think it matters if it collides. It's simple to convert a key-value pair into a range in C c... John Woods
03:23 PM Feature #9049: Shorthands (a:b, *) for inclusive indexing
On Oct 23, 2013, at 10:36 PM, boris_stitnicky (Boris Stitnicky) wrote:

> @david_macmahon: I do not think that the...
David MacMahon
02:36 PM Feature #9049: Shorthands (a:b, *) for inclusive indexing
@david_macmahon: I do not think that the wish to make a : b an alias of a .. b
can fit into the language anymore. "x...
Boris Stitnicky
02:29 PM Feature #9049: Shorthands (a:b, *) for inclusive indexing
I would like to see the hash colon syntax extended to numeric keys:
{ 1: 3, 2: 4 } would mean { 1 => 3, 2 => 4 }.
...
Boris Stitnicky
01:53 PM Feature #9049: Shorthands (a:b, *) for inclusive indexing
I like the compactness of the a:b notation. My preference would be for it to be a Range shorthand, but I think that ... David MacMahon
11:54 AM Feature #9049 (Open): Shorthands (a:b, *) for inclusive indexing
=begin
For NMatrix, we've implemented a range shorthand which relies on Hashes: (({m[1=>3,2=>4]})), for example, whi...
John Woods
10:59 PM Bug #9048: Remove legacy ±(binary) special cases.
r43413 is backported to ruby_2_0_0 branch at r43415. Tomoyuki Chikanaga
10:15 PM Bug #9048: Remove legacy ±(binary) special cases.
I think it's a bug and 1.9.3/2.0.0 have save problem. Tomoyuki Chikanaga
09:58 PM Bug #9048 (Closed): Remove legacy ±(binary) special cases.
This issue was solved with changeset r43413.
Marc-Andre, thank you for reporting this issue.
Your contribution to Rub...
Marc-Andre Lafortune
11:22 AM Bug #9048 (Assigned): Remove legacy ±(binary) special cases.
I agree.
Matz.
Yukihiro Matsumoto
12:30 AM Bug #9048 (Closed): Remove legacy ±(binary) special cases.
Is there any reason not to get rid of the following special cases?
'+(binary)'.to_sym # => :+ when expected :"...
Marc-Andre Lafortune
10:48 PM Bug #9038: instance_eval throws RuntimeError for bad syntax (regression from 2.0.0)
r43376 is backported to `ruby_2_0_0` branch at r43414. I modify test code not to use new assertion of `Test::Unit`. Tomoyuki Chikanaga
09:43 PM Bug #9051 (Closed): open-uri meta_add_field method removed
In the fix for bug #4964 the method Meta#meta_add_field(name, value) was removed and replaced with meta_add_field2(na... Eamonn Webster
08:53 PM Bug #9050 (Open): I may have encountered a bug in the Ruby interpreter or extension libraries.

I got this message from two different sorce code.(Case1, Case2)
and, I recieve wrong http response data.(Case3)
...
sekai kobayashi
06:19 PM Revision 43418: * 2013-10-25
svn
06:19 PM Revision 43417: Makefile.sub: fix typo
* win32/Makefile.sub (MISSING): fix typo, missing extention. Nobuyoshi Nakada
12:58 PM Revision 43413: * parse.y: Remove +(binary) and -(binary) special cases [Feature #9048]
Marc-Andre Lafortune
11:56 AM Feature #9047: Alternate hash key syntax for symbols
@matz Very well, and thank you for the consideration. I opened a new issue on that topic: #9049. John Woods
11:21 AM Feature #9047: Alternate hash key syntax for symbols
@mohawkjohn let us separate the issue. There may be a chance to introduce num:num literals for your purpose (just ma... Yukihiro Matsumoto
02:03 AM Feature #9047: Alternate hash key syntax for symbols
I still think my original suggestion is more consistent and has fewer implications, but would like further input. Jamon Holmgren
12:54 AM Feature #9047: Alternate hash key syntax for symbols
This may or may not be related, but we here at NMatrix (part of SciRuby) would love to be able to index ranges in NMa... John Woods
12:40 AM Feature #9047: Alternate hash key syntax for symbols
yes, it makes sense to me to accept anything as a key. The only problem is that we can't use names in variables with ... Rodrigo Rosenfeld Rosas
12:37 AM Feature #9047: Alternate hash key syntax for symbols
I would be okay with your idea, Rodrigo, although it's less consistent (if you look at my first code block in the des... Jamon Holmgren
12:29 AM Feature #9047: Alternate hash key syntax for symbols
I'd prefer to reserve this syntax as a short hash syntax for string keyed hashes:
~~~ruby
{
'string': 'v' # equ...
Rodrigo Rosenfeld Rosas
12:17 AM Feature #9047 (Open): Alternate hash key syntax for symbols
=begin
In Ruby, if you can create a symbol with ((|:"symbolname"|)), it seems consistent to allow moving the colon...
Jamon Holmgren
11:33 AM Bug #9045: URIに含まれるエンコードされたID/パスワードがデコードされない
>>sorah
> 他のメソッドもデコードしてくれる訳じゃないですしuser/passだけ特別扱いというのはどうも。
とは言え、サーバ側が良きにはからってくれるpath等と違ってuser/passwordは完全一致でないと許さ...
Motonori IWAMURO
10:23 AM Bug #9040: Readline duplicate file descriptors but doesn't close them
2013/10/24 Eric Wong <normalperson@yhbt.net>:

> On a related note: should rb_fd_set/rb_fd_resize call rb_bug on...
Akira Tanaka
05:23 AM Bug #9040: Readline duplicate file descriptors but doesn't close them
"akr (Akira Tanaka)" <akr@fsij.org> wrote:
> Issue #9040 has been updated by akr (Akira Tanaka).
>
> File rea...
Eric Wong
07:47 AM Bug #9035 (Closed): [proposal] new RUBY_GC_HEAP_GROWTH_MAX_OBJ tuning parameter
This issue was solved with changeset r43409.
Aman, thank you for reporting this issue.
Your contribution to Ruby is g...
Aman Gupta
03:48 AM Revision 43412: * object.c: [DOC] Document first argument also takes string for:
rb_mod_const_get, rb_mod_const_set, rb_mod_const_defined
Also added note about NameError exception for invalid con...
Zachary Scott
03:25 AM Revision 43411: * thread.c (rb_thread_terminate_all): add a comment why we need
state check and call terminate_i again. Motohiro KOSAKI
03:15 AM Revision 43410: * thread.c (rb_thread_terminate_all): add a comment why infinite
sleep is safe. Motohiro KOSAKI
02:23 AM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
Tanaka Akira <akr@fsij.org> wrote:
> 2013/10/8 headius (Charles Nutter) <headius@headius.com>:
> > Feature #8992...
Eric Wong
02:23 AM Feature #8998: string keys for hash literals should use fstrings
Eric Wong <normalperson@yhbt.net> wrote:
> So my proposed patch should be safe to apply, but it's only a partial
...
Eric Wong
01:34 AM Bug #9044 (Closed): Too many warnings with VC 2013
This issue was solved with changeset r43407.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is...
Nobuyoshi Nakada
12:10 AM Feature #7292 (Closed): Enumerable#to_h
This issue was solved with changeset r43401.
Marc-Andre, thank you for reporting this issue.
Your contribution to Rub...
Marc-Andre Lafortune

10/23/2013

11:46 PM Bug #9044: Too many warnings with VC 2013
The revision 43398 has a bug.
!if $(RT_VER) >= 1200
should be
!if $(RT_VER) >= 120
And the above path has a b...
Heesob Park
11:04 PM Bug #9044: Too many warnings with VC 2013
=begin
Does this suppress (({INFINITY})) warnings?
diff --git a/include/ruby/win32.h b/include/ruby/win32.h
index ...
Nobuyoshi Nakada
10:52 PM Bug #9044 (Assigned): Too many warnings with VC 2013
"by design"!? Nobuyoshi Nakada
10:51 PM Bug #9044 (Closed): Too many warnings with VC 2013
This issue was solved with changeset r43398.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is...
Nobuyoshi Nakada
05:19 PM Bug #9044: Too many warnings with VC 2013
Here is a part of math.h
#ifndef _HUGE_ENUF
#define _HUGE_ENUF 1e+300 /* _HUGE_ENUF*_HUGE_ENUF must overflow */
...
Heesob Park
05:02 PM Bug #9044: Too many warnings with VC 2013
Thank you.
I'm not sure how INFINITY is defined, any negative INFINITY constant is defined?
Nobuyoshi Nakada
04:33 PM Bug #9044: Too many warnings with VC 2013
Yes, Visual C++ in Visual Studio 2013 have been added some C99 library support.
Refer to
http://msdn.microsoft.c...
Heesob Park
03:39 PM Bug #9044: Too many warnings with VC 2013
Those mathematics functions and a constant have been added? Nobuyoshi Nakada
02:57 PM Bug #9044 (Closed): Too many warnings with VC 2013
While building with Visual Studio Express 2013 on Windows 7, I can see many warnings like inconsistent dll linkage an... Heesob Park
10:53 PM Bug #9045: URIに含まれるエンコードされたID/パスワードがデコードされない
At Wed, 23 Oct 2013 19:19:45 +0900,
sorah (Shota Fukumori) wrote:
> 他のメソッドもデコードしてくれる訳じゃないですしuser/passだけ特別扱いというのは...
Fumiyasu SATOH
07:19 PM Bug #9045 (Assigned): URIに含まれるエンコードされたID/パスワードがデコードされない
他のメソッドもデコードしてくれる訳じゃないですしuser/passだけ特別扱いというのはどうも。
>> URI.parse('http://example.com/%2F').path
=> "/%2F"
Shota Fukumori
05:29 PM Bug #9045: URIに含まれるエンコードされたID/パスワードがデコードされない
追記。
#8979 のそもそもの原因はこれだと思うのですが、あっちは rubygems の方直してるんですね……。
(こちらもgemが通らなくて調べてたのですが)
利用側でデコードするのと、提供側でデコードするのと、どちらが適切...
Motonori IWAMURO
03:37 PM Bug #9045 (Assigned): URIに含まれるエンコードされたID/パスワードがデコードされない
URI(プロキシ設定も含む)にID/パスワードを含めるとき、IDやパスワードに「@」や「:」等がある場合はURIエンコードする必要がありますが、uriライブラリがこれをデコードしてくれません。
そのため、認証プロキシでIDに「@」が...
Motonori IWAMURO
10:47 PM Revision 43409: * gc.c: add new initial_growth_max tuning parameter. [ruby-core:57928] [Bug #9035]
Aman Gupta
09:23 PM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
2013/10/8 headius (Charles Nutter) <headius@headius.com>:
> Feature #8992: Use String#freeze and compiler tricks t...
Akira Tanaka
08:52 PM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
I agree having optimized #freeze is better than #f. Benoit Daloze
05:13 AM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
> I'm starting to lean toward making #f be the only magic form, so nobody can complain that we're ... changing the se... Charlie Somerville
06:17 PM Bug #9040: Readline duplicate file descriptors but doesn't close them
normalperson (Eric Wong) wrote:
>
> Btw, on a separate note, it would be a good idea to check the return
> val...
Akira Tanaka
01:29 AM Bug #9040: Readline duplicate file descriptors but doesn't close them
"akr (Akira Tanaka)" <akr@fsij.org> wrote:
> Issue #9040 has been updated by akr (Akira Tanaka).
>
> File rea...
Eric Wong
05:11 PM Bug #9046: [PATCH] Inter-process locking for log rotation is required
The point "current implementation is wrong on multi-process environment" sounds reasonable and need to fix.
I comm...
Yui NARUSE
03:44 PM Bug #9046 (Closed): [PATCH] Inter-process locking for log rotation is required
I sent a pull request on https://github.com/ruby/ruby/pull/428 . Please see details on it.
Naotoshi Seo
04:34 PM Revision 43408: win32.h: suppress INFINITY warnings
* include/ruby/win32.h (rb_infinity_float): suppress overflow in
constant arithmetic warnings. [ruby-core:57981] [...
Nobuyoshi Nakada
04:34 PM Revision 43407: Makefile.sub: C99 mathematics functions
* win32/Makefile.sub (config.h): fix version number of runtime
library. log2 needs to be defined, not only HAVE_LO...
Nobuyoshi Nakada
04:34 PM Revision 43406: * ChangeLog: adjust indent.
Nobuyoshi Nakada
03:14 PM Revision 43405: * lib/ostruct.rb: raise NoMethodError with a #name and #args.
Patch by Kenichi Kamiya. [Fixes GH-383]
* test/ostruct/test_ostruct.rb: Added tests for above.
Marc-Andre Lafortune
03:13 PM Revision 43404: * lib/ostruct.rb (Struct#each_pair): Return an enumerator with size
Patch by Kenichi Kamiya. [Fixes GH-383]
* test/ostruct/test_ostruct.rb: Added tests for above.
Marc-Andre Lafortune
03:13 PM Revision 43403: * lib/ostruct.rb (OpenStruct#delete): Use the converted argument.
Patch by Kenichi Kamiya. [Fixes GH-383]
* test/ostruct/test_ostruct.rb: Added tests for above.
Marc-Andre Lafortune
03:13 PM Revision 43402: * lib/ostruct.rb: Raise RuntimeError when modifying frozen instances
instead of TypeError. Patch by Kenichi Kamiya. [Fixes GH-383]
* test/ostruct/test_ostruct.rb: Added tests for above.
Marc-Andre Lafortune
03:10 PM Revision 43401: * array.c: Add Array#to_h [Feature #7292]
* enum.c: Add Enumerable#to_h Marc-Andre Lafortune
03:05 PM Revision 43400: * 2013-10-24
svn
03:05 PM Revision 43399: * gc.c: Rename free_min to min_free_slots and free_min_page to max_free_slots. Th...
if (swept_slots < min_free_slots) pages++
if (swept_slots > max_free_slots) pages--
Aman Gupta
01:51 PM Revision 43398: Makefile.sub: C99 mathematics functions
* win32/Makefile.sub (config.h): VC 2013 supports C99 mathematics
functions. [ruby-core:57981] [Bug #9044]
Nobuyoshi Nakada
12:05 PM Bug #9038: instance_eval throws RuntimeError for bad syntax (regression from 2.0.0)
Even though this issue is not reproducible with 2.0.0, the same flaw exists on `ruby_2_0_0`. I'll backport r43376 to ... Tomoyuki Chikanaga
10:16 AM Revision 43397: * gc.c: move increment from heap to heap_pages.
Share `increment' information with heaps.
* gc.c: change ratio of heap_pages_free_min_page
to 0.80.
This change m...
Koichi Sasada
08:52 AM Revision 43396: * gc.c (heap_pages_free_unused_pages): cast to (int) for size_t
variable `i'. Koichi Sasada
08:48 AM Revision 43395: * gc.c: introduce tomb heap.
Tomb heap is where zombie objects and ghost (freed slot) lived in.
Separate from other heaps (now there is only ede...
Koichi Sasada
05:22 AM Revision 43394: * gc.c (gc_prof_sweep_timer_stop): catch up recent changes
to compile on GC_PROFILE_MORE_DETAIL=1. Koichi Sasada
05:09 AM Feature #9043: Add String#f method as shortcut for #freeze
I feel really negatively about optimizing only String#f and not String#freeze. You could make the argument that it's ... Charlie Somerville
02:44 AM Revision 43393: * file.c: [DOC] fix rdoc format of File#expand_path from r43386
Zachary Scott

10/22/2013

09:54 PM misc #9006: build and host binary rubies
=begin
This is what I wanted to discuss, right now the whole process is controlled in rvm, so the builds are done an...
Michal Papis
03:20 PM misc #9006: build and host binary rubies
Hi, Michal
I'm ok for your suggestion. but I have two questions.
1. How to upload/sync rvm package files?
2....
Hiroshi SHIBATA
09:20 PM Feature #8909: Expand "f" frozen suffix to literal arrays and hashes
FWIW, I added #9043 that proposes an #f method added to String that would be a shortcut for #freeze. That might make ... Charles Nutter
09:19 PM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
I have added #9042 and #9043 for removing the "f" suffix and adding the #f method, respectively.
I'm starting to l...
Charles Nutter
09:16 PM Feature #9043 (Open): Add String#f method as shortcut for #freeze
We have String#b to create a binary-encoded String, and we have the "f" suffix (going away, hopefully) and the "liter... Charles Nutter
09:14 PM Feature #9042 (Closed): Remove "f" suffix in favor of VM optimization of "literal".freeze
The "f" suffix has been added to Ruby trunk to allow creating pre-frozen literal strings. However, #8992 provides a w... Charles Nutter
07:47 PM Bug #9040: Readline duplicate file descriptors but doesn't close them
normalperson (Eric Wong) wrote:
>
> Does poll work reliably with tty FD on non-Linux systems?
>
> Perhaps b...
Akira Tanaka
06:59 AM Bug #9040: Readline duplicate file descriptors but doesn't close them
"akr (Akira Tanaka)" <akr@fsij.org> wrote:
>
> Issue #9040 has been updated by akr (Akira Tanaka).
>
> Fil...
Eric Wong
06:05 PM Bug #9002: Use simpler example for File#expand_path
Thanks Benoit :) Prathamesh Sonpatki
04:59 PM Bug #9002 (Closed): Use simpler example for File#expand_path
This issue was solved with changeset r43386.
Prathamesh, thank you for reporting this issue.
Your contribution to Rub...
Benoit Daloze
04:42 PM Bug #9002: Use simpler example for File#expand_path
This is better.
There is a typo "exapnd_path" and I would avoid references to your specific machine and Rails but us...
Benoit Daloze
03:59 PM Bug #8006 (Closed): Dir.glob behaves differently on 1.9.3 and 2.0
This issue was solved with changeset r43385.
Thomas, thank you for reporting this issue.
Your contribution to Ruby is...
Nobuyoshi Nakada
03:46 PM Revision 43392: * 2013-10-23
svn
03:46 PM Revision 43391: fix typos
kazu
12:59 PM Revision 43390: * vm_core.h (enum): avoid syntax error.
* method.h: ditto.
* internal.h: ditto.
Shyouhei Urabe
12:39 PM Bug #9041: Please add alias "starts_with?" to class String
@naruse: Thanks for responding and explaining. Yet, 3rd person forms
#starts_with?, #ends_with?, #exists? etc. seem ...
Boris Stitnicky
10:54 AM Revision 43389: * gc.c (Init_heap): move logics from heap_pages_init() and remove
heap_pages_init(). Koichi Sasada
10:28 AM Revision 43388: * gc.c: allow multiple heaps.
Now, objects are managed by page. And a set of pages is called heap.
This commit supports multiple heaps in the obj...
Koichi Sasada
09:29 AM Revision 43387: * lib/pp.rb (object_address_group): Use Kernel#to_s to obtain the class
name and object address.
This fix a problem caused by %p in C generates variable length
address.
Reported by ko...
Akira Tanaka
07:59 AM Revision 43386: * file.c (File#expand_path): [DOC] improve documentation of File#expand_path.
Based on patch by Prathamesh Sonpatki. [ruby-core:57734] [Bug #9002] Benoit Daloze
06:59 AM Revision 43385: dir.c: DOTMATCH to current directory
* dir.c (glob_helper): don't skip current directories if FNM_DOTMATCH
is given. [ruby-core:53108] [Bug #8006]
Nobuyoshi Nakada
06:58 AM Revision 43384: * remove trailing spaces.
Nobuyoshi Nakada
06:24 AM Revision 43383: * vm_trace.c: exterminate Zombies.
There is a bug that T_ZOMBIE objects are not collected.
Because there is a pass to miss finalizer postponed job
w...
Koichi Sasada
03:45 AM Bug #9035: [proposal] new RUBY_GC_HEAP_GROWTH_MAX_OBJ tuning parameter
I would prefer (b) above. Exposing a bytesize based limit is just going to confuse users, who will expect the variabl... Aman Gupta
03:11 AM Revision 43382: configure.in: check CFLAGS and LDFLAGS
* configure.in: check if the given CFLAGS and LDFLAGS are working, and
bail out early if not.
Nobuyoshi Nakada
02:03 AM Revision 43381: internal.h: fix typo
* internal.h (rb_syserr_fail_path): fix typo on platforms where
function name string predefined identifier is not s...
Nobuyoshi Nakada

10/21/2013

11:57 PM Bug #9038 (Closed): instance_eval throws RuntimeError for bad syntax (regression from 2.0.0)
This issue was solved with changeset r43376.
André, thank you for reporting this issue.
Your contribution to Ruby i...
Nobuyoshi Nakada
03:22 PM Bug #9038 (Closed): instance_eval throws RuntimeError for bad syntax (regression from 2.0.0)
In Ruby 2.1.0dev (2013-10-20 trunk 43373), `instance_eval` throws a `RuntimeError` when it should throw a `SyntaxErro... André Arko
11:51 PM Bug #9040: Readline duplicate file descriptors but doesn't close them
I think it's better to not trust the value of rl_instream and rl_outstream
because they can be modified by other lib...
Akira Tanaka
09:36 PM Bug #9040 (Closed): Readline duplicate file descriptors but doesn't close them
This depends on the max open files limit, happens quicker the lower the limit.
irb crashes just by holding down retu...
Eamonn Webster
11:22 PM Bug #9041 (Rejected): Please add alias "starts_with?" to class String
shevegen (markus heiler) wrote:
> I forgot to add - I was told that the reason for this is that we should use the 2n...
Yui NARUSE
11:17 PM Bug #9041: Please add alias "starts_with?" to class String
I forgot to add - I was told that the reason for this is that we should use the 2nd person, as in:
"Word, do you s...
Robert A. Heiler
11:15 PM Bug #9041 (Rejected): Please add alias "starts_with?" to class String
Hi.
We can do these:
FileUtils.touch 'test' # => ["test"]
File.exist? 'test' # => true
File.exists? 'test...
Robert A. Heiler
10:45 PM Bug #8886: TracePoint API inconsistence when raise used
So, any opinions on this @ko1?
I'm handling this edge case in byebug manually so it's not a big deal but it'd be n...
David Rodríguez
05:06 PM Revision 43380: dir.c: warn Dir.exists?
* dir.c (rb_dir_exists_p): warn deprecated name. [Bug #9041] Nobuyoshi Nakada
04:09 PM Bug #9039 (Closed): [PATCH] socket: avoid unnecessary ppoll/select on Linux (part 3)
It is safe on Linux to attempt using a socket without waiting on it in
all cases. For some syscalls (e.g. accept/ac...
Eric Wong
03:34 PM Revision 43379: * file.c (rb_file_exists_p): maybe FileTest.
Nobuyoshi Nakada
03:07 PM Revision 43378: * 2013-10-22
svn
03:06 PM Revision 43377: file.c: warn File.exists?
* file.c (rb_file_exists_p): warn deprecated name. [Bug #9041] Nobuyoshi Nakada
02:57 PM Revision 43376: encoding.c: preserve outer errinfo
* encoding.c (load_encoding): should preserve outer errinfo, so that
expected exception may not be lost. [ruby-cor...
Nobuyoshi Nakada
02:53 PM Revision 43375: * 2013-10-21
svn
02:53 PM Revision 43374: assertions.rb: fix omitted message
* lib/test/unit/assertions.rb (assert_raise_with_message): remove
omitted message by splatting nil.
Nobuyoshi Nakada

10/20/2013

06:12 PM Bug #9011 (Closed): rb_fstring unsafe to use in general case
Nobuyoshi Nakada
03:51 PM Feature #9037 (Open): Memoization of "anonymous constants"
=begin
I was thinking about the frozen literal argument in https://bugs.ruby-lang.org/issues/8992. I believe that th...
Tsuyoshi Sawada
03:41 PM Bug #9036 (Closed): [PATCH] io.c: make IO#reopen("pathname") atomic for non-stdio
This issue was solved with changeset r43373.
Eric, thank you for reporting this issue.
Your contribution to Ruby is g...
Nobuyoshi Nakada
01:29 PM Bug #9036: [PATCH] io.c: make IO#reopen("pathname") atomic for non-stdio
"normalperson (Eric Wong)" <normalperson@yhbt.net> wrote:
> Without this patch, I need to maintain separate code p...
Eric Wong
01:16 PM Bug #9036 (Closed): [PATCH] io.c: make IO#reopen("pathname") atomic for non-stdio
Since rb_sysopen releases the GVL, calling close(fptr->fd) would
leave a window where accessing the file from anothe...
Eric Wong
10:53 AM Bug #9008: TestProcess#test_clock_getres_constants and TestProcess#test_clock_gettime_constants ...
> I and John Stulz agreed we need Linux kernel

s/need Linux kernel/need to fix Linux kernel/, of course.
Motohiro KOSAKI
07:08 AM Bug #9008: TestProcess#test_clock_getres_constants and TestProcess#test_clock_gettime_constants ...
Thank you for sorting this out! Vit Ondruch
06:41 AM Revision 43373: io.c: make IO#reopen("pathname") atomic
* io.c (rb_io_reopen): create a new, temporary FD via rb_sysopen and
call rb_cloexec_dup2 on it to atomically repla...
Nobuyoshi Nakada
06:29 AM Revision 43372: internal.h: rb_syserr_fail_path
* error.c (rb_syserr_fail_path_in): new function split from
rb_sys_fail_path_in to raise SystemCallError without er...
Nobuyoshi Nakada
06:12 AM Revision 43371: internal.h: remove stale declaration
* internal.h (rb_w32_init_file): no longer defined since r43362. Nobuyoshi Nakada
04:58 AM Revision 43370: ruby.h: suppress warnings
* include/ruby/ruby.h (rb_obj_wb_unprotect, rb_obj_written),
(rb_obj_write): suppress unused-parameter warnings.
Nobuyoshi Nakada
01:33 AM Revision 43369: * lib/rubygems: Update RubyGems to master 0886307. This commit
improves documentation and should bring ruby above 75% documented on
rubyci.
Eric Hodel
12:31 AM Revision 43368: * lib/rubygems: Update to RubyGems master 3de7e0f. Changes:
Only attempt to build extensions for newly-installed gems. This
prevents compilation attempts at gem activation ti...
Eric Hodel

10/19/2013

10:00 PM Bug #9002: Use simpler example for File#expand_path
Updated based on suggestions of @zzak and @Eregon. Please take a look Prathamesh Sonpatki
08:49 PM Bug #9002: Use simpler example for File#expand_path
cha1tanya (Prathamesh Sonpatki) wrote:
> Can we give both examples? I think the original example is a bit hard to un...
Benoit Daloze
08:24 PM Revision 43367: variable.c: real class name
* variable.c (rb_class2name): should return real class name, not
singleton class or iclass.
Nobuyoshi Nakada
07:21 PM Revision 43366: * 2013-10-20
svn
07:21 PM Revision 43365: * variable.c (rb_class2name): call rb_tmp_class_path() directly to avoid extra rb...
Aman Gupta
01:25 PM Feature #5630 (Rejected): Missing custom transfer modes in Net::FTP
I close this issue because there's no feedback for a long time. Shugo Maeda
01:24 PM Feature #7145 (Rejected): Add string-based range support to IMAP library
I close this issue because there's no feedback for a long time. Shugo Maeda
12:00 PM Revision 43364: encdb.h.tmpl: remove stale macros
* template/encdb.h.tmpl: remove stale ENCIDX macros which never been
used, ENCINDEX enums is used.
Nobuyoshi Nakada
10:59 AM Revision 43363: win32/file.c: code page table
* win32/file.c (code_page): use simple array instead of st_table. Nobuyoshi Nakada
10:55 AM Revision 43362: encoding.c: defer code page table
* encoding.c (rb_locale_encindex): defer initialization of win32 code
page table until encoding db loaded.
Nobuyoshi Nakada
09:00 AM Bug #9008 (Rejected): TestProcess#test_clock_getres_constants and TestProcess#test_clock_gettime...
I and John Stulz agreed we need Linux kernel and now my patch is queued for linux 3.13.
It mean Linux 3.13 and later...
Motohiro KOSAKI
04:27 AM Bug #9032 (Third Party's Issue): Time.round reverts the DST status of the time
It's not Time class object, but ActiveSupport::TimeWithZone.
It seems handling local time and time zone separately, ...
Nobuyoshi Nakada

10/18/2013

11:50 PM Revision 43361: gc.c: fix arity
* gc.c (Init_GC): fix arity of key? method. Nobuyoshi Nakada
11:33 PM Revision 43360: * gc.c: fix rb_objspace_t.
* make "struct heap" and move most of variables
in rb_objspace_t::heap.
* rename rb_objspace_t::heap::sorted to...
Koichi Sasada
10:14 PM Revision 43359: * lib/rubygems: Update to RubyGems master 42543b6. Changes:
Fix `gem update` for gems with multiple platforms.
* test/rubygems: ditto.
Eric Hodel
09:56 PM Revision 43358: * 2013-10-19
svn
09:56 PM Revision 43357: * lib/rubygems: Update to RubyGems master 0a3814b. Changes:
Fixed extension directory in Gem::Specification#require_paths.
Allow installation of gems when $HOME is nonexisten...
Eric Hodel
02:23 PM Revision 43356: ruby_atomic.h: suppress a warning
* ruby_atomic.h (ATOMIC_SIZE_SUB): add cast to suppress a warning by VC++. Nobuyoshi Nakada
01:57 PM Bug #8982: NoMethodError#message produces surprising output when #inspect is defined on an anonym...
nobu (Nobuyoshi Nakada) wrote:
> '#' at the beginning is assumed the string is same as Object#inspect, otherwise i...
Alexey Muranov
12:13 AM Bug #8982: NoMethodError#message produces surprising output when #inspect is defined on an anonym...
myronmarston (Myron Marston) wrote:
> * It matters whether or not the first character in my `inspect` is a `#`. If ...
Nobuyoshi Nakada
12:10 PM Bug #9035 (Closed): [proposal] new RUBY_GC_HEAP_GROWTH_MAX_OBJ tuning parameter
=begin
= Background
Currently, whenever the Ruby GC runs out of object slots the heap is grown by 1.8x (((%GC_HEA...
Aman Gupta
12:08 PM Bug #9031 (Closed): test_gem{,_stub}_specification.rb fails
The bug has been fixed by r43346. Shugo Maeda
11:47 AM Bug #9034 (Feedback): Ruby
when I run rspec in a rails application. I got
=> rspec
......
Finished in 14.88 seconds
6 examples, 0 failur...
Wang Michael
08:03 AM Revision 43355: resolv.rb: workaround for recent Rubygems
* lib/resolv.rb (Resolv::Hosts): get rid of load error in require
which causes recent Rubygems to build all extensi...
Nobuyoshi Nakada
07:06 AM Revision 43354: * gc.c (wmap_inspect_i): fix inspect format.
Nobuyoshi Nakada
07:04 AM Revision 43353: * gc.c (wmap_inspect_i): fix callback argument.
Nobuyoshi Nakada
06:59 AM Revision 43352: gc.c: ObjectSpace::WeakMap inspection and iteration methods
* gc.c (wmap_inspect, wmap_each, wmap_each_key, wmap_each_value),
(wmap_keys, wmap_values): add inspection and iter...
Nobuyoshi Nakada
06:59 AM Revision 43351: gc.c: ObjectSpace::WeakMap#key?
* gc.c (wmap_each_i): add ObjectSpace::WeakMap#key? method.
* lib/weakref.rb (WeakRef#weakref_alive): use above method.
Nobuyoshi Nakada
06:33 AM Revision 43350: * gc.c: change terminology of heap.
Change "slot" to "page". "Slot" is a space of RVALUE.
1. "Heap" consists of a set of "heap_page"s (pages).
2. Eac...
Koichi Sasada
04:51 AM Bug #8182: XMLRPC request fails with "Wrong size. Was 31564, should be 1501"
I'm runing into this same problem on Ruby 2.0 p247.
RuntimeError: Wrong size. Was 157, should be 134
/usr/local/sto...
Joe Van Dyk
03:55 AM Revision 43349: fix typos
kazu
01:57 AM Revision 43348: Commit miss for r43347
Eric Hodel
12:41 AM Revision 43347: * lib/rubygems: Update to RubyGems master cee6788. Changes:
Fix test failure on vc10-x64 Server on rubyci.org due to attempting
to File.chmod where it is not supported.
Con...
Eric Hodel

10/17/2013

10:41 PM Bug #9032: Time.round reverts the DST status of the time
I am sorry, I should have mentioned that I am using rails console. It could be rails ActiveSupport::TimeZone issue as... Mayank Sharma
10:21 PM Bug #9032 (Feedback): Time.round reverts the DST status of the time
=begin
I can't reproduce it.
What's your timezone?
$ TZ=Europe/Paris ~/ruby/2.0.0-p0/bin/ruby -v -rtime -e 't1 = Ti...
Nobuyoshi Nakada
09:04 PM Bug #9032 (Third Party's Issue): Time.round reverts the DST status of the time
=begin
If the time is in non-DST and round method is applied, then the resulting time goes back to DST time. This ha...
Mayank Sharma
09:03 PM Revision 43346: * lib/rubygems: Update to RubyGems master f738c67. Changes:
Fixed test bug for ruby with ENABLE_SHARED = no
* test/rubygems: ditto.
Eric Hodel
06:09 PM Bug #9031 (Closed): test_gem{,_stub}_specification.rb fails
=begin
test_gem_specification.rb and test_gem_stub_specification.rb fail as follows:
$ make test-all TESTS="tes...
Shugo Maeda
04:57 PM Feature #8985 (Closed): xwillfree - promise to free memory
This issue was solved with changeset r43330.
Yura, thank you for reporting this issue.
Your contribution to Ruby is g...
Koichi Sasada
03:59 PM Revision 43343: * 2013-10-18
svn
03:59 PM Revision 43342: * lib/tsort.rb (TSort.tsort): Extracted from TSort#tsort.
(TSort.tsort_each): Extracted from TSort#tsort_each.
(TSort.strongly_connected_components): Extracted from
TSort#...
Akira Tanaka
02:54 PM Bug #9029 (Closed): doc of ARGF.gets
rdoc of ARGF.gets says ARGF.gets return string only, but it may return nil.
doc of rb_f_gets:
* call-seq:
* ...
Kazuhiro NISHIYAMA
01:44 PM Revision 43341: * remove trailing spaces.
Nobuyoshi Nakada
12:55 PM Revision 43340: [DOC]
Akira Tanaka
12:49 PM Revision 43339: bug_reporter.c: suppress warnings
* ext/-test-/bug_reporter/bug_reporter.c (sample_bug_reporter): cast
via uintptr_t to suppress warning cast between...
Nobuyoshi Nakada
10:51 AM Revision 43338: envutil.rb: use **opt
* test/ruby/envutil.rb: use **opt to call invoke_ruby. Nobuyoshi Nakada
10:51 AM Revision 43337: envutil.rb: improve assert_no_memory_leak
* test/ruby/envutil.rb (assert_no_memory_leak): allow envirionment
variables keyword options.
Nobuyoshi Nakada
09:51 AM Revision 43336: * gc.c (CALC_EXACT_MALLOC_SIZE_CHECK_OLD_SIZE): introduced.
This macro enable checker compare with allocated memory and
declared old_size of sized_xfree and sized_xrealloc.
Koichi Sasada
09:49 AM Revision 43335: * string.c (STR_HEAP_SIZE): includes TERM_LEN(str).
* string.c (rb_str_memsize): use STR_HEAP_SIZE(). Koichi Sasada
09:31 AM Bug #9028 (Closed): Make SSLSocket Support Encodings
I was working on a bug in the xmpp4r project that caused REXML exceptions when receiving UTF-8 Strings.
https://gith...
Jeremy Ebler
08:44 AM Revision 43334: * vm_insnhelper.c (vm_call_method): set ci->me to 0 when the
original method of a refined method is undef to avoid SEGV.
* vm_method.c (rb_method_entry_without_refinements): ret...
Shugo Maeda
08:41 AM Revision 43333: * gc.c, internal.h: rename ruby_xsizefree/realloc to
rb_sized_free/realloc.
* array.c: catch up these changes.
* string.c: ditto.
Koichi Sasada
08:35 AM Revision 43332: * array.c, string.c: use ruby_xsizedfree() and ruby_xsizedrealloc().
* internal.h (SIZED_REALLOC_N): define a macro as REALLOC_N(). Koichi Sasada
08:11 AM Revision 43331: win32.c: check by module handles
* win32/win32.c (console_emulator_p): check by comparison between
module handle of WriteConsoleW and kernel32.dll.
...
Nobuyoshi Nakada
07:57 AM Revision 43330: * gc.c, internal.h: add new internal memory mangement functions.
* void *ruby_xsizedrealloc(void *ptr, size_t new_size, size_t old_size)
* void ruby_xsizedfree(void *x, size_t size)
...
Koichi Sasada
05:40 AM Revision 43329: configure.in: fix for non-GNU-make
Nobuyoshi Nakada
05:21 AM Revision 43328: file.c: fix memory leak
* win32/file.c (rb_file_expand_path_internal): fix memory leaks at
a non-absolute home exception.
Nobuyoshi Nakada
05:07 AM Revision 43327: * ext/objspace/object_tracing.c (newobj_i): fix memory leak.
There is possibility to remain info due to missing FREEOBJ event.
FREEOBJ events are skipped while suppress_tracing...
Koichi Sasada
03:32 AM Revision 43326: * lib/tsort.rb (TSort.each_strongly_connected_component_from):
Extracted from TSort#each_strongly_connected_component_from. Akira Tanaka
02:57 AM Revision 43325: * remove trailing spaces.
Nobuyoshi Nakada
02:56 AM Revision 43324: configure.in: fix FIRSTMAKEFILE config
* configure.in (FIRSTMAKEFILE): AC_CONFIG_FILES needs the file
arguments separating by a colon literally.
Nobuyoshi Nakada
02:08 AM Revision 43323: * lib/rubygems: Update to RubyGems master 941c21a. Changes:
Restored method bundler wants to remove for compatibility.
Improvements to Gemfile compatibility.
* test/rubygems...
Eric Hodel
02:05 AM Bug #9026: [PATCH] Add ObjectSpace.heap_dump to objspace.so
Based on feedback from ko1-san, I have modified the ruby signatures as follows:
* call-seq:
* ObjectSpace.d...
Aman Gupta
01:48 AM Bug #9021 (Closed): [Doc] typos in rdoc of Digest module
See ruby-core:57903 Zachary Scott
01:38 AM Revision 43322: bug_reporter.c: suppress warnings
* ext/-test-/bug_reporter/bug_reporter.c (register_sample_bug_reporter):
cast to suppress warnings.
Nobuyoshi Nakada
01:10 AM Revision 43321: * properties.
Nobuyoshi Nakada

10/16/2013

11:36 PM Revision 43320: Makefile.sub: fix typo
* win32/Makefile.sub (HAVE_PSAPI_H): fix typo. Nobuyoshi Nakada
11:12 PM Revision 43319: Makefile.sub: default HAVE_PSAPI_H to 0
* win32/Makefile.sub (HAVE_PSAPI_H): default to 0. Nobuyoshi Nakada
11:09 PM Revision 43318: * ext/objspace/object_tracing.c (newobj_i): add workaround.
some bugs hits this check.
* ext/objspace/object_tracing.c (object_allocations_reporter_i): cast as pointer.
Koichi Sasada
10:37 PM Revision 43317: * lib/rubygems: Update to RubyGems master 2abce58. Changes:
Fixed documentation generation when sdoc and json are installed as
gems.
Added some missing documentation.
Eric Hodel
10:12 PM Revision 43316: * ext/curses/curses.c: [DOC] Cleaned up formatting consistency of rdoc
comments for Curses, including period spacing and column width.
This patch also fixed some typos. Thanks to @postm...
Zachary Scott
10:01 PM Revision 43315: * ext/date/date_core.c: [DOC] plural grammar fixed by @scott113341
Contributed via documenting-ruby.org: documenting-ruby/ruby#16
https://github.com/documenting-ruby/ruby/pull/16
Zachary Scott
08:54 PM Revision 43314: * ext/io/nonblock/nonblock.c: [DOC] Document io/nonblock by reprah
[Fixes GH-418] https://github.com/ruby/ruby/pull/418 based on the
original discussion from documenting-ruby/ruby#18
Zachary Scott
08:41 PM Revision 43313: * gc.c (objspace_each_objects): do not skip empty RVALUEs.
Koichi Sasada
08:39 PM Bug #9021: [Doc] typos in rdoc of Digest module
Please close and review #9027 instead. Marcus Stollsteimer
12:27 AM Bug #9021 (Assigned): [Doc] typos in rdoc of Digest module
Thank you! I will try to review and commit this soon. Zachary Scott
08:35 PM Bug #9027 (Closed): [Doc] improve rdoc of Digest module
Some improvements in mainly the module documentation:
* provide more examples
* provide a working example for the...
Marcus Stollsteimer
08:32 PM Revision 43312: * error.c (rb_bug_reporter_add): return simply 0 if failed.
Please check return value. Koichi Sasada
08:21 PM Revision 43311: * 2013-10-17
svn
08:21 PM Revision 43310: * ext/objspace/object_tracing.c: add new method
ObjectSpace.trace_object_allocations_debug_start for GC debugging.
If you encounter the BUG "... is T_NONE" (and so...
Koichi Sasada
05:30 PM Bug #9008: TestProcess#test_clock_getres_constants and TestProcess#test_clock_gettime_constants ...
Just for the record, this is discussed on Fedora's ARM list as well: https://lists.fedoraproject.org/pipermail/arm/20... Vit Ondruch
10:53 AM Bug #9008: TestProcess#test_clock_getres_constants and TestProcess#test_clock_gettime_constants ...
On Tue, Oct 15, 2013 at 6:48 PM, Tanaka Akira <akr@fsij.org> wrote:
> 2013/10/16 kosaki (Motohiro KOSAKI) <kosaki....
Motohiro KOSAKI
07:53 AM Bug #9008: TestProcess#test_clock_getres_constants and TestProcess#test_clock_gettime_constants ...
2013/10/16 kosaki (Motohiro KOSAKI) <kosaki.motohiro@gmail.com>:
> Issue #9008 has been updated by kosaki (Motohir...
Akira Tanaka
12:22 AM Bug #9008: TestProcess#test_clock_getres_constants and TestProcess#test_clock_gettime_constants ...
Oops. error.
Current glibc has following definition.
/usr/include/bits/errno.h
--------------------------
# d...
Motohiro KOSAKI
02:39 PM Revision 43309: ifchange.bat: --keep option
* win32/ifchange.bat: add --keep option as well as tool/ifchange. Nobuyoshi Nakada
02:11 PM Revision 43308: fix typos
kazu
02:07 PM Feature #9025: Clarify the error message when calling a method with the wrong number of arguments
duerst (Martin Dürst) wrote:
> phluid61 (Matthew Kerwin) wrote:
>
> > [...] I believe that the current message al...
Matthew Kerwin
01:03 PM Feature #9025: Clarify the error message when calling a method with the wrong number of arguments
phluid61 (Matthew Kerwin) wrote:
> This is sort of a bike-shedding issue, and I'm always happy to throw paint at bik...
Martin Dürst
12:12 PM Feature #9025: Clarify the error message when calling a method with the wrong number of arguments
Maybe. Sometimes, if you do chain a couple of methods, you may get confused. I'm not saying there's no way you can fi... Fuad Saud
12:02 PM Feature #9025: Clarify the error message when calling a method with the wrong number of arguments
fuadksd (Fuad Saud) wrote:
> I like the "expected" wording. Also, wouldn't help a little to print the method name? M...
Matthew Kerwin
11:58 AM Feature #9025: Clarify the error message when calling a method with the wrong number of arguments
This is sort of a bike-shedding issue, and I'm always happy to throw paint at bike sheds!
In the past, in various ...
Matthew Kerwin
11:53 AM Feature #9025: Clarify the error message when calling a method with the wrong number of arguments
I like the "expected" wording. Also, wouldn't help a little to print the method name? May help to identify what's wr... Fuad Saud
11:34 AM Feature #9025: Clarify the error message when calling a method with the wrong number of arguments
"instead of" is even worse than "for". It is ambiguous: "1 argument was given instead of the expected 0" or "1 argume... Tsuyoshi Sawada
03:15 AM Feature #9025 (Open): Clarify the error message when calling a method with the wrong number of ar...
Currently when calling a method with the wrong number of arguments we get a confusing error message:
ArgumentE...
Gonzalo Rodríguez
01:50 PM Revision 43307: win32/setup.mak: check psapi.h
* win32/setup.mak (check-psapi.h): check if psapi.h is available.
* win32/win32.c (CHECK_CONSOLE_EMULATOR): enable c...
Nobuyoshi Nakada
01:36 PM Revision 43306: * ext/io/nonblock/nonblock.c: use rb_cIO instead of VALUE
Zachary Scott
11:01 AM Bug #9026 (Closed): [PATCH] Add ObjectSpace.heap_dump to objspace.so
https://github.com/ruby/ruby/pull/423 Aman Gupta
09:15 AM Bug #8979 (Closed): gem のプロキシ認証情報に @ を含むとエラー
Eric Hodel
09:14 AM Bug #8979: gem のプロキシ認証情報に @ を含むとエラー
This bug was fixed by r43298 Eric Hodel
08:46 AM Revision 43305: * bootstraptest/runner.rb: check nil before calling `signal?'
for a process status. Koichi Sasada
08:44 AM Revision 43304: * properties.
Nobuyoshi Nakada
08:39 AM Revision 43303: * error.c, internal.h (rb_bug_reporter_add): add a new C-API.
rb_bug_reporter_add() allows to register a function which
is called at rb_bug() called.
* ext/-test-/bug_reporter/b...
Koichi Sasada
08:01 AM Feature #9020: Net::HTTPResponse predicate/query methods
I'm not aware of any libraries that implement this interface currently. If Net::HTTP implemented these methods and ot... Tim Craft
06:14 AM Revision 43302: * NEWS: add a line into NEWS for last commit.
Koichi Sasada
06:13 AM Revision 43301: * ext/objspace/objspace.c: add a new method `reachable_objects_from_root'.
ObjectSpace.reachable_objects_from_root returns all objects refered
from root (called "root objects").
This featu...
Koichi Sasada
06:00 AM Revision 43300: * lib/rubygems: Update to RubyGems master b955554. Changes:
Fixed NameError for Gem::Ext due to re-entering file lookup in
RubyGems' overridden require. Bug by Koichi Sasada....
Eric Hodel
03:22 AM Feature #8959 (Assigned): Allow top level prepend
Zachary Scott
12:43 AM Revision 43299: * lib/rubygems: Update to RubyGems master 278d00d. Changes:
Fixes building extensions without a "clean" make rule
Adds gem dependency file autodetection to "gem install -g"
...
Eric Hodel
12:24 AM Bug #9002 (Assigned): Use simpler example for File#expand_path
The original makes no sense to me, but I can see how it resolves ".." (... somehow).
I'm not even sure what the "/...
Zachary Scott
12:20 AM Bug #8812 (Assigned): RSS: document more constants
Zachary Scott
12:20 AM Bug #8821 (Assigned): Add documentation for Time#w3cdtf
Zachary Scott
12:20 AM Bug #8821: Add documentation for Time#w3cdtf
I will modify it when I get around to committing the patch (unless you submit one before then), thank you! Zachary Scott
12:19 AM Bug #8889 (Rejected): Nodoc large parts of RSS
See ruby-core:57399
Thank you for the patch! Please send more :)
Zachary Scott
12:14 AM Revision 43298: * lib/rubygems: Update to RubyGems master commit 2a74263. This fixes
several bugs in RubyGems 2.2.0.preview.1.
* test/rubygems: ditto.
Eric Hodel
12:13 AM Bug #8944: Error in example code of DL::CFunc
Sorry for not getting to this sooner, thanks for your patience! Zachary Scott
12:13 AM Bug #8975: Confusing code sample for assert_send
Please see #8778 for reference.
To answer your question, lib/test (test/unit) is a legacy shim.
I don't think d...
Zachary Scott
12:10 AM misc #8962 (Assigned): [DOC] add step to enable Generational GC merits in README.EXT*
Koichi, could you add some notes on this, maybe link to helpful RGenGC documentation.
I will bug you again at Ruby...
Zachary Scott

10/15/2013

11:23 PM Bug #9008: TestProcess#test_clock_getres_constants and TestProcess#test_clock_gettime_constants ...
(10/15/13 3:30 AM), Tanaka Akira wrote:
> 2013/10/15 kosaki (Motohiro KOSAKI) <kosaki.motohiro@gmail.com>:
>> Is...
Motohiro KOSAKI
04:53 PM Bug #9008: TestProcess#test_clock_getres_constants and TestProcess#test_clock_gettime_constants ...
2013/10/15 kosaki (Motohiro KOSAKI) <kosaki.motohiro@gmail.com>:
> Issue #9008 has been updated by kosaki (Motohir...
Akira Tanaka
03:57 AM Bug #9008: TestProcess#test_clock_getres_constants and TestProcess#test_clock_gettime_constants ...
One more.
Linux man page agree with OpenGroup spec. see
http://man7.org/linux/man-pages/man2/clock_getres.2.ht...
Motohiro KOSAKI
03:52 AM Bug #9008: TestProcess#test_clock_getres_constants and TestProcess#test_clock_gettime_constants ...
ENOTSUPP
Note:
524 mean ENOSUPP.
CLOCK_REALTIME_ALARM and CLOCK_BOOTTIME_ALARM uses following code. That says, i...
Motohiro KOSAKI
10:33 PM Revision 43297: * 2013-10-16
svn
10:33 PM Revision 43296: * gc.c (gc_mark_roots): rename roots to be categories instead of function names.
Aman Gupta
10:14 PM Feature #9020: Net::HTTPResponse predicate/query methods
What libraries implement the Net::HTTP API that require duck-typing?
Do you have a patch for this feature request?...
Eric Hodel
07:53 PM Feature #9020: Net::HTTPResponse predicate/query methods
Agreed. Class chechinkg is bad, duck typing is elegant and flexible.
On Oct 15, 2013 7:41 AM, "timcraft (Tim Craft...
Fuad Saud
07:41 PM Feature #9020: Net::HTTPResponse predicate/query methods
drbrain (Eric Hodel) wrote:
> Why use === instead of a case statement?
I agree case statements would be more comm...
Tim Craft
02:37 PM Feature #9020 (Assigned): Net::HTTPResponse predicate/query methods
=begin
Why use === instead of a case statement?
case response
when Net::HTTPSuccess then
response.body
...
Eric Hodel
08:04 PM Bug #9022: all? method in empty array should return false
Since commenting on the other thread, i have leant that the proposed interpretation of the "for all" quantifier is ap... Alexey Muranov
02:04 PM Bug #9022 (Rejected): all? method in empty array should return false
Nobuyoshi Nakada
12:49 PM Bug #9022: all? method in empty array should return false
This is a duplicate of #8723 Matthew Kerwin
12:35 PM Bug #9022 (Rejected): all? method in empty array should return false
This is expected:
[].any?(&:whatever?)
# => false
But this is not the behavior which I expect:
[].all?(&:wh...
Lucas Caton
02:57 PM Bug #7445: strptime('%s %z') doesn't work
felipec (Felipe Contreras) wrote:
> `Time.strptime()` has been fixed in Ruby Core, and Rubinious has fixed `strptime...
Felipe Contreras
01:33 PM Feature #8921: Allow select, reject, etc to accept a regex
Hey nobu have you thought about this? I think it's a pretty interesting change to be introduced.
Fuad Saud
01:30 PM Feature #8772: Hash alias #| merge, and the case for Hash and Array polymorphism
Just pinging. Any more ideas on this matter? Fuad Saud
01:12 PM Revision 43295: * remove trailing spaces.
Nobuyoshi Nakada
10:22 AM Revision 43294: * gc.h (rb_objspace_reachable_objects_from_root): added.
This API provides information which objects are root objects.
`category' shows what kind of root objects.
* gc.c (g...
Koichi Sasada
10:18 AM Bug #9019: encoding: EUC-KR or EUC-JP does not seem to work
The file type was the problem, not the #encoding comment. sorry for the confusion. Hanwool Lee
09:46 AM Revision 43293: trivial change
kazu
08:48 AM Revision 43292: * process.c: Fix a typo. MacOS X don't have ENOTSUPP.
Akira Tanaka
08:35 AM Bug #9016: String#encoding is lying?
I would expect that if ARGV[0].encoding is CP850, then the string is encoded as CP850. Instead, the string is encoded... Renato Silva
06:34 AM Bug #9016: String#encoding is lying?
It would vary on system code pages.
What do you expect and what did you get?
Nobuyoshi Nakada
07:57 AM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
+1 for removing f suffix and amending the optimiser for #freeze Sam Saffron
07:36 AM Bug #8979: gem のプロキシ認証情報に @ を含むとエラー
I have updated #9014 with RubyGems 2.0.12 which contains this fix.
I will update trunk after I fix a separate bug ...
Eric Hodel
07:34 AM Revision 43291: array.c: reduce RARRAY_LEN and ARY_CAPA
* array.c: reduce use of RARRAY_LEN and ARY_CAPA when object is not
modified.
Nobuyoshi Nakada
07:34 AM Revision 43290: test_array.rb: add test
* test/ruby/test_array.rb (test_last2): add test for Array#last with
length argument.
Nobuyoshi Nakada
07:33 AM Revision 43289: Makefile.sub: skip timezone tests
* win32/Makefile.sub (TZ): empty to skip timezone tests which are not
supported on Windows.
Nobuyoshi Nakada
05:02 AM Bug #9021 (Closed): [Doc] typos in rdoc of Digest module
Fixes minor typos in Digest module docs. Marcus Stollsteimer

10/14/2013

11:46 PM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
Totally agree with ssaffron on options 2 and 3 being scary. 3 is also impossible in MRI at the moment.
I'm happy t...
Charlie Somerville
05:29 PM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
Nobuyoshi Nakada <nobu@ruby-lang.org> wrote:
> (13/10/14 8:40), sam.saffron (Sam Saffron) wrote:
> > Issue #8992...
Eric Wong
05:23 PM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
On Oct 14, 2013 5:00 PM, "headius (Charles Nutter)" <headius@headius.com>
wrote:
>
> Ok, let's just focus on #...
Matthew Kerwin
03:59 PM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
Ok, let's just focus on #1 for now...
It seems like everyone agrees that "string".freeze is a better choice than a...
Charles Nutter
12:53 PM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
(13/10/14 8:40), sam.saffron (Sam Saffron) wrote:
> Issue #8992 has been updated by sam.saffron (Sam Saffron).

...
Nobuyoshi Nakada
08:40 AM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
@hedius
There are 3 things being discussed here, I think it is fairly important we split them out.
1. Parser op...
Sam Saffron
10:20 PM Bug #5060: Executables in bin folder conflict with their gem versions.
drbrain (Eric Hodel) wrote:
> This is too risky to fix for 2.0.0, sorry I did not have time.
I would like to know w...
Salimane Adjao Moustapha
08:43 PM Feature #9020 (Assigned): Net::HTTPResponse predicate/query methods
# SUMMARY
I would like to propose adding predicate/query methods to Net::HTTPResponse for testing the status/type ...
Tim Craft
07:14 PM Revision 43288: allpairs.rb: remove unused variable
* test/ruby/allpairs.rb (AllPairs#each_index): remove unused variable,
prime.
Nobuyoshi Nakada
07:14 PM Revision 43287: test/-ext-: suppress warnings
Nobuyoshi Nakada
07:14 PM Revision 43286: test_profile_frames.rb: assert first_lineno
* test/-ext-/debug/test_profile_frames.rb (test_profile_frames):
assert first_lineno, only the top level of methods...
Nobuyoshi Nakada
07:14 PM Revision 43285: * 2013-10-15
svn
07:14 PM Revision 43284: test_profile_frames.rb: fix typo
* test/-ext-/debug/test_profile_frames.rb (test_profile_frames): fix
typo, methdo_names to method_names.
Nobuyoshi Nakada
07:14 PM Revision 43283: assertions.rb: ignore nil message
* lib/test/unit/assertions.rb (assert): allow nil message and just
ignore.
Nobuyoshi Nakada
06:57 PM Bug #9016: String#encoding is lying?
This reduced test case shows that the argument looks like an ISO-8859-1 string even though its encoding is reported a... Renato Silva
06:09 PM Bug #9019 (Feedback): encoding: EUC-KR or EUC-JP does not seem to work
Is that file saved in EUC-KR? Nobuyoshi Nakada
05:42 PM Bug #9019 (Rejected): encoding: EUC-KR or EUC-JP does not seem to work
~~~ruby
#encoding: euc-kr
puts "하이"
~~~
ABOVE CODE returns `test.rb:2: invalid multibyte char (EUC-KR)`
~~~...
Hanwool Lee
09:23 AM Feature #9018: Make statically linked extensions easier to use
> All static libraries are linked into libruby-static.a.
Okay then I need to fix my build process. Can You tell me...
Lukas S
12:49 AM Feature #9018 (Feedback): Make statically linked extensions easier to use
> 1. A program embedding libruby-static needs to link a whole bunch of static libraries.
All static libraries are ...
Nobuyoshi Nakada
08:00 AM Revision 43282: Makefile.sub: gem_prelude to load rubygems
* win32/Makefile.sub (DEFAULT_PRELUDES): always use gem_prelude
regardless of --disable-rubygems. follow up r43278.
Nobuyoshi Nakada
04:51 AM Revision 43281: win32.h: declare fstati64 to suppress warnings
* include/ruby/win32.h (fstati64): declare for ext/-test-/file/stat.c
on w64-mingw, to suppress warnings.
Nobuyoshi Nakada
03:32 AM Revision 43280: ruby.c: load statically linked extensions before rubygems
* ruby.c (process_options): load statically linked extensions before
rubygems, because of ext/thread.
Nobuyoshi Nakada
03:31 AM Revision 43279: ChangeLog: fix format
Nobuyoshi Nakada
03:22 AM Revision 43278: ruby.c: gem_prelude to load rubygems
* ruby.c (process_options): use gem_prelude instead of requiring
rubygems directly when --enable=gems is given.
* M...
Nobuyoshi Nakada
02:07 AM Revision 43277: mkmf.rb: fix framework option
* lib/mkmf.rb (have_framework): should append framework options to
$LIBS, not $LDFLAGS. the former is propagated t...
Nobuyoshi Nakada
02:07 AM Revision 43276: * 2013-10-14
svn
02:07 AM Revision 43275: mkmf.rb: fix ranlib argument
* lib/mkmf.rb (create_makefile): ranlib on static library, not DLLIB. Nobuyoshi Nakada

10/13/2013

10:11 PM Feature #8951: Please add a hash-to-hash alternative of the map method to Hash
How about having a construct similar to `map.with_index`? For example `map.to_has` or `map.hashify`:
```
hash = {...
Behrang Saeedzadeh
02:53 PM Revision 43274: * vsnprintf.c: Fix spelling from compliment to complement.
Patch by @agrimm. Closes GH-422.
* include/ruby/ruby.h: ditto
Charlie Somerville
11:59 AM Revision 43273: vm.c: initialize defined_module_hash early
* vm.c (Init_BareVM): initialize defined_module_hash here,
Init_top_self() is too late to register core classes/mod...
Nobuyoshi Nakada
05:38 AM Feature #9018 (Feedback): Make statically linked extensions easier to use
=begin
Sorry for the lengthy post, my english is not that good and the idea is not that simple to explain either.
...
Lukas S
04:29 AM Bug #9016: String#encoding is lying?
If you type "chcp 850" in cmd.exe before calling the script, it should accept the argument. You can use the word "Jap... Renato Silva
03:49 AM Revision 43272: Makefile.in: generate for each makefiles
* Makefile.in (MKFILES): generate for each files for parallel build. Nobuyoshi Nakada
03:42 AM Revision 43271: test_rake_clean.rb: skip on Windows
* test/rake/test_rake_clean.rb (create_undeletable_file): skip when
permission to delete files is different.
Nobuyoshi Nakada
03:16 AM Revision 43270: * 2013-10-13
svn
03:16 AM Revision 43269: compile.c, vm.c: reduce hash merge
* compile.c (compile_array_): no hash to merge if it is empty.
* vm.c (m_core_hash_merge_kwd): just check keys if onl...
Nobuyoshi Nakada
03:16 AM Revision 43268: test_notimp.rb: test timeout
* test/ruby/test_notimp.rb (test_call_fork): test timeout directly. Nobuyoshi Nakada
12:26 AM Bug #9017 (Open): irb crash with message "... 'join': incompatible character encodings: ASCII-8BI...
With Pyper gem that I wrote, irb crashes as follows:
require 'pyper' # gem install pyper if necessary
[''].τmsτ #...
Boris Stitnicky

10/12/2013

08:27 PM Bug #9016 (Feedback): String#encoding is lying?
I know nothing about CP850, give a concrete example path name to reproduce it. Nobuyoshi Nakada
04:02 PM Bug #9016 (Feedback): String#encoding is lying?
Please see attached test case.
If you try opening a file using a CP850 (possibly others) path which was passed as ...
Renato Silva
09:29 AM Revision 43267: get rid of a garbage character
kazu
09:29 AM Revision 43266: fix typos
kazu
07:40 AM Bug #8979: gem のプロキシ認証情報に @ を含むとエラー
I have fixed this here on RubyGems master:
https://github.com/rubygems/rubygems/commit/c355880f2016597b3f0f632fbcd...
Eric Hodel
12:16 AM Feature #8956: Allow hash members delimited by \n inside of {}
Adding another patch with tests for no-comma hashes, arrays, and method arguments. Adam Dunson

10/11/2013

10:42 PM Bug #8886: TracePoint API inconsistence when raise used
I don't think ruby works like that right now. If :raise event occurs inside raise method, then when I print the backt... David Rodríguez
10:21 PM Revision 43265: * remove trailing spaces, append newline at EOF.
Nobuyoshi Nakada
09:57 PM Feature #8636: Documentation hosting on ruby-lang.org
>zzak
added you into docs.ruby-lang.org administrators.
Hiroshi SHIBATA
09:23 PM Feature #8636: Documentation hosting on ruby-lang.org
Thank you shibata-san, could you add me to the new repository?


On Oct 11, 2013, at 2:04 AM, hsbt (Hiroshi SH...
Zachary Scott
09:23 PM Feature #8636: Documentation hosting on ruby-lang.org
Sounds great, thanks okkez!!


On Oct 11, 2013, at 2:00 AM, okkez (okkez _) <redmine@ruby-lang.org> wrote:

>
...
Zachary Scott
03:04 PM Feature #8636: Documentation hosting on ruby-lang.org
>we need to rename this to https://github.com/docs.ruby-lang.org and merge zzak/docs.ruby-lang.org .
rename done!
Hiroshi SHIBATA
03:00 PM Feature #8636: Documentation hosting on ruby-lang.org
zzak (Zachary Scott) wrote:
>
> I like docs subdomain
>
This is OK to me.
BTW, we have a repository https://github...
okkez _
09:35 PM Revision 43264: * NEWS (with all sufficient information):
* lib/rake: Update to rake 10.1.0
* bin/rake: ditto.
* test/rake: ditto.
* NEWS: Update NEWS to include rake 10....
Eric Hodel
06:27 PM Revision 43263: * class.c, variable.c, gc.c (rb_class_tbl): removed.
* vm.c, vm_core.h (rb_vm_add_root_module): added to register as a
defined root module or class.
This guard helps ...
Koichi Sasada
06:26 PM Revision 43262: * vm_method.c (rb_gc_mark_unlinked_live_method_entries):
revert last commit to introduce debug prints. Koichi Sasada
06:03 PM Revision 43261: revert r43259 because it is possible to mark miss classes defined in C-exts. Than...
Koichi Sasada
05:33 PM Revision 43260: * 2013-10-12
svn
05:33 PM Revision 43259: * class.c, variable.c, gc.c (rb_class_tbl): removed.
rb_class_tbl is no longer used. Koichi Sasada
12:23 PM Bug #9002: Use simpler example for File#expand_path
Can we give both examples? I think the original example is a bit hard to understand due to two "..". In the first exa... Prathamesh Sonpatki
12:06 PM Revision 43258: * internal.h, parse.y: use `full_mark' instead of `full_marking'.
Koichi Sasada
12:00 PM Revision 43257: * gc.c: use terminology `full_mark' instead of `minor_gc'
in mark functions. Koichi Sasada
11:46 AM Revision 43256: * gc.c: use __GNUC__ instead of __GCC__.
Koichi Sasada
11:45 AM Revision 43255: * gc.c, parse.y: support generational Symbol relatetd marking.
Each symbols has String objects respectively to represent
Symbols.
These objects are marked only when:
* full mar...
Koichi Sasada
10:31 AM Revision 43254: Import ruby-electric.el 2.0.1, a bug fix release.
* misc/ruby-electric.el: Import ruby-electric.el 2.0.1 which fixes
a bug and a flaw with auto-end introduced in the...
Akinori MUSHA
10:18 AM Bug #7458: Depending on value of BigDecimal::limit, addition can give inaccurate results
=begin
Still present in
(({ruby 2.1.0dev (2013-09-22 trunk 43011) [x86_64-linux]}))
=end
Bradford Powell
09:13 AM Revision 43253: * ext/objspace/gc_hook.c: prohibit reentrant.
Koichi Sasada
09:12 AM Revision 43252: * vm_trace.c (rb_postponed_job_flush): fix bit operation.
Koichi Sasada
08:38 AM Revision 43251: Import ruby-electric.el 2.0.
* misc/ruby-electric.el: Import ruby-electric.el 2.0 from
https://github.com/knu/ruby-electric.el which integrates ...
Akinori MUSHA
07:54 AM Revision 43250: * vm_trace.c (rb_postponed_job_flush): simplify.
Koichi Sasada
06:23 AM Revision 43249: revert r43248. Should not set interrupt_flag.
Koichi Sasada
03:37 AM Bug #8492 (Closed): ObjectSpace.after_gc_start_hook aborts with GC.stress
This issue was solved with changeset r43245.
Yui, thank you for reporting this issue.
Your contribution to Ruby is gr...
Nobuyoshi Nakada
12:09 AM Bug #8654: SEGV in Array#count
... and backport r42068, r42069 to suppress warning and fix failure on CI (run with -w option). Tomoyuki Chikanaga

10/10/2013

11:56 PM Revision 43248: vm_trace.c: use macro
* vm_trace.c (rb_postponed_job_flush): use dedicated macro. Nobuyoshi Nakada
11:52 PM Revision 43247: vm_trace.c: suppress warnings
* vm_trace.c (rb_postponed_job_flush): suppress clobbered variable
warnings on some gcc.
Nobuyoshi Nakada
11:52 PM Revision 43246: win32.h: define or declare finite always
* include/ruby/win32.h (finite): always define or declare. some
mingw (maybe w64 only?) lack the declaration.
Nobuyoshi Nakada
11:28 PM Bug #9013 (Feedback): Crash on start
I used RubyInstaller to install Ruby on Windows 7 (32-bit). I have many gems installed, though I'm not able to run ge... Dmitry Popov
11:16 PM Bug #9012: Interpreter crashes when I try to load any page in my rails 3.2 app
=begin
naruse (Yui NARUSE) wrote:
> Could you make small reproducible code which doesn't include NDA code?
I can...
Mark Anderson
11:07 AM Bug #9012 (Feedback): Interpreter crashes when I try to load any page in my rails 3.2 app
Could you make small reproducible code which doesn't include NDA code? Yui NARUSE
10:38 AM Bug #9012: Interpreter crashes when I try to load any page in my rails 3.2 app
Can't deliver the code because of NDA. Alas. Mark Anderson
10:34 AM Bug #9012 (Feedback): Interpreter crashes when I try to load any page in my rails 3.2 app
In my rails app (which works fine on all of my machines but Mac), attempting to request any page, either in the rails... Mark Anderson
09:30 PM Feature #5617: Allow install RubyGems into dediceted directory
Here is recent version of the patch against ruby 2.1.0 preview1
http://pkgs.fedoraproject.org/cgit/ruby.git/tree/r...
Vit Ondruch
09:27 PM Bug #7807: [PATCH] Remove duplicated load paths when empty version string is configured
This is updated version of this patch against ruby 2.1 preview1:
http://pkgs.fedoraproject.org/cgit/ruby.git/tree/...
Vit Ondruch
07:50 PM Bug #9010: ./configure --prefix= cannot handle directories with spaces
maybe its a problem with your shell? on Mac i am currently using it works
hm or try if you can build ruby-trunk.
Hans Mackowiak
10:22 AM Bug #9010 (Assigned): ./configure --prefix= cannot handle directories with spaces
Tomoyuki Chikanaga
07:50 AM Bug #9010 (Assigned): ./configure --prefix= cannot handle directories with spaces
It appears that the linking task fails when the --prefix value contains spaces.
Steps to Reproduce:
1. ./config...
Hal Brodigan
06:48 PM Bug #9002: Use simpler example for File#expand_path
I don't know, the original example shows File.expand_path does resolve ".." and such.
Your example could be interpre...
Benoit Daloze
06:36 PM Revision 43245: vm_trace.c: fix infinite hook
* thread.c (rb_threadptr_execute_interrupts): flush postponed job only
once at last.
* vm_trace.c (rb_postponed_job...
Nobuyoshi Nakada
06:33 PM Feature #8976: file-scope freeze_string directive
akr (Akira Tanaka) wrote:
> 2013/10/10 headius (Charles Nutter) <headius@headius.com>:
> > Issue #8976 has been up...
Benoit Daloze
12:59 AM Feature #8976: file-scope freeze_string directive
2013/10/10 headius (Charles Nutter) <headius@headius.com>:
> Issue #8976 has been updated by headius (Charles Nutt...
Akira Tanaka
12:43 AM Feature #8976: file-scope freeze_string directive
boris_stitnicky (Boris Stitnicky) wrote:
> "..."f might be mildly ugly, but is hard to beat.
> 5 minutes of my thin...
Charles Nutter
06:12 PM Feature #8823 (Rejected): Run trap handler in an independent thread called "Signal thread"
Koichi Sasada
06:07 PM Bug #8492: ObjectSpace.after_gc_start_hook aborts with GC.stress
随分放置してしまってすみません。
これ、今でもなりますか? 手元ではなんか
$ ./ruby -robjspace -e'ObjectSpace.after_gc_start_hook=proc{};GC.stress=tru...
Koichi Sasada
06:06 PM Bug #7976 (Feedback): TracePoint call is at call point, not call site
This behavior is same as backtrace.
Nearest file name and line number is used for C call,
because there are no file...
Koichi Sasada
05:35 PM Bug #8886: TracePoint API inconsistence when raise used
deivid (David Rodríguez) wrote:
> Expected output
>
> c_return :trace
> line nil
> ...
Koichi Sasada
05:31 PM Bug #8622 (Closed): Tracepoint API: B_RETURN_EVENT not triggered when "return" used inside lambda
This issue was solved with changeset r43237.
David, thank you for reporting this issue.
Your contribution to Ruby is ...
Koichi Sasada
05:19 PM Bug #8974 (Closed): TestTracepointObj#test_tracks_objspace_events
nobu fixed this issue by r43209. Thanks!! Koichi Sasada
04:29 PM Revision 43244: * 2013-10-11
svn
04:28 PM Revision 43243: st.c: revert st_keys
* st.c: revert st_keys() at r43238. VALUE cannot be in st.c. Nobuyoshi Nakada
02:04 PM Revision 43241: * array.c (rb_ary_or): remove unused variables.
glass
02:02 PM Revision 43240: * array.c (rb_ary_or): use rb_hash_keys().
glass
12:37 PM Revision 43239: * array.c (rb_ary_compact_bang): use ary_resize_smaller().
glass
12:06 PM Revision 43238: * st.c (st_keys): define st_keys() for performance improvement of
Hash#keys and Array#uniq.
* st.h: ditto.
* hash.c (rb_hash_keys): use st_keys().
glass
11:53 AM Feature #8998: string keys for hash literals should use fstrings
The issue I had with my original patch is fixed by nobu with r43210
Thanks!

So my proposed patch should be sa...
Eric Wong
11:53 AM Feature #7854: New method Symbol[string]
Is this feature request rejected? I thought it would be in 2.1


On 10/01/2013 06:15 PM, Student (Nathan Zook...
Nathan Zook
11:53 AM Bug #9011: rb_fstring unsafe to use in general case
"ko1 (Koichi Sasada)" <redmine@ruby-lang.org> wrote:
> Nobu's patch r43210 may solve this problem. Could you verif...
Eric Wong
10:01 AM Bug #9011: rb_fstring unsafe to use in general case
Nobu's patch r43210 may solve this problem. Could you verify it?
BTW, I don't like this fix. I'll try fix by anoth...
Koichi Sasada
09:26 AM Bug #9011 (Closed): rb_fstring unsafe to use in general case
I don't think the current "frozen"f in pure Ruby code is unsafe
(I haven't reproduced a crash)
But I do not think...
Eric Wong
10:56 AM Bug #8995: バイナリデータを文字列として encode! すると readbyte の結果が変化する
なかださんの指摘の通り、
> return params.force_encoding("UTF-8").encode!
の行は何がしたいのかよくわかりませんね。
本当は
> return params.force_encod...
Yui NARUSE
08:31 AM Revision 43237: * vm.c (vm_exec): support :b_return event for "lambda{return}.call".
[Bug #8622]
* test/ruby/test_settracefunc.rb: add a test.
Koichi Sasada
06:33 AM Revision 43236: win32.c: bail out if no memory
* win32/win32.c (rb_w32_write_console): bail out when buffer
allocation failed.
Nobuyoshi Nakada
06:33 AM Revision 43235: numeric.c: no declaration of finite
* numeric.c (finite): disable declaration on Windows, which can be
defined in ruby/win32.h.
Nobuyoshi Nakada
04:56 AM Revision 43234: * vm_trace.c (postponed_job): use preallocated buffer.
Pre-allocate MAX_POSTPONED_JOB (1024) sized buffer
and use it.
If rb_postponed_job_register() cause overflow, sim...
Koichi Sasada
03:21 AM Bug #9009 (Open): Wrong binding when tracing c-calls
When I use set_trace_func to trace ruby code, I get a wrong binding in
case of c-calls. In this case binding.eval("s...
Nikolay Bozhenov
03:13 AM Revision 43233: string.c: use str_duplicate
* string.c (rb_str_resurrect): use str_duplicate(), which does
completely same.
Nobuyoshi Nakada
02:11 AM Revision 43232: vm.c: hide singleton class of frozen-core
* vm.c (Init_VM): hide also the singleton class of frozen-core, not
only frozen-core itself.
Nobuyoshi Nakada
02:04 AM Feature #8956: Allow hash members delimited by \n inside of {}
sawa,
Could you elaborate? I still find that expression to be ambiguous. Here's another example that works with ru...
Adam Dunson
12:54 AM Feature #8956: Allow hash members delimited by \n inside of {}
adamdunson,
As I wrote already, omission of comma is to be allowed only when the `()[]{}|` is not omitted.
~~~r...
Tsuyoshi Sawada
12:24 AM Feature #8956: Allow hash members delimited by \n inside of {}
Hi sawa,
> Another case where similar syntax might be relevant is `| |` inside a block. ... should go together wit...
Adam Dunson
01:37 AM Bug #9003: Range.new on objects without <=> but with Comparable does raise SystemStackError, and ...
backport r43208 to ruby_2_0_0 at r43230. Tomoyuki Chikanaga
01:29 AM Bug #9008: TestProcess#test_clock_getres_constants and TestProcess#test_clock_gettime_constants ...
> Why clock_gettime on Fedora Rawhide (ARM) doesn't cause EINVAL for
> such constants?
That is good question. I...
Vit Ondruch
01:12 AM Bug #8768: [PATCH] tempfile: undefine finalizer on unlink
backport r43110 and r43155 to ruby_2_0_0 at r43229. Tomoyuki Chikanaga
01:04 AM Bug #8654: SEGV in Array#count
backported r42040, r42041 and r42047 to ruby_2_0_0 at r43228. Tomoyuki Chikanaga
01:01 AM Feature #8977: String#frozen that takes advantage of the deduping
Actually, I'm getting pretty down on having the fstring cache at all. It seems like if we want a string pool, it shou... Charles Nutter
12:46 AM Feature #8977: String#frozen that takes advantage of the deduping
I believe we should just make #freeze use the fstring pool as mentioned in #8992. I do not see any disadvantages to t... Charles Nutter
12:55 AM Bug #8769: [PATCH] process.c (rb_fork_internal): remove cloexec setting
backported to ruby_2_0_0 at r43227. Tomoyuki Chikanaga
12:39 AM Bug #8990: please disable *context on hurd
backported to ruby_2_0_0 at r43225. Tomoyuki Chikanaga
12:03 AM Feature #8909: Expand "f" frozen suffix to literal arrays and hashes
=begin
Note that if #8992 is accepted, the same optimization could apply to arrays and hashes. In other words:
...
Charles Nutter

10/09/2013

11:46 PM misc #9007 (Closed): ruby 1.9.x not maintained?
Shota Fukumori
11:41 PM misc #9007: ruby 1.9.x not maintained?
looks great, thank you! - this ticket can be closed. Michal Papis
09:47 AM misc #9007: ruby 1.9.x not maintained?
There is a page:
http://bugs.ruby-lang.org/projects/ruby/wiki/ReleaseEngineering
Akira Tanaka
08:14 AM misc #9007 (Closed): ruby 1.9.x not maintained?
I would like to warn users installing old Ruby via RVM about old versions, I was told that 1.9.1/2/3 is no more maint... Michal Papis
10:23 PM Bug #9008: TestProcess#test_clock_getres_constants and TestProcess#test_clock_gettime_constants ...
2013/10/9 vo.x (Vit Ondruch) <v.ondruch@tiscali.cz>:
> Bug #9008: TestProcess#test_clock_getres_constants and Tes...
Akira Tanaka
10:14 PM Bug #9008 (Rejected): TestProcess#test_clock_getres_constants and TestProcess#test_clock_gettime...
=begin
I observe following two errors on ARM Building Ruby for Fedora Rawhide. It seems that (({:CLOCK_REALTIME_ALAR...
Vit Ondruch
09:53 PM Feature #8636: Documentation hosting on ruby-lang.org
Hello Okkez, Thanks for your feedback!


On Oct 8, 2013, at 10:13 PM, okkez (okkez _) <redmine@ruby-lang.org> ...
Zachary Scott
11:13 AM Feature #8636: Documentation hosting on ruby-lang.org
Sorry for my late response.
I couldn't notice this issue.
zzak (Zachary Scott) wrote:
> Hello!
>
> > On Oct...
okkez _
01:23 AM Feature #8636: Documentation hosting on ruby-lang.org
Hello!

> On Oct 7, 2013, at 11:10 AM, "kou (Kouhei Sutou)" <kou@cozmixng.org> wrote:
>
>> For now, I think we ...
Zachary Scott
09:04 PM Revision 43231: * test/ruby/test_rand.rb: fix r43224. local variable `e' is
no longer available. Koichi Sasada
08:12 PM Bug #7565: Redundant functions in ruby-additional.el
I'll handle this. Akinori MUSHA
04:03 PM Bug #8812: RSS: document more constants
Any time. :) Steve Klabnik
04:03 PM Bug #8821: Add documentation for Time#w3cdtf
Great! Do you need me to modify the patch, or is this simple enough to change as you apply it? Steve Klabnik
04:02 PM Bug #8889: Nodoc large parts of RSS
Sounds good to me. I'm not sure when I will get to it, but that makes sense. Steve Klabnik
03:17 PM Revision 43224: test/ruby: assert_raise_with_message
* test/ruby: use assert_raise_with_message Nobuyoshi Nakada
03:08 PM Revision 43223: * 2013-10-10
svn
03:08 PM Revision 43222: * numeric.c (fix_aref): avoid a possible undefined behavior.
1L << 63 on 64-bit platform is undefined, at least, according to
ISO/IEC 9899 (C99) 6.5.7.
Yusuke Endoh
02:57 PM Revision 43219: object.c: avoid inadvertent symbol creation
* object.c (id_for_attr): avoid inadvertent symbol creation. Nobuyoshi Nakada
02:53 PM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
normalperson (Eric Wong) wrote:
> "headius (Charles Nutter)" <headius@headius.com> wrote:
> > So here's the same q...
Charles Nutter
02:48 PM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
headius (Charles Nutter) wrote:
> This question applies equally to "str"f logic. I'm not sure what the answer is, be...
Charles Nutter
02:46 PM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
sam.saffron (Sam Saffron) wrote:
> @hedius
>
> What happens when a string pointer leaks out to a c extension?
...
Charles Nutter
12:01 PM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
@hedius
What happens when a string pointer leaks out to a c extension?
Sam Saffron
11:29 AM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
"headius (Charles Nutter)" <headius@headius.com> wrote:
> So here's the same question I asked in the #frozen featu...
Eric Wong
09:25 AM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
sam.saffron (Sam Saffron) wrote:
> I am actually very concerned about compiler tricks with freeze cause it leads to ...
Charles Nutter
06:56 AM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
I am actually very concerned about compiler tricks with freeze cause it leads to non-obvious code.
x = "hello".fr...
Sam Saffron
06:47 AM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
I feel like we're getting a bit off topic in this thread.
The main benefit of optimizing String#freeze is maintain...
Charlie Somerville
06:04 AM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
Yep, we can discard the accent.
The double pipe can be tricky is you want to set a frozen string as default value ...
Miguel Camba
05:35 AM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
cibernox (Miguel Camba) wrote:
> I have another idea What about wrap strings in double backquotes or accents?
>
>...
Charles Nutter
04:24 AM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
I have another idea What about wrap strings in double backquotes or accents?
"this is an interpolable string"
'this ...
Miguel Camba
02:14 PM Revision 43218: * ChangeLog; fix typos in r43170.
Tomoyuki Chikanaga
02:03 PM Bug #8993: Request for clarification on method argument binding for keyword arguments
I don't believe that's true. If I understand #8040 correctly, it's change is well summarized in comment 2:
> But, it...
Jon Zeppieri
01:53 PM Bug #9003 (Closed): Range.new on objects without <=> but with Comparable does raise SystemStackEr...
This issue was solved with changeset r43208.
Hans, thank you for reporting this issue.
Your contribution to Ruby is g...
Nobuyoshi Nakada
04:47 AM Bug #9003: Range.new on objects without <=> but with Comparable does raise SystemStackError, and ...
about JRuby ... i heard that it ignores the "rescue SystemStackError" clause ... i try to file an bug somewhere Hans Mackowiak
04:40 AM Bug #9003 (Closed): Range.new on objects without <=> but with Comparable does raise SystemStackEr...
this code causes "Segmentation fault: 11"
o1=Object.new
o1.extend(Comparable)
o2=Object.new
o2.extend(Compara...
Hans Mackowiak
01:27 PM Revision 43217: test_module.rb: quote name
* test/ruby/test_module.rb (test_bad_constants, test_invalid_attr):
encode and quote name properly.
Nobuyoshi Nakada
01:23 PM Revision 43216: fix typos
kazu
11:23 AM Feature #8998: string keys for hash literals should use fstrings
I think my failed patch exposes a bug with lazy sweep + rb_fstring.
Lazy sweep GC means the element remains in the...
Eric Wong
06:29 AM Feature #8998: string keys for hash literals should use fstrings
attaching output of "make check" and gdb backtrace Eric Wong
06:17 AM Feature #8998: string keys for hash literals should use fstrings
Proposed patch to partially implement this, but I get segfaults (backtrace/dump coming) with "make check".
There pro...
Eric Wong
09:03 AM Revision 43215: vm_method.c: preserve encoding
* vm_method.c (rb_attr): preserve encoding of the attribute ID in
error message.
Nobuyoshi Nakada
09:03 AM Revision 43214: test_inadvertent_creation.rb: fix assertion name
* test/-ext-/symbol/test_inadvertent_creation.rb: fix assertion name. Nobuyoshi Nakada
08:45 AM Revision 43213: test_inadvertent_creation.rb: use assert_not_interned?
* test/-ext-/symbol/test_inadvertent_creation.rb: use
assert_not_interned? instead assert_not_send.
Nobuyoshi Nakada
08:43 AM Revision 43212: test/unit/assertions.rb: return exception
* lib/test/unit/assertions.rb (assert_raise_with_message): return
raised exception same as assert_raise.
* test/ru...
Nobuyoshi Nakada
08:41 AM Revision 43211: test: use assert_raise
* test/ruby, test/-ext-: use assert_raise instead of assert_raises. Nobuyoshi Nakada
08:40 AM Revision 43210: string.c: mark frozen string
* string.c (rb_fstring): because of lazy sweep, str may be unmaked
already and swept at next time, so mark it for t...
Nobuyoshi Nakada
08:39 AM Revision 43209: test_tracepoint.rb: include zombies
* test/-ext-/tracepoint/test_tracepoint.rb (test_tracks_objspace_count):
free count should include zombies.
Nobuyoshi Nakada
08:31 AM misc #9006: build and host binary rubies
oh that's my bad and easy thing to fix, thanks for heads up! (I guess the binaries can be build fresh if/when Ruby de... Michal Papis
08:25 AM misc #9006: build and host binary rubies
=begin
Hello Michal,
Platform binaries is a great thing, however I noticed that your username leaked into the gen...
Luis Lavena
08:05 AM misc #9006 (Open): build and host binary rubies
I wanted to ask ruby to take back the binary rubies, currently they are maintained as part of RVM.
The build is do...
Michal Papis
07:46 AM Bug #7445: strptime('%s %z') doesn't work
So let's recap the current situation.
`Time.strptime()` has been fixed in Ruby Core, and Rubinious has fixed `strp...
Felipe Contreras
07:40 AM Bug #9005 (Closed): object.send(:define_method, ...){...} creates private method
I assume this is caused by r40022, which made define_method consider visibility. However, visibility should only be ... Jeremy Evans
07:04 AM Bug #8984: ObjectSpace.memsize_of(obj) should return with sizeof(RVALUE)
Personally I have only ever seen mention of this in http://stackoverflow.com/questions/10068018/memory-size-of-a-hash... Sam Saffron
04:53 AM Revision 43208: compar.c: fail if recursion
* compar.c (cmp_eq): fail if recursion. [ruby-core:57736] [Bug #9003]
* thread.c (rb_exec_recursive_paired_outer): n...
Nobuyoshi Nakada
04:50 AM Bug #9004: gem which command should exit with status of '1' if 1 or more gem arguments are not found
Apologies for breaking the formatting of Description.
rpm case
# rpm -q man
man-1.6f-32.el6.x86_64
# echo $...
Eugene Vilensky
04:45 AM Bug #9004 (Closed): gem which command should exit with status of '1' if 1 or more gem arguments a...
=begin
Many unix utilities exit with a code of 1 if any parts of the command fail, in particular ((%rpm%)). I belie...
Eugene Vilensky
04:27 AM Revision 43207: vm_backtrace.c: copy without creating prefix string
* vm_backtrace.c (rb_profile_frame_full_label): copy from label
directly, without creating prefix string.
Nobuyoshi Nakada
03:11 AM Revision 43206: test_require.rb: need verbose
* test/ruby/test_require.rb (test_race_exception): need $VERBOSE
setting, to emit warnings.
Nobuyoshi Nakada
02:06 AM Bug #9002 (Closed): Use simpler example for File#expand_path
Use simpler example for File#exapnd_path when start_directory path is given. Prathamesh Sonpatki
12:21 AM Revision 43205: * include/ruby/debug.h,
vm_backtrace.c (rb_profile_frame_full_label): add new C API
rb_profile_frame_full_label() which returns label with
...
Koichi Sasada
 

Also available in: Atom