Project

General

Profile

Activity

From 02/22/2015 to 02/28/2015

02/28/2015

09:49 PM Bug #10902: require("enumerator") scans LOAD_PATH 2x on every invocation
Having a hard time coming up with a clean patch here. The following works but it's pretty hacky.
~~~ diff
diff --...
tmm1 (Aman Karmani)
06:18 PM Bug #10712: [PATCH] lib/resolv.rb: consider ENETUNREACH as ResolvTimeout
Isn't that what the -l switch is for? djberg96 (Daniel Berger)
04:16 PM Bug #10712: [PATCH] lib/resolv.rb: consider ENETUNREACH as ResolvTimeout
Backported into `ruby_2_1` at r49785. nagachika (Tomoyuki Chikanaga)
06:14 PM Bug #10731: Segmentation fault when create alias to refined method
Backported into `ruby_2_1` branch at r49787. nagachika (Tomoyuki Chikanaga)
06:13 PM Revision f50f7025 (git): merge revision(s) r49221: [Backport #10731]
* vm_method.c (rb_alias): raise a NameError when creating alias to
a refined method if the original method ...
nagachika (Tomoyuki Chikanaga)
05:44 PM Bug #10919 (Third Party's Issue): [gem install] installs multipe platforms
Natively build a gem - just an example mysql2 on windows x64-mingw32
I could only get the gem to compile with devkit...
abaumgaertner (Andreas Baumgaertner)
05:29 PM Bug #10706: Segmentation fault when change visibility of refined new method
Backported into `ruby_2_1` at r49786. nagachika (Tomoyuki Chikanaga)
05:28 PM Revision c839def7 (git): merge revision(s) r49182,r49183: [Backport #10706]
vm_method.c: fix change refined new method visibility
* vm_method.c (rb_export_method): bail out if the origi...
nagachika (Tomoyuki Chikanaga)
05:02 PM Bug #10878: require: cannot load such file
this issue was resolved with #10876
ruby 2.2.1p85 (2015-02-26 revision 49761) [x64-mingw32]
abaumgaertner (Andreas Baumgaertner)
04:15 PM Revision 8e73157d (git): merge revision(s) r49175: [Backport #10712]
* lib/resolv.rb: consider ENETUNREACH as ResolvTimeout
[ruby-core:67411] [Bug #10712]
git-svn-id: svn+ssh...
nagachika (Tomoyuki Chikanaga)
04:03 PM Bug #10692: there is no response body with HEAD request (fixed at r49105)
Backported into `ruby_2_1` at r49784. nagachika (Tomoyuki Chikanaga)
04:03 PM Revision 4ad3a5c3 (git): merge revision(s) r49104,r49105: [Backport #10692]
* test/net/http/test_http.rb (_test_send_request__HEAD): Added
failing test for send_request with HEAD meth...
nagachika (Tomoyuki Chikanaga)
04:00 PM Bug #10668: Fix description for Zlib.crc32
Backported into `ruby_2_1` at r49783. nagachika (Tomoyuki Chikanaga)
03:59 PM Revision 089dbf1e (git): merge revision(s) r49202: [Backport #10668]
* ext/zlib/zlib.c: fix document of method signatures.
[Bug #10668][ruby-core:67186][ci skip]
git-svn-id: ...
nagachika (Tomoyuki Chikanaga)
02:51 PM Bug #10918 (Closed): ObjectSpace._id2ref returns internal object
Since r43539 ObjectSpace._id2ref doesn't check if the object is internal or not.
The following code gives a segmen...
rhenium (Kazuki Yamaguchi)
09:09 AM Revision fe6cf485 (git): enum.c: Fixnum only
* enum.c (limit_by_enum_size, enum_size_over_p): check only
against Fixnum size.
git-svn-id: svn+ssh://ci.ruby-lan...
nobu (Nobuyoshi Nakada)
08:18 AM Revision 98273af3 (git): enum.c: limit size
* enum.c (enum_each_slice, enum_each_cons): limit elements size by
the enumerator size. suggested by Hans Mackowia...
nobu (Nobuyoshi Nakada)
06:46 AM Bug #10906: Problem building on Solaris 10 - symbol rb_infinity not found
I didn't send any options to configure.
>/usr/ccs/bin/nm numeric.o | grep infinity
>/usr/ccs/bin/nm .ext/i386-so...
djberg96 (Daniel Berger)
06:44 AM Revision dbffdff1 (git): vm_dump.c: no new strings in signal context
* vm_dump.c (rb_vm_bugreport): get rid of making new strings
inside signal context.
git-svn-id: svn+ssh://ci.ruby-...
nobu (Nobuyoshi Nakada)
06:42 AM Revision badb4de7 (git): variable.c: rb_search_class_path
* variable.c (rb_tmp_class_path): defer making temporary class
path string.
* variable.c (rb_search_class_path): se...
nobu (Nobuyoshi Nakada)
06:02 AM Revision 1ef1a0c6 (git): variable.c: preserve name encoding of subclass
* variable.c (rb_tmp_class_path): preserve name encoding of an
anonymous instance of module/class subclass.
git-sv...
nobu (Nobuyoshi Nakada)
02:14 AM Bug #10850: BigDecimal division incorrect
Thanks for the answer Shugo,
however I am not sure if that is easily possible for me in that case. I use BigDecim...
Elyasin (Elyasin Shaladi)
12:47 AM Bug #10913 (Third Party's Issue): Enum#each_slice is crashing with Bignum as an argument
It reproduces with just:
~~~ruby
Array.new(50000000000000000)
~~~
and
~~~ruby
"x"*50000000000000000
~~~
...
nobu (Nobuyoshi Nakada)

02/27/2015

11:33 PM Bug #9144 (Closed): ptys on AIX version 4 through 7
Applied in changeset r49776.
----------
* ext/pty/pty.c: AIX supports autopush. Patch by Perry Smith [ruby-core:5853...
Anonymous
11:32 PM Revision 0066608c (git): * 2015-02-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:32 PM Revision 87ac2159 (git): * ext/pty/pty.c: AIX supports autopush. Patch by Perry Smith [ruby-core:58539] [Bug #9144]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Rei Odaira
11:19 PM Feature #10917 (Closed): Add GC.stat[:total_time] when GC profiling enabled
This patch includes a `:total_time` value in `GC.stat` as a `Fixnum` of microseconds equivalent to `GC::Profiler.tota... jasonrclark (Jason Clark)
08:44 PM Bug #10916 (Third Party's Issue): What the Ruby? SegFault?
Been using WPScan for quite a while, but now this happens ... I've got no idea "what the ruby" this is.
/usr/local...
why.do.i.need.this.acct (why do i need this acct just to create a bug report)
06:21 PM Feature #10844: TracePoint API needs an event to inform about creating/removing a new frame without calling something
I'm not able to try this right now but I'm pretty sure that just works in byebug... I'll confirm as soon as possible. deivid (David Rodríguez)
05:58 PM Bug #10914: Always reproducible crash on FreeBSD with unicorn and 2.2.0p0 (2.1.5p273 too)
[email protected] wrote:
> /usr/local/lib/libruby22.so.22(rb_print_backtrace+0x19) [0x8009fe5d7] vm_dump.c:693
> /u...
normalperson (Eric Wong)
03:04 PM Bug #10914 (Rejected): Always reproducible crash on FreeBSD with unicorn and 2.2.0p0 (2.1.5p273 too)
I get this segmentation when unicorn sends QUIT signal for the old process. The crash is reproduced with FreeBSD 10.0... incubus (Alexander Logvinov)
05:22 PM Bug #10550: Resolv::DNS.getaddresses returns no IPs when nameserver returns in differing case than query
Backported into `ruby_2_1` branch at r49775. nagachika (Tomoyuki Chikanaga)
05:21 PM Revision 02dcfb78 (git): merge revision(s) r49071,r49072,r49073,r49078: [Backport #10550]
* lib/resolv.rb (Resolv::DNS::Name): names with different dots
should be different.
* lib/resolv.r...
nagachika (Tomoyuki Chikanaga)
04:47 PM Bug #10915: Error in FTPTest#test_abort and test_status on Solaris
Naohisa Goto wrote:
> Solaris, Linux にて動作を確認しました。
> Windowsなどその他のOSでは未確認です。
そこはまあ、入れてみればわかるのでいいんじゃないかと。
(ちなみにこの...
usa (Usaku NAKAMURA)
03:39 PM Bug #10915 (Closed): Error in FTPTest#test_abort and test_status on Solaris
Solaris 10 にて、make test-all で以下のエラーが出ます。
(r49732にて確認)
~~~
1) Error:
FTPTest#test_abort:
Net::ReadTimeout: Ne...
ngoto (Naohisa Goto)
01:00 PM Revision d9c32d62 (git): * lib/rubygems: Update to RubyGems 2.4.6 and HEAD(800f2e6).
Fixed #1159, #1171, #1173 on rubygems/rubygems
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t...
hsbt (Hiroshi SHIBATA)
12:46 PM Bug #10913: Enum#each_slice is crashing with Bignum as an argument
[shreyas@so (master)]$ rvm list

rvm rubies

=> ruby-2.0.0-p598 [ x86_64 ]
ruby-2.1.0...
pritamdey (arup rakshit)
08:36 AM Bug #10913: Enum#each_slice is crashing with Bignum as an argument
i cant repoduce it with my ruby versions 2.1.2 and ruby 2.3.0dev
~~~
[1] pry(main)> [1,2,3].each_slice(5000000000...
Hanmac (Hans Mackowiak)
08:08 AM Bug #10913 (Third Party's Issue): Enum#each_slice is crashing with Bignum as an argument
~~~
[shreyas@~ (master)]$ rvm use 2.1.2
Using /Users/shreyas/.rvm/gems/ruby-2.1.2
[shreyas@~ (master)]$ pry
`[1] ...
pritamdey (arup rakshit)
11:55 AM Revision b89e8943 (git): * lib/rake: Update to rake (9237e74), typo fix and remove needless
private syntax.
* test/rake: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49773 b2dd03c8-39d4-4d8f-98ff-...
hsbt (Hiroshi SHIBATA)
10:06 AM Misc #10907: Documentation of Addrinfo.new suggests default family of PF_UNSPEC while in practise it appears to be AF_INET
It seems I am confusing `afamily` with `pfamily`. The `pfamily` indeed returns `Socket::PF_UNSPEC` by default. yorickpeterse (Yorick Peterse)
10:05 AM Bug #10908: Addrinfo.new appears to ignore the afamily argument when using a String for sockaddr
@Michael
Hm, good catch, I hadn't thought of that. In that case it indeed looks like I
was misunderstanding the d...
yorickpeterse (Yorick Peterse)
08:10 AM Revision ca6b1740 (git): * vm_core.h: define vm_svar_index.
* vm_insnhelper.c, vm.c, compile.c: use vm_svar_index names.
* iseq.h: remove DEFAULT_SPECIAL_VAR_COUNT.
use VM_SVA...
ko1 (Koichi Sasada)
07:23 AM Revision 689df4ae (git): compile.c: debug prints to stderr
* compile.c: send all debug prints to stderr, as ruby_debug_printf
does.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
nobu (Nobuyoshi Nakada)
07:02 AM Revision 52d810e2 (git): compile.c: fix function name
* compile.c (APPEND_ELEM): fix function name so that the first
argument will be inserted.
git-svn-id: svn+ssh://ci...
nobu (Nobuyoshi Nakada)
04:57 AM Revision d8abb9da (git): io.c: wipe away ioctl buffer
* io.c (setup_narg): wipe away expanded part of buffer to get rid
of revealing uncleaned data. reported by Dongkwa...
nobu (Nobuyoshi Nakada)
03:55 AM Revision 6bb470cf (git): * 2015-02-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:55 AM Revision 194c3907 (git): thread.c: refine enums
* ext/thread/thread.c: remove unnecessary enum values and add end
of enumerations.
git-svn-id: svn+ssh://ci.ruby-l...
nobu (Nobuyoshi Nakada)
03:54 AM Revision b84e28d1 (git): io.c: discard buffer always
* io.c (copy_stream_fallback_body): discard buffer always before
exit or exception.
git-svn-id: svn+ssh://ci.ruby-...
nobu (Nobuyoshi Nakada)
02:23 AM Feature #10912 (Closed): Add method(s) to IPAddr for determining whether an address is link local
I was surprised to find that IPAddr has no methods for determining whether an address is a link local address (ie RFC... postmodern (Hal Brodigan)

02/26/2015

11:36 PM Feature #10911 (Closed): IPAddr.new should ignore zone identifiers
Link local IPv6 addresses may have a zone identifier suffix:
fe80::1%lo0
IPAddr.new currently does not igno...
postmodern (Hal Brodigan)
10:54 PM Bug #10910 (Closed): NoMethodError when opening SSL connection with OpenSSL::SSL::VERIFY_PEER set and anonymous ciphers allowed
When establishing an SSL connection with peer verification enabled, if the list of allowed ciphers includes an anonym... Sinjo (Chris Sinjakli)
03:56 PM Feature #10882: Provide Levenshtein distance implementation as part of stdlib
I would like to see this too - Levensthein distance is used a lot in Bioinformatics to calculate the edit distance be... shevegen (Robert A. Heiler)
02:42 PM Revision 19711c78 (git): io.c: redulce RSTRING_PTR and RSTRING_LEN
* io.c: replace repeating RSTRING_PTR and RSTRING_LEN with local
variables.
git-svn-id: svn+ssh://ci.ruby-lang.org...
nobu (Nobuyoshi Nakada)
02:42 PM Revision e1aba5bb (git): test_io.rb: separate platform-specific tests
* test/ruby/test_io.rb: separate platform-specific tests at load
time instead of runtime.
git-svn-id: svn+ssh://ci...
nobu (Nobuyoshi Nakada)
02:42 PM Revision 727f5251 (git): runruby.rb: use File::PATH_SEPARATOR
* tool/runruby.rb: use File::PATH_SEPARATOR as
DYLD_INSERT_LIBRARIES is colon-separated list.
git-svn-id: svn+ssh:...
nobu (Nobuyoshi Nakada)
01:55 PM Feature #10844: TracePoint API needs an event to inform about creating/removing a new frame without calling something
David Rodríguez wrote:
> Both.
Ok, so let's start with byebug. When it is stopped inside rescue clause (as far a...
os97673 (Oleg Sukhodolsky)
12:28 PM Feature #10844: TracePoint API needs an event to inform about creating/removing a new frame without calling something
Both. deivid (David Rodríguez)
09:56 AM Feature #10844: TracePoint API needs an event to inform about creating/removing a new frame without calling something
David Rodríguez wrote:
> After rereading the whole thing, I'm still not clear about the issue...
What exactly is ...
os97673 (Oleg Sukhodolsky)
09:36 AM Feature #10844: TracePoint API needs an event to inform about creating/removing a new frame without calling something
After rereading the whole thing, I'm still not clear about the issue... deivid (David Rodríguez)
03:43 AM Feature #10844: TracePoint API needs an event to inform about creating/removing a new frame without calling something
David Rodríguez wrote:
> > Yes, byebug doesn't use real stack size but it means it does not provide complete informa...
os97673 (Oleg Sukhodolsky)
01:06 PM Bug #10908: Addrinfo.new appears to ignore the afamily argument when using a String for sockaddr
Yorick Peterse wrote:
> When creating a new `Addrinfo` instance the `new` class method appears to ignore
> the 2nd ...
brightbits (Michael Baldry)
11:36 AM Bug #10908 (Rejected): Addrinfo.new appears to ignore the afamily argument when using a String for sockaddr
When creating a new `Addrinfo` instance the `new` class method appears to ignore
the 2nd (afamily) argument and alwa...
yorickpeterse (Yorick Peterse)
12:59 PM Feature #10909: [PATCH 2/2] math.c: Direct casting from Rational to double.
I can find this proposal makes `Math` faster more than 2 times at most.
$ cat bench.rb
```ruby
require 'be...
gogotanaka (Kazuki Tanaka)
12:42 PM Feature #10909 (Closed): [PATCH 2/2] math.c: Direct casting from Rational to double.
Hi, this proposal is continued from [Feature 10800](https://bugs.ruby-lang.org/issues/10800) and [Feature 10785](http... gogotanaka (Kazuki Tanaka)
12:08 PM Bug #10906 (Feedback): Problem building on Solaris 10 - symbol rb_infinity not found
Could you please show configure options and environment variables,
and execute the following commands and show resul...
ngoto (Naohisa Goto)
09:49 AM Bug #10906 (Closed): Problem building on Solaris 10 - symbol rb_infinity not found
Hi,
Solaris 10
gcc 4.8
ruby 2.2.0 current stable
I did configure/make, and it works until it tries to generat...
djberg96 (Daniel Berger)
11:28 AM Misc #10907: Documentation of Addrinfo.new suggests default family of PF_UNSPEC while in practise it appears to be AF_INET
By the way, this was tested using `ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-linux]` on Arch Linux (`Linux yor... yorickpeterse (Yorick Peterse)
11:27 AM Misc #10907 (Rejected): Documentation of Addrinfo.new suggests default family of PF_UNSPEC while in practise it appears to be AF_INET
The documentation of Addrinfo.new states the following:
> family is specified as an integer to specify the protoco...
yorickpeterse (Yorick Peterse)
08:23 AM Bug #10876: Win32API.new fails when an Array is given for the import argument
ruby_2_2 r49761 merged revision(s) 49750. naruse (Yui NARUSE)
08:23 AM Revision 35f8beef (git): merge revision(s) 49750: [Backport #10876]
* ext/win32/Win32API.rb (initialize): accept both a string and an array
for the arguments of the imported f...
naruse (Yui NARUSE)
08:01 AM Revision 68c062b1 (git): configure.in: PRELOADENV
* configure.in (PRELOADENV): platform specific environment to
pre-load the given shared libraries.
* tool/runruby....
nobu (Nobuyoshi Nakada)
01:07 AM Bug #10904: Time.strptime with %s.%N format should not ignore sec_fraction
I attached an updated patch (strptime-s-n-format-sec-fraction-fix.2.patch) that invert sign of sec_fraction if second... frsyuki (Sadayuki Furuhashi)
12:48 AM Revision fefdad10 (git): configure.in: check USDT headers
* configure.in (RUBY_DTRACE_AVAILABLE): try compile to see if
headers are available too.
git-svn-id: svn+ssh://ci....
nobu (Nobuyoshi Nakada)

02/25/2015

11:36 PM Feature #10844: TracePoint API needs an event to inform about creating/removing a new frame without calling something
Sure, most of the issues here were related to unbalanced counts of events: https://github.com/deivid-rodriguez/byebug... deivid (David Rodríguez)
11:02 PM Feature #8544: OpenURI should open 'file://' URIs
Here's a naive implementation of support for "file:"
require 'open-uri'
require 'uri'
module URI
...
woollyams (Mike Williams)
09:49 PM Bug #10904: Time.strptime with %s.%N format should not ignore sec_fraction
It seems your patch doesn't consider negative seconds
```
% TZ=GMT ./ruby -Ilib -rtime -e 'p Time.strptime("-3.1"...
akr (Akira Tanaka)
06:01 AM Bug #10904 (Closed): Time.strptime with %s.%N format should not ignore sec_fraction
`Time.strptime` with "%s.%N" format ignores milliseconds, microseconds and nanoseconds.
For example, `Time.strptime(...
frsyuki (Sadayuki Furuhashi)
07:56 PM Feature #10600: [PATCH] Queue#close
Here is the full patch including tests and updated rdoc comments. diffed from current trunk 25f99aef. djellemah (John Anderson)
07:01 PM Bug #10876: Win32API.new fails when an Array is given for the import argument
Thank you for the fix! This must still be backported to ruby_2_2 branch! [email protected] (Aaron Stone)
01:08 PM Bug #10876 (Closed): Win32API.new fails when an Array is given for the import argument
Applied in changeset r49750.
----------
* ext/win32/Win32API.rb (initialize): accept both a string and an array
fo...
usa (Usaku NAKAMURA)
05:19 PM Revision 25f99aef (git): fake.rb: rubyarchhdrdir for rubyspec
* common.mk (test-rubyspec): use fake script to set header
directories.
* template/fake.rb.in (RUBYOPT): set -r op...
nobu (Nobuyoshi Nakada)
05:05 PM Revision 41b2f1ad (git): complex.c: sign of zeros
* complex.c (rb_nucomp_mul): preserve sign of zeros without NaN by
regularized values.
git-svn-id: svn+ssh://ci.ru...
nobu (Nobuyoshi Nakada)
04:20 PM Bug #10837: spatting a single element array produces an array instead of a single value for return and next
Nobuyoshi Nakada wrote:
> It's similar to `return *[1, 2]`.
Please clarify your position, is this about preservin...
bughit (bug hit)
03:04 PM Revision 694d6f27 (git): * 2015-02-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:04 PM Revision 8b89b2c6 (git): runruby.rb: update pattern
* tool/runruby.rb: no space may be after RUBY_VERSION.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49755 b2dd0...
nobu (Nobuyoshi Nakada)
02:16 PM Revision 909c4c0f (git): complex.c: specialize
* complex.c (rb_nucomp_mul): specialize real numbers and purely
imaginary numbers, and get rid of multiplication by...
nobu (Nobuyoshi Nakada)
01:25 PM Revision a96c88ec (git): * spec/default.mspec: use default configuration file name.
https://github.com/ruby/rubyspec/commit/cc69f337b06362e5607ffa3e3ad40ef7494960cf
git-svn-id: svn+ssh://ci.ruby-lang....
hsbt (Hiroshi SHIBATA)
01:22 PM Revision 8e183909 (git): * spec/default.mspec: remove specific version number.
https://github.com/ruby/rubyspec/commit/7a909e925c1baa9c700bd44af9241aef6e596714
git-svn-id: svn+ssh://ci.ruby-lang....
hsbt (Hiroshi SHIBATA)
01:08 PM Revision 55d74913 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:08 PM Revision dad59fcd (git): * ext/win32/Win32API.rb (initialize): accept both a string and an array
for the arguments of the imported function.
reported by Aaron Stone [ruby-core:68208] [Bug #10876] [Fixes GH-835]
...
U.Nakamura
09:25 AM Misc #10905 (Closed): Additional documentation for Time#getlocal
Patch to add examples of valid utc_offset formats. charleskorn (Charles Korn)
09:17 AM Bug #10866 (Closed): A signal handler in signal.c can corrupt the value of errno.
Applied in changeset r49746.
----------
signal.c: preserve errno
* signal.c (sighandler): preserve errno
Patch by...
Anonymous
09:17 AM Revision 25edb07c (git): mkconfig.rb: delete DESTDIR
* tool/mkconfig.rb (RbConfig): delete default DESTDIR set by
--with-destdir.
git-svn-id: svn+ssh://ci.ruby-lang.or...
nobu (Nobuyoshi Nakada)
09:17 AM Revision 7722b3b6 (git): runruby.rb: follow r49740
* tool/runruby.rb: follow the change of RUBY_VERSION check in
rbconfig by r49740.
git-svn-id: svn+ssh://ci.ruby-la...
nobu (Nobuyoshi Nakada)
09:17 AM Revision be5b7f61 (git): signal.c: preserve errno
* signal.c (sighandler): preserve errno
Patch by Steven Stewart-Gallus <[email protected]>
[ruby-c...
Eric Wong
08:31 AM Revision 967f5611 (git): * class.c (clone_method): fixed missing assignment introduced by
previous commit.
* vm_insnhelper.c (rb_vm_rewrite_cref_stack): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
U.Nakamura
06:59 AM Revision f4726dcd (git): dir.c: same encoding to the pattern
* dir.c (push_pattern, push_glob): make globbed file names same
encoding to the given pattern.
git-svn-id: svn+ssh...
nobu (Nobuyoshi Nakada)
06:48 AM Revision ca3f71b8 (git): complex.c: move optimization
* complex.c (f_complex_polar): move optimization for orthogonal
cases from rb_nucomp_mul.
git-svn-id: svn+ssh://ci...
nobu (Nobuyoshi Nakada)
06:39 AM Revision 244260d6 (git): bump version to 2.2.1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:36 AM Revision e04b5d25 (git): merge revision(s) 49740:
* tool/merger.rb: support 2.1+ versioning scheme.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@497...
naruse (Yui NARUSE)
06:35 AM Revision 7d248667 (git): * tool/merger.rb: support 2.1+ versioning scheme.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:27 AM Bug #10885: Segmentation fault when calling refined method in duplicate module
ruby_2_0_0 r49739 merged revision(s) 49685,49687.
note: omitted the test because `Module#using` is not available on 2...
usa (Usaku NAKAMURA)
06:26 AM Revision 852d56ff (git): merge revision(s) 49685,49687: [Backport #10885]
* vm_insnhelper.c (rb_vm_rewrite_cref_stack): copy nd_refinements
of orignal crefs. It fixes segmentation f...
U.Nakamura
06:16 AM Bug #9790: Zlib::GzipReader only decompressed the first of concatenated files
Aleksandar Kostadinov wrote:
> Because gzip format allows multiple entries with filename I'd suggest to support a me...
duerst (Martin Dürst)
06:02 AM Bug #10826: Refinements make instance_methods(false) return methods of superclasses
ruby_2_0_0 r49738 merged revision(s) 49222,49480,49493. usa (Usaku NAKAMURA)
06:01 AM Bug #10765: Module#remove_method remove refined method entry.
ruby_2_0_0 r49738 merged revision(s) 49222,49480,49493. usa (Usaku NAKAMURA)
06:01 AM Revision 94ec0a64 (git): merge revision(s) 49222,49480,49493: [Backport #10765] [Backport #1010826]
method.h: UNDEFINED_REFINED_METHOD_P
* method.h (UNDEFINED_REFINED_METHOD_P): macro to tell if refined
ori...
U.Nakamura
05:42 AM Bug #10753: Refined class returns unexpected value when call public_method_defined?, protected_method_defined?, private_method_defined?
ruby_2_0_0 r49737 merged revision(s) 49322. usa (Usaku NAKAMURA)
05:42 AM Revision 24bb5756 (git): merge revision(s) 49322: [Backport #10753]
* vm_method.c (check_definition): Module#public_method_defined?,
Module#private_method_defined?, Module#pro...
U.Nakamura
05:33 AM Bug #10825: Fix build error in sdbm under Windows
ruby_2_0_0 r49736 merged revision(s) 49490,49494. usa (Usaku NAKAMURA)
05:33 AM Revision 843aadc3 (git): merge revision(s) 49490,49494: [Backport #10825]
* ext/sdbm/_sdbm.c: include ruby/ruby.h for PRIdPTRDIFF when a
macro `DEBUG` is defined. based on the patc...
U.Nakamura
05:27 AM Bug #10821: mkmf.rb: Incorrect have_devel? test depending on run order
ruby_2_0_0 r49735 merged revision(s) 49482,49487.
note: need to require `envutil` because it's not loaded implicitly ...
usa (Usaku NAKAMURA)
05:26 AM Revision 5b37cb25 (git): merge revision(s) 49482,49487: [Backport #10821]
* lib/mkmf.rb (try_cppflags, try_cflags, try_ldflags): get rid of
interference by modifying global variable...
U.Nakamura
05:21 AM Bug #10694: Improve Thread#value rubydoc
ruby_2_0_0 r49734 merged revision(s) 49428. usa (Usaku NAKAMURA)
05:20 AM Revision 12ba294b (git): merge revision(s) 49428: [Backport #10694]
* thread.c: Improve documentation for Thread#value
[Bug #10694][ruby-core:67324][ci skip]
git-svn-id: svn...
U.Nakamura
05:18 AM Bug #10582: String#chomp strips off more newlines than its documentation states
ruby_2_0_0 r49733 merged revision(s) 48747. usa (Usaku NAKAMURA)
05:18 AM Revision b27d06d3 (git): merge revision(s) 48747: [Backport #10582]
* string.c: [DOC] Add missing documentation around String#chomp.
Patchby @stderr [ci skip][fix GH-780]
gi...
U.Nakamura
04:44 AM Feature #10903 (Closed): [PATCH] Matrix#zip returns a matrix
Currently:
> x = Matrix.I 2
> x.zip x
=> [[1, 1], [0, 0], [0, 0], [1, 1]] # It's an array!
With the...
LitoNico (Lito Nicolai)
02:25 AM Revision 7b65fb29 (git): complex.c: M_PI in VC
* complex.c (_USE_MATH_DEFINES): needed for M_PI in Microsoft
Visual C.
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
nobu (Nobuyoshi Nakada)
01:06 AM Bug #10899 (Feedback): ruby 2.2.0 darwin crash (in ripper?)
Could you compile with debugging options?
And, if possible, can it reproduce with the trunk?
nobu (Nobuyoshi Nakada)
12:20 AM Revision 5ac58b27 (git): insns.def: reverse
* insns.def (reverse): add new instruction for massign.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49731 b2dd...
nobu (Nobuyoshi Nakada)
12:20 AM Revision 2c8cea84 (git): compile.c: unbalanced massign
* compile.c (compile_massign): adjust stack for unbalanced massign.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun...
nobu (Nobuyoshi Nakada)

02/24/2015

11:53 PM Bug #10487 (Closed): [PATCH 3/3] More than 3 arguments Passing to CMath.log doesn't make sense.
Applied in changeset r49729.
----------
* lib/cmath.rb (log): raise ArgumentError when more than 2 arguments
are p...
gogotanaka (Kazuki Tanaka)
11:53 PM Revision 0c3a0d65 (git): * lib/cmath.rb (log): raise ArgumentError when more than 2 arguments
are passed. [ruby-core:66143] [Bug #10487]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49729 b2dd03c8-39d4-4d8...
Kazuki Tanaka
10:39 PM Bug #10902: require("enumerator") scans LOAD_PATH 2x on every invocation
This gets much worse as $LOAD_PATH grows. For example in our app $LOAD_PATH.size is 351, causing 702 failed open() sy... tmm1 (Aman Karmani)
10:34 PM Bug #10902 (Closed): require("enumerator") scans LOAD_PATH 2x on every invocation
On every invocation of `require "enumerator"` (for example during boot when many gems require it), the VM will scan t... tmm1 (Aman Karmani)
06:09 PM Revision 0c4631b8 (git): * lib/uri: [doc] Update common.rb [ci-skip] [fixes GH-838]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
06:08 PM Bug #10901 (Closed): Object#singleton_methods behaves differently depending on whether the singleton_class exists
```ruby
class Class1
def self.foo
end
end
c1 = Class1.new
instance_eigen = c1.singleton_class
p instance_e...
bughit (bug hit)
06:05 PM Bug #10896: First example in the documentation for URI::join shows incorrect result
I submitted a PR (https://github.com/ruby/ruby/pull/838) for this glenab (Glen Aultman-Bettridge)
05:24 PM Revision c09c1ccb (git): * 2015-02-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:24 PM Revision 17654381 (git): * test/ruby/test_math.rb: Use assert_infinity instead of assert_equal(1.0/0, ...).
* test/ruby/test_math.rb: Add tests for overriding Integer#to_f.
[ruby-core:67919] [Misc #10809]
git-svn-id: svn+s...
Kazuki Tanaka
04:27 PM Feature #10900 (Closed): GzipReader does not define `#external_encoding`
Hello,
I want to store/load some **yaml** and other text data in gz for space efficiency. I thought it's most effi...
akostadinov (Aleksandar Kostadinov)
04:17 PM Bug #9790: Zlib::GzipReader only decompressed the first of concatenated files
Because gzip format allows multiple entries with filename I'd suggest to support a method like Java's ZipInputStream ... akostadinov (Aleksandar Kostadinov)
03:38 PM Bug #10899 (Closed): ruby 2.2.0 darwin crash (in ripper?)
I get a ruby crash when running metric_fu on a ~20k LOC ruby on rails app.
The crash happens in the `rails_best_prac...
moeffju (Matthias Bauer)
03:32 PM Feature #10844: TracePoint API needs an event to inform about creating/removing a new frame without calling something
David Rodríguez wrote:
> Both of those issues arised from several bugs in the TracePoint API that led to unbalanced ...
os97673 (Oleg Sukhodolsky)
03:23 PM Feature #10844: TracePoint API needs an event to inform about creating/removing a new frame without calling something
Both of those issues arised from several bugs in the TracePoint API that led to unbalanced counts of call/return even... deivid (David Rodríguez)
03:31 AM Feature #10844: TracePoint API needs an event to inform about creating/removing a new frame without calling something
David Rodríguez wrote:
> @Oleg What's the problem with counting frame's stack size manually?
First: it introduced...
os97673 (Oleg Sukhodolsky)
02:25 PM Bug #10898 (Closed): Cannot compile Ruby 2.2.0 with configure error: something wrong with LDFLAGS=""
To replicate, download and unzip Ruby-2.2.0
In terminal:
export LIBRARY_PATH=/foo/bar:$LIBRARY_PATH
./configure
...
pbhogan (Patrick Hogan)
02:02 PM Revision 6a68a231 (git): common.mk: RUBY_TESTOPTS
* common.mk (TESTOPTS): initialize by the environment variable
RUBY_TESTOPTS, which is prefixed to get rid of confl...
nobu (Nobuyoshi Nakada)
01:59 PM Revision ed00379c (git): numeric.c: calculate complex numbers
* numeric.c (fix_plus, fix_mul): calculate complex numbers for
commutative operations.
git-svn-id: svn+ssh://ci.ru...
nobu (Nobuyoshi Nakada)
01:58 PM Revision 3bcb10ad (git): complex.c: multiply as rotation
* complex.c (nucomp_mul): calculate as rotation in complex plane
if matrix calculation resulted in NaN.
git-svn-id...
nobu (Nobuyoshi Nakada)
01:48 PM Bug #10893: String#chomp (and chomp!) with a UTF-8 record separator results in Encoding::CompatibilityError
```
% ruby -ve '$/="\n".encode("UTF-8"); p "abc\r\n".encode("utf-32be").chomp'
ruby 2.0.0p598 (2014-11-13 revision ...
nagachika (Tomoyuki Chikanaga)
07:40 AM Bug #10893: String#chomp (and chomp!) with a UTF-8 record separator results in Encoding::CompatibilityError
ruby_2_2 r49718 merged revision(s) 49706. naruse (Yui NARUSE)
12:47 AM Bug #10893 (Closed): String#chomp (and chomp!) with a UTF-8 record separator results in Encoding::CompatibilityError
Applied in changeset r49706.
----------
string.c: smart chomp
* string.c (chompped_length): enable smart chomp for ...
nobu (Nobuyoshi Nakada)
12:57 PM Revision 87e3aec8 (git): * test/ruby/test_math.rb(test_cbrt): Add an assertion for Math.cbrt(1.0/0)
and move #test_cbrt to more proper place.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49722 b2dd03c8-39d4-4d8f...
Kazuki Tanaka
10:11 AM Revision fbc8841a (git): * vm_insnhelper.c (lep_svar_place, lep_svar_get): do not create
additional T_NODE object (svars holder) when only getting
svars.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru...
ko1 (Koichi Sasada)
10:03 AM Bug #10891: /[[:punct:]]/ POSIX group broken (with string literals?)
On further investigation, this is a known issue in Onigmo (Ruby 2.x's regexp parser).
However, it was apparently "...
tom-lord (Tom Lord)
08:55 AM Revision c4b980ec (git): merge revision(s) 49531:
test_dir_m17n.rb: fix tests
* test/ruby/test_dir_m17n.rb (with_enc_path): test with UTF-8
default external...
naruse (Yui NARUSE)
08:46 AM Bug #10887: Time#zone encoding is ASCII-8BIT instead of intended US-ASCII
ruby_2_2 r49719 merged revision(s) 49693,46907,49702,49710. naruse (Yui NARUSE)
02:50 AM Bug #10887 (Closed): Time#zone encoding is ASCII-8BIT instead of intended US-ASCII
Applied in changeset r49710.
----------
time.c: locale time zone name
* time.c (time_zone_name): should be US-ASCII...
nobu (Nobuyoshi Nakada)
02:45 AM Bug #10887 (Open): Time#zone encoding is ASCII-8BIT instead of intended US-ASCII
Japanese edition.
~~~
$ ./ruby -v -e 'p Time.now.zone'
ruby 2.3.0dev (2015-02-24 trunk 49709) [x64-mswin64_120]
...
nobu (Nobuyoshi Nakada)
08:42 AM Revision 5d8bf153 (git): merge revision(s) 49693,46907,49702,49710: [Backport #10887]
* time.c: Zone encoding should be US-ASCII if all 7-bits. Fix r46907.
* test/ruby/test_time.rb, test/ruby/te...
naruse (Yui NARUSE)
07:40 AM Revision 6d90e595 (git): merge revision(s) 49706: [Backport #10893]
* string.c (chompped_length): enable smart chomp for all non-dummy
encoding strings, not only default_rs.
...
naruse (Yui NARUSE)
07:37 AM Bug #10886: String#split now throws a RegexpError instead of an ArgumentError
ruby_2_2 r49717 merged revision(s) 49695. naruse (Yui NARUSE)
07:36 AM Revision e6d4a21c (git): merge revision(s) 49695: [Backport #10886]
* string.c (rb_str_split_m): raise ArgumentError at broken string
not RegexpError, as Regexp is not involve...
naruse (Yui NARUSE)
06:55 AM Bug #10229: RFC 5649 implementation in OpenSSL breaks Ruby.
Zachary Scott wrote:
> Have these commits been backported?
Yes they were. Thanks for asking.
vo.x (Vit Ondruch)
06:40 AM Bug #10768 (Closed): segfault during ruby_vm_destruct() in cont_free()
Applied in changeset backport22:r49716.
----------
merge revision(s) 49474,49541,49545,49684: [Backport #10768]
* ...
naruse (Yui NARUSE)
06:40 AM Bug #10768: segfault during ruby_vm_destruct() in cont_free()
ruby_2_2 r49716 merged revision(s) 49474,49541,49545,49684. naruse (Yui NARUSE)
06:39 AM Revision 3bfc1d3d (git): merge revision(s) 49474,49541,49545,49684: [Backport #10768]
* gc.c (rb_objspace_free): cause rb_bug if lazy sweep is in progress
during rb_objspace_free. Adds extra pr...
naruse (Yui NARUSE)
04:59 AM Revision 759724fa (git): mkrunnable.rb: try mklink
* tool/mkrunnable.rb (Mswin#ln_safe): try mklink command if not
linked already.
git-svn-id: svn+ssh://ci.ruby-lang...
nobu (Nobuyoshi Nakada)
04:51 AM Revision c8141a81 (git): win32.c: reduce memory size
* win32/win32.c (szInternalCmds): reduce memory size, from 506 on
32bit and 702 on 64bit to 490 bytes, and remove r...
nobu (Nobuyoshi Nakada)
04:51 AM Revision fa1575d1 (git): common.mk: prefix timestamp file by "."
* common.mk (ENC_TRANS_D): prefix by "." to clarify that timestamp
file for build directory is under the build dire...
nobu (Nobuyoshi Nakada)
03:34 AM Revision 7294d08d (git): dir.c: use packed structs
* dir.c (is_case_sensitive, replace_real_basename): [OSX] use
packed structs instead of arrays to suppress warning ...
nobu (Nobuyoshi Nakada)
02:50 AM Revision e97b684c (git): ChangeLog: commit miss
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:49 AM Revision 004ce53b (git): time.c: locale time zone name
* time.c (time_zone_name): should be US-ASCII only if all 7-bits,
otherwise locale encoding. [ruby-core:68230] [Bu...
nobu (Nobuyoshi Nakada)
02:05 AM Revision dcc004cb (git): eval.c: use the given thread
* eval.c (setup_exception): use the given thread instead of
implicit current thread.
* load.c (rb_load_internal0):...
nobu (Nobuyoshi Nakada)
01:52 AM Bug #10885: Segmentation fault when calling refined method in duplicate module
ruby_2_2 r49708 merged revision(s) 49685,49687. naruse (Yui NARUSE)
01:31 AM Revision 6cbbe854 (git): merge revision(s) 49685,49687: [Backport #10885]
* vm_insnhelper.c (rb_vm_rewrite_cref_stack): copy nd_refinements
of orignal crefs. It fixes segmentation f...
naruse (Yui NARUSE)
12:47 AM Revision edad4f3b (git): * 2015-02-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:47 AM Revision 4c0106ea (git): string.c: smart chomp
* string.c (chompped_length): enable smart chomp for all non-dummy
encoding strings, not only default_rs.
[ruby-c...
nobu (Nobuyoshi Nakada)

02/23/2015

11:09 PM Bug #10896 (Closed): First example in the documentation for URI::join shows incorrect result
The example is
~~~
p URI.join("http://example.com/","main.rbx")
# => #<URI::HTTP:0x2022ac02 URL:http://localhos...
glenab (Glen Aultman-Bettridge)
09:31 PM Feature #10844: TracePoint API needs an event to inform about creating/removing a new frame without calling something
@Oleg What's the problem with counting frame's stack size manually? deivid (David Rodríguez)
11:56 AM Feature #10844: TracePoint API needs an event to inform about creating/removing a new frame without calling something
Koichi Sasada wrote:
> I want to reject this proposal because:
>
> (1) ensure clause can be executed without push...
os97673 (Oleg Sukhodolsky)
10:06 AM Feature #10844 (Feedback): TracePoint API needs an event to inform about creating/removing a new frame without calling something
I want to reject this proposal because:
(1) ensure clause can be executed without pushing frame
begin
# no e...
ko1 (Koichi Sasada)
08:47 PM Bug #10895 (Closed): /usr/lib/ruby/2.2.0/socket.rb:232: [BUG] rb_sys_fail(getaddrinfo) - errno == 0
It was caused while starting Brimir help desk software (Rails):
https://github.com/ivaldi/brimir
It works with ...
AYGHOR (pu pu)
07:29 PM Bug #10887: Time#zone encoding is ASCII-8BIT instead of intended US-ASCII
Yui NARUSE wrote:
> Applied in changeset r49702.
>
> ----------
> zone may be ASCII-8BIT on Windows [Bug #10887]...
Eregon (Benoit Daloze)
09:32 AM Bug #10887 (Closed): Time#zone encoding is ASCII-8BIT instead of intended US-ASCII
Applied in changeset r49702.
----------
zone may be ASCII-8BIT on Windows [Bug #10887]
naruse (Yui NARUSE)
04:52 PM Bug #10229 (Feedback): RFC 5649 implementation in OpenSSL breaks Ruby.
Hello Vit, Thank you for confirming!
Have these commits been backported?
zzak (zzak _)
03:35 PM Bug #10229 (Closed): RFC 5649 implementation in OpenSSL breaks Ruby.
This seems to be resolved by r49525, r49575 and r49579 vo.x (Vit Ondruch)
04:38 PM Bug #10855: [PATCH] Matrix#inverse returns matrix of integers whenever possible
TBH, I can't think of any legitimate use of `Matrix#/` with integer division. Anyone?
I never really thought of t...
marcandre (Marc-Andre Lafortune)
12:03 AM Bug #10855: [PATCH] Matrix#inverse returns matrix of integers whenever possible
Hello! Are there any further thoughts or consensus on which path to take with this?
Here are the options:
1. When...
LitoNico (Lito Nicolai)
04:35 PM Bug #10397: gcc 4.1.2 for x86 can't build trunk
Red Hat Enterprise Linux 5 ships with Ruby 1.8.5, more recent releases of Ruby, as they are shipped in Red Hat Softwa... vo.x (Vit Ondruch)
04:08 PM Feature #10883: Passing a block to itself
Note that for your example that wouldn't be needed:
```
a = an_array.foo.bar
a[1..a.length-1].baz
```
is equ...
recursive-madman (Recursive Madman)
03:53 PM Bug #10891: /[[:punct:]]/ POSIX group broken (with string literals?)
Nobuyoshi Nakada wrote:
> It occurs with UTF-8 encoding only.
Ahhhhh, of course - *that's* what the difference be...
tom-lord (Tom Lord)
02:45 PM Bug #10891: /[[:punct:]]/ POSIX group broken (with string literals?)
It occurs with UTF-8 encoding only. nobu (Nobuyoshi Nakada)
12:29 PM Bug #10891 (Closed): /[[:punct:]]/ POSIX group broken (with string literals?)
The regular expression: `/[[:punct:]]/` should match the following characters:
! " # $ % & ' ( ) * + , - . / :...
tom-lord (Tom Lord)
03:12 PM Bug #10894 (Rejected): Unamed keyrest argument and a normal keyword argument disallow arbitrary keyword arguments
$ ruby -ve 'def m(a:1,**);end; p m(a:1,b:2)'
ruby 2.0.0p576 (2014-09-19) [x86_64-linux]
-e:1:in `<main>...
Eregon (Benoit Daloze)
02:20 PM Bug #10890 (Closed): revision.h が空になる
Applied in changeset r49705.
----------
vcs.rb: do not use -C for older git
* tool/vcs.rb (IO.popen): support :chdi...
nobu (Nobuyoshi Nakada)
12:26 PM Bug #10890 (Closed): revision.h が空になる
Ubuntu 12.04 LTS のように git が古い環境だと revision.h が空になってしまいます。
原因を調べてみたところ -C オプションに対応していないからのようです。
~~~
% git --versi...
znz (Kazuhiro NISHIYAMA)
02:19 PM Revision 673af3e9 (git): vcs.rb: do not use -C for older git
* tool/vcs.rb (IO.popen): support :chdir option.
* tool/vcs.rb (VCS::GIT.get_revisions): use :chdir option instead
...
nobu (Nobuyoshi Nakada)
01:53 PM Bug #10893 (Closed): String#chomp (and chomp!) with a UTF-8 record separator results in Encoding::CompatibilityError
Reproducing code:
$/="\n".encode("UTF-8"); p "abc\r\n".encode("utf-32be").chomp
The encode to UTF-8 is to m...
Eregon (Benoit Daloze)
01:51 PM Bug #10841: 2.2.0p43 not building with gcc 4.9.1
One possibility, as I can think of, is insufficient memory.
Does `make optflags=-O0 enc/trans/big5.o` also fail?
nobu (Nobuyoshi Nakada)
01:45 PM Bug #10841 (Third Party's Issue): 2.2.0p43 not building with gcc 4.9.1
It's a bug of gcc.
FYI, succeeded 2.2.0p77 with gcc version 4.9.1 (Ubuntu 4.9.1-16ubuntu6).
nobu (Nobuyoshi Nakada)
12:41 PM Bug #10892 (Closed): Deadlock in autoload
Updating to recent RubySpec seems to show a bug under concurrent autoload.
I attach the extracted logic to reproduce...
Eregon (Benoit Daloze)
11:25 AM Bug #9198: Segfault in TestException#test_machine_stackoverflow
Since this happens with recent glibc more often then it used to be, I reported this issue to glibc maintainers in Fed... vo.x (Vit Ondruch)
11:08 AM Feature #10869: Add support for option to pre-compile Ruby files
I understand there are different reasons why one would want to pre-compile Ruby code but not all kind of pre-compilat... rosenfeld (Rodrigo Rosenfeld Rosas)
10:28 AM Feature #10869: Add support for option to pre-compile Ruby files
We did trials.
* AOT compiler from YARV code to C
* https://github.com/shyouhei/ruby/tree/shyouhei/yarvaot/ext/...
ko1 (Koichi Sasada)
10:41 AM Bug #10871: Sclass thread unsafe due to CREF sharing
Deterministic example (avoiding non-deterministic).
```ruby
class C
end
class D
end
$fibs = []
$xs = []
...
ko1 (Koichi Sasada)
12:18 AM Bug #10871: Sclass thread unsafe due to CREF sharing
I tried to fix this, but I can't figure it out. :(
I tried adding the singleton class to the stack frame. Since t...
tenderlovemaking (Aaron Patterson)
10:11 AM Feature #10561: Improve function of Thread::Backtrace::Location #path and #absolute_path
It's fine for the methods to do different things, the naming however is a bit
confusing. Using `path` doesn't clearl...
yorickpeterse (Yorick Peterse)
09:59 AM Feature #10561: Improve function of Thread::Backtrace::Location #path and #absolute_path
Koichi Sasada wrote:
> I guess the reason is that Matz thought backtrace should be simple for main script.
There'...
cheba (Alexander Mankuta)
09:49 AM Feature #10561: Improve function of Thread::Backtrace::Location #path and #absolute_path
> I think we don't need to separate (1) and (2). (1) can be absolute path.
I guess the reason is that Matz thought...
ko1 (Koichi Sasada)
09:48 AM Feature #10561: Improve function of Thread::Backtrace::Location #path and #absolute_path
[MAYBE IT SHOULD BE DIFFERENT TICKET]
How about to unify #path and #absolute_path?
Returning absolute path on bot...
ko1 (Koichi Sasada)
09:56 AM Bug #10803: Similar issue/stack trace as above in 2.1.5, 2.1.6
Could you show us full code I can try? ko1 (Koichi Sasada)
09:40 AM Bug #10717: TestGemExtCmakeBuilder#test_self_build fails on RHEL 6/CentOS 6
ruby_2_2 r49703 partially merged revision(s) 49195. naruse (Yui NARUSE)
07:46 AM Bug #10717 (Closed): TestGemExtCmakeBuilder#test_self_build fails on RHEL 6/CentOS 6
naruse (Yui NARUSE)
09:36 AM Revision 9afc6729 (git): * 2015-02-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:35 AM Revision 897693b4 (git): Partially merge revision 49195: [Bug #10717]
Support cmake 2.6 which is used by RHEL6/ CentOS 6
https://github.com/rubygems/rubygems/pull/1124
git-svn-id: svn+s...
naruse (Yui NARUSE)
09:32 AM Revision 5b4afd02 (git): zone may be ASCII-8BIT on Windows [Bug #10887]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
09:30 AM Revision a525fbf0 (git): bold closed tickets
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:41 AM Bug #10889 (Closed): rdocでのスクリプトエンコーディングの挙動が違う
以下のような、マジックコメントの前に文字があるスタイルでスクリプトエンコーディングを指定した場合、
rubyスクリプトとしては正常に認識されますが、rdocでは認識されません。
~~~
#========== -*- c...
sohey (Sohey Yamamoto)
07:35 AM Bug #10796 (Closed): bigdecimal gem update error
naruse (Yui NARUSE)
07:05 AM Revision 0d20fbe3 (git): eval.c: static IDs
* eval.c (ruby_static_id_signo, ruby_static_id_status): add static
IDs, signo and status.
git-svn-id: svn+ssh://ci...
nobu (Nobuyoshi Nakada)
07:05 AM Revision 556515bf (git): Makefile.in: make static IDs symbols local
* Makefile.in (LIBRUBY_SO): make symbols for static IDs which
begin with ruby_static_id_ local too.
git-svn-id: sv...
nobu (Nobuyoshi Nakada)
07:05 AM Revision 0eb1ac5b (git): vm_args.c: rb_exc_set_backtrace
* vm_args.c (raise_argument_error): call rb_exc_set_backtrace
directly instead of funcall.
git-svn-id: svn+ssh://c...
nobu (Nobuyoshi Nakada)
07:05 AM Revision 31929bab (git): error.c: predefined IDs
* error.c (id_bt, id_bt_locations): use IDs predefined in id.h.
* vm_args.c (raise_argument_error): ditto.
git-svn-...
nobu (Nobuyoshi Nakada)
06:27 AM Bug #10886 (Closed): String#split now throws a RegexpError instead of an ArgumentError
Applied in changeset r49695.
----------
string.c: proper exception
* string.c (rb_str_split_m): raise ArgumentError...
nobu (Nobuyoshi Nakada)
06:26 AM Revision 4f3217e3 (git): string.c: raise a RegexpError
* string.c (get_pat_quoted): simply raise a RegexpError, TypeError
is never raised.
git-svn-id: svn+ssh://ci.ruby-...
nobu (Nobuyoshi Nakada)
06:26 AM Revision a10fdc92 (git): string.c: proper exception
* string.c (rb_str_split_m): raise ArgumentError at broken string
not RegexpError, as Regexp is not involved in.
...
nobu (Nobuyoshi Nakada)
05:15 AM Bug #10761: Marshal.dump 100% slower in 2.2.0 vs 2.1.5
ruby_2_2 r49513 merged revision(s) 49376,49387,49389.
49668
naruse (Yui NARUSE)
03:54 AM Bug #10877: String#sub causes segfault
ruby_2_2 r49690 merged revision(s) 49675. naruse (Yui NARUSE)
03:52 AM Bug #10888 (Closed): DFS recursive implementation aborted
Hello,
I am trying to implement DFS algorithm recursively with a graph containing more than 5million edges:
`def ...
y.mazari (Yacine Mazari)

02/22/2015

11:03 PM Feature #10883: Passing a block to itself
Not exactly a duplicate, but also see the discussion at #6373 phluid61 (Matthew Kerwin)
10:57 PM Revision 8c13c9cb (git): error.c: use static IDs
* error.c: use rb_ivar_set with static IDs instead of rb_iv_set
with strings.
git-svn-id: svn+ssh://ci.ruby-lang.o...
nobu (Nobuyoshi Nakada)
10:36 PM Bug #10887 (Closed): Time#zone encoding is ASCII-8BIT instead of intended US-ASCII
$ ruby -ve 'p Time.now.zone.encoding'
ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-linux]
#<Encodin...
Eregon (Benoit Daloze)
10:26 PM Revision 9759173c (git): * time.c: zone encoding should be US-ASCII if all 7-bits. Fix r46907.
* test/ruby/test_time.rb, test/ruby/test_time_tz.rb: Update tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
Eregon (Benoit Daloze)
08:22 PM Revision 6d6b33e6 (git): * 2015-02-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:22 PM Revision ecf33043 (git): * lib/matrix.rb: [Doc] Fix Vector multiplication documentation [ci-skip]
[Fixes GH-837]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
07:41 PM Bug #10886 (Closed): String#split now throws a RegexpError instead of an ArgumentError
ruby 2.1.3p242 (2014-09-19 revision 47630) [x86_64-linux]
-e:1:in `split': invalid byte sequence in UTF-8 (A...
Eregon (Benoit Daloze)
03:13 PM Feature #10880: Subclassing Array from Enumerator
Marc-Andre Lafortune wrote:
> > I use with_index and with_object frequently.
>
> Any reason why you wouldn't simp...
sawa (Tsuyoshi Sawada)
03:09 PM Feature #10880: Subclassing Array from Enumerator
> I use with_index and with_object frequently.
Any reason why you wouldn't simply use `each_with_index` and `each_...
marcandre (Marc-Andre Lafortune)
05:14 AM Feature #10880: Subclassing Array from Enumerator
Marc-Andre Lafortune wrote:
>
> Enumerator.instance_methods - Array.instance_methods
> # => [:with_index,...
sawa (Tsuyoshi Sawada)
02:24 AM Feature #10880: Subclassing Array from Enumerator
> they should be very close
They *are* very close:
Enumerator.instance_methods - Array.instance_methods
...
marcandre (Marc-Andre Lafortune)
12:20 PM Revision 17506700 (git): merge revision(s) 49675:
* re.c (match_aref): RMatch::regexp is Qnil after matching by a
string since r45451. [ruby-core:68209] [Bu...
naruse (Yui NARUSE)
09:33 AM Revision c1c9bcfd (git): * common.mk: use ruby organization for rubyspec.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
08:16 AM Revision 5500e541 (git): tabify [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
08:16 AM Revision 6fb91924 (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
08:12 AM Revision 23cf2750 (git): merge revision(s) 49411,49419,49451,49485,49489:
configure.in: check dtace -G
* configure.in (RUBY_DTRACE_POSTPROCESS): check if the object file
is really ...
naruse (Yui NARUSE)
07:05 AM Bug #10885 (Closed): Segmentation fault when calling refined method in duplicate module
Applied in changeset r49685.
----------
* vm_insnhelper.c (rb_vm_rewrite_cref_stack): copy nd_refinements
of orign...
ktsj (Kazuki Tsujimoto)
06:54 AM Bug #10885 (Closed): Segmentation fault when calling refined method in duplicate module
以下のコードでSEGVします。
Moduleをdupする時にcrefをコピーしていますが、その中でnd_refinementsを設定していないのが原因です。
~~~ruby
module M
refine BasicO...
ktsj (Kazuki Tsujimoto)
07:05 AM Revision e660f776 (git): * vm_insnhelper.c (rb_vm_rewrite_cref_stack): copy nd_refinements
of orignal crefs. It fixes segmentation fault when calling
refined method in duplicate module. [ruby-dev:48878] [Bu...
ktsj (Kazuki Tsujimoto)
06:56 AM Bug #10443: Forking with contended mutex held can lead to deadlock in child process upon unlock
Maybe, `thread_destroy_keeping_mutexes()` should be in thread_pthread.c. nobu (Nobuyoshi Nakada)
05:42 AM Bug #10443: Forking with contended mutex held can lead to deadlock in child process upon unlock
Seems linux specific issue.
I could reproduce it in a few iterations on Ubuntu 14 x86_64, but iterated successfully ...
nobu (Nobuyoshi Nakada)
05:13 AM Feature #10882: Provide Levenshtein distance implementation as part of stdlib
How about implementing `did_you_mean` feature by a plugin of Rake? (I don't know Rake supports plugin. Sorry.)
You c...
kou (Kouhei Sutou)
04:11 AM Bug #10884 (Rejected): Rails server crash
You load an extension library for shared library version ruby 2.0.0 from static linked version ruby 2.1. nobu (Nobuyoshi Nakada)
01:50 AM Bug #10884 (Rejected): Rails server crash
~~~
Process: ruby [4731]
Path: /Users/USER/*/ruby
Identifier: ruby
Vers...
webdevdjm (David Morse)
02:01 AM Bug #10768 (Open): segfault during ruby_vm_destruct() in cont_free()
@tmm1 Could you try r49684? ko1 (Koichi Sasada)
02:00 AM Revision 513fefdd (git): * gc.c (rb_objspace_call_finalizer): control GC execution during
force firnalizations at the end of interpreter process.
[Bug #10768]
1) Prohibit incremental GC while running Rub...
ko1 (Koichi Sasada)
01:40 AM Revision 6c801fc5 (git): sprintf.c: ruby specific functions
* sprintf.c (ruby_vsnprintf, ruby_snprintf): move ruby specific
functions from vsnprintf.c.
git-svn-id: svn+ssh://...
nobu (Nobuyoshi Nakada)
01:14 AM Misc #10809: [PATCH 2/2] Add tests for math.c related to [Feature 10785], [Feature 10800]
I'll commit these 3 patches.
### reorder_test_cbrt_and_add_a_assertion.patch:
Move Test#test_cbrt to more proper ...
gogotanaka (Kazuki Tanaka)
 

Also available in: Atom