Project

General

Profile

Activity

From 03/04/2017 to 03/10/2017

03/10/2017

11:59 PM Bug #13301 (Third Party's Issue): Bad value parse in IniFile Gem
A carefully (or accidentally) crafted value can cause Inifile#load to become confused when it apparently incorrectly parses a string as a scientific notation value.
The enclosed script should print "2017.1_26_57e7669". Instead it prin...
eegah (Eric Griswold)
11:51 PM Feature #13300 (Rejected): Strip chroot path from $LOADED_FEATURES when calling Dir.chroot
Currently, `Dir.chroot` doesn't modify `$LOADED_FEATURES`, leading
to a situation where `Kernel#require` will attempt to load the same
file twice, or a different file not at all because it thinks it
is already loaded.
With this exa...
jeremyevans0 (Jeremy Evans)
08:09 PM Revision 20952cc5 (git): * 2017-03-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:09 PM Revision 568f8adf (git): compile.c: apply opt_str_freeze to String#-@ (uminus)
The same optimization used for "literal string".freeze
can easily apply to uminus without introducing any
compatibility problems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
07:54 PM Bug #13299 (Closed): backport r57469, r57472, r57508 (garbage reduction for IO#write/syswrite)
Closing to trigger backport request
normalperson (Eric Wong)
07:46 PM Bug #13299 (Closed): backport r57469, r57472, r57508 (garbage reduction for IO#write/syswrite)
This is a performance regression introduced in Ruby 2.0.0 and
maybe some folks would like it fixed in a stable release before
December 25, 2017
Thank you.
normalperson (Eric Wong)
03:12 PM Bug #8784: CSV - Empty fields are discarded when col_sep is a space
The problem is in the String::split function.
It turns out it is a feature, not a bug: http://ruby-doc.org/core-2.4.0/String.html#method-i-split .
"If pattern is a single space, str is split on whitespace, with leading whitespace and r...
slavcho42 (Slavcho Ivanov)
02:08 PM Bug #11567: Segmentation fault CFUNC :gets
I can't reproduce it, but it seems [Bug #13076]. nobu (Nobuyoshi Nakada)
02:02 PM Misc #13296: building ruby for windows always puts the version number into the ruby library, resulting in redundancy when using --with-soname
Nobuyoshi Nakada wrote:
> Of course, it's only in the trunk.
I understand that, I mean after I applied this patchset to the 2.4 build. Could be that it requires more from upstream. I'll be satisfied with this for now, I suppose.
Any...
ntzrmtthihu777 (Marty Plummer)
12:19 PM Misc #13296: building ruby for windows always puts the version number into the ruby library, resulting in redundancy when using --with-soname
Of course, it's only in the trunk. nobu (Nobuyoshi Nakada)
08:50 AM Misc #13296: building ruby for windows always puts the version number into the ruby library, resulting in redundancy when using --with-soname
Nobuyoshi Nakada wrote:
> Marty Plummer wrote:
> ...
Well it doesn't appear to be falling back. Still get the name libx64-msvcrt-ruby240.dll/etc and not the 'ruby24' getting passed to --with-soname
ntzrmtthihu777 (Marty Plummer)
08:27 AM Misc #13296: building ruby for windows always puts the version number into the ruby library, resulting in redundancy when using --with-soname
Marty Plummer wrote:
> I see you're still hardcoding ${MAJOR}${MINOR}0 into it. Still, this works well enough I suppose.
It's the fallback.
nobu (Nobuyoshi Nakada)
08:06 AM Misc #13296: building ruby for windows always puts the version number into the ruby library, resulting in redundancy when using --with-soname
Nobuyoshi Nakada wrote:
> OK, you can try it now.
I see you're still hardcoding ${MAJOR}${MINOR}0 into it. Still, this works well enough I suppose.
As a side note, that x64 in the libname I think may be utterly unneeded in most re...
ntzrmtthihu777 (Marty Plummer)
07:21 AM Misc #13296 (Closed): building ruby for windows always puts the version number into the ruby library, resulting in redundancy when using --with-soname
OK, you can try it now. nobu (Nobuyoshi Nakada)
04:04 AM Misc #13296: building ruby for windows always puts the version number into the ruby library, resulting in redundancy when using --with-soname
Shyouhei Urabe wrote:
> Isn't this something normal? I don't have MinGW so platform-specific situation is not clear to me but, at least GNU libtool generates similar Makefiles so I think there are lots of other libraries who install lik...
ntzrmtthihu777 (Marty Plummer)
03:39 AM Misc #13296: building ruby for windows always puts the version number into the ruby library, resulting in redundancy when using --with-soname
Marty Plummer wrote:
> It is not. Its a windows stupidity issue, which has to be worked around. Simply drop the version from the library name and packagers/builders can decide for themselves what is best to be done with it.
It's nece...
nobu (Nobuyoshi Nakada)
03:22 AM Misc #13296: building ruby for windows always puts the version number into the ruby library, resulting in redundancy when using --with-soname
Isn't this something normal? I don't have MinGW so platform-specific situation is not clear to me but, at least GNU libtool generates similar Makefiles so I think there are lots of other libraries who install like us.
https://www.gnu....
shyouhei (Shyouhei Urabe)
02:03 AM Misc #13296: building ruby for windows always puts the version number into the ruby library, resulting in redundancy when using --with-soname
Nobuyoshi Nakada wrote:
> Marty Plummer wrote:
> ...
It is not. Its a windows stupidity issue, which has to be worked around. Simply drop the version from the library name and packagers/builders can decide for themselves what is best t...
ntzrmtthihu777 (Marty Plummer)
01:06 AM Misc #13296: building ruby for windows always puts the version number into the ruby library, resulting in redundancy when using --with-soname
Marty Plummer wrote:
> Building ruby for windows/mingw using gentoo's crossdev tool uses the exact same ebuild, and the --with-soname argument cannot
> ...
It's an ebuild's issue.
nobu (Nobuyoshi Nakada)
12:28 AM Misc #13296: building ruby for windows always puts the version number into the ruby library, resulting in redundancy when using --with-soname
Nobuyoshi Nakada wrote:
> Yes, soname already includes major and minor version numbers, don't append them more.
You seem to be misunderstanding what I'm talking about.
Building ruby-2.4.0 on gentoo without using the --with-soname=...
ntzrmtthihu777 (Marty Plummer)
12:14 AM Misc #13296: building ruby for windows always puts the version number into the ruby library, resulting in redundancy when using --with-soname
Yes, soname already includes major and minor version numbers, don't append them more. nobu (Nobuyoshi Nakada)
01:46 PM Revision c51de81d (git): common.mk: ignore clean-rubyspec error [ci skip]
* common.mk (clean-rubyspec): nothing to clean before running
rubyspec.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:18 AM Revision b80c265f (git): debug_counter.c: debug_counter_names [ci skip]
* debug_counter.c (debug_counter_names): stringize debug counter
names by preprocessor.
* debug_counter.h (RB_DEBUG_COUNTER): define counter names outside
the include guard, to expand multiple times.
git-svn-id: svn+ssh://ci.ruby-l...
nobu (Nobuyoshi Nakada)
05:34 AM Revision ac3b77c9 (git): configure.in: RUBY_SO_NAME as --with-soname
* configure.in (RUBY_SO_NAME): [EXPERIMENTAL] use the given name
literally if --with-soname is specified.
[ruby-core:79972] [Misc #13296]
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57825 b2dd03c8-39d4-4d8f-98ff-823...
nobu (Nobuyoshi Nakada)
12:30 AM Bug #13297 (Third Party's Issue): SIGSEGV on ruby exit after `require 'tk'`
It's a bug in ext/tk, that calling `rb_exc_raise` instead of `rb_jump_tag` on `TAG_FATAL`. nobu (Nobuyoshi Nakada)

03/09/2017

08:58 PM Bug #13298: mingw SEGV TestEnumerable#test_callcc
Added SEGV log.
Also, listed method calls sort with two items, and faults. Next call does the same with three items. No error. Hence,
3. Any ideas?
MSP-Greg (Greg L)
08:34 PM Bug #13298 (Closed): mingw SEGV TestEnumerable#test_callcc
First week in January, when I first started building, I had a SEGV in test-all occurring in TestEnumerable#test_callcc. I patched around it, but decided it was time to see if I could find a solution.
The issue occurs in [test/ruby/te...
MSP-Greg (Greg L)
07:48 PM Revision d6873af4 (git): * 2017-03-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:48 PM Revision 4f2db15b (git): object.c: [DOC] simplify Object#tap example
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
12:16 PM Bug #13297 (Third Party's Issue): SIGSEGV on ruby exit after `require 'tk'`
I get SIGSEGV when exiting ruby after I required tk. Everything seems to work fine though, crash is only when exiting.
Here is smallest possible script I managed to reproduce issue with:
~~~ ruby
require 'tk'
~~~
I've compiled...
graywolf (Gray Wolf)
10:12 AM Misc #13283: Disable `&' interpreted as argument prefix warning when passing symbol to Enumerable#map
This warning seems to be more than 10 years old. It certainly predates the &:method_name idiom.
It would be very good to hear from people who currently rely on or are helped by this warning, or remember why it was introduced in the fi...
duerst (Martin Dürst)
09:59 AM Misc #13296: building ruby for windows always puts the version number into the ruby library, resulting in redundancy when using --with-soname
Nobuyoshi Nakada wrote:
> Remove `${ver}` from `--with-soname`.
Not doable, its something you guys are doing, not downstream.
Proof: building ruby for windows without any --with-soname or --program-suffix
still sticks 'ruby${ver}' ...
ntzrmtthihu777 (Marty Plummer)
07:52 AM Misc #13296 (Rejected): building ruby for windows always puts the version number into the ruby library, resulting in redundancy when using --with-soname
Remove `${ver}` from `--with-soname`. nobu (Nobuyoshi Nakada)
01:46 AM Misc #13296 (Closed): building ruby for windows always puts the version number into the ruby library, resulting in redundancy when using --with-soname
Under gentoo the dev-lang/ruby-2.4.0.ebuild explicitly sets --program-suffix
and --with-soname in order to facilitate multiple ruby version installations
at the same time.
Using crossdev for the x86_64-w64-mingw32 target, ruby's bui...
ntzrmtthihu777 (Marty Plummer)
08:55 AM Bug #13235: [BUG] Segmentation fault at 0x00000000000038
I encounter the same error with same gem (mongo-2.4.1) too.
Not sure what else I can provide.
I was doing MongoDB model query for 1000 times.
If I do that for 100 times it sometimes gives the same error too.
PikachuEXE (Pikachu EXE)
06:44 AM Revision 22d842de (git): rbconfig/sizeof: remove VPATH
* ext/rbconfig/sizeof/depend: remove VPATH for `make dist`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:05 AM Feature #13290: A method to use a hash like in a case construction
Yusuke Endoh wrote:
> ~~~~
> ...
I expected something that would be as easy as and comparable to `h[key]`.
sawa (Tsuyoshi Sawada)
03:49 AM Revision f1de2e00 (git): ext/socket/raddrinfo.c (addrinfo_mark): avoid needless branch
gc.c (gc_mark_children, case T_DATA) does not use
the dmark function pointer if DATA_PTR is NULL
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
03:38 AM Revision a3c23f00 (git): goruby.c: FD leak [ci skip]
* goruby.c (goruby_options): fix potential FD leak.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:33 AM Bug #13258: Segmentation fault at 0x00000000000000 during instance_eval
What appears to be the same problem also occurs when running inside Puma. david.drakard (David Drakard)
03:31 AM Revision f861c4d4 (git): rbconfig/sizeof: nmake VPATH
* ext/rbconfig/sizeof/depend: prepend VPATH for out-of-place build
using nmake.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:37 AM Bug #13293: 2017-03-08 trunk 57807 mingw x64, SEGV, test/ruby/test-enum.rb
Done. Thank you for the reports, and sorry for your inconvenience. shyouhei (Shyouhei Urabe)
02:31 AM Bug #13293 (Closed): 2017-03-08 trunk 57807 mingw x64, SEGV, test/ruby/test-enum.rb
Applied in changeset r57818.
----------
revert RB_FIXABLE related changesets [Bug #13288][Bug #13293][Bug #13294]
This commit is auto-generated using following command:
svn diff -r57807:57788 include internal.h bignum.c numeric.c comp...
shyouhei (Shyouhei Urabe)
02:23 AM Bug #13293: 2017-03-08 trunk 57807 mingw x64, SEGV, test/ruby/test-enum.rb
OK, it seems what I tried break your environment. Let me revert the whole changeset I did. shyouhei (Shyouhei Urabe)
02:31 AM Bug #13294 (Closed): 2017-03-08 trunk 57807 mingw x64, SEGV, test/ruby/test-array.rb
Applied in changeset r57818.
----------
revert RB_FIXABLE related changesets [Bug #13288][Bug #13293][Bug #13294]
This commit is auto-generated using following command:
svn diff -r57807:57788 include internal.h bignum.c numeric.c comp...
shyouhei (Shyouhei Urabe)
02:31 AM Bug #13288 (Closed): mingw issues with 57789
Applied in changeset r57818.
----------
revert RB_FIXABLE related changesets [Bug #13288][Bug #13293][Bug #13294]
This commit is auto-generated using following command:
svn diff -r57807:57788 include internal.h bignum.c numeric.c comp...
shyouhei (Shyouhei Urabe)
02:31 AM Revision c56edb9a (git): revert RB_FIXABLE related changesets [Bug #13288][Bug #13293][Bug #13294]
This commit is auto-generated using following command:
svn diff -r57807:57788 include internal.h bignum.c numeric.c compile.c insns.def object.c sprintf.c | patch -p0
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57818 b2dd03c8-39...
shyouhei (Shyouhei Urabe)
02:10 AM Revision 35fde4da (git): fix UTF-32 valid_encoding?
* test/ruby/test_io_m17n.rb (TestIO_M17N#test_puts_widechar): do
not use invalid codepoint. [ruby-core:79966] [Bug #13292]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:04 AM Bug #13292 (Closed): Invalid encodings in UTF-32
Applied in changeset r57816.
----------
fix UTF-32 valid_encoding?
* enc/utf_32be.c (utf32be_mbc_enc_len): check arguments precisely.
[ruby-core:79966] [Bug #13292]
* enc/utf_32le.c (utf32le_mbc_enc_len): ditto.
* regenc.h (UNICODE...
nobu (Nobuyoshi Nakada)
02:04 AM Revision 4171ed6c (git): fix UTF-32 valid_encoding?
* enc/utf_32be.c (utf32be_mbc_enc_len): check arguments precisely.
[ruby-core:79966] [Bug #13292]
* enc/utf_32le.c (utf32le_mbc_enc_len): ditto.
* regenc.h (UNICODE_VALID_CODEPOINT_P): predicate for valid
Unicode codepoints.
git-s...
nobu (Nobuyoshi Nakada)
01:55 AM Revision e65c9bd1 (git): test_utf16.rb: refine valid_encoding tests
* test/ruby/enc/test_utf16.rb (test_utf16be_valid_encoding):
assert all data and use assert_predicate.
* test/ruby/enc/test_utf16.rb (test_utf16le_valid_encoding):
ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57815 b2dd...
nobu (Nobuyoshi Nakada)
01:06 AM Revision 2ebc4465 (git): make commit [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

03/08/2017

09:26 PM Feature #13295 (Closed): [PATCH] compile.c: apply opt_str_freeze to String#-@ (uminus)
The same optimization used for "literal string".freeze
can easily apply to uminus without introducing any
compatibility problems.
I can't think of any problems this would introduce,
but I'll wait a few days for feedback before ...
normalperson (Eric Wong)
09:24 PM Revision e064879e (git): string.c (str_uminus): update doc for deduplication
As of r57698, String#-@ can return pre-existing strings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
08:41 PM Bug #9829 (Closed): Contradictions in docs for FileUtils::ln (and related functions)
Applied in changeset r57811.
----------
docs for FileUtils.ln methods
* lib/fileutils.rb: [DOC] add clarifying call-seq's for FileUtil.ln,
ln_s, and ln_sf, with better argument names for the created link and
link target. Reported ...
stomar (Marcus Stollsteimer)
08:41 PM Revision 4e00aaaf (git): * 2017-03-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:41 PM Revision ddd37e54 (git): docs for FileUtils.ln methods
* lib/fileutils.rb: [DOC] add clarifying call-seq's for FileUtil.ln,
ln_s, and ln_sf, with better argument names for the created link and
link target. Reported by Mike Vastola. [ruby-core:62532] [Bug #9829]
* lib/fileutils.rb: [DOC...
stomar (Marcus Stollsteimer)
06:10 PM Bug #13294 (Closed): 2017-03-08 trunk 57807 mingw x64, SEGV, test/ruby/test-array.rb
Array and Enumerable are related. Attached file shows comments needed for test/ruby/test-array.rb to not generate SEGV's.
Soon, I'll update (pull), build and test to see if 57809, etc have any effect.
[Ruby, Rails, & AWS doc](http...
MSP-Greg (Greg L)
05:39 PM Bug #13293 (Closed): 2017-03-08 trunk 57807 mingw x64, SEGV, test/ruby/test-enum.rb
For a number of builds, I've had to patch around two methods in test/ruby/test-enum.rb. After finishing moving the test framework so I can 'pieces and parts' it, only one method is causing the original issue. Additionally, there are se... MSP-Greg (Greg L)
05:03 PM Feature #12698: Method to delete a substring by regex match
Yukihiro Matsumoto wrote:
> I don't think it's worth adding which is easily done by `sub/gsub`.
> ...
I think the problem goes beyond than that. String#delete takes a string as a parameter and natural thought progression would indicat...
uchagani (Umair Chagani)
03:20 PM Bug #13288: mingw issues with 57789
Robert A. Heiler wrote:
> Have we found the code-culprit though or was it a Heisenbug fix? :)
Given that a perfect test system needs to test for every conditional and every iteration, I doubt one exists. At some point, I prefer a ma...
MSP-Greg (Greg L)
08:30 AM Bug #13288: mingw issues with 57789
Have we found the code-culprit though or was it a Heisenbug fix? :)
I mean it may be obvious now that one commit by naruse fixed it but
if anyone could confirm it that would be great, just out of
(my) curiosity.
shevegen (Robert A. Heiler)
01:31 AM Bug #13288: mingw issues with 57789
Shyouhei,
Not sure which commit did it, but x64 builds fine now. test-all result:
```
16616 tests, 2233236 assertions, 10 failures, 5 errors, 150 skips
ruby -v: ruby 2.5.0dev (2017-03-08 trunk 57806) [x64-mingw32]
```
I'll t...
MSP-Greg (Greg L)
01:52 PM Revision 2a20b491 (git): great love
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:14 PM Bug #13292 (Closed): Invalid encodings in UTF-32
Ruby is very strict about valid UTF-8 encodings, which is great.
Strings that encode surrogates or too large codepoints are not valid.
However, in UTF-32, it is possible to encode such values, and Ruby treats them as valid:
Exam...
rbjl (Jan Lelis)
10:35 AM Feature #13290: A method to use a hash like in a case construction
~~~~
h.find {|a,| a === "barbar" }.last #=> "BAR"
~~~~
This is good enough to me.
mame (Yusuke Endoh)
09:03 AM Feature #13290: A method to use a hash like in a case construction
Tsuyoshi Sawada wrote:
> The name `fetch_as_in_case_construction` is terrible. Perhaps someone can suggest a better name.
What about simplifying this to `fetch_as_case`? Or maybe even just `case`? Just thinking out loud.
duerst (Martin Dürst)
08:27 AM Feature #13290: A method to use a hash like in a case construction
I love case/when menus, so I am all for suggestions that make case/when more
useful, so I also support this (even if this one is indirect, on class Hash,
to have them behave like a case/when menu).
I also would like to see case/when...
shevegen (Robert A. Heiler)
06:57 AM Feature #13290 (Feedback): A method to use a hash like in a case construction
We often want to translate a hash into a case construction and back. For example, suppose we have a case construction like this:
```ruby
case key
when /foo/ then "FOO"
when /bar/ then "BAR"
else "DEFAULT"
end
```
Given that t...
sawa (Tsuyoshi Sawada)
09:47 AM Bug #13291 (Closed): Backport r57809 (fix misplaced parenthesis)
This is an issue for backport management. nagachika (Tomoyuki Chikanaga)
08:19 AM Revision e7f4d909 (git): fix paren
* string.c (str_byte_substr): fix misplaced parenthesis at r56155.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:34 AM Revision 4e61f6d3 (git): proc.c: preserve class name encoding in Proc#to_s
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:50 AM Revision b5155282 (git): re-introduce __builtin_add_overflow
r57789 (74cdd89) was gradually "improve"d by naruse through r57793 to
r57806, resulted in reverting the efect of r57789 while retaining its
complexity. I think the current situation is slightly worse than
before (same output complicated...
shyouhei (Shyouhei Urabe)

03/07/2017

10:03 PM Bug #13288: mingw issues with 57789
Shyouhei,
Not a good day so far. A couple rev's of i686 built, responded to -v, but test-all is a mess. Spent some time revising my build code and looking around libffi.
Testing 57788 did not yield results similar to what I recal...
MSP-Greg (Greg L)
05:34 AM Bug #13288: mingw issues with 57789
Shyouhei,
x64 failed (SEGV) on 57794 with the same log --
```
C:\Windows\system32\ntdll.dll(KiUserExceptionDispatcher+0x2e) [0x0000000077726818]
[0xffffffffff7aad10]
D:\msys64\mingw64\bin\libffi-6.dll(ffi_call_win64+0x97) [0x00...
MSP-Greg (Greg L)
05:05 AM Bug #13288: mingw issues with 57789
Greg L wrote:
> About that previous question - does having info on both x86_64 and i686 help, or, dependent on the issue?
Yes, that may narrow the root cause of your problem. If the SEGV disappears on 32bit platforms we can say it i...
shyouhei (Shyouhei Urabe)
04:58 AM Bug #13288: mingw issues with 57789
Shyouhei Urabe wrote:
> While I was investigating this issue, naruse reverted some part of the commit nonetheless.
I hate it when that happens...
> ...
Started. About that previous question - does having info on both x86_64 and i...
MSP-Greg (Greg L)
04:25 AM Bug #13288: mingw issues with 57789
While I was investigating this issue, naruse reverted some part of the commit nonetheless. That might have changed your situation. Can you pull the latest trunk and see if the problem still exists? shyouhei (Shyouhei Urabe)
03:05 AM Bug #13288: mingw issues with 57789
Thank you for looking for the problem. As mentioned, I'm very c challenged. Would it help if I did a i686 build?
Looking around MSYS2, the only thing I saw that might affect things was [fix_return_size.patch](https://github.com/Alex...
MSP-Greg (Greg L)
01:40 AM Bug #13288 (Assigned): mingw issues with 57789
shyouhei (Shyouhei Urabe)
01:39 AM Bug #13288: mingw issues with 57789
Thank you for the report. According to the log your compiler is GCC 6.3 so this is the target environment I wanted to optimize. Weird thing is the stack trace shows the SEGV occurs inside of Init_fiddle(), which was not in the changeset... shyouhei (Shyouhei Urabe)
12:17 AM Bug #13288 (Closed): mingw issues with 57789
I have been building trunk with mingw/MSYS2 for a few months. I also created packages using OpenSSL 1.1.0e and gdbm 1.10.
Yesterday, I build 57782 with no major issues. Today, when I built 57789 (this commit) I had a segfault in the t...
MSP-Greg (Greg L)
07:48 PM Revision 63c7ccc6 (git): Always use old RB_FIXABLE to allow double as argument
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
05:51 PM Revision 110760fa (git): Revert r57803 "Avoid to cast the argument"
__builtin_add_overflow doesn't support double.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
05:46 PM Revision 07032325 (git): * 2017-03-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:46 PM Revision 6c127aea (git): Avoid to cast the argument
For 32bit environment and __int128 use cases.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:31 PM Feature #13263: Add companion integer nth-root method to recent Integer#isqrt
These are the correct benchmarks to show the differences in performance doing ``root**n``.
Even in highlevel Ruby, the ``1 << b*n`` shows it is faster.
```
require "benchmark/ips"
(50..60).each do |exp|
[3, 4, 7, 13].each do |...
jzakiya (Jabari Zakiya)
02:34 PM Bug #13270 (Rejected): IRB hangs when printing "\e]"
It is not ruby specific, and (probably) expected behavior of some terminal emulators. nobu (Nobuyoshi Nakada)
01:59 PM Feature #12573: Introduce a straightforward way to discover whether a process is running
A number of applications, such as Monit and God, use the pidfiles of the applications they are monitoring in order to identify if they are still running.
Pid files are referenced in the Linux Standards Base init script spec: http://re...
will_in_wi (William Johnston)
01:57 PM Feature #12573: Introduce a straightforward way to discover whether a process is running
Thanks Martin!
Akira, that's another good way of handling the issue in a lot of circumstances. However, lockfiles have some issues on certain filesystems like NFS. Also, with a locked file, it isn't always straightforward across platf...
will_in_wi (William Johnston)
02:02 AM Feature #12573 (Open): Introduce a straightforward way to discover whether a process is running
William Johnston wrote:
> I'm unable to reopen this ticket, so I'd appreciate it if someone would do so for me.
Done.
duerst (Martin Dürst)
01:49 AM Feature #12573: Introduce a straightforward way to discover whether a process is running
How about locking a file?
If processes locks a file exclusively,
Only one process can success.
It can be used to detect already running daemon process.
lockfile is reliable than signal 0 because the file is unlocked when the proc...
akr (Akira Tanaka)
01:04 PM Revision d0708e9e (git): string.c: [DOC] Fix a typo in String#dump
[Fix GH-1531][ci skip]
Author: Alex Semyonov <alex@semyonov.us>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
10:56 AM Bug #13287 (Closed): Stack consistency error (sp: 97, bp: 96)
Applied in changeset r57801.
----------
parse.y: remove trace
* parse.y (reg_named_capture_assign_iter): do not insert trace
instructions before local variable assinments. putobject is
expected at first. [ruby-core:79940] [Bug #1...
nobu (Nobuyoshi Nakada)
06:38 AM Bug #13287: Stack consistency error (sp: 97, bp: 96)
```
zsh % diff -upw \
<(ruby --dump=insns -e '/(?<foo>.*)/ =~ "bar" && true' | sed -E 's/ +\( +[0-9]\)$//') \
<(ruby --dump=insns -e '/(?<foo>.*)/ =~ "bar" &&' -e true | sed -E 's/ +\( +[0-9]\)$//')
--- /dev/fd/11 ...
shyouhei (Shyouhei Urabe)
10:56 AM Revision 249fd9e0 (git): parse.y: remove trace
* parse.y (reg_named_capture_assign_iter): do not insert trace
instructions before local variable assinments. putobject is
expected at first. [ruby-core:79940] [Bug #13287]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57801 b...
nobu (Nobuyoshi Nakada)
09:13 AM Revision d69d98f6 (git): string.c: negation of LONG_MIN
* string.c (rb_str_update): do not use negation of LONG_MIN, which
is negative too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:08 AM Bug #13289 (Closed): Integer overflow in str_byte_substr & rb_str_subpos when set SHARABLE_MIDDLE_SUBSTRING by 1
Applied in changeset r57799.
----------
string.c: fix integer overflow
* string.c (str_byte_substr): fix another integer overflow which
can happen only when SHARABLE_MIDDLE_SUBSTRING is enabled.
[ruby-core:79951] [Bug #13289]
nobu (Nobuyoshi Nakada)
06:02 AM Bug #13289 (Closed): Integer overflow in str_byte_substr & rb_str_subpos when set SHARABLE_MIDDLE_SUBSTRING by 1
Integer overflow occurs in string.c(line 2319 & 5257).
beg + len & clen/n can be controlled by user.
Eg:
```
a="B"*0x400
a[0x40,0x7fffffffffffffff] => set length of sub array to 0x7fffffffffffffff
```
This lead to access o...
lung (Luc Nguyen)
09:07 AM Revision f4d13801 (git): string.c: fix integer overflow
* string.c (str_byte_substr): fix another integer overflow which
can happen only when SHARABLE_MIDDLE_SUBSTRING is enabled.
[ruby-core:79951] [Bug #13289]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57799 b2dd03c8-39d4-4d8f-9...
nobu (Nobuyoshi Nakada)
06:33 AM Revision d19d629e (git): Use RB_POSFIXABLE and RB_NEGFIXABLE to avoid cast introduced at r57793
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
05:48 AM Revision 72f8df15 (git): string.c: fix integer overflow
* string.c (rb_str_subpos): fix integer overflow which can happen
only when SHARABLE_MIDDLE_SUBSTRING is enabled. incorpolate
https://github.com/mruby/mruby/commit/7db0786abdd243ba031e24683f
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
nobu (Nobuyoshi Nakada)
05:19 AM Revision a298301b (git): suppress warning: shadowing outer local variable - e
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
05:11 AM Revision a3990118 (git): Supress warning: instance variable @repeat_count not initialized
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
04:46 AM Revision 48240306 (git): Fix up r57788, Function is removed at readline-6.3.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
03:35 AM Revision ac6f08df (git): Use ADD instead of MUL
* On recent CPUs, 2-operand MUL's latency is 3 cycle but ADD is 1 cycle.
* clang Optimizes `MUL rax,2` into `ADD rax,rax` but gcc7 doesn't.
* LONG2FIX is compiled into `lea r14,[r15+r15*1+0x1]`; this is 1cycle
and run in parallel if th...
naruse (Yui NARUSE)
01:07 AM Revision d4c598c4 (git): fix macro name
* tool/instruction.rb (VmBodyGenerator#make_header_prepare_stack):
REG_CFP has been prefixed with VM_ at r56609. [Bug #12527]
* tool/instruction.rb (VmBodyGenerator#make_footer_stack_val):
ditto.
git-svn-id: svn+ssh://ci.ruby-lang...
nobu (Nobuyoshi Nakada)

03/06/2017

10:32 PM Bug #13287 (Closed): Stack consistency error (sp: 97, bp: 96)
This works:
~~~ ruby
/ (?<foo>.*)/ =~ "bar" && true
~~~
This produces a stack consistency error with `2.4.0` but not with `2.3.3`:
~~~ ruby
/ (?<foo>.*)/ =~ "bar" &&
true
~~~
```
$ irb
2.4.0 :001 > / (?<foo>.*)/ =~ "ba...
v49564 (Victor Bruley)
09:44 PM Feature #12573: Introduce a straightforward way to discover whether a process is running
I'm unable to reopen this ticket, so I'd appreciate it if someone would do so for me. My apologies for not responding sooner, I must not have seen the previous message somehow. I came back to see what the status was after reimplementing ... will_in_wi (William Johnston)
07:44 PM Feature #13263: Add companion integer nth-root method to recent Integer#isqrt
A further simplification can be done for ``numb = root**n``
root = bit_mask = 1 << (b = (num.bit_length - 1)/n)
numb = root**n
numb = root << b*(n-1)
numb = (1 << b) << b*(n-1)
numb = 1 << (b + b*(n-1))
...
jzakiya (Jabari Zakiya)
02:58 AM Feature #13263: Add companion integer nth-root method to recent Integer#isqrt
More efficient.
```
root = bit_mask = (b = 1 << (num.bit_length - 1)/n)
numb = root << b*(n-1) # fast cpu level root**n
until ((bit_mask >>= 1) == 0) || numb == num
root |= bit_mask
...
jzakiya (Jabari Zakiya)
07:42 PM Revision 1ec51631 (git): * 2017-03-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:42 PM Revision 8188fb9a (git): io.c: [DOC] open mode can be an integer; fix rdoc syntax
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
03:54 PM Bug #13270: IRB hangs when printing "\e]"
I can reproduce `print "\e]"` and Ctrl+C, nothing happens. But I can't reproduce using `puts "\e["`. And I can't reproduce Ctrl+D `prints "30m"`. Ctrl+D causes simply exited.
I think iTerm eats output from "\e]" (OSC) to "\a" (BEL) (o...
znz (Kazuhiro NISHIYAMA)
03:43 PM Misc #13283: Disable `&' interpreted as argument prefix warning when passing symbol to Enumerable#map
Dan Allen wrote:
> I omit using a slightly different style in a chain.
> ...
This looks like Lisp to me more than Ruby.
But is the warning any useful in practice?
I agree the first example is unambiguous.
Eregon (Benoit Daloze)
03:54 AM Misc #13283: Disable `&' interpreted as argument prefix warning when passing symbol to Enumerable#map
I omit using a slightly different style in a chain.
~~~
(q.map &:w).e.r.t.y
~~~
Effectively, I group the standalone statement inside of (outer) parens.
For me, this provides the visual consistency of omitted parens for when it...
mojavelinux (Dan Allen)
03:13 AM Misc #13283: Disable `&' interpreted as argument prefix warning when passing symbol to Enumerable#map
I'm also a member of the church of dropping parens if possible. I'm not against introducing some new syntax to pass symbol-as-a-proc without parens. But wonder if that works for this specific map case. The main concern is that map ret... shyouhei (Shyouhei Urabe)
02:11 PM Bug #13277: Ruby 2.4.0 gem server 2.6.8
The related fix in the rubygems-2.6.9 changelog is https://github.com/rubygems/rubygems/blob/a2920e27661a18f60ad76b17b13961dd07f034d3/History.txt#L19
Please backport rubygems-2.6.10 to the next stable ruby-2.4 release.
larskanis (Lars Kanis)
11:30 AM Bug #13286 (Closed): Segfault when using rb_debug_inspector_open / rb_debug_inspector_frame_binding_get with Fiddle, but not when directly from C extension
## System
```shell
$ uname -a
Linux clients 4.1.5-x86_64-linode61 #7 SMP Mon Aug 24 13:46:31 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux
$ ruby -v
ruby 2.4.0p0 (2016-12-24 revision 57164) [x86_64-linux]
```
## Program
### W...
shreeve (Steve Shreeve)
11:14 AM Revision 74cdd893 (git): optimize FIXABLE macro
Looking at the source code, FIXABLE tends to be just before LOING2FIX
to check applicability of that operation. Why not try computing first
then check for overflow, which should be optimial.
I also tried the same thing for unsigned typ...
shyouhei (Shyouhei Urabe)
09:10 AM Revision cf2a6866 (git): Avoid to warning of clang with -Wincompatible-pointer-types.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
08:10 AM Revision f96c171e (git): readline.c: fix waiting fucntion
* ext/readline/readline.c (getc_body): use
rb_w32_wait_events_blocking in block region.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:25 AM Revision 5e62a1bd (git): LONG_LONG_MAX not always available
I was not aware of cases when LONG_LONG_MAX is undefined. Sorry.
Signed-off-by: Urabe, Shyouhei <shyouhei@ruby-lang.org>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
06:44 AM Revision 63f298b0 (git): opt_eq_func refactor
* vm_insnhelper.c (opt_eq_func): method to dispatch is resolved by
only the receiver's class, not including the argument class.
even if basic operation is redefined, other class conditions
never meet. optimize Float and non-Float ...
nobu (Nobuyoshi Nakada)
06:04 AM Revision 3106f941 (git): use HAVE_BUILTIN___BUILTIN_MUL_OVERFLOW
We already check for __builtin_mul_overflow in configure but never
actually referred it before. Why not call it if available, because
that should render supposedly-optimial assembly outputs.
Optionally if __builtin_mul_overflow_p is av...
shyouhei (Shyouhei Urabe)
05:55 AM Bug #13285 (Rejected): You may have encountered a bug in the Ruby interpreter or extension libraries.
Vipala Patil wrote:
> ```
> ...
You are mixing ruby 2.3.1 (rvm) and 2.0.0 (system). They won't work together.
shyouhei (Shyouhei Urabe)
05:35 AM Bug #13285 (Rejected): You may have encountered a bug in the Ruby interpreter or extension libraries.
/Users/gargee/.rvm/gems/ruby-2.3.1@poaster/gems/eventmachine-1.2.3/lib/rubyeventmachine.bundle: [BUG] Segmentation fault
ruby 2.0.0p648 (2015-12-16 revision 53162) [universal.x86_64-darwin15]
-- Crash Report log information ---------...
Vipala (Vipala Patil)

03/05/2017

11:56 PM Bug #13284 (Closed): IA64 ruby 2.4 miniruby segfault
Hello, I faced with this degradation (2.0.0 work perfect)
[ruby-2.4.0]$ gdb ./miniruby
GNU gdb Red Hat Linux (6.3.0.0-1.143.el4rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Publi...
ntfshard (Maksim Derbasov)
11:45 PM Misc #13283: Disable `&' interpreted as argument prefix warning when passing symbol to Enumerable#map
If the warning can't be removed, can we find some other way to write this statement without the need for parentheses? mojavelinux (Dan Allen)
11:43 PM Misc #13283 (Closed): Disable `&' interpreted as argument prefix warning when passing symbol to Enumerable#map
A common idiom in Ruby is to pass a symbol reference to `Enumerable#map`, which in turn invokes the corresponding method on each entry.
Case in point:
~~~
%(a b c).map &:upcase
~~~
Yet, when warnings are enabled, this line pro...
mojavelinux (Dan Allen)
11:36 PM Revision c8921b5e (git): compile.c: variable type
* compile.c (iseq_compile_each): fix variable type, use VALUE for
Symbol.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?revision=57772&view=revision
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57783 b2dd03c8-39d4-4d8f-98ff-823fe...
nobu (Nobuyoshi Nakada)
08:17 PM Feature #13263: Add companion integer nth-root method to recent Integer#isqrt
An optimization for the initiall ``root**n`` can be as follows:
Given any number **num** with only one bit set, and thus: ``bits = num.bit_length``
then it's exponentiation to any **n** is just: ``num**n => num << (num.bit_length...
jzakiya (Jabari Zakiya)
07:43 PM Revision e926245b (git): * 2017-03-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:43 PM Revision 5dfde646 (git): docs for IO.{write,read}
* io.c: [DOC] improve docs for IO
* IO.{write,read}: fix errors (:open_args is not an array of
strings, it might include a perm or options hash argument;
IO.write has no length argument, drop corresponding statement),
impro...
stomar (Marcus Stollsteimer)
12:54 PM Bug #12975: Edit documentation for IO#print function
Dario Daic wrote:
> * Add "and is a string" where usage of $' and $\ is explained.
> ...
Applied without this restraint, since it doesn't make sense: these variables must reference a string (or nil), since the type is validated during ...
stomar (Marcus Stollsteimer)
12:36 PM Bug #12975 (Closed): Edit documentation for IO#print function
Applied in changeset r57780.
----------
docs for IO#print
* io.c: [DOC] split documentation for IO#print into smaller paragraphs,
delete duplicate sentence, fix call-seq.
Based on a patch by Dario Daic. [ruby-core:78291] [Bug #12975]
stomar (Marcus Stollsteimer)
12:36 PM Revision 6af78021 (git): docs for IO#print
* io.c: [DOC] split documentation for IO#print into smaller paragraphs,
delete duplicate sentence, fix call-seq.
Based on a patch by Dario Daic. [ruby-core:78291] [Bug #12975]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57780 ...
stomar (Marcus Stollsteimer)
12:29 PM Bug #13277: Ruby 2.4.0 gem server 2.6.8
I guess when a new ruby main release will happen, the distributed gem in the bundle will also be
updated. The last release happened at around xmas 2016 so I guess we may get a new ruby release
in a not too terribly long time (currently...
shevegen (Robert A. Heiler)
08:12 AM Bug #13282: opt_str_freeze does not always dedupe
Eric Wong <normalperson@yhbt.net> wrote:
> Now, I wonder what's causing this to interact badly with
> test-unit...

power_assert/enable_tracepoint_events - this disables all
sorts of MRI optimizations for testing.

For background...
normalperson (Eric Wong)
07:32 AM Bug #13282: opt_str_freeze does not always dedupe
Eric Wong <normalperson@yhbt.net> wrote:
> Now, I wonder what's causing this to interact badly with
> test-unit...

Same test with minitest (5.10.1) + ruby 2.5.0dev r57744 works fine:

require 'minitest/autorun'
class TestString ...
normalperson (Eric Wong)
07:32 AM Bug #13282: opt_str_freeze does not always dedupe
normalperson@yhbt.net wrote:
> Testing with some old installs I had around, 2.1.9p490 seems fine,

Too Bad I'm Wrong.

It's seems to be only tickled by the gemification of test-unit
in 2.2. Using the test-unit gem with 2.1 still ...
normalperson (Eric Wong)
01:57 AM Bug #13282 (Rejected): opt_str_freeze does not always dedupe
Attached is the same test extracted from test/ruby/test_optimization.rb
but it fails in a standalone context. Not sure why...
It's not a new breakage in trunk, either.
Testing with some old installs I had around, 2.1.9p490 seems ...
normalperson (Eric Wong)
01:46 AM Bug #13279 (Closed): Math.log10 accuracy regression
Applied in changeset r57779.
----------
math.c: more accuracy
* math.c (math_log10): calculate log10(2) for more accuracy.
[ruby-core:79907] [Bug #13279]
nobu (Nobuyoshi Nakada)
01:46 AM Revision 01fb6694 (git): math.c: more accuracy
* math.c (math_log10): calculate log10(2) for more accuracy.
[ruby-core:79907] [Bug #13279]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:07 AM Bug #13270: IRB hangs when printing "\e]"
Nobuyoshi Nakada wrote:
> What terminal emulator are you using, the standard `Terminal.app`?
I'm using iTerm 3.0.14.
And on Terminal.app (v2.7.1 (387)) I get
~~~
> ...
il
>> puts "\e["
nil
~~~
(notice the first "n" mis...
domaio (Dorian M)
12:15 AM Feature #13278 (Third Party's Issue): Rubygems Command Reference added to repo
Please request to the upstream. nobu (Nobuyoshi Nakada)

03/04/2017

08:08 PM Revision 3ca1cbec (git): string.c: [DOC] fix doc formatting for String#==, #===
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
08:02 PM Revision b637593a (git): rdoc for String class
* lib/unicode_normalize.rb: [DOC] prevent a comment from
showing up in the class documentation for String.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
stomar (Marcus Stollsteimer)
07:52 PM Bug #13281 (Closed): [DOC] OptionParser docs leak into class documentation of Object
Applied in changeset r57775.
----------
nodoc OptParse
* lib/optparse.rb: [DOC] nodoc OptParse, introduced with r46126,
to avoid leaking of its documentation (OptionParser's docs) into
the class documentation of Object. [ruby-core...
stomar (Marcus Stollsteimer)
06:44 PM Bug #13281 (Closed): [DOC] OptionParser docs leak into class documentation of Object
Since r46126 [Feature #9864], where OptParse was added as an alias for OptionParser, the complete class documentation for OptionParser leaks into the class documentation for Object.
This affects docs since 2.2:
* https://docs.ruby-...
stomar (Marcus Stollsteimer)
07:52 PM Revision a8fca126 (git): * 2017-03-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:52 PM Revision e9d6c671 (git): nodoc OptParse
* lib/optparse.rb: [DOC] nodoc OptParse, introduced with r46126,
to avoid leaking of its documentation (OptionParser's docs) into
the class documentation of Object. [ruby-core:79909] [Bug #13281]
git-svn-id: svn+ssh://ci.ruby-lang....
stomar (Marcus Stollsteimer)
06:59 PM Feature #13263: Add companion integer nth-root method to recent Integer#isqrt
It would be really helpful if people produce empirical results of actual coded
examples of techniques, to establish their efficacies.
**Math may suggest theoretical possibilities, but engineering determines their feasibility.**
I'...
jzakiya (Jabari Zakiya)
06:15 PM Bug #13280 (Rejected): net/ftp: Putbinaryfile (on Windows) requires blocksize equal to file size
I searched this issue list (for Descriptions including `ftp`), but didn't find this problem discussed.
Recently, in the process of developing a new program, I invoked `putbinaryfile` (in passive mode) on a large file (about 1.3 megaby...
MarkDBlackwell (Mark D Blackwell)
05:18 PM Bug #13279 (Closed): Math.log10 accuracy regression
I've notice a degradation in the precision of Math.log10 in Ruby 2.4 with respect to 2.1:
~~~
2.1.2 :136 > Math.log10 10**1000
=> 1000.0
2.4.0 :009 > Math.log10 10**1000
=> 999.9999999999999
~~~
The problem has been introd...
jgoizueta (Javier Goizueta)
04:30 PM Feature #13278 (Third Party's Issue): Rubygems Command Reference added to repo
After working with Ruby documentation for while, there's only one file I'd really like to see added to the repo --
[RubyGems 2.6.10 Command Reference](https://msp-greg.github.io/ruby_trunk/rubygems/file.command-reference.html)
Coul...
MSP-Greg (Greg L)
02:44 PM Revision f01836cb (git): compile.c: operand size check
* compile.c (ibf_load_code): raise an exception on invalid operand
size. should not use assert() to validate incoming data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:37 PM Revision 37102f6b (git): compile.c: memory leak
* compile.c (iseq_set_sequence): fix potential memory leaks on an
invalid instruction sequence.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:21 PM Revision 8f2b1b67 (git): compile.c: fix invalid label message
* compile.c (validate_label): fix invalid label message.
registered labels are Symbols, not IDs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:26 PM Bug #9989 (Closed): Docs give wrong information for sort block return values
Fixed with r51859 (Array) and r57770 (Enumerable). stomar (Marcus Stollsteimer)
01:13 PM Revision b4baeb5a (git): documentation for sort methods
* array.c: [DOC] fix grammar in Array#sort, #sort!, #sort_by!,
move references below the code example, add a missing reference.
* enum.c: [DOC] fix grammar in Enumerable#sort, #sort_by.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun...
stomar (Marcus Stollsteimer)
01:12 PM Revision 453199c4 (git): enum.c: documentation for Enumerable#sort_by
* enum.c: [DOC] improve structure of docs for Enumerable#sort_by,
adopt explanation of the comparison block from Array#sort_by,
drop mention of 1.8, fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57770 b2dd03c8-39d4-4d...
stomar (Marcus Stollsteimer)
05:13 AM Revision 1ec80572 (git): readline.c: fix type
* ext/readline/readline.c (getc_body): fix variable type, and
extract _get_osfhandle.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:13 AM Bug #13277 (Closed): Ruby 2.4.0 gem server 2.6.8
People involved with [larskanis/rubyinstaller2](https://github.com/larskanis/rubyinstaller2), a new Windows build system for Ruby based on msys2 packages and mingw, found that `gem server` (v2.6.8) is not working properly in 2.4.0.
On...
MSP-Greg (Greg L)
 

Also available in: Atom