Project

General

Profile

Activity

From 09/02/2014 to 09/08/2014

09/08/2014

11:20 PM Bug #10206: garbage symbols crash symbol GC
I'm looking into uses of intern_cstr_without_pindown in parse.y causing
garbage syms.

Unfortunately, I do not yet understand why we avoid pindown in parse.y
(or much of parse.y). I thought symbol GC was only to help users who
use...
normalperson (Eric Wong)
10:38 AM Bug #10206: garbage symbols crash symbol GC
Eric Wong <normalperson@yhbt.net> wrote:
> I think this may be a fix (still testing):

Nope. However, I think it takes longer in the test-all loop to
reproduce the problem.

> ```diff
> --- a/symbol.c
> +++ b/symbol.c
...
normalperson (Eric Wong)
08:38 AM Bug #10206: garbage symbols crash symbol GC
ko1@atdot.net wrote:
> At first, Symbol is VALUE and it should be marked.
> ...
Looking at this more, we may run dsymbol_check too late in
dsymbol_pindown. I think we must run dsymbol_check immediately after
looking up dynamic syms ...
normalperson (Eric Wong)
02:23 AM Bug #10206: garbage symbols crash symbol GC

At first, Symbol is VALUE and it should be marked.
So that the following code should not be allowed.
```
id = SYM2ID(garbage_sym);
```
In this case, afeter sweeping, garbage_sym becomes freed VALUE.
What happen on it?
ko1 (Koichi Sasada)
10:58 PM Feature #10185: [PATCH] iseq: free untranslated iseq->iseq at compile
> https://bugs.ruby-lang.org/issues/10185#change-48562
>
> ---Files--------------------------------
> iseq-tc-diet.patch (4.43 KB)
> iseq-iseq-diet.patch (9.54 KB)

Ping? I hope to commit these two soon.
normalperson (Eric Wong)
10:57 PM Bug #9800: Ship 2.1.2 with GC_HEAP_OLDOBJECT_LIMIT_FACTOR of 1.3
The following charts 32bit linux server with 64gb 100 puma aplications and rails 2.3.11. The first chart contains ruby 2.0, the second ruby 2.1 and the third ruby 2.1 with GC_HEAP_OLDOBJECT_LIMIT_FACTOR = 1.3.
I dispose doing tests wi...
ariveira (Alexandre Riveira)
10:30 PM Misc #10207 (Closed): [PATCH cleanup] compile.c: remove needless ID2SYM/SYM2ID conversions
Sorry for overlooking this ticket.
You are right.
Before Ruby 2.0, it should be VALUE (Symbol) because it is target of GC marking.
However, now they are not target of GC marking.
ko1 (Koichi Sasada)
10:08 PM Revision 49db57f7 (git): compile.c: remove needless SYM2ID <-> ID2SYM conversions
Needless conversions made the code harder to follow.
[misc #10207]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
08:51 PM Revision ec177aa5 (git): symbol.c (rb_intern_cstr_without_pindown): check dsymbol on return
This is not a complete fix for bug 10206, but seems to reduce
that crash and also looks correct.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
08:49 PM Bug #10212: MRI is not for lambda calculus
SASADA Koichi <ko1@atdot.net> wrote:
> Cool. Could you commit it?

Done, r47453.

I think the xcalloc was overreaching, though.

Removing redundant zero from env_alloc + rb_proc_alloc has a measurable
effect:

http://80x24.org...
normalperson (Eric Wong)
06:58 PM Bug #10212: MRI is not for lambda calculus
(2014/09/08 19:48), Eric Wong wrote:
> rb_env_t may use a flexible array, helps a little even on my busy system:
>
> http://80x24.org/misc/m/1410173063-19208-1-git-send-email-e%4080x24.org.txt

Cool. Could you commit it?

Drasti...
ko1 (Koichi Sasada)
10:59 AM Bug #10212: MRI is not for lambda calculus
rb_env_t may use a flexible array, helps a little even on my busy system:

http://80x24.org/misc/m/1410173063-19208-1-git-send-email-e%4080x24.org.txt

trunk 135.18708946416155
trunk 123.50244501209818
trunk 133.271879326086...
normalperson (Eric Wong)
08:58 AM Bug #10212: MRI is not for lambda calculus
ko1@atdot.net wrote:
> I haven't dig details, but maybe it is because of GC perforamance.
> Because Proc (and Env) objects are wb-unprotected, such objects are
> marked on every minor GC.

Right, perf says lots of calloc/free.

M...
normalperson (Eric Wong)
05:14 AM Bug #10212 (Closed): MRI is not for lambda calculus
# title is joke.
I added benchmark/bm_lc_fizzbuzz.rb which solve fizz buzz program by lambda calculus.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47447
(This program is closly described by ["Understanding ...
ko1 (Koichi Sasada)
07:38 PM Revision f7085f6b (git): * 2014-09-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:38 PM Revision 27f9e707 (git): vm_core.h (rb_env_t): use flexible array
* vm_core.h (rb_env_t): use flexible array
This reduces allocations and speeds up the lambda calculus
fizzbuzz (bm_app_lc_fizzbuzz.rb) benchmark [ruby-core:64858]
* proc.c (get_local_variable_ptr): deconst to adjust for flex array
* ...
Eric Wong
06:18 PM Feature #10211: Implement Signal.current_trap(sig)
David Rodríguez wrote:
> Disregard my previous message, I thought all traps were executed from last to first, but only last one is. I guess that's why you're implementing Multitrap, right Kyrylo?
Exactly :)
kyrylo (Kyrylo Silin)
05:57 PM Feature #10211: Implement Signal.current_trap(sig)
Disregard my previous message, I thought all traps were executed from last to first, but only last one is. I guess that's why you're implementing Multitrap, right Kyrylo? deivid (David Rodríguez)
04:54 PM Feature #10211: Implement Signal.current_trap(sig)
Nobuyoshi Nakada wrote:
> I can't get your point.
> ...
I want to get the trap defined by RSpec (and probably other gems loaded
before Multitrap that define various `trap` callbacks for other signals).
If I define a new `trap('INT'...
kyrylo (Kyrylo Silin)
02:52 PM Feature #10211: Implement Signal.current_trap(sig)
I happen to need something like this too.
I'd like to be able to override RSpec's trap somehow. For example, if someone types something in byebug or pry's prompt, we surely don't want to quit rspec but only empty the input written so ...
deivid (David Rodríguez)
08:28 AM Feature #10211: Implement Signal.current_trap(sig)
I can't get your point.
Do you want to get the previous trap defined before RSpec is loaded?
nobu (Nobuyoshi Nakada)
04:57 AM Feature #10211: Implement Signal.current_trap(sig)
Well, even monkey-patching won't help. kyrylo (Kyrylo Silin)
04:52 AM Feature #10211: Implement Signal.current_trap(sig)
Akira Tanaka wrote:
> Any problem with the return value of trap?
There's no problem with it by itself. However, there are some libraries like RSpec that use `trap`
and not store its return value: https://github.com/rspec/rspec-core/...
kyrylo (Kyrylo Silin)
03:37 AM Feature #10211 (Feedback): Implement Signal.current_trap(sig)
akr (Akira Tanaka)
03:36 AM Feature #10211: Implement Signal.current_trap(sig)
Any problem with the return value of trap?
~~~
% ruby -e '
def trap2(sig)
previous_proc = Signal.trap(sig){
previous_proc.call if previous_proc
yield
}
end
trap(:INT) { p 1 }
trap2(:INT) { p 2 }
Process.kill :I...
akr (Akira Tanaka)
03:06 AM Feature #10211 (Feedback): Implement Signal.current_trap(sig)
Here's pseudocode by ko1:
~~~
def trap2(sig)
previous_proc = Signal.current_trap(sig)
Signal.trap(sig){
previous_proc.call if previous_proc
yield
}
end

trap2(:INT){...}
~~~
## Motivation
I'm developing ...
kyrylo (Kyrylo Silin)
01:51 PM Feature #10216 (Closed): Add methods to Method and UnboundMethod classess to retrieve method instance for super
nobu (Nobuyoshi Nakada)
12:56 PM Feature #10216 (Closed): Add methods to Method and UnboundMethod classess to retrieve method instance for super
Because of ruby dynamism nature it is very usefull to check method source location directly in irb/pry by SomeClass.instance_method(:foo).source_location. Very often checked method will call super method and we also want to check this me... radarek (Radosław Bułat)
01:44 PM Feature #10214: new functions for compare of symbols in C API
If an ID has been created by pinning down with `ID2SYM`, `rb_intern` returns that ID, and ditto for `Symbol`s. nobu (Nobuyoshi Nakada)
09:55 AM Feature #10214: new functions for compare of symbols in C API
i did some testing with that if someone is interested:
~~~C
#include <ruby.h>
VALUE is_dyn(VALUE self)
{
return DYNAMIC_SYM_P(self) ? Qtrue : Qfalse;
}
VALUE check_symbol(VALUE self)
{
VALUE str = rb_sym2str(self);
I...
Hanmac (Hans Mackowiak)
09:19 AM Feature #10214: new functions for compare of symbols in C API
(2014/09/08 18:06), hanmac@gmx.de wrote:
> i need to check it, is the VALUE object the same pointer for symbols with same content? (because some might be static and the other dynamic, so == of the VALUE might not work)

did you verif...
ko1 (Koichi Sasada)
09:06 AM Feature #10214: new functions for compare of symbols in C API
i need to check it, is the VALUE object the same pointer for symbols with same content? (because some might be static and the other dynamic, so == of the VALUE might not work)
i think thats only the case if the ID object is greated fi...
Hanmac (Hans Mackowiak)
07:45 AM Feature #10214 (Feedback): new functions for compare of symbols in C API
You can do
~~~C
ID2SYM(rb_intern("name")) == sym
~~~
`rb_intern` creates a permanent ID which never changes.
nobu (Nobuyoshi Nakada)
06:57 AM Feature #10214 (Closed): new functions for compare of symbols in C API
currently i often use Symbols as enums in my bindings,
have something like this with comparing symbols by their ID
~~~C
if(SYMBOL_P(sym))
{
if(rb_intern("name") == SYM2ID(sym))
return ENUM_NAME;
}
~~~
now with dynamic...
Hanmac (Hans Mackowiak)
12:23 PM Bug #10213: bundled gems ignored by make install
a "Gem::Specification#bundled_gem?" would have been the same use case as a "Gem::Specification#default_gem?" i think ... hm currently you can remove bundled gems with "gem uninstall", i dont know if that is such a good idea because it mi... Hanmac (Hans Mackowiak)
11:27 AM Bug #10213: bundled gems ignored by make install
Hans Mackowiak wrote:
> EDIT: i forgot it might be good if there is a way to detect if a gem is installed as bundled like there is "Gem::Specification#default_gem?" for the default installed gems
Could you show us an use case when do...
kou (Kouhei Sutou)
09:30 AM Bug #10213 (Assigned): bundled gems ignored by make install
hsbt (Hiroshi SHIBATA)
07:02 AM Bug #10213: bundled gems ignored by make install
EDIT: i forgot it might be good if there is a way to detect if a gem is installed as bundled like there is "Gem::Specification#default_gem?" for the default installed gems Hanmac (Hans Mackowiak)
06:42 AM Bug #10213 (Feedback): bundled gems ignored by make install
i am often working with ruby trunk, and then i notice that
"sudo make install" does ignore the gems that got moved from
"defs/default_gems" to "gems/bundled_gems"
means gems listed in "gems/bundled_gems" toally got ignored and migh...
Hanmac (Hans Mackowiak)
08:10 AM Revision 66d09c6d (git): test_time_tz.rb: have_tz_offset?
* test/ruby/test_time_tz.rb (TestTimeTZ::Util#have_tz_offset?): append
?-suffix as a predicate method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:03 AM Revision 7a666d95 (git): test_time_tz.rb: right timezone
* test/ruby/test_time_tz.rb (has_right_tz): check if right
timezones are installed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:29 AM Feature #10215 (Open): prohibit subclassing for classes without allocator in Ruby
for the Ruby side it might be interesting if there is a way to prohibit the subclassing of classes that has no allocator like Symbol or Integer or TrueClass
but blocking it generally would break some C-Ext where it has base classes wi...
Hanmac (Hans Mackowiak)
07:17 AM Feature #8923: Frozen nil/true/false
i am unsure about toally freeze them ... some might extend/include some "Boolean" module into true/false or the TrueClass/FalseClass to specially check if a value is only true or false
i dont know if freezing this objects would break ...
Hanmac (Hans Mackowiak)
07:08 AM Revision 2a0cca3c (git): * benchmark/bm_app_lc_fizzbuzz.rb: should skip output on benchmark.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
07:08 AM Revision f5ac3ea6 (git): * benchmark/bm_app_lc_fizzbuzz.rb: `answer.to_a' does not return
a string, but an array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
06:47 AM Bug #8315: mkmf does not include include paths from pkg_config anymore
have somone time to fix that?
currently it still does needed to fix it by myself to get the gems working
Hanmac (Hans Mackowiak)
04:23 AM Revision 8d498680 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:22 AM Revision 628dac10 (git): * benchmark/bm_app_lc_fizzbuzz.rb: added.
This program is described closely in "Understanding Computation"
chapter 6 by Tom Stuart. <http://computationbook.com/>
Japanese translation will be published soon.
<http://www.oreilly.co.jp/books/9784873116976/>
git-svn-id: svn...
ko1 (Koichi Sasada)
04:11 AM Feature #10137 (Closed): Introducing Incremental GC algorithm
Applied in changeset r47444.
----------
* gc.c: add incremental GC algorithm. [Feature #10137]
Please refer this ticket for details.
This change also introduces the following changes.
* Remove RGENGC_AGE2_PROMOTION and introduce o...
ko1 (Koichi Sasada)
04:11 AM Revision c6da45b7 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:11 AM Revision 765ad358 (git): * 2014-09-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:11 AM Revision 123eeb1c (git): * gc.c: add incremental GC algorithm. [Feature #10137]
Please refer this ticket for details.
This change also introduces the following changes.
* Remove RGENGC_AGE2_PROMOTION and introduce object age (0 to 3).
Age can be count with FL_PROMOTE0 and FL_PROMOTE1 flags in
RBasic::fla...
ko1 (Koichi Sasada)

09/07/2014

11:42 PM Feature #10177: Hash#has_key? and Hash#has_value? should be deprecated
I agree with First Last that has_key? is better than key? from an English readability standpoint. Not knowing the history but being aware of both methods, I've always used has_key? instead of key? for that reason.
In my opinion, the ...
jeremyevans0 (Jeremy Evans)
08:33 PM Feature #10177: Hash#has_key? and Hash#has_value? should be deprecated
in the interest of maximizing the English readability and sensibility (self documentability) of predicates, it is key? that should be deprecated.
when you have an instance method predicate in the form receiver.noun? this reads in Engl...
rits (First Last)
07:47 PM Bug #10210 (Closed): LDSHARED and LDSHAREDXX set to null ('')
While attempting to build Ruby on custom linux setup versions from 1.9.3-p547 to 2.1.2 fail to build, setting `LDSHARED` to "gcc -shared" and `LDSHAREDXX` to "g++ -shared" kind of sorted the problem but I still see some messages in the b... smil3y (Ivailo Monev)
03:47 AM Revision e6368921 (git): * process.c: PTHREAD_CANCEL_DISABLE is not defined on Android.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:04 AM Revision a179d0d2 (git): configure.in: use ac_cv_func_vfork
* configure.in (ac_cv_func_vfork): ac_cv_func_vfork_works is
overridden always.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:57 AM Revision ed0a7d46 (git): process.c: disable vfork on OS X
* process.c (retry_fork_async_signal_safe): revert r47439 but
disable use of vfork on OS X instead, as it cause hang-up at
test_process.rb:test_deadlock_by_signal_at_forking with parallel
test.
git-svn-id: svn+ssh://ci.ruby-lang.o...
nobu (Nobuyoshi Nakada)
01:10 AM Revision cd99e0f2 (git): * 2014-09-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:10 AM Revision e81a0d8f (git): process.c: vfork may not work with pthread
* process.c (retry_fork_async_signal_safe): vfork may not work
with pthread always even if fork works with it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

09/06/2014

11:26 PM Bug #10209: attr_reader vulnerability
And, when you wonder if it is a vulnerability, please feel free to post to security@ruby-lang.org, instead of an issue here. nobu (Nobuyoshi Nakada)
11:19 PM Bug #10209 (Rejected): attr_reader vulnerability
A spec. nobu (Nobuyoshi Nakada)
09:10 PM Bug #10209: attr_reader vulnerability
mmm I think IMHO that the attr_reader accessor should return a .dub version of the object. That way there will be no chance to edit the class attribute on a read action. crojas (Carlos Luis Rojas Aragonés)
08:18 PM Bug #10209: attr_reader vulnerability
This isn't a vulnerability, it's expected behavior. If you don't want to allow modification of an object, freeze the object. jeremyevans0 (Jeremy Evans)
08:11 PM Bug #10209: attr_reader vulnerability
Output:
~~~
"Original atributes:"
"-------------------------"
"value"
[1, 2, 3, 4]
{:name=>"Carlos", :age=>25}
"-------------------------"
"After Hacking attributes:"
"-------------------------"
""
[]
{}
"-----------------...
crojas (Carlos Luis Rojas Aragonés)
08:08 PM Bug #10209 (Rejected): attr_reader vulnerability
It is possible to change a read_only class attribute:
~~~ruby
require 'pp'
class Attributes
attr_reader :string, :array, :hash
def initialize
@string = 'value'
@array = [1, 2, 3, 4]
@hash = { name: 'Carlos', age...
crojas (Carlos Luis Rojas Aragonés)
10:20 PM Bug #10206: garbage symbols crash symbol GC
nobu@ruby-lang.org wrote:
> Or revert `dsymbol_check()`?

But we need to replace with rb_gc_resurrect, right?

I tried http://80x24.org/10206/resurrect.patch but test-all loop
failed with:
http://80x24.org/10206/resurrect-gdb-bt...
normalperson (Eric Wong)
11:12 AM Bug #10206: garbage symbols crash symbol GC
Or revert `dsymbol_check()`? nobu (Nobuyoshi Nakada)
03:59 AM Bug #10206 (Closed): garbage symbols crash symbol GC
This is reproducible with just a test loop running for serveral minutes/hours:
while make test-all TESTS=-j8; do :; done
It looks like SYM2ID/rb_sym2id interacts badly with dsymbol_check
when it encounters garbage objects.
dsy...
normalperson (Eric Wong)
04:14 PM Feature #7793: New methods on Hash
An issue with the name is that "map" semantically means to create an Array, i.e.`ahash.map{ |k,v| ... }` produces an Array. So `map_keys` would make sense to mean `ahash.map_keys{ |k| ... }` and produce an Array too. `Hash#map_pair` woul... trans (Thomas Sawyer)
12:14 PM Feature #10208: Passing block to Enumerable#to_h
I agree with Nobu.
Matz.
matz (Yukihiro Matsumoto)
11:16 AM Feature #10208: Passing block to Enumerable#to_h
The name `to_h` doesn't feel nice for it, IMHO. nobu (Nobuyoshi Nakada)
04:25 AM Feature #10208 (Closed): Passing block to Enumerable#to_h
Now that we can convert 'a list of [key, value] pairs' into a hash with Enumerable#to_h,
how about make it take a block to specify 'how to convert each element into a [key, value] pair'?
Example:
~~~
# Convert users into an {id ...
yhara (Yutaka HARA)
12:08 PM Revision 11a8187b (git): * process.c (has_privilege): The gid zero is not a privilege.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:20 AM Revision 42becbdd (git): * process.c (struct child_handler_disabler_state): cancelstate field
added.
(disable_child_handler_before_fork): Record cancelstate.
(disable_child_handler_fork_parent): Restore cancelstate.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:27 AM Revision 3de392de (git): * process.c (struct child_handler_disabler_state): Defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
09:31 AM Revision 463b5603 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:31 AM Revision ac231ef2 (git): * append newline at EOF.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:31 AM Revision f6d2b485 (git): * lib/rake.rb, lib/rake/*, test/rake/*: Update latest rake master(e47d023)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
07:52 AM Revision 6057695c (git): * ext/win32ole/win32ole_variant.c (ole_val2variant_err,
ole_val2variantdata, Init_win32ole_variant): support VT_ERROR
variant with error code. add WIN32OLE_VARIANT::NoParam.
* test/win32ole/test_win32ole_variant.rb(test_c_noparam,
test_vt_error_noparam): ditto.
* ext/win32ole/win32ole.c: ...
suke (Masaki Suketa)
04:05 AM Misc #10207 (Closed): [PATCH cleanup] compile.c: remove needless ID2SYM/SYM2ID conversions
Needless conversions made the code harder to follow.
Will commit in a few days unless there's objections.
normalperson (Eric Wong)
02:08 AM Bug #10204 (Closed): A little bit misleading warning message
Applied in changeset r47431.
----------
parse.y: fix warning message
* parse.y (arg_ambiguous_gen): fix warning message, "even" does
not mean the number of spaces here. state the place to put a
space and the operator. [ruby-core:...
nobu (Nobuyoshi Nakada)
02:08 AM Revision 3fd37d08 (git): parse.y: fix warning message
* parse.y (arg_ambiguous_gen): fix warning message, "even" does
not mean the number of spaces here. state the place to put a
space and the operator. [ruby-core:64790] [Bug #10204]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
nobu (Nobuyoshi Nakada)
12:14 AM Revision c79117f6 (git): * 2014-09-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@47430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:14 AM Revision 779fa960 (git): Backport r47425
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@47429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
12:12 AM Revision 7fdb955c (git): Backport r47425
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@47428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
12:08 AM Revision 247d8312 (git): Bump patch level from r47426
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@47427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
12:04 AM Revision 25552e2a (git): Backport r47425
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@47426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)

09/05/2014

11:46 PM Revision f0ee1e67 (git): * lib/rdoc/generator/template/darkfish/js/jquery.js: Backport
rdoc/rdoc@74f60fcb04fee1778fe2694d1a0ea6513f8e67b7
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
11:45 PM Revision c54e8cab (git): process.c: missing semicolon
* process.c (rb_exec_without_timer_thread): add missing semicolon
to fix compilation error on OS X and Haiku.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:11 PM Revision f4ed799b (git): test/ruby/test_io.rb: use IO#nonblock=
* test/ruby/test_io.rb (test_readpartial_locktmp): use IO#nonblock=
Old fcntl invocation may drop necessary flags on some platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
10:59 PM Bug #10205 (Third Party's Issue): Abort trap: 6You may have encountered a bug in the Ruby interpreter or extension libraries.
You mix 1.9.3 by rvm and system 2.0.0. nobu (Nobuyoshi Nakada)
02:18 PM Bug #10205 (Third Party's Issue): Abort trap: 6You may have encountered a bug in the Ruby interpreter or extension libraries.
* Loaded script: script/rails
~~~
Completed 302 Found in 210ms (ActiveRecord: 0.4ms)
/Library/Ruby/Site/2.0.0/chartdirector.rb:32: [BUG] Segmentation fault
ruby 2.0.0p451 (2014-02-24 revision 45167) [universal.x86_64-darwin13]
~~~...
bjorn (Björn Ekenvall)
10:49 PM Revision c3c1d6c6 (git): test/ruby/test_io.rb: avoid EBADF
* test/ruby/test_io.rb (test_readpartial_locktmp): avoid EBADF
[ruby-core:64773] [ruby-core:64775]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
06:30 PM Bug #10202: TestBenchmark#test_realtime_output breaks on ARM
v.ondruch@tiscali.cz wrote:
> This is the result with patch applied:

Sorry, I meant to ask whether removing _RAW support fixes the
original test case for you.
normalperson (Eric Wong)
08:48 AM Bug #10202: TestBenchmark#test_realtime_output breaks on ARM
This is the result with patch applied:
http://paste.fedoraproject.org/131177/90664414
vo.x (Vit Ondruch)
04:36 PM Revision 31468275 (git): * process.c (rb_f_exec): Call before_exec_async_signal_safe and
after_exec_async_signal_safe around rb_exec_async_signal_safe.
(rb_exec_async_signal_safe): Don't call
before_exec_async_signal_safe and after_exec_async_signal_safe.
(rb_exec_without_timer_thread): Call before_exec and
after_exe...
akr (Akira Tanaka)
04:10 PM Revision 2942657a (git): Unwrap a useless block.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
04:01 PM Bug #10101: Zlib::GzipReader produce different outputs for different methods applied
Thank you Eric! It is a great insight.
Backported into `ruby_2_1` at r47419.
nagachika (Tomoyuki Chikanaga)
03:58 PM Revision c44e4364 (git): merge revision(s) r47327: [Backport #10008]
* ext/zlib/zlib.c (gzfile_reset): preserve ZSTREAM_FLAG_GZFILE
[Bug #10101]
* test/zlib/test_zlib.rb (test_rewind): test each_byte
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@47419 b2dd03c8-39d4-4d8...
nagachika (Tomoyuki Chikanaga)
03:56 PM Bug #10008: conftest crashed: installing mri 2.1.2: EXC_BAD_ACCESS (SIGABRT)
Backported into `ruby_2_1` branch at r47418. nagachika (Tomoyuki Chikanaga)
03:55 PM Revision ea08099e (git): merge revision(s) r46796: [Backport #10008]
* configure.in (rb_cv_broken_backtrace): exit with failure
normally, no needs to abort. [ruby-core:63678] [Bug #10008]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@47418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
03:54 PM Bug #9372: Date function cweek reports innaccurately for the date December 30, 2013
Nobuyoshi Nakada wrote:
> This is a repeated question, so it feels nice to add examples.
Even though this is a closed issue, I am seeing the same issue for the years 2018 and 2019:
```
$> date = Date.new(2018,12,31)
=> #<Date: 2018-12-...
esaari (Eric Saari)
03:50 PM Revision 99acd378 (git): * signal.c (ruby_signal): Don't set SA_SIGINFO for SIG_IGN and
SIG_DFL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:41 PM Bug #10043: Crash Report log file on MacOS X
Backported into `ruby_2_1` branch at r47416. nagachika (Tomoyuki Chikanaga)
03:41 PM Revision 0f1fb3d6 (git): merge revision(s) r44916: [Backport #10043]
error.c: Crash Report log
* error.c (REPORTBUG_MSG): mention about Crash Report log file on
MacOS X.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@47416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
03:15 PM Bug #9525: Stuck with Socket.pack_sockaddr_in
r45046, r45047, r45063, r45087, r45146, r45150, r45151 and r45152 were backported into `ruby_2_1` branch at r47415. nagachika (Tomoyuki Chikanaga)
02:54 PM Bug #9525: Stuck with Socket.pack_sockaddr_in
I have confirmed that this issue is already fixed.
https://twitter.com/sonots/status/507804708153483264
Add related commits: r45146
nagachika (Tomoyuki Chikanaga)
03:14 PM Revision 667af1ee (git): merge revision(s) r45046,r45047,r45063,r45087,r45146,r45150,r45151,r45152: [Backport #9525]
* ext/socket: Wrap struct addrinfo by struct rb_addrinfo.
* ext/socket: Bypass getaddrinfo() if node and serv are numeric.
Reporeted by Naotoshi Seo. [ruby-core:60801] [Bug #9525]
* ext/socket/extconf.rb: Det...
nagachika (Tomoyuki Chikanaga)
03:04 PM Revision d1f332d1 (git): * 2014-09-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:03 PM Revision 2f188ee7 (git): Fix typo and method name [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:46 PM Revision 0610a859 (git): * process.c (disable_child_handler_before_fork): New function.
(disable_child_handler_fork_parent): Ditto.
(disable_child_handler_fork_child): Ditto.
(retry_fork_async_signal_safe): Call above functions to disable
signal handlers in child process.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
akr (Akira Tanaka)
12:03 PM Revision 01689aa9 (git): * process.c (handle_fork_error): Make try_gc_p argument volatile to
suppress "clobbered" warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:49 AM Revision 5e42cc30 (git): * process.c (handle_fork_error): Don't need state_p argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:36 AM Revision 4eed59e6 (git): * process.c (has_privilege): Fix a return value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:07 AM Bug #10204 (Closed): A little bit misleading warning message
~~~
ruby -we "''.scan //"
~~~
warns "-e:1: warning: ambiguous first argument; put parentheses or even spaces".
Despite ruby indicates me to put spaces there, I actually couldn't stop ruby warning no matter how much spaces I put there...
matsuda (Akira Matsuda)
10:00 AM Bug #10155 (Closed): lib/shellwords.rb: proofreading documentation
Applied in changeset r47408.
----------
* lib/shellwords.rb: proofreading documentation.
[Bug #10155][ruby-core:64471]
hsbt (Hiroshi SHIBATA)
10:00 AM Revision 925ac7ad (git): * lib/shellwords.rb: proofreading documentation.
[Bug #10155][ruby-core:64471]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
09:37 AM Revision 1ffb9ba0 (git): * ChangeLog: added reference to github
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
09:34 AM Revision 7e3b185a (git): * test/csv/test_row.rb: Added some missing tests in CSV.
* test/csv/test_table.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
09:12 AM Bug #10203: TCPServer.new has strange behaviour when EADDRINUSE without specifying hostname
Also, a colleague using Arch Linux checked (using the same Ruby version). He doesn't have IPv6 enabled.
And he also got the "TypeError: no implicit conversion of nil into String" exception instead of the Errno::EADDRINUSE one.
lucas (Lucas Nussbaum)
07:25 AM Bug #10203: TCPServer.new has strange behaviour when EADDRINUSE without specifying hostname
that was from the Debian package indeed. I haven't rebuilt Ruby from source. The Debian package does not carry any Debian-specific patch at the moment. You cannot reproduce it? lucas (Lucas Nussbaum)
07:07 AM Bug #10203: TCPServer.new has strange behaviour when EADDRINUSE without specifying hostname
I know you was Debian porter, but show the actual ruby -v naruse (Yui NARUSE)
05:35 AM Feature #9826: Enumerable#slice_between
I'm grad to see an acceptable name.
Non-block form can be used to split paragraphs (sequence of non-empty lines
with trailing empty lines), for example.
~~~
% ruby -e '
lines = ["foo\n", "bar\n", "\n", "baz\n", "\n", "\n", "qux\...
akr (Akira Tanaka)
05:10 AM Bug #10127: WIN32OLE segfaults
backported into `ruby_2_0_0` at r47405. usa (Usaku NAKAMURA)
05:10 AM Revision cd171e48 (git): merge revision(s) 47153: [Backport #10127]
* ext/win32ole/win32ole.c (ole_create_dcom): use the converted
result if the argument can be converted to a string, to get rid
of invalid access. Thanks to nobu. [ruby-dev:48467] [Bug #10127]
git-svn-id: svn+ssh://c...
U.Nakamura
05:05 AM Bug #9946: [Win32] redirection doesn't support non-codepage
backported into `ruby_2_0_0` at r47404. usa (Usaku NAKAMURA)
05:05 AM Revision 2e86a92b (git): merge revision(s) 46441: [Backport #9946]
* process.c (open): use UTF-8 version function to support
non-ascii path properly. [ruby-core:63185] [Bug #9946]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@47404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
04:54 AM Bug #10117: Invalid char does not cause syntax error in eval
backported into `ruby_2_0_0` at r47403. usa (Usaku NAKAMURA)
04:54 AM Revision b7a34106 (git): merge revision(s) 47098: [Backport #10117]
* parse.y (parser_yylex): fix invalid char in eval, should raise
an syntax error too, as well as directly coded.
[ruby-core:64243] [Bug #10117]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@47403 b...
U.Nakamura
04:52 AM Bug #10114: syntax error raised from instance_eval has unexpected encoding
backported into `ruby_2_0_0` at r47402. usa (Usaku NAKAMURA)
04:52 AM Revision 98e5eb6f (git): merge revision(s) 47090: [Backport #10114]
* parse.y (parser_yyerror): preserve source code encoding in
syntax error messages. [ruby-core:64228] [Bug #10114]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@47402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
04:50 AM Bug #10078: String#count() returns wrong count under specific conditions
backported into `ruby_2_0_0` at r47401. usa (Usaku NAKAMURA)
04:50 AM Revision fc47ac27 (git): merge revision(s) 46896-46898: [Backport #10078]
* string.c (rb_str_count): fix wrong single-byte optimization.
7bit ascii can be a trailing byte in Shift_JIS.
[ruby-dev:48442] [Bug #10078]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@47401 b2dd...
U.Nakamura
04:42 AM Bug #8716: segmation fault 正規表現で大量のグループを利用時
遅ればせながら `ruby_2_0_0` にも取り込みました。ありがとうございます。 usa (Usaku NAKAMURA)
04:42 AM Revision cad94dbe (git): merge r46831 partially. these changes are from:
https://github.com/k-takata/Onigmo/commit/7abd7b29481f98eb92be786e3d33611fc7d000a0
[Bug #8716]
* include/ruby/oniguruma.h (ONIG_MAX_CAPTURE_GROUP_NUM,
ONIGERR_TOO_MANY_CAPTURE_GROUPS): add cheking the number of capture
groups.
* re...
U.Nakamura
04:25 AM Bug #9934: High memory usage from file_expand_path_*
backported into `ruby_2_0_0` at r47399.
note: ruby 2.0.0 doesn't recognize the length of the teminator of the string's encoding.
usa (Usaku NAKAMURA)
04:23 AM Revision b9e63060 (git): merge revision(s) 46408,46410,46413,46414,46424,46436,46437: [Backport #9934]
string.c: shrink too big buffer
* string.c (rb_str_resize): shrink the buffer even if new length
is same but it is enough smaller than the capacity.
* file.c (expand_path): shrink expanded path which no longer needs
...
U.Nakamura
03:58 AM Revision 192c3953 (git): * process.c (has_privilege): Refine uid/gid check.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:55 AM Feature #10181: New method File.openat()
May be it is not a best option, but just to be considered:
~~~
d1 = Dir.open('d1') => aDir
d2 = d1.opendir('subdir') => aDir relative to d1
file = d2.open('file') => aFile relative to d2
d1.rename_at("foo", d2,"bar")
Dir::AT_FDCW...
funny_falcon (Yura Sokolov)
03:43 AM Revision 82d85fe4 (git): * configure.in: Check sys/id.h, getuidx and getgidx for AIX.
* process.c (getresuid): Defined for AIX.
(getresgid): Ditto
AIX don't have getresuid/getresgid but getuidx/getgidx.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:28 AM Revision 2cf2d7ee (git): * process.c (has_privilege): Fix assignements.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:10 AM Revision 8fada420 (git): * lib/rdoc/generator/pot/po.rb: fixed broken tests for trailing whitespace.
* test/rdoc/test_rdoc_generator_pot.rb: ditto.
* test/rdoc/test_rdoc_generator_pot_po.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
01:41 AM Revision cf0a8d28 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:41 AM Revision ce18f59a (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:41 AM Revision bf095117 (git): * test/rdoc/test_rdoc_rdoc.rb (TestRDocRDoc#test_parse_file_encoding):
typofix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
01:41 AM Revision d42d6e69 (git): * lib/rdoc.rb, lib/rdoc, test/rdoc: Update to RDoc 4.2.0.alpha(313287)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)

09/04/2014

09:28 PM Feature #10096: [PATCH] use khash for fstring and id_str tables
updated patch:
* khash.h moved to top-level, klib/ removed
* updated for recent fstring-related changes in string.c
normalperson (Eric Wong)
09:05 PM Revision 670c6e8c (git): vm.c: remove unused USE_THREAD_RECYCLE [misc #10198]
Unused feature, and it is a no-op even if enabled.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
08:59 PM Bug #10193: TestIO#test_readpartial_locktmp fails randomly
Eric Wong <normalperson@yhbt.net> wrote:
> Testing the following:

Sorry, bad patch. The big rescue/ensure clauses was hiding bugs.

The problem is th.stop? happens twice:

1) release GVL for read() => EAGAIN
2) release GVL f...
normalperson (Eric Wong)
08:38 PM Bug #10193: TestIO#test_readpartial_locktmp fails randomly
nobu@ruby-lang.org wrote:
> Applied in changeset r47353.
>
> ----------
> test_io.rb: ignore stream closed IOError
>
> * test/ruby/test_io.rb (test_readpartial_locktmp): stream closed
> IOError while reading is not a matter. ...
normalperson (Eric Wong)
07:23 PM Bug #10194: OpenStruct does not throw an exception when calling missing method with no arguments.
Thanks for mentioning Hashie gem. It does exactly what I need. alex-pub.ruby-bugs@reflexion.net (Alex Pogrebnyak)
05:12 PM Bug #10202: TestBenchmark#test_realtime_output breaks on ARM
v.ondruch@tiscali.cz wrote:
> http://paste.fedoraproject.org/130924/14098270/
~~~
1144. 22470 clock_gettime(CLOCK_MONOTONIC_RAW, {18856, 134154424}) = 0 <0.000039>
<snip>
1152. 22470 clock_gettime(CLOCK_MONOTONIC_RAW, {18857, 1351...
normalperson (Eric Wong)
10:38 AM Bug #10202: TestBenchmark#test_realtime_output breaks on ARM
> Just curious, can you show strace with Benchmark.realtime {} wrapped
> ...
http://paste.fedoraproject.org/130924/14098270/
vo.x (Vit Ondruch)
08:48 AM Bug #10202: TestBenchmark#test_realtime_output breaks on ARM
v.ondruch@tiscali.cz wrote:
> http://paste.fedoraproject.org/130884/81461414/

So I think everything looks right with FUTEX_WAIT_BITSET_PRIVATE
taking > 1.0s according to strace.

And your CLOCK_MONOTONIC output seems about right,...
normalperson (Eric Wong)
07:12 AM Bug #10202: TestBenchmark#test_realtime_output breaks on ARM
> The real bug might be a timer firing too soon.
> ...
http://paste.fedoraproject.org/130884/81461414/
vo.x (Vit Ondruch)
04:41 PM Revision f0b12c04 (git): Describe about vfork().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:54 PM Feature #9880 (Closed): Dir#fileno
Applied in changeset r47387.
----------
* configure.in (dirfd): Check function.
* dir.c (dir_fileno): New method.
[ruby-dev:48265] [Feature #9880]
akr (Akira Tanaka)
11:09 AM Feature #9880: Dir#fileno
Dir#fileno accepted. But we have to address portability issues in the document.
Matz.
matz (Yukihiro Matsumoto)
03:54 PM Revision 4d59fd10 (git): * 2014-09-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:54 PM Revision d03315d8 (git): * configure.in (dirfd): Check function.
* dir.c (dir_fileno): New method.
[ruby-dev:48265] [Feature #9880]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:20 PM Bug #10203 (Closed): TCPServer.new has strange behaviour when EADDRINUSE without specifying hostname
after:
irb(main):003:0> TCPServer::new(10001)
=> #<TCPServer:fd 9>
I get irb listening to port 10001 using IPv4, but not IPv6:
tcp 0 0 0.0.0.0:10001 0.0.0.0:* LISTEN 1000 376068 24437/irb
a se...
lucas (Lucas Nussbaum)
03:07 PM Feature #9826: Enumerable#slice_between
I prefer #slice_when. Besides that, could you explain the behavior when no block is given?
#slice_when might not suitable for that calling pattern. But maybe we don't need that.
Matz.
matz (Yukihiro Matsumoto)
12:08 PM Feature #9826: Enumerable#slice_between
~~~
[1,2,4,9,10,11,12,15,16,19,20,21].slice_when {|i, j| i+1 != j}
~~~
mrkn (Kenta Murata)
02:56 PM Revision f20d51b0 (git): * process.c (has_privilege): New function.
(retry_fork_async_signal_safe): Don't use vfork() for privileged
process.
* configure.in (getresuid): Check function.
(getresgid): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:54 PM Bug #10043 (Closed): Crash Report log file on MacOS X
I close this ticket because it's already committed into trunk. nagachika (Tomoyuki Chikanaga)
11:27 AM Feature #8923: Frozen nil/true/false
I agreed with making those values, if no significant comparability problem happens.
Please experiment.
Matz.
matz (Yukihiro Matsumoto)
11:22 AM Revision d80282ee (git): * test/pathname/test_pathname.rb: added testcase for Pathname#mountpoint.
[fix GH-709]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
11:19 AM Feature #10200 (Closed): Symbol list/count API with Symbol GC
matz (Yukihiro Matsumoto)
11:00 AM Feature #10200: Symbol list/count API with Symbol GC
This request is bit vague.
As a result of the developers meething on 2014-09-04, we will:
* keep Symbol.all_symbols as it is.
* remove Symbol.find(name).
Matz.
matz (Yukihiro Matsumoto)
11:18 AM Feature #9816: 文字列内の数字を数値として比較するメソッド
熟考の結果、Gem::Versionと仕様をあわせました。
理由は、
* Gem::Versionでこれを使ってくれればオブジェクトの生成数が減る
* 2.2.0-preview1のようなRubyのバージョンの比較ができる
からです。
順序のイメージは Prereleases sort between real releases (newest to oldest) のような感じです
1. 1.0
2. 1.0.b1
3. 1.0.a.2
4....
naruse (Yui NARUSE)
11:17 AM Feature #10201 (Rejected): Dynamically changing GC tuning parameters
After the discussion in the developers meeting on 2014-09-04, we concluded this request may conflict with future adaptive GC. So we reject this for the time being.
Matz.
matz (Yukihiro Matsumoto)
11:11 AM Revision b549ced9 (git): * removed symbian directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
11:09 AM Feature #10199 (Closed): Drop to support Symbian
Applied in changeset r47383.
----------
* symbian/*: removed Symbian support.
[Feature #10199][ruby-core:64725]
* dln.c: ditto.
* include/ruby/defines.h: ditto.
* thread_pthread.c: ditto.
* vm.c: ditto.
hsbt (Hiroshi SHIBATA)
10:26 AM Feature #10199: Drop to support Symbian
Agreed to remove.
Matz.
matz (Yukihiro Matsumoto)
11:09 AM Revision 8362f9b5 (git): * symbian/*: removed Symbian support.
[Feature #10199][ruby-core:64725]
* dln.c: ditto.
* include/ruby/defines.h: ditto.
* thread_pthread.c: ditto.
* vm.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
08:50 AM Revision 68f55c4b (git): * dir.c (glob_helper): use #ifdef instead of #if.
gcc's -Wundef option shows warning for undefined macro.
* numeric.c (flo_is_finite_p): ditto.
* vm_dump.c (rb_vmdebug_thread_dump_state): ditto.
* vm_core.h: define VM_DEBUG_VERIFY_METHOD_CACHE to 0.
git-svn-id: svn+ssh://ci.ruby-lang...
ko1 (Koichi Sasada)
05:40 AM Feature #10173: Remove meaningless ensure
@ Tomoyuki Chikanaga san
Thank you for letting me know.
I have reported to "https://github.com/rubygems/rubygems/" as you said.
https://github.com/rubygems/rubygems/pull/1003
Thanks, gogo.
gogotanaka (Kazuki Tanaka)

09/03/2014

07:40 PM Bug #9115: Logger traps all exceptions; breaks Timeout
The source code for 2.1.2 doesn't seem to have changed: the LogDevice::write method still does a rescue Exception and ignores the result.
Our application ran into this problem when one thread raises an exception in another thread that's...
wpaulson (Bill Paulson)
06:58 PM Revision 1e55b27e (git): * 2014-09-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:58 PM Revision 1540b1fe (git): man/ruby.1: spelling fix ("bellow" => "below") [ci-skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eric Wong
06:58 PM Revision 3c9e195f (git): man/ruby.1: add trailing slash to URLs [ci-skip]
URLs without path component needs trailing slash.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
05:59 PM Bug #10202: TestBenchmark#test_realtime_output breaks on ARM
v.ondruch@tiscali.cz wrote:
> I observe following error on ARM:
>
> ~~~
> 3) Failure:
> TestBenchmark#test_realtime_output [/builddir/build/BUILD/ruby-2.2.0-r47372/test/benchmark/test_benchmark.rb:159]:
> Expected 1.0 to be < 0...
normalperson (Eric Wong)
01:55 PM Bug #10202 (Closed): TestBenchmark#test_realtime_output breaks on ARM
I observe following error on ARM:
~~~
3) Failure:
TestBenchmark#test_realtime_output [/builddir/build/BUILD/ruby-2.2.0-r47372/test/benchmark/test_benchmark.rb:159]:
Expected 1.0 to be < 0.999977873172611.
~~~
It seems to be i...
vo.x (Vit Ondruch)
03:48 PM Bug #10062: Segfault involving Queue
Backported into `ruby_2_1` branch at r47378. nagachika (Tomoyuki Chikanaga)
03:47 PM Revision aac5c2c7 (git): merge revision(s) r47217: [Backport #10062]
* ext/thread/thread.c (get_array): check instance variables are
initialized properly. [ruby-core:63826][Bug #10062]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@47378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
03:30 PM Bug #10039: "a+" mode for File.open doesn’t work
Backported into `ruby_2_1` branch at r47377. nagachika (Tomoyuki Chikanaga)
03:29 PM Revision 17fc590e (git): merge revision(s) r46876: [Backport #10039]
* io.c (rb_io_initialize): [DOC] fix rdoc of append mode. it does
not move the pointer at open. [ruby-core:63747] [Bug #10039]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@47377 b2dd03c8-39d4-4d8f-98ff-823f...
nagachika (Tomoyuki Chikanaga)
03:26 PM Bug #9982: Kernel#sprintf: unmbered widht and precision with numbered argument
Backported into `ruby_2_1` branch at r47376. nagachika (Tomoyuki Chikanaga)
03:25 PM Revision f909bee1 (git): merge revision(s) r46569: [Backport #9982]
* sprintf.c (GETASTER): should not use the numbered argument to be
formatted, raise ArgumentError instead.
[ruby-dev:48330] [Bug #9982]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@47376 b2dd03c8-39...
nagachika (Tomoyuki Chikanaga)
03:21 PM Bug #9984: OpenSSL::TestPKeyRSA#test_sign_verify_memory_leak timeouts on ARM
Backported into `ruby_2_1` branch at r47375. nagachika (Tomoyuki Chikanaga)
02:33 AM Bug #9984 (Closed): OpenSSL::TestPKeyRSA#test_sign_verify_memory_leak timeouts on ARM
Applied in changeset r47362.
----------
* test/openssl/test_pkey_rsa.rb (OpenSSL#test_sign_verify_memory_leak):
added timeout into testcase for low performance environment.
[Bug #9984][ruby-core:63367]
hsbt (Hiroshi SHIBATA)
03:21 PM Revision f28cfce8 (git): merge revision(s) r47362: [Backport #9984]
* test/openssl/test_pkey_rsa.rb (OpenSSL#test_sign_verify_memory_leak):
added timeout into testcase for low performance environment.
[Bug #9984][ruby-core:63367]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/...
nagachika (Tomoyuki Chikanaga)
02:55 PM Feature #10181: New method File.openat()
The proposed Dir api must provide a way to open both files and directories in order to be useful.
New proposal:
d1 = Dir.open('d1') => aDir
d2 = d1.open('subdir') => aDir relative to d1
file = d2.open_file('file') => aFile relati...
technorama (Technorama Ltd.)
09:29 AM Feature #10181: New method File.openat()
akr@fsij.org wrote:
> We should consider other *at functions, as well as openat.
>
> renameat and linkat takes two file descriptors to specify directories.
> Also, they may be a special value, AT_FDCWD.
>
> How do we map
> rena...
normalperson (Eric Wong)
07:46 AM Feature #10181: New method File.openat()
We should consider other *at functions, as well as openat.
renameat and linkat takes two file descriptors to specify directories.
Also, they may be a special value, AT_FDCWD.
How do we map
renameat(AT_FDCWD, "foo", newfd, "bar") ...
akr (Akira Tanaka)
07:31 AM Feature #10181: New method File.openat()
> But I think we should use Dir.open instead of File.open/File.new for
> ...
Totally agree: it is reasonable to add methods to Dir object for manipulating files relative to directory
funny_falcon (Yura Sokolov)
06:20 AM Feature #10181: New method File.openat()
We already have opendir (in the form of Dir.open), so would
Dir.at would be an alias of Dir.open?

I do not like aliases since they makes reading/searching code harder.

But I think we should use Dir.open instead of File.open/File....
normalperson (Eric Wong)
04:58 AM Feature #10181: New method File.openat()
If you can reuse result of `opendir(dirname)` why you couldn't reuse result
of `Dir.at(dirname)` ?
29.08.2014 11:55 пользователь "Eric Wong" <normalperson@yhbt.net> написал:

> Joel VanderWerf <joelvanderwerf@gmail.com> wrote:
> > ...
funny_falcon (Yura Sokolov)
02:36 PM Feature #10201: Dynamically changing GC tuning parameters
Do you mean you gave up adaptive GC parameters?
Matz.
matz (Yukihiro Matsumoto)
09:39 AM Feature #10201 (Rejected): Dynamically changing GC tuning parameters
Now, MRI has several GC tuning parameters to modify GC behavior given by environment variables. However, these parameters can not be changed after launched.
We can change these parameter in runtime.
For example, mruby provides some m...
ko1 (Koichi Sasada)
10:23 AM Revision 777d61fa (git): * process.c (before_fork_ruby): Renamed from before_fork.
(after_fork_ruby): Renamed from after_fork.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
09:56 AM Revision ed0f2528 (git): * process.c (forked_child): Removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
09:23 AM Feature #10096: [PATCH] use khash for fstring and id_str tables
Sorry for delay.
I read your patch, and I'm not sure it is good idea to make klib directory.
This is only one thing I'm afraid.
ko1 (Koichi Sasada)
09:19 AM Feature #10197: document RUBY_* stack size/GC params in ruby.1 manpage
Most of environemnt variables should be implementation dependent.
I recommend you to use comment in gc.c:
https://github.com/ruby/ruby/blob/trunk/gc.c#L5848
Maybe on 2.2 I will add some more variables.
ko1 (Koichi Sasada)
08:55 AM Bug #9739: TestException#test_machine_stackoverflow(_by_define_method) failures on x64-mingw32
Interestingly, I met this test error recently on Fedora's builder:
~~~
3) Failure:
TestException#test_machine_stackoverflow_by_define_method [/builddir/build/BUILD/ruby-2.2.0-r47288/test/ruby/test_exception.rb:555]:
pid 19431 kil...
vo.x (Vit Ondruch)
08:16 AM Feature #10200: Symbol list/count API with Symbol GC
New hash entries.
I'm not sure that "T_" prefix is appropriate here, though.
akr (Akira Tanaka)
08:12 AM Feature #10200: Symbol list/count API with Symbol GC
Akira Tanaka wrote:
> I feel ObjectSpace.count_objects can be extended to return number of symbols.
Make a new method? Or return a hash object with new types like T_SYMBOL_MORTAL and T_SYMBOL_IMMORTAL?
Now, ObjectSpace.count_objec...
ko1 (Koichi Sasada)
08:03 AM Feature #10200: Symbol list/count API with Symbol GC
I feel ObjectSpace.count_objects can be extended to return number of symbols. akr (Akira Tanaka)
07:53 AM Feature #10200 (Closed): Symbol list/count API with Symbol GC
# Abstract
We need to consider specification of "Symbol.all_symbols" method because of Symbol GC.
# Backgraound
Symbol.all_symbols returns an array includes all symbols in this Ruby interpreter process.
```
"a#{1+2}b".to_sym...
ko1 (Koichi Sasada)
07:56 AM Bug #10191 (Closed): Possible memory leak using dup and setting an unassigned instance variable (Windows)
Applied in changeset r47372.
----------
object.c: fix memory leak
* object.c (rb_obj_copy_ivar): allocate no memory for empty
instance variables. [ruby-core:64700] [Bug #10191]
nobu (Nobuyoshi Nakada)
07:56 AM Revision b46b1e3f (git): object.c: fix memory leak
* object.c (rb_obj_copy_ivar): allocate no memory for empty
instance variables. [ruby-core:64700] [Bug #10191]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:05 AM Revision 8322ca8a (git): * tool/make-snapshot (usage): X.Y means the head of a branch now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:47 AM Revision cf08cf97 (git): * tool/make-snapshot (package): no teeny means a branch since 2.1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:44 AM Feature #10199 (Closed): Drop to support Symbian
Symbian OS is ended in 2012.
see. http://symbian.nokia.com/
We should removed symbian from support platforms.
https://bugs.ruby-lang.org/projects/ruby-trunk/wiki/SupportedPlatforms
hsbt (Hiroshi SHIBATA)
04:42 AM Bug #9875: ERB#result documentation incorrect
backported into `ruby_2_0_0` at r47369. usa (Usaku NAKAMURA)
04:42 AM Revision d7f49a9b (git): merge revision(s) 46241: [Backport #9875]
* lib/erb.rb (result): [DOC] no longer accepts a Proc, as
Kernel.eval does not. [fix GH-619]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@47369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
04:40 AM Bug #9865: frozen IO object causes RuntimeError with inspect and fileno
backported into `ruby_2_0_0` at r37368.
note: respect existing security checks on this version.
usa (Usaku NAKAMURA)
04:39 AM Revision 47264c4e (git): merge revision(s) 46151,46165: [Backport #9865]
* io.c (rb_io_fileno, rb_io_inspect): non-modification does not
error on frozen IO. [ruby-dev:48241] [Bug #9865]
* io.c (rb_io_autoclose_p): Don't raise on frozen IO.
* test/lib/minitest/unit.rb: IO#autoclose...
U.Nakamura
04:18 AM Bug #9914: posix_fadvise() does not work correctly with _LARGE_FILES on 32-bit AIX
backported into `ruby_2_0_0` at r47367. usa (Usaku NAKAMURA)
04:18 AM Revision 0187f76a (git): merge revision(s) 46382,46384,46913: [Backport #9914]
* io.c (rb_io_advise): AIX currently does not support a 32-bit call to
posix_fadvise() if _LARGE_FILES is defined. Patch by Rei Odaira.
[ruby-core:62968] [Bug #9914]
* configure.in (posix_fadvise): disable us...
U.Nakamura
03:53 AM Bug #9769: un-infection in StringIO#write
backported into `ruby_2_0_0` at r47366. usa (Usaku NAKAMURA)
03:52 AM Revision 101e636d (git): merge revision(s) 45676,45677: [Backport #9769]
stringio.c: move GC guard
* ext/stringio/stringio.c (strio_write): move GC guard after the
last using position.
* ext/stringio/stringio.c (strio_write): use rb_str_append to
reuse coderange bits other than AS...
U.Nakamura
03:44 AM Bug #9978: memory leak at ENV.select on Windows
backported into `ruby_2_0_0` at r47365. usa (Usaku NAKAMURA)
03:43 AM Bug #9983: memory leak at ENV.shift on Windows
backported into `ruby_2_0_0` at r47365. usa (Usaku NAKAMURA)
03:43 AM Bug #9977: memory leak at ENV.[]= on Windows
backported into `ruby_2_0_0` at r47365. usa (Usaku NAKAMURA)
03:43 AM Revision 6ed3a352 (git): merge revision(s) 46550,46557,46565,46570,46585,46595,46822: [Backport #9977] [Backport #9978] [Backport #9983]
* hash.c (ruby_setenv): fix memory leak on Windows, free
environment strings block after check for the size.
[ruby-dev:48323] [Bug #9977]
* hash.c (env_select): fix memory leak and crash on Windows, make
...
U.Nakamura
03:29 AM Bug #9903: Regexp#[] doesn't consider capture name encoding
backported into `ruby_2_0_0` at r47364.
note that it needed r42251.
usa (Usaku NAKAMURA)
03:27 AM Revision d910ce1f (git): merge revision(s) 42251,46345,46346: [Backport #9903]
* sprintf.c (ruby__sfvextra): add QUOTE flag to escape unprintable
characters.
* sprintf.c (ruby__sfvextra): add QUOTE flag to escape unprintable
characters.
* re.c (match_aref, rb_reg_regsub): consi...
U.Nakamura
03:06 AM Revision 9b16f906 (git): * process.c (retry_fork_async_signal_safe): Use vfork() if available.
vfork() is still faster than fork() especially when the parent
process uses big memory.
ruby -rbenchmark -e 'a = "a" * 1_000_000_000; puts Benchmark.measure { system("true") }'
fork: 0.000000 0.010000 0.010000 ( 0.014968)
...
akr (Akira Tanaka)
02:33 AM Revision 51ee0a63 (git): * test/openssl/test_pkey_rsa.rb (OpenSSL#test_sign_verify_memory_leak):
added timeout into testcase for low performance environment.
[Bug #9984][ruby-core:63367]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)

09/02/2014

10:51 PM Revision 93a7bf4b (git): * configure.in: Use AC_FUNC_FORK.
* io.c: Use HAVE_WORKING_FORK instead of HAVE_FORK.
* process.c: Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
09:24 PM Misc #10198 (Closed): [PATCH cleanup] vm.c: remove unused USE_THREAD_RECYCLE ifdefs
This is a totally unused ifdef branch, and does not do anything even
when it is enabled, so it only confuses new developers.
Will commit in a few days unless there's objections.
normalperson (Eric Wong)
08:44 PM Feature #10197 (Closed): document RUBY_* stack size/GC params in ruby.1 manpage
Good idea or too implementation/internals-dependent?
We can note it is implementation-dependent behavior in the manpage.
I can prepare patches based on existing NEWS-* files.
normalperson (Eric Wong)
08:39 PM Bug #10194: OpenStruct does not throw an exception when calling missing method with no arguments.
The design of OpenStruct is to allow all method calls. (It is similar to a Hash but with method access.)
You can use a regular Struct if you need strict properties, or something from the Hashie gem might do what you're looking for.
avit (Andrew Vit)
08:17 PM Bug #10194 (Rejected): OpenStruct does not throw an exception when calling missing method with no arguments.
It would have been a possible design choice to prevent calling a getter unless a member has been previously set.
I believe it is too late for this change though, as it could produce severe incompatibilities.
marcandre (Marc-Andre Lafortune)
04:44 PM Bug #10194 (Rejected): OpenStruct does not throw an exception when calling missing method with no arguments.
Below is the sample that shows the problem:
#!/usr/bin/env ruby

require 'ostruct'

class TestMethodMissing < OpenStruct
def initialize ()

super(
{ "foo" => "bar" }
)
...
alex-pub.ruby-bugs@reflexion.net (Alex Pogrebnyak)
08:28 PM Bug #10196 (Closed): rdoc should not depend on gems
Hello,
It seems in rdoc code that it can run without gems.
However, at some places, it explicitly cites gem or Gem without dealing with
the exception. Also, it requires "rubygems", which might be useless since
gem_prelude does th...
luizluca (Luiz Angelo Daros de Luca)
06:59 PM Feature #10195 (Closed): Alternative to rb_proc_new that provides access to self, super and passed block
I'm developing a Haskell binding to the Ruby C API. Unfortunately, `rb_proc_new`
does not provide any means of accessing super, self and/or any passed block. A
better alternative to `rb_proc_new` would make it possible to create procs ...
cstrahan (Charles Strahan)
03:47 PM Revision 50190956 (git): Ruby can delay arbitrarily because Ruby is not a realtime system,
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:13 PM Revision 8a4c2316 (git): * 2014-09-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:13 PM Revision 34af76e3 (git): * process.c (retry_fork_async_signal_safe): Don't return on in child
process.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:47 PM Revision 93621161 (git): * process.c (retry_fork_async_signal_safe): Specialized version of
retry_fork respect to rb_fork_async_signal_safe.
(retry_fork_ruby): Specialized version of retry_fork respect to
rb_fork_ruby.
(rb_fork_ruby): Removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47357 b2dd03c8-39d4-4d8f-9...
akr (Akira Tanaka)
02:27 PM Revision de884088 (git): * process.c (send_child_error): Simplified.
(recv_child_error): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:56 PM Revision a78a9b0d (git): * process.c (rb_fork_async_signal_safe): Inline rb_fork_internal.
(rb_fork_ruby): Ditto.
(rb_fork_internal): Removed.
(chfunc_protect): Removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:45 PM Revision 51f41f66 (git): * test/ruby/test_io.rb (test_new_with_block): Set autoclose to avoid EBADF.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:33 PM Bug #10193 (Closed): TestIO#test_readpartial_locktmp fails randomly
Applied in changeset r47353.
----------
test_io.rb: ignore stream closed IOError
* test/ruby/test_io.rb (test_readpartial_locktmp): stream closed
IOError while reading is not a matter. [Bug #10193]
nobu (Nobuyoshi Nakada)
10:37 AM Bug #10193 (Closed): TestIO#test_readpartial_locktmp fails randomly
~~~
4) Error:
TestIO#test_readpartial_locktmp:
IOError: stream closed
/builddir/build/BUILD/ruby-2.2.0-r47288/test/ruby/test_io.rb:2861:in `readpartial'
/builddir/build/BUILD/ruby-2.2.0-r47288/test/ruby/test_io.rb:2861:in ...
vo.x (Vit Ondruch)
01:32 PM Revision 6bd80ffc (git): test_io.rb: ignore stream closed IOError
* test/ruby/test_io.rb (test_readpartial_locktmp): stream closed
IOError while reading is not a matter. [Bug #10193]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:04 PM Revision 1a37c5a4 (git): * Makefile.in (update-coverage): Remove a never executed line.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Sutou Kouhei
11:47 AM Revision 557802a1 (git): * process.c (handle_fork_error): Extracted from retry_fork.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:08 AM Revision bd1f4738 (git): * ChangeLog: added link of github issue
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
08:03 AM Bug #10192 (Closed): Install local versions of bundeld gems
Applied in changeset r47349.
----------
* tool/rbinstall.rb: fixed error of local installation.
[Bug #10192][ruby-core:64702]
hsbt (Hiroshi SHIBATA)
08:02 AM Revision 4032c76a (git): * tool/rbinstall.rb: fixed error of local installation.
[Bug #10192][ruby-core:64702]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
07:59 AM Feature #10189 (Closed): Coverage report with Simplecov
Applied in changeset r47347.
----------
* test/runner.rb: reporting test coverage for test-all with COVERAGE env.
[Feature #10189][ruby-core:64681]
* Makefile.in: added task for coverage report.
* common.mk: added definition of forked...
hsbt (Hiroshi SHIBATA)
07:59 AM Revision 3e95253e (git): * 2014-09-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:59 AM Revision 355c032f (git): * test/runner.rb: reporting test coverage for test-all with COVERAGE env.
[Feature #10189][ruby-core:64681]
* Makefile.in: added task for coverage report.
* common.mk: added definition of forked simplecov url.
* .gitignore: ignored coverage directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47347 b2...
hsbt (Hiroshi SHIBATA)
 

Also available in: Atom