Project

General

Profile

Activity

From 05/20/2017 to 05/26/2017

05/26/2017

09:37 PM Feature #13601: Remove yield_self from Ruby 2.5 (already implemented)
`instance_eval` changes scope, while `yield_self` does not.
```ruby
class A
def foo
1
end
def yie...
zverok (Victor Shepelev)
08:33 PM Feature #13601: Remove yield_self from Ruby 2.5 (already implemented)
Note there are differences, for example
~~~ruby
42.instance_eval { abs2 } #=> 1764
~~~
won't work with Kernel#y...
shan (Shannon Skipper)
07:35 PM Feature #13601 (Closed): Remove yield_self from Ruby 2.5 (already implemented)
Issue https://bugs.ruby-lang.org/issues/6721 for adding `yield_self` is unnecessary as `BasicObject#instance_eval` wi... danielpclark (Daniel P. Clark)
09:31 PM Bug #10093: SecureRandom.uuid is not valid v4 and/or RFC 4122
usa (Usaku NAKAMURA) wrote:
> Please do not reuse past tickets.
Open new issue https://bugs.ruby-lang.org/issues/...
kulikov-im (Evgeniy Kulikov)
02:25 PM Bug #10093: SecureRandom.uuid is not valid v4 and/or RFC 4122
Please do not reuse past tickets. usa (Usaku NAKAMURA)
01:54 PM Bug #10093: SecureRandom.uuid is not valid v4 and/or RFC 4122
https://www.ietf.org/rfc/rfc4122.txt (#4.4)
---
current test is https://github.com/ruby/ruby/blob/ruby_2_4/test/t...
kulikov-im (Evgeniy Kulikov)
09:29 PM Bug #13603 (Closed): SecureRandom.uuid is not valid v4 and/or RFC 4122
https://www.ietf.org/rfc/rfc4122.txt (#4.4)
---
(reopen from https://bugs.ruby-lang.org/issues/10093#change-65105...
kulikov-im (Evgeniy Kulikov)
08:48 PM Feature #13602 (Rejected): Optimize instance variable access if $VERBOSE is not true when compiling
This patch optimizes instance variable lookup in the case the $VERBOSE
is not true when compiling. If $VERBOSE is n...
jeremyevans0 (Jeremy Evans)
06:32 PM Feature #13378: Eliminate 4 of 8 syscalls when requiring file by absolute path
> ```diff
> -VALUE rb_find_file_safe(VALUE, int);
> +VALUE rb_find_file_safe(VALUE, int, int);
When you are CRub...
naruse (Yui NARUSE)
05:11 PM Revision 015d05c6 (git): numeric.c: remove duplicate code
* numeric.c (flo_to_i): use dbl2ival and reduce duplicate code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58...
nobu (Nobuyoshi Nakada)
05:10 PM Revision 081b38fd (git): * 2017-05-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:10 PM Revision 6270d595 (git): Improve Array#concat performance if only one argument is given
* array.c (rb_ary_concat_multi): concatenate the array without generating
temporary Array object if only one argu...
watson1978 (Shizuo Fujita)
04:52 PM Feature #13600: yield_self should be chainable/composable
In case the description is unclear, the goal is to support something like this:
```
pipeline = (&:upcase).yield_s...
avit (Andrew Vit)
03:29 PM Feature #13600 (Rejected): yield_self should be chainable/composable
One of the main use cases that would make `yield_self` a helpful addition is to build functional pipelines (function ... avit (Andrew Vit)
02:55 PM Bug #13599 (Closed): Float#ceil(n) doesn't work for small floats
When using ceil to round up to n digits (as opposed to nearest integer) with the optional first argument, it doesn't ... Jalada (David Somers)
02:17 PM Revision 43572889 (git): erb.rb: Tiny improvement of compiling cost
by reducing string allocation.
* Before
app_erb 0.687
* After
app_erb 0.679
git-svn-id: svn+ssh://ci.ruby-lang.o...
k0kubun (Takashi Kokubun)
01:58 PM Revision 9f9f8236 (git): erb.rb: [DOC] Follow compiled code's change
introduced in r58905.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
01:49 PM Revision d9efeebf (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:49 PM Revision 6f685e10 (git): erb.rb: Generate static string with opt_str_uminus
to skip object allocation for static string.
We can't always enable frozen_string_literal pragma because we can't
fr...
k0kubun (Takashi Kokubun)
12:45 PM Feature #11952: Use getrusage for Process.times if available
Does anyone have opinion about this? Can I commit this?
I think it would be good to apply this patch to improve li...
k0kubun (Takashi Kokubun)
12:12 PM Revision 5fc32362 (git): erb.rb: Use script encoding instead of force_encoding
The original intention of introducing `_erbout.force_encoding`
in r21170 was:
- "returns a string in the same charac...
k0kubun (Takashi Kokubun)
09:49 AM Revision e3c14068 (git): remove extra call to OleInitialize
[Fix GH-1629]
Signed-off-by: Matt Wrock <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58903...
nobu (Nobuyoshi Nakada)
07:28 AM Bug #13595 (Closed): rb_alloc_tmp_buffer2 broken when: elsize % sizeof(VALUE) == 0
Applied in changeset trunk|r58902.
----------
attempt to fix rb_alloc_tmp_buffer2 for ALLOCV_N
This is a confusing ...
Anonymous
05:35 AM Bug #13595: rb_alloc_tmp_buffer2 broken when: elsize % sizeof(VALUE) == 0
Reconsidered and yours seems the intended. nobu (Nobuyoshi Nakada)
05:19 AM Bug #13595: rb_alloc_tmp_buffer2 broken when: elsize % sizeof(VALUE) == 0
Maybe like this?
```diff
diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h
index 0b277dce19..95dab1bf3f 100...
nobu (Nobuyoshi Nakada)
07:28 AM Revision 190e29f7 (git): attempt to fix rb_alloc_tmp_buffer2 for ALLOCV_N
This is a confusing function to my arithmetic-challenged mind,
but nobu seems alright with this. Anyways this lets m...
Eric Wong
07:04 AM Revision 5e7ce519 (git): dir.c: yield without base part
* dir.c (glob_helper): yield globbed part only without the base
directory path part if the base is given. [Feature...
nobu (Nobuyoshi Nakada)
07:02 AM Revision 9ee48c0a (git): runruby.rb: no PRELOAD on multiarch [ci skip]
* tool/runruby.rb: do not set environment to preload on multiarch
platforms, otherwise other external commands (e.g...
nobu (Nobuyoshi Nakada)
06:42 AM Revision 10ee38b6 (git): * lib/uri/common.rb: [DOC] add rdoc to describe
URI.unescape is obsolete [ci-skip] [fix GH-1630]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58899 b2dd03c8-39...
sonots (Naotoshi Seo)
06:39 AM Revision c854fde3 (git): sprintf.c: remove redundant condition
* sprintf.c (rb_str_format): when `t + 1 == end` (or `t < end`),
`*t == '%'` is always true. [ruby-core:80153] [Bu...
nobu (Nobuyoshi Nakada)
06:39 AM Revision a77cb8c8 (git): string.c: adjust style [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:28 AM Revision 2881374c (git): Symbol support for opt_eql_func too
* vm_insnhelper.c (comparable_by_identity): extract the condition
where comparable by identity. currently both are...
nobu (Nobuyoshi Nakada)
05:32 AM Feature #13483 (Rejected): TracePoint#enable with block for thread-local trace
ko1 (Koichi Sasada)
05:32 AM Feature #13483: TracePoint#enable with block for thread-local trace
After consideration, I found several problems.
There is a implicit expectation that we can emulate block accept ca...
ko1 (Koichi Sasada)
05:27 AM Bug #13330 (Closed): Array.include? is slow for symbols
Applied in changeset trunk|r58895.
----------
Symbol support for opt_eq_func.
* vm_insnhelper.c (opt_eq_func): opti...
ko1 (Koichi Sasada)
05:26 AM Revision ad0f8ff7 (git): Symbol support for opt_eq_func.
* vm_insnhelper.c (opt_eq_func): optimize for symbol comparison.
[Bug #13330] [fix GH-1540]
git-svn-id: svn+ssh:/...
ko1 (Koichi Sasada)
01:50 AM Revision 8dce6221 (git): compile.c: fix possible use of uninitialized value
LABEL::unremovable added by r58810 is not initialized by
new_label_body(), making the optimization unstable.
git-svn...
rhenium (Kazuki Yamaguchi)

05/25/2017

11:43 PM Revision 7d52ed59 (git): use timeout scale.
* test/lib/envutil.rb: introduce EnvUtil.apply_timeout_scale to use
this scale from outside.
* test/ruby/test_thre...
ko1 (Koichi Sasada)
08:08 PM Bug #13595: rb_alloc_tmp_buffer2 broken when: elsize % sizeof(VALUE) == 0
[email protected] wrote:
> Bug #13595: rb_alloc_tmp_buffer2 broken when: elsize % sizeof(VALUE) == 0
> https://...
normalperson (Eric Wong)
06:30 PM Feature #8643: Add Binding.from_hash
Yes, it makes sense. Thanks a lot! :) rosenfeld (Rodrigo Rosenfeld Rosas)
03:47 PM Feature #8643 (Rejected): Add Binding.from_hash
Since [Feature #8631] is accepted, closing this ticket. k0kubun (Takashi Kokubun)
06:29 PM Feature #8631: Add a new method to ERB to allow assigning the local variables from a hash
Awesome, thanks! rosenfeld (Rodrigo Rosenfeld Rosas)
03:38 PM Feature #8631 (Closed): Add a new method to ERB to allow assigning the local variables from a hash
Applied in changeset trunk|r58891.
----------
erb.rb: Add ERB#result_with_hash
[ruby-core:55985] [Feature #8631] [f...
k0kubun (Takashi Kokubun)
03:37 PM Feature #8631: Add a new method to ERB to allow assigning the local variables from a hash
I discussed about this with Seki-san.
For name, I rethought that "result_with_locals" sounds to use caller's local...
k0kubun (Takashi Kokubun)
05:43 PM Feature #13574: Method redefinition warning
> What do you mean?
> That remove_method + new definition is not atomic?
Yes. Using remove_method + define_method...
matthewd (Matthew Draper)
09:32 AM Feature #13574: Method redefinition warning
matthewd (Matthew Draper) wrote:
> apart from removing the method first, which isn't atomic
What do you mean?
Th...
Eregon (Benoit Daloze)
03:43 PM Revision 20a82f88 (git): NEWS: Add entry for ERB#result_with_hash
See r58891.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
03:38 PM Revision eb1652b5 (git): erb.rb: Add ERB#result_with_hash
[ruby-core:55985] [Feature #8631] [fix GH-1623]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58891 b2dd03c8-39d...
k0kubun (Takashi Kokubun)
03:33 PM Bug #13315 (Closed): Single "%" at the end of `printf` format string appears in the result
Applied in changeset trunk|r58890.
----------
Raise ArgumentError if sprintf format string ends with %
* Add tests ...
Eregon (Benoit Daloze)
03:33 PM Revision fd8df3ab (git): Raise ArgumentError if sprintf format string ends with %
* Add tests and specs. See ruby/spec#401.
Patch by Yuta Iwama and Shintaro Morikawa.
[ruby-core:80153] [Bug #1331...
Eregon (Benoit Daloze)
03:14 PM Revision e779eee9 (git): * 2017-05-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:14 PM Revision a2b4979b (git): hash.c: docs for Hash#transform_values
* hash.c: [DOC] fix return value in call-seq of Hash#transform_values;
other small fixes.
git-svn-id: svn+ssh://ci...
stomar (Marcus Stollsteimer)
02:08 PM Feature #11624 (Rejected): ERB deserves its own commenting token
This syntax only adds a support for comments that include "%>" or "%%>". I think the major use case of such kind of f... k0kubun (Takashi Kokubun)
01:35 PM Feature #13563: Implement Hash#choice method.
babanba-n (matzbara masanao) wrote:
> I feel that Hash#slice is wrong name and Hash#pick is better name.
> If key ...
saturnflyer (Jim Gay)
12:24 PM Feature #12694: Want a String method to remove heading substr
I've created a PR https://github.com/ruby/ruby/pull/1632 with a name String#**remove_prefix**.
I will merge if the n...
sonots (Naotoshi Seo)
11:41 AM Revision a270c90e (git): insns.def: [DOC] Fix description of tostring
rb_obj_as_string() calls not #to_str (idTo_str) but #to_s (idTo_s).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun...
k0kubun (Takashi Kokubun)
11:14 AM Revision 592c3f9b (git): string.c: Optimize String#concat when argc is 1
Optimize performance regression introduced in r56021.
* Benchmark (i7-4790K @ 4.00GH, x86_64 GNU/Linux)
Benchmark.i...
k0kubun (Takashi Kokubun)
09:15 AM Bug #13390 (Closed): MinGW build test-all SEGV, issue in test framework or error recovery?
Closing per OP request Eregon (Benoit Daloze)
09:04 AM Bug #13312: String#casecmp raises TypeError instead of returning nil
stomar (Marcus Stollsteimer) wrote:
> I also added a NEWS entry and updated the specs with a version guard for 2.5 (...
Eregon (Benoit Daloze)
08:58 AM Bug #13598 (Closed): mutex_m: Missing info in the doc
The doc for Mutex_m should remind the user of the necessity of calling super() in *each* class that includes Mutex_m.... mala (stefano frabetti)
08:34 AM Revision 4bc4403b (git): dir.c: document base keyword argument of Dir.glob
* dir.c: [DOC] document the new `base` keyword argument of Dir.glob
[Feature #13056]; also improve docs for Dir.glo...
stomar (Marcus Stollsteimer)
07:50 AM Revision 135c7a53 (git): dir.c: docs for Dir.each_child and Dir.children
* dir.c: [DOC] fix examples for Dir.each_child and Dir.children.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5...
stomar (Marcus Stollsteimer)
07:36 AM Revision 7e323b5d (git): vm_insnhelper.c: remove redefinitions and undefine after used
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:29 AM Revision 7db534a2 (git): vm_insnhelper.c: rb_eql_opt should call eql?
* vm_insnhelper.c (rb_eql_opt): should call #eql? on Float and
String, not #==.
git-svn-id: svn+ssh://ci.ruby-lang...
nobu (Nobuyoshi Nakada)
04:25 AM Bug #13447 (Closed): Improve performance of rb_eql()
Applied in changeset trunk|r58881.
----------
Improve performance of rb_eql()
This improvement is similar with http...
watson1978 (Shizuo Fujita)
04:25 AM Bug #13365 (Closed): Improve performance of rb_equal() with special constants
Applied in changeset trunk|r58880.
----------
Improve performance of rb_equal()
* object.c (rb_equal): add optimize...
watson1978 (Shizuo Fujita)
04:25 AM Revision b827fdff (git): Improve performance of rb_eql()
This improvement is similar with https://github.com/ruby/ruby/pull/1552
internal.h: add declaration of rb_eql_opt() ...
watson1978 (Shizuo Fujita)
04:25 AM Revision 6e0e067d (git): Improve performance of rb_equal()
* object.c (rb_equal): add optimized path to compare the objects using
rb_equal_opt(). Previously, if not same ob...
watson1978 (Shizuo Fujita)
02:50 AM Feature #11302 (Closed): Dir.entries and Dir.foreach without [".", ".."]
Applied in changeset trunk|r58879.
----------
dir.c: Dir.each_child and Dir.children
* dir.c (dir_s_each_child, dir...
nobu (Nobuyoshi Nakada)
02:50 AM Revision 944c455b (git): dir.c: Dir.each_child and Dir.children
* dir.c (dir_s_each_child, dir_s_children): Dir.each_child and
Dir.children which are similar to Dir.foreach and Di...
nobu (Nobuyoshi Nakada)
02:50 AM Revision 5a302b30 (git): test_dir.rb: test Dir.entries
* test/ruby/test_dir.rb (test_entries): test class singleton
method Dir.entries too.
git-svn-id: svn+ssh://ci.ruby...
nobu (Nobuyoshi Nakada)
02:14 AM Feature #13056 (Closed): base option to Dir.glob
nobu (Nobuyoshi Nakada)
01:46 AM Revision bf463442 (git): dir.c: dir_each_entries
* dir.c (dir_each_entries): expand entries without method calls.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5...
nobu (Nobuyoshi Nakada)
01:08 AM Bug #13594: Segfault in gc_sweep_step 2.4.1
I've found a similar result. https://travis-ci.org/sferik/rails_admin/jobs/124039186
This issue seems to be related ...
wanabe (_ wanabe)

05/24/2017

09:26 PM Revision 2079b710 (git): string.c: fix String#crypt leak introduced in r58866
* string.c (rb_str_crypt): define LARGE_CRYPT_DATA when allocating
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
Eric Wong
07:40 PM Misc #12529: LEGAL file covering all the license information within Ruby
@hsbt I do not have any other considerations or concerns right now.
Anonymous
06:15 PM Misc #12529: LEGAL file covering all the license information within Ruby
I think this issue is already resolved without UCD license.
@jaruga
Is there another consideration about LEGAL ...
hsbt (Hiroshi SHIBATA)
07:31 PM Bug #13597: Does read_nonblock call remalloc for the buffer if does it just set the size attribute
[email protected] wrote:
> Hello
>
> I've observed that a lot of memory gets allocated and wasted
> when `read_n...
normalperson (Eric Wong)
05:06 PM Bug #13597 (Closed): Does read_nonblock call remalloc for the buffer if does it just set the size attribute
Hello
I've observed that a lot of memory gets allocated and wasted when read_nonblock is called for a number of by...
emilys (Emily Stolfo)
06:59 PM Revision daf14f71 (git): * 2017-05-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:59 PM Revision 410362f6 (git): thread_pthread: retry timer thread creation w/o attr on EINVAL
Setting a small stack size can fail due to having 3rd-party
libraries (e.g. libkqueue) loaded, if those libraries use...
Eric Wong
02:26 PM Revision de5e3475 (git): dir.c: prefer NAMLEN to d_name
* dir.c (glob_helper): prefer NAMLEN, do not assume d_name is NUL
terminated everywhere.
git-svn-id: svn+ssh://ci....
nobu (Nobuyoshi Nakada)
01:30 PM Revision c31de52f (git): test_http.rb: fix r58855
* test/net/http/test_http.rb (test_s_start): git rid of error when
failed to start a connection.
git-svn-id: svn+s...
nobu (Nobuyoshi Nakada)
08:07 AM Bug #13596 (Closed): Segfault when catching SystemStackError in eval
nobu (Nobuyoshi Nakada)
06:46 AM Bug #13596: Segfault when catching SystemStackError in eval
Updated description to add a successful testcase. mjones (Morgan Jones)
06:12 AM Bug #13596: Segfault when catching SystemStackError in eval
Here's a GDB trace with VMDEBUG=1 for a Ruby 2.4.1 checkout. It appears that the crash occurs when setting up the fra... mjones (Morgan Jones)
03:31 AM Bug #13596 (Closed): Segfault when catching SystemStackError in eval
This minimal testcase will crash most ruby versions with a SIGSEGV (though it's likely that other constructions could... mjones (Morgan Jones)
08:00 AM Bug #13592 (Closed): Enumerable#reduce with symbol does not respect method visibility
Applied in changeset trunk|r58871.
----------
enum.c: respect method visibility
* enum.c (ary_inject_op): should re...
nobu (Nobuyoshi Nakada)
06:35 AM Bug #13592: Enumerable#reduce with symbol does not respect method visibility
i think you still mix reduce(&:+) with reduce(:+)
both are two totally different ways to call this method.
(the lat...
Hanmac (Hans Mackowiak)
01:06 AM Bug #13592: Enumerable#reduce with symbol does not respect method visibility
This is exactly what I am saying.
This behavior of `reduce` is unpredictable and different of the another `Enumera...
americodls (Americo Duarte)
08:00 AM Revision 5e25bfa2 (git): enum.c: respect method visibility
* enum.c (ary_inject_op): should respect method visibility, do not
optimize uncallable method. [ruby-core:81349] [...
nobu (Nobuyoshi Nakada)
07:57 AM Revision da9d5db8 (git): test_enum.rb: test_inject_array_op_redefined
* test/ruby/test_enum.rb (test_inject_array_op_redefined): test
other operators too. [Bug#12178]
git-svn-id: svn+...
nobu (Nobuyoshi Nakada)
07:57 AM Revision 73d797ad (git): assertions.rb: AllFailures#foreach
* test/lib/test/unit/assertions.rb (AllFailures#foreach):
shortcircuit for `each` and `AllFailures#for`.
git-svn-i...
nobu (Nobuyoshi Nakada)
07:11 AM Revision d7015ae4 (git): duplicate method
* test/ruby/test_enum.rb (assert_float_equal): remove overridden
definition.
git-svn-id: svn+ssh://ci.ruby-lang.or...
nobu (Nobuyoshi Nakada)
06:57 AM Bug #13553 (Closed): Improve performance in where push the element into non shared Array object
Applied in changeset trunk|r58867.
----------
Improve performance in where push the element into non shared Array ob...
watson1978 (Shizuo Fujita)
06:57 AM Revision 044257c0 (git): Improve performance in where push the element into non shared Array object
* array.c (ary_ensure_room_for_push): use rb_ary_modify_check() instead of
rb_ary_modify() to check whether the o...
watson1978 (Shizuo Fujita)
06:55 AM Revision 92261511 (git): string.c: for small crypt_data
* string.c (rb_str_crypt): struct crypt_data defined in
missing/crypt.h is small enough.
git-svn-id: svn+ssh://ci....
nobu (Nobuyoshi Nakada)
06:46 AM Revision 9e1624cf (git): Add debug counters.
* debug_counter.h: add the following counters to measure object types.
obj_free: freed count
obj_str_ptr: freed c...
ko1 (Koichi Sasada)
03:01 AM Revision 144e0670 (git): string.c (rb_str_crypt): fix excessive stack use with crypt_r
"struct crypt_data" is 131232 bytes on x86-64 GNU/Linux,
making it unsafe to use tiny Fiber stack sizes.
git-svn-id:...
Eric Wong
03:00 AM Bug #13593: Addrinfo#== behaves oddly
Accurate observation. It does not define equality so falls back to Object's definition, which compares identity.
...
shyouhei (Shyouhei Urabe)
02:37 AM Bug #13595 (Closed): rb_alloc_tmp_buffer2 broken when: elsize % sizeof(VALUE) == 0
Here is the function in full as of current trunk (r58863):
~~~c
static inline void *
rb_alloc_tmp_buffer2(volati...
normalperson (Eric Wong)
12:40 AM Bug #13594: Segfault in gc_sweep_step 2.4.1
This seems to be caused by some interaction with the `simplecov` gem. I don't understand why, yet, and I have not yet... sax (Eric Saxby)
12:34 AM Revision 2e87ef8b (git): rubyspec/core/io/popen_spec: avoid lingering "ruby -e sleep" process
The ruby_cmd helper blindly escapes code blocks passed to it,
causing "sleep" to be quoted in the command-line. This...
Eric Wong

05/23/2017

07:56 PM Bug #13592: Enumerable#reduce with symbol does not respect method visibility
reduce(&:+) is different from
reduce(:+), this one has nothing to do with :+.to_proc
reduce/inject with symbol pa...
Hanmac (Hans Mackowiak)
04:08 PM Bug #13592 (Open): Enumerable#reduce with symbol does not respect method visibility
americodls (Americo Duarte)
03:53 PM Bug #13592 (Feedback): Enumerable#reduce with symbol does not respect method visibility
Please, reconsider. Look this example:
~~~
irb(main):092:0> :puts.to_proc.call("")
NoMethodError: private meth...
americodls (Americo Duarte)
03:04 PM Bug #13592 (Rejected): Enumerable#reduce with symbol does not respect method visibility
The proc returned by `Symbol#to_proc` is equivalent to `proc {|recv, *args| recv.__send__(self, *args)}`.
So it can ...
nobu (Nobuyoshi Nakada)
02:43 PM Bug #13592: Enumerable#reduce with symbol does not respect method visibility
Sorry, ignore the IRB thing. But my question about the reduce still valid.
americodls (Americo Duarte)
02:37 PM Bug #13592 (Closed): Enumerable#reduce with symbol does not respect method visibility
When use reduce with symbol, I expect the symbol is called in object but respecting the method visibility.
Example...
americodls (Americo Duarte)
07:19 PM Bug #13594 (Closed): Segfault in gc_sweep_step 2.4.1
In ruby 2.4.1 I am seeing segfaults in `gc_sweep_step`. These do not occur when I use the same commands in ruby 2.3.4... sax (Eric Saxby)
05:47 PM Feature #13568: File#path for O_TMPFILE fds has no meaning
I think an exception is the best way to be clear about the problem here, nil or a fake path are most likely to raise ... Eregon (Benoit Daloze)
05:41 PM Feature #13576: File#to_path shall be deleted
This could break methods which take a pathname-like object and call #to_path when a File is passed to them (e.g. File... Eregon (Benoit Daloze)
05:33 PM Bug #13591: spec/rubyspec/core/time/zone_spec - Windows does not support ENV['TZ']
MSP-Greg (Greg L) wrote:
> Given that spec tests are not currently included in appveyor, do you know if the test ['d...
usa (Usaku NAKAMURA)
03:39 PM Bug #13591: spec/rubyspec/core/time/zone_spec - Windows does not support ENV['TZ']
Using a MinGW build, ENV['TZ'] seemed to have no affect on Time, and [time zone spec tests](https://msp-greg.github.i... MSP-Greg (Greg L)
02:29 PM Bug #13591 (Rejected): spec/rubyspec/core/time/zone_spec - Windows does not support ENV['TZ']
MSVCRT uses `TZ`.
See https://msdn.microsoft.com/en-us/library/w4ddyt9h.aspx
usa (Usaku NAKAMURA)
02:15 PM Bug #13591 (Closed): spec/rubyspec/core/time/zone_spec - Windows does not support ENV['TZ']
Windows does not support ENV['TZ'], so it should be removed from rspec tests.
See [GitHub PR 1627](https://github....
MSP-Greg (Greg L)
04:57 PM Bug #13438: Fix heap overflow due to configure.in not being updated for HEAP_* -> HEAP_PAGE_* variable renaming
ko1 (Koichi Sasada) wrote:
> > we may want to drop OpenBSD <5.2 support
>
> On https://bugs.ruby-lang.org/project...
jeremyevans0 (Jeremy Evans)
04:51 PM Revision 86c9a6d4 (git): * 2017-05-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:51 PM Revision 6a153781 (git): skip on Solaris 11
On Solaris 11, MSG_OOB is in readfds?
http://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable11x/ruby-trunk/log/20170...
naruse (Yui NARUSE)
03:30 PM Bug #13593 (Rejected): Addrinfo#== behaves oddly
It appears as if Addrinfo is using object identity. `Addrinfo#==` doesn't appear to work as one might expect, given t... ioquatix (Samuel Williams)
02:34 PM Revision 6d06aadd (git): Dir as base option
* dir.c (glob_helper): support Dir instance as `base` option.
[Feature#13056]
git-svn-id: svn+ssh://ci.ruby-lang.o...
nobu (Nobuyoshi Nakada)
01:54 PM Revision 58b6c422 (git): test_dir.rb: sort
* test/ruby/test_dir.rb (test_glob_base): sort the globbed result
to compare.
git-svn-id: svn+ssh://ci.ruby-lang.o...
nobu (Nobuyoshi Nakada)
01:47 PM Revision 52419a6e (git): Dir.glob base option
* dir.c (dir_s_aref, dir_s_glob): add new optional keyword
argument, `base`. [Feature#13056]
git-svn-id: svn+ssh:...
nobu (Nobuyoshi Nakada)
01:18 PM Revision 2ba68008 (git): readonly srcdir
.travis.yml: make srcdir unwritable during build and tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58857 ...
nobu (Nobuyoshi Nakada)
12:42 PM Revision 08ef146e (git): out-of-place on travis
* .travis.yml (before_script, script): out-of-place build.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58856 b...
nobu (Nobuyoshi Nakada)
12:38 PM Revision 0a254684 (git): fix FD leaks
* test/net/http/test_http.rb (test_s_start): finish connections to
get rid of FD leaks.
git-svn-id: svn+ssh://ci.r...
nobu (Nobuyoshi Nakada)
12:11 PM Revision cffb09aa (git): LABEL_FORMAT
* compile.c (LABEL_FORMAT): extract format string for labels.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5885...
nobu (Nobuyoshi Nakada)
11:35 AM Revision dfc11063 (git): unused member
* vsnprintf.c (__sFILE): _lbfsize is not used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58853 b2dd03c8-39d4...
nobu (Nobuyoshi Nakada)
10:43 AM Feature #13588: Add Encoding#min_char_size, #max_char_size, #minmax_char_size
phluid61 (Matthew Kerwin) wrote:
> I hope there are no encodings where valid characters might not be a multiple of t...
haines (Andrew Haines)
10:31 AM Feature #13588: Add Encoding#min_char_size, #max_char_size, #minmax_char_size
haines (Andrew Haines) wrote:
>
> ~~~ ruby
> until char.size == max_char_size || eof?
> char << read(min_c...
phluid61 (Matthew Kerwin)
10:05 AM Feature #13588: Add Encoding#min_char_size, #max_char_size, #minmax_char_size
I'm implementing a tar archive reader that takes an arbitrary stream (`StringIO`, `File`, `Zlib::GzipReader`, ...) an... haines (Andrew Haines)
09:17 AM Feature #13588 (Feedback): Add Encoding#min_char_size, #max_char_size, #minmax_char_size
haines (Andrew Haines) wrote:
> When implementing an IO-like object, I'd like to handle encoding correctly.
This ...
duerst (Martin Dürst)
09:11 AM Bug #13590 (Closed): Change max byte length of UTF-8 to 4 bytes to conform to definition of UTF-8
This seems to be a leftover of issue #11094.
Keeping the max byte length of UTF-8 at 6 seems to only potentially c...
duerst (Martin Dürst)
06:02 AM Revision 80a4084b (git): Use test-unit 3.2.4
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Sutou Kouhei
05:44 AM Bug #13579 (Closed): Net::IMAP#append blocks when a NO response is received
Fixed in r58792 and r58844. shugo (Shugo Maeda)
03:45 AM Bug #13589 (Rejected): unmatched opening backtick / closing quote in NoMethodError: undefined method `name' for {}:Hash
Error messages are not Markdown.
Use multiline code block to quote them.
nobu (Nobuyoshi Nakada)
12:19 AM Bug #13589: unmatched opening backtick / closing quote in NoMethodError: undefined method `name' for {}:Hash
domaio (Dorian M) wrote:
> Looking at error.c in general, it seems like a rather intentional
Yes. I bekieve this ...
shyouhei (Shyouhei Urabe)
01:04 AM Revision b532c83e (git): readonly srcdir
appveyor.yml: make srcdir unwritable during build and tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58851...
nobu (Nobuyoshi Nakada)
01:04 AM Revision bd765ce2 (git): appveyor.yml: remove unused UNICODE_DATA_DIR
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

05/22/2017

11:41 PM Revision 40a99224 (git): * 2017-05-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:41 PM Revision 2ab82704 (git): variable.c (autoload_sleep_done): avoid needless list_node init
We do not need list_del_init in ensure callbacks, only list_del,
since it can only ever be called after list_del_init...
Eric Wong
09:09 PM Bug #13589: unmatched opening backtick / closing quote in NoMethodError: undefined method `name' for {}:Hash
Thought about it when trying to explain Struct vs OpenStruct on Stack Overflow :) https://stackoverflow.com/a/4412181... domaio (Dorian M)
09:06 PM Bug #13589 (Rejected): unmatched opening backtick / closing quote in NoMethodError: undefined method `name' for {}:Hash
From [`error.c`](https://github.com/ruby/ruby/blob/trunk/error.c#L1953-L1964):
~~~ c
/*
* Document-class: NoMe...
domaio (Dorian M)
06:35 PM Feature #8631: Add a new method to ERB to allow assigning the local variables from a hash
I'm actually fine with whatever name you prefer. result_with_locals and render_with_locals are both fine to me. Thank... rosenfeld (Rodrigo Rosenfeld Rosas)
03:50 AM Feature #8631: Add a new method to ERB to allow assigning the local variables from a hash
> Or maybe ERB.new(str, locals: {a: b}).result?
For this case, it would have the same problem as ERB.new(str).resu...
k0kubun (Takashi Kokubun)
04:15 PM Bug #13582 (Closed): IMAPTest#test_append_fail always errors on Windows
shugo (Shugo Maeda) wrote:
> r58840 で対策してみましたがどうでしょうか?
手元で何度か試行してみた感じでは、大丈夫っぽく見えます。
rubyciでも問題が出なくなっているようです。
とい...
usa (Usaku NAKAMURA)
06:14 AM Bug #13582: IMAPTest#test_append_fail always errors on Windows
usa (Usaku NAKAMURA) wrote:
> r58792で追加されたテストですが、Windowsでは毎回Errorになります。
> assertion自体は通過してるっぽいですが、テストメソッドから抜ける際に
>...
shugo (Shugo Maeda)
02:25 PM Revision 35695788 (git): source directory may not be writable
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:11 PM Feature #13588: Add Encoding#min_char_size, #max_char_size, #minmax_char_size
Seems sensible to me. Guess someone from the ruby core team or matz should chime in and perhaps comment - or someone ... shevegen (Robert A. Heiler)
12:10 PM Feature #13588 (Feedback): Add Encoding#min_char_size, #max_char_size, #minmax_char_size
When implementing an IO-like object, I'd like to handle encoding correctly. To do so, I need to know the minimum and ... haines (Andrew Haines)
11:36 AM Feature #13568: File#path for O_TMPFILE fds has no meaning
nobu (Nobuyoshi Nakada) wrote:
> Once #13576 is introduced, this issue becomes stale.
> It doesn't make sense to ch...
shyouhei (Shyouhei Urabe)
11:25 AM Feature #13568: File#path for O_TMPFILE fds has no meaning
Once #13576 is introduced, this issue becomes stale.
It doesn't make sense to change `File#path`.
nobu (Nobuyoshi Nakada)
08:26 AM Feature #13568: File#path for O_TMPFILE fds has no meaning
nobu (Nobuyoshi Nakada) wrote:
> ```sh
> $ ./x86_64-linux/bin/ruby -e 'f = open(File.expand_path("/tmp"), File::RDW...
shyouhei (Shyouhei Urabe)
08:17 AM Feature #13568: File#path for O_TMPFILE fds has no meaning
```sh
$ ./x86_64-linux/bin/ruby -e 'f = open(File.expand_path("/tmp"), File::RDWR|File::TMPFILE); p open(f).read'
T...
nobu (Nobuyoshi Nakada)
07:49 AM Feature #13568: File#path for O_TMPFILE fds has no meaning
shyouhei (Shyouhei Urabe) wrote:
> nobu (Nobuyoshi Nakada) wrote:
> > A correction; The method which `open` calls i...
nobu (Nobuyoshi Nakada)
05:01 AM Feature #13568: File#path for O_TMPFILE fds has no meaning
nobu (Nobuyoshi Nakada) wrote:
> shyouhei (Shyouhei Urabe) wrote:
> > At the meeting we discussed the use case of `...
shyouhei (Shyouhei Urabe)
11:24 AM Bug #13524 (Third Party's Issue): miniruby: [BUG] Segmentation fault at 0x0055e487e00230 ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-li
Took me time for several reasons:
1. Had temporarily ran out of my docker hosts and had to prepare new one. This ...
shyouhei (Shyouhei Urabe)
11:23 AM Feature #13576: File#to_path shall be deleted
Agree, it has no meanings. nobu (Nobuyoshi Nakada)
07:36 AM Revision cbedbaf9 (git): lib/net/protocol.rb: account read_bytes before caller sees it
Users may modify the chunk yielded to them in Net::HTTPResponse#read_body.
This will allow users to reduce memory usa...
Eric Wong
07:13 AM Revision 5565fed8 (git): hash.c: [DOC] fix docs for Hash#transform_values!
Hash#transform_values! returns the receiver rather than a new Hash
object.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
rhenium (Kazuki Yamaguchi)
06:13 AM Revision 27fb27ff (git): net/imap: separate @continuation_request_exception from @exception
Otherwise literal data will be sent even if NO response is returned
because @exception is set to nil in receive_respo...
shugo (Shugo Maeda)
06:04 AM Bug #12670: Segmentation fault on `Magick::Image#get_pixels` on ruby since ruby-2.2
It reproduced "incorrect checksum for freed object", with a fix.
```diff
- Data_Wrap_Struct(rb_cData, NULL, du...
nobu (Nobuyoshi Nakada)
05:05 AM Bug #12670: Segmentation fault on `Magick::Image#get_pixels` on ruby since ruby-2.2
nobu (Nobuyoshi Nakada) wrote:
> > ```c
> Data_Wrap_Struct(rb_cData, NULL, dummy_free, &i);
> ```
>
> Wrapp...
wanabe (_ wanabe)
04:36 AM Bug #12670: Segmentation fault on `Magick::Image#get_pixels` on ruby since ruby-2.2
> ```c
Data_Wrap_Struct(rb_cData, NULL, dummy_free, &i);
```
Wrapping the pointer to a local variable?
Obvi...
nobu (Nobuyoshi Nakada)
12:29 AM Bug #12670: Segmentation fault on `Magick::Image#get_pixels` on ruby since ruby-2.2
I reduced repro codes, segv.c and segv.rb.
They cause assertion failure with RGENGC_CHECK_MODE=1.
```
ruby 2.5.0...
wanabe (_ wanabe)
04:10 AM Revision c45a52af (git): downloader.rb: true symlink on cygwin
* tool/downloader.rb (Downloader.link_cache): on Cygwin, make true
symlink only, which is provided by the OS. as m...
nobu (Nobuyoshi Nakada)
03:56 AM Bug #12074 (Closed): [PERF] bm_app_erb.rb slower
Applied in changeset trunk|r58842.
----------
erb.rb: Skip creating regexp
if stags and etags are not changed from ...
k0kubun (Takashi Kokubun)
03:56 AM Revision 72fb1e16 (git): erb.rb: Skip creating regexp
if stags and etags are not changed from default.
:putobject insn (of regexp) will be used instead of :toregexp insn....
k0kubun (Takashi Kokubun)
03:18 AM Revision 7a14ffbf (git): fix r58833
* tool/downloader.rb (Downloader.download): just link to the cache
when downloaded to the cache but not the target ...
nobu (Nobuyoshi Nakada)

05/21/2017

11:52 PM Revision 8623ba86 (git): lib/net/protocol: clear short-lived read buffer
Using a parallel Net::HTTP downloader, this reduced memory usage
from around 120MB to 50MB on my 32-bit x86 system.
...
Eric Wong
08:05 PM Bug #13312: String#casecmp raises TypeError instead of returning nil
I did not include the type check in `str_casecmp`, which seems superfluous to me. I also adjusted the tests, docs, an... stomar (Marcus Stollsteimer)
07:28 PM Bug #13312 (Closed): String#casecmp raises TypeError instead of returning nil
Applied in changeset trunk|r58837.
----------
string.c: fix String#{casecmp,casecmp?} for non-string arguments
* st...
stomar (Marcus Stollsteimer)
07:31 PM Revision 7406d7cf (git): String#casecmp no longer raises TypeError
* See https://bugs.ruby-lang.org/issues/13312
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58839 b2dd03c8-39d4-...
stomar (Marcus Stollsteimer)
07:29 PM Revision 102ec7f4 (git): NEWS: String#{casecmp,casecmp?} [Bug #13312]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
07:28 PM Revision 40bc846b (git): string.c: fix String#{casecmp,casecmp?} for non-string arguments
* string.c: make String#{casecmp,casecmp?} return nil for
non-string arguments instead of raising a TypeError.
* t...
stomar (Marcus Stollsteimer)
07:27 PM Revision 913afdf9 (git): test_string.rb,test_symbol.rb: add some tests
* test/ruby/test_string.rb: add more test cases for String#casecmp.
* test/ruby/test_symbol.rb: ditto for Symbol#{cas...
stomar (Marcus Stollsteimer)
07:25 PM Revision 47f2bd93 (git): Use should_receive expectation instead of singleton method
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
05:33 PM Feature #13551: Add a method to alias class methods
Martin showed this example:
> class Array
> class << self
> alias :my_new :new
> end
Ruby allows thi...
shevegen (Robert A. Heiler)
05:29 PM Feature #13551: Add a method to alias class methods
> Given that it's very easy (as shown by Matthew) to create such a method, do you think it's necessary that this
> b...
shevegen (Robert A. Heiler)
04:51 PM Feature #13587 (Closed): Improve performance of string interpolation
This patch will add pre-allocation in string interpolation.
By this, unnecessary capacity resizing is avoided.
Fo...
south37 (Nao Minami)
04:45 PM Revision 4a9a0eaa (git): * 2017-05-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:45 PM Revision 48070cef (git): downloader cache
* tool/downloader.rb (Downloader.download): manage download cache.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
nobu (Nobuyoshi Nakada)
02:29 PM Revision 2ee57d5f (git): remove verify option
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:30 AM Revision 70b99576 (git): downloader.rb: utilize dir argument
* tool/downloader.rb (Downloader::RubyGems.download): utilize
`dir` argument of Downloader.download.
git-svn-id: s...
nobu (Nobuyoshi Nakada)
07:17 AM Bug #13191 (Open): sample/pty/shl.rb がうまく動かない
znz (Kazuhiro NISHIYAMA)
07:13 AM Revision b4c20088 (git): Add missing word in transform_values methods description
Explicitly says that the methods return a new hash rather than just
stating it return a new something we don't know.
...
znz (Kazuhiro NISHIYAMA)
03:36 AM Bug #13357 (Closed): Improve Time#+ & Time#- performance
Applied in changeset trunk|r58829.
----------
Improve Time#+ & Time#- performance
* time.c (wadd): use internal add...
watson1978 (Shizuo Fujita)
03:36 AM Bug #13354 (Closed): Improve Time#<=> performance
Applied in changeset trunk|r58828.
----------
Improve Time#<=> performance
* time.c (wcmp): use internal cmp() func...
watson1978 (Shizuo Fujita)
03:36 AM Revision c208d15f (git): Improve Time#+ & Time#- performance
* time.c (wadd): use internal addv() function to calculate internal value in
Time object. On 64-bit machine, Time...
watson1978 (Shizuo Fujita)
03:36 AM Revision 92ea637c (git): Improve Time#<=> performance
* time.c (wcmp): use internal cmp() function for comparing internal Fixnum value
in Time objects. On 64-bit machi...
watson1978 (Shizuo Fujita)
01:01 AM Revision 3f8248f1 (git): Remove redundant square brackets
Use character class directly instead of
character class in character class.
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
znz (Kazuhiro NISHIYAMA)

05/20/2017

11:32 PM Feature #13396: Net::HTTP has no write timeout
[email protected] wrote:
> Only supports Linux:

...And only with sockets where O_NONBLOCK is not set, because
t...
normalperson (Eric Wong)
10:01 PM Feature #13396: Net::HTTP has no write timeout
Only supports Linux:
```diff
@@ -10372,11 +10383,23 @@ static int
nogvl_wait_for_single_fd(int fd, short events...
naruse (Yui NARUSE)
06:48 PM Feature #13396 (Assigned): Net::HTTP has no write timeout
The concept Net::HTTP#write_timeout sounds fine.
> However adding a Timeout.timeout call around req.exec did work....
naruse (Yui NARUSE)
08:42 PM Feature #8631: Add a new method to ERB to allow assigning the local variables from a hash
I would already suggest a new name when I read about the problems with overriding the current method, so I would agre... rosenfeld (Rodrigo Rosenfeld Rosas)
05:41 PM Feature #8631 (Feedback): Add a new method to ERB to allow assigning the local variables from a hash
k0kubun (Takashi Kokubun)
08:01 PM Feature #13583: Adding `Hash#transform_keys` method
I think the names are good, both #transform_keys and #transform_values.
Seem quite clear to me from the names.
...
shevegen (Robert A. Heiler)
08:56 AM Feature #13583: Adding `Hash#transform_keys` method
I don't think you missed anything, except I would just point out to also add `Hash#transform_keys!`. I don't know if ... graywolf (Gray Wolf)
01:49 AM Feature #13583: Adding `Hash#transform_keys` method
Thank you for issuing this. I see there is an obvious needs for this transformation (stringify_keys) so I'm :+1: to ... shyouhei (Shyouhei Urabe)
06:55 PM Bug #13566 (Assigned): A process freezes at the beginning of C level backtrace when a certain SEGV is occurred
This issue is not only for NULL but also the other address such as 0x00000000000001.
```
$ ruby -r fiddle -e 'Fid...
mrkn (Kenta Murata)
06:50 PM Feature #13577: Digest.file accidentally receives File object but uses file path
Hanmac (Hans Mackowiak) wrote:
> as Sorah did there: https://github.com/aws/aws-sdk-ruby/pull/1516
> i would sugges...
naruse (Yui NARUSE)
05:36 PM Revision 64c91470 (git): erb.rb: Allow trimming CR in all trim_modes
to unify a behavior with r58823 and r58825.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58826 b2dd03c8-39d4-4d...
k0kubun (Takashi Kokubun)
05:17 PM Bug #5339 (Closed): ERB generates extra newlines on Windows
Applied in changeset trunk|r58825.
----------
erb.rb: Allow explicit trimming carriage return
when trim_mode is "-"...
k0kubun (Takashi Kokubun)
05:17 PM Revision b82ed2ce (git): erb.rb: Allow explicit trimming carriage return
when trim_mode is "-", for Windows environments.
[ruby-core:39625] [Bug #5339]
git-svn-id: svn+ssh://ci.ruby-lang.o...
k0kubun (Takashi Kokubun)
05:03 PM Revision 37bc70e6 (git): doc/maintainers.rdoc: Add me to ERB maintainers
The current maintainer suggested this in ruby-dev:50113.
Please ping me if an issue happens in ERB.
git-svn-id: svn+...
k0kubun (Takashi Kokubun)
04:50 PM Bug #11464 (Closed): ERB trimming doesn't trim carriage returns
Applied in changeset trunk|r58823.
----------
erb.rb: Allow trimming carriage return
when trim_mode is "<>", for Wi...
k0kubun (Takashi Kokubun)
04:50 PM Revision 040f2756 (git): erb.rb: Allow trimming carriage return
when trim_mode is "<>", for Windows environments.
[Bug #11464]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58...
k0kubun (Takashi Kokubun)
04:36 PM Bug #13586 (Closed): Ruby hangs when accessing array which is modified in instance_eval after Coverage.start
The following code will hang ruby:
~~~
# main.rb
require "coverage"
Coverage.start
require_relative "./f...
mtsmfm (Fumiaki Matsushima)
04:20 PM Revision a6986f10 (git): erb.rb: Prevent potential unexpected rescue
of LoadError in some method calls, not from `require "strscan"`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5...
k0kubun (Takashi Kokubun)
03:58 PM Revision 9aa33d5d (git): * 2017-05-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:58 PM Revision a1b924f0 (git): Clean proxy
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
02:55 PM Revision ca34d707 (git): erb.rb: Drop unused scanner implementation
Original `SimpleScanner` was used only in tests.
Since `SimpleScanner` and `SimpleScanner2` work in the same way, I w...
k0kubun (Takashi Kokubun)
02:07 PM Bug #13312: String#casecmp raises TypeError instead of returning nil
> Can you handle this?
Ok.
stomar (Marcus Stollsteimer)
01:00 PM Revision f1e10bd2 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:00 PM Revision 33710d45 (git): Add coverage measurement mode by using gcov
This experimental feature is only for Ruby-core team, not for casual users.
Usage: `./configure --enable-gcov && mak...
mame (Yusuke Endoh)
12:51 PM Feature #13568: File#path for O_TMPFILE fds has no meaning
shyouhei (Shyouhei Urabe) wrote:
> At the meeting we discussed the use case of `File#path` and we thought there are ...
nobu (Nobuyoshi Nakada)
07:20 AM Feature #13568: File#path for O_TMPFILE fds has no meaning
like i said, open with write mode is the problem.
because it didn't fail with the nonexistent path
an way for it ...
Hanmac (Hans Mackowiak)
02:49 AM Feature #13568: File#path for O_TMPFILE fds has no meaning
At the meeting we discussed the use case of `File#path` and we thought there are 2 kinds:
- Pass it to `open()`
-...
shyouhei (Shyouhei Urabe)
12:23 PM Revision 41e800f6 (git): ripper.c should have `#line "ripper.c"`, not `#line "parse.c"`
The order of sed commands in Makefile of ripper was wrong: it tries to
replace `y.tab.c` with `ripper.c`, but before ...
mame (Yusuke Endoh)
11:40 AM Revision 52de8260 (git): compile.c: optimize branches
* compile.c (compile_branch_condition, iseq_compile_each0):
eliminate unreachable branches in NODE_IF.
git-svn-id:...
nobu (Nobuyoshi Nakada)
10:27 AM Revision 4b39eaf4 (git): compile.c: binary logop check
* compile.c (compile_branch_condition): turn recursion at binary
logical operator into loop by goto, and check the ...
nobu (Nobuyoshi Nakada)
10:21 AM Revision 82092f4b (git): prime.rb: remove alias after timeout test
* test/test_prime.rb: remove alias after timeout test.
* lib/prime.rb: fix typo.
git-svn-id: svn+ssh://ci.ruby-lang...
stomar (Marcus Stollsteimer)
09:48 AM Feature #13575 (Closed): [PATCH] speed up IO#close with many threads
r58812
normalperson (Eric Wong)
09:47 AM Feature #9632 (Closed): [PATCH 0/2] speedup IO#close with linked-list from ccan
Applied in changeset trunk|r58812.
----------
speed up IO#close with many threads
Today, it increases IO#close perf...
Anonymous
09:47 AM Revision 508091d9 (git): speed up IO#close with many threads
Today, it increases IO#close performance with many threads:
Execution time (sec)
name trunk after
...
Eric Wong
09:38 AM Bug #13492: Integer#prime? and Prime.each might produce false positives
@marcandre
I actually was working on the essentially same fix for the test case and about to commit; only I did wa...
stomar (Marcus Stollsteimer)
12:39 AM Bug #13492 (Closed): Integer#prime? and Prime.each might produce false positives
Good catch.
I tweaked the timeout test by patching `Integer.sqrt`.
marcandre (Marc-Andre Lafortune)
09:23 AM Bug #13343 (Closed): Improve Hash#merge performance
Applied in changeset trunk|r58811.
----------
Improve Hash#merge performance
* hash.c (rb_hash_merge): use rb_hash_...
watson1978 (Shizuo Fujita)
09:23 AM Revision 9cd66d70 (git): Improve Hash#merge performance
* hash.c (rb_hash_merge): use rb_hash_dup() instead of rb_obj_dup() to duplicate
Hash object. rb_hash_dup() is fa...
watson1978 (Shizuo Fujita)
08:34 AM Bug #13191: sample/pty/shl.rb がうまく動かない
ruby 2.4.2p131 (2017-05-10 revision 58637) [x86_64-linux] で試してみたところ、 r57530 も backport しないと C-z がきかないようです。
exit した...
znz (Kazuhiro NISHIYAMA)
05:14 AM Bug #13578: Another iseq_set_sequence: adjust bug
Thank you. While your test code does NOT repro under 2.4.1p111, it does under trunk. I've verified that this and my o... zenspider (Ryan Davis)
03:37 AM Bug #13578 (Closed): Another iseq_set_sequence: adjust bug
nobu (Nobuyoshi Nakada)
05:03 AM Feature #13585 (Rejected): select! and reject! do not returns the same array in specific situations
This can be surprising, but it's in line with many other destructive methods. It can be very useful when writing a lo... duerst (Martin Dürst)
02:14 AM Feature #8661: Add option to print backtrace in reverse order (stack frames first and error last)
FYI it is intentional for this feature being automatically enabled right now, instead of some configuration like the ... shyouhei (Shyouhei Urabe)
02:11 AM Revision 35c54a11 (git): compile.c: fix catch-table labels optimization
* compile.c (remove_unreachable_chunk): do not eliminate chunks
followed by labels in catch-table entries.
git-svn...
nobu (Nobuyoshi Nakada)
12:36 AM Revision 68354c35 (git): lib/prime: Fix primality of some large integers [#13492].
* lib/prime.rb: Use accurate sqrt to insure all factors are tested.
Patch by Marcus Stollsteimer.
* test/test_prim...
Marc-Andre Lafortune
12:27 AM Feature #13581: Syntax sugar for method reference
Why the version with symbol (`Math->:sqrt`) needs to be supported?
americodls (Americo Duarte)
 

Also available in: Atom