Project

General

Profile

Activity

From 02/20/2015 to 02/26/2015

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 ignore the zone identifier and raises IPAddr::InvalidAddressError.
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 anonymous cipher, and negotiation with the server results in that cipher being used, a NoMethodError is raised with a stack tr... 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 between two sequences (in ruby, thus, two strings) - three operations are Edit, Replace, Delete (+1, -1, change informatio... 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/ruby/trunk@49764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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.ruby-lang.org/ruby/trunk@49763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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://ci.ruby-lang.org/ruby/trunk@49762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 as I understand) it doesn't know about the frame "rescue" added because there is no event about it. Am I right? If so h...
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 unclear? Why I suggest add a new event or when byebug could miss a frame?
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 information about the stack :(
> ...
e.g. byebug is unable to detect additional frame added by rescue thus it will not be able...
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
> ...
I have confirmed this on ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-darwin13.0]
After some investigation, the afam...
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 always sets it to `AF_INET`. Some examples:
Socket::AF_INET # => 2
Addrinfo.new(Socket.sockaddr_in(80, 'localh...
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 'benchmark'
puts Benchmark.measure { 10_000_000.times { Math.cos 1 } }
puts Benchmark.measure { 10_000_000....
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](https://bugs.ruby-lang.org/issues/10785)
I'd like to do cast from Rational to double unless Rational#to_f is redefined.
Al...
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 results?
% /usr/ccs/bin/nm numeric.o | grep infinity
% /usr/ccs/bin/nm .ext/i386-solaris2.10/date_core.so | grep infini...
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 generate rdoc:
Generating RDoc documentation
/export/home/djberge/Downloads/Ruby/ruby-2.2.0/.ext/common/date.rb...
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 yorickpeterse-macbook-olery 3.17.6-1-ARCH #1 SMP PREEMPT Sun Dec 7 23:43:32 UTC 2014 x86_64 GNU/Linux`). 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 protocol family such as
> ...
However, the behaviour contradicts this:
Addrinfo.new(Socket.sockaddr_in(80, 'localhost')...
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 function.
reported by Aaron Stone [ruby-core:68208] [Bug #10876] [Fixes GH-835]
git-svn-id: svn+ssh://ci.ruby...
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.rb: use config['PRELOADENV'] instead of hardcoded
LD_PRELOAD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49760...
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 seconds is negative.
This is the new behavior:
```
TZ=GMT ruby -rtime -e 'p Time.strptime("-3.1", "%s.%N").iso8601(10)'
...
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.ruby-lang.org/ruby/trunk@49759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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/issues/16#issuecomment-47673108 All of them are already fixed. The only bug yet to be fixed related to this would be th... 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
class File < Generic
def open(*args, &block)
::File.open(self.path, &block)
end
...
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", "%s.%N").iso8601(10)'
"1969-12-31T23:59:57.1000000000+00:00"
```
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("0.123", "%s.%N").tv_usec` returns 0.
Here is the script to reproduce:
```
require 'time'
# sec (this is ok)
t1...
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! aaron@serendipity.cx (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
for the arguments of the imported function.
reported by Aaron Stone [ruby-core:68208] [Bug #10876] [Fixes GH-835]
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 option to propagate to
forked processes.
* tool/fake.rb (prehook): set rubyarchhdrdir too.
git-svn-id: svn+ssh://ci.ru...
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.ruby-lang.org/ruby/trunk@49757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 preserving compatibility, or do you really disagree that conceptually an rvalue splat should eliminate the array?
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 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 zero.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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.org/ruby/trunk@49753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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.org/ruby/trunk@49752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 Steven Stewart-Gallus <sstewartgallus00@mylangara.bc.ca>
[ruby-core:68172] [Bug #10866]
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.org/ruby/trunk@49748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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-lang.org/ruby/trunk@49747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:17 AM Revision be5b7f61 (git): signal.c: preserve errno
* signal.c (sighandler): preserve errno
Patch by Steven Stewart-Gallus <sstewartgallus00@mylangara.bc.ca>
[ruby-core:68172] [Bug #10866]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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/branches/ruby_2_0_0@49745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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://ci.ruby-lang.org/ruby/trunk@49744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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.ruby-lang.org/ruby/trunk@49743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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@49741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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.0.0.
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 fault when calling
refined method in duplicate module. [ruby-dev:48878] [Bug #10885]
* vm_core.h, clas...
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 method like Java's ZipInputStream `getNextEntry()` [1]. This way programmer can choose to read everything as one chunk of ...
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
original method is defined.
* vm_method.c (remove_method): When remove refined
method, raise a NameError ...
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#protected_method_defined?
should not use refinements. [ruby-core:67656] [Bug #10753]
git-svn-id: svn+ssh://ci.r...
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 patch by Owen Rodley in
[ruby-core:67987]. [Bug #10825]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/rub...
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 ruby 2.0.0.
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 variables in have_devel? method.
[ruby-core:67962] [Bug #10821]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches...
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+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@49734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@49733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 patch:
> x.zip x
=> Matrix[[1, 1], [0, 0], [0, 0], [1, 1]]
And also:
> x.zip x, x # and so on
=...
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/ruby/trunk@49732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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/trunk@49730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 passed. [ruby-core:66143] [Bug #10487]
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-4d8f-98ff-823fe69b080e
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() syscalls per require. 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 the load path twice: once for enumerator.rb and again for enumerator.so. Of course, no file is found because enumerator i... 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_eigen.singleton_methods(false)
instance_eigen.singleton_class
p instance_eigen.singleton_methods(false)
```
before ...
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+ssh://ci.ruby-lang.org/ruby/trunk@49726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 efficient to read/write directly to/from a gzip stream. But seems like the **GzipReader** io object does not support everyth...
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 `getNextEntry()` [1]. This way programmer can choose to read everything as one chunk of data or multiple chunks each wit... 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_practices` metric, but only when running multiple metrics (using `metric_fu -r`, which runs all).
It does not happen when r...
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 counts of call/return events in some cases. Once all those bugs are fixed, the calculated stack size should be reliable ...
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 events in some cases. Once all those bugs are fixed, the calculated stack size should be reliable enough so that a single no... 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 one more notion: calculated stack size, which we should use for stepping only.
Second: its calculation is not that sim...
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
Configure will fail with the following error:
configure: error: something wrong with LDFLAGS=""
It appears to be un...
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 conflict.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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.ruby-lang.org/ruby/trunk@49724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@49723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 48408) [x86_64-darwin13.4.0]
"abc"
```
```
% ruby -ve '$/="\n".encode("UTF-8"); p "abc\r\n".encode("utf-32be").chomp...
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 all non-dummy
encoding strings, not only default_rs.
[ruby-core:68258] [Bug #10893]
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-98ff-823fe69b080e
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/trunk@49721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 "fixed" way back in 2006: https://github.com/k-takata/Onigmo/blob/d0b3173893b9499a4e53ae1da16ba76c06d85571/HISTORY#L584-5...
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 encoding for non-locale environments.
* test/ruby/test_dir_m17n.rb (test_glob_warning_opendir): valid
only i...
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 only if all 7-bits,
otherwise locale encoding. [ruby-core:68230] [Bug #10887]
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]
"\x93\x8C\x8B\x9E (\x95W\x8F\x80\x8E\x9E)"
~~~
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/test_time_tz.rb: Update tests.
* time.c (time_zone_name): should be US-ASCII only if all 7-bits,
otherw...
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.
[ruby-core:68258] [Bug #10893]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49718 b2dd03c8-3...
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 involved in.
[ruby-core:68229] [Bug #10886]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49717 b2d...
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]
* gc.c (rb_objspace_free): cause rb_bug if lazy sweep is in progress
during rb_objspace_free. Adds extra protection for...
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 protection for r46340.
Patch by Vicent Marti. [Bug #10768] [ruby-core:67734]
* gc.c (rb_objspace_call_f...
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.org/ruby/trunk@49715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 relocations.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 by older
versions of gcc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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] [Bug #10887]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 fault when calling
refined method in duplicate module. [ruby-dev:48878] [Bug #10885]
* vm_core.h, clas...
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-core:68258] [Bug #10893]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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://localhost/main.rbx>
~~~
but should be
~~~
p URI.join("http://example.com/","main.rbx")
# => #<URI::HTTP:0x2022ac02 URL:...
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:
> ...
not sure how it is related :( The even is supposed to be filed only if a new frame has been pushed so it is ok to not file it here.
> (2) performance down
> ...
...
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 exception
ensure
puts "ensure"
end
The line [puts "ensure"] is called without pushing new frame.
(2) performan...
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 Thin, but crashes with WEBrick.
This bug may be related to Bug #9697.
~~~
=> Booting WEBrick
=> Rails 4.2.0 appl...
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.
> ...
Thanks! Do you have an example?
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 that, but it's a bit odd that there is no natural way to write `Matrix.I(3) / 2`, say. There's no `quo` method on `Matrix...
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 dividing matrices, if the resulting matrix has any rational numbers in it, it is entirely rational numbers--
even if ...
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 Software Collections, are available since Red Hat Enterprise Linux 6+. Moreover, Red Hat Enterprise Linux 5 is already in Prod... 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 equivalent to
```
an_array.foo.bar[1..-1].baz
```
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 between `60.chr` and `"<"` is!
Like you said, the issue only affects UTF-8 encodings:
#<Encoding:UTF-8>, #<Encod...
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:
! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` { | } ~
However, it only works for these 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>': unknown keyword: b (ArgumentError)
I searched to find out if it was reported but I did not find anything.
Can y...
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 :chdir option.
* tool/vcs.rb (VCS::GIT.get_revisions): use :chdir option instead
of -C option which is not supported by old...
nobu (Nobuyoshi Nakada)
12:26 PM Bug #10890 (Closed): revision.h が空になる
Ubuntu 12.04 LTS のように git が古い環境だと revision.h が空になってしまいます。
原因を調べてみたところ -C オプションに対応していないからのようです。
~~~
% git --version
git version 1.7.9.5
% ruby -vd --disable=gems tool/file2lastrev.rb --revision.h .
ruby 2.3.0dev (2015-02-23) [x86_...
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
of -C option which is not supported by older git.
[ruby-dev:48880] [Bug #10890]
git-svn-id: svn+ssh://ci.ruby-lang.or...
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 make sure the encoding is consistent across versions, but in recent rubies it is not necessary to trigger the bug.
...
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.
At me, the script ends with either, in most cases,
autoload_bug.rb:105:in `value': No live threads left. Dea...
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 Fedora [1]. I hope they can provide some help.
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1195206
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-compilation would meet all goals.
Personally, I'm not currently worried about packing an application in a single file, or to ...
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/yarvaot?utm_source=twitterfeed&utm_medium=twitter
* https://github.com/soba1104/CastOff
...
* [ruby-core:46896] t...
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 = []
[C, D].each{|klass|
klass.class_eval{
$fibs << Fiber.new{
class << self
class X
$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 the stack frames are thread local, I thought that would at least fix the problem, but it didn't.
Here is the patch I 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 clearly state when it's absolute and when it's
relative. Perhaps `script_path` would make more sense.
Merging the two is a...
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's little benefit in having simple (i.e. basename only) path for main script (and only main script). I think consistent o...
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 backtrace should be simple for main script.
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 both methods.
When I made this API, there are three types path, (1) path of main script (partial path) and (2) paths of ...
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+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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では認識されません。
~~~
#========== -*- coding: utf-8 -*-
# test
#================================
p __ENCODING__
# テスト
def test_method
puts 'テスト'
end
...
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.ruby-lang.org/ruby/trunk@49700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@49699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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://ci.ruby-lang.org/ruby/trunk@49698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 at broken string
not RegexpError, as Regexp is not involved in.
[ruby-core:68229] [Bug #10886]
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-lang.org/ruby/trunk@49696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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.
[ruby-core:68229] [Bug #10886]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49695 b2dd03c8-39d4-4d8f-98ff-823fe69b...
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 dfs(directed_graph, vertex)
self.marked[vertex] = true
directed_graph.adj[vertex].each {|w| dfs(directed_graph...
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.org/ruby/trunk@49694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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]
#<Encoding:ASCII-8BIT>
Per r46907 it was intended to be US-ASCII.
Already fixed by r49693, please backport to at least 2.2.
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@49693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 (ArgumentError)
from -e:1:in `<main>'
ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-linux]
-e:1:in `s...
Eregon (Benoit Daloze)
03:13 PM Feature #10880: Subclassing Array from Enumerator
Marc-Andre Lafortune wrote:
> > I use with_index and with_object frequently.
> ...
I want to provide an optional starting number (most often `1`) to the former.
But you are making me realize that my motivation for the proposal is ge...
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_with_object`?
marcandre (Marc-Andre Lafortune)
05:14 AM Feature #10880: Subclassing Array from Enumerator
Marc-Andre Lafortune wrote:
>
> ...
I use `with_index` and `with_object` frequently.
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
# => [:with_index, :with_object, :next_values, :peek_values, :next, :peek, :feed, :rewind]
Which method(s) in ther...
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] [Bug #10877]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 modified by `dtrace -G`, this command is very system
dependent.
* common.mk (ruby-glommed.o): dependency on $(...
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 orignal crefs. It fixes segmentation fault when calling
refined method in duplicate module. [ruby-dev:48878] [Bug #10885]
...
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 BasicObject do
def __id__
end
end
class << self
def m
__id__
end
end
end
M.dup.m
~~~
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] [Bug #10885]
* vm_core.h, class.c: change accordingly.
* test/ruby/test_refinement.rb: add a test for above.
git-svn-id:...
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 1000 times on OSX.
So I think it would be better to separate the code from `rb_thread_atfork()` as a function.
~~~...
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 can use text gem in the plugin.
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
Version: ???
Code Type: X86-64 (Native)
Parent Process: bash [2259]
Responsible: ...
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 Ruby-level finalizers
to avoid any danger.
2) Prohibit GC while invoking T_DATA/T_FILE data structure
because t...
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://ci.ruby-lang.org/ruby/trunk@49683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 place and add a assertion for Math.cbrt(1.0/0)
### use_assert_infinity.patch:
Use `assert_infinity ` instead of `ass...
gogotanaka (Kazuki Tanaka)

02/21/2015

11:28 PM Revision c5d781dd (git): ossl_bn.c: [DOC] expand rdocs [ci skip]
* ext/openssl/ossl_bn.c: [DOC] expand rdocs as RDoc does not
expand C-preprocessor macros.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:56 PM Revision 97f9589c (git): ossl_asn1.c: fix doc
* ext/openssl/ossl_asn1.c (ossl_asn1obj_get_oid): [DOC] fix
notation, an instance method but not a class method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:41 PM Feature #10883 (Closed): Passing a block to itself
In the discussion of [itself](https://bugs.ruby-lang.org/issues/6373)
some people proposed that passing a block to itself could return the value of the block:
~~~
def itself
if block_given?
yield self
else
self
en...
Gondolin (Damien Robert)
08:50 PM Feature #10882 (Open): Provide Levenshtein distance implementation as part of stdlib
[Levenshtein distance algorithm](http://en.wikipedia.org/wiki/Levenshtein_distance) has been used by Rubygems, Bundler, did_you_mean and Rails and I think it's popular enough to provide it as part of Ruby's stdlib. It still seems a bit t... yuki24 (Yuki Nishijima)
08:22 PM Feature #10881 (Closed): NoMethodError#receiever
I would like `NoMethodError` to have `receiver` method:
```
receiver = "receiver"
exception = receiver.doesnt_exist rescue $!
exception.receiver == receiver # => true
```
This helps did_you_mean gem implement its features ...
yuki24 (Yuki Nishijima)
08:04 PM Feature #10880 (Rejected): Subclassing Array from Enumerator
It often happens that I want to use a method from the `Enumerator` class on an array, and so I frequently use `Array#to_enum`. Since `Array` and `Enumerator` share the same parent `Enumerable`, they should be very close. I think it would... sawa (Tsuyoshi Sawada)
07:56 PM Feature #10879 (Open): UnboundMethod#to_proc
Since unbound methods from modules can now be bound to any object, I use them a lot.
I think it would be very natural to be able to convert them to Proc:
~~~
module UnboundMethod
def to_proc
return lambda do |obj,*args,&b|
...
Gondolin (Damien Robert)
07:09 PM Revision a1c1bc39 (git): * ext/openssl/ossl_asn1.c: [DOC] RDoc formatting fixes for
ASN1::ObjectId with patch from @vbatts [Fixes GH-834]
* ext/openssl/ossl_bn.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
07:06 PM Revision 1428c5c1 (git): * 2015-02-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:06 PM Revision b0317ee8 (git): [DOC] Backport ruby/openssl@86eb721 [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
05:17 PM Revision 6d0b1d8a (git): merge revision(s) 49661,49662,49664:
test_file_exhaustive.rb: remove useless assignment
* test/ruby/test_file_exhaustive.rb (make_tmp_filename): not
assign to instance variable, @hardlinkfile.
* file.c (rb_file_identical_p): fix handle leak, ensure to clo...
naruse (Yui NARUSE)
05:15 PM Revision 10957cd1 (git): merge revision(s) 49660:
test_file.rb: just skip assertion
* test/ruby/test_file.rb (TestFile#test_stat): skip an assertion
only, not making the entire test skipped
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49676 b2dd03c8-39d4-4d8...
naruse (Yui NARUSE)
05:15 PM Bug #10865: FileUtils.mv doesn't rename windows directories across volumes/partitions.
ruby_2_2 r49672 merged revision(s) 49634,49658,49663. naruse (Yui NARUSE)
11:28 AM Bug #10878 (Closed): require: cannot load such file
simple tests like require 'nokogiri', require 'actionpack-action_caching' fail with ruby 2.2.0 on Windows 7, x64_mingw32
these tests work fine with ruby 2.1.5
~~~
C:/apps/redmine_dev/ruby/lib/ruby/2.2.0/rubygems/core_ext/kernel_requ...
abaumgaertner (Andreas Baumgaertner)
10:52 AM Bug #10877 (Closed): String#sub causes segfault
Applied in changeset r49675.
----------
re.c: RMatch::regexp can be nil
* re.c (match_aref): RMatch::regexp is Qnil after matching by a
string since r45451. [ruby-core:68209] [Bug #10877]
nobu (Nobuyoshi Nakada)
10:51 AM Bug #10877: String#sub causes segfault
Shorter code:
~~~ruby
"a".sub("a", "")
$~["foo"]
~~~
nobu (Nobuyoshi Nakada)
10:02 AM Bug #10877 (Closed): String#sub causes segfault
~~~ruby
str = 'abc'
reg = /(?<foo>a)bc/
str =~ reg
$~['foo'].sub 'a', ''
$~['foo']
~~~
~~~
tmp.rb:5: [BUG] Segmentation fault at 0x00000000000020
Abort trap: 6
~~~
tonytonyjan (Weihang Jian)
10:51 AM Revision 2d12151a (git): re.c: RMatch::regexp can be nil
* re.c (match_aref): RMatch::regexp is Qnil after matching by a
string since r45451. [ruby-core:68209] [Bug #10877]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:51 AM Bug #10876 (Closed): Win32API.new fails when an Array is given for the import argument
In Ruby 2.2.0, the Win32API.new method fails when an Array is given for the import argument. In all previous versions, it can be either an Array or a String.
The mistake occurred when Aaron Patterson converted to Fiddle and expected t...
aaron@serendipity.cx (Aaron Stone)
07:18 AM Revision 516e463a (git): * 2015-02-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:18 AM Revision d429fc6c (git): compar.c: variable name [ci skip]
* compar.c (Init_Comparable): [DOC] Replace camelcase variable name.
[Fix GH-833]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:48 AM Revision 4a670c2b (git): merge revision(s) 49634,49658,49663: [Backport #10865]
* win32/win32.c (wrename): return EXDEV if moving a directory to
another drive, since MoveFileExW does not set proper error code.
[ruby-core:68162] [Bug #10865]
* win32/win32.c (different_device_p): compare b...
naruse (Yui NARUSE)
03:47 AM Bug #10858: File.expand_path on Windows does not handle drive-current path if 2nd arg is relative
ruby_2_2 r49671 merged revision(s) 49618,49640. naruse (Yui NARUSE)
03:47 AM Revision 2098b5ae (git): merge revision(s) 49618,49640: [Backport #10858]
* win32/file.c (rb_file_expand_path_internal): do not make invalid
(or ADS) path if the path has a drive letter, the result also
should have be under it. [ruby-core:68130] [Bug #10858]
* win32/file.c (rb_fil...
naruse (Yui NARUSE)
03:46 AM Bug #10823: Issue building bigdecimal.
ruby_2_2 r49670 merged revision(s) 49491. naruse (Yui NARUSE)
03:46 AM Revision 97c3018a (git): merge revision(s) 49491: [Backport #10823]
* ext/bigdecimal/bigdecimal.c (VpSetPTR): fix a typo, 'expoennt'
to 'exponent'. [ruby-core:67980] [Bug #10823] [Fix GH-825]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49670 b2dd03c8-39d4-4d8f-98ff-823fe69b...
naruse (Yui NARUSE)
12:49 AM Revision 4e1bea5f (git): merge revision(s) 48666: [Backport #10873]
* lib/uri/generic.rb (URI::Generic.build):
use hostname= to detect and wrap IPv6 hosts.
Build is accepting URI components and users may not expect
that a host component needs to be wrapped with square bracke...
U.Nakamura
12:11 AM Bug #10872 (Rejected): [BUG] Bus Error at 0xbff50e8c (ruby / activemodel)
Seems your bug of infinite callbacks.
Recent revisions will raise a `SystemStackError` for bus errors too.
nobu (Nobuyoshi Nakada)

02/20/2015

06:30 PM Bug #10870: Hash Literal Declined As First Argument
Thanks. NorthernLights (Imran "")
12:15 AM Bug #10870 (Rejected): Hash Literal Declined As First Argument
It is parsed as a block.
You don't need braces in that case.
~~~ruby
def foo *args
p args
end
foo :hello => 123
~~~
Or put parentheses.
~~~ruby
foo(:hello => 123)
foo({:hello => 123})
~~~
nobu (Nobuyoshi Nakada)
02:59 PM Bug #10872 (Rejected): [BUG] Bus Error at 0xbff50e8c (ruby / activemodel)
lifeofguenter (Günter Grodotzki)
01:53 PM Revision c93b7404 (git): merge revision(s) 49386:
hash.c: move Hash specific functions
* hash.c (rb_ident_hash): move compare_by_identity specific
function from st.c.
* hash.c (rb_ident_hash_new): ditto from thread.c.
* st.c (st_numhash): remove ruby's Hash ...
naruse (Yui NARUSE)
01:11 PM Feature #10869: Add support for option to pre-compile Ruby files
Good to know that you think this could speed up requires :) At least this seems like something feasible in case someone would be interested in giving it a try.
For the ABI case, maybe the easiest would be to separate the database loca...
rosenfeld (Rodrigo Rosenfeld Rosas)
08:59 AM Revision 310ab79f (git): merge revision(s) 49532:
dir.c: fix escaping multibyte char
* dir.c (has_magic): fix escaping multibyte char, with glob
meta-char in trailing bytes, e.g., Shift-JIS
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49667 b2dd03c8-39d4-4d8...
naruse (Yui NARUSE)
08:52 AM Bug #10831: Variable keyword arguments shouldn't create immortal symbols
ruby_2_2 r49666 merged revision(s) 49517. naruse (Yui NARUSE)
08:52 AM Revision 81c37840 (git): merge revision(s) 49517: [Backport #10831]
* vm_core.h (rb_call_info_kw_arg_struct): make keywords a symbols
list to get rid of inadvertent creation by variable keyword
arguments. [ruby-core:68031] [Bug #10831]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/br...
naruse (Yui NARUSE)
08:39 AM Revision e896f104 (git): merge revision(s) 49528:
dir.c: preserve encoding
* dir.c (sys_enc_warning_in): preserve encoding of path name in
warning messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
08:27 AM Revision 47145773 (git): file.c: fix handle leak
* file.c (rb_file_identical_p): fix handle leak, ensure to close
the handle of the first argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:22 AM Revision b3863327 (git): ChangeLog: add ref
* win32/win32.c (different_device_p): compare by volume serial
numbers, not by path names. [ruby-core:68162] [Bug #10865]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:20 AM Revision a520e71c (git): test_file_exhaustive.rb: tests for File.identical?
* test/ruby/test_file_exhaustive.rb (test_path_identical_p):
rename and add other tests for File.identical? method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:20 AM Revision 5a76acef (git): test_file_exhaustive.rb: remove useless assignment
* test/ruby/test_file_exhaustive.rb (make_tmp_filename): not
assign to instance variable, @hardlinkfile.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:19 AM Revision ebba8297 (git): test_file.rb: just skip assertion
* test/ruby/test_file.rb (TestFile#test_stat): skip an assertion
only, not making the entire test skipped
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:19 AM Revision 76f09984 (git): * 2015-02-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:19 AM Revision a75668a2 (git): win32.c: volume serial numbers
* win32/win32.c (different_device_p): compare by volume serial
numbers, not by path names.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:11 AM Revision a712ced7 (git): merge revision(s) 49479,49483,49526,49527:
remove duplication in warning
* dir.c (sys_warning_1): remove duplication in the message.
* error.c (rb_mod_sys_fail_str): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49657 b2dd03c8-39d4-4d8f-98...
naruse (Yui NARUSE)
06:53 AM Bug #10819: can't glob win32 short pathname
ruby_2_2 r49656 merged revision(s) 49478,49536,49533,49537. naruse (Yui NARUSE)
06:11 AM Revision e24e1979 (git): merge revision(s) 49478,49536,49533,49537: [Backport #10819]
* dir.c (glob_helper): obtain real name with FindFirstFile API
instead of matchin all entries, on Windows.
[ruby-core:67954] [Bug #10819]
* dir.c (has_magic): always get long path name on Windows even if
...
naruse (Yui NARUSE)
06:07 AM Revision a848f29e (git): merge revision(s) 49171:
dir.c: use macros
* dir.c (replace_real_basename): use macros for getattrlist
buffer.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
05:33 AM Revision 3569ef53 (git): merge revision(s) 49170:
* dir.c (dir_initialize): workaround of opendir failure at symlink
directories on Windows via CIFS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
05:24 AM Revision a8018aa4 (git): merge revision(s) 49169,49477:
dir.c: GC guard
* dir.c (dir_initialize): add GC guard for retrying. the argument
of RSTRING_PTR() may be eliminated by optimization.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49653 b2dd03c8-39d4-4d8f-98f...
naruse (Yui NARUSE)
 

Also available in: Atom