Project

General

Profile

Activity

From 05/13/2015 to 05/19/2015

05/19/2015

11:17 PM Bug #11162 (Closed): Update documentation for CMath library
Hello!
I updated description and '*Usage*' part for `CMath` library, added '*Brief overview of complex numbers*' p...
davydov_anton (Anton Davydov)
07:54 PM Bug #10942: Suspected memory leak
Backported into `ruby_2_2` branch at r50550.
I've changed :limit option for assert_no_memory_leak from 1.5 to 2.0. W...
nagachika (Tomoyuki Chikanaga)
07:52 PM Revision 20ef4699 (git): merge revision(s) 50334,50337: [Backport #10942]
* string.c (STR_SET_EMBED): clear NOFREE flag at embedding as
embedded strings no longer refer static strin...
nagachika (Tomoyuki Chikanaga)
07:11 PM Bug #11054: ruby won't build on OS X 10.5 — fgetattrlist() not available
Backported into `ruby_2_2` branch at r50549. nagachika (Tomoyuki Chikanaga)
07:11 PM Bug #11069: Backport r50218
Backported into `ruby_2_2` branch at r50549. nagachika (Tomoyuki Chikanaga)
07:06 PM Revision ddf1f59d (git): merge revision(s) 50218: [Backport #11054] [Backport #11069]
* dir.c (need_normalization): use getattrlist() if fgetattrlist()
is unavailable, on OSX 10.5. [ruby-core:...
nagachika (Tomoyuki Chikanaga)
06:44 PM Bug #11012: `local_variable_get` crashes on a `Proc` from a method
r49922, r50111 and r50112 (r49922 for resolv conflict) were backported into `ruby_2_2` branch at r50548. nagachika (Tomoyuki Chikanaga)
06:43 PM Revision 9eb78a21 (git): merge revision(s) 49922,50111,50112: [Backport #11012]
* proc.c: use RUBY_VM_IFUNC_P() to recognize IFUNC or not.
* vm.c: ditto.
* vm_dump.c: ditto.
...
nagachika (Tomoyuki Chikanaga)
06:19 PM Bug #10999: [PERF] bm_hash_aref_flo.rb
Backported into `ruby_2_2` branch at r50547.
I support ko1's comment. But I think the difference in benchmark scri...
nagachika (Tomoyuki Chikanaga)
06:11 PM Revision 3f1fc07e (git): merge revision(s) 50084: [Backport #10999]
* benchmark/bm_hash_aref_flo.rb: make more realistic data.
[ruby-core:68632] [[Bug #10999]
git-svn-id: sv...
nagachika (Tomoyuki Chikanaga)
06:01 PM Bug #10985: Ruby 2.2 respond_to_missing?/method_missing/Object#method is not detecting properly
Backported into `ruby_2_2` branch at r50546. nagachika (Tomoyuki Chikanaga)
05:59 PM Revision b836c3ac (git): merge revision(s) 50038: [Backport #10985]
* proc.c (respond_to_missing_p): check if the receiver responds to
the given method by respond_to_missing?....
nagachika (Tomoyuki Chikanaga)
05:25 PM Bug #11089: 2.2.2p95 crash on Windows when passed glob patterns on command line
fixes are backported into ruby_2_2 branch at r50545 for #10941. nagachika (Tomoyuki Chikanaga)
05:25 PM Bug #10978: [mswin32, mswin64] SignalException: SIGSEGV
fixes are backported into `ruby_2_2` branch at r50545 for #10941. nagachika (Tomoyuki Chikanaga)
05:24 PM Bug #10941: SIGSEGV caused by Rake on Windows
Backported into `ruby_2_2` branch at r50545. nagachika (Tomoyuki Chikanaga)
05:23 PM Revision 7d7aec24 (git): merge revision(s) 49859,49861,49865: [Backport #10941] [Backport #10978] [Backport #11089]
* dir.c (replace_real_basename): shouldn't create Ruby object before
the object system is loaded.
...
nagachika (Tomoyuki Chikanaga)
05:11 PM Bug #10925: Backport r49693
r49693 was already backported into `ruby_2_2` branch at r49719 for #10887. nagachika (Tomoyuki Chikanaga)
05:05 PM Revision 39b89cee (git): merge revision(s) 49095: [Backport #11150]
* lib/resolv.rb (Resolv::DNS::Label::Str#==): Check class equality.
(Resolv::DNS::Name#initialize): Normali...
nagachika (Tomoyuki Chikanaga)
04:49 PM Bug #11159: RubyVM::InstructionSequence.compile(nil) #=> segfault
Backported into `ruby_2_2` branch at r50543. nagachika (Tomoyuki Chikanaga)
09:55 AM Bug #11159 (Closed): RubyVM::InstructionSequence.compile(nil) #=> segfault
Applied in changeset r50541.
----------
iseq.c: check srouce type
* iseq.c (rb_iseq_compile_with_option): check sro...
nobu (Nobuyoshi Nakada)
12:59 AM Bug #11159: RubyVM::InstructionSequence.compile(nil) #=> segfault
Symbols also cause segfaults
~~~ruby
RubyVM::InstructionSequence.compile(:foo)
~~~
kyrylo (Kyrylo Silin)
04:48 PM Revision 73a48a14 (git): merge revision(s) 50541,50542: [Backport #11159]
* iseq.c (rb_iseq_compile_with_option): check srouce type, must be
an IO or a String. [ruby-core:69219] [B...
nagachika (Tomoyuki Chikanaga)
03:34 PM Bug #11143: it should always be possible to return from an if
bug hit wrote:
> Nobuyoshi Nakada wrote:
>
> >
> > > Just about everything in ruby is an expression and all exp...
bughit (bug hit)
02:15 PM Bug #11143: it should always be possible to return from an if
Nobuyoshi Nakada wrote:
>
> > Just about everything in ruby is an expression and all expressions can potentially...
bughit (bug hit)
09:38 AM Bug #11143 (Open): it should always be possible to return from an if
nobu (Nobuyoshi Nakada)
09:35 AM Bug #11143: it should always be possible to return from an if
bug hit wrote:
> Nobuyoshi Nakada wrote:
> > Why do you need such assignment?
>
> What does my "need" have to do...
nobu (Nobuyoshi Nakada)
12:41 PM Feature #11161 (Rejected): Proc/Method#rcurry working like curry but in reverse order
currenty with curry you can only replace elements in order
`#rcurry` should be added to be able to return the last p...
Hanmac (Hans Mackowiak)
09:56 AM Revision 87e2c106 (git): ChangeLog: fix typo
* ChangeLog: fix typo, "srouce" to "source".
[ruby-core:69219] [Bug #11159]
git-svn-id: svn+ssh://ci.ruby-lang.org...
nobu (Nobuyoshi Nakada)
09:54 AM Revision b8131986 (git): iseq.c: check srouce type
* iseq.c (rb_iseq_compile_with_option): check srouce type, must be
an IO or a String. [ruby-core:69219] [Bug #1115...
nobu (Nobuyoshi Nakada)
08:15 AM Revision cdea1553 (git): * lib/benchmark.rb: Update Benchmark documentation and formatting.
[fix GH-903][ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
04:13 AM Revision 59b089bd (git): numeric.c: return true
* numeric.c (num_positive_p): return true instead of Fixnum 0.
[ruby-core:69173] [Feature #11151]
git-svn-id: svn+...
nobu (Nobuyoshi Nakada)
04:10 AM Revision b4e5bff8 (git): numeric.c: Bignum 0 is not positive
* numeric.c (num_positive_p): should false on Bignum 0.
http://twitter.com/rafaelfranca/status/600509783427391488
...
nobu (Nobuyoshi Nakada)
02:34 AM Revision 8c7310e7 (git): * lib/uri/rfc2396_parser.rb (initialize_pattern):
URI::Generic.build should accept port as a string.
pattern[:PORT] is not defined for long.
by Dave Slutzkin <dave...
naruse (Yui NARUSE)
02:18 AM Revision 1443776c (git): ruby.h: add old names
* include/ruby/ruby.h (rb_data_typed_object_alloc),
(rb_data_object_alloc): add old names for source level backward...
nobu (Nobuyoshi Nakada)
12:54 AM Revision 11c8b83a (git): ruby.h: cast for C++
* include/ruby/ruby.h (Data_Make_Struct0): needs function pointer
casts to fix function overloading in C++.
git-sv...
nobu (Nobuyoshi Nakada)
12:44 AM Revision 0e55cbc2 (git): * 2015-05-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:43 AM Revision 356baf95 (git): ruby.h: cast for C++
* include/ruby/ruby.h (Data_Make_Struct0, TypedData_Make_Struct0):
explicit cast from void* is necessary as implici...
nobu (Nobuyoshi Nakada)

05/18/2015

09:08 PM Bug #11143: it should always be possible to return from an if
What is the objection to providing some sort explanation when rejecting a bug report? bughit (bug hit)
05:09 PM Bug #11143: it should always be possible to return from an if
Nobuyoshi Nakada wrote:
> Why do you need such assignment?
What does my "need" have to do with whether something ...
bughit (bug hit)
05:49 PM Feature #11158: Introduce a Symbol.count API as a more efficient alternative to Symbol.all_symbols.size
Sounds good, I'll take a stab tonight. methodmissing (Lourens Naudé)
03:52 PM Feature #11158: Introduce a Symbol.count API as a more efficient alternative to Symbol.all_symbols.size
I'd recommend instead to introduce `Symbol.each`, which would accept a block and return an `Enumerable` when none is ... marcandre (Marc-Andre Lafortune)
04:49 PM Feature #11154 (Feedback): Postfix `!?` can use as the valid function identifier.
Hi,
First of all, this is a proposal for incompatible change, so we have to be very careful.
Besides that, I am...
matz (Yukihiro Matsumoto)
01:30 PM Revision 53411d3e (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
10:30 AM Revision 0a933cf3 (git): nonblock.c: just yield if the flag is not changed
* ext/io/nonblock/nonblock.c (io_nonblock_set): return whether
nonblock flag was changed.
* ext/io/nonblock/nonblo...
nobu (Nobuyoshi Nakada)
09:41 AM Revision 903c0f55 (git): test_nonblock.rb: refine failure message
* test/socket/test_nonblock.rb (test_accept_nonblock): refine
assertion for better failure message.
git-svn-id: sv...
nobu (Nobuyoshi Nakada)
09:41 AM Revision 05882344 (git): test_autoload.rb: use class_eval
* test/ruby/test_autoload.rb (add_autoload): use class_eval
instead of string eval.
* test/ruby/test_autoload.rb (...
nobu (Nobuyoshi Nakada)
09:03 AM Revision bd40bd33 (git): gc.c: remove ifdef
* gc.c (obj_info): remove needless ifdef, and adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50528...
nobu (Nobuyoshi Nakada)
08:50 AM Feature #11140: Allow rubygems' `require` to handle `autoload` calls
Since this commit `TestAutoload#test_threaded_accessing_constant` continuously fails on some Linux distributions.
e....
nobu (Nobuyoshi Nakada)
06:31 AM Revision c4d21679 (git): intern.h: rb_f_notimplement for ext on Windows
* include/ruby/intern.h (rb_f_notimplement): should not respond to
not-implemented methods. as the address inside ...
nobu (Nobuyoshi Nakada)
04:56 AM Revision 15b97489 (git): * 2015-05-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:56 AM Revision 7be51698 (git): * lib/monitor.rb (mon_try_enter, mon_enter): should reset @mon_count
just in case the previous owner thread dies without mon_exit.
[fix GH-874] Patch by @chrisberkhout
git-svn-id: svn...
shugo (Shugo Maeda)

05/17/2015

10:32 PM Bug #11160 (Closed): Subclasses of Proc converted when passed to a block
As Subclasses of Proc are passed as-is when sent to methods as blocks, it would be expected that the same behavior oc... alextyu (Alex Yu)
09:14 PM Bug #11159 (Closed): RubyVM::InstructionSequence.compile(nil) #=> segfault
The following code causes a segfault both for Ruby 2.2.2 and Ruby 2.2.0 (I haven't tested other versions).
The tra...
kyrylo (Kyrylo Silin)
02:47 PM Revision 47349e87 (git): notimplement: rename
* ext/-test-/notimplement, test/-ext-/test_notimplement.rb:
rename from bug-3662.
git-svn-id: svn+ssh://ci.ruby-la...
nobu (Nobuyoshi Nakada)
08:22 AM Feature #11136 (Closed): [PATCH] webrick: avoid fcntl module
Applied in changeset r50523.
----------
lib/webrick/utils.rb: simplify by avoiding fcntl
IO#nonblock= and IO#close_...
Anonymous
08:22 AM Revision 29a914ff (git): lib/webrick/utils.rb: simplify by avoiding fcntl
IO#nonblock= and IO#close_on_exec= methods are simpler-to-use
and potentially more portable to for future OSes.
IO#no...
Eric Wong
06:02 AM Feature #11151 (Closed): Numeric#positive? and Numeric#negative?
Applied in changeset r50522.
----------
numeric.c: Numeric#positive? and Numeric#negative?
* numeric.c (num_positiv...
nobu (Nobuyoshi Nakada)
06:01 AM Revision 932e916b (git): numeric.c: Numeric#positive? and Numeric#negative?
* numeric.c (num_positive_p, num_negative_p): add methods
Numeric#positive? and Numeric#negative?.
[ruby-core:691...
nobu (Nobuyoshi Nakada)
05:59 AM Revision 1fbf1f75 (git): test_numeric.rb: separate dummy classes
* test/ruby/test_numeric.rb: use separate dummy classes for each
test cases.
git-svn-id: svn+ssh://ci.ruby-lang.or...
nobu (Nobuyoshi Nakada)
05:59 AM Feature #11137 (Closed): [PATCH] webrick: remove redundant close-on-exec setting
Applied in changeset r50519.
----------
lib/webrick/server.rb: avoid redundant fcntl call
Sockets are close-on-exec...
Anonymous
05:59 AM Revision 8953b97d (git): numeric.c: compare_with_zero
* numeric.c (compare_with_zero): raise TypeError when not
comparable with 0.
git-svn-id: svn+ssh://ci.ruby-lang.or...
nobu (Nobuyoshi Nakada)
05:59 AM Revision ce34a90f (git): lib/webrick/server.rb: avoid redundant fcntl call
Sockets are close-on-exec by default since Ruby 2.0, so it
is redundant to set it again.
* lib/webrick/server.rb (ac...
Eric Wong
05:56 AM Feature #11138 (Closed): [PATCH] ext/socket/init.c: use SOCK_NONBLOCK if available
Applied in changeset r50518.
----------
ext/socket/init.c: use SOCK_NONBLOCK if available
This saves a system call ...
Anonymous
05:56 AM Revision 8ff35b81 (git): ext/socket/init.c: use SOCK_NONBLOCK if available
This saves a system call by allowing us to use SOCK_NONBLOCK in
Linux when accept4 is available.
Note: I do not agre...
Eric Wong
12:50 AM Revision a9ca74cd (git): default colors
* bootstraptest/runner.rb, sample/test.rb, test/lib/test/unit.rb:
shared the default colors from test/colors file.
...
nobu (Nobuyoshi Nakada)
12:50 AM Revision 75a86540 (git): reset colors
* bootstraptest/runner.rb, sample/test.rb, test/lib/test/unit.rb:
reset for each colors.
git-svn-id: svn+ssh://ci....
nobu (Nobuyoshi Nakada)

05/16/2015

07:03 PM Bug #11155 (Closed): Files named 'b' cannot be autoloaded
Applied in changeset r50515.
----------
* load.c (loaded_feature_path): stop returning false negatives for
filenam...
Anonymous
07:02 PM Revision 1fc214c0 (git): * load.c (loaded_feature_path): stop returning false negatives for
filenames which are trailing substrings of file extensions. For
example, 'b', which a trailing substring of ".rb" ...
tenderlovemaking (Aaron Patterson)
03:02 PM Revision fc7711ff (git): * 2015-05-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:02 PM Revision d7188cc9 (git): fix test failures introduced in r50494
This commit changes some of the `require` tests to run *without*
rubygems enabled. Those particular tests were remov...
tenderlovemaking (Aaron Patterson)
01:30 PM Feature #11158: Introduce a Symbol.count API as a more efficient alternative to Symbol.all_symbols.size
Makes sense, my bad, thanks for the consideration. methodmissing (Lourens Naudé)
11:14 AM Feature #11158: Introduce a Symbol.count API as a more efficient alternative to Symbol.all_symbols.size
Lourens Naudé wrote:
> Please let me know if this is inline with an expected core API, anything I could clean up fur...
nobu (Nobuyoshi Nakada)
04:13 AM Feature #11158 (Closed): Introduce a Symbol.count API as a more efficient alternative to Symbol.all_symbols.size
We're in the process of migrating a very large Rails codebase from a Ruby 2.1.6 runtime to Ruby 2.2.2 and as part of ... methodmissing (Lourens Naudé)
12:57 PM Revision b837025d (git): ifaddr.c: wrapper object before alloc
* ext/socket/ifaddr.c (rsock_getifaddrs): make wrapper object
before result structs allocation and manage refcount ...
nobu (Nobuyoshi Nakada)
12:56 PM Revision 6fb9349d (git): allocate structs with wrapper
* parse.y (rb_parser_new, ripper_s_allocate): allocate structs
with making new wrapper objects and get rid of poten...
nobu (Nobuyoshi Nakada)
12:56 PM Revision cb54008b (git): wrapper object before alloc
* error.c (rb_name_err_mesg_new): new wrapper object before
allocate data area and get rid of potential memory leak...
nobu (Nobuyoshi Nakada)
12:41 PM Bug #11132 (Closed): String#sub and character sequence \' in replacement string
Applied in changeset r50509.
----------
* string.c: added documentation for character sequence \' with String#sub
...
hsbt (Hiroshi SHIBATA)
12:41 PM Revision 5ffb21eb (git): * string.c: added documentation for character sequence \' with String#sub
[Bug #11132][ruby-core:69121][fix GH-900][ci skip] Patch by @shishir127
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
hsbt (Hiroshi SHIBATA)
12:38 PM Revision cff3676c (git): * enum.c: fix a sample code. Patch by @eagletmt
[fix GH-901][ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
12:21 PM Revision ec0a083d (git): proc.c: rb_proc_alloc
* proc.c (rb_proc_alloc, proc_dup): allocate rb_proc_t instead of
wrapping to get rid of potential memory leak.
* ...
nobu (Nobuyoshi Nakada)
12:17 PM Revision ecbad6df (git): gc.c: rename alloc as wrap
* gc.c (rb_data_object_wrap, rb_data_typed_object_wrap): rename
alloc as wrap. these functions do not allocate dat...
nobu (Nobuyoshi Nakada)
11:00 AM Revision 4eb4f1fd (git): * win32/win32.c (rb_w32_accept): simplified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
10:45 AM Revision 23c5aa3a (git): * 2015-05-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:45 AM Revision 508c67a8 (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
09:52 AM Bug #11157 (Rejected): [BUG] Segmentation fault at 0x00000000000018
Juan Francisco Raposeiras wrote:
> ~~~
> * Process memory map:
>
> 7f1033193000-7f1033386000 r-xp 00000000 08:01...
nobu (Nobuyoshi Nakada)
04:12 AM Bug #11157 (Rejected): [BUG] Segmentation fault at 0x00000000000018
This happens whenever I try to install any gem (maybe related to #11135)
~~~
/home/frank/.gem/ruby/2.2.2/gems/jso...
rapofran (Juan Francisco Raposeiras)
08:06 AM Bug #11156: Indeterminate Behavior for Curly-braced Blocks with Function Argument Missing Parenthesis
I'm trying to demonstrate that the syntax is very confusing and error-prone, especially given that `do ... end` block... faraz (Faraz Yashar)
12:19 AM Bug #11156 (Rejected): Indeterminate Behavior for Curly-braced Blocks with Function Argument Missing Parenthesis
What's your point?
`Time.parse` states as:
# If a block is given, the year described in +date+ is converted...
nobu (Nobuyoshi Nakada)
12:12 AM Feature #11140: Allow rubygems' `require` to handle `autoload` calls
Removed that garbage. nobu (Nobuyoshi Nakada)

05/15/2015

10:49 PM Bug #11156 (Rejected): Indeterminate Behavior for Curly-braced Blocks with Function Argument Missing Parenthesis
Given a function that takes an argument and a block, the behavior wildly varies when parenthesis are omitted from the... faraz (Faraz Yashar)
08:59 PM Bug #10268: OpenSSL::PKey::EC::Point#mul causes a segmentation fault
This bug is due to passing null pointers to EC_POINTs_mul(). This function, in turn, does not handle null pointer arg... oak (Danilo Martins)
07:10 PM Bug #11155 (Closed): Files named 'b' cannot be autoloaded
I have two files:
a.rb
~~~ruby
module A
autoload :C, 'b'
end
p ::A::C
~~~
b.rb
~~~ruby
puts "ST...
tenderlovemaking (Aaron Patterson)
07:05 PM Feature #11140: Allow rubygems' `require` to handle `autoload` calls
Usaku NAKAMURA wrote:
> Aaron, this commit breaks some tests on `ruby/test_require.rb`.
> Check [RubyCI](http://rub...
tenderlovemaking (Aaron Patterson)
06:43 AM Feature #11140 (Assigned): Allow rubygems' `require` to handle `autoload` calls
Aaron, this commit breaks some tests on `ruby/test_require.rb`.
Check [RubyCI](http://rubyci.org/).
usa (Usaku NAKAMURA)
02:31 PM Feature #11154 (Feedback): Postfix `!?` can use as the valid function identifier.
This patch make it possible to parse and execute such a code:
```ruby
def foo!?
true
end
foo!?
```
*Wh...
make_now_just (Hiroya Fujinami)
12:42 PM Bug #11149: URI.parse keeps '?' for query and '#' for fragment even if they are empty
Actually yes, I was wrong on this and it is expected behavior.
When one wants without '?' and '#' correct way is t...
davispuh (Dāvis Mosāns)
12:39 PM Revision 80e0ef3a (git): range.c: move String specific code
* range.c (range_include): call rb_str_include_range_p on String.
* string.c (str_upto_each): extract from rb_str_up...
nobu (Nobuyoshi Nakada)
09:28 AM Revision d28001f0 (git): array.c: [DOC] return values are not new array [CI SKIP]
* array.c (rb_ary_assoc, rb_ary_rassoc): [DOC] the result when key
was found is the existing element, not a new arr...
nobu (Nobuyoshi Nakada)
09:06 AM Revision d70228d1 (git): string.c: all_digits_p
* string.c (all_digits_p): extract duplicate code from
rb_str_upto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
nobu (Nobuyoshi Nakada)
09:06 AM Revision 04c10b8a (git): range.c: r_less
* range.c (r_less): merge r_le() and r_lt() and make code shorter
with less branches.
git-svn-id: svn+ssh://ci.rub...
nobu (Nobuyoshi Nakada)
09:05 AM Revision bad05606 (git): range.c: r_cover_p
* range.c (r_cover_p): extract from range_cover and share with
range_include.
git-svn-id: svn+ssh://ci.ruby-lang.o...
nobu (Nobuyoshi Nakada)
08:59 AM Revision 228cfd02 (git): cookie.rb: revert part of r50496
* lib/cgi/cookie.rb (CGI::Cookie#secure): revert part of r50496,
which is irrelevant to GH-887, as the document sta...
nobu (Nobuyoshi Nakada)

05/14/2015

11:27 PM Revision a4344cb5 (git): * lib/cgi/cookie.rb: Implement HttpOnly flag for cookies.
[fix GH-887] Patch by @martinpovolny
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50496 b2dd03c8-39d4-4d8f-98ff...
Takeyuki FUJIOKA
09:58 PM Feature #11140 (Closed): Allow rubygems' `require` to handle `autoload` calls
Applied in changeset r50494.
----------
* variable.c: Change autoload to call `require` through Ruby rather
than d...
Anonymous
07:29 AM Feature #11140: Allow rubygems' `require` to handle `autoload` calls
Accepted. Could you apply the patch, Aaron?
Matz.
matz (Yukihiro Matsumoto)
09:57 PM Revision d4011b3a (git): * 2015-05-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:57 PM Revision cd465d55 (git): * variable.c: Change autoload to call `require` through Ruby rather
than directly calling `rb_require_safe`. This allows things like
RubyGems to intercept file loading done though `a...
tenderlovemaking (Aaron Patterson)
08:32 PM Bug #11101: Forking is killing my memory when running GC
I have looked at the thing closely and it seems that the GC is not CoW friendly for sparse arrays. If I create an arr... tkalmus (Thomas Kalmus)
08:13 PM Bug #10933: [BUG] object allocation during garbage collection phase
Backported into `ruby_2_2` branch at r50493. nagachika (Tomoyuki Chikanaga)
08:12 PM Revision c4e2e5df (git): merge revision(s) 49842: [Backport #10933]
* symbol.c (Init_sym): make dsym_fstrs a hash compared by identity
as the keys are unique fstrings, to get ...
nagachika (Tomoyuki Chikanaga)
07:48 PM Feature #11146: [PATCH] variable.c: initialize generic_iv_tbl at start
SASADA Koichi <[email protected]> wrote:
> On 2015/05/14 5:15, Eric Wong wrote:
> > That's one, but I think generic iv...
normalperson (Eric Wong)
10:48 AM Feature #11146: [PATCH] variable.c: initialize generic_iv_tbl at start
On 2015/05/14 5:15, Eric Wong wrote:
> That's one, but I think generic ivar is common enough. I'll also
> work on...
ko1 (Koichi Sasada)
07:07 PM Bug #11149 (Assigned): URI.parse keeps '?' for query and '#' for fragment even if they are empty
As URL Standard, current behavior is correct.
https://url.spec.whatwg.org/
But Google Chrome's behavior is like w...
naruse (Yui NARUSE)
06:18 PM Bug #10871: Sclass thread unsafe due to CREF sharing
I recently opened bug #11153 which may be related. When using threads, methods defined inside `class << obj` sometime... mattbrictson (Matt Brictson)
06:17 PM Bug #11153: Defining singleton methods using `class << self` sometimes fails when using threads
This may be a duplicate of #10871. mattbrictson (Matt Brictson)
04:30 AM Bug #11153 (Closed): Defining singleton methods using `class << self` sometimes fails when using threads
Defining singleton methods using this syntax occasionally produces unexpected results when run in parallel with multi... mattbrictson (Matt Brictson)
10:54 AM Feature #11141: new syntax suggestion for abbreviate definition on block parameters in order
FYI:
Kazuki Tanaka-san proposed a library Kasen.
[ruby-list:50120] [ANN] Kasen(下線) v0.1.1
Github: https://github...
ko1 (Koichi Sasada)
10:44 AM Feature #11049 (Closed): Enumerable#grep_v (inversed grep)
Thanks, committed at r50491, r50492. sorah (Sorah Fukumori)
06:31 AM Feature #11049: Enumerable#grep_v (inversed grep)
`grep_v` seems OK. Accepted.
Matz.
matz (Yukihiro Matsumoto)
10:43 AM Revision 1709458a (git): forgot mentioning to the ticket [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e sorah (Sorah Fukumori)
10:42 AM Revision 71588d17 (git): * enum.c (enum_grep_v, grep_i, grep_iter_i, Init_enum):
Implement Enumerable#grep_v.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50491 b2dd03c8-39d4-4d8f-98ff-823fe69...
sorah (Sorah Fukumori)
09:30 AM Feature #11105 (Rejected): ES6-like hash literals
I am not positive about this syntax mostly because it appears to be set syntax, or old style hash in 1.8.
Once ES6 s...
matz (Yukihiro Matsumoto)
09:15 AM Feature #11105: ES6-like hash literals
Nobuyoshi Nakada wrote:
> > lexington:ruby$ ./ruby x.rb
> > x.rb:4: warning: duplicated key at line 4 ignored: :a
...
shugo (Shugo Maeda)
07:42 AM Feature #11151: Numeric#positive? and Numeric#negative?
Realistic use-case is written. Accepted.
But it should recognize complex numbers (should raise exception).
Matz.
matz (Yukihiro Matsumoto)
01:20 AM Feature #11151: Numeric#positive? and Numeric#negative?
> You probably mean Integer and Float. And possibly also Rational.
Yeah.
For what I could see, probably we'll j...
rafaelfranca (Rafael França)
07:28 AM Bug #10856: Splat with empty keyword args gives unexpected results
It's because ** tries to pass keyword hash (this caes empty) as an argument, so that old style
```ruby
def foo(...
matz (Yukihiro Matsumoto)
07:00 AM Bug #10967: Is "warning: private attribute?" wrong?
We haven't thought of self as a receiver. Agreed to remove warnings.
Matz.
matz (Yukihiro Matsumoto)
06:54 AM Feature #11082 (Closed): Remove condition of RUBY_VERSION <= 1.9
Applied in changeset r50490.
----------
* ext/pathname/lib/pathname.rb: Remove condition of RUBY_VERSION <= 1.9.
[...
hsbt (Hiroshi SHIBATA)
06:54 AM Revision 180293ac (git): * ext/pathname/lib/pathname.rb: Remove condition of RUBY_VERSION <= 1.9.
[Feature #11082]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
06:15 AM Feature #11083: Gemify net-telnet
Accepted. Go ahead.
Matz.
matz (Yukihiro Matsumoto)

05/13/2015

10:22 PM Bug #11152 (Closed): Resolv::DNS should use Search Domains provided in /etc/resolv.conf by default
For some reason Resolv::DNS does not use search domains. Many downstream projects rely on Resolv, and this appears br... IronYuppie (David Aronchick)
10:19 PM Feature #11151: Numeric#positive? and Numeric#negative?
On 14/05/2015, [email protected] <[email protected]> wrote:
> Issue #11151 has been updated by Rafael F...
phluid61 (Matthew Kerwin)
09:37 PM Feature #11151: Numeric#positive? and Numeric#negative?
Right. Thank you for the explanation.
So maybe just to `Fixnum` and `Float`?
rafaelfranca (Rafael França)
07:07 PM Feature #11151: Numeric#positive? and Numeric#negative?
In #5113, matz said
* We can use `> 0` and `< 0` for the purpose.
* Complex is Numeric, but we cannot define posi...
usa (Usaku NAKAMURA)
06:37 PM Feature #11151 (Closed): Numeric#positive? and Numeric#negative?
We just added [`Interger#positive?` and `Interger#negative?` to Active Support](https://github.com/rails/rails/commit... rafaelfranca (Rafael França)
10:17 PM Feature #5480: remove GServer from stdlib
For those that absolutely need to use GServer, it's also available on rubygems.
* https://rubygems.org/gems/gserve...
postmodern (Hal Brodigan)
10:01 PM Revision f51a964d (git): * 2015-05-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:01 PM Revision 6fefba37 (git): variable.c: no intermediate IDs
* variable.c (rb_set_class_path_string, rb_set_class_path): get
rid of creating intermediate IDs.
git-svn-id: svn+...
nobu (Nobuyoshi Nakada)
08:18 PM Feature #11146: [PATCH] variable.c: initialize generic_iv_tbl at start
[email protected] wrote:
> Probably, due to `@gem_prelude_index` of `$LOAD_PATH` elements?

That's one, but I th...
normalperson (Eric Wong)
03:27 AM Feature #11146: [PATCH] variable.c: initialize generic_iv_tbl at start
Probably, due to `@gem_prelude_index` of `$LOAD_PATH` elements? nobu (Nobuyoshi Nakada)
06:12 PM Feature #7793: New methods on Hash
I'm biased here since we already implemented part of Option #5 on Ruby on Rails but I prefer its explicitness over co... rafaelfranca (Rafael França)
05:57 PM Feature #11148: Add a way to require files, but not raise an exception when the file isn't found
Aaron Patterson wrote:
> @Benoit yes, for performance, and to avoid catching load errors. If my plan is successful,...
Eregon (Benoit Daloze)
02:41 PM Feature #11148: Add a way to require files, but not raise an exception when the file isn't found
@nobu I was thinking the same, but this was the smallest patch that would accomplish what I need
@Benoit yes, for ...
tenderlovemaking (Aaron Patterson)
11:14 AM Feature #11148: Add a way to require files, but not raise an exception when the file isn't found
Why is that exception problematic?
For performance (the cost of the search is already large I suppose)
or to only c...
Eregon (Benoit Daloze)
04:21 AM Feature #11148: Add a way to require files, but not raise an exception when the file isn't found
Although I had an idea to separate `require` into "search" and "load", this may be simpler. nobu (Nobuyoshi Nakada)
04:00 PM Bug #11107: Syntax error is raised by "p ->() do a(1) do end end", but not by "p ->() do a 1 do end end"
Backported into `ruby_2_2` branch at r50487. nagachika (Tomoyuki Chikanaga)
04:00 PM Revision 3dd4b241 (git): merge revision(s) 50402: [Backport #11107]
* parse.y (lambda): push and reset cmdarg_stack in lambda body.
[ruby-core:69017] [Bug #11107]
git-svn-id...
nagachika (Tomoyuki Chikanaga)
03:48 PM Bug #11111: Backport incompatible libruby check
r50410, r50412, r50413, r50414, r50415 and r50416 were backported into `ruby_2_2` at r50486. nagachika (Tomoyuki Chikanaga)
03:47 PM Revision aca15746 (git): merge revision(s) 50410,50412,50413,50414,50415,50416: [Backport #11111]
dln.c: use EXPORT_PREFIX
* configure.in (EXPORT_PREFIX): define exported symbol prefix
string in config.h....
nagachika (Tomoyuki Chikanaga)
03:33 PM Bug #11021: FileUtils.mv displays the wrong destination when Errno::EEXIST is raised
Backported into `ruby_2_1` branch at r50485. nagachika (Tomoyuki Chikanaga)
03:32 PM Revision a1f41caf (git): merge revision(s) 50141: [Backport #11021]
* lib/fileutils.rb (FileUtils#mv): show the exact target path in
the error message instead of the destinati...
nagachika (Tomoyuki Chikanaga)
03:28 PM Bug #11030: Ruby 2.2.1 fails to compile with hardened GCC
Backported into `ruby_2_2` branch at r50484. nagachika (Tomoyuki Chikanaga)
03:28 PM Revision 0224bb03 (git): merge revision(s) 50316: [Backport #11030]
* thread_pthread.c (reserve_stack): keep sp safe zone to get rid
of crash by -fstack-check. [ruby-core:687...
nagachika (Tomoyuki Chikanaga)
03:04 PM Feature #11141: new syntax suggestion for abbreviate definition on block parameters in order
Hans Mackowiak wrote:
> my problem i got with that new syntax is what does it do when i have blocks inside of blocks...
rbjl (Jan Lelis)
06:34 AM Feature #11141: new syntax suggestion for abbreviate definition on block parameters in order
my problem i got with that new syntax is what does it do when i have blocks inside of blocks, specially with differen... Hanmac (Hans Mackowiak)
08:25 AM Bug #11130: Re: [ruby-changes:38376] glass:r50457 (trunk): * enum.c (enum_to_a): Use size to set array capa when possible.
再入チェックを入れてパフォーマンスを比較した結果、改善が見られなかったのでrevertしました。
再入チェック付の最適化:
ruby-dev bm_enum_to_a_sized.rb 19.46s user 1.29s s...
Glass_saga (Masaki Matsushita)
08:19 AM Bug #11130 (Closed): Re: [ruby-changes:38376] glass:r50457 (trunk): * enum.c (enum_to_a): Use size to set array capa when possible.
Applied in changeset r50483.
----------
* enum.c (enum_to_a): revert r50457.
it requires recursion check.
then, ...
Anonymous
08:19 AM Feature #9118 (Closed): In Enumerable#to_a, use size to set array capa when possible
Applied in changeset r50483.
----------
* enum.c (enum_to_a): revert r50457.
it requires recursion check.
then, ...
Anonymous
08:18 AM Revision d77f4934 (git): * enum.c (enum_to_a): revert r50457.
it requires recursion check.
then, it doesn't make performance improvement.
[Bug #11130] [Feature #9118]
git-svn...
Glass_saga (Masaki Matsushita)
05:33 AM Revision 0cddf1b4 (git): merge revision(s) 49095: [Backport #11144]
* lib/resolv.rb (Resolv::DNS::Label::Str#==): Check class equality.
(Resolv::DNS::Name#initialize): Normali...
U.Nakamura
03:21 AM Bug #11143 (Rejected): it should always be possible to return from an if
Why do you need such assignment? nobu (Nobuyoshi Nakada)
03:04 AM Revision 0579576d (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:13 AM Revision 60730d91 (git): parse.y: refine message for gvar w/o identitirs
* parse.y (parse_gvar): separate message for gvar without
non-space characters from message for invalid identitirs....
nobu (Nobuyoshi Nakada)
02:11 AM Revision 5b80ca1d (git): * 2015-05-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:10 AM Revision c3cc91f1 (git): test_parse.rb: fix variable name
* test/ruby/test_parse.rb (test_dstr_disallowed_variable): fix
duplicate variable name to be tested.
git-svn-id: s...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom