Project

General

Profile

Activity

From 08/23/2016 to 08/29/2016

08/29/2016

09:11 PM Bug #12712 (Closed): IRB won't work after input `%q_abc\_def\_ghi_`
After inputting `%q_abc\_def\_ghi_` in IRB, I get no response and have to stop with Ctrl-C. Here is the example:
~...
jnchito (Junichi Ito)
08:36 PM Revision 18f287a3 (git): backport additional fix memory leak from openssl upstream.
https://github.com/ruby/openssl/commit/e76f076f093efb93dabf2cb042c527500f956061
patches are provided by rhe (Kazuki Y...
nagachika (Tomoyuki Chikanaga)
06:53 PM Feature #12676: Significant performance increase, and code conciseness, for prime_division method in prime.rb
Ah, but let's not forget the context that brings us here.
With prime_division6 we have blown past my intended purp...
jzakiya (Jabari Zakiya)
04:56 AM Feature #12676: Significant performance increase, and code conciseness, for prime_division method in prime.rb
Jabari Zakiya wrote:
> ```ruby
> return [] if self | 1 == 1
> ```
It seems an unnecessarily heavy operation whe...
nobu (Nobuyoshi Nakada)
06:43 PM Bug #12711 (Closed): Darwin doesn't show C backtrace correctly if iSIGSEGV is received when IP is in userland
Applied in changeset r56030.
----------
* vm_dump.c (backtrace): use rip in the saved context for the case
the SIG...
naruse (Yui NARUSE)
06:38 PM Bug #12711 (Closed): Darwin doesn't show C backtrace correctly if iSIGSEGV is received when IP is in userland
Current Ruby can show C backtrace on the following case
```ruby
Process.kill :SEGV, $$
```
But can't on the f...
naruse (Yui NARUSE)
06:43 PM Revision 3bc4924e (git): * 2016-08-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:43 PM Revision 1d3665fd (git): * vm_dump.c (backtrace): use rip in the saved context for the case
the SIGSEGV is received when the process is in userland.
Note that ip in the stack should be used if the signal is ...
naruse (Yui NARUSE)
04:29 PM Bug #4537: Incorrectly creating private method via attr_accessor
@nobu shouldn't this get the same treatment as #9005 bughit (bug hit)
02:41 PM Feature #12700: regexg heredoc support
Updated pull request. gam3 (Allen Morris)
05:47 AM Feature #9612 (Closed): Gemify OpenSSL
Applied in changeset r56027.
----------
import Ruby/OpenSSL 2.0.0.beta.1
* NEWS, {ext,test,sample}/openssl: Import ...
Anonymous
05:47 AM Revision e38a2ec5 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:47 AM Revision 09848085 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:47 AM Revision c9dc0164 (git): import Ruby/OpenSSL 2.0.0.beta.1
* NEWS, {ext,test,sample}/openssl: Import Ruby/OpenSSL 2.0.0.beta.1.
ext/openssl is now converted into a default ge...
rhenium (Kazuki Yamaguchi)
05:47 AM Revision 28bf4d54 (git): * 2016-08-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:47 AM Revision e9c41065 (git): assertions.rb: add an alias pend for skip
* test/lib/test/unit/assertions.rb (pend): Add an alias 'pend' for
'skip'. This is required for test-unit compatibi...
rhenium (Kazuki Yamaguchi)
04:34 AM Bug #12710 (Rejected): "a string X".index("a string") Fails with Ruby 2.2.3p173
You can see invisible characters with `p` method or `puts s_0.inspect`. nobu (Nobuyoshi Nakada)

08/28/2016

10:39 PM Bug #12710: "a string X".index("a string") Fails with Ruby 2.2.3p173
Isn't there a newline character at the end of string returned by shell quotes?
I think that's the reason the .inde...
lucasbuchala (Lucas Buchala)
06:53 PM Bug #12710: "a string X".index("a string") Fails with Ruby 2.2.3p173
Interestingly, if the first s_0 assignment
of the Ruby script is changed to
~~~
s_0="X"+`cd ..;pwd`.to_s[0..(-...
martin_vahi (Martin Vahi)
06:44 PM Bug #12710 (Rejected): "a string X".index("a string") Fails with Ruby 2.2.3p173

The test case:
~~~
#!/usr/bin/env ruby
s_0=`cd ..;pwd`.to_s
s_1=`cd . ;pwd`.to_s
x_0=s_1.index(s_0)
puts(...
martin_vahi (Martin Vahi)
08:00 PM Feature #12676: Significant performance increase, and code conciseness, for prime_division method in prime.rb
OK, here's how to achieve what I believe is the ultimate brute force factoring technique,
by using more resources fr...
jzakiya (Jabari Zakiya)
11:51 AM Feature #859: open-uri doesn't allow redirection to https
A typical example of the consequences of this 7-year old bug is https://github.com/cabo/kramdown-rfc2629/issues/27
...
cabo (Carsten Bormann)
09:53 AM Bug #12680: Please backport memory leak fixes in ext/openssl
nagachika-san:
I'm so sorry, the third one of the patches was broken. Could you backport this as well?
https://...
rhenium (Kazuki Yamaguchi)
08:53 AM Revision 8842c270 (git): * 2016-08-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:53 AM Revision 56695b35 (git): thread_sync.c: alias_global_const
* thread_sync.c (alias_global_const): extract from a macro.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56023 ...
nobu (Nobuyoshi Nakada)

08/27/2016

07:14 PM Feature #12698: Method to delete a substring by regex match
I assume that this makes sense; my only concern is that ruby people may
be confused as to what to use. We have lots ...
shevegen (Robert A. Heiler)
03:43 PM Bug #12353 (Open): Regression with Marshal.dump on ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin15]
I reverted r55869 partially at r56022.
And I keep opend this ticket because there's still problem with activesupport...
nagachika (Tomoyuki Chikanaga)
03:41 PM Bug #12353 (Closed): Regression with Marshal.dump on ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin15]
Applied in changeset ruby_2_3|r56022.
----------
* vm_method.c: revert r55869. it breaks Integer#days with
ActiveS...
nagachika (Tomoyuki Chikanaga)
03:41 PM Revision 53369d7e (git): * vm_method.c: revert r55869. it breaks Integer#days with
ActiveSupport-4.1.x. [ruby-core:76949] [Bug #12353]
* test/ruby/test_marshal.rb: ditto.
git-svn-id: svn+ssh://ci.r...
nagachika (Tomoyuki Chikanaga)
06:55 AM Bug #12709 (Closed): POSIX-noncompliant setenv
I found `setenv()` macro which is noncompliant to POSIX is still defined in `include/ruby/util.h`.
I can't remember ...
nobu (Nobuyoshi Nakada)
01:26 AM Feature #12333 (Closed): `String#concat`, `Array#concat`, `String#prepend` to take multiple arguments
Applied in changeset r56021.
----------
multiple arguments
* array.c (rb_ary_concat_multi): take multiple arguments...
nobu (Nobuyoshi Nakada)
01:26 AM Revision 9387ff73 (git): multiple arguments
* array.c (rb_ary_concat_multi): take multiple arguments. based
on the patch by Satoru Horie. [Feature #12333]
* ...
nobu (Nobuyoshi Nakada)

08/26/2016

11:26 PM Revision 0783f55c (git): parse.y: heredoc token
* parse.y (parser_heredoc_identifier): gather branches by quote
char.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
nobu (Nobuyoshi Nakada)
10:14 PM Bug #12396: Compilation crashes with segmentation fault in HP-UX 11.31
I am also having this issue.
Ruby 2.1.9
HP-UX B.11.31 U ia64 4067183464
cc: HP C/aC++ B3910B A.06.28 [Nov 21 201...
Carla_C (Carla Curtis)
07:01 PM Bug #12614: Segmentation Fault on Ruby 2.3.1
ruby_2_3 r56019 merged revision(s) 55896. nagachika (Tomoyuki Chikanaga)
07:01 PM Revision 2d17694d (git): merge revision(s) 55896: [Backport #12614]
* id_table.c (hash_table_extend): should not shrink the table than
the previous capacity. [ruby-core:76534...
nagachika (Tomoyuki Chikanaga)
06:50 PM Bug #12680: Please backport memory leak fixes in ext/openssl
Thank you for your great work!
The patches are applied on ruby_2_3 branch at r56018.
nagachika (Tomoyuki Chikanaga)
06:48 PM Revision ea5e22d1 (git): backport fix memory leak from upstream.
https://github.com/ruby/openssl/compare/3a2840e80d275895523a526ce56e4f6e7b8f9cc4...1e30cd395b14ef46e04bdd9ab72f100678... nagachika (Tomoyuki Chikanaga)
04:16 PM Feature #11057: Gemify JSON
It *is* a default gem now.
I think you meant "bundled gem".
Bundled gems are not available until the installation f...
nobu (Nobuyoshi Nakada)
09:59 AM Feature #11057: Gemify JSON
Why it could not be default gem? vo.x (Vit Ondruch)
04:08 PM Revision f40be5e6 (git): test_regex_casefold.rb: skip if no data file
* test/ruby/enc/test_regex_casefold.rb (setup): skip with error
message if CaseFolding.txt does not present, instea...
nobu (Nobuyoshi Nakada)
03:11 PM Revision 70da28c1 (git): parse.y: STR_TERM_END
* parse.y (parser_parse_string): store the end of string literal
mark in nd_term instead of nd_func.
git-svn-id: s...
nobu (Nobuyoshi Nakada)
03:07 PM Revision 0e512b47 (git): * 2016-08-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:07 PM Revision 49b88494 (git): parse.y: parser_string_term
* parse.y (parser_string_term): return the token of string or
regexp literal terminator.
git-svn-id: svn+ssh://ci....
nobu (Nobuyoshi Nakada)
01:55 PM Bug #12708 (Closed): Net::IMAP : Mail To address is not correct when uid_fetch is called.
Hello,
In the mail box, I have a mail with the following headers,
!mail_source.jpg!
When I connect to the Ma...
rupeshj (Rupesh J)
09:23 AM Bug #12707 (Closed): Ripper is not built due to missing bison
Bison was never required to build Ruby from the source tarball. But now (testing with snapshot of r 56008) it seems t... vo.x (Vit Ondruch)
08:29 AM Revision 50490899 (git): parse.y: reset indent in heredoc_dedent
* parse.y (parser_heredoc_dedent): reset heredoc_indent and return
the dedented node.
git-svn-id: svn+ssh://ci.rub...
nobu (Nobuyoshi Nakada)
08:29 AM Revision dcaeea4f (git): parse.y: new_string1
* parse.y (new_string1): extract from the rule.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56012 b2dd03c8-39d...
nobu (Nobuyoshi Nakada)
08:29 AM Revision cb1ebf84 (git): parse.y: new_xstring_gen
* parse.y (new_xstring_gen): extract from the rule.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56011 b2dd03c8...
nobu (Nobuyoshi Nakada)
08:29 AM Revision 75d259f0 (git): * 2016-08-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:29 AM Revision 14517856 (git): parse.y: new_regexp_gen
* parse.y (new_regexp_gen): extract from the rule.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56009 b2dd03c8-...
nobu (Nobuyoshi Nakada)
06:13 AM Bug #12704 (Closed): Fix typo in ossl_ocspreq_sign
Thanks. It was fixed at upstream: https://github.com/ruby/openssl/commit/b692681c849d6cd9d54b8ce63bc567e6c8e3e21a
...
rhenium (Kazuki Yamaguchi)
12:59 AM Bug #12704 (Assigned): Fix typo in ossl_ocspreq_sign
hsbt (Hiroshi SHIBATA)

08/25/2016

08:55 PM Bug #12599: For CLang, increase inline-threshold to get 7%-10% speedup of optcarrot
Including ALWAYS_INLINE in the header and then defining the method in a .c file doesn't seem to successfully inline t... noahgibbs (Noah Gibbs)
04:44 PM Bug #12599: For CLang, increase inline-threshold to get 7%-10% speedup of optcarrot
Based on diffs of long profiling runs of optcarrot, I think the following functions aren't inlined by default, and (I... noahgibbs (Noah Gibbs)
06:44 PM Feature #12697: Why shouldn't Module meta programming methods be public?
Hi,
As stated by bughit, a typical case where we have to resort to `send` for these is in meta programming, say:
...
marcandre (Marc-Andre Lafortune)
06:43 PM Bug #12706 (Closed): Hash#each yields inconsistent number of args
```ruby
def foo(a, b)
p [a, b]
end
def bar(a, b = 2)
p [a, b]
end
foo_lambda = method(:foo).to_proc
...
bughit (bug hit)
06:06 PM Bug #12705: yielding args to a lambda uses block/proc rather than lambda/method semantics
a related point is that lambda procs with the same arity (normal_lambda, method_lambda) should behave the same
bughit (bug hit)
05:48 PM Bug #12705 (Closed): yielding args to a lambda uses block/proc rather than lambda/method semantics
```ruby
def yield_test
yield 1, 2
yield [1, 2]
end
def foo(a, b)
p a, b
end
method_lambda = method(...
bughit (bug hit)
05:40 PM Feature #12700: regexg heredoc support
Added pull request https://github.com/ruby/ruby/pull/1418 gam3 (Allen Morris)
05:27 PM Feature #12676: Significant performance increase, and code conciseness, for prime_division method in prime.rb
This is neater.
replace
```ruby
raise ZeroDivisionError if self == 0
```
with
```ruby
return [] if sel...
jzakiya (Jabari Zakiya)
01:04 PM Feature #12676: Significant performance increase, and code conciseness, for prime_division method in prime.rb
Question:
Why do you raise an error for the value '0'?
```ruby
1.prime_division => []
```
Why not also:
```...
jzakiya (Jabari Zakiya)
01:57 AM Feature #12676 (Assigned): Significant performance increase, and code conciseness, for prime_division method in prime.rb
hsbt (Hiroshi SHIBATA)
02:28 PM Bug #12704 (Closed): Fix typo in ossl_ocspreq_sign
The code of ossl_ocspreq_sign reads:
~~~ c
static VALUE
ossl_ocspreq_sign(int argc, VALUE *argv, VALUE self)
{
...
Eregon (Benoit Daloze)
12:53 PM Bug #12681: Gemfied tk issue
Actually this line is suspicious:
https://github.com/ruby/ruby/blob/trunk/ext/extmk.rb#L568
It expands to `$(to...
vo.x (Vit Ondruch)
11:37 AM Bug #12681: Gemfied tk issue
Moreover, I still see the `tcltklib.so` and `tkutil.so` installed into `/usr/lib64/ruby/2.4.0/x86_64-linux/` but they... vo.x (Vit Ondruch)
11:32 AM Bug #12681 (Open): Gemfied tk issue
The r55950 does not resolve the issue completely. The make install does not work (neither the gem itself probably):
...
vo.x (Vit Ondruch)
11:06 AM Bug #12681: Gemfied tk issue
Hiroshi SHIBATA wrote:
> >Also, the "gem install tk" does not build the extension, so that is another source of poss...
vo.x (Vit Ondruch)
10:43 AM Bug #12353: Regression with Marshal.dump on ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin15]
So, can we revert the backport?
This issue spotted a feature bug and it got fixed in trunk, but the original probl...
knu (Akinori MUSHA)
05:52 AM Bug #12703 (Rejected): String.gsub returns unexpected results with numeric match characters
What you want is `"z'z".gsub(/(')/, '\\\\\1')`.
You need to escape twice, for a literal, and for `gsub`.
nobu (Nobuyoshi Nakada)
02:23 AM Bug #12703 (Rejected): String.gsub returns unexpected results with numeric match characters
I'm unable to prepend a backslash to numeric group matches using gsub
~~~
irb(main):053:0> "z'z".gsub(/(')/, '\\1...
nlaveck (Nathan LaVeck)
03:03 AM Bug #11846 (Closed): Block passed by &block is GC-ed
wanabe san, Thank you for your investigation!
So this issue is already fixed on both 2.3/trunk and not exist on 2.2 ...
nagachika (Tomoyuki Chikanaga)
02:57 AM Revision 8e0601b7 (git): win32/file.c: use ALLOC_N
* win32/file.c (home_dir, replace_to_long_name): use ALLOC_N
instead of casted xmalloc with multiplication.
win32/...
nobu (Nobuyoshi Nakada)
02:11 AM Revision 70d840af (git): win32/file.h: rb_w32_filecp
* win32/file.h (rb_w32_filecp): add declaration.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56007 b2dd03c8-39...
nobu (Nobuyoshi Nakada)
12:50 AM Bug #12699: Crash in the VM - maybe garbage collector bug
Adding a Dockerfile that makes it easy to reproduce the problem, under Valgrind. The output of this Dockerfile gives ... nicolasnoble (Nicolas Noble)

08/24/2016

10:52 PM Feature #12690: Improve GC with external library that may use large memory
Nobu's implementation: https://github.com/ruby/ruby/compare/trunk...nobu:gc_trigger kou (Kouhei Sutou)
10:51 PM Feature #12690: Improve GC with external library that may use large memory
Koichi agreed:
https://twitter.com/_ko1/status/768278836882526208
> I don't see this ticket details yet but imp...
kou (Kouhei Sutou)
04:13 PM Feature #12695: File.expand_path should resolve ~/ using /etc/passwd when HOME is not set
Why doesn't your service launcher set `HOME`? nobu (Nobuyoshi Nakada)
02:34 AM Feature #12695: File.expand_path should resolve ~/ using /etc/passwd when HOME is not set
+1 it makes sense to me. shyouhei (Shyouhei Urabe)
03:57 PM Feature #12676: Significant performance increase, and code conciseness, for prime_division method in prime.rb
One last simple tweek to increase overall peformance, in `prime_division5`.
Instead of selecting the optimum pg base...
jzakiya (Jabari Zakiya)
03:42 PM Revision 638f6721 (git): win32/file.c: remove a codepage argument
* win32/file.c (append_wstr): remove a codepage argument, and use
INVALID_CODE_PAGE for conversion by econv.
git-s...
nobu (Nobuyoshi Nakada)
03:39 PM Revision 2025f057 (git): * 2016-08-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:39 PM Revision b34321a2 (git): win32/file.c: fix result length
* win32/file.c (append_wstr): exclude the terminator from the
result length when input len == -1.
git-svn-id: svn+...
nobu (Nobuyoshi Nakada)
03:28 PM Bug #12326: Update rubygems to 2.5.2 in ruby_2_3
ruby_2_3 r56003 merged revision(s) 53707,53708,53709,53712,53777,53781. nagachika (Tomoyuki Chikanaga)
11:05 AM Bug #12326 (Closed): Update rubygems to 2.5.2 in ruby_2_3
I overlooked this ticket because it's "Open". The stable branch maintainers watch closed ticket with Backport field f... nagachika (Tomoyuki Chikanaga)
03:28 PM Revision 996b1bfa (git): merge revision(s) 53707,53708,53709,53712,53777,53781: [Backport #12326]
* lib/rubygems.rb, lib/rubygems/*, test/rubygems/*: Update rubygems-2.5.2.
It supports to enable frozen str...
nagachika (Tomoyuki Chikanaga)
02:57 PM Bug #12331: Please backport r53586
ruby_2_3 r56002 merged revision(s) 53586,53587,54030. nagachika (Tomoyuki Chikanaga)
11:09 AM Bug #12331 (Closed): Please backport r53586
Thank you for request and comments. I overlook this ticket because it's "Open". I'll close this ticket. (We the stabl... nagachika (Tomoyuki Chikanaga)
02:56 PM Revision ce8729fe (git): merge revision(s) 53586,53587,54030: [Backport #12331]
increase timeout for ARMv7
http://rubyci.s3.amazonaws.com/scw-9d6766/ruby-trunk/log/20160113T091704Z.diff.ht...
nagachika (Tomoyuki Chikanaga)
02:43 PM Feature #12697: Why shouldn't Module meta programming methods be public?
Yukihiro Matsumoto wrote:
> I still believe
>
> ```
> class String
> include Term::ANSIColor
> end
> ```
>...
bughit (bug hit)
01:18 PM Feature #12697 (Feedback): Why shouldn't Module meta programming methods be public?
I still believe
```
class String
include Term::ANSIColor
end
```
is far better than `String.include Term:...
matz (Yukihiro Matsumoto)
12:21 PM Feature #12697: Why shouldn't Module meta programming methods be public?
I made the same proposal years ago (#6539), and Matz stated that he ["thinks class/module operations should be done i... marcandre (Marc-Andre Lafortune)
01:42 PM Revision 8ddc191d (git): * gc.c (gc_reset_malloc_info): Remove too much ";".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Sutou Kouhei
01:28 PM Feature #12698: Method to delete a substring by regex match
Active Support already has `String#remove`.
```
$ irb -r irb/completion --simple-prompt
>> require 'active_suppo...
znz (Kazuhiro NISHIYAMA)
04:42 AM Feature #12698: Method to delete a substring by regex match
Perhaps my examples were not clear enough. My point is that, unlike `String#delete`, the given string argument should... sawa (Tsuyoshi Sawada)
04:37 AM Feature #12698 (Feedback): Method to delete a substring by regex match
There is frequent need to delete a substring from a string. There already are methods `String#delete` and `String#del... sawa (Tsuyoshi Sawada)
01:04 PM Revision a3b84cff (git): win32/file.c: use enum
* win32/file.c (home_dir): use enum instead of magic numbers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5600...
nobu (Nobuyoshi Nakada)
11:46 AM Bug #12702 (Rejected): DRb client fails when calling out-of-process remote method with a block
See attached code for test case.
applies to ruby-2.3.1 and ruby-2.4.0dev (2016-08-24 trunk 55999)
The problem s...
djellemah (John Anderson)
11:13 AM Bug #12701 (Closed): compile error about ALWAYS_INLINE
Applied in changeset r55998 (and r55999) ngoto (Naohisa Goto)
10:59 AM Bug #12701 (Closed): compile error about ALWAYS_INLINE
遅くとも r55884 以降、Solaris 10上の古い Fujitsu C Compiler (fcc) にて、以下のコンパイルエラーが発生します。
```
fcc -O2 -KV9 -KVIS2 -DRUBY_EXPO...
ngoto (Naohisa Goto)
11:11 AM Revision 8fb654e4 (git): Fix ChangeLog [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ngoto (Naohisa Goto)
11:08 AM Revision 4e062d14 (git): * include/ruby/defines.h (ALWAYS_INLINE): Add alternative definition.
Fix compile error with compilers that do not have force inline
attribute, including old version of fcc on Solaris 1...
ngoto (Naohisa Goto)
09:15 AM Feature #12700 (Open): regexg heredoc support
There is support for ', ", and ` heredocs, but there is no support for /.
Example code with new feature:
~~~ ru...
gam3 (Allen Morris)
07:56 AM Revision fe5f47a6 (git): * .gdbinit: follow r55766's VM change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:42 AM Bug #12699 (Third Party's Issue): Crash in the VM - maybe garbage collector bug
Basically, we were investigating this: https://github.com/grpc/grpc/issues/7661
Our investigation led to realize t...
nicolasnoble (Nicolas Noble)
05:50 AM Feature #6842: Add Optional Arguments to String#strip
I am working on implementing this at https://github.com/ruby/ruby/compare/trunk...sonots:lstrip_arg?expand=1
```ru...
sonots (Naotoshi Seo)
05:34 AM Feature #12694 (Rejected): Want a String method to remove heading substr
I will continue this issue on https://bugs.ruby-lang.org/issues/6842, let me close.
=> https://bugs.ruby-lang.org/...
sonots (Naotoshi Seo)
04:43 AM Revision 0022316e (git): common.mk: unnecessary dependents of prelude.c
* common.mk (PRELUDE_C): remove unnecessary dependents, which are
not included directly.
git-svn-id: svn+ssh://ci....
nobu (Nobuyoshi Nakada)
03:58 AM Bug #12696 (Closed): Defining anonymous classes via `Class.new {}` does not run `class_eval` on the block
Applied in changeset r55994.
----------
object.c: fix {Module,Class}.new rdoc [ci skip]
* object.c (rb_mod_initiali...
nobu (Nobuyoshi Nakada)
03:57 AM Revision fbd49d38 (git): * 2016-08-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:57 AM Revision 20e0f1e7 (git): object.c: fix {Module,Class}.new rdoc [ci skip]
* object.c (rb_mod_initialize, rb_class_initialize): [DOC] these
methods do not invoke module_eval/class_eval, just...
nobu (Nobuyoshi Nakada)

08/23/2016

11:23 PM Feature #12697: Why shouldn't Module meta programming methods be public?
This is somewhat an interesting comment made here, epecially in regards to .send().
Take code snippets such as her...
shevegen (Robert A. Heiler)
11:08 PM Feature #12697 (Closed): Why shouldn't Module meta programming methods be public?
Methods like alias_method, attr_accessor, define_method, and similar
I don't think Ruby discourages this kind of m...
bughit (bug hit)
11:10 PM Bug #4537: Incorrectly creating private method via attr_accessor
define_method used to have the same (or similar) problem
https://bugs.ruby-lang.org/issues/9005
which was fixed, ...
bughit (bug hit)
10:50 PM Bug #4537: Incorrectly creating private method via attr_accessor
why should top level visibility (which applies to methods defined in the Object class) have any effect on other class... bughit (bug hit)
10:55 PM Bug #12372: Resolv::DNS does not fetch authority section resources when calling getresource(s)
Ping again. headius (Charles Nutter)
08:18 PM Bug #12696 (Closed): Defining anonymous classes via `Class.new {}` does not run `class_eval` on the block
When defining anonymous classes, the documentation comment (https://github.com/ruby/ruby/blob/b9a82eaa13a5438318d78ae... kklimuk (Kirill Klimuk)
12:20 PM Bug #12688: Thread unsafety in autoload
I have the same expectations as you, Charles, and as so I'd also expect this to be a bug. rosenfeld (Rodrigo Rosenfeld Rosas)
12:01 PM Feature #12694: Want a String method to remove heading substr
Thanks, I found an issue which is 3 years old https://bugs.ruby-lang.org/issues/6842 sonots (Naotoshi Seo)
11:39 AM Feature #12694: Want a String method to remove heading substr
IIRC, there were proposals of `lstrip` and `rstrip` enhancement.
I'd expect them to accept char class(es), than a su...
nobu (Nobuyoshi Nakada)
09:03 AM Feature #12694 (Closed): Want a String method to remove heading substr
I often write codes like:
```ruby
str = 'abcdef'
substr = 'abc'
str[substr.size..-1] if str.start_with?(substr)...
sonots (Naotoshi Seo)
11:36 AM Feature #12695 (Closed): File.expand_path should resolve ~/ using /etc/passwd when HOME is not set
I would expect a call like File.expand_path('~/.ssh/known_hosts') to work even though HOME is not set.
A reason th...
fursten (Mårten Svantesson)
08:00 AM Revision 92a09548 (git): goruby.c: call Init_golf [ci skip]
* goruby.c (init_golf): call Init_golf, because ruby_init_ext only
registers the function since r43514.
git-svn-id...
nobu (Nobuyoshi Nakada)
07:30 AM Feature #12693 (Rejected): Want a way to receive EINTR on Process.waitpid
sonots (Naotoshi Seo)
07:28 AM Feature #12693: Want a way to receive EINTR on Process.waitpid
It worked like a charm :)
test.rb
```
puts Process.pid
trap(:CONT) do
raise 'CONT'
end
_pid = fork d...
sonots (Naotoshi Seo)
07:05 AM Feature #12693: Want a way to receive EINTR on Process.waitpid
You can raise exception on main threadh by Thread.main.raise in trap. naruse (Yui NARUSE)
06:55 AM Feature #12693: Want a way to receive EINTR on Process.waitpid
If adding an option to raise EINTR is not acceptable, adding timeout option is acceptable for **my** case. sonots (Naotoshi Seo)
06:49 AM Feature #12693: Want a way to receive EINTR on Process.waitpid
I am currently using Timeout hack for when I wanted to get EINTR like https://github.com/sonots/ruby-server-starter/b... sonots (Naotoshi Seo)
06:45 AM Feature #12693: Want a way to receive EINTR on Process.waitpid
Naotoshi Seo wrote:
> However, ruby implementation of Process.waitpid does not raise EINTR
No you don't. It is a...
shyouhei (Shyouhei Urabe)
01:32 AM Feature #12693 (Rejected): Want a way to receive EINTR on Process.waitpid
http://man7.org/linux/man-pages/man2/waitpid.2.html tells EINTR error if WNOHANG flag was not set and an unblocked si... sonots (Naotoshi Seo)
02:05 AM Revision d3e7e3cc (git): test_ssl_server.rb: fix FD leak
* test/webrick/test_ssl_server.rb (assert_self_signed_cert): close
underlying TCP socket to fix FD leak.
git-svn-i...
nobu (Nobuyoshi Nakada)
01:34 AM Revision c58c9025 (git): test_psych.rb: close Tempfile
* test/psych/test_psych.rb (test_load_file_with_fallback): fix
Tempfile leak. https://github.com/tenderlove/psych/...
nobu (Nobuyoshi Nakada)
01:15 AM Revision c2bf7e6f (git): string.c: rb_fs_setter
* string.c (rb_fs_setter): check and convert $; value at
assignment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom