Project

General

Profile

Activity

From 01/20/2015 to 01/26/2015

01/26/2015

08:45 PM Bug #10768: segfault during ruby_vm_destruct() in cont_free()
After some investigation, it appears the background threads in our app are unrelated to this segfault.
ruby_vm_des...
tmm1 (Aman Karmani)
08:15 PM Misc #10783: String#concat has an "appending" behavior

I see. You are assimilating the ordinary word "concatenation" with the Ruby method name `concat`. They are differen...
sawa (Tsuyoshi Sawada)
06:20 PM Misc #10783: String#concat has an "appending" behavior
Tsuyoshi Sawada wrote:
> I can't find the place in the documentation that says "Concatenation (aka +)". Is this your...
as-cii (Antonio Scandurra)
04:39 PM Misc #10783: String#concat has an "appending" behavior
I can't find the place in the documentation that says "Concatenation (aka +)". Is this your own claim? If so, then th... sawa (Tsuyoshi Sawada)
10:05 AM Misc #10783 (Open): String#concat has an "appending" behavior
Ruby String documentation (http://www.ruby-doc.org/core-2.2.0/String.html) introduces the two terms **Appending** and... as-cii (Antonio Scandurra)
06:25 PM Feature #4824: Provide method Kernel#executed?
The "main" toplevel object already gets special methods, so why not just define main.main? Avoid polluting Kernel or ... headius (Charles Nutter)
06:00 PM Bug #10776: Ruby Chooses Incorrect Load Path For rubygems.rb
Awesome, thank you for looking at this so quickly! alexcoomans (Alex Coomans)
03:49 PM Bug #10759 (Third Party's Issue): Socket in Windows Fails to Close Correctly (message: An operation was attempted on something that is not a socket) (fptr_finalize issue?)
usa (Usaku NAKAMURA)
03:45 PM Bug #10759: Socket in Windows Fails to Close Correctly (message: An operation was attempted on something that is not a socket) (fptr_finalize issue?)
Hello,
Please close this ticket. Source of the issue was with EventMachine 1.0.4 (a dependency of Thin). There i...
Creetor (Justin Miller)
01:09 PM Revision 45e23ec1 (git): * .gitignore: ignored temporary file with git.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
09:06 AM Revision 210357fa (git): * misc/ruby-electric.el: Import version 2.2.2 from
https://github.com/knu/ruby-electric.el.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49412 b2dd03c8-39d4-4d8...
Akinori MUSHA
08:14 AM Revision ec723e30 (git): configure.in: check dtace -G
* configure.in (RUBY_DTRACE_POSTPROCESS): check if the object file
is really modified by `dtrace -G`, this command ...
nobu (Nobuyoshi Nakada)
07:30 AM Bug #10753: Refined class returns unexpected value when call public_method_defined?, protected_method_defined?, private_method_defined?
ruby_2_2 r49409 merged revision(s) 49322. naruse (Yui NARUSE)
07:20 AM Revision 79cab4f3 (git): configure.in: -Wno-maybe-uninitialized
* configure.in (warnflags): add -Wno-maybe-uninitialized for gcc
5, to suppress false warnings in thread.c:do_selec...
nobu (Nobuyoshi Nakada)
06:36 AM Revision 353dce4a (git): merge revision(s) 49322: [Backport #10753]
* vm_method.c (check_definition): Module#public_method_defined?,
Module#private_method_defined?, Module#pro...
naruse (Yui NARUSE)
06:30 AM Bug #10314: Default argument lookup fails in Ruby 2.2 for circular shadowed variable names
It looks like it is better to make it an error than a warning. funny_falcon (Yura Sokolov)
03:43 AM Revision 44bf6684 (git): string.c: term fill
* string.c (str_buf_cat): fill wchar terminator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49408 b2dd03c8-39...
nobu (Nobuyoshi Nakada)
03:43 AM Revision c0d0dd91 (git): string.c: use local variables
* string.c (str_buf_cat): use local variables instead of repeating
macros.
git-svn-id: svn+ssh://ci.ruby-lang.org/...
nobu (Nobuyoshi Nakada)
02:39 AM Revision 34d41055 (git): string.c: consider widechar
* string.c (str_make_independent_expand): consider wide char
encoding. [Fix GH-821]
git-svn-id: svn+ssh://ci.ruby...
nobu (Nobuyoshi Nakada)
02:37 AM Revision 622f3f14 (git): string.c: terminate when embedded
* string.c (str_make_independent_expand): terminate String when
moved from heap to embedded. [Fix GH-821].
git-sv...
nobu (Nobuyoshi Nakada)
02:00 AM Revision 73b59166 (git): * 2015-01-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:00 AM Revision b3edab35 (git): cstr.c: cstr_term_char class method
* ext/-test-/string/cstr.c (bug_str_s_cstr_term_char): add a class
method to see plain Strings.
git-svn-id: svn+ss...
nobu (Nobuyoshi Nakada)
02:00 AM Revision 5fb4f81e (git): cstr.c: get rid of exception
* ext/-test-/string/cstr.c (bug_str_cstr_term_char): get rid of
invalid byte sequence exception.
git-svn-id: svn+s...
nobu (Nobuyoshi Nakada)

01/25/2015

11:29 PM Feature #4824: Provide method Kernel#executed?
My proposal was `__FILE__.main?`, not `FILE.main?`.
Just you're confused by markdown.
nobu (Nobuyoshi Nakada)
10:18 PM Feature #4824: Provide method Kernel#executed?
Close to Nobu's proposal `FILE.main?`, but I don't think it makes sense to introduce two new things `FILE` and `main?... sawa (Tsuyoshi Sawada)
10:22 PM Feature #10769: Negative counterpart to Enumerable#slice_when
Austin Ziegler wrote:
> What about `.slice_unless`?
The point of my proposal is that this negation is a negation ...
sawa (Tsuyoshi Sawada)
09:24 PM Feature #10769: Negative counterpart to Enumerable#slice_when
What about `.slice_unless`? austin (Austin Ziegler)
08:55 PM Feature #10730: Implement Array#bsearch_index
I rebased on the latest trunk and resolved conflicts with the updates to bsearch implementation.
If there's anythi...
radan (Radan Skorić)
04:24 PM Feature #10782 (Assigned): Patch: Add constants for BigDecimal for ZERO, ONE, TEN
We found with use of BigDecimal that we were often needing to compare BigDecimal with zero or initialize BigDecimal a... garysweaver (Gary Weaver)
08:17 AM Revision 9f926847 (git): fix typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
03:31 AM Bug #10779 (Feedback): occasional segmentation fault running ruby 2.1, doesn't appear with ruby 1.9
LMH medchem wrote:
> I'm not sure what you are referring to with this. I don't have anything compiled. I am just run...
nobu (Nobuyoshi Nakada)
01:19 AM Bug #10779: occasional segmentation fault running ruby 2.1, doesn't appear with ruby 1.9
Eric Wong wrote:
> [email protected] wrote:
> > I can post the script and sample input files if that wo...
LMHmedchem (LMH medchem)
03:04 AM Bug #10748 (Closed): Array#flatten(N) calls to_ary on the (N+1)-level objects
Applied in changeset r49400.
----------
array.c: reduce to_ary call
* array.c (flatten): no need to call to_ary met...
nobu (Nobuyoshi Nakada)
03:04 AM Revision aa436bdc (git): array.c: reduce to_ary call
* array.c (flatten): no need to call to_ary method on elements
beyond the given level. [ruby-core:67637] [Bug #107...
nobu (Nobuyoshi Nakada)
03:02 AM Revision 7d87d0c4 (git): test_array.rb split flatten tests
* test/ruby/test_array.rb (test_flatten, test_flatten!): split.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49...
nobu (Nobuyoshi Nakada)
12:14 AM Bug #10758: undefined method `year' for nil:NilClass
From NEWS in 2.2.0
---
## Changes since the 2.1.0 release
### Language changes
* default argument
fixe...
nobu (Nobuyoshi Nakada)

01/24/2015

11:48 PM Bug #10758: undefined method `year' for nil:NilClass
Could the behavior of the following code have changed between Ruby 2.1.2 and Ruby 2.2.0?
In the Rails 3.2.21 with...
Anonymous
10:53 PM Bug #10781 (Rejected): stdout flushing and loops
[doc of `IO#eof?`](http://www.rubydoc.info/stdlib/core/IO#eof%3F-instance_method):
> If _ios_ is a stream such as ...
nobu (Nobuyoshi Nakada)
08:35 PM Bug #10781: stdout flushing and loops
Removing the `$stdin.eof?` call fixed my problem. IDK why as yet. I finally did find a page with a similar issue afte... sneakin (Nolan Eakins)
07:49 PM Bug #10781 (Rejected): stdout flushing and loops
I'm making a little program that has a shell like command prompt. Something like:
~~~
$ cmd
Cmd out
$ more
Mor...
sneakin (Nolan Eakins)
09:20 PM Feature #7361: Adding Pathname#touch
I'm a little surprise there isn't an option for this in `FileUtils`. Something like `FileUtils.touch('/location/for/n... djberg96 (Daniel Berger)
05:36 PM Bug #10780: Unable to build with Visual Studio 2013
That seemed to work, thank you. djberg96 (Daniel Berger)
03:29 PM Bug #10780 (Third Party's Issue): Unable to build with Visual Studio 2013
It seems that a bug of ml.exe of VS2013.
I found a workaround.
After this error, try these commands.
~~~
cd ext...
usa (Usaku NAKAMURA)
09:57 AM Bug #10780 (Third Party's Issue): Unable to build with Visual Studio 2013
Microsoft (R) C/C++ Optimizing Compiler Version 18.00.31101 for x86
Windows 7 Pro
Ruby 2.2.0
I am unable to buil...
djberg96 (Daniel Berger)
03:42 PM Revision 48df4898 (git): * 2015-01-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:42 PM Revision 22c750bb (git): libffi: workaround of VC12 ml
* ext/fiddle/win32/libffi.mk.tmpl: assemble without directory prefix.
workaround of a bug of VC12 ml, by unak at [r...
nobu (Nobuyoshi Nakada)
02:59 PM Revision 10ce32c2 (git): dln_find.c: define S_ISREG
* dln_find.c (dln_find_1): on some platforms, S_ISREG() is not
provided.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
nobu (Nobuyoshi Nakada)
01:06 PM Revision 69f47dd0 (git): ruby.c: only for load-relative
* ruby.c (dladdr_path): used only when load-relative is enabled.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4...
nobu (Nobuyoshi Nakada)
12:24 PM Revision c3ad34c7 (git): ruby.c: replace with real path
* ruby.c (dladdr_path): replace the executable path with symlinked
real path. dladdr(3) on Linux returns the argv[...
nobu (Nobuyoshi Nakada)
10:57 AM Revision 9a15c7c8 (git): dln_find.c: regular files only
* dln_find.c (dln_find_1): search regular files only. based on
the patch by Alex Coomans in [ruby-core:67766]. [B...
nobu (Nobuyoshi Nakada)
10:56 AM Bug #10776 (Closed): Ruby Chooses Incorrect Load Path For rubygems.rb
Applied in changeset r49391.
----------
dln_find.c: regular files only
* dln_find.c (dln_find_1): search regular fi...
nobu (Nobuyoshi Nakada)
10:48 AM Bug #10776: Ruby Chooses Incorrect Load Path For rubygems.rb
Alex Coomans wrote:
> 1. Ruby must be compiled without `--enable-shared`
Sorry, I misread this "without" as "wit...
nobu (Nobuyoshi Nakada)
08:50 AM Bug #10776: Ruby Chooses Incorrect Load Path For rubygems.rb
It seems a very platform (OS, libc) dependent issue.
What's your OS, kernel version, and libc version?
nobu (Nobuyoshi Nakada)
08:40 AM Bug #10776 (Feedback): Ruby Chooses Incorrect Load Path For rubygems.rb
Sorry, it was my configuration miss, `--prefix=/` doesn't work for 2.0 and should be `--prefix=/.`.
So I can't repro...
nobu (Nobuyoshi Nakada)
03:26 AM Bug #10776 (Assigned): Ruby Chooses Incorrect Load Path For rubygems.rb
It could reproduce only with 2.0, but not 2.1 or later.
~~~
$ (PATH=$HOME exec -a ruby ./ruby/2.0.0/bin/ruby -ve ...
nobu (Nobuyoshi Nakada)
03:02 AM Bug #10776 (Feedback): Ruby Chooses Incorrect Load Path For rubygems.rb
Alex Coomans wrote:
> The following conditions need to all be met:
>
> 1. Ruby must be compiled without `--enable...
nobu (Nobuyoshi Nakada)
10:56 AM Bug #10775 (Closed): "break" from a block with nested begin-rescue became impossible
Applied in changeset r49390.
----------
vm_insnhelper.c: break from nested rescue
* vm_insnhelper.c (vm_throw_start...
nobu (Nobuyoshi Nakada)
10:56 AM Revision 0bbb396c (git): * 2015-01-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:56 AM Revision ad3b5d63 (git): dln_find.c: regular files only
* dln_find.c (dln_find_1): search regular files only. based on
the patch by Alex Coomans in [ruby-core:67766]. [B...
nobu (Nobuyoshi Nakada)
04:28 AM Bug #10779: occasional segmentation fault running ruby 2.1, doesn't appear with ruby 1.9
[email protected] wrote:
> I can post the script and sample input files if that would help.

Please...
normalperson (Eric Wong)
03:49 AM Bug #10779 (Closed): occasional segmentation fault running ruby 2.1, doesn't appear with ruby 1.9
Hello,
Below is the error output from a ruby script I have been running. I am reporting this for two reasons. The...
LMHmedchem (LMH medchem)
01:24 AM Bug #10778 (Feedback): `defined?(expr)` should be equivalent to `defined? (expr)` not `(defined? expr)`
nobu (Nobuyoshi Nakada)
12:22 AM Bug #10778 (Rejected): `defined?(expr)` should be equivalent to `defined? (expr)` not `(defined? expr)`
defined? is an operator not a method, its operand is defined as the expressions to its right.
It does not even req...
bughit (bug hit)

01/23/2015

08:17 PM Bug #10777 (Rejected): variable gets reset when passing a named argument to a function, if the name of this argument is the same as variable name
This is not Python ;)
= is assignment, or in method declarations indicates the default value for an argument.
So `f...
Eregon (Benoit Daloze)
08:10 PM Bug #10777 (Rejected): variable gets reset when passing a named argument to a function, if the name of this argument is the same as variable name
I have a function, say function1 that has a variable, named param with a value of true.
from this function I call an...
ofayans (Oleg Fayans)
07:58 PM Misc #10754: Tiny optimisation of Set#include?
I didn't notice the old code being faster, and I don't see your
benchmark triggering GC. Perhaps it is related to ...
normalperson (Eric Wong)
07:51 PM Bug #9505: Bug that should cause SystemStackError segfaults under Ruby 2.1
For what it's worth, this appears to be fixed in ruby-2.2.0-preview2. lukeasrodgers (Luke Rodgers)
06:38 PM Bug #10776 (Closed): Ruby Chooses Incorrect Load Path For rubygems.rb
### Problem
I believe this problem affects version 1.9.3 and up based on a git blame, but I haven't actually check...
alexcoomans (Alex Coomans)
02:57 PM Revision 26d0a2a3 (git): vm_insnhelper.c: break from nested rescue
* vm_insnhelper.c (vm_throw_start): search the target to break
from a block with nested rescue, from the nested blo...
nobu (Nobuyoshi Nakada)
01:54 PM Bug #10775 (Closed): "break" from a block with nested begin-rescue became impossible
"break" from a block with nested begin-rescue became impossible.
Example(it is valid on Ruby 2.2.0, 2.1.5):
~~~...
misumi_rize (MISUMI Rize)
11:36 AM Bug #10774: Regression: URI::MAilTo#to_mailtext - undefined method unescape for URI::RFC3986_Parser
I've created a failing test for this. dmke (Dominik Menke)
11:08 AM Bug #10774 (Closed): Regression: URI::MAilTo#to_mailtext - undefined method unescape for URI::RFC3986_Parser
Using this example: https://github.com/ruby/ruby/blob/ruby_2_2/lib/uri/mailto.rb#L257-L259
Ruby 2.2.0:
~~~
$ r...
dmke (Dominik Menke)
11:01 AM Revision e567f351 (git): marshal.c: indetity tables
* marshal.c (w_object, marshal_dump): use indetity tables for
arbitrary VALUE keys, because of performance of FLONU...
nobu (Nobuyoshi Nakada)
10:26 AM Feature #10773: nested module should work in instance_eval
my ruby version:
~~~
roroco@roroco ~ $ ruby -v
ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-linux]
~~~
m...
roroco (roro co)
10:16 AM Feature #10773 (Rejected): nested module should work in instance_eval
see my code:
~~~
module M
module M2
end
end
class C
include M
def ivk_m2(*args, &blk)
M2...
roroco (roro co)
08:14 AM Revision bb7830c7 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:13 AM Revision 200b582f (git): benchmark/bm_marshal_dump_flo.rb: new benchmark for [Bug #10761]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eric Wong
02:36 AM Revision 059ea6e4 (git): 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): ditt...
nobu (Nobuyoshi Nakada)
02:11 AM Revision 51efda1e (git): * 2015-01-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:11 AM Revision 1318ed39 (git): vcs.rb: fix after_export
* tool/vcs.rb (VCS#after_export): fix nesting.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49384 b2dd03c8-39d4...
nobu (Nobuyoshi Nakada)

01/22/2015

11:20 PM Feature #10772: Add ability to change rotated log file extention
See https://github.com/ruby/ruby/pull/818 for a solution. trevmex (Trevor Menagh)
11:18 PM Feature #10772 (Closed): Add ability to change rotated log file extention
This patch allows a logger to be created that has a custom date format
to the rotated log files when shift_age is se...
trevmex (Trevor Menagh)
02:39 PM Feature #7361: Adding Pathname#touch
Any way i can help? Salzig (Ben Rexin)
01:20 PM Misc #10757: Vagrant environment for MRI contributors
Clean up after the Tck/Tk installs. anthonycrumley (Anthony Crumley)
06:40 AM Misc #10757: Vagrant environment for MRI contributors
Nice catch on the Ubuntu version being old.
* Included patch by Nobu
* Updated Ubuntu to trusty64
* Added the Tc...
anthonycrumley (Anthony Crumley)
11:51 AM Bug #10633: OpenSSL RangeError on update
Backported into ruby_2_1 at r49383. nagachika (Tomoyuki Chikanaga)
11:51 AM Revision 2558571d (git): merge revision(s) r48923: [Backport #10633]
* ext/openssl/ossl_cipher.c (ossl_cipher_update_long): update huge
data gradually not to exceed INT_MAX. w...
nagachika (Tomoyuki Chikanaga)
10:19 AM Feature #10770: chr and ord behavior for ill-formed byte sequences and surrogate code points
Masaki Kagaya wrote:
> ~~~ruby
> str = "a\x80bc"
> str.each_char {|c| puts c }
> # no error
Sounds like a bug...
nobu (Nobuyoshi Nakada)
01:12 AM Feature #10770: chr and ord behavior for ill-formed byte sequences and surrogate code points
This issue comes from discussion about mruby's behavior (https://github.com/mruby/mruby/issues/2708). masakielastic (Masaki Kagaya)
01:09 AM Feature #10770 (Open): chr and ord behavior for ill-formed byte sequences and surrogate code points
`ord` raises error when meeting ill-formed byte sequences, thus the difference of atttiute exists between `each_char`... masakielastic (Masaki Kagaya)
09:22 AM Bug #10735: Memory leak in openssl ossl_pkey_sign
Confirming the same with the current Ruby 2.2 (ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-darwin14]):
~~~
{...
tonci (Tonči Damjanić)
09:16 AM Bug #10668: Fix description for Zlib.crc32
ruby_2_0_0 r49382 merged revision(s) 49202. usa (Usaku NAKAMURA)
09:15 AM Revision eec0044d (git): merge revision(s) 49202: [Backport #10668]
* ext/zlib/zlib.c: fix document of method signatures.
[Bug #10668][ruby-core:67186][ci skip]
git-svn-id: ...
U.Nakamura
09:11 AM Bug #9917: TestIO#test_io_select_with_many_files results in timeout expiration on AIX
ruby_2_0_0 r49381 merged revision(s) 49148. usa (Usaku NAKAMURA)
09:10 AM Revision 8c519e28 (git): merge revision(s) 49148: [Backport #9917]
* test/ruby/test_io.rb: added timeout for AIX environment.
[ruby-core:62983][Bug #9917]
git-svn-id: svn+s...
U.Nakamura
09:06 AM Revision a80f7f05 (git): * ChangeLog: tabify.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
09:05 AM Revision aa56ab4a (git): * tool/redmine-backporter.rb (find_svn_log): use double quotes instead
of single quotes because cmd.exe doesn't handle them.
* tool/redmine-backporter.rb (done): the 2nd element of matche...
U.Nakamura
09:02 AM Bug #10692: there is no response body with HEAD request (fixed at r49105)
ruby_2_0_0 r49378 merged revision(s) 49104,49105. usa (Usaku NAKAMURA)
08:31 AM Revision acdab5fd (git): merge revision(s) 49104,49105: [Backport #10692]
* test/net/http/test_http.rb (_test_send_request__HEAD): Added
failing test for send_request with HEAD meth...
U.Nakamura
07:58 AM Bug #10761: Marshal.dump 100% slower in 2.2.0 vs 2.1.5
Committed as r49376. Scary regression, sorry for the breakage :x normalperson (Eric Wong)
07:49 AM Bug #10761 (Closed): Marshal.dump 100% slower in 2.2.0 vs 2.1.5
Applied in changeset r49376.
----------
fix flonum hashing regression from r45384
* st.c (st_numhash): mix float va...
Anonymous
12:58 AM Bug #10761: Marshal.dump 100% slower in 2.2.0 vs 2.1.5
Eric Wong <[email protected]> wrote:
> [email protected] wrote:
> > patch (also attached):
> > http://80x...
normalperson (Eric Wong)
12:08 AM Bug #10761: Marshal.dump 100% slower in 2.2.0 vs 2.1.5
[email protected] wrote:
> patch (also attached):
> http://80x24.org/spew/m/flonum-hash-fixup-r45384-v1@r49365...
normalperson (Eric Wong)
07:49 AM Revision 8341ca05 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:48 AM Revision 6d56fd06 (git): fix flonum hashing regression from r45384
* st.c (st_numhash): mix float value for flonum
* hash.c (rb_any_hash): ditto
* benchmark/bm_hash_aref_flo.rb: new be...
Eric Wong
06:50 AM Misc #10742: segmentation fault error while running ruby project
any update please [email protected] (Geetanjali Kasar)
05:50 AM Feature #10771 (Closed): An easy way to get the source location of a constant
For constants, it is difficult to get the source location where it was (last) defined. I request either of the follow... sawa (Tsuyoshi Sawada)
02:47 AM Bug #10671: Update documentation for literal syntax to reflect the fact that symbols are GC-ed
ruby_2_2 r49375 merged revision(s) 49056. naruse (Yui NARUSE)
02:47 AM Revision b5e22aa1 (git): merge revision(s) 49056: [Backport #10671]
* doc/syntax/literals.rdoc (Symbols): now Symbols created by
interpolation can be garbage collected. patch...
naruse (Yui NARUSE)
02:46 AM Bug #10689: `unexpected break' occurs when TracePoint#binding is called
ruby_2_2 r49374 merged revision(s) 49266. naruse (Yui NARUSE)
02:46 AM Revision 0ee6afe2 (git): merge revision(s) 49266: [Backport #10689]
* eval_intern.h, vm.c, vm_eval.c, vm_insnhelper.c:
change throw mechanism (not save target ep, but save tar...
naruse (Yui NARUSE)
01:49 AM Bug #10767 (Rejected): Time.local doesn't raise an exception during the dead hour on DST
Sometimes an application needs a time object near the given arguments even if the time object doesn't represent the a... akr (Akira Tanaka)
12:35 AM Feature #10769 (Closed): Negative counterpart to Enumerable#slice_when
It seems to me that most useful cases of `Enumerable#slice_when` involve a negative condition inside the block. That ... sawa (Tsuyoshi Sawada)
12:14 AM Revision c73f2d28 (git): rmdirs.bat: remove last "."
* win32/rmdirs.bat: remove last "." since rmdir fails to remove it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun...
nobu (Nobuyoshi Nakada)
12:14 AM Revision aee73bd6 (git): * 2015-01-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:14 AM Revision 000c0792 (git): common.mk: reorder clean
* common.mk (clean): clean local at last, and remove enc/trans.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49...
nobu (Nobuyoshi Nakada)

01/21/2015

11:06 PM Bug #10768: segfault during ruby_vm_destruct() in cont_free()
There are also some other threads present in this app at shutdown time, created by a c-extension as worker threads. T... tmm1 (Aman Karmani)
10:52 PM Bug #10768 (Closed): segfault during ruby_vm_destruct() in cont_free()
~~~
(gdb) where
#0 rb_vm_bugreport () at vm_dump.c:738
#1 0x00007ff4f279de2c in report_bug (file=<optimized out>...
tmm1 (Aman Karmani)
10:20 PM Bug #10761: Marshal.dump 100% slower in 2.2.0 vs 2.1.5
Using Marshal.load on untrusted data is too risky for me,
so I only tested your last test case:
$ ./patched/ruby ...
normalperson (Eric Wong)
08:38 PM Bug #10761: Marshal.dump 100% slower in 2.2.0 vs 2.1.5
[email protected] wrote:
> Final repro, no data files, all code:

Thanks, looks like my fault in...
normalperson (Eric Wong)
04:15 PM Bug #10761: Marshal.dump 100% slower in 2.2.0 vs 2.1.5
Final repro, no data files, all code:
~~~
require 'benchmark'
class ToBeMarshaled
def initialize n
@...
jenkoruby (David Jenkins)
02:48 PM Bug #10761: Marshal.dump 100% slower in 2.2.0 vs 2.1.5
I have an even better repro (attached) which yielded the following results:
2.1.5
user syst...
jenkoruby (David Jenkins)
05:13 AM Bug #10761 (Closed): Marshal.dump 100% slower in 2.2.0 vs 2.1.5
Calling Marshal.dump on a complex (nested) object 100 times shows the following:
2.1.5
user syste...
jenkoruby (David Jenkins)
08:22 PM Bug #10767 (Rejected): Time.local doesn't raise an exception during the dead hour on DST
At the begin of DST ruby is accepting the 0 hour which in fact doesn't exists:
Time.local(2014, 10, 19, 0, 30)...
sobrinho (Gabriel Sobrinho)
05:37 PM Misc #10766 (Feedback): Build failed generating RDoc documentation
build on system:
Linux precisepuppy 3.9.11 #1 SMP Sat Jul 27 19:40:54 GMT-8 2013 i686 i686 i386 GNU/Linux
source ru...
caffeinfx (Dimas Jiamus Kalimosodo)
04:15 PM Bug #10615: SIGKILL is not supported by signal() of some versions of MSVCRT
Backported into ruby_2_1 at r49370. nagachika (Tomoyuki Chikanaga)
04:15 PM Revision bdfd5fd1 (git): merge revision(s) r48884,r48885: [Backport #10615]
* signal.c (ruby_signal): since SIGKILL is not supported by MSVCRT,
should be treated before calling signal...
nagachika (Tomoyuki Chikanaga)
04:10 PM Bug #10579: Segmentation fault at 0x00000000000000
Backported into ruby_2_1 at r49369. nagachika (Tomoyuki Chikanaga)
04:09 PM Revision 4b0a168d (git): merge revision(s) r48744,r48752: [Backport #10579]
* eval.c (rb_frame_last_func): return the most recent frame method
name.
* thread.c (recursive_lis...
nagachika (Tomoyuki Chikanaga)
03:59 PM Bug #10524: %I segfaults with --dump=parsetree
Backported into ruby_2_1 at r49368. nagachika (Tomoyuki Chikanaga)
03:59 PM Revision 83c5b533 (git): merge revision(s) r48484: [Backport #10524]
* parse.y (symbol_list): fix the node type of literal symbol list
with no interpolation. [ruby-core:66343]...
nagachika (Tomoyuki Chikanaga)
03:52 PM Bug #10526: [DOC] Revise documentation in object.c
r45375,r48260,r48320 and r48746 were backported into ruby_2_1 at r49367.
r45375,r48260,r48320 are also documentati...
nagachika (Tomoyuki Chikanaga)
03:50 PM Revision f3ac23e4 (git): merge revision(s) r45375,r48260,r48320,r48746: [Backport #10526]
* complax.c: [DOC] Document number conversion of `nil` by @skade [fix GH-570] [ci skip]
* object.c, rational...
nagachika (Tomoyuki Chikanaga)
03:38 PM Revision 8715551b (git): merge revision(s) r48186: [Backport #10448]
* load.c (rb_f_load): path name needs to be transcoded to OS path
encoding. [ruby-list:49994]
git-svn-id...
nagachika (Tomoyuki Chikanaga)
03:36 PM Bug #10568 (Closed): segmentation fault after pack & ioctl & unpack
Hello Balazs.
Thank you for your precise report and a patch.
I've found that r44803 and r44804 seems related ch...
nagachika (Tomoyuki Chikanaga)
01:50 PM Bug #10765: Module#remove_method remove refined method entry.
I attached a patch for this. hanachin (Seiei Miyagi)
01:47 PM Bug #10765 (Closed): Module#remove_method remove refined method entry.
`Module#remove_method` should raise a `NameError`
if method is not defined in refined class, such as [`undef`](https...
hanachin (Seiei Miyagi)
01:39 PM Revision e65fa1f4 (git): Import ruby-electric.el 2.2.1.
* misc/ruby-electric.el: Import version 2.2.1 from
https://github.com/knu/ruby-electric.el. Improve compatibility
...
Akinori MUSHA
12:52 PM Bug #10764 (Closed): TracePoint API reports events for the last last line of multiline ||=
Here is a simple test which demonstrates the problem:
~~~ruby
TracePoint.new do |tp|
printf "%8s %s:%-2d %13s\...
os97673 (Oleg Sukhodolsky)
12:40 PM Bug #10763 (Closed): do not receive TracePoint event for elsif
Here is a simple test which shows that we do not receive TracePoint event for line with elsif,
and so it is impossi...
os97673 (Oleg Sukhodolsky)
09:58 AM Revision c51293ff (git): Makefile.in: clean ext from toplevel
* Makefile.in (clean-ext): clean extension directories from upper
level.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
nobu (Nobuyoshi Nakada)
08:42 AM Bug #9432: ThreadError [ Attempt to unlock a mutex which is locked by another thread ]
In Ruby 1.9.3, thread.rb has Queue.pop defined as:
~~~
183 def pop(non_block=false)
184 @mutex.synchronize...
[email protected] (Aaron Stone)
07:43 AM Bug #9432: ThreadError [ Attempt to unlock a mutex which is locked by another thread ]
The error also shows up here: https://github.com/iconara/cql-rb/issues/68
This is not an issue with the applicatio...
[email protected] (Aaron Stone)
08:38 AM Bug #10724: [TracePointAPI] Missing return event from initialize method when using `domain_name` gem
Great! deivid (David Rodríguez)
04:45 AM Bug #10724: [TracePointAPI] Missing return event from initialize method when using `domain_name` gem
Thank you. I can reproduce it.
```ruby
class A
def initialize
loop{return}
end
def foo
loop ...
ko1 (Koichi Sasada)
06:18 AM Bug #10762 (Rejected): Math **
nobu (Nobuyoshi Nakada)
05:46 AM Bug #10762: Math **
It's operator precedence. `**` has higher precedence than unary `-`
```
irb> -1 ** 0
=> -1
irb> (-1) ** 0
=> 1...
Anonymous
05:22 AM Bug #10762 (Rejected): Math **
According to the Maths, "any number raised to the zero power equals one".
Yet:
~~~
ruby -e 'puts((-1 ** 0) == ...
jayteesf (Jonathan Thomas)
04:22 AM Revision dcdbe0f2 (git): extmk.rb: extract CLEANFILES and DISTCLEANFILES
* ext/extmk.rb (extract_makefile): extract CLEANFILES and
DISTCLEANFILES regardless previous configration succeeded...
nobu (Nobuyoshi Nakada)
12:44 AM Bug #10760 (Closed): NEWS file should include ticket / reference
Applied in changeset r49360.
----------
* NEWS: References to tickets added.
[ruby-core:67701] [Bug #10760] Sugges...
akr (Akira Tanaka)
12:44 AM Revision 49088270 (git): * file.c: Document other cases of missing birthtime on OS with patch
provided by @sho-h similar to GH-817. [ci skip] [DOC]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49362 b2dd03...
zzak (zzak _)
12:22 AM Revision c7ba10cc (git): #10714 is a feature.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:10 AM Revision cb03af1a (git): * NEWS: References to tickets added.
[ruby-core:67701] [Bug #10760] Suggested by Zachary Scott.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49360 ...
akr (Akira Tanaka)

01/20/2015

11:57 PM Revision 6b85ac36 (git): * 2015-01-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:57 PM Revision de89cd4b (git): make-snapshot: remove unused files
* tool/make-snapshot (package): remove working directories and
unused files.
git-svn-id: svn+ssh://ci.ruby-lang.or...
nobu (Nobuyoshi Nakada)
11:57 PM Revision df0dcd48 (git): make-snapshot: make revision.h by make
* tool/make-snapshot (package): keep VCS management files until
prerequisites build, so that revision.h can be made...
nobu (Nobuyoshi Nakada)
10:51 PM Misc #10754: Tiny optimisation of Set#include?
With the benchmarks I've run I noticed that ~~sometimes~~ rarely, the old include? was faster.
Do you have any idea ...
ismael (Ismael Abreu)
08:32 PM Bug #10640: build fail with mingw-w64 gcc 4.9.2 due to configure NET_LUID check
r44876,r47130,r48988,r48997 were backported into ruby_2_1 at r49356 nagachika (Tomoyuki Chikanaga)
07:27 PM Bug #10640: build fail with mingw-w64 gcc 4.9.2 due to configure NET_LUID check
see #10679 nagachika (Tomoyuki Chikanaga)
08:31 PM Revision 12ef4f02 (git): merge revision(s) r44876,r47130,r48988,r48997: [Backport #10640] [Backport #10679]
configure.in: use C99
* configure.in: ISO9899:1999 is necessary for strtoll() on FreeBSD
10, (and may be p...
nagachika (Tomoyuki Chikanaga)
08:28 PM Bug #10760: NEWS file should include ticket / reference
+1 kosaki (Motohiro KOSAKI)
06:50 PM Bug #10760 (Closed): NEWS file should include ticket / reference
Currently our [NEWS](https://github.com/ruby/ruby/blob/trunk/NEWS) file doesn't include any reference to the change, ... zzak (zzak _)
04:38 PM Bug #10759 (Third Party's Issue): Socket in Windows Fails to Close Correctly (message: An operation was attempted on something that is not a socket) (fptr_finalize issue?)
Hello,
Summary:
With current versions of Ruby from the Ruby Installer (Windows 7 and Win Server 2008 R2), I will ...
Creetor (Justin Miller)
02:43 PM Revision b448b792 (git): vcs.rb: fix for local svn
* tool/vcs.rb (VCS.local_path?): predicate that the argument is a
local path.
* tool/vcs.rb (VCS::SVN.search_root)...
nobu (Nobuyoshi Nakada)
02:00 PM Revision 6c68a3ed (git): * tool/vcs.rb: fix the exception given remote-url of svn.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
01:26 PM Bug #10758: undefined method `year' for nil:NilClass
Hiroshi SHIBATA wrote:
> You should report rails/rails repository in github at first
Sorry but I did not know thi...
rohandaxini (Rohan Daxini)
01:21 PM Bug #10758 (Third Party's Issue): undefined method `year' for nil:NilClass
You should report rails/rails repository in github at first hsbt (Hiroshi SHIBATA)
11:28 AM Bug #10758: undefined method `year' for nil:NilClass
try to use newer activesupport version, it seems to be fixed in newer versions Hanmac (Hans Mackowiak)
09:37 AM Bug #10758 (Third Party's Issue): undefined method `year' for nil:NilClass
I am facing this error only in Ruby 2.2.0 as I recently upgraded to latest Ruby 2.2.0
Here is the console log
~...
rohandaxini (Rohan Daxini)
01:22 PM Bug #10724: [TracePointAPI] Missing return event from initialize method when using `domain_name` gem
Hi again, I've been able to reduce this to the following minimal program which misses the `return` event for the `ini... deivid (David Rodríguez)
05:11 AM Revision 76d05741 (git): redmine-backporter.rb: garbage lines
* tool/redmine-backporter.rb: remove garbage lines, and should not
override Kernel#readline.
git-svn-id: svn+ssh:/...
nobu (Nobuyoshi Nakada)
05:06 AM Misc #10757: Vagrant environment for MRI contributors
That image is Ubuntu 12.04, just after 2.0 release.
I'm afraid that is too old in these days.
And I'm not sure if...
nobu (Nobuyoshi Nakada)
04:01 AM Misc #10757: Vagrant environment for MRI contributors
Added a setting to VirtualBox to cause the time to be better synced with the host machine. This resolves an issue in... anthonycrumley (Anthony Crumley)
05:05 AM Bug #10697: WIN32OLE: WIN32OLE_RECORD を使用したスクリプト終了時にruby.exe がクラッシュすることがある
ruby_2_2 r49352 merged revision(s) 49315. naruse (Yui NARUSE)
05:05 AM Revision a45cd375 (git): merge revision(s) 49315: [Backport #10697]
* ext/win32ole/win32ole.c (ole_invoke): avoid SEGV when VT_RECORD
variable is passed by reference. [ruby-de...
naruse (Yui NARUSE)
04:23 AM Revision 66c05ce0 (git): * tool/redmine-backporter.rb: fix bugs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
04:09 AM Revision aa6b7b07 (git): redmine-backporter.rb: try Readline
* tool/redmine-backporter.rb (readline): try Readline.readline if
available.
git-svn-id: svn+ssh://ci.ruby-lang.or...
nobu (Nobuyoshi Nakada)
04:09 AM Revision 87bb3275 (git): redmine-backporter.rb: get rid of wrapping
* tool/redmine-backporter.rb (readline): get rid of wrapping at
the right edge on Windows.
git-svn-id: svn+ssh://c...
nobu (Nobuyoshi Nakada)
03:59 AM Revision 4b1784c6 (git): * tool/redmine-backporter.rb: now can change the page of `ls`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
03:34 AM Revision 08e96e69 (git): * ChangeLog: use tab.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
03:32 AM Revision 3b801a8c (git): redmine-backporter.rb: fix for Windows
* tool/redmine-backporter.rb (readline): make binmode so that
single enter works on Windows.
git-svn-id: svn+ssh:/...
nobu (Nobuyoshi Nakada)
03:30 AM Revision 64318f2a (git): * tool/redmine-backporter.rb (readline): fallback to normal gets on
Windows because IO.console.getch is not always do as expected.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49...
U.Nakamura
03:14 AM Revision 506cb406 (git): redmine-backporter.rb: like Readline.readline
* tool/redmine-backporter.rb (readline): rename and add optional
argument prompt, like Readline.readline.
git-svn-...
nobu (Nobuyoshi Nakada)
03:09 AM Revision 6cb0b95f (git): redmine-backporter.rb: improve mygets
* tool/redmine-backporter.rb (mygets): newline to finish, fix DEL
code, erase the last character at DEL/BS, and use...
nobu (Nobuyoshi Nakada)
02:31 AM Revision 2076f1e0 (git): * tool/redmine-backporter.rb: update usage.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
02:28 AM Revision 1e75c183 (git): merge revision(s) 49340:
Use master instead of HEAD
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49341 b2dd03c8-39d4-4d8f-98...
naruse (Yui NARUSE)
02:25 AM Revision e7317dde (git): Use master instead of HEAD
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
02:25 AM Revision 5a314fbc (git): * tool/redmine-backporter.rb (mygets): to support Backspace
implement gets by itself.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
01:58 AM Revision 62ef3835 (git): test_module.rb: more tests
* test/ruby/test_module.rb: more tests for multiple prepend.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49338...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom